From 9ac7f7340280c99d3af09dc8073ad8a5116494bf Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 23 May 2014 14:11:23 +0200 Subject: [PATCH] meta-tizen: Add Tizen systemd Change-Id: I7ca65ceef3f99fe40455cce98c38d52f34c57a8a (From meta-tizen rev: 9104cb8ee18bf431160f2535f72f54bca9667b93) Signed-off-by: Patrick Ohly --- .../bluez/bluez4_4.101.bbappend | 1 + .../alsa/alsa-utils_1.0.27.2.bbappend | 10 + meta-tizen/recipes-tizen/ail/ail.inc | 2 +- .../recipes-tizen/alarm-manager/alarm-manager.inc | 2 +- .../alsa-scenario-0.2/alsa-scenario-0.2.inc | 2 +- .../recipes-tizen/app-checker/app-checker.inc | 2 +- meta-tizen/recipes-tizen/app-core/app-core.inc | 2 +- meta-tizen/recipes-tizen/app-svc/app-svc.inc | 2 +- .../recipes-tizen/appcore-agent/appcore-agent.inc | 2 +- .../recipes-tizen/application/application.inc | 2 +- .../audio-session-manager.inc | 2 +- meta-tizen/recipes-tizen/aul-1/aul-1.inc | 2 +- meta-tizen/recipes-tizen/avsystem/avsystem.inc | 2 +- meta-tizen/recipes-tizen/bundle/bundle.inc | 2 +- meta-tizen/recipes-tizen/com-core/com-core.inc | 2 +- meta-tizen/recipes-tizen/common/common.inc | 2 +- meta-tizen/recipes-tizen/crosswalk/crosswalk.inc | 2 +- meta-tizen/recipes-tizen/dlog/dlog.inc | 2 +- meta-tizen/recipes-tizen/doxygen/doxygen.inc | 2 +- meta-tizen/recipes-tizen/eina/eina.inc | 2 +- meta-tizen/recipes-tizen/fdupes/fdupes.inc | 2 +- meta-tizen/recipes-tizen/heynoti/heynoti.inc | 10 +- meta-tizen/recipes-tizen/heynoti/heynoti_git.bb | 2 +- .../recipes-tizen/hwdata/hwdata-extraconf.inc | 0 meta-tizen/recipes-tizen/hwdata/hwdata.inc | 114 +++++ .../pwdutils_git.bb => hwdata/hwdata_git.bb} | 4 +- meta-tizen/recipes-tizen/iniparser/iniparser.inc | 2 +- .../libdevice-node/libdevice-node.inc | 2 +- meta-tizen/recipes-tizen/libhaptic/libhaptic.inc | 2 +- meta-tizen/recipes-tizen/libiri/libiri.inc | 2 +- .../recipes-tizen/libmm-common/libmm-common.inc | 2 +- meta-tizen/recipes-tizen/libmm-log/libmm-log.inc | 2 +- .../recipes-tizen/libmm-session/libmm-session.inc | 2 +- .../recipes-tizen/libmm-sound/libmm-sound.inc | 2 +- meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc | 2 +- .../libprivilege-control/libprivilege-control.inc | 2 +- meta-tizen/recipes-tizen/librua/librua.inc | 2 +- .../recipes-tizen/libsf-common/libsf-common.inc | 2 +- .../libslp-db-util/libslp-db-util.inc | 2 +- .../libslp-location/libslp-location.inc | 2 +- meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc | 2 +- .../recipes-tizen/libslp-sensor/libslp-sensor.inc | 2 +- .../recipes-tizen/libslp-sysman/libslp-sysman.inc | 2 +- .../libtapi-legacy/libtapi-legacy.inc | 2 +- meta-tizen/recipes-tizen/libtapi/libtapi.inc | 2 +- .../location-manager/location-manager.inc | 2 +- meta-tizen/recipes-tizen/lua/lua.inc | 2 +- .../recipes-tizen/notification/notification.inc | 2 +- .../recipes-tizen/pkgmgr-info/pkgmgr-info.inc | 2 +- .../privacy-manager/privacy-manager.inc | 2 +- meta-tizen/recipes-tizen/pwdutils/pwdutils.inc | 2 +- meta-tizen/recipes-tizen/rpm/rpm.inc | 2 +- .../security-server/security-server.inc | 5 +- meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc | 2 +- meta-tizen/recipes-tizen/smack/smack.inc | 2 +- .../recipes-tizen/sound-manager/sound-manager.inc | 2 +- .../recipes-tizen/system-info/system-info.inc | 2 +- .../recipes-tizen/systemd/systemd-extraconf.inc | 50 +++ meta-tizen/recipes-tizen/systemd/systemd.inc | 477 +++++++++++++++++++++ meta-tizen/recipes-tizen/systemd/systemd_git.bb | 10 + .../tizen-platform-config.inc | 2 +- .../tizen-platform-wrapper.inc | 2 +- meta-tizen/recipes-tizen/uthash/uthash.inc | 2 +- .../vconf-internal-keys/vconf-internal-keys.inc | 2 +- meta-tizen/recipes-tizen/vconf/vconf.inc | 2 +- .../weston-common/weston-common-extraconf.inc | 2 +- meta-tizen/recipes-tizen/xdgmime/xdgmime.inc | 4 +- meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb | 2 +- 68 files changed, 728 insertions(+), 71 deletions(-) create mode 100644 meta-tizen/recipes-connectivity/bluez/bluez4_4.101.bbappend create mode 100644 meta-tizen/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bbappend create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata.inc rename meta-tizen/recipes-tizen/{pwdutils/pwdutils_git.bb => hwdata/hwdata_git.bb} (51%) create mode 100644 meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/systemd/systemd.inc create mode 100644 meta-tizen/recipes-tizen/systemd/systemd_git.bb diff --git a/meta-tizen/recipes-connectivity/bluez/bluez4_4.101.bbappend b/meta-tizen/recipes-connectivity/bluez/bluez4_4.101.bbappend new file mode 100644 index 0000000..6e5cc1e --- /dev/null +++ b/meta-tizen/recipes-connectivity/bluez/bluez4_4.101.bbappend @@ -0,0 +1 @@ +FILES_${PN} += "/usr/lib/udev/hid2hci" \ No newline at end of file diff --git a/meta-tizen/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bbappend b/meta-tizen/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bbappend new file mode 100644 index 0000000..5a1d041 --- /dev/null +++ b/meta-tizen/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bbappend @@ -0,0 +1,10 @@ +FILES_${PN} += "/usr/lib/systemd/system/alsa-state.service" +FILES_${PN} += "/usr/lib/systemd/system/alsa-store.service" +FILES_${PN} += "/usr/lib/systemd/system/alsa-restore.service" +FILES_${PN} += "/usr/lib/systemd/system/shutdown.target.wants" +FILES_${PN} += "/usr/lib/systemd/system/basic.target.wants" +FILES_${PN} += "/usr/lib/systemd/system/shutdown.target.wants/alsa-store.service" +FILES_${PN} += "/usr/lib/systemd/system/basic.target.wants/alsa-state.service" +FILES_${PN} += "/usr/lib/systemd/system/basic.target.wants/alsa-restore.service" +FILES_${PN} += "/usr/lib/udev/rules.d" +FILES_${PN} += "/usr/lib/udev/rules.d/90-alsa-restore.rules" \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/ail/ail.inc b/meta-tizen/recipes-tizen/ail/ail.inc index ee06bc3..9f6031a 100644 --- a/meta-tizen/recipes-tizen/ail/ail.inc +++ b/meta-tizen/recipes-tizen/ail/ail.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by ail diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc index e9955f8..e41fa85 100644 --- a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc +++ b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by alarm-manager diff --git a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc index 0625d2c..eee7a8e 100644 --- a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc +++ b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by alsa-scenario-dev diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker.inc b/meta-tizen/recipes-tizen/app-checker/app-checker.inc index 9d8eea4..3f8a9a5 100644 --- a/meta-tizen/recipes-tizen/app-checker/app-checker.inc +++ b/meta-tizen/recipes-tizen/app-checker/app-checker.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by app-checker-server-dev diff --git a/meta-tizen/recipes-tizen/app-core/app-core.inc b/meta-tizen/recipes-tizen/app-core/app-core.inc index 759e357..76f04ce 100644 --- a/meta-tizen/recipes-tizen/app-core/app-core.inc +++ b/meta-tizen/recipes-tizen/app-core/app-core.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by app-core-efl diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc.inc b/meta-tizen/recipes-tizen/app-svc/app-svc.inc index a22e10e..176e48d 100644 --- a/meta-tizen/recipes-tizen/app-svc/app-svc.inc +++ b/meta-tizen/recipes-tizen/app-svc/app-svc.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by app-svc diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc index 4558769..f65b8d9 100644 --- a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc +++ b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by appcore-agent diff --git a/meta-tizen/recipes-tizen/application/application.inc b/meta-tizen/recipes-tizen/application/application.inc index 621e929..8ac9558 100644 --- a/meta-tizen/recipes-tizen/application/application.inc +++ b/meta-tizen/recipes-tizen/application/application.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by capi-appfw-application-dev diff --git a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc index a50ee79..4199001 100644 --- a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc +++ b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by audio-session-manager-dev diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1.inc b/meta-tizen/recipes-tizen/aul-1/aul-1.inc index 8a02dac..807f364 100644 --- a/meta-tizen/recipes-tizen/aul-1/aul-1.inc +++ b/meta-tizen/recipes-tizen/aul-1/aul-1.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by aul diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem.inc b/meta-tizen/recipes-tizen/avsystem/avsystem.inc index 6958ac1..6ffffe3 100644 --- a/meta-tizen/recipes-tizen/avsystem/avsystem.inc +++ b/meta-tizen/recipes-tizen/avsystem/avsystem.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by avsystem diff --git a/meta-tizen/recipes-tizen/bundle/bundle.inc b/meta-tizen/recipes-tizen/bundle/bundle.inc index e536235..a3e169a 100644 --- a/meta-tizen/recipes-tizen/bundle/bundle.inc +++ b/meta-tizen/recipes-tizen/bundle/bundle.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by bundle-dev diff --git a/meta-tizen/recipes-tizen/com-core/com-core.inc b/meta-tizen/recipes-tizen/com-core/com-core.inc index 1af75ca..a526d96 100644 --- a/meta-tizen/recipes-tizen/com-core/com-core.inc +++ b/meta-tizen/recipes-tizen/com-core/com-core.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libcom-core diff --git a/meta-tizen/recipes-tizen/common/common.inc b/meta-tizen/recipes-tizen/common/common.inc index 371785e..b585b34 100644 --- a/meta-tizen/recipes-tizen/common/common.inc +++ b/meta-tizen/recipes-tizen/common/common.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by capi-base-common-dev diff --git a/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc b/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc index 5af4c0c..4626913 100644 --- a/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc +++ b/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by crosswalk diff --git a/meta-tizen/recipes-tizen/dlog/dlog.inc b/meta-tizen/recipes-tizen/dlog/dlog.inc index c097684..b3f561e 100644 --- a/meta-tizen/recipes-tizen/dlog/dlog.inc +++ b/meta-tizen/recipes-tizen/dlog/dlog.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libdlog diff --git a/meta-tizen/recipes-tizen/doxygen/doxygen.inc b/meta-tizen/recipes-tizen/doxygen/doxygen.inc index 0a79ff7..0c137cb 100644 --- a/meta-tizen/recipes-tizen/doxygen/doxygen.inc +++ b/meta-tizen/recipes-tizen/doxygen/doxygen.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by doxygen-docs diff --git a/meta-tizen/recipes-tizen/eina/eina.inc b/meta-tizen/recipes-tizen/eina/eina.inc index 73cba9d..84f66d0 100644 --- a/meta-tizen/recipes-tizen/eina/eina.inc +++ b/meta-tizen/recipes-tizen/eina/eina.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by eina diff --git a/meta-tizen/recipes-tizen/fdupes/fdupes.inc b/meta-tizen/recipes-tizen/fdupes/fdupes.inc index 034f02d..94eb029 100644 --- a/meta-tizen/recipes-tizen/fdupes/fdupes.inc +++ b/meta-tizen/recipes-tizen/fdupes/fdupes.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by fdupes diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti.inc b/meta-tizen/recipes-tizen/heynoti/heynoti.inc index c17e017..b36fcde 100644 --- a/meta-tizen/recipes-tizen/heynoti/heynoti.inc +++ b/meta-tizen/recipes-tizen/heynoti/heynoti.inc @@ -1,7 +1,7 @@ DESCRIPTION = "HEY (ligHt Easy speedy) notification library" HOMEPAGE = "http://nohomepage.org" SECTION = "System/Libraries" -LICENSE = "Apache-2.0" +LICENSE = "Apache License, Version 2.0" SRC_URI = "" @@ -26,7 +26,6 @@ RDEPENDS_${PN}-dev += "heynoti" DEPENDS = "" #DEPENDS of heynoti DEPENDS += "ecore" -DEPENDS += "tizen-platform-config" DEPENDS_append_class-native = " cmake-native" DEPENDS_append_class-target = " cmake-native" DEPENDS += "dlog" @@ -99,9 +98,7 @@ do_install() { find ${D} -regex ".*\.la$" | xargs rm -f -- find ${D} -regex ".*\.a$" | xargs rm -f -- - mkdir -p ${D}%{TZ_SYS_SHARE}/noti - mkdir -p ${D}/usr/share/license - install LICENSE ${D}/usr/share/license/heynoti + mkdir -p ${D}/opt/share/noti } @@ -112,8 +109,7 @@ heynoti_files += "heynoti.manifest" heynoti_files += "${prefix}/lib/libheynoti.so.0" heynoti_files += "${prefix}/lib/libheynoti.so.0.0.2" heynoti_files += "${prefix}/bin/heynotitool" -heynoti_files += "%{TZ_SYS_SHARE}/noti" -heynoti_files += "/usr/share/license/heynoti" +heynoti_files += "/opt/share/noti" heynoti-dev_files = "" heynoti-dev_files += "heynoti.manifest" diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb b/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb index e9e0921..b9d5005 100644 --- a/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb +++ b/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/heynoti;tag=0392b03dc6aa9300440ccc1ba3c204968f738501;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/heynoti;tag=bc2fb69c89c2046e58a1cd47a4b59acb43405bfa;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/recipes-tizen/hwdata/hwdata-extraconf.inc b/meta-tizen/recipes-tizen/hwdata/hwdata-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hwdata/hwdata.inc b/meta-tizen/recipes-tizen/hwdata/hwdata.inc new file mode 100644 index 0000000..03c4572 --- /dev/null +++ b/meta-tizen/recipes-tizen/hwdata/hwdata.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "Hardware identification and configuration data" +HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by hwdata +# the PROVIDES rules is ignore "pciutils-ids " +PROVIDES += "pciutils-ids" +RPROVIDES_hwdata += "pciutils-ids" + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n hwdata-0.260-1 + + CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=${prefix} \ + --exec-prefix=${prefix} \ + --bindir=${prefix}/bin \ + --sbindir=${prefix}/sbin \ + --sysconfdir=${sysconfdir} \ + --datadir=${prefix}/share \ + --includedir=${prefix}/include \ + --libdir=${prefix}/lib \ + --libexecdir=${prefix}/libexec \ + --localstatedir=${localstatedir} \ + --sharedstatedir=${prefix}/com \ + --mandir=${mandir} \ + --infodir=${infodir} + cp ${S}/packaging/hwdata.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + # nothing to build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /bin/mkdir -p ${D}${sysconfdir}/modprobe.d + mv ${D}${prefix}/lib/modprobe.d/dist-blacklist.conf \ + ${D}${sysconfdir}/modprobe.d/blacklist.conf + rm -rf ${D}${prefix}/lib + + +} + + +hwdata_files = "" +hwdata_files += "hwdata.manifest" +hwdata_files += "${sysconfdir}/modprobe.d/blacklist.conf" +hwdata_files += "${prefix}/share/hwdata" +hwdata_files += "${prefix}/share/hwdata/*" + +FILES_${PN} = "${hwdata_files}" + +PKG_hwdata= "hwdata" + +require hwdata-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb b/meta-tizen/recipes-tizen/hwdata/hwdata_git.bb similarity index 51% rename from meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb rename to meta-tizen/recipes-tizen/hwdata/hwdata_git.bb index bb9aa60..bb51939 100644 --- a/meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb +++ b/meta-tizen/recipes-tizen/hwdata/hwdata_git.bb @@ -1,10 +1,10 @@ -require pwdutils.inc +require hwdata.inc PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/pwdutils;tag=20260fc3c5d5ecd97808151b2189f4649cafa315;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/hwdata;tag=ece4331ca9f60d359ed0270ba59fcb2b3dce6396;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/recipes-tizen/iniparser/iniparser.inc b/meta-tizen/recipes-tizen/iniparser/iniparser.inc index 223f575..e5308a8 100644 --- a/meta-tizen/recipes-tizen/iniparser/iniparser.inc +++ b/meta-tizen/recipes-tizen/iniparser/iniparser.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by iniparser-dev diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc index 2ffa0a0..f9a3532 100644 --- a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc +++ b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libdevice-node diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc index 86a341b..51fb6ec 100644 --- a/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc +++ b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libhaptic diff --git a/meta-tizen/recipes-tizen/libiri/libiri.inc b/meta-tizen/recipes-tizen/libiri/libiri.inc index 10fb65a..28ab1f9 100644 --- a/meta-tizen/recipes-tizen/libiri/libiri.inc +++ b/meta-tizen/recipes-tizen/libiri/libiri.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libiri-dev diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc index 1c6959b..0c6658b 100644 --- a/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc +++ b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libmm-common-dev diff --git a/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc b/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc index 7c4531e..cbe6903 100644 --- a/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc +++ b/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libmm-log diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc index 54522ef..2141ade 100644 --- a/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc +++ b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libmm-session diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc index b7f3a76..2912504 100644 --- a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc +++ b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libmm-sound-dev diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc index fcc3ed8..5dc86ba 100644 --- a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc +++ b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libmm-ta diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc index 576c9dc..cee5386 100644 --- a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc +++ b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libprivilege-control diff --git a/meta-tizen/recipes-tizen/librua/librua.inc b/meta-tizen/recipes-tizen/librua/librua.inc index 650baab..490fc30 100644 --- a/meta-tizen/recipes-tizen/librua/librua.inc +++ b/meta-tizen/recipes-tizen/librua/librua.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by librua diff --git a/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc b/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc index ab3ff57..c91410f 100644 --- a/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc +++ b/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libsf-common diff --git a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc index 5471dad..d8b64e2 100644 --- a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc +++ b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libslp-db-util-dev diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc index 6120ea2..9dd7d55 100644 --- a/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc +++ b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libslp-location-dev diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc index 49d915d..aacb0ad 100644 --- a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc +++ b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libslp-pm diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc index d802baa..e12675d 100644 --- a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc +++ b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by sensor diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc index 08edeb9..2752799 100644 --- a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc +++ b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by sysman-internal-dev diff --git a/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc b/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc index 68787b3..d6395fc 100644 --- a/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc +++ b/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libtapi-dev diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi.inc b/meta-tizen/recipes-tizen/libtapi/libtapi.inc index 6e3f938..a27fbf7 100644 --- a/meta-tizen/recipes-tizen/libtapi/libtapi.inc +++ b/meta-tizen/recipes-tizen/libtapi/libtapi.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by libtapi3 diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager.inc b/meta-tizen/recipes-tizen/location-manager/location-manager.inc index 05a5ad0..9c60806 100644 --- a/meta-tizen/recipes-tizen/location-manager/location-manager.inc +++ b/meta-tizen/recipes-tizen/location-manager/location-manager.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by capi-location-manager-dev diff --git a/meta-tizen/recipes-tizen/lua/lua.inc b/meta-tizen/recipes-tizen/lua/lua.inc index a69d40b..d7d3a25 100644 --- a/meta-tizen/recipes-tizen/lua/lua.inc +++ b/meta-tizen/recipes-tizen/lua/lua.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by lua diff --git a/meta-tizen/recipes-tizen/notification/notification.inc b/meta-tizen/recipes-tizen/notification/notification.inc index c2b35df..61afbb2 100644 --- a/meta-tizen/recipes-tizen/notification/notification.inc +++ b/meta-tizen/recipes-tizen/notification/notification.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by notification diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc index 915263c..a5f39fa 100644 --- a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc +++ b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by pkgmgr-info-parser diff --git a/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc b/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc index 00b468c..139970a 100644 --- a/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc +++ b/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by privacy-manager-client diff --git a/meta-tizen/recipes-tizen/pwdutils/pwdutils.inc b/meta-tizen/recipes-tizen/pwdutils/pwdutils.inc index c8c935c..2a38a93 100644 --- a/meta-tizen/recipes-tizen/pwdutils/pwdutils.inc +++ b/meta-tizen/recipes-tizen/pwdutils/pwdutils.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by pwdutils-docs diff --git a/meta-tizen/recipes-tizen/rpm/rpm.inc b/meta-tizen/recipes-tizen/rpm/rpm.inc index f7f7f61..47eaca1 100644 --- a/meta-tizen/recipes-tizen/rpm/rpm.inc +++ b/meta-tizen/recipes-tizen/rpm/rpm.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by rpm-security-plugin diff --git a/meta-tizen/recipes-tizen/security-server/security-server.inc b/meta-tizen/recipes-tizen/security-server/security-server.inc index 1c7e561..3473673 100644 --- a/meta-tizen/recipes-tizen/security-server/security-server.inc +++ b/meta-tizen/recipes-tizen/security-server/security-server.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by security-server-certs @@ -101,8 +101,7 @@ do_compile() { -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DVERSION=0.0.118 \ + -DBUILD_SHARED_LIBS:BOOL=ON . -DVERSION=0.0.118 \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_VERBOSE_MAKEFILE=ON make -j16 diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc index 7df9fa2..1be914c 100644 --- a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc +++ b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by pkgmgr-client diff --git a/meta-tizen/recipes-tizen/smack/smack.inc b/meta-tizen/recipes-tizen/smack/smack.inc index 22518f4..1c8c1e3 100644 --- a/meta-tizen/recipes-tizen/smack/smack.inc +++ b/meta-tizen/recipes-tizen/smack/smack.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by smack-dev diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc index 50b15b0..efa73d0 100644 --- a/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc +++ b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by capi-media-sound-manager-dev diff --git a/meta-tizen/recipes-tizen/system-info/system-info.inc b/meta-tizen/recipes-tizen/system-info/system-info.inc index d2c956e..2f4d774 100644 --- a/meta-tizen/recipes-tizen/system-info/system-info.inc +++ b/meta-tizen/recipes-tizen/system-info/system-info.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by capi-system-info-dev diff --git a/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc b/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc new file mode 100644 index 0000000..484106b --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc @@ -0,0 +1,50 @@ +systemd_files += "${sysconfdir}/*" + +systemd_files += "/usr/lib64/python2.7" +systemd_files += "/usr/lib64/python2.7/site-packages" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.py" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.py" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_daemon.so" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_reader.so" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_journal.so" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.pyo" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.pyo" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.pyo" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.py" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/id128.so" +systemd_files += "/usr/lib64/python2.7/site-packages/systemd/login.so" + +systemd_files += "${prefix}/lib/rpm" +systemd_files += "${prefix}/lib/rpm/macros.d" + +systemd_files += "/var/log" +systemd_files += "/var/lib/systemd" +systemd_files += "/var/volatile/log" +systemd_files += "/var/volatile/log/README" +systemd_files += "/var/volatile/log/journal" + +systemd-dbg_files += "${prefix}/lib/security/.debug" +systemd-dbg_files += "${prefix}/lib/systemd/system-generators/.debug" +systemd-dbg_files += "${prefix}/lib/udev/.debug" +systemd-dbg_files += "${prefix}/lib64/python2.7/site-packages/systemd/.debug" + +FILES_${PN}-dbg += "${systemd-dbg_files}" + +do_install_append() { + rm ${D}${sysconfdir}/hostname + rm ${D}${sysconfdir}/vconsole.conf + rm ${D}${sysconfdir}/locale.conf + rm ${D}${sysconfdir}/machine-id + rm ${D}${sysconfdir}/machine-info + rm ${D}${sysconfdir}/timezone + +} + + + + + + + + diff --git a/meta-tizen/recipes-tizen/systemd/systemd.inc b/meta-tizen/recipes-tizen/systemd/systemd.inc new file mode 100644 index 0000000..3970acf --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/systemd.inc @@ -0,0 +1,477 @@ +DESCRIPTION = "A System and Service Manager" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" +SECTION = "Base/Startup" +LICENSE = "LGPL-2.0+ and MIT and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libsystemd + + +#PROVIDES by systemd +# the PROVIDES rules is ignore "SysVinit = 2.86-24" +PROVIDES += "SysVinit" +RPROVIDES_systemd += "SysVinit" +# the PROVIDES rules is ignore "sysvinit = 2.86-24" +PROVIDES += "sysvinit" +RPROVIDES_systemd += "sysvinit" +# the PROVIDES rules is ignore "/bin/systemctl " +PROVIDES += "/bin/systemctl" +RPROVIDES_systemd += "/bin/systemctl" +# the PROVIDES rules is ignore "/sbin/shutdown " +PROVIDES += "/sbin/shutdown" +RPROVIDES_systemd += "/sbin/shutdown" +# the PROVIDES rules is ignore "udev = 208" +PROVIDES += "udev" +RPROVIDES_systemd += "udev" + + +#PROVIDES by libgudev-dev + + +#PROVIDES by systemd-dev +# the PROVIDES rules is ignore "libudev-dev = 208" +PROVIDES += "libudev-dev" +RPROVIDES_systemd-dev += "libudev-dev" + + +#PROVIDES by libgudev + + +#PROVIDES by systemd-analyze + + +RDEPENDS = "" +#RDEPENDS of systemd (${PN}) +RDEPENDS_${PN} += "hwdata" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "gawk" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "shadow" + +#RDEPENDS of libgudev-dev (libgudev-dev) +RDEPENDS_libgudev-dev += "libgudev" + +#RDEPENDS of systemd-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "systemd" + +#RDEPENDS of libgudev (libgudev) +RDEPENDS_libgudev += "systemd" + +#RDEPENDS of systemd-analyze (${PN}-analyze) +RDEPENDS_${PN}-analyze += "systemd" + + +DEPENDS = "" +#DEPENDS of systemd +DEPENDS += "kmod" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "attr" +DEPENDS += "gperf" +DEPENDS += "hwdata" +DEPENDS += "dbus" +DEPENDS += "usbutils" +DEPENDS_append_class-native = " pkgconfig-native" +DEPENDS_append_class-target = " pkgconfig-native" +DEPENDS += "acl" +DEPENDS += "xz" +DEPENDS += "glib-2.0" +DEPENDS += "libxslt" +DEPENDS += "pciutils" +DEPENDS += "libcap" +DEPENDS += "util-linux" +DEPENDS += "libgcrypt" +DEPENDS += "libpam" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/systemd.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=${prefix} \ + --exec-prefix=${prefix} \ + --bindir=${prefix}/bin \ + --sbindir=${prefix}/sbin \ + --sysconfdir=${sysconfdir} \ + --datadir=${prefix}/share \ + --includedir=${prefix}/include \ + --libdir=${prefix}/lib \ + --libexecdir=${prefix}/libexec \ + --localstatedir=${localstatedir} \ + --sharedstatedir=${prefix}/com \ + --mandir=${mandir} \ + --infodir=${infodir} + + CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=${prefix} \ + --exec-prefix=${prefix} \ + --bindir=${prefix}/bin \ + --sbindir=${prefix}/sbin \ + --sysconfdir=${sysconfdir} \ + --datadir=${prefix}/share \ + --includedir=${prefix}/include \ + --libdir=${prefix}/lib \ + --libexecdir=${prefix}/libexec \ + --localstatedir=${localstatedir} \ + --sharedstatedir=${prefix}/com \ + --mandir=${mandir} \ + --infodir=${infodir} \ + --enable-bootchart \ + --libexecdir=${prefix}/lib \ + --docdir=${prefix}/share/doc/packages/systemd \ + --disable-static \ + --with-sysvinit-path= \ + --with-sysvrcnd-path= \ + --with-smack-run-label=System + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # udev links + /usr/bin/mkdir -p ${D}/${prefix}/sbin + /usr/bin/ln -sf ../bin/udevadm ${D}${prefix}/sbin/udevadm + /usr/bin/mkdir -p ${D}${prefix}/lib/firmware/updates + + # Create SysV compatibility symlinks. systemctl/systemd are smart + # enough to detect in which way they are called. + /usr/bin/ln -s ../lib/systemd/systemd ${D}${prefix}/sbin/init + /usr/bin/ln -s ../lib/systemd/systemd ${D}${prefix}/bin/systemd + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/reboot + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/halt + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/poweroff + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/shutdown + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/telinit + /usr/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/runlevel + + # legacy links + /usr/bin/ln -s loginctl ${D}${prefix}/bin/systemd-loginctl + + # We create all wants links manually at installation time to make sure + # they are not owned and hence overriden by rpm after the used deleted + # them. + /usr/bin/rm -r ${D}${sysconfdir}/systemd/system/*.target.wants + + # Make sure the ghost-ing below works + /usr/bin/touch ${D}${sysconfdir}/systemd/system/runlevel2.target + /usr/bin/touch ${D}${sysconfdir}/systemd/system/runlevel3.target + /usr/bin/touch ${D}${sysconfdir}/systemd/system/runlevel4.target + /usr/bin/touch ${D}${sysconfdir}/systemd/system/runlevel5.target + + # Make sure these directories are properly owned + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system/basic.target.wants + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system/default.target.wants + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system/dbus.target.wants + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system/syslog.target.wants + + # Make sure the user generators dir exists too + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system-generators + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/user-generators + + # Create new-style configuration files so that we can ghost-own them + /usr/bin/touch ${D}${sysconfdir}/hostname + /usr/bin/touch ${D}${sysconfdir}/vconsole.conf + /usr/bin/touch ${D}${sysconfdir}/locale.conf + /usr/bin/touch ${D}${sysconfdir}/machine-id + /usr/bin/touch ${D}${sysconfdir}/machine-info + /usr/bin/touch ${D}${sysconfdir}/timezone + #/usr/bin/mkdir -p ${D}${sysconfdir}/X11/xorg.conf.d + #/usr/bin/touch ${D}${sysconfdir}/X11/xorg.conf.d/00-keyboard.conf + + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system-preset/ + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/user-preset/ + + # Make sure the shutdown/sleep drop-in dirs exist + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system-shutdown/ + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/system-sleep/ + + # Make sure the NTP units dir exists + /usr/bin/mkdir -p ${D}${prefix}/lib/systemd/ntp-units.d/ + + # Install modprobe fragment + /usr/bin/mkdir -p ${D}${sysconfdir}/modprobe.d/ + + # Enable readahead services + /usr/bin/ln -s ../systemd-readahead-collect.service ${D}${prefix}/lib/systemd/system/default.target.wants/ + /usr/bin/ln -s ../systemd-readahead-replay.service ${D}${prefix}/lib/systemd/system/default.target.wants/ + + # Fix the dangling /var/lock -> /run/lock symlink + install -Dm644 tmpfiles.d/legacy.conf ${D}${prefix}/lib/tmpfiles.d/legacy.conf + + install -m644 ${S}/packaging/pamconsole-tmp.conf ${D}${prefix}/lib/tmpfiles.d/ + + rm -rf ${D}/${prefix}/lib/systemd/user/default.target + + rm -rf ${D}/${prefix}/share/doc/packages/systemd + + # Move macros to the proper location for Tizen + mkdir -p ${D}${sysconfdir}/rpm + install -m644 src/core/macros.systemd ${D}${sysconfdir}/rpm/macros.systemd + rm -f ${D}${prefix}/lib/rpm/macros.d/macros.systemd + + +} + +PACKAGES += " libsystemd " +PACKAGES += " libgudev-dev " +PACKAGES += " libgudev " +PACKAGES += " systemd-analyze " + +libsystemd_files = "" +libsystemd_files += "systemd.manifest" +libsystemd_files += "${prefix}/lib/security/pam_systemd.so" +libsystemd_files += "${prefix}/lib/libsystemd-daemon.so.*" +libsystemd_files += "${prefix}/lib/libsystemd-login.so.*" +libsystemd_files += "${prefix}/lib/libsystemd-journal.so.*" +libsystemd_files += "${prefix}/lib/libsystemd-id128.so.*" +libsystemd_files += "${prefix}/lib/libudev.so.*" +libsystemd_files += "${prefix}/lib/libnss_myhostname.so.2" + +systemd_files = "" +systemd_files += "systemd.manifest" +systemd_files += "${sysconfdir}/systemd/bootchart.conf" +systemd_files += "${sysconfdir}/pam.d/systemd-user" +systemd_files += "${prefix}/bin/bootctl" +systemd_files += "${prefix}/bin/kernel-install" +systemd_files += "${prefix}/bin/machinectl" +systemd_files += "${prefix}/bin/systemd-run" +systemd_files += "${prefix}/lib/kernel" +systemd_files += "${prefix}/lib/kernel/install.d" +systemd_files += "${prefix}/lib/kernel/install.d/50-depmod.install" +systemd_files += "${prefix}/lib/kernel/install.d/90-loaderentry.install" +systemd_files += "${prefix}/lib/systemd/system-generators/systemd-efi-boot-generator" +systemd_files += "${prefix}/bin/hostnamectl" +systemd_files += "${prefix}/bin/localectl" +systemd_files += "${prefix}/bin/systemd-coredumpctl" +systemd_files += "${prefix}/bin/timedatectl" +systemd_files += "${sysconfdir}/systemd" +systemd_files += "${sysconfdir}/systemd/system" +systemd_files += "${sysconfdir}/systemd/user" +systemd_files += "${sysconfdir}/tmpfiles.d" +systemd_files += "${sysconfdir}/sysctl.d" +systemd_files += "${sysconfdir}/modules-load.d" +systemd_files += "${sysconfdir}/binfmt.d" +systemd_files += "${prefix}/share/bash-completion/*" +systemd_files += "${prefix}/share/zsh/site-functions" +systemd_files += "${prefix}/share/zsh/site-functions/*" +systemd_files += "${sysconfdir}/udev" +systemd_files += "${sysconfdir}/udev/rules.d" +systemd_files += "${prefix}/lib/systemd" +systemd_files += "${prefix}/lib/systemd/system" +systemd_files += "${prefix}/lib/systemd/system-generators" +systemd_files += "${prefix}/lib/systemd/user-generators" +systemd_files += "${prefix}/lib/systemd/system-preset" +systemd_files += "${prefix}/lib/systemd/user-preset" +systemd_files += "${prefix}/lib/systemd/system-shutdown" +systemd_files += "${prefix}/lib/systemd/system-sleep" +systemd_files += "${prefix}/lib/tmpfiles.d" +systemd_files += "${prefix}/lib/sysctl.d" +systemd_files += "${prefix}/lib/modules-load.d" +systemd_files += "${prefix}/lib/binfmt.d" +systemd_files += "${prefix}/lib/firmware" +systemd_files += "${prefix}/lib/firmware/updates" +systemd_files += "${prefix}/share/systemd" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf" +systemd_files += "${sysconfdir}/systemd/system.conf" +systemd_files += "${sysconfdir}/systemd/user.conf" +systemd_files += "${sysconfdir}/systemd/logind.conf" +systemd_files += "${sysconfdir}/systemd/journald.conf" +systemd_files += "${sysconfdir}/udev/udev.conf" +systemd_files += "${sysconfdir}/rpm/macros.systemd" +systemd_files += "${sysconfdir}/xdg/systemd" +systemd_files += "${prefix}/bin/systemd" +systemd_files += "${prefix}/bin/systemctl" +systemd_files += "${prefix}/bin/systemd-notify" +systemd_files += "${prefix}/bin/systemd-ask-password" +systemd_files += "${prefix}/bin/systemd-tty-ask-password-agent" +systemd_files += "${prefix}/bin/systemd-machine-id-setup" +systemd_files += "${prefix}/bin/loginctl" +systemd_files += "${prefix}/bin/systemd-loginctl" +systemd_files += "${prefix}/bin/journalctl" +systemd_files += "${prefix}/bin/systemd-tmpfiles" +systemd_files += "${prefix}/bin/systemd-nspawn" +systemd_files += "${prefix}/bin/systemd-stdio-bridge" +systemd_files += "${prefix}/bin/systemd-cat" +systemd_files += "${prefix}/bin/systemd-cgls" +systemd_files += "${prefix}/bin/systemd-cgtop" +systemd_files += "${prefix}/bin/systemd-delta" +systemd_files += "${prefix}/bin/systemd-detect-virt" +systemd_files += "${prefix}/bin/systemd-inhibit" +systemd_files += "${prefix}/bin/udevadm" +systemd_files += "${prefix}/lib/sysctl.d/*.conf" +systemd_files += "${prefix}/lib/systemd/systemd" +systemd_files += "${prefix}/lib/systemd/system" +systemd_files += "/usr/lib/systemd/system/basic.target.wants" +systemd_files += "${prefix}/lib/systemd/user" +systemd_files += "${prefix}/lib/systemd/user/bluetooth.target" +systemd_files += "${prefix}/lib/systemd/user/exit.target" +systemd_files += "${prefix}/lib/systemd/user/printer.target" +systemd_files += "${prefix}/lib/systemd/user/shutdown.target" +systemd_files += "${prefix}/lib/systemd/user/sockets.target" +systemd_files += "${prefix}/lib/systemd/user/sound.target" +systemd_files += "${prefix}/lib/systemd/user/systemd-exit.service" +systemd_files += "${prefix}/lib/systemd/user/paths.target" +systemd_files += "${prefix}/lib/systemd/user/smartcard.target" +systemd_files += "${prefix}/lib/systemd/user/timers.target" +systemd_files += "${prefix}/lib/systemd/systemd-*" +systemd_files += "${prefix}/lib/systemd/catalog" +systemd_files += "${prefix}/lib/systemd/catalog/systemd.catalog" +systemd_files += "${prefix}/lib/udev" +systemd_files += "${prefix}/lib/systemd/system-generators/systemd-getty-generator" +systemd_files += "${prefix}/lib/systemd/system-generators/systemd-fstab-generator" +systemd_files += "${prefix}/lib/systemd/system-generators/systemd-system-update-generator" +systemd_files += "${prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator" +systemd_files += "${prefix}/lib/tmpfiles.d/systemd.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/x11.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/tmp.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/legacy.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/pamconsole-tmp.conf" +systemd_files += "${prefix}/sbin/init" +systemd_files += "${prefix}/sbin/reboot" +systemd_files += "${prefix}/sbin/halt" +systemd_files += "${prefix}/sbin/poweroff" +systemd_files += "${prefix}/sbin/shutdown" +systemd_files += "${prefix}/sbin/telinit" +systemd_files += "${prefix}/sbin/runlevel" +systemd_files += "${prefix}/sbin/udevadm" +systemd_files += "${prefix}/share/systemd/kbd-model-map" +systemd_files += "${prefix}/share/dbus-1/services/org.freedesktop.systemd1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.systemd1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.hostname1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.login1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.locale1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.timedate1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.machine1.service" +systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.systemd1.*.xml" +systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.hostname1.xml" +systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.locale1.xml" +systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.timedate1.xml" +systemd_files += "${prefix}/share/polkit-1" +systemd_files += "${prefix}/share/polkit-1/actions" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.systemd1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.hostname1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.login1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.locale1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.timedate1.policy" +systemd_files += "${prefix}/share/pkgconfig/systemd.pc" +systemd_files += "${prefix}/share/pkgconfig/udev.pc" + +libgudev-dev_files = "" +libgudev-dev_files += "systemd.manifest" +libgudev-dev_files += "${prefix}/lib/libgudev-1.0.so" +libgudev-dev_files += "${prefix}/include/gudev-1.0" +libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev" +libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev/*.h" +libgudev-dev_files += "${prefix}/lib/pkgconfig/gudev-1.0*" + +systemd-dev_files = "" +systemd-dev_files += "systemd.manifest" +systemd-dev_files += "${prefix}/lib/libsystemd-daemon.so" +systemd-dev_files += "${prefix}/lib/libsystemd-login.so" +systemd-dev_files += "${prefix}/lib/libsystemd-journal.so" +systemd-dev_files += "${prefix}/lib/libsystemd-id128.so" +systemd-dev_files += "${prefix}/lib/libudev.so" +systemd-dev_files += "${prefix}/include/systemd" +systemd-dev_files += "${prefix}/include/systemd/sd-daemon.h" +systemd-dev_files += "${prefix}/include/systemd/sd-login.h" +systemd-dev_files += "${prefix}/include/systemd/sd-journal.h" +systemd-dev_files += "${prefix}/include/systemd/sd-id128.h" +systemd-dev_files += "${prefix}/include/systemd/sd-messages.h" +systemd-dev_files += "${prefix}/include/systemd/sd-shutdown.h" +systemd-dev_files += "${prefix}/include/libudev.h" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-daemon.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-login.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-journal.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-id128.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libudev.pc" + +libgudev_files = "" +libgudev_files += "systemd.manifest" +libgudev_files += "${prefix}/lib/libgudev-1.0.so.*" + +systemd-analyze_files = "" +systemd-analyze_files += "systemd.manifest" +systemd-analyze_files += "${prefix}/bin/systemd-analyze" + +FILES_lib${PN} = "${libsystemd_files}" +FILES_${PN} = "${systemd_files}" +FILES_libgudev-dev = "${libgudev-dev_files}" +FILES_${PN}-dev = "${systemd-dev_files}" +FILES_libgudev = "${libgudev_files}" +FILES_${PN}-analyze = "${systemd-analyze_files}" + +PKG_libsystemd= "libsystemd" +PKG_systemd= "systemd" +PKG_libgudev-dev= "libgudev-dev" +PKG_systemd-dev= "systemd-dev" +PKG_libgudev= "libgudev" +PKG_systemd-analyze= "systemd-analyze" + +require systemd-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/systemd/systemd_git.bb b/meta-tizen/recipes-tizen/systemd/systemd_git.bb new file mode 100644 index 0000000..a51dde6 --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/systemd_git.bb @@ -0,0 +1,10 @@ +require systemd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=93675e1961f47d1bbe4beb9043cdc3f60ecfc795;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc index 5ef38de..dc15671 100644 --- a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc +++ b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by tizen-platform-config diff --git a/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc index 9cf7f42..7069505 100644 --- a/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc +++ b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by tizen-platform-wrapper diff --git a/meta-tizen/recipes-tizen/uthash/uthash.inc b/meta-tizen/recipes-tizen/uthash/uthash.inc index a35b94b..2225850 100644 --- a/meta-tizen/recipes-tizen/uthash/uthash.inc +++ b/meta-tizen/recipes-tizen/uthash/uthash.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by uthash diff --git a/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc index fc0f549..26c519c 100644 --- a/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc +++ b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by vconf-internal-keys diff --git a/meta-tizen/recipes-tizen/vconf/vconf.inc b/meta-tizen/recipes-tizen/vconf/vconf.inc index 39b587e..ae686a2 100644 --- a/meta-tizen/recipes-tizen/vconf/vconf.inc +++ b/meta-tizen/recipes-tizen/vconf/vconf.inc @@ -9,7 +9,7 @@ S = "${WORKDIR}/git" inherit autotools-brokensep -BBCLASSEXTEND += "" +BBCLASSEXTEND = "" PROVIDES = "" #PROVIDES by vconf-keys-dev diff --git a/meta-tizen/recipes-tizen/weston-common/weston-common-extraconf.inc b/meta-tizen/recipes-tizen/weston-common/weston-common-extraconf.inc index f2e34f9..5602b95 100644 --- a/meta-tizen/recipes-tizen/weston-common/weston-common-extraconf.inc +++ b/meta-tizen/recipes-tizen/weston-common/weston-common-extraconf.inc @@ -4,7 +4,7 @@ USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "-g 191 display;-g 100 users" -USERADD_PARAM_${PN} = " -d /run/display -m -u 115 -g display -G users -s /bin/false display; " +USERADD_PARAM_${PN} = " -d /run/display -m -u 115 -g display -G users -s /bin/sh display; " USERADD_PARAM_${PN} += " -d /home/alice -m -u 5001 -g users -G display -r -s /bin/sh alice; " USERADD_PARAM_${PN} += " -d /home/bob -m -u 5002 -g users -G display -r -s /bin/sh bob; " USERADD_PARAM_${PN} += " -d /home/carole -m -u 5003 -g users -G display -r -s /bin/sh carole; " diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc index 1a11d3e..fc4307b 100644 --- a/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc @@ -1,7 +1,7 @@ DESCRIPTION = "Pkg xdgmime" HOMEPAGE = "http://nohomepage.org" -SECTION = "Applications/Other" -LICENSE = "LGPL-2.0 and AFL-2.0" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "LGPLv2, AFLv2" SRC_URI = "" diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb b/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb index 9e8780c..aa0ecdb 100644 --- a/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/xdgmime;tag=67141100ad0f940567492958ae9c315c80dd579e;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/xdgmime;tag=93ad04ea3339d7a4b8122bd9bf5ea36d4816f4bc;nobranch=1" BBCLASSEXTEND += " native " -- 2.7.4