Modify build configures of packages: sensord, sensord-dummy 34/285934/1 accepted/tizen/7.0/unified/20221227.171427
authorJunghak Sung <jh1009.sung@samsung.com>
Thu, 22 Dec 2022 01:28:02 +0000 (10:28 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Thu, 22 Dec 2022 11:26:16 +0000 (11:26 +0000)
commit435e421881fa2ba0c7d2c55e3ca7dcf0170e3ac0
tree7f8968bbc176bb5b8efa6da6c9f6e7a60ed8c59c
parent9133bfc715e1ff3880a4abcb806132356dceae7a
Modify build configures of packages: sensord, sensord-dummy

Rename project names (sensor to sensor-dummy, sensor-genuine to sensor)
since ldconfig makes cache for the genuine library as "libsensor-genuine"
instead of "libsensor" and it causes a cache mismatch on dotnet applications.
According to the project name changes, the post scripts also are modified.
At the result, the files in /usr/lib would be like below.

After install sensor-dummy
    libsensor-dummy.so
    libsensor.so.1 -> libsensor.so.4.0.54
    libsensor.so.2 -> libsensor.so.4.0.54
    libsensor.so.4 -> libsensor.so.4.0.54
    libsensor.so.4.0.54 (softlink of libsensor-dummy.so)

After install sensor
    libsensor.so.4.0.54 (overwritten by genuine libsensor.so)

Change-Id: I10fa79422cc59579b5c6c4cde25f773318eb8b66
Signed-off-by: Junghak Sung <jh1009.sung@samsung.com>
[sy.kwak: remain chsmack from sensord.spec, remove "lwipc" from DEPENDENTS of cmake(client)]
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/sensord.spec
src/client-dummy/CMakeLists.txt
src/client/CMakeLists.txt
src/client/sensor.pc.in [moved from src/client-dummy/sensor.pc.in with 100% similarity]