[M34-Merged] Change install path of package metadata from /usr/share to /opt/share
authorTomasz Olszak <t.olszak@samsung.com>
Thu, 18 Sep 2014 13:04:47 +0000 (15:04 +0200)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit98685597a6c5ffede00e3809cc5cdd002efe3934
tree6c3417deb27ec19b9f0656e50dbec670ee70bdf8
parentef33c7770c205d2820af85b18e92c88d5f055fd3
[M34-Merged] Change install path of package metadata from /usr/share to /opt/share

If installed in /usr/share, application is labeled as non-removable
and it is not possible to uninstall it.
Because of this, we had to use rpm command to uninstall chromium-efl
package installed by pkgcmd command.
This mismatch left some garbage data such as desktop icon
after uninstallation.
This patch fixes such defect by installing metadata to /opt/share.

[Reference]
See following url for xml manifest file structure and related code:
https://review.tizen.org/gerrit/gitweb?p=framework/appfw/slp-pkgmgr.git;a=blob;f=parser/manifest.xsd.in
https://review.tizen.org/gerrit/gitweb?p=framework/appfw/slp-pkgmgr.git;a=blob;f=parser/pkgmgr_parser.c;h=a635883f065d393276cbaf1ffe2e079eb6ec1909;hb=HEAD#l4072

[Test]
To uninstall just invoke:
$> pkgcmd -u -n chromium-efl

Original patch(M34): http://165.213.202.130:8080/#/c/69452/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8131
Reviewed by: Kangil Han, SeungSeop Park

Change-Id: I260034207df0cfa0463e1b0096e2a2c8fcfeb8b1
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
tizen_src/ewk/efl_webview_app/chromium-efl.xml
tizen_src/packaging/chromium-efl.manifest
tizen_src/packaging/chromium-efl.spec