- update recipes..
authorRonan Le Martret <ronan@fridu.net>
Fri, 12 Apr 2013 14:08:25 +0000 (16:08 +0200)
committerRonan Le Martret <ronan@fridu.net>
Fri, 12 Apr 2013 14:08:25 +0000 (16:08 +0200)
36 files changed:
Tizen_TZ_package/recipes-Tizen-IVI-base/package-yocto-native
Tizen_TZ_package/spec2yocto.py
meta-tizen-ivi/recipes-tizen/ail/ail.inc
meta-tizen-ivi/recipes-tizen/alarm-manager/alarm-manager.inc
meta-tizen-ivi/recipes-tizen/app-core/app-core.inc
meta-tizen-ivi/recipes-tizen/app-svc/app-svc.inc
meta-tizen-ivi/recipes-tizen/aul/aul.inc
meta-tizen-ivi/recipes-tizen/bluetooth-tools/bluetooth-tools.inc
meta-tizen-ivi/recipes-tizen/bundle/bundle.inc
meta-tizen-ivi/recipes-tizen/crash-worker-sdk/crash-worker-sdk.inc
meta-tizen-ivi/recipes-tizen/heynoti/heynoti.inc
meta-tizen-ivi/recipes-tizen/ise-engine-default/ise-engine-default.inc
meta-tizen-ivi/recipes-tizen/ivi-configs/ivi-configs.inc
meta-tizen-ivi/recipes-tizen/librua/librua.inc
meta-tizen-ivi/recipes-tizen/libslp-db-util/libslp-db-util.inc
meta-tizen-ivi/recipes-tizen/libsvi/libsvi.inc
meta-tizen-ivi/recipes-tizen/libxcb/libxcb-extraconf.inc
meta-tizen-ivi/recipes-tizen/libxslt/libxslt-depends.inc
meta-tizen-ivi/recipes-tizen/libxslt/libxslt-native-extraconf.inc
meta-tizen-ivi/recipes-tizen/locales-init/locales-init.inc
meta-tizen-ivi/recipes-tizen/media-data-sdk/media-data-sdk.inc
meta-tizen-ivi/recipes-tizen/media-server/media-server.inc
meta-tizen-ivi/recipes-tizen/pkgmgr/pkgmgr.inc
meta-tizen-ivi/recipes-tizen/rpm-installer/rpm-installer.inc
meta-tizen-ivi/recipes-tizen/security-server/security-server.inc
meta-tizen-ivi/recipes-tizen/smartcard-plugin-uicc/smartcard-plugin-uicc.inc
meta-tizen-ivi/recipes-tizen/svi-data-sdk/svi-data-sdk.inc
meta-tizen-ivi/recipes-tizen/sys-assert/sys-assert.inc
meta-tizen-ivi/recipes-tizen/sys-string/sys-string.inc
meta-tizen-ivi/recipes-tizen/syspopup/syspopup.inc
meta-tizen-ivi/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc
meta-tizen-ivi/recipes-tizen/wrt-commons/wrt-commons.inc
meta-tizen-ivi/recipes-tizen/wrt-installer/wrt-installer.inc
meta-tizen-ivi/recipes-tizen/wrt-plugins-common/wrt-plugins-common.inc
meta-tizen-ivi/recipes-tizen/wrt-security/wrt-security.inc
meta-tizen-ivi/recipes-tizen/wrt/wrt.inc

index c2dc8e9..60dcbca 100755 (executable)
@@ -195,6 +195,7 @@ class specParser:
         self.__rawSpectDico = {}
         
         self.__cpu="i586"
+        self.__cpuNative="x86_64"
         
         self.__convertSpecFile()
         self.__parseParsedSpecFile()
@@ -218,9 +219,20 @@ class specParser:
         
         command="rpmspec "
         macroPath=""
+        
+           
+        if (self.__packagePN is not None) and (self.__packagePN.endswith("-native")):
+           command += " --define='buildroot ${D}${STAGING_DIR}/${HOST_SYS}' "
+           currentCpu=self.__cpuNative
+       else:
+            command += " --define='buildroot ${D}' "
+            currentCpu=self.__cpu
+            
+        
+        
         for dir in ["lib/*",
                     "lib/fileattrs/*",
-                    "lib/platform/%s-linux/macros" %  self.__cpu,
+                    "lib/platform/%s-linux/macros" %  currentCpu,
                     "lib/tizen/*",
                     "etc/*",
                     "user/.rpmmacros",
@@ -228,10 +240,8 @@ class specParser:
             macroPath+=os.path.join("/usr/share/spec2yocto/macro",dir)+" "
         
         command += " --macros=\"%s\" " % macroPath
-        if (self.__packagePN is not None) and (self.__packagePN.endswith("-native")):
-           command += " --define='buildroot ${D}${STAGING_DIR}/${HOST_SYS}' "
-       else:
-            command += " --define='buildroot ${D}' "
+        
+
         
         command += " --define='setup #setup' "
         command += " --define='setup0 #setup0' "
@@ -243,7 +253,7 @@ class specParser:
 
         command += " --define='BUILD_BASENAME %{basename}' "
         
-        command += " --target='%s' " % self.__cpu
+        command += " --target='%s' " % currentCpu
 #        command += " --define='_target_cpu %s' " % self.__cpu
 
         
@@ -1060,6 +1070,8 @@ class metaSpec:
             f.write("SRC_URI = \"\"\n" )
             f.write("\n" )
             
+            f.write("inherit tizenBuildUtils\n")
+            f.write("\n")
             
             f.write("require %s\n" % self.__baseRDependsFile)
             f.write("require %s\n" % self.__baseDependsFile)
index fcef6d8..9fd9f20 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Application Information Library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index f2fafac..a76bcef 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Alarm library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index b1e0c95..7051b3b 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Application basic"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index f099c50..4f02ace 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "App svc"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index b7f84ba..856c38b 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "App utility library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index e88e50c..6c06e3d 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "bluetooth-tools"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 46b73bc..40a8c1f 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "String key-val dictionary ADT"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 73b6cd4..cf809b8 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Crash-worker-sdk"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Framework/system"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 2c79b43..84263bc 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "HEY (ligHt Easy speedy) notification library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 06e0842..e4c0a3d 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Multilingual Keyboard ISE"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System Environment/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 14dd2cc..4816d40 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Custom configurations to support IVI platforms"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 0e95cc9..42d6d73 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Recently used application"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 4829908..386c08e 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "DB Utility"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 8937e34..8bddef7 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "SVI"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index e69de29..0e79218 100644 (file)
@@ -0,0 +1,14 @@
+SRC_URI += "file://xcbincludedir.patch"
+
+do_patch () {
+ echo RLM begining of do_patch
+ export PKG_CONFIG_SYSROOT_DIR
+ cat ${WORKDIR}/xcbincludedir.patch | sed -e 's:'\$PKG_CONFIG_SYSROOT_DIR':'$PKG_CONFIG_SYSROOT_DIR':'|patch -p1 --fuzz=2 
+ echo RLM end of do_patch
+}
+
+DEPENDS += "libxslt-native"
+
+inherit  pkgconfig pythonnative
+
+PARALLEL_MAKE = ""
\ No newline at end of file
index 842ec23..19ccc2b 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Locales selection"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 22cd148..5c34c59 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Media data for SDK. Image/Sounds/Videos and Others."
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index fe4ea31..703c1c5 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "File manager service server."
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "utils"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 8fc11f2..bf8bcd3 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Packager Manager client library package"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 86ddce9..9379b65 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Native rpm installer"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index ec9bd41..09fcd6b 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Security server and utilities"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 20f154f..4d9d464 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Smartcard plugin uicc"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "libs"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 0e95803..e0bc721 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "svi library audio data package (SDK)"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Resources"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 1c2fd9b..b80ef04 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "libsys-assert (shared object)."
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Framework/system"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index f5eebed..e54d229 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "System string package for multilinugual support"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "TO_BE/FILLED_IN"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 75709c1..31e2471 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "syspopup package"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "System/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 02669bd..5af2b73 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Internal shared keys for vconf"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Headers"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index caad7c7..fc736df 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Wrt common library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 8876c91..f3490a5 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Installer for tizen Webruntime"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 3315db3..d235234 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "wrt-plugins common library"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index f12227e..4fd2f50 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Security daemon for web applications"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""
 
index 1bfbba0..0ca228d 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "web runtime"
 HOMEPAGE = "http://nohomepage.org"
 SECTION = "Development/Libraries"
-LICENSE = "Apache License, Version 2.0"
+LICENSE = "Apache"
 
 PROVIDES = ""