Add 'backend' to package and .so name 13/293913/1 accepted/tizen/unified/20230608.164356 accepted/tizen/unified/dev/20230801.061616 accepted/tizen/unified/dev/20230801.062822 accepted/tizen/unified/riscv/20230718.024857
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 8 Jun 2023 05:16:27 +0000 (14:16 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Thu, 8 Jun 2023 05:16:27 +0000 (14:16 +0900)
It is required to add 'backend' keyword to this plugin backend package
and .so name to distinguish this backend package since there are other
packages whose start with 'system-plugin'.

Change-Id: I91e8c531fd07391ea4d8b0207d2bfce2dc772967
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
CMakeLists.txt
packaging/system-plugin-backend-resourced-generic.manifest [new file with mode: 0644]
packaging/system-plugin-resourced-generic.manifest [deleted file]
packaging/system-plugin-resourced-generic.spec
src/resourced-memory-lmk/CMakeLists.txt

index 76f07ce3f9ca9c7c6ab222337f48195c02d0b822..a42663ee25dd2a169098fc9802bfc8a534d339bc 100644 (file)
@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(${PLUGIN_NAME} C)
+PROJECT(${PLUGIN_BACKEND_NAME} C)
 
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 
diff --git a/packaging/system-plugin-backend-resourced-generic.manifest b/packaging/system-plugin-backend-resourced-generic.manifest
new file mode 100644 (file)
index 0000000..a76fdba
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_" />
+       </request>
+</manifest>
diff --git a/packaging/system-plugin-resourced-generic.manifest b/packaging/system-plugin-resourced-generic.manifest
deleted file mode 100644 (file)
index a76fdba..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
-       <request>
-               <domain name="_" />
-       </request>
-</manifest>
index 8a93f8c07083f18675375c0245009d3267ff59e5..9c3806b151be21d61f500624135c1f9a26d63e9e 100644 (file)
@@ -1,7 +1,7 @@
 %define SYSTEM_PLUGIN_LIBDIR %{_libdir}/system/plugin
 
-Name:       system-plugin-resourced-generic
-Summary:    System plugin for resourced and generic profile
+Name:       system-plugin-backend-resourced-generic
+Summary:    System plugin backend for resourced and generic profile
 Version:    0.1.0
 Release:    0
 Group:      System/Libraries
@@ -18,14 +18,14 @@ BuildRequires:  pkgconfig(libsyscommon)
 BuildRequires:  pkgconfig(libsyscommon-plugin-api-resourced)
 
 %description
-System plugin for resourced and generic profile
+System plugin backend for resourced and generic profile
 
 %prep
 %setup -q
 cp %{SOURCE1} .
 
 %build
-%cmake . -DPLUGIN_NAME=%{name} \
+%cmake . -DPLUGIN_BACKEND_NAME=%{name} \
        -DPLUGIN_LIB_DIR=%{SYSTEM_PLUGIN_LIBDIR} \
        -DPLUGIN_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1
 
@@ -44,4 +44,4 @@ make %{?jobs:-j%jobs}
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
-%{SYSTEM_PLUGIN_LIBDIR}/libplugin-resourced-memory-lmk.so
+%{SYSTEM_PLUGIN_LIBDIR}/libplugin-backend-resourced-memory-lmk.so
index ef7722cbedd3de666cba491c2d7a2b320507a37f..4ef63162cce418db9ad5f9e41dc47f2ded27b14a 100644 (file)
@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(plugin-resourced-memory-lmk C)
+PROJECT(plugin-backend-resourced-memory-lmk C)
 
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})