From f305ec8c65c79b9ba27fff151ae295db6c0856c0 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 19 Mar 2014 16:45:43 +0100 Subject: [PATCH] meta-tizen: first commit Change-Id: Iab079591ad1df187e9ccab8b4cb882894bcce467 (From meta-tizen rev: df785cb304e2bbc08076cf6fe2e58036f2277917) Signed-off-by: Patrick Ohly --- meta-tizen/COPYING.MIT | 17 + meta-tizen/conf/layer.conf | 86 + meta-tizen/files/tizen-fs-perms.txt | 68 + .../images/tizen-generic-core-image-minimal.bb | 28 + .../images/tizen-generic-core-image.bb | 39 + .../packagegroup-tizen-Applications.bb | 12 + .../packagegroup-tizen-Base-Desktop.bb | 29 + .../packagegroup-tizen-Base-System.bb | 36 + .../packagegroups/packagegroup-tizen-Benchmarks.bb | 30 + .../packagegroup-tizen-Console-Tools.bb | 37 + .../packagegroup-tizen-Development.bb | 54 + .../packagegroup-tizen-Enlightenment.bb | 16 + .../packagegroup-tizen-Generic-Adaptation.bb | 15 + .../packagegroup-tizen-Generic-Applications.bb | 14 + .../packagegroup-tizen-Generic-Middleware.bb | 70 + .../packagegroup-tizen-Generic-Packaging.bb | 13 + .../packagegroup-tizen-Generic-QA-Tools.bb | 23 + .../packagegroup-tizen-Generic-Wayland.bb | 18 + .../packagegroup-tizen-Generic-X11.bb | 15 + ...ckagegroup-tizen-Graphics-and-UI-Framework-X.bb | 16 + .../packagegroup-tizen-PC-Adaptation.bb | 16 + .../packagegroup-tizen-Qt-Framework.bb | 75 + .../packagegroups/packagegroup-tizen-Wayland.bb | 17 + .../packagegroup-tizen-Web-Framework.bb | 17 + meta-tizen/recipes-tizen/GSSDP/GSSDP-extraconf.inc | 0 meta-tizen/recipes-tizen/GSSDP/GSSDP-native_git.bb | 12 + meta-tizen/recipes-tizen/GSSDP/GSSDP.inc | 126 + meta-tizen/recipes-tizen/GSSDP/GSSDP_git.bb | 8 + .../recipes-tizen/GUPnP-AV/GUPnP-AV-extraconf.inc | 0 .../recipes-tizen/GUPnP-AV/GUPnP-AV-native_git.bb | 12 + meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV.inc | 125 + meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV_git.bb | 8 + .../GUPnP-DLNA/GUPnP-DLNA-extraconf.inc | 0 .../GUPnP-DLNA/GUPnP-DLNA-native_git.bb | 12 + meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA.inc | 160 + .../recipes-tizen/GUPnP-DLNA/GUPnP-DLNA_git.bb | 8 + meta-tizen/recipes-tizen/GUPnP/GUPnP-extraconf.inc | 0 meta-tizen/recipes-tizen/GUPnP/GUPnP-native_git.bb | 12 + meta-tizen/recipes-tizen/GUPnP/GUPnP.inc | 127 + meta-tizen/recipes-tizen/GUPnP/GUPnP_git.bb | 8 + meta-tizen/recipes-tizen/SDL/SDL-extraconf.inc | 0 meta-tizen/recipes-tizen/SDL/SDL-native_git.bb | 12 + meta-tizen/recipes-tizen/SDL/SDL.inc | 156 + meta-tizen/recipes-tizen/SDL/SDL_git.bb | 8 + meta-tizen/recipes-tizen/acl/acl-extraconf.inc | 15 + meta-tizen/recipes-tizen/acl/acl.inc | 160 + .../recipes-tizen/acl/acl/package_utilies.m4 | 115 + .../recipes-tizen/acl/acl/relative-libdir.patch | 25 + meta-tizen/recipes-tizen/acl/acl_git.bb | 8 + meta-tizen/recipes-tizen/acpid/acpid-extraconf.inc | 0 meta-tizen/recipes-tizen/acpid/acpid-native_git.bb | 12 + meta-tizen/recipes-tizen/acpid/acpid.inc | 129 + meta-tizen/recipes-tizen/acpid/acpid_git.bb | 8 + meta-tizen/recipes-tizen/adns/adns-extraconf.inc | 0 meta-tizen/recipes-tizen/adns/adns-native_git.bb | 12 + meta-tizen/recipes-tizen/adns/adns.inc | 130 + meta-tizen/recipes-tizen/adns/adns_git.bb | 8 + meta-tizen/recipes-tizen/ail/ail-extraconf.inc | 0 meta-tizen/recipes-tizen/ail/ail-native_git.bb | 12 + meta-tizen/recipes-tizen/ail/ail.inc | 131 + meta-tizen/recipes-tizen/ail/ail_git.bb | 8 + .../alarm-manager/alarm-manager-extraconf.inc | 0 .../alarm-manager/alarm-manager-native_git.bb | 12 + .../recipes-tizen/alarm-manager/alarm-manager.inc | 191 + .../alarm-manager/alarm-manager_git.bb | 8 + .../recipes-tizen/alsa-lib/alsa-lib-extraconf.inc | 0 .../recipes-tizen/alsa-lib/alsa-lib-native_git.bb | 12 + meta-tizen/recipes-tizen/alsa-lib/alsa-lib.inc | 132 + meta-tizen/recipes-tizen/alsa-lib/alsa-lib_git.bb | 8 + .../alsa-plugins/alsa-plugins-extraconf.inc | 0 .../alsa-plugins/alsa-plugins-native_git.bb | 12 + .../recipes-tizen/alsa-plugins/alsa-plugins.inc | 145 + .../recipes-tizen/alsa-plugins/alsa-plugins_git.bb | 8 + .../alsa-scenario-0.2-extraconf.inc | 0 .../alsa-scenario-0.2-native_git.bb | 12 + .../alsa-scenario-0.2/alsa-scenario-0.2.inc | 120 + .../alsa-scenario-0.2/alsa-scenario-0.2_git.bb | 8 + .../alsa-utils/alsa-utils-extraconf.inc | 0 .../alsa-utils/alsa-utils-native_git.bb | 12 + meta-tizen/recipes-tizen/alsa-utils/alsa-utils.inc | 142 + .../recipes-tizen/alsa-utils/alsa-utils_git.bb | 8 + meta-tizen/recipes-tizen/anthy/anthy-extraconf.inc | 0 meta-tizen/recipes-tizen/anthy/anthy-native_git.bb | 12 + meta-tizen/recipes-tizen/anthy/anthy.inc | 117 + meta-tizen/recipes-tizen/anthy/anthy_git.bb | 8 + .../app-checker/app-checker-extraconf.inc | 0 .../app-checker/app-checker-native_git.bb | 12 + .../recipes-tizen/app-checker/app-checker.inc | 154 + .../recipes-tizen/app-checker/app-checker_git.bb | 8 + .../recipes-tizen/app-core/app-core-extraconf.inc | 0 .../recipes-tizen/app-core/app-core-native_git.bb | 12 + meta-tizen/recipes-tizen/app-core/app-core.inc | 182 + meta-tizen/recipes-tizen/app-core/app-core_git.bb | 8 + .../app-manager/app-manager-extraconf.inc | 0 .../app-manager/app-manager-native_git.bb | 12 + .../recipes-tizen/app-manager/app-manager.inc | 129 + .../recipes-tizen/app-manager/app-manager_git.bb | 8 + .../app-selector/app-selector-extraconf.inc | 0 .../recipes-tizen/app-selector/app-selector.inc | 31 + .../recipes-tizen/app-svc/app-svc-extraconf.inc | 0 .../recipes-tizen/app-svc/app-svc-native_git.bb | 12 + meta-tizen/recipes-tizen/app-svc/app-svc.inc | 142 + meta-tizen/recipes-tizen/app-svc/app-svc_git.bb | 8 + .../recipes-tizen/app2sd/app2sd-extraconf.inc | 0 .../recipes-tizen/app2sd/app2sd-native_git.bb | 12 + meta-tizen/recipes-tizen/app2sd/app2sd.inc | 120 + meta-tizen/recipes-tizen/app2sd/app2sd_git.bb | 8 + .../appcore-agent/appcore-agent-extraconf.inc | 0 .../appcore-agent/appcore-agent-native_git.bb | 12 + .../recipes-tizen/appcore-agent/appcore-agent.inc | 124 + .../appcore-agent/appcore-agent_git.bb | 8 + .../application/application-extraconf.inc | 0 .../application/application-native_git.bb | 12 + .../recipes-tizen/application/application.inc | 132 + .../recipes-tizen/application/application_git.bb | 8 + .../recipes-tizen/asciidoc/asciidoc-extraconf.inc | 0 .../recipes-tizen/asciidoc/asciidoc-native_git.bb | 12 + meta-tizen/recipes-tizen/asciidoc/asciidoc.inc | 98 + meta-tizen/recipes-tizen/asciidoc/asciidoc_git.bb | 8 + .../recipes-tizen/aspell/aspell-extraconf.inc | 0 .../recipes-tizen/aspell/aspell-native_git.bb | 12 + meta-tizen/recipes-tizen/aspell/aspell.inc | 229 + meta-tizen/recipes-tizen/aspell/aspell_git.bb | 8 + .../at-spi2-atk/at-spi2-atk-extraconf.inc | 0 .../recipes-tizen/at-spi2-atk/at-spi2-atk.inc | 38 + .../at-spi2-core/at-spi2-core-extraconf.inc | 0 .../recipes-tizen/at-spi2-core/at-spi2-core.inc | 58 + meta-tizen/recipes-tizen/atk/atk-extraconf.inc | 0 meta-tizen/recipes-tizen/atk/atk-native_git.bb | 12 + meta-tizen/recipes-tizen/atk/atk.inc | 165 + meta-tizen/recipes-tizen/atk/atk_git.bb | 8 + meta-tizen/recipes-tizen/attr/attr-extraconf.inc | 17 + meta-tizen/recipes-tizen/attr/attr.inc | 187 + .../recipes-tizen/attr/attr/package_utilies.m4 | 115 + .../recipes-tizen/attr/attr/relative-libdir.patch | 25 + meta-tizen/recipes-tizen/attr/attr_git.bb | 8 + .../recipes-tizen/audio-io/audio-io-extraconf.inc | 0 .../recipes-tizen/audio-io/audio-io-native_git.bb | 12 + meta-tizen/recipes-tizen/audio-io/audio-io.inc | 120 + meta-tizen/recipes-tizen/audio-io/audio-io_git.bb | 8 + .../audio-session-manager-extraconf.inc | 0 .../audio-session-manager-native_git.bb | 12 + .../audio-session-manager.inc | 169 + .../audio-session-manager_git.bb | 8 + .../recipes-tizen/augeas/augeas-extraconf.inc | 0 .../recipes-tizen/augeas/augeas-native_git.bb | 12 + meta-tizen/recipes-tizen/augeas/augeas.inc | 184 + meta-tizen/recipes-tizen/augeas/augeas_git.bb | 8 + meta-tizen/recipes-tizen/aul-1/aul-1-extraconf.inc | 0 meta-tizen/recipes-tizen/aul-1/aul-1-native_git.bb | 12 + meta-tizen/recipes-tizen/aul-1/aul-1.inc | 181 + meta-tizen/recipes-tizen/aul-1/aul-1_git.bb | 8 + .../recipes-tizen/autoconf/autoconf-extraconf.inc | 0 meta-tizen/recipes-tizen/autoconf/autoconf.inc | 116 + meta-tizen/recipes-tizen/autoconf/autoconf_git.bb | 8 + .../autoconf213/autoconf213-extraconf.inc | 0 .../autoconf213/autoconf213-native_git.bb | 12 + .../recipes-tizen/autoconf213/autoconf213.inc | 99 + .../recipes-tizen/autoconf213/autoconf213_git.bb | 8 + .../recipes-tizen/automake/automake-extraconf.inc | 0 meta-tizen/recipes-tizen/automake/automake.inc | 113 + meta-tizen/recipes-tizen/avahi/avahi-extraconf.inc | 0 meta-tizen/recipes-tizen/avahi/avahi-native_git.bb | 12 + meta-tizen/recipes-tizen/avahi/avahi.inc | 221 + meta-tizen/recipes-tizen/avahi/avahi_git.bb | 8 + .../recipes-tizen/avsystem/avsystem-extraconf.inc | 0 .../recipes-tizen/avsystem/avsystem-native_git.bb | 12 + meta-tizen/recipes-tizen/avsystem/avsystem.inc | 175 + meta-tizen/recipes-tizen/avsystem/avsystem_git.bb | 8 + meta-tizen/recipes-tizen/badge/badge-extraconf.inc | 0 meta-tizen/recipes-tizen/badge/badge-native_git.bb | 12 + meta-tizen/recipes-tizen/badge/badge.inc | 138 + meta-tizen/recipes-tizen/badge/badge_git.bb | 8 + meta-tizen/recipes-tizen/bash/bash-extraconf.inc | 0 meta-tizen/recipes-tizen/bash/bash.inc | 197 + meta-tizen/recipes-tizen/bc/bc-extraconf.inc | 8 + meta-tizen/recipes-tizen/bc/bc.inc | 103 + .../recipes-tizen/bc/bc/0001-Fix-cross-build.patch | 35 + .../recipes-tizen/bdftopcf/bdftopcf-extraconf.inc | 0 .../recipes-tizen/bdftopcf/bdftopcf-native_git.bb | 12 + meta-tizen/recipes-tizen/bdftopcf/bdftopcf.inc | 104 + meta-tizen/recipes-tizen/bdftopcf/bdftopcf_git.bb | 8 + .../bigreqsproto/bigreqsproto-extraconf.inc | 0 .../bigreqsproto/bigreqsproto-native_git.bb | 12 + .../recipes-tizen/bigreqsproto/bigreqsproto.inc | 117 + .../recipes-tizen/bigreqsproto/bigreqsproto_git.bb | 8 + .../recipes-tizen/binutils/binutils-extraconf.inc | 6 + meta-tizen/recipes-tizen/binutils/binutils.inc | 143 + .../binutils/binutils/fix_build.patch | 44 + meta-tizen/recipes-tizen/bison/bison-extraconf.inc | 0 meta-tizen/recipes-tizen/bison/bison.inc | 115 + .../bluetooth-agent/bluetooth-agent-extraconf.inc | 0 .../bluetooth-agent/bluetooth-agent.inc | 32 + .../bluetooth-frwk/bluetooth-frwk-extraconf.inc | 0 .../bluetooth-frwk/bluetooth-frwk-native_git.bb | 12 + .../bluetooth-frwk/bluetooth-frwk.inc | 193 + .../bluetooth-frwk/bluetooth-frwk_git.bb | 8 + .../bluetooth-share/bluetooth-share-extraconf.inc | 0 .../bluetooth-share/bluetooth-share-native_git.bb | 12 + .../bluetooth-share/bluetooth-share.inc | 157 + .../bluetooth-share/bluetooth-share_git.bb | 8 + .../bluetooth-tools/bluetooth-tools-extraconf.inc | 0 .../bluetooth-tools/bluetooth-tools-native_git.bb | 12 + .../bluetooth-tools/bluetooth-tools.inc | 132 + .../bluetooth-tools/bluetooth-tools_git.bb | 8 + .../bluetooth/bluetooth-extraconf.inc | 0 .../bluetooth/bluetooth-native_git.bb | 12 + meta-tizen/recipes-tizen/bluetooth/bluetooth.inc | 121 + .../recipes-tizen/bluetooth/bluetooth_git.bb | 8 + meta-tizen/recipes-tizen/bluez/bluez-extraconf.inc | 0 meta-tizen/recipes-tizen/bluez/bluez-native_git.bb | 12 + meta-tizen/recipes-tizen/bluez/bluez.inc | 270 + meta-tizen/recipes-tizen/bluez/bluez_git.bb | 8 + .../bmap-tools/bmap-tools-extraconf.inc | 0 meta-tizen/recipes-tizen/bmap-tools/bmap-tools.inc | 20 + .../boost-jam/boost-jam-extraconf.inc | 0 .../boost-jam/boost-jam-native_git.bb | 12 + meta-tizen/recipes-tizen/boost-jam/boost-jam.inc | 86 + .../recipes-tizen/boost-jam/boost-jam_git.bb | 8 + meta-tizen/recipes-tizen/boost/boost-extraconf.inc | 0 meta-tizen/recipes-tizen/boost/boost-native_git.bb | 12 + meta-tizen/recipes-tizen/boost/boost.inc | 589 + meta-tizen/recipes-tizen/boost/boost_git.bb | 8 + .../boot-animation/boot-animation-extraconf.inc | 0 .../boot-animation/boot-animation.inc | 40 + .../bootchart/bootchart-extraconf.inc | 0 .../bootchart/bootchart-native_git.bb | 12 + meta-tizen/recipes-tizen/bootchart/bootchart.inc | 99 + .../recipes-tizen/bootchart/bootchart_git.bb | 8 + .../bt-syspopup/bt-syspopup-extraconf.inc | 0 .../recipes-tizen/bt-syspopup/bt-syspopup.inc | 31 + .../btrfs-progs/btrfs-progs-extraconf.inc | 0 .../btrfs-progs/btrfs-progs-native_git.bb | 12 + .../recipes-tizen/btrfs-progs/btrfs-progs.inc | 107 + .../recipes-tizen/btrfs-progs/btrfs-progs_git.bb | 8 + .../build-compare/build-compare-extraconf.inc | 0 .../build-compare/build-compare-native_git.bb | 12 + .../recipes-tizen/build-compare/build-compare.inc | 73 + .../build-compare/build-compare_git.bb | 8 + meta-tizen/recipes-tizen/build/build-extraconf.inc | 0 meta-tizen/recipes-tizen/build/build-native_git.bb | 12 + meta-tizen/recipes-tizen/build/build.inc | 110 + meta-tizen/recipes-tizen/build/build_git.bb | 8 + .../recipes-tizen/bundle/bundle-extraconf.inc | 0 .../recipes-tizen/bundle/bundle-native_git.bb | 12 + meta-tizen/recipes-tizen/bundle/bundle.inc | 116 + meta-tizen/recipes-tizen/bundle/bundle_git.bb | 8 + .../recipes-tizen/busybox/busybox-extraconf.inc | 0 .../recipes-tizen/busybox/busybox-native_git.bb | 12 + meta-tizen/recipes-tizen/busybox/busybox.inc | 85 + meta-tizen/recipes-tizen/busybox/busybox_git.bb | 8 + .../recipes-tizen/buxton/buxton-extraconf.inc | 0 .../recipes-tizen/buxton/buxton-native_git.bb | 12 + meta-tizen/recipes-tizen/buxton/buxton.inc | 146 + meta-tizen/recipes-tizen/buxton/buxton_git.bb | 8 + meta-tizen/recipes-tizen/byacc/byacc-extraconf.inc | 0 meta-tizen/recipes-tizen/byacc/byacc-native_git.bb | 12 + meta-tizen/recipes-tizen/byacc/byacc.inc | 113 + meta-tizen/recipes-tizen/byacc/byacc_git.bb | 8 + meta-tizen/recipes-tizen/bzip2/bzip2-extraconf.inc | 0 meta-tizen/recipes-tizen/bzip2/bzip2.inc | 160 + meta-tizen/recipes-tizen/bzip2/bzip2_git.bb | 8 + .../recipes-tizen/c-ares/c-ares-extraconf.inc | 0 .../recipes-tizen/c-ares/c-ares-native_git.bb | 12 + meta-tizen/recipes-tizen/c-ares/c-ares.inc | 126 + meta-tizen/recipes-tizen/c-ares/c-ares_git.bb | 8 + .../ca-certificates-mozilla-extraconf.inc | 0 .../ca-certificates-mozilla-native_git.bb | 12 + .../ca-certificates-mozilla.inc | 94 + .../ca-certificates-mozilla_git.bb | 8 + .../ca-certificates/ca-certificates-extraconf.inc | 0 .../ca-certificates/ca-certificates-native_git.bb | 12 + .../ca-certificates/ca-certificates.inc | 102 + .../ca-certificates/ca-certificates_git.bb | 8 + meta-tizen/recipes-tizen/cairo/cairo-extraconf.inc | 0 meta-tizen/recipes-tizen/cairo/cairo-native_git.bb | 12 + meta-tizen/recipes-tizen/cairo/cairo.inc | 200 + meta-tizen/recipes-tizen/cairo/cairo_git.bb | 8 + .../calculator/calculator-extraconf.inc | 0 .../calculator/calculator-native_git.bb | 12 + meta-tizen/recipes-tizen/calculator/calculator.inc | 107 + .../recipes-tizen/calculator/calculator_git.bb | 8 + .../calendar-service-extraconf.inc | 0 .../calendar-service-native_git.bb | 12 + .../calendar-service/calendar-service.inc | 157 + .../calendar-service/calendar-service_git.bb | 8 + meta-tizen/recipes-tizen/call/call-extraconf.inc | 0 meta-tizen/recipes-tizen/call/call-native_git.bb | 12 + meta-tizen/recipes-tizen/call/call.inc | 117 + meta-tizen/recipes-tizen/call/call_git.bb | 8 + .../recipes-tizen/camera/camera-extraconf.inc | 0 meta-tizen/recipes-tizen/camera/camera.inc | 30 + .../cantarell-fonts/cantarell-fonts-extraconf.inc | 0 .../cantarell-fonts/cantarell-fonts-native_git.bb | 12 + .../cantarell-fonts/cantarell-fonts.inc | 106 + .../cantarell-fonts/cantarell-fonts_git.bb | 8 + .../recipes-tizen/ccache/ccache-extraconf.inc | 0 .../recipes-tizen/ccache/ccache-native_git.bb | 12 + meta-tizen/recipes-tizen/ccache/ccache.inc | 97 + meta-tizen/recipes-tizen/ccache/ccache_git.bb | 8 + .../recipes-tizen/cdrkit/cdrkit-extraconf.inc | 0 .../recipes-tizen/cdrkit/cdrkit-native_git.bb | 12 + meta-tizen/recipes-tizen/cdrkit/cdrkit.inc | 269 + meta-tizen/recipes-tizen/cdrkit/cdrkit_git.bb | 8 + .../cert-svc-ui/cert-svc-ui-extraconf.inc | 0 .../recipes-tizen/cert-svc-ui/cert-svc-ui.inc | 33 + .../recipes-tizen/cert-svc/cert-svc-extraconf.inc | 0 .../recipes-tizen/cert-svc/cert-svc-native_git.bb | 12 + meta-tizen/recipes-tizen/cert-svc/cert-svc.inc | 186 + meta-tizen/recipes-tizen/cert-svc/cert-svc_git.bb | 8 + meta-tizen/recipes-tizen/check/check-extraconf.inc | 0 meta-tizen/recipes-tizen/check/check-native_git.bb | 12 + meta-tizen/recipes-tizen/check/check.inc | 134 + meta-tizen/recipes-tizen/check/check_git.bb | 8 + .../recipes-tizen/chromium/chromium-extraconf.inc | 0 .../recipes-tizen/chromium/chromium-native_git.bb | 12 + meta-tizen/recipes-tizen/chromium/chromium.inc | 113 + meta-tizen/recipes-tizen/chromium/chromium_git.bb | 8 + .../recipes-tizen/chrpath/chrpath-extraconf.inc | 0 .../recipes-tizen/chrpath/chrpath-native_git.bb | 12 + meta-tizen/recipes-tizen/chrpath/chrpath.inc | 105 + meta-tizen/recipes-tizen/chrpath/chrpath_git.bb | 8 + .../cloog-isl/cloog-isl-extraconf.inc | 0 .../cloog-isl/cloog-isl-native_git.bb | 12 + meta-tizen/recipes-tizen/cloog-isl/cloog-isl.inc | 129 + .../recipes-tizen/cloog-isl/cloog-isl_git.bb | 8 + meta-tizen/recipes-tizen/cloog/cloog-extraconf.inc | 0 meta-tizen/recipes-tizen/cloog/cloog-native_git.bb | 12 + meta-tizen/recipes-tizen/cloog/cloog.inc | 134 + meta-tizen/recipes-tizen/cloog/cloog_git.bb | 8 + meta-tizen/recipes-tizen/cmake/cmake-extraconf.inc | 0 meta-tizen/recipes-tizen/cmake/cmake.inc | 125 + meta-tizen/recipes-tizen/cmake/cmake_git.bb | 8 + .../recipes-tizen/com-core/com-core-extraconf.inc | 0 .../recipes-tizen/com-core/com-core-native_git.bb | 12 + meta-tizen/recipes-tizen/com-core/com-core.inc | 124 + meta-tizen/recipes-tizen/com-core/com-core_git.bb | 8 + .../recipes-tizen/common/common-extraconf.inc | 0 .../recipes-tizen/common/common-native_git.bb | 12 + meta-tizen/recipes-tizen/common/common.inc | 110 + meta-tizen/recipes-tizen/common/common_git.bb | 8 + .../compositeproto/compositeproto-extraconf.inc | 0 .../compositeproto/compositeproto-native_git.bb | 12 + .../compositeproto/compositeproto.inc | 118 + .../compositeproto/compositeproto_git.bb | 8 + .../recipes-tizen/config/config-extraconf.inc | 0 .../recipes-tizen/config/config-native_git.bb | 12 + meta-tizen/recipes-tizen/config/config.inc | 69 + meta-tizen/recipes-tizen/config/config_git.bb | 8 + .../connection/connection-extraconf.inc | 0 .../connection/connection-native_git.bb | 12 + meta-tizen/recipes-tizen/connection/connection.inc | 126 + .../recipes-tizen/connection/connection_git.bb | 8 + .../recipes-tizen/connman/connman-extraconf.inc | 0 .../recipes-tizen/connman/connman-native_git.bb | 12 + meta-tizen/recipes-tizen/connman/connman.inc | 187 + meta-tizen/recipes-tizen/connman/connman_git.bb | 8 + .../contacts-service-extraconf.inc | 0 .../contacts-service-native_git.bb | 12 + .../contacts-service/contacts-service.inc | 163 + .../contacts-service/contacts-service_git.bb | 8 + .../coreutils/coreutils-extraconf.inc | 0 meta-tizen/recipes-tizen/coreutils/coreutils.inc | 221 + .../corewatcher/corewatcher-extraconf.inc | 0 .../corewatcher/corewatcher-native_git.bb | 12 + .../recipes-tizen/corewatcher/corewatcher.inc | 118 + .../recipes-tizen/corewatcher/corewatcher_git.bb | 8 + meta-tizen/recipes-tizen/cpio/cpio-extraconf.inc | 0 meta-tizen/recipes-tizen/cpio/cpio-native_git.bb | 12 + meta-tizen/recipes-tizen/cpio/cpio.inc | 119 + meta-tizen/recipes-tizen/cpio/cpio_git.bb | 8 + meta-tizen/recipes-tizen/crda/crda-extraconf.inc | 0 meta-tizen/recipes-tizen/crda/crda-native_git.bb | 12 + meta-tizen/recipes-tizen/crda/crda.inc | 102 + meta-tizen/recipes-tizen/crda/crda_git.bb | 8 + .../createrepo/createrepo-extraconf.inc | 0 .../createrepo/createrepo-native_git.bb | 12 + meta-tizen/recipes-tizen/createrepo/createrepo.inc | 87 + .../recipes-tizen/createrepo/createrepo_git.bb | 8 + .../cross-arm-binutils-extraconf.inc | 0 .../cross-arm-binutils-native_git.bb | 12 + .../cross-arm-binutils/cross-arm-binutils.inc | 142 + .../cross-arm-binutils/cross-arm-binutils_git.bb | 8 + .../crosswalk.git/crosswalk.git-extraconf.inc | 0 .../crosswalk.git/crosswalk.git-native_git.bb | 12 + .../recipes-tizen/crosswalk.git/crosswalk.git.inc | 257 + .../crosswalk.git/crosswalk.git_git.bb | 8 + .../crosswalk/crosswalk-extraconf.inc | 0 meta-tizen/recipes-tizen/crosswalk/crosswalk.inc | 43 + .../recipes-tizen/cscope/cscope-extraconf.inc | 0 .../recipes-tizen/cscope/cscope-native_git.bb | 12 + meta-tizen/recipes-tizen/cscope/cscope.inc | 112 + meta-tizen/recipes-tizen/cscope/cscope_git.bb | 8 + .../csr-framework/csr-framework-extraconf.inc | 0 .../csr-framework/csr-framework-native_git.bb | 12 + .../recipes-tizen/csr-framework/csr-framework.inc | 74 + .../csr-framework/csr-framework_git.bb | 8 + meta-tizen/recipes-tizen/ctags/ctags-extraconf.inc | 0 meta-tizen/recipes-tizen/ctags/ctags-native_git.bb | 12 + meta-tizen/recipes-tizen/ctags/ctags.inc | 110 + meta-tizen/recipes-tizen/ctags/ctags_git.bb | 8 + meta-tizen/recipes-tizen/cups/cups-extraconf.inc | 0 meta-tizen/recipes-tizen/cups/cups-native_git.bb | 12 + meta-tizen/recipes-tizen/cups/cups.inc | 444 + meta-tizen/recipes-tizen/cups/cups_git.bb | 8 + meta-tizen/recipes-tizen/curl/curl-extraconf.inc | 0 meta-tizen/recipes-tizen/curl/curl-native_git.bb | 12 + meta-tizen/recipes-tizen/curl/curl.inc | 165 + meta-tizen/recipes-tizen/curl/curl_git.bb | 8 + .../recipes-tizen/dLeyna/dLeyna-extraconf.inc | 0 .../recipes-tizen/dLeyna/dLeyna-native_git.bb | 12 + meta-tizen/recipes-tizen/dLeyna/dLeyna.inc | 142 + meta-tizen/recipes-tizen/dLeyna/dLeyna_git.bb | 8 + .../damageproto/damageproto-extraconf.inc | 0 .../damageproto/damageproto-native_git.bb | 12 + .../recipes-tizen/damageproto/damageproto.inc | 117 + .../recipes-tizen/damageproto/damageproto_git.bb | 8 + meta-tizen/recipes-tizen/dash/dash-extraconf.inc | 0 meta-tizen/recipes-tizen/dash/dash-native_git.bb | 12 + meta-tizen/recipes-tizen/dash/dash.inc | 104 + meta-tizen/recipes-tizen/dash/dash_git.bb | 8 + .../data-provider-master-extraconf.inc | 0 .../data-provider-master/data-provider-master.inc | 43 + .../data-provider-slave-extraconf.inc | 0 .../data-provider-slave/data-provider-slave.inc | 31 + .../data-router/data-router-extraconf.inc | 0 .../data-router/data-router-native_git.bb | 12 + .../recipes-tizen/data-router/data-router.inc | 103 + .../recipes-tizen/data-router/data-router_git.bb | 8 + meta-tizen/recipes-tizen/db4/db4-extraconf.inc | 0 meta-tizen/recipes-tizen/db4/db4-native_git.bb | 12 + meta-tizen/recipes-tizen/db4/db4.inc | 254 + meta-tizen/recipes-tizen/db4/db4_git.bb | 8 + .../dbus-glib/dbus-glib-extraconf.inc | 0 .../dbus-glib/dbus-glib-native_git.bb | 12 + meta-tizen/recipes-tizen/dbus-glib/dbus-glib.inc | 146 + .../recipes-tizen/dbus-glib/dbus-glib_git.bb | 8 + .../dbus-python/dbus-python-extraconf.inc | 0 .../dbus-python/dbus-python-native_git.bb | 12 + .../recipes-tizen/dbus-python/dbus-python.inc | 161 + .../recipes-tizen/dbus-python/dbus-python_git.bb | 8 + meta-tizen/recipes-tizen/dbus/dbus-extraconf.inc | 0 meta-tizen/recipes-tizen/dbus/dbus.inc | 217 + .../default-ac-domains-extraconf.inc | 0 .../default-ac-domains-native_git.bb | 12 + .../default-ac-domains/default-ac-domains.inc | 67 + .../default-ac-domains/default-ac-domains_git.bb | 8 + .../default-fonts-fc-sdk-extraconf.inc | 0 .../default-fonts-fc-sdk-native_git.bb | 12 + .../default-fonts-fc-sdk/default-fonts-fc-sdk.inc | 75 + .../default-fonts-fc-sdk_git.bb | 8 + .../default-fonts-sdk-extraconf.inc | 0 .../default-fonts-sdk-native_git.bb | 12 + .../default-fonts-sdk/default-fonts-sdk.inc | 73 + .../default-fonts-sdk/default-fonts-sdk_git.bb | 8 + .../dejavu-fonts/dejavu-fonts-extraconf.inc | 0 .../dejavu-fonts/dejavu-fonts-native_git.bb | 12 + .../recipes-tizen/dejavu-fonts/dejavu-fonts.inc | 71 + .../recipes-tizen/dejavu-fonts/dejavu-fonts_git.bb | 8 + .../recipes-tizen/deltarpm/deltarpm-extraconf.inc | 0 .../recipes-tizen/deltarpm/deltarpm-native_git.bb | 12 + meta-tizen/recipes-tizen/deltarpm/deltarpm.inc | 97 + meta-tizen/recipes-tizen/deltarpm/deltarpm_git.bb | 8 + .../desktop-file-utils-extraconf.inc | 0 .../desktop-file-utils-native_git.bb | 12 + .../desktop-file-utils/desktop-file-utils.inc | 134 + .../desktop-file-utils/desktop-file-utils_git.bb | 8 + .../desktop-skin/desktop-skin-extraconf.inc | 0 .../desktop-skin/desktop-skin-native_git.bb | 12 + .../recipes-tizen/desktop-skin/desktop-skin.inc | 86 + .../recipes-tizen/desktop-skin/desktop-skin_git.bb | 8 + .../device-config-touch-extraconf.inc | 0 .../device-config-touch-native_git.bb | 12 + .../device-config-touch/device-config-touch.inc | 154 + .../device-config-touch/device-config-touch_git.bb | 8 + .../device-mapper/device-mapper-extraconf.inc | 0 .../device-mapper/device-mapper-native_git.bb | 12 + .../recipes-tizen/device-mapper/device-mapper.inc | 119 + .../device-mapper/device-mapper_git.bb | 8 + .../recipes-tizen/device/device-extraconf.inc | 0 .../recipes-tizen/device/device-native_git.bb | 12 + meta-tizen/recipes-tizen/device/device.inc | 120 + meta-tizen/recipes-tizen/device/device_git.bb | 8 + .../recipes-tizen/devman/devman-extraconf.inc | 0 .../recipes-tizen/devman/devman-native_git.bb | 12 + meta-tizen/recipes-tizen/devman/devman.inc | 142 + meta-tizen/recipes-tizen/devman/devman_git.bb | 8 + .../diffutils/diffutils-extraconf.inc | 0 .../diffutils/diffutils-native_git.bb | 12 + meta-tizen/recipes-tizen/diffutils/diffutils.inc | 110 + .../recipes-tizen/diffutils/diffutils_git.bb | 8 + meta-tizen/recipes-tizen/dlog/dlog-extraconf.inc | 0 meta-tizen/recipes-tizen/dlog/dlog-native_git.bb | 12 + meta-tizen/recipes-tizen/dlog/dlog.inc | 173 + meta-tizen/recipes-tizen/dlog/dlog_git.bb | 8 + .../dmidecode/dmidecode-extraconf.inc | 0 .../dmidecode/dmidecode-native_git.bb | 12 + meta-tizen/recipes-tizen/dmidecode/dmidecode.inc | 77 + .../recipes-tizen/dmidecode/dmidecode_git.bb | 8 + .../recipes-tizen/dmxproto/dmxproto-extraconf.inc | 0 .../recipes-tizen/dmxproto/dmxproto-native_git.bb | 12 + meta-tizen/recipes-tizen/dmxproto/dmxproto.inc | 118 + meta-tizen/recipes-tizen/dmxproto/dmxproto_git.bb | 8 + .../recipes-tizen/dnsmasq/dnsmasq-extraconf.inc | 0 .../recipes-tizen/dnsmasq/dnsmasq-native_git.bb | 12 + meta-tizen/recipes-tizen/dnsmasq/dnsmasq.inc | 82 + meta-tizen/recipes-tizen/dnsmasq/dnsmasq_git.bb | 8 + .../docbook-4/docbook-4-extraconf.inc | 0 .../docbook-4/docbook-4-native_git.bb | 12 + meta-tizen/recipes-tizen/docbook-4/docbook-4.inc | 382 + .../recipes-tizen/docbook-4/docbook-4_git.bb | 8 + .../docbook-xsl-stylesheets-extraconf.inc | 0 .../docbook-xsl-stylesheets-native_git.bb | 12 + .../docbook-xsl-stylesheets.inc | 226 + .../docbook-xsl-stylesheets_git.bb | 8 + .../recipes-tizen/dos2unix/dos2unix-extraconf.inc | 0 .../recipes-tizen/dos2unix/dos2unix-native_git.bb | 12 + meta-tizen/recipes-tizen/dos2unix/dos2unix.inc | 96 + meta-tizen/recipes-tizen/dos2unix/dos2unix_git.bb | 8 + .../dosfstools/dosfstools-extraconf.inc | 0 .../dosfstools/dosfstools-native_git.bb | 12 + meta-tizen/recipes-tizen/dosfstools/dosfstools.inc | 92 + .../recipes-tizen/dosfstools/dosfstools_git.bb | 8 + .../download-provider-extraconf.inc | 0 .../download-provider-native_git.bb | 12 + .../download-provider/download-provider.inc | 240 + .../download-provider/download-provider_git.bb | 8 + .../recipes-tizen/doxygen/doxygen-extraconf.inc | 0 .../recipes-tizen/doxygen/doxygen-native_git.bb | 12 + meta-tizen/recipes-tizen/doxygen/doxygen.inc | 100 + meta-tizen/recipes-tizen/doxygen/doxygen_git.bb | 8 + .../recipes-tizen/dracut/dracut-extraconf.inc | 0 .../recipes-tizen/dracut/dracut-native_git.bb | 12 + meta-tizen/recipes-tizen/dracut/dracut.inc | 273 + meta-tizen/recipes-tizen/dracut/dracut_git.bb | 8 + .../recipes-tizen/draglock/draglock-extraconf.inc | 0 meta-tizen/recipes-tizen/draglock/draglock.inc | 29 + .../dri2proto/dri2proto-extraconf.inc | 0 meta-tizen/recipes-tizen/dri2proto/dri2proto.inc | 28 + .../drm-client/drm-client-extraconf.inc | 0 .../drm-client/drm-client-native_git.bb | 12 + meta-tizen/recipes-tizen/drm-client/drm-client.inc | 117 + .../recipes-tizen/drm-client/drm-client_git.bb | 8 + .../dukgenerator/dukgenerator-extraconf.inc | 0 .../dukgenerator/dukgenerator-native_git.bb | 12 + .../recipes-tizen/dukgenerator/dukgenerator.inc | 109 + .../recipes-tizen/dukgenerator/dukgenerator_git.bb | 8 + .../e2fsprogs/e2fsprogs-extraconf.inc | 0 meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs.inc | 246 + .../recipes-tizen/econnman/econnman-extraconf.inc | 0 meta-tizen/recipes-tizen/econnman/econnman.inc | 30 + meta-tizen/recipes-tizen/ecore/ecore-extraconf.inc | 0 meta-tizen/recipes-tizen/ecore/ecore-native_git.bb | 12 + meta-tizen/recipes-tizen/ecore/ecore.inc | 169 + meta-tizen/recipes-tizen/ecore/ecore_git.bb | 8 + meta-tizen/recipes-tizen/ed/ed-extraconf.inc | 0 meta-tizen/recipes-tizen/ed/ed-native_git.bb | 12 + meta-tizen/recipes-tizen/ed/ed.inc | 119 + meta-tizen/recipes-tizen/ed/ed_git.bb | 8 + meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc | 0 meta-tizen/recipes-tizen/edbus/edbus-native_git.bb | 12 + meta-tizen/recipes-tizen/edbus/edbus.inc | 129 + meta-tizen/recipes-tizen/edbus/edbus_git.bb | 8 + meta-tizen/recipes-tizen/edje/edje-extraconf.inc | 0 meta-tizen/recipes-tizen/edje/edje-native_git.bb | 12 + meta-tizen/recipes-tizen/edje/edje.inc | 150 + meta-tizen/recipes-tizen/edje/edje_git.bb | 8 + meta-tizen/recipes-tizen/eet/eet-extraconf.inc | 0 meta-tizen/recipes-tizen/eet/eet-native_git.bb | 12 + meta-tizen/recipes-tizen/eet/eet.inc | 148 + meta-tizen/recipes-tizen/eet/eet_git.bb | 8 + meta-tizen/recipes-tizen/eeze/eeze-extraconf.inc | 0 meta-tizen/recipes-tizen/eeze/eeze-native_git.bb | 12 + meta-tizen/recipes-tizen/eeze/eeze.inc | 126 + meta-tizen/recipes-tizen/eeze/eeze_git.bb | 8 + .../efi-shell/efi-shell-extraconf.inc | 0 .../efi-shell/efi-shell-native_git.bb | 12 + meta-tizen/recipes-tizen/efi-shell/efi-shell.inc | 66 + .../recipes-tizen/efi-shell/efi-shell_git.bb | 8 + .../efl-assist/efl-assist-extraconf.inc | 0 .../efl-assist/efl-assist-native_git.bb | 12 + meta-tizen/recipes-tizen/efl-assist/efl-assist.inc | 136 + .../recipes-tizen/efl-assist/efl-assist_git.bb | 8 + .../efl-theme-tizen/efl-theme-tizen-extraconf.inc | 0 .../efl-theme-tizen/efl-theme-tizen-native_git.bb | 12 + .../efl-theme-tizen/efl-theme-tizen.inc | 105 + .../efl-theme-tizen/efl-theme-tizen_git.bb | 8 + .../recipes-tizen/efl-util/efl-util-extraconf.inc | 0 meta-tizen/recipes-tizen/efl-util/efl-util.inc | 36 + .../recipes-tizen/efreet/efreet-extraconf.inc | 0 .../recipes-tizen/efreet/efreet-native_git.bb | 12 + meta-tizen/recipes-tizen/efreet/efreet.inc | 144 + meta-tizen/recipes-tizen/efreet/efreet_git.bb | 8 + meta-tizen/recipes-tizen/eina/eina-extraconf.inc | 0 meta-tizen/recipes-tizen/eina/eina-native_git.bb | 12 + meta-tizen/recipes-tizen/eina/eina.inc | 120 + meta-tizen/recipes-tizen/eina/eina_git.bb | 8 + meta-tizen/recipes-tizen/eio/eio-extraconf.inc | 0 meta-tizen/recipes-tizen/eio/eio-native_git.bb | 12 + meta-tizen/recipes-tizen/eio/eio.inc | 124 + meta-tizen/recipes-tizen/eio/eio_git.bb | 8 + .../recipes-tizen/eldbus/eldbus-extraconf.inc | 0 .../recipes-tizen/eldbus/eldbus-native_git.bb | 12 + meta-tizen/recipes-tizen/eldbus/eldbus.inc | 130 + meta-tizen/recipes-tizen/eldbus/eldbus_git.bb | 8 + .../elementary/elementary-extraconf.inc | 0 .../elementary/elementary-native_git.bb | 12 + meta-tizen/recipes-tizen/elementary/elementary.inc | 185 + .../recipes-tizen/elementary/elementary_git.bb | 8 + .../recipes-tizen/elfutils/elfutils-extraconf.inc | 0 meta-tizen/recipes-tizen/elfutils/elfutils.inc | 246 + .../recipes-tizen/elm-misc/elm-misc-extraconf.inc | 0 .../recipes-tizen/elm-misc/elm-misc-native_git.bb | 12 + meta-tizen/recipes-tizen/elm-misc/elm-misc.inc | 76 + meta-tizen/recipes-tizen/elm-misc/elm-misc_git.bb | 8 + .../email-service/email-service-extraconf.inc | 0 .../email-service/email-service-native_git.bb | 12 + .../recipes-tizen/email-service/email-service.inc | 181 + .../email-service/email-service_git.bb | 8 + meta-tizen/recipes-tizen/email/email-extraconf.inc | 0 meta-tizen/recipes-tizen/email/email.inc | 36 + .../recipes-tizen/embryo/embryo-extraconf.inc | 0 .../recipes-tizen/embryo/embryo-native_git.bb | 12 + meta-tizen/recipes-tizen/embryo/embryo.inc | 125 + meta-tizen/recipes-tizen/embryo/embryo_git.bb | 8 + .../recipes-tizen/emotion/emotion-extraconf.inc | 0 .../recipes-tizen/emotion/emotion-native_git.bb | 12 + meta-tizen/recipes-tizen/emotion/emotion.inc | 132 + meta-tizen/recipes-tizen/emotion/emotion_git.bb | 8 + .../emulator-macros/emulator-macros-extraconf.inc | 0 .../emulator-macros/emulator-macros-native_git.bb | 12 + .../emulator-macros/emulator-macros.inc | 66 + .../emulator-macros/emulator-macros_git.bb | 8 + .../recipes-tizen/enchant/enchant-extraconf.inc | 0 .../recipes-tizen/enchant/enchant-native_git.bb | 12 + meta-tizen/recipes-tizen/enchant/enchant.inc | 177 + meta-tizen/recipes-tizen/enchant/enchant_git.bb | 8 + .../enlightenment/enlightenment-extraconf.inc | 0 .../recipes-tizen/enlightenment/enlightenment.inc | 46 + .../epson-inkjet-printer-escpr-extraconf.inc | 0 .../epson-inkjet-printer-escpr-native_git.bb | 12 + .../epson-inkjet-printer-escpr.inc | 110 + .../epson-inkjet-printer-escpr_git.bb | 8 + .../epson-laser-printer-escpage-extraconf.inc | 0 .../epson-laser-printer-escpage-native_git.bb | 12 + .../epson-laser-printer-escpage.inc | 110 + .../epson-laser-printer-escpage_git.bb | 8 + .../recipes-tizen/ethumb/ethumb-extraconf.inc | 0 .../recipes-tizen/ethumb/ethumb-native_git.bb | 12 + meta-tizen/recipes-tizen/ethumb/ethumb.inc | 129 + meta-tizen/recipes-tizen/ethumb/ethumb_git.bb | 8 + meta-tizen/recipes-tizen/evas/evas-extraconf.inc | 0 meta-tizen/recipes-tizen/evas/evas-native_git.bb | 12 + meta-tizen/recipes-tizen/evas/evas.inc | 161 + meta-tizen/recipes-tizen/evas/evas_git.bb | 8 + .../evolution-data-server-extraconf.inc | 0 .../evolution-data-server.inc | 120 + meta-tizen/recipes-tizen/expat/expat-extraconf.inc | 0 meta-tizen/recipes-tizen/expat/expat-native_git.bb | 12 + meta-tizen/recipes-tizen/expat/expat.inc | 142 + .../recipes-tizen/expect/expect-extraconf.inc | 0 .../recipes-tizen/expect/expect-native_git.bb | 12 + meta-tizen/recipes-tizen/expect/expect.inc | 126 + meta-tizen/recipes-tizen/expect/expect_git.bb | 8 + .../recipes-tizen/expedite/expedite-extraconf.inc | 0 meta-tizen/recipes-tizen/expedite/expedite.inc | 28 + .../favorites/favorites-extraconf.inc | 0 .../favorites/favorites-native_git.bb | 12 + meta-tizen/recipes-tizen/favorites/favorites.inc | 119 + .../recipes-tizen/favorites/favorites_git.bb | 8 + .../recipes-tizen/fdupes/fdupes-extraconf.inc | 0 .../recipes-tizen/fdupes/fdupes-native_git.bb | 12 + meta-tizen/recipes-tizen/fdupes/fdupes.inc | 75 + meta-tizen/recipes-tizen/fdupes/fdupes_git.bb | 8 + meta-tizen/recipes-tizen/file/file-extraconf.inc | 0 meta-tizen/recipes-tizen/file/file.inc | 169 + .../filesystem/filesystem-extraconf.inc | 0 .../filesystem/filesystem-native_git.bb | 12 + meta-tizen/recipes-tizen/filesystem/filesystem.inc | 198 + .../recipes-tizen/filesystem/filesystem_git.bb | 8 + .../findutils/findutils-extraconf.inc | 5 + meta-tizen/recipes-tizen/findutils/findutils.inc | 160 + .../findutils/findutils/findutils_fix_doc.patch | 76 + .../fixesproto/fixesproto-extraconf.inc | 0 .../fixesproto/fixesproto-native_git.bb | 12 + meta-tizen/recipes-tizen/fixesproto/fixesproto.inc | 120 + .../recipes-tizen/fixesproto/fixesproto_git.bb | 8 + meta-tizen/recipes-tizen/flac/flac-extraconf.inc | 0 meta-tizen/recipes-tizen/flac/flac-native_git.bb | 12 + meta-tizen/recipes-tizen/flac/flac.inc | 158 + meta-tizen/recipes-tizen/flac/flac_git.bb | 8 + meta-tizen/recipes-tizen/flex/flex-extraconf.inc | 0 meta-tizen/recipes-tizen/flex/flex.inc | 128 + meta-tizen/recipes-tizen/flex/flex_git.bb | 8 + meta-tizen/recipes-tizen/folks/folks-extraconf.inc | 0 meta-tizen/recipes-tizen/folks/folks-native_git.bb | 12 + meta-tizen/recipes-tizen/folks/folks.inc | 218 + meta-tizen/recipes-tizen/folks/folks_git.bb | 8 + .../font-util/font-util-extraconf.inc | 0 .../font-util/font-util-native_git.bb | 12 + meta-tizen/recipes-tizen/font-util/font-util.inc | 109 + .../recipes-tizen/font-util/font-util_git.bb | 8 + .../fontcacheproto/fontcacheproto-extraconf.inc | 0 .../fontcacheproto/fontcacheproto-native_git.bb | 12 + .../fontcacheproto/fontcacheproto.inc | 118 + .../fontcacheproto/fontcacheproto_git.bb | 8 + .../fontconfig/fontconfig-extraconf.inc | 0 .../fontconfig/fontconfig-native_git.bb | 12 + meta-tizen/recipes-tizen/fontconfig/fontconfig.inc | 155 + .../recipes-tizen/fontconfig/fontconfig_git.bb | 8 + .../fontsproto/fontsproto-extraconf.inc | 0 .../fontsproto/fontsproto-native_git.bb | 12 + meta-tizen/recipes-tizen/fontsproto/fontsproto.inc | 118 + .../recipes-tizen/fontsproto/fontsproto_git.bb | 8 + .../recipes-tizen/freealut/freealut-extraconf.inc | 0 .../recipes-tizen/freealut/freealut-native_git.bb | 12 + meta-tizen/recipes-tizen/freealut/freealut.inc | 122 + meta-tizen/recipes-tizen/freealut/freealut_git.bb | 8 + .../recipes-tizen/freeglut/freeglut-extraconf.inc | 0 meta-tizen/recipes-tizen/freeglut/freeglut.inc | 36 + .../freetype2/freetype2-extraconf.inc | 0 .../freetype2/freetype2-native_git.bb | 12 + meta-tizen/recipes-tizen/freetype2/freetype2.inc | 133 + .../recipes-tizen/freetype2/freetype2_git.bb | 8 + .../recipes-tizen/fribidi/fribidi-extraconf.inc | 0 .../recipes-tizen/fribidi/fribidi-native_git.bb | 12 + meta-tizen/recipes-tizen/fribidi/fribidi.inc | 127 + meta-tizen/recipes-tizen/fribidi/fribidi_git.bb | 8 + meta-tizen/recipes-tizen/fsync/fsync-extraconf.inc | 0 meta-tizen/recipes-tizen/fsync/fsync-native_git.bb | 12 + meta-tizen/recipes-tizen/fsync/fsync.inc | 106 + meta-tizen/recipes-tizen/fsync/fsync_git.bb | 8 + meta-tizen/recipes-tizen/fuse/fuse-extraconf.inc | 0 meta-tizen/recipes-tizen/fuse/fuse-native_git.bb | 12 + meta-tizen/recipes-tizen/fuse/fuse.inc | 169 + meta-tizen/recipes-tizen/fuse/fuse_git.bb | 8 + meta-tizen/recipes-tizen/gawk/gawk-extraconf.inc | 0 meta-tizen/recipes-tizen/gawk/gawk-native_git.bb | 12 + meta-tizen/recipes-tizen/gawk/gawk.inc | 162 + meta-tizen/recipes-tizen/gawk/gawk_git.bb | 8 + meta-tizen/recipes-tizen/gcc/gcc-extraconf.inc | 0 meta-tizen/recipes-tizen/gcc/gcc.inc | 463 + meta-tizen/recipes-tizen/gcc48/gcc48-extraconf.inc | 0 meta-tizen/recipes-tizen/gcc48/gcc48-native_git.bb | 12 + meta-tizen/recipes-tizen/gcc48/gcc48.inc | 1115 + meta-tizen/recipes-tizen/gcc48/gcc48_git.bb | 8 + .../gccmakedep/gccmakedep-extraconf.inc | 0 .../gccmakedep/gccmakedep-native_git.bb | 12 + meta-tizen/recipes-tizen/gccmakedep/gccmakedep.inc | 97 + .../recipes-tizen/gccmakedep/gccmakedep_git.bb | 8 + .../gconf-dbus/gconf-dbus-extraconf.inc | 0 .../gconf-dbus/gconf-dbus-native_git.bb | 12 + meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus.inc | 178 + .../recipes-tizen/gconf-dbus/gconf-dbus_git.bb | 8 + meta-tizen/recipes-tizen/gcr/gcr-extraconf.inc | 0 meta-tizen/recipes-tizen/gcr/gcr-native_git.bb | 12 + meta-tizen/recipes-tizen/gcr/gcr.inc | 229 + meta-tizen/recipes-tizen/gcr/gcr_git.bb | 8 + meta-tizen/recipes-tizen/gdb/gdb-extraconf.inc | 0 meta-tizen/recipes-tizen/gdb/gdb-native_git.bb | 12 + meta-tizen/recipes-tizen/gdb/gdb.inc | 187 + meta-tizen/recipes-tizen/gdb/gdb_git.bb | 8 + meta-tizen/recipes-tizen/gdbm/gdbm-extraconf.inc | 0 meta-tizen/recipes-tizen/gdbm/gdbm.inc | 149 + .../gdk-pixbuf/gdk-pixbuf-extraconf.inc | 0 .../gdk-pixbuf/gdk-pixbuf-native_git.bb | 12 + meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf.inc | 182 + .../recipes-tizen/gdk-pixbuf/gdk-pixbuf_git.bb | 8 + .../recipes-tizen/geocoder/geocoder-extraconf.inc | 0 .../recipes-tizen/geocoder/geocoder-native_git.bb | 12 + meta-tizen/recipes-tizen/geocoder/geocoder.inc | 117 + meta-tizen/recipes-tizen/geocoder/geocoder_git.bb | 8 + .../recipes-tizen/gettext/gettext-extraconf.inc | 0 meta-tizen/recipes-tizen/gettext/gettext.inc | 223 + .../recipes-tizen/giflib/giflib-extraconf.inc | 0 .../recipes-tizen/giflib/giflib-native_git.bb | 12 + meta-tizen/recipes-tizen/giflib/giflib.inc | 138 + meta-tizen/recipes-tizen/giflib/giflib_git.bb | 8 + meta-tizen/recipes-tizen/git/git-extraconf.inc | 0 meta-tizen/recipes-tizen/git/git-native_git.bb | 12 + meta-tizen/recipes-tizen/git/git.inc | 312 + meta-tizen/recipes-tizen/git/git_git.bb | 8 + .../glib-networking/glib-networking-extraconf.inc | 0 .../glib-networking/glib-networking-native_git.bb | 12 + .../glib-networking/glib-networking.inc | 124 + .../glib-networking/glib-networking_git.bb | 8 + meta-tizen/recipes-tizen/glib/glib-extraconf.inc | 0 meta-tizen/recipes-tizen/glib/glib-native_git.bb | 12 + meta-tizen/recipes-tizen/glib/glib.inc | 353 + meta-tizen/recipes-tizen/glib/glib_git.bb | 8 + meta-tizen/recipes-tizen/glibc/glibc-extraconf.inc | 0 meta-tizen/recipes-tizen/glibc/glibc.inc | 612 + .../recipes-tizen/glproto/glproto-extraconf.inc | 0 .../recipes-tizen/glproto/glproto-native_git.bb | 12 + meta-tizen/recipes-tizen/glproto/glproto.inc | 106 + meta-tizen/recipes-tizen/glproto/glproto_git.bb | 8 + meta-tizen/recipes-tizen/gmp/gmp-extraconf.inc | 10 + meta-tizen/recipes-tizen/gmp/gmp.inc | 157 + .../gmp/gmp/gmp_fix_for_automake-1.12.patch | 48 + .../gnome-common/gnome-common-extraconf.inc | 0 .../gnome-common/gnome-common-native_git.bb | 12 + .../recipes-tizen/gnome-common/gnome-common.inc | 115 + .../recipes-tizen/gnome-common/gnome-common_git.bb | 8 + .../recipes-tizen/gnu-efi/gnu-efi-extraconf.inc | 0 .../recipes-tizen/gnu-efi/gnu-efi-native_git.bb | 12 + meta-tizen/recipes-tizen/gnu-efi/gnu-efi.inc | 73 + meta-tizen/recipes-tizen/gnu-efi/gnu-efi_git.bb | 8 + .../recipes-tizen/gnutls/gnutls-extraconf.inc | 0 .../recipes-tizen/gnutls/gnutls-native_git.bb | 12 + meta-tizen/recipes-tizen/gnutls/gnutls.inc | 245 + meta-tizen/recipes-tizen/gnutls/gnutls_git.bb | 8 + .../gobject-introspection-extraconf.inc | 0 .../gobject-introspection-native_git.bb | 12 + .../gobject-introspection.inc | 218 + .../gobject-introspection_git.bb | 8 + .../google-droid-fonts-extraconf.inc | 0 .../google-droid-fonts-native_git.bb | 12 + .../google-droid-fonts/google-droid-fonts.inc | 73 + .../google-droid-fonts/google-droid-fonts_git.bb | 8 + meta-tizen/recipes-tizen/gperf/gperf-extraconf.inc | 0 meta-tizen/recipes-tizen/gperf/gperf.inc | 112 + meta-tizen/recipes-tizen/gpg2/gpg2-extraconf.inc | 0 meta-tizen/recipes-tizen/gpg2/gpg2-native_git.bb | 12 + meta-tizen/recipes-tizen/gpg2/gpg2.inc | 190 + meta-tizen/recipes-tizen/gpg2/gpg2_git.bb | 8 + meta-tizen/recipes-tizen/gpgme/gpgme-extraconf.inc | 0 meta-tizen/recipes-tizen/gpgme/gpgme-native_git.bb | 12 + meta-tizen/recipes-tizen/gpgme/gpgme.inc | 153 + meta-tizen/recipes-tizen/gpgme/gpgme_git.bb | 8 + .../recipes-tizen/gptfdisk/gptfdisk-extraconf.inc | 0 .../recipes-tizen/gptfdisk/gptfdisk-native_git.bb | 12 + meta-tizen/recipes-tizen/gptfdisk/gptfdisk.inc | 98 + meta-tizen/recipes-tizen/gptfdisk/gptfdisk_git.bb | 8 + meta-tizen/recipes-tizen/grep/grep-extraconf.inc | 0 meta-tizen/recipes-tizen/grep/grep-native_git.bb | 12 + meta-tizen/recipes-tizen/grep/grep.inc | 139 + meta-tizen/recipes-tizen/grep/grep_git.bb | 8 + meta-tizen/recipes-tizen/groff/groff-extraconf.inc | 0 meta-tizen/recipes-tizen/groff/groff-native_git.bb | 12 + meta-tizen/recipes-tizen/groff/groff.inc | 167 + meta-tizen/recipes-tizen/groff/groff_git.bb | 8 + .../gst-common/gst-common-extraconf.inc | 0 .../gst-common/gst-common-native_git.bb | 12 + meta-tizen/recipes-tizen/gst-common/gst-common.inc | 71 + .../recipes-tizen/gst-common/gst-common_git.bb | 8 + .../gst-libav/gst-libav-extraconf.inc | 0 .../gst-libav/gst-libav-native_git.bb | 12 + meta-tizen/recipes-tizen/gst-libav/gst-libav.inc | 133 + .../recipes-tizen/gst-libav/gst-libav_git.bb | 8 + .../gst-plugins-bad/gst-plugins-bad-extraconf.inc | 0 .../gst-plugins-bad/gst-plugins-bad-native_git.bb | 12 + .../gst-plugins-bad/gst-plugins-bad.inc | 317 + .../gst-plugins-bad/gst-plugins-bad_git.bb | 8 + .../gst-plugins-base-extraconf.inc | 0 .../gst-plugins-base/gst-plugins-base.inc | 139 + .../gst-plugins-good-extraconf.inc | 0 .../gst-plugins-good/gst-plugins-good.inc | 92 + .../gst-plugins-ugly-extraconf.inc | 0 .../gst-plugins-ugly-native_git.bb | 12 + .../gst-plugins-ugly/gst-plugins-ugly.inc | 138 + .../gst-plugins-ugly/gst-plugins-ugly_git.bb | 8 + .../gstreamer-vaapi/gstreamer-vaapi-extraconf.inc | 0 .../gstreamer-vaapi/gstreamer-vaapi-native_git.bb | 12 + .../gstreamer-vaapi/gstreamer-vaapi.inc | 139 + .../gstreamer-vaapi/gstreamer-vaapi_git.bb | 8 + .../gstreamer/gstreamer-extraconf.inc | 0 .../gstreamer/gstreamer-native_git.bb | 12 + meta-tizen/recipes-tizen/gstreamer/gstreamer.inc | 233 + .../recipes-tizen/gstreamer/gstreamer_git.bb | 8 + meta-tizen/recipes-tizen/gtest/gtest-extraconf.inc | 0 meta-tizen/recipes-tizen/gtest/gtest-native_git.bb | 12 + meta-tizen/recipes-tizen/gtest/gtest.inc | 103 + meta-tizen/recipes-tizen/gtest/gtest_git.bb | 8 + .../recipes-tizen/gtk-doc/gtk-doc-extraconf.inc | 0 .../recipes-tizen/gtk-doc/gtk-doc-native_git.bb | 12 + meta-tizen/recipes-tizen/gtk-doc/gtk-doc.inc | 120 + meta-tizen/recipes-tizen/gtk-doc/gtk-doc_git.bb | 8 + meta-tizen/recipes-tizen/gumd/gumd-extraconf.inc | 0 meta-tizen/recipes-tizen/gumd/gumd.inc | 78 + .../gummiboot/gummiboot-extraconf.inc | 0 .../gummiboot/gummiboot-native_git.bb | 12 + meta-tizen/recipes-tizen/gummiboot/gummiboot.inc | 120 + .../recipes-tizen/gummiboot/gummiboot_git.bb | 8 + meta-tizen/recipes-tizen/gzip/gzip-extraconf.inc | 0 meta-tizen/recipes-tizen/gzip/gzip-native_git.bb | 12 + meta-tizen/recipes-tizen/gzip/gzip.inc | 128 + meta-tizen/recipes-tizen/gzip/gzip_git.bb | 8 + .../haptic-module-tizen-extraconf.inc | 0 .../haptic-module-tizen-native_git.bb | 12 + .../haptic-module-tizen/haptic-module-tizen.inc | 103 + .../haptic-module-tizen/haptic-module-tizen_git.bb | 8 + .../recipes-tizen/haptic/haptic-extraconf.inc | 0 .../recipes-tizen/haptic/haptic-native_git.bb | 12 + meta-tizen/recipes-tizen/haptic/haptic.inc | 121 + meta-tizen/recipes-tizen/haptic/haptic_git.bb | 8 + .../recipes-tizen/hardlink/hardlink-extraconf.inc | 0 .../recipes-tizen/hardlink/hardlink-native_git.bb | 12 + meta-tizen/recipes-tizen/hardlink/hardlink.inc | 75 + meta-tizen/recipes-tizen/hardlink/hardlink_git.bb | 8 + .../recipes-tizen/harfbuzz/harfbuzz-extraconf.inc | 0 .../recipes-tizen/harfbuzz/harfbuzz-native_git.bb | 12 + meta-tizen/recipes-tizen/harfbuzz/harfbuzz.inc | 142 + meta-tizen/recipes-tizen/harfbuzz/harfbuzz_git.bb | 8 + .../hash-signer/hash-signer-extraconf.inc | 0 .../hash-signer/hash-signer-native_git.bb | 12 + .../recipes-tizen/hash-signer/hash-signer.inc | 85 + .../recipes-tizen/hash-signer/hash-signer_git.bb | 8 + .../heap-monitor/heap-monitor-extraconf.inc | 0 .../heap-monitor/heap-monitor-native_git.bb | 12 + .../recipes-tizen/heap-monitor/heap-monitor.inc | 115 + .../recipes-tizen/heap-monitor/heap-monitor_git.bb | 8 + .../recipes-tizen/help2man/help2man-extraconf.inc | 0 meta-tizen/recipes-tizen/help2man/help2man.inc | 114 + .../recipes-tizen/heynoti/heynoti-extraconf.inc | 0 .../recipes-tizen/heynoti/heynoti-native_git.bb | 12 + meta-tizen/recipes-tizen/heynoti/heynoti.inc | 123 + meta-tizen/recipes-tizen/heynoti/heynoti_git.bb | 8 + .../recipes-tizen/hostname/hostname-extraconf.inc | 0 .../recipes-tizen/hostname/hostname-native_git.bb | 12 + meta-tizen/recipes-tizen/hostname/hostname.inc | 73 + meta-tizen/recipes-tizen/hostname/hostname_git.bb | 8 + meta-tizen/recipes-tizen/hplip/hplip-extraconf.inc | 0 meta-tizen/recipes-tizen/hplip/hplip.inc | 29 + .../recipes-tizen/hunspell/hunspell-extraconf.inc | 0 .../recipes-tizen/hunspell/hunspell-native_git.bb | 12 + meta-tizen/recipes-tizen/hunspell/hunspell.inc | 166 + meta-tizen/recipes-tizen/hunspell/hunspell_git.bb | 8 + .../recipes-tizen/hwdata/hwdata-extraconf.inc | 0 .../recipes-tizen/hwdata/hwdata-native_git.bb | 12 + meta-tizen/recipes-tizen/hwdata/hwdata.inc | 107 + meta-tizen/recipes-tizen/hwdata/hwdata_git.bb | 8 + .../ibus-hangul/ibus-hangul-extraconf.inc | 0 .../recipes-tizen/ibus-hangul/ibus-hangul.inc | 34 + .../ibus-libpinyin/ibus-libpinyin-extraconf.inc | 0 .../ibus-libpinyin/ibus-libpinyin-native_git.bb | 12 + .../ibus-libpinyin/ibus-libpinyin.inc | 123 + .../ibus-libpinyin/ibus-libpinyin_git.bb | 8 + meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc | 0 meta-tizen/recipes-tizen/ibus/ibus-native_git.bb | 12 + meta-tizen/recipes-tizen/ibus/ibus.inc | 198 + meta-tizen/recipes-tizen/ibus/ibus_git.bb | 8 + .../recipes-tizen/icecream/icecream-extraconf.inc | 0 .../recipes-tizen/icecream/icecream-native_git.bb | 12 + meta-tizen/recipes-tizen/icecream/icecream.inc | 141 + meta-tizen/recipes-tizen/icecream/icecream_git.bb | 8 + meta-tizen/recipes-tizen/icu/icu-extraconf.inc | 0 meta-tizen/recipes-tizen/icu/icu-native_git.bb | 12 + meta-tizen/recipes-tizen/icu/icu.inc | 169 + meta-tizen/recipes-tizen/icu/icu_git.bb | 8 + .../image-configurations-extraconf.inc | 0 .../image-configurations/image-configurations.inc | 28 + .../image-util/image-util-extraconf.inc | 0 .../image-util/image-util-native_git.bb | 12 + meta-tizen/recipes-tizen/image-util/image-util.inc | 127 + .../recipes-tizen/image-util/image-util_git.bb | 8 + .../image-viewer/image-viewer-extraconf.inc | 0 .../recipes-tizen/image-viewer/image-viewer.inc | 32 + meta-tizen/recipes-tizen/imake/imake-extraconf.inc | 0 meta-tizen/recipes-tizen/imake/imake-native_git.bb | 12 + meta-tizen/recipes-tizen/imake/imake.inc | 125 + meta-tizen/recipes-tizen/imake/imake_git.bb | 8 + .../iniparser/iniparser-extraconf.inc | 0 .../iniparser/iniparser-native_git.bb | 12 + meta-tizen/recipes-tizen/iniparser/iniparser.inc | 106 + .../recipes-tizen/iniparser/iniparser_git.bb | 8 + .../inputproto/inputproto-extraconf.inc | 0 .../inputproto/inputproto-native_git.bb | 12 + meta-tizen/recipes-tizen/inputproto/inputproto.inc | 118 + .../recipes-tizen/inputproto/inputproto_git.bb | 8 + .../intel-gpu-tools/intel-gpu-tools-extraconf.inc | 0 .../intel-gpu-tools/intel-gpu-tools-native_git.bb | 12 + .../intel-gpu-tools/intel-gpu-tools.inc | 106 + .../intel-gpu-tools/intel-gpu-tools_git.bb | 8 + .../recipes-tizen/intltool/intltool-extraconf.inc | 0 .../recipes-tizen/intltool/intltool-native_git.bb | 12 + meta-tizen/recipes-tizen/intltool/intltool.inc | 116 + meta-tizen/recipes-tizen/intltool/intltool_git.bb | 8 + .../recipes-tizen/iproute2/iproute2-extraconf.inc | 0 .../recipes-tizen/iproute2/iproute2-native_git.bb | 12 + meta-tizen/recipes-tizen/iproute2/iproute2.inc | 141 + meta-tizen/recipes-tizen/iproute2/iproute2_git.bb | 8 + .../recipes-tizen/iptables/iptables-extraconf.inc | 0 .../recipes-tizen/iptables/iptables-native_git.bb | 12 + meta-tizen/recipes-tizen/iptables/iptables.inc | 252 + meta-tizen/recipes-tizen/iptables/iptables_git.bb | 8 + .../recipes-tizen/iputils/iputils-extraconf.inc | 0 .../recipes-tizen/iputils/iputils-native_git.bb | 12 + meta-tizen/recipes-tizen/iputils/iputils.inc | 93 + meta-tizen/recipes-tizen/iputils/iputils_git.bb | 8 + meta-tizen/recipes-tizen/isl/isl-extraconf.inc | 0 meta-tizen/recipes-tizen/isl/isl-native_git.bb | 12 + meta-tizen/recipes-tizen/isl/isl.inc | 142 + meta-tizen/recipes-tizen/isl/isl_git.bb | 8 + .../iso-codes/iso-codes-extraconf.inc | 0 .../iso-codes/iso-codes-native_git.bb | 12 + meta-tizen/recipes-tizen/iso-codes/iso-codes.inc | 121 + .../recipes-tizen/iso-codes/iso-codes_git.bb | 8 + .../recipes-tizen/iso-ent/iso-ent-extraconf.inc | 0 .../recipes-tizen/iso-ent/iso-ent-native_git.bb | 12 + meta-tizen/recipes-tizen/iso-ent/iso-ent.inc | 131 + meta-tizen/recipes-tizen/iso-ent/iso-ent_git.bb | 8 + .../recipes-tizen/jasper/jasper-extraconf.inc | 0 .../recipes-tizen/jasper/jasper-native_git.bb | 12 + meta-tizen/recipes-tizen/jasper/jasper.inc | 150 + meta-tizen/recipes-tizen/jasper/jasper_git.bb | 8 + meta-tizen/recipes-tizen/js/js-extraconf.inc | 0 meta-tizen/recipes-tizen/js/js-native_git.bb | 12 + meta-tizen/recipes-tizen/js/js.inc | 162 + meta-tizen/recipes-tizen/js/js_git.bb | 8 + .../recipes-tizen/json-c/json-c-extraconf.inc | 0 .../recipes-tizen/json-c/json-c-native_git.bb | 12 + meta-tizen/recipes-tizen/json-c/json-c.inc | 126 + meta-tizen/recipes-tizen/json-c/json-c_git.bb | 8 + .../json-glib/json-glib-extraconf.inc | 0 .../json-glib/json-glib-native_git.bb | 12 + meta-tizen/recipes-tizen/json-glib/json-glib.inc | 149 + .../recipes-tizen/json-glib/json-glib_git.bb | 8 + meta-tizen/recipes-tizen/kbd/kbd-extraconf.inc | 0 meta-tizen/recipes-tizen/kbd/kbd-native_git.bb | 12 + meta-tizen/recipes-tizen/kbd/kbd.inc | 192 + meta-tizen/recipes-tizen/kbd/kbd_git.bb | 8 + .../recipes-tizen/kbproto/kbproto-extraconf.inc | 0 .../recipes-tizen/kbproto/kbproto-native_git.bb | 12 + meta-tizen/recipes-tizen/kbproto/kbproto.inc | 117 + meta-tizen/recipes-tizen/kbproto/kbproto_git.bb | 8 + .../kernel-generic/kernel-generic-extraconf.inc | 0 .../kernel-generic/kernel-generic-native_git.bb | 12 + .../kernel-generic/kernel-generic.inc | 242 + .../kernel-generic/kernel-generic_git.bb | 8 + .../recipes-tizen/keyutils/keyutils-extraconf.inc | 0 .../recipes-tizen/keyutils/keyutils-native_git.bb | 12 + meta-tizen/recipes-tizen/keyutils/keyutils.inc | 104 + meta-tizen/recipes-tizen/keyutils/keyutils_git.bb | 8 + .../kickstarter/kickstarter-extraconf.inc | 0 .../kickstarter/kickstarter-native_git.bb | 12 + .../recipes-tizen/kickstarter/kickstarter.inc | 85 + .../recipes-tizen/kickstarter/kickstarter_git.bb | 8 + meta-tizen/recipes-tizen/kmod/kmod-extraconf.inc | 0 meta-tizen/recipes-tizen/kmod/kmod-native_git.bb | 12 + meta-tizen/recipes-tizen/kmod/kmod.inc | 192 + meta-tizen/recipes-tizen/kmod/kmod_git.bb | 8 + meta-tizen/recipes-tizen/krb5/krb5-extraconf.inc | 0 meta-tizen/recipes-tizen/krb5/krb5-native_git.bb | 12 + meta-tizen/recipes-tizen/krb5/krb5.inc | 246 + meta-tizen/recipes-tizen/krb5/krb5_git.bb | 8 + .../recipes-tizen/lbs-dbus/lbs-dbus-extraconf.inc | 0 .../recipes-tizen/lbs-dbus/lbs-dbus-native_git.bb | 12 + meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus.inc | 127 + meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus_git.bb | 8 + meta-tizen/recipes-tizen/lcms2/lcms2-extraconf.inc | 0 meta-tizen/recipes-tizen/lcms2/lcms2-native_git.bb | 12 + meta-tizen/recipes-tizen/lcms2/lcms2.inc | 145 + meta-tizen/recipes-tizen/lcms2/lcms2_git.bb | 8 + meta-tizen/recipes-tizen/less/less-extraconf.inc | 0 meta-tizen/recipes-tizen/less/less-native_git.bb | 12 + meta-tizen/recipes-tizen/less/less.inc | 113 + meta-tizen/recipes-tizen/less/less_git.bb | 8 + .../recipes-tizen/leveldb/leveldb-extraconf.inc | 0 .../recipes-tizen/leveldb/leveldb-native_git.bb | 12 + meta-tizen/recipes-tizen/leveldb/leveldb.inc | 98 + meta-tizen/recipes-tizen/leveldb/leveldb_git.bb | 8 + .../recipes-tizen/libGLU/libGLU-extraconf.inc | 0 meta-tizen/recipes-tizen/libGLU/libGLU.inc | 36 + .../recipes-tizen/libICE/libICE-extraconf.inc | 0 .../recipes-tizen/libICE/libICE-native_git.bb | 12 + meta-tizen/recipes-tizen/libICE/libICE.inc | 121 + meta-tizen/recipes-tizen/libICE/libICE_git.bb | 8 + meta-tizen/recipes-tizen/libSM/libSM-extraconf.inc | 0 meta-tizen/recipes-tizen/libSM/libSM-native_git.bb | 12 + meta-tizen/recipes-tizen/libSM/libSM.inc | 123 + meta-tizen/recipes-tizen/libSM/libSM_git.bb | 8 + .../recipes-tizen/libX11/libX11-extraconf.inc | 0 meta-tizen/recipes-tizen/libX11/libX11.inc | 58 + .../libXScrnSaver/libXScrnSaver-extraconf.inc | 0 .../recipes-tizen/libXScrnSaver/libXScrnSaver.inc | 37 + .../recipes-tizen/libXau/libXau-extraconf.inc | 0 .../recipes-tizen/libXau/libXau-native_git.bb | 12 + meta-tizen/recipes-tizen/libXau/libXau.inc | 134 + meta-tizen/recipes-tizen/libXau/libXau_git.bb | 8 + .../recipes-tizen/libXaw/libXaw-extraconf.inc | 0 meta-tizen/recipes-tizen/libXaw/libXaw.inc | 41 + .../libXcomposite/libXcomposite-extraconf.inc | 0 .../recipes-tizen/libXcomposite/libXcomposite.inc | 37 + .../libXcursor/libXcursor-extraconf.inc | 0 meta-tizen/recipes-tizen/libXcursor/libXcursor.inc | 39 + .../libXdamage/libXdamage-extraconf.inc | 0 meta-tizen/recipes-tizen/libXdamage/libXdamage.inc | 37 + .../recipes-tizen/libXdmcp/libXdmcp-extraconf.inc | 0 .../recipes-tizen/libXdmcp/libXdmcp-native_git.bb | 12 + meta-tizen/recipes-tizen/libXdmcp/libXdmcp.inc | 131 + meta-tizen/recipes-tizen/libXdmcp/libXdmcp_git.bb | 8 + .../recipes-tizen/libXext/libXext-extraconf.inc | 0 meta-tizen/recipes-tizen/libXext/libXext.inc | 53 + .../libXfixes/libXfixes-extraconf.inc | 0 meta-tizen/recipes-tizen/libXfixes/libXfixes.inc | 37 + .../recipes-tizen/libXfont/libXfont-extraconf.inc | 0 .../recipes-tizen/libXfont/libXfont-native_git.bb | 12 + meta-tizen/recipes-tizen/libXfont/libXfont.inc | 125 + meta-tizen/recipes-tizen/libXfont/libXfont_git.bb | 8 + .../libXfontcache/libXfontcache-extraconf.inc | 0 .../recipes-tizen/libXfontcache/libXfontcache.inc | 36 + .../recipes-tizen/libXft/libXft-extraconf.inc | 0 meta-tizen/recipes-tizen/libXft/libXft.inc | 37 + .../libXgesture/libXgesture-extraconf.inc | 0 .../recipes-tizen/libXgesture/libXgesture.inc | 36 + meta-tizen/recipes-tizen/libXi/libXi-extraconf.inc | 0 meta-tizen/recipes-tizen/libXi/libXi.inc | 38 + .../libXinerama/libXinerama-extraconf.inc | 0 .../recipes-tizen/libXinerama/libXinerama.inc | 38 + .../recipes-tizen/libXmu/libXmu-extraconf.inc | 0 meta-tizen/recipes-tizen/libXmu/libXmu.inc | 64 + .../recipes-tizen/libXpm/libXpm-extraconf.inc | 0 meta-tizen/recipes-tizen/libXpm/libXpm.inc | 39 + .../libXrandr/libXrandr-extraconf.inc | 0 meta-tizen/recipes-tizen/libXrandr/libXrandr.inc | 37 + .../libXrender/libXrender-extraconf.inc | 0 meta-tizen/recipes-tizen/libXrender/libXrender.inc | 37 + .../recipes-tizen/libXres/libXres-extraconf.inc | 0 meta-tizen/recipes-tizen/libXres/libXres.inc | 37 + meta-tizen/recipes-tizen/libXt/libXt-extraconf.inc | 0 meta-tizen/recipes-tizen/libXt/libXt.inc | 70 + .../recipes-tizen/libXtst/libXtst-extraconf.inc | 0 meta-tizen/recipes-tizen/libXtst/libXtst.inc | 36 + meta-tizen/recipes-tizen/libXv/libXv-extraconf.inc | 0 meta-tizen/recipes-tizen/libXv/libXv.inc | 38 + .../recipes-tizen/libXvMC/libXvMC-extraconf.inc | 0 meta-tizen/recipes-tizen/libXvMC/libXvMC.inc | 36 + .../libXxf86dga/libXxf86dga-extraconf.inc | 0 .../recipes-tizen/libXxf86dga/libXxf86dga.inc | 38 + .../libXxf86misc/libXxf86misc-extraconf.inc | 0 .../recipes-tizen/libXxf86misc/libXxf86misc.inc | 37 + .../libXxf86vm/libXxf86vm-extraconf.inc | 0 meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm.inc | 37 + .../libaccounts-svc/libaccounts-svc-extraconf.inc | 0 .../libaccounts-svc/libaccounts-svc-native_git.bb | 12 + .../libaccounts-svc/libaccounts-svc.inc | 132 + .../libaccounts-svc/libaccounts-svc_git.bb | 8 + .../recipes-tizen/libaio/libaio-extraconf.inc | 0 .../recipes-tizen/libaio/libaio-native_git.bb | 12 + meta-tizen/recipes-tizen/libaio/libaio.inc | 92 + meta-tizen/recipes-tizen/libaio/libaio_git.bb | 8 + .../libarchive/libarchive-extraconf.inc | 0 .../libarchive/libarchive-native_git.bb | 12 + meta-tizen/recipes-tizen/libarchive/libarchive.inc | 148 + .../recipes-tizen/libarchive/libarchive_git.bb | 8 + .../libassuan/libassuan-extraconf.inc | 0 .../libassuan/libassuan-native_git.bb | 12 + meta-tizen/recipes-tizen/libassuan/libassuan.inc | 125 + .../recipes-tizen/libassuan/libassuan_git.bb | 8 + .../libasyncns/libasyncns-extraconf.inc | 0 .../libasyncns/libasyncns-native_git.bb | 12 + meta-tizen/recipes-tizen/libasyncns/libasyncns.inc | 119 + .../recipes-tizen/libasyncns/libasyncns_git.bb | 8 + .../libatasmart/libatasmart-extraconf.inc | 0 .../libatasmart/libatasmart-native_git.bb | 12 + .../recipes-tizen/libatasmart/libatasmart.inc | 128 + .../recipes-tizen/libatasmart/libatasmart_git.bb | 8 + meta-tizen/recipes-tizen/libav/libav-extraconf.inc | 0 meta-tizen/recipes-tizen/libav/libav-native_git.bb | 12 + meta-tizen/recipes-tizen/libav/libav.inc | 271 + meta-tizen/recipes-tizen/libav/libav_git.bb | 8 + .../libbullet/libbullet-extraconf.inc | 0 .../libbullet/libbullet-native_git.bb | 12 + meta-tizen/recipes-tizen/libbullet/libbullet.inc | 119 + .../recipes-tizen/libbullet/libbullet_git.bb | 8 + .../libcamsrcjpegenc-sw-libjpeg-extraconf.inc | 0 .../libcamsrcjpegenc-sw-libjpeg-native_git.bb | 12 + .../libcamsrcjpegenc-sw-libjpeg.inc | 109 + .../libcamsrcjpegenc-sw-libjpeg_git.bb | 8 + .../libcamsrcjpegenc-extraconf.inc | 0 .../libcamsrcjpegenc-native_git.bb | 12 + .../libcamsrcjpegenc/libcamsrcjpegenc.inc | 125 + .../libcamsrcjpegenc/libcamsrcjpegenc_git.bb | 8 + .../libcap-ng/libcap-ng-extraconf.inc | 0 .../libcap-ng/libcap-ng-native_git.bb | 12 + meta-tizen/recipes-tizen/libcap-ng/libcap-ng.inc | 129 + .../recipes-tizen/libcap-ng/libcap-ng_git.bb | 8 + .../recipes-tizen/libcap/libcap-extraconf.inc | 0 meta-tizen/recipes-tizen/libcap/libcap.inc | 133 + .../libcryptsvc/libcryptsvc-extraconf.inc | 0 .../libcryptsvc/libcryptsvc-native_git.bb | 12 + .../recipes-tizen/libcryptsvc/libcryptsvc.inc | 115 + .../recipes-tizen/libcryptsvc/libcryptsvc_git.bb | 8 + .../libdaemon/libdaemon-extraconf.inc | 0 .../libdaemon/libdaemon-native_git.bb | 12 + meta-tizen/recipes-tizen/libdaemon/libdaemon.inc | 125 + .../recipes-tizen/libdaemon/libdaemon_git.bb | 8 + .../libdatrie/libdatrie-extraconf.inc | 0 .../libdatrie/libdatrie-native_git.bb | 12 + meta-tizen/recipes-tizen/libdatrie/libdatrie.inc | 126 + .../recipes-tizen/libdatrie/libdatrie_git.bb | 8 + .../libdevice-node/libdevice-node-extraconf.inc | 0 .../libdevice-node/libdevice-node-native_git.bb | 12 + .../libdevice-node/libdevice-node.inc | 112 + .../libdevice-node/libdevice-node_git.bb | 8 + .../recipes-tizen/libdmx/libdmx-extraconf.inc | 0 meta-tizen/recipes-tizen/libdmx/libdmx.inc | 38 + .../recipes-tizen/libdri2/libdri2-extraconf.inc | 0 meta-tizen/recipes-tizen/libdri2/libdri2.inc | 37 + .../recipes-tizen/libdrm/libdrm-extraconf.inc | 0 .../recipes-tizen/libdrm/libdrm-native_git.bb | 12 + meta-tizen/recipes-tizen/libdrm/libdrm.inc | 164 + meta-tizen/recipes-tizen/libdrm/libdrm_git.bb | 8 + .../recipes-tizen/libedit/libedit-extraconf.inc | 0 .../recipes-tizen/libedit/libedit-native_git.bb | 12 + meta-tizen/recipes-tizen/libedit/libedit.inc | 129 + meta-tizen/recipes-tizen/libedit/libedit_git.bb | 8 + .../recipes-tizen/libelf0/libelf0-extraconf.inc | 0 .../recipes-tizen/libelf0/libelf0-native_git.bb | 12 + meta-tizen/recipes-tizen/libelf0/libelf0.inc | 115 + meta-tizen/recipes-tizen/libelf0/libelf0_git.bb | 8 + .../recipes-tizen/libevent/libevent-extraconf.inc | 0 .../recipes-tizen/libevent/libevent-native_git.bb | 12 + meta-tizen/recipes-tizen/libevent/libevent.inc | 130 + meta-tizen/recipes-tizen/libevent/libevent_git.bb | 8 + .../recipes-tizen/libexif/libexif-extraconf.inc | 0 .../recipes-tizen/libexif/libexif-native_git.bb | 12 + meta-tizen/recipes-tizen/libexif/libexif.inc | 129 + meta-tizen/recipes-tizen/libexif/libexif_git.bb | 8 + .../recipes-tizen/libffi/libffi-extraconf.inc | 8 + .../recipes-tizen/libffi/libffi-native_git.bb | 12 + meta-tizen/recipes-tizen/libffi/libffi.inc | 130 + meta-tizen/recipes-tizen/libffi/libffi_git.bb | 8 + .../libfontenc/libfontenc-extraconf.inc | 0 .../libfontenc/libfontenc-native_git.bb | 12 + meta-tizen/recipes-tizen/libfontenc/libfontenc.inc | 126 + .../recipes-tizen/libfontenc/libfontenc_git.bb | 8 + .../libgcrypt/libgcrypt-extraconf.inc | 0 .../libgcrypt/libgcrypt-native_git.bb | 12 + meta-tizen/recipes-tizen/libgcrypt/libgcrypt.inc | 142 + .../recipes-tizen/libgcrypt/libgcrypt_git.bb | 8 + .../recipes-tizen/libgee/libgee-extraconf.inc | 0 .../recipes-tizen/libgee/libgee-native_git.bb | 12 + meta-tizen/recipes-tizen/libgee/libgee.inc | 141 + meta-tizen/recipes-tizen/libgee/libgee_git.bb | 8 + .../libgpg-error/libgpg-error-extraconf.inc | 0 .../libgpg-error/libgpg-error-native_git.bb | 12 + .../recipes-tizen/libgpg-error/libgpg-error.inc | 140 + .../recipes-tizen/libgpg-error/libgpg-error_git.bb | 8 + .../libhangul/libhangul-extraconf.inc | 0 .../libhangul/libhangul-native_git.bb | 12 + meta-tizen/recipes-tizen/libhangul/libhangul.inc | 138 + .../recipes-tizen/libhangul/libhangul_git.bb | 8 + .../libhaptic/libhaptic-extraconf.inc | 0 .../libhaptic/libhaptic-native_git.bb | 12 + meta-tizen/recipes-tizen/libhaptic/libhaptic.inc | 133 + .../recipes-tizen/libhaptic/libhaptic_git.bb | 8 + .../recipes-tizen/libical/libical-extraconf.inc | 0 .../recipes-tizen/libical/libical-native_git.bb | 12 + meta-tizen/recipes-tizen/libical/libical.inc | 149 + meta-tizen/recipes-tizen/libical/libical_git.bb | 8 + .../recipes-tizen/libidn/libidn-extraconf.inc | 0 .../recipes-tizen/libidn/libidn-native_git.bb | 12 + meta-tizen/recipes-tizen/libidn/libidn.inc | 156 + meta-tizen/recipes-tizen/libidn/libidn_git.bb | 8 + .../recipes-tizen/libijs/libijs-extraconf.inc | 0 .../recipes-tizen/libijs/libijs-native_git.bb | 12 + meta-tizen/recipes-tizen/libijs/libijs.inc | 121 + meta-tizen/recipes-tizen/libijs/libijs_git.bb | 8 + .../recipes-tizen/libiri/libiri-extraconf.inc | 0 .../recipes-tizen/libiri/libiri-native_git.bb | 12 + meta-tizen/recipes-tizen/libiri/libiri.inc | 122 + meta-tizen/recipes-tizen/libiri/libiri_git.bb | 8 + .../libjpeg-turbo/libjpeg-turbo-extraconf.inc | 0 .../libjpeg-turbo/libjpeg-turbo-native_git.bb | 12 + .../recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc | 186 + .../libjpeg-turbo/libjpeg-turbo_git.bb | 8 + .../recipes-tizen/libjpeg6/libjpeg6-extraconf.inc | 0 .../recipes-tizen/libjpeg6/libjpeg6-native_git.bb | 12 + meta-tizen/recipes-tizen/libjpeg6/libjpeg6.inc | 157 + meta-tizen/recipes-tizen/libjpeg6/libjpeg6_git.bb | 8 + .../recipes-tizen/libksba/libksba-extraconf.inc | 0 .../recipes-tizen/libksba/libksba-native_git.bb | 12 + meta-tizen/recipes-tizen/libksba/libksba.inc | 128 + meta-tizen/recipes-tizen/libksba/libksba_git.bb | 8 + .../liblocation-appman-extraconf.inc | 0 .../liblocation-appman-native_git.bb | 12 + .../liblocation-appman/liblocation-appman.inc | 125 + .../liblocation-appman/liblocation-appman_git.bb | 8 + .../libmedia-service-extraconf.inc | 0 .../libmedia-service-native_git.bb | 12 + .../libmedia-service/libmedia-service.inc | 140 + .../libmedia-service/libmedia-service_git.bb | 8 + .../libmedia-thumbnail-extraconf.inc | 0 .../libmedia-thumbnail-native_git.bb | 12 + .../libmedia-thumbnail/libmedia-thumbnail.inc | 159 + .../libmedia-thumbnail/libmedia-thumbnail_git.bb | 8 + .../libmm-common/libmm-common-extraconf.inc | 0 .../libmm-common/libmm-common-native_git.bb | 12 + .../recipes-tizen/libmm-common/libmm-common.inc | 128 + .../recipes-tizen/libmm-common/libmm-common_git.bb | 8 + .../libmm-fileinfo/libmm-fileinfo-extraconf.inc | 0 .../libmm-fileinfo/libmm-fileinfo-native_git.bb | 12 + .../libmm-fileinfo/libmm-fileinfo.inc | 157 + .../libmm-fileinfo/libmm-fileinfo_git.bb | 8 + .../libmm-log/libmm-log-extraconf.inc | 0 .../libmm-log/libmm-log-native_git.bb | 12 + meta-tizen/recipes-tizen/libmm-log/libmm-log.inc | 109 + .../recipes-tizen/libmm-log/libmm-log_git.bb | 8 + .../libmm-player/libmm-player-extraconf.inc | 0 .../libmm-player/libmm-player-native_git.bb | 12 + .../recipes-tizen/libmm-player/libmm-player.inc | 157 + .../recipes-tizen/libmm-player/libmm-player_git.bb | 8 + .../libmm-radio/libmm-radio-extraconf.inc | 0 .../libmm-radio/libmm-radio-native_git.bb | 12 + .../recipes-tizen/libmm-radio/libmm-radio.inc | 146 + .../recipes-tizen/libmm-radio/libmm-radio_git.bb | 8 + .../libmm-session/libmm-session-extraconf.inc | 0 .../libmm-session/libmm-session-native_git.bb | 12 + .../recipes-tizen/libmm-session/libmm-session.inc | 142 + .../libmm-session/libmm-session_git.bb | 8 + .../libmm-sound/libmm-sound-extraconf.inc | 0 .../libmm-sound/libmm-sound-native_git.bb | 12 + .../recipes-tizen/libmm-sound/libmm-sound.inc | 195 + .../recipes-tizen/libmm-sound/libmm-sound_git.bb | 8 + .../recipes-tizen/libmm-ta/libmm-ta-extraconf.inc | 0 .../recipes-tizen/libmm-ta/libmm-ta-native_git.bb | 12 + meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc | 141 + meta-tizen/recipes-tizen/libmm-ta/libmm-ta_git.bb | 8 + .../libmm-utility/libmm-utility-extraconf.inc | 0 .../libmm-utility/libmm-utility-native_git.bb | 12 + .../recipes-tizen/libmm-utility/libmm-utility.inc | 150 + .../libmm-utility/libmm-utility_git.bb | 8 + .../recipes-tizen/libmnl/libmnl-extraconf.inc | 0 .../recipes-tizen/libmnl/libmnl-native_git.bb | 12 + meta-tizen/recipes-tizen/libmnl/libmnl.inc | 121 + meta-tizen/recipes-tizen/libmnl/libmnl_git.bb | 8 + .../recipes-tizen/libmp4v2/libmp4v2-extraconf.inc | 0 .../recipes-tizen/libmp4v2/libmp4v2-native_git.bb | 12 + meta-tizen/recipes-tizen/libmp4v2/libmp4v2.inc | 116 + meta-tizen/recipes-tizen/libmp4v2/libmp4v2_git.bb | 8 + .../libnet-client/libnet-client-extraconf.inc | 0 .../libnet-client/libnet-client-native_git.bb | 12 + .../recipes-tizen/libnet-client/libnet-client.inc | 161 + .../libnet-client/libnet-client_git.bb | 8 + .../libnetfilter-conntrack-extraconf.inc | 0 .../libnetfilter-conntrack-native_git.bb | 12 + .../libnetfilter-conntrack.inc | 122 + .../libnetfilter-conntrack_git.bb | 8 + .../libnfnetlink/libnfnetlink-extraconf.inc | 0 .../libnfnetlink/libnfnetlink-native_git.bb | 12 + .../recipes-tizen/libnfnetlink/libnfnetlink.inc | 122 + .../recipes-tizen/libnfnetlink/libnfnetlink_git.bb | 8 + .../recipes-tizen/libnl1/libnl1-extraconf.inc | 0 .../recipes-tizen/libnl1/libnl1-native_git.bb | 12 + meta-tizen/recipes-tizen/libnl1/libnl1.inc | 125 + meta-tizen/recipes-tizen/libnl1/libnl1_git.bb | 8 + .../recipes-tizen/libnl2/libnl2-extraconf.inc | 0 .../recipes-tizen/libnl2/libnl2-native_git.bb | 12 + meta-tizen/recipes-tizen/libnl2/libnl2.inc | 141 + meta-tizen/recipes-tizen/libnl2/libnl2_git.bb | 8 + .../recipes-tizen/libnl3/libnl3-extraconf.inc | 0 .../recipes-tizen/libnl3/libnl3-native_git.bb | 12 + meta-tizen/recipes-tizen/libnl3/libnl3.inc | 159 + meta-tizen/recipes-tizen/libnl3/libnl3_git.bb | 8 + .../recipes-tizen/libogg/libogg-extraconf.inc | 0 .../recipes-tizen/libogg/libogg-native_git.bb | 12 + meta-tizen/recipes-tizen/libogg/libogg.inc | 140 + meta-tizen/recipes-tizen/libogg/libogg_git.bb | 8 + .../recipes-tizen/liboil/liboil-extraconf.inc | 0 .../recipes-tizen/liboil/liboil-native_git.bb | 12 + meta-tizen/recipes-tizen/liboil/liboil.inc | 136 + meta-tizen/recipes-tizen/liboil/liboil_git.bb | 8 + .../recipes-tizen/libpcap/libpcap-extraconf.inc | 0 .../recipes-tizen/libpcap/libpcap-native_git.bb | 12 + meta-tizen/recipes-tizen/libpcap/libpcap.inc | 138 + meta-tizen/recipes-tizen/libpcap/libpcap_git.bb | 8 + .../libpciaccess/libpciaccess-extraconf.inc | 0 .../libpciaccess/libpciaccess-native_git.bb | 12 + .../recipes-tizen/libpciaccess/libpciaccess.inc | 136 + .../recipes-tizen/libpciaccess/libpciaccess_git.bb | 8 + .../libpinyin/libpinyin-extraconf.inc | 0 .../libpinyin/libpinyin-native_git.bb | 12 + meta-tizen/recipes-tizen/libpinyin/libpinyin.inc | 134 + .../recipes-tizen/libpinyin/libpinyin_git.bb | 8 + .../libpipeline/libpipeline-extraconf.inc | 0 .../libpipeline/libpipeline-native_git.bb | 12 + .../recipes-tizen/libpipeline/libpipeline.inc | 125 + .../recipes-tizen/libpipeline/libpipeline_git.bb | 8 + .../recipes-tizen/libpng/libpng-extraconf.inc | 0 .../recipes-tizen/libpng/libpng-native_git.bb | 12 + meta-tizen/recipes-tizen/libpng/libpng.inc | 121 + meta-tizen/recipes-tizen/libpng/libpng_git.bb | 8 + .../libprivilege-control-extraconf.inc | 0 .../libprivilege-control-native_git.bb | 12 + .../libprivilege-control/libprivilege-control.inc | 135 + .../libprivilege-control_git.bb | 8 + .../libpthread-stubs-extraconf.inc | 0 .../libpthread-stubs-native_git.bb | 12 + .../libpthread-stubs/libpthread-stubs.inc | 98 + .../libpthread-stubs/libpthread-stubs_git.bb | 8 + .../recipes-tizen/librua/librua-extraconf.inc | 0 .../recipes-tizen/librua/librua-native_git.bb | 12 + meta-tizen/recipes-tizen/librua/librua.inc | 121 + meta-tizen/recipes-tizen/librua/librua_git.bb | 8 + .../libsecret/libsecret-extraconf.inc | 0 .../libsecret/libsecret-native_git.bb | 12 + meta-tizen/recipes-tizen/libsecret/libsecret.inc | 206 + .../recipes-tizen/libsecret/libsecret_git.bb | 8 + .../libsf-common/libsf-common-extraconf.inc | 0 .../libsf-common/libsf-common-native_git.bb | 12 + .../recipes-tizen/libsf-common/libsf-common.inc | 118 + .../recipes-tizen/libsf-common/libsf-common_git.bb | 8 + .../libslp-db-util/libslp-db-util-extraconf.inc | 0 .../libslp-db-util/libslp-db-util-native_git.bb | 12 + .../libslp-db-util/libslp-db-util.inc | 118 + .../libslp-db-util/libslp-db-util_git.bb | 8 + .../libslp-location/libslp-location-extraconf.inc | 0 .../libslp-location/libslp-location-native_git.bb | 12 + .../libslp-location/libslp-location.inc | 131 + .../libslp-location/libslp-location_git.bb | 8 + .../libslp-memo/libslp-memo-extraconf.inc | 0 .../libslp-memo/libslp-memo-native_git.bb | 12 + .../recipes-tizen/libslp-memo/libslp-memo.inc | 122 + .../recipes-tizen/libslp-memo/libslp-memo_git.bb | 8 + .../libslp-pm/libslp-pm-extraconf.inc | 0 .../libslp-pm/libslp-pm-native_git.bb | 12 + meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc | 120 + .../recipes-tizen/libslp-pm/libslp-pm_git.bb | 8 + .../libslp-sensor/libslp-sensor-extraconf.inc | 0 .../libslp-sensor/libslp-sensor-native_git.bb | 12 + .../recipes-tizen/libslp-sensor/libslp-sensor.inc | 118 + .../libslp-sensor/libslp-sensor_git.bb | 8 + .../libslp-sysman/libslp-sysman-extraconf.inc | 0 .../libslp-sysman/libslp-sysman-native_git.bb | 12 + .../recipes-tizen/libslp-sysman/libslp-sysman.inc | 146 + .../libslp-sysman/libslp-sysman_git.bb | 8 + .../libslp-utilx/libslp-utilx-extraconf.inc | 0 .../recipes-tizen/libslp-utilx/libslp-utilx.inc | 37 + .../libsndfile/libsndfile-extraconf.inc | 0 .../libsndfile/libsndfile-native_git.bb | 12 + meta-tizen/recipes-tizen/libsndfile/libsndfile.inc | 144 + .../recipes-tizen/libsndfile/libsndfile_git.bb | 8 + .../recipes-tizen/libsolv/libsolv-extraconf.inc | 0 .../recipes-tizen/libsolv/libsolv-native_git.bb | 12 + meta-tizen/recipes-tizen/libsolv/libsolv.inc | 190 + meta-tizen/recipes-tizen/libsolv/libsolv_git.bb | 8 + .../recipes-tizen/libsoup/libsoup-extraconf.inc | 0 .../recipes-tizen/libsoup/libsoup-native_git.bb | 12 + meta-tizen/recipes-tizen/libsoup/libsoup.inc | 152 + meta-tizen/recipes-tizen/libsoup/libsoup_git.bb | 8 + .../recipes-tizen/libsqlfs/libsqlfs-extraconf.inc | 0 .../recipes-tizen/libsqlfs/libsqlfs-native_git.bb | 12 + meta-tizen/recipes-tizen/libsqlfs/libsqlfs.inc | 149 + meta-tizen/recipes-tizen/libsqlfs/libsqlfs_git.bb | 8 + .../recipes-tizen/libsvi/libsvi-extraconf.inc | 0 .../recipes-tizen/libsvi/libsvi-native_git.bb | 12 + meta-tizen/recipes-tizen/libsvi/libsvi.inc | 176 + meta-tizen/recipes-tizen/libsvi/libsvi_git.bb | 8 + .../recipes-tizen/libtapi/libtapi-extraconf.inc | 0 .../recipes-tizen/libtapi/libtapi-native_git.bb | 12 + meta-tizen/recipes-tizen/libtapi/libtapi.inc | 124 + meta-tizen/recipes-tizen/libtapi/libtapi_git.bb | 8 + .../recipes-tizen/libtasn1/libtasn1-extraconf.inc | 0 .../recipes-tizen/libtasn1/libtasn1-native_git.bb | 12 + meta-tizen/recipes-tizen/libtasn1/libtasn1.inc | 146 + meta-tizen/recipes-tizen/libtasn1/libtasn1_git.bb | 8 + .../libtbm-exynos4412-extraconf.inc | 0 .../libtbm-exynos4412/libtbm-exynos4412.inc | 26 + .../recipes-tizen/libtbm/libtbm-extraconf.inc | 0 .../recipes-tizen/libtbm/libtbm-native_git.bb | 12 + meta-tizen/recipes-tizen/libtbm/libtbm.inc | 131 + meta-tizen/recipes-tizen/libtbm/libtbm_git.bb | 8 + .../recipes-tizen/libtcore/libtcore-extraconf.inc | 0 .../recipes-tizen/libtcore/libtcore-native_git.bb | 12 + meta-tizen/recipes-tizen/libtcore/libtcore.inc | 118 + meta-tizen/recipes-tizen/libtcore/libtcore_git.bb | 8 + .../recipes-tizen/libthai/libthai-extraconf.inc | 0 .../recipes-tizen/libthai/libthai-native_git.bb | 12 + meta-tizen/recipes-tizen/libthai/libthai.inc | 133 + meta-tizen/recipes-tizen/libthai/libthai_git.bb | 8 + .../libtheora/libtheora-extraconf.inc | 0 .../libtheora/libtheora-native_git.bb | 12 + meta-tizen/recipes-tizen/libtheora/libtheora.inc | 137 + .../recipes-tizen/libtheora/libtheora_git.bb | 8 + .../recipes-tizen/libtirpc/libtirpc-extraconf.inc | 0 .../recipes-tizen/libtirpc/libtirpc-native_git.bb | 12 + meta-tizen/recipes-tizen/libtirpc/libtirpc.inc | 137 + meta-tizen/recipes-tizen/libtirpc/libtirpc_git.bb | 8 + .../recipes-tizen/libtool/libtool-extraconf.inc | 0 meta-tizen/recipes-tizen/libtool/libtool.inc | 115 + .../libunistring/libunistring-extraconf.inc | 0 .../libunistring/libunistring-native_git.bb | 12 + .../recipes-tizen/libunistring/libunistring.inc | 135 + .../recipes-tizen/libunistring/libunistring_git.bb | 8 + .../libunwind/libunwind-extraconf.inc | 0 .../libunwind/libunwind-native_git.bb | 12 + meta-tizen/recipes-tizen/libunwind/libunwind.inc | 137 + .../recipes-tizen/libunwind/libunwind_git.bb | 8 + .../libusb-compat/libusb-compat-extraconf.inc | 0 .../libusb-compat/libusb-compat-native_git.bb | 12 + .../recipes-tizen/libusb-compat/libusb-compat.inc | 133 + .../libusb-compat/libusb-compat_git.bb | 8 + .../recipes-tizen/libusb/libusb-extraconf.inc | 0 .../recipes-tizen/libusb/libusb-native_git.bb | 12 + meta-tizen/recipes-tizen/libusb/libusb.inc | 120 + meta-tizen/recipes-tizen/libusb/libusb_git.bb | 8 + .../libva-intel-driver-extraconf.inc | 0 .../libva-intel-driver/libva-intel-driver.inc | 26 + meta-tizen/recipes-tizen/libva/libva-extraconf.inc | 0 meta-tizen/recipes-tizen/libva/libva-native_git.bb | 12 + meta-tizen/recipes-tizen/libva/libva.inc | 187 + meta-tizen/recipes-tizen/libva/libva_git.bb | 8 + .../libvorbis/libvorbis-extraconf.inc | 0 .../libvorbis/libvorbis-native_git.bb | 12 + meta-tizen/recipes-tizen/libvorbis/libvorbis.inc | 169 + .../recipes-tizen/libvorbis/libvorbis_git.bb | 8 + .../recipes-tizen/libvpx/libvpx-extraconf.inc | 0 .../recipes-tizen/libvpx/libvpx-native_git.bb | 12 + meta-tizen/recipes-tizen/libvpx/libvpx.inc | 123 + meta-tizen/recipes-tizen/libvpx/libvpx_git.bb | 8 + .../libwbxml2/libwbxml2-extraconf.inc | 0 .../libwbxml2/libwbxml2-native_git.bb | 12 + meta-tizen/recipes-tizen/libwbxml2/libwbxml2.inc | 149 + .../recipes-tizen/libwbxml2/libwbxml2_git.bb | 8 + .../libwifi-direct/libwifi-direct-extraconf.inc | 0 .../libwifi-direct/libwifi-direct-native_git.bb | 12 + .../libwifi-direct/libwifi-direct.inc | 125 + .../libwifi-direct/libwifi-direct_git.bb | 8 + .../recipes-tizen/libxcb/libxcb-extraconf.inc | 0 meta-tizen/recipes-tizen/libxcb/libxcb.inc | 191 + .../libxkbcommon/libxkbcommon-extraconf.inc | 0 .../libxkbcommon/libxkbcommon-native_git.bb | 12 + .../recipes-tizen/libxkbcommon/libxkbcommon.inc | 143 + .../recipes-tizen/libxkbcommon/libxkbcommon_git.bb | 8 + .../libxkbfile/libxkbfile-extraconf.inc | 0 meta-tizen/recipes-tizen/libxkbfile/libxkbfile.inc | 42 + .../recipes-tizen/libxml2/libxml2-extraconf.inc | 0 .../recipes-tizen/libxml2/libxml2-native_git.bb | 12 + meta-tizen/recipes-tizen/libxml2/libxml2.inc | 164 + meta-tizen/recipes-tizen/libxml2/libxml2_git.bb | 8 + .../recipes-tizen/libxslt/libxslt-extraconf.inc | 0 .../recipes-tizen/libxslt/libxslt-native_git.bb | 12 + meta-tizen/recipes-tizen/libxslt/libxslt.inc | 156 + meta-tizen/recipes-tizen/libxslt/libxslt_git.bb | 8 + .../recipes-tizen/libzio/libzio-extraconf.inc | 4 + .../recipes-tizen/libzio/libzio-native_git.bb | 12 + meta-tizen/recipes-tizen/libzio/libzio.inc | 105 + meta-tizen/recipes-tizen/libzio/libzio_git.bb | 8 + .../recipes-tizen/libzip/libzip-extraconf.inc | 0 .../recipes-tizen/libzip/libzip-native_git.bb | 12 + meta-tizen/recipes-tizen/libzip/libzip.inc | 142 + meta-tizen/recipes-tizen/libzip/libzip_git.bb | 8 + .../libzypp-bindings-extraconf.inc | 0 .../libzypp-bindings-native_git.bb | 12 + .../libzypp-bindings/libzypp-bindings.inc | 110 + .../libzypp-bindings/libzypp-bindings_git.bb | 8 + .../recipes-tizen/libzypp/libzypp-extraconf.inc | 0 .../recipes-tizen/libzypp/libzypp-native_git.bb | 12 + meta-tizen/recipes-tizen/libzypp/libzypp.inc | 211 + meta-tizen/recipes-tizen/libzypp/libzypp_git.bb | 8 + .../lightmediascanner-extraconf.inc | 0 .../lightmediascanner-native_git.bb | 12 + .../lightmediascanner/lightmediascanner.inc | 150 + .../lightmediascanner/lightmediascanner_git.bb | 8 + meta-tizen/recipes-tizen/links/links-extraconf.inc | 0 meta-tizen/recipes-tizen/links/links-native_git.bb | 12 + meta-tizen/recipes-tizen/links/links.inc | 105 + meta-tizen/recipes-tizen/links/links_git.bb | 8 + .../linux-firmware/linux-firmware-extraconf.inc | 0 .../linux-firmware/linux-firmware-native_git.bb | 12 + .../linux-firmware/linux-firmware.inc | 113 + .../linux-firmware/linux-firmware_git.bb | 8 + .../linux-glibc-devel-extraconf.inc | 0 .../linux-glibc-devel-native_git.bb | 12 + .../linux-glibc-devel/linux-glibc-devel.inc | 159 + .../linux-glibc-devel/linux-glibc-devel_git.bb | 8 + .../livebox-cpp/livebox-cpp-extraconf.inc | 0 .../recipes-tizen/livebox-cpp/livebox-cpp.inc | 37 + .../livebox-service/livebox-service-extraconf.inc | 0 .../livebox-service/livebox-service.inc | 38 + .../livebox-viewer/livebox-viewer-extraconf.inc | 0 .../livebox-viewer/livebox-viewer.inc | 35 + .../recipes-tizen/livebox/livebox-extraconf.inc | 0 meta-tizen/recipes-tizen/livebox/livebox.inc | 36 + .../lksctp-tools/lksctp-tools-extraconf.inc | 0 .../lksctp-tools/lksctp-tools-native_git.bb | 12 + .../recipes-tizen/lksctp-tools/lksctp-tools.inc | 129 + .../recipes-tizen/lksctp-tools/lksctp-tools_git.bb | 8 + meta-tizen/recipes-tizen/llvm/llvm-extraconf.inc | 0 meta-tizen/recipes-tizen/llvm/llvm-native_git.bb | 12 + meta-tizen/recipes-tizen/llvm/llvm.inc | 332 + meta-tizen/recipes-tizen/llvm/llvm_git.bb | 8 + .../location-manager-extraconf.inc | 0 .../location-manager-native_git.bb | 12 + .../location-manager/location-manager.inc | 119 + .../location-manager/location-manager_git.bb | 8 + .../lockscreen/lockscreen-extraconf.inc | 0 meta-tizen/recipes-tizen/lockscreen/lockscreen.inc | 30 + meta-tizen/recipes-tizen/lrzsz/lrzsz-extraconf.inc | 16 + meta-tizen/recipes-tizen/lrzsz/lrzsz-native_git.bb | 12 + meta-tizen/recipes-tizen/lrzsz/lrzsz.inc | 97 + .../recipes-tizen/lrzsz/lrzsz/autotools.patch | 39 + meta-tizen/recipes-tizen/lrzsz/lrzsz/gettext.patch | 21884 +++++++++++++++++++ .../lrzsz/lrzsz/lrzsz-check-locale.h.patch | 32 + .../lrzsz/lrzsz/lrzsz_fix_for_automake-1.12.patch | 49 + .../recipes-tizen/lrzsz/lrzsz/makefile.patch | 22 + meta-tizen/recipes-tizen/lrzsz/lrzsz_git.bb | 8 + meta-tizen/recipes-tizen/lsb/lsb-extraconf.inc | 0 meta-tizen/recipes-tizen/lsb/lsb-native_git.bb | 12 + meta-tizen/recipes-tizen/lsb/lsb.inc | 78 + meta-tizen/recipes-tizen/lsb/lsb_git.bb | 8 + meta-tizen/recipes-tizen/lsof/lsof-extraconf.inc | 0 meta-tizen/recipes-tizen/lsof/lsof-native_git.bb | 12 + meta-tizen/recipes-tizen/lsof/lsof.inc | 86 + meta-tizen/recipes-tizen/lsof/lsof_git.bb | 8 + .../recipes-tizen/ltrace/ltrace-extraconf.inc | 0 .../recipes-tizen/ltrace/ltrace-native_git.bb | 12 + meta-tizen/recipes-tizen/ltrace/ltrace.inc | 107 + meta-tizen/recipes-tizen/ltrace/ltrace_git.bb | 8 + meta-tizen/recipes-tizen/lua/lua-extraconf.inc | 0 meta-tizen/recipes-tizen/lua/lua.inc | 139 + meta-tizen/recipes-tizen/lzo/lzo-extraconf.inc | 0 meta-tizen/recipes-tizen/lzo/lzo.inc | 154 + meta-tizen/recipes-tizen/lzo/lzo_git.bb | 8 + meta-tizen/recipes-tizen/lzop/lzop-extraconf.inc | 0 meta-tizen/recipes-tizen/lzop/lzop-native_git.bb | 12 + meta-tizen/recipes-tizen/lzop/lzop.inc | 114 + meta-tizen/recipes-tizen/lzop/lzop_git.bb | 8 + meta-tizen/recipes-tizen/m4/m4-extraconf.inc | 0 meta-tizen/recipes-tizen/m4/m4.inc | 110 + meta-tizen/recipes-tizen/make/make-extraconf.inc | 0 meta-tizen/recipes-tizen/make/make.inc | 83 + .../makedepend/makedepend-extraconf.inc | 0 .../makedepend/makedepend-native_git.bb | 12 + meta-tizen/recipes-tizen/makedepend/makedepend.inc | 104 + .../recipes-tizen/makedepend/makedepend_git.bb | 8 + .../recipes-tizen/man-db/man-db-extraconf.inc | 0 .../recipes-tizen/man-db/man-db-native_git.bb | 12 + meta-tizen/recipes-tizen/man-db/man-db.inc | 172 + meta-tizen/recipes-tizen/man-db/man-db_git.bb | 8 + .../media-content/media-content-extraconf.inc | 0 .../media-content/media-content-native_git.bb | 12 + .../recipes-tizen/media-content/media-content.inc | 124 + .../media-content/media-content_git.bb | 8 + .../media-data-sdk/media-data-sdk-extraconf.inc | 0 .../media-data-sdk/media-data-sdk-native_git.bb | 12 + .../media-data-sdk/media-data-sdk.inc | 189 + .../media-data-sdk/media-data-sdk_git.bb | 8 + .../media-key/media-key-extraconf.inc | 0 meta-tizen/recipes-tizen/media-key/media-key.inc | 37 + .../media-server/media-server-extraconf.inc | 0 .../media-server/media-server-native_git.bb | 12 + .../recipes-tizen/media-server/media-server.inc | 172 + .../recipes-tizen/media-server/media-server_git.bb | 8 + .../menu-daemon/menu-daemon-extraconf.inc | 0 .../recipes-tizen/menu-daemon/menu-daemon.inc | 29 + .../menu-screen/menu-screen-extraconf.inc | 0 .../recipes-tizen/menu-screen/menu-screen.inc | 38 + meta-tizen/recipes-tizen/mesa/mesa-extraconf.inc | 0 meta-tizen/recipes-tizen/mesa/mesa-native_git.bb | 12 + meta-tizen/recipes-tizen/mesa/mesa.inc | 327 + meta-tizen/recipes-tizen/mesa/mesa_git.bb | 8 + .../message-port/message-port-extraconf.inc | 0 .../message-port/message-port-native_git.bb | 12 + .../recipes-tizen/message-port/message-port.inc | 131 + .../recipes-tizen/message-port/message-port_git.bb | 8 + .../recipes-tizen/messages/messages-extraconf.inc | 0 .../recipes-tizen/messages/messages-native_git.bb | 12 + meta-tizen/recipes-tizen/messages/messages.inc | 125 + meta-tizen/recipes-tizen/messages/messages_git.bb | 8 + .../meta-common/meta-common-extraconf.inc | 0 .../meta-common/meta-common-native_git.bb | 12 + .../recipes-tizen/meta-common/meta-common.inc | 79 + .../recipes-tizen/meta-common/meta-common_git.bb | 8 + .../meta-generic/meta-generic-extraconf.inc | 0 .../meta-generic/meta-generic-native_git.bb | 12 + .../recipes-tizen/meta-generic/meta-generic.inc | 80 + .../recipes-tizen/meta-generic/meta-generic_git.bb | 8 + .../metadata-extractor-extraconf.inc | 0 .../metadata-extractor-native_git.bb | 12 + .../metadata-extractor/metadata-extractor.inc | 118 + .../metadata-extractor/metadata-extractor_git.bb | 8 + .../mic-bootstrap/mic-bootstrap-extraconf.inc | 0 .../mic-bootstrap/mic-bootstrap-native_git.bb | 12 + .../recipes-tizen/mic-bootstrap/mic-bootstrap.inc | 129 + .../mic-bootstrap/mic-bootstrap_git.bb | 8 + meta-tizen/recipes-tizen/mic/mic-extraconf.inc | 0 meta-tizen/recipes-tizen/mic/mic-native_git.bb | 12 + meta-tizen/recipes-tizen/mic/mic.inc | 106 + meta-tizen/recipes-tizen/mic/mic_git.bb | 8 + .../mime-type/mime-type-extraconf.inc | 0 .../mime-type/mime-type-native_git.bb | 12 + meta-tizen/recipes-tizen/mime-type/mime-type.inc | 122 + .../recipes-tizen/mime-type/mime-type_git.bb | 8 + .../minicontrol/minicontrol-extraconf.inc | 0 .../minicontrol/minicontrol-native_git.bb | 12 + .../recipes-tizen/minicontrol/minicontrol.inc | 123 + .../recipes-tizen/minicontrol/minicontrol_git.bb | 8 + .../mkfontdir/mkfontdir-extraconf.inc | 0 .../mkfontdir/mkfontdir-native_git.bb | 12 + meta-tizen/recipes-tizen/mkfontdir/mkfontdir.inc | 106 + .../recipes-tizen/mkfontdir/mkfontdir_git.bb | 8 + .../mkfontscale/mkfontscale-extraconf.inc | 0 .../mkfontscale/mkfontscale-native_git.bb | 12 + .../recipes-tizen/mkfontscale/mkfontscale.inc | 107 + .../recipes-tizen/mkfontscale/mkfontscale_git.bb | 8 + .../mmfw-sysconf/mmfw-sysconf-extraconf.inc | 0 .../recipes-tizen/mmfw-sysconf/mmfw-sysconf.inc | 32 + .../mobile-broadband-provider-info-extraconf.inc | 0 .../mobile-broadband-provider-info-native_git.bb | 12 + .../mobile-broadband-provider-info.inc | 107 + .../mobile-broadband-provider-info_git.bb | 8 + .../monotype-fonts/monotype-fonts-extraconf.inc | 0 .../monotype-fonts/monotype-fonts-native_git.bb | 12 + .../monotype-fonts/monotype-fonts.inc | 73 + .../monotype-fonts/monotype-fonts_git.bb | 8 + meta-tizen/recipes-tizen/mpc/mpc-extraconf.inc | 0 meta-tizen/recipes-tizen/mpc/mpc-native_git.bb | 12 + meta-tizen/recipes-tizen/mpc/mpc.inc | 128 + meta-tizen/recipes-tizen/mpc/mpc_git.bb | 8 + meta-tizen/recipes-tizen/mpfr/mpfr-extraconf.inc | 0 meta-tizen/recipes-tizen/mpfr/mpfr.inc | 140 + meta-tizen/recipes-tizen/mpfr/mpfr_git.bb | 8 + .../msg-service/msg-service-extraconf.inc | 0 .../msg-service/msg-service-native_git.bb | 12 + .../recipes-tizen/msg-service/msg-service.inc | 237 + .../recipes-tizen/msg-service/msg-service_git.bb | 8 + meta-tizen/recipes-tizen/mtdev/mtdev-extraconf.inc | 0 meta-tizen/recipes-tizen/mtdev/mtdev-native_git.bb | 12 + meta-tizen/recipes-tizen/mtdev/mtdev.inc | 130 + meta-tizen/recipes-tizen/mtdev/mtdev_git.bb | 8 + .../recipes-tizen/mtools/mtools-extraconf.inc | 0 .../recipes-tizen/mtools/mtools-native_git.bb | 12 + meta-tizen/recipes-tizen/mtools/mtools.inc | 129 + meta-tizen/recipes-tizen/mtools/mtools_git.bb | 8 + .../multipath-tools/multipath-tools-extraconf.inc | 0 .../multipath-tools/multipath-tools-native_git.bb | 12 + .../multipath-tools/multipath-tools.inc | 101 + .../multipath-tools/multipath-tools_git.bb | 8 + meta-tizen/recipes-tizen/nano/nano-extraconf.inc | 0 meta-tizen/recipes-tizen/nano/nano-native_git.bb | 12 + meta-tizen/recipes-tizen/nano/nano.inc | 142 + meta-tizen/recipes-tizen/nano/nano_git.bb | 8 + meta-tizen/recipes-tizen/nasm/nasm-extraconf.inc | 0 meta-tizen/recipes-tizen/nasm/nasm-native_git.bb | 12 + meta-tizen/recipes-tizen/nasm/nasm.inc | 127 + meta-tizen/recipes-tizen/nasm/nasm_git.bb | 8 + .../recipes-tizen/ncurses/ncurses-extraconf.inc | 0 meta-tizen/recipes-tizen/ncurses/ncurses.inc | 598 + meta-tizen/recipes-tizen/neard/neard-extraconf.inc | 0 meta-tizen/recipes-tizen/neard/neard-native_git.bb | 12 + meta-tizen/recipes-tizen/neard/neard.inc | 167 + meta-tizen/recipes-tizen/neard/neard_git.bb | 8 + .../recipes-tizen/neardal/neardal-extraconf.inc | 0 .../recipes-tizen/neardal/neardal-native_git.bb | 12 + meta-tizen/recipes-tizen/neardal/neardal.inc | 132 + meta-tizen/recipes-tizen/neardal/neardal_git.bb | 8 + .../net-config/net-config-extraconf.inc | 0 .../net-config/net-config-native_git.bb | 12 + meta-tizen/recipes-tizen/net-config/net-config.inc | 132 + .../recipes-tizen/net-config/net-config_git.bb | 8 + .../net-popup/net-popup-extraconf.inc | 0 meta-tizen/recipes-tizen/net-popup/net-popup.inc | 31 + .../net-tools/net-tools-extraconf.inc | 0 .../net-tools/net-tools-native_git.bb | 12 + meta-tizen/recipes-tizen/net-tools/net-tools.inc | 113 + .../recipes-tizen/net-tools/net-tools_git.bb | 8 + .../recipes-tizen/nettle/nettle-extraconf.inc | 0 .../recipes-tizen/nettle/nettle-native_git.bb | 12 + meta-tizen/recipes-tizen/nettle/nettle.inc | 154 + meta-tizen/recipes-tizen/nettle/nettle_git.bb | 8 + .../network-info/network-info-extraconf.inc | 0 .../network-info/network-info-native_git.bb | 12 + .../recipes-tizen/network-info/network-info.inc | 121 + .../recipes-tizen/network-info/network-info_git.bb | 8 + .../nfc-manager/nfc-manager-extraconf.inc | 0 .../recipes-tizen/nfc-manager/nfc-manager.inc | 54 + meta-tizen/recipes-tizen/nfc/nfc-extraconf.inc | 0 meta-tizen/recipes-tizen/nfc/nfc.inc | 36 + meta-tizen/recipes-tizen/ninja/ninja-extraconf.inc | 0 meta-tizen/recipes-tizen/ninja/ninja-native_git.bb | 12 + meta-tizen/recipes-tizen/ninja/ninja.inc | 74 + meta-tizen/recipes-tizen/ninja/ninja_git.bb | 8 + .../recipes-tizen/nodejs/nodejs-extraconf.inc | 0 .../recipes-tizen/nodejs/nodejs-native_git.bb | 12 + meta-tizen/recipes-tizen/nodejs/nodejs.inc | 125 + meta-tizen/recipes-tizen/nodejs/nodejs_git.bb | 8 + .../notification/notification-extraconf.inc | 0 .../notification/notification-native_git.bb | 12 + .../recipes-tizen/notification/notification.inc | 130 + .../recipes-tizen/notification/notification_git.bb | 8 + meta-tizen/recipes-tizen/nspr/nspr-extraconf.inc | 0 meta-tizen/recipes-tizen/nspr/nspr.inc | 124 + .../recipes-tizen/nss-mdns/nss-mdns-extraconf.inc | 0 .../recipes-tizen/nss-mdns/nss-mdns-native_git.bb | 12 + meta-tizen/recipes-tizen/nss-mdns/nss-mdns.inc | 105 + meta-tizen/recipes-tizen/nss-mdns/nss-mdns_git.bb | 8 + meta-tizen/recipes-tizen/nss/nss-extraconf.inc | 0 meta-tizen/recipes-tizen/nss/nss.inc | 282 + meta-tizen/recipes-tizen/obexd/obexd-extraconf.inc | 0 meta-tizen/recipes-tizen/obexd/obexd-native_git.bb | 12 + meta-tizen/recipes-tizen/obexd/obexd.inc | 167 + meta-tizen/recipes-tizen/obexd/obexd_git.bb | 8 + meta-tizen/recipes-tizen/ofono/ofono-extraconf.inc | 0 meta-tizen/recipes-tizen/ofono/ofono-native_git.bb | 12 + meta-tizen/recipes-tizen/ofono/ofono.inc | 176 + meta-tizen/recipes-tizen/ofono/ofono_git.bb | 8 + .../oma-ds-agent/oma-ds-agent-extraconf.inc | 0 .../oma-ds-agent/oma-ds-agent-native_git.bb | 12 + .../recipes-tizen/oma-ds-agent/oma-ds-agent.inc | 122 + .../recipes-tizen/oma-ds-agent/oma-ds-agent_git.bb | 8 + .../openal-soft/openal-soft-extraconf.inc | 0 .../openal-soft/openal-soft-native_git.bb | 12 + .../recipes-tizen/openal-soft/openal-soft.inc | 114 + .../recipes-tizen/openal-soft/openal-soft_git.bb | 8 + .../openconnect/openconnect-extraconf.inc | 0 .../openconnect/openconnect-native_git.bb | 12 + .../recipes-tizen/openconnect/openconnect.inc | 158 + .../recipes-tizen/openconnect/openconnect_git.bb | 8 + .../opencore-amr/opencore-amr-extraconf.inc | 0 .../opencore-amr/opencore-amr-native_git.bb | 12 + .../recipes-tizen/opencore-amr/opencore-amr.inc | 126 + .../recipes-tizen/opencore-amr/opencore-amr_git.bb | 8 + .../opengl-es-virtual-drv-extraconf.inc | 0 .../opengl-es-virtual-drv-native_git.bb | 12 + .../opengl-es-virtual-drv.inc | 138 + .../opengl-es-virtual-drv_git.bb | 8 + .../opengl-es/opengl-es-extraconf.inc | 0 .../opengl-es/opengl-es-native_git.bb | 12 + meta-tizen/recipes-tizen/opengl-es/opengl-es.inc | 94 + .../recipes-tizen/opengl-es/opengl-es_git.bb | 8 + .../recipes-tizen/openssh/openssh-extraconf.inc | 0 .../recipes-tizen/openssh/openssh-native_git.bb | 12 + meta-tizen/recipes-tizen/openssh/openssh.inc | 149 + meta-tizen/recipes-tizen/openssh/openssh_git.bb | 8 + .../recipes-tizen/openssl/openssl-extraconf.inc | 0 meta-tizen/recipes-tizen/openssl/openssl.inc | 322 + .../recipes-tizen/oprofile/oprofile-extraconf.inc | 0 .../recipes-tizen/oprofile/oprofile-native_git.bb | 12 + meta-tizen/recipes-tizen/oprofile/oprofile.inc | 162 + meta-tizen/recipes-tizen/oprofile/oprofile_git.bb | 8 + meta-tizen/recipes-tizen/orc/orc-extraconf.inc | 0 meta-tizen/recipes-tizen/orc/orc-native_git.bb | 12 + meta-tizen/recipes-tizen/orc/orc.inc | 139 + meta-tizen/recipes-tizen/orc/orc_git.bb | 8 + .../recipes-tizen/p11-kit/p11-kit-extraconf.inc | 0 .../recipes-tizen/p11-kit/p11-kit-native_git.bb | 12 + meta-tizen/recipes-tizen/p11-kit/p11-kit.inc | 154 + meta-tizen/recipes-tizen/p11-kit/p11-kit_git.bb | 8 + .../package-groups/package-groups-extraconf.inc | 0 .../package-groups/package-groups.inc | 27 + .../package-manager/package-manager-extraconf.inc | 0 .../package-manager/package-manager-native_git.bb | 12 + .../package-manager/package-manager.inc | 125 + .../package-manager/package-manager_git.bb | 8 + .../pacrunner/pacrunner-extraconf.inc | 0 .../pacrunner/pacrunner-native_git.bb | 12 + meta-tizen/recipes-tizen/pacrunner/pacrunner.inc | 180 + .../recipes-tizen/pacrunner/pacrunner_git.bb | 8 + meta-tizen/recipes-tizen/pam/pam-extraconf.inc | 1 + meta-tizen/recipes-tizen/pam/pam-native_git.bb | 12 + meta-tizen/recipes-tizen/pam/pam.inc | 261 + meta-tizen/recipes-tizen/pam/pam_git.bb | 8 + meta-tizen/recipes-tizen/pango/pango-extraconf.inc | 0 meta-tizen/recipes-tizen/pango/pango-native_git.bb | 12 + meta-tizen/recipes-tizen/pango/pango.inc | 195 + meta-tizen/recipes-tizen/pango/pango_git.bb | 8 + .../recipes-tizen/parted/parted-extraconf.inc | 0 .../recipes-tizen/parted/parted-native_git.bb | 12 + meta-tizen/recipes-tizen/parted/parted.inc | 156 + meta-tizen/recipes-tizen/parted/parted_git.bb | 8 + meta-tizen/recipes-tizen/patch/patch-extraconf.inc | 0 meta-tizen/recipes-tizen/patch/patch-native_git.bb | 12 + meta-tizen/recipes-tizen/patch/patch.inc | 101 + meta-tizen/recipes-tizen/patch/patch_git.bb | 8 + .../recipes-tizen/patchelf/patchelf-extraconf.inc | 0 .../recipes-tizen/patchelf/patchelf-native_git.bb | 12 + meta-tizen/recipes-tizen/patchelf/patchelf.inc | 106 + meta-tizen/recipes-tizen/patchelf/patchelf_git.bb | 8 + .../pattern-tools/pattern-tools-extraconf.inc | 0 .../pattern-tools/pattern-tools-native_git.bb | 12 + .../recipes-tizen/pattern-tools/pattern-tools.inc | 85 + .../pattern-tools/pattern-tools_git.bb | 8 + .../recipes-tizen/pbzip2/pbzip2-extraconf.inc | 0 .../recipes-tizen/pbzip2/pbzip2-native_git.bb | 12 + meta-tizen/recipes-tizen/pbzip2/pbzip2.inc | 90 + meta-tizen/recipes-tizen/pbzip2/pbzip2_git.bb | 8 + .../pc-installer/pc-installer-extraconf.inc | 0 .../pc-installer/pc-installer-native_git.bb | 12 + .../recipes-tizen/pc-installer/pc-installer.inc | 86 + .../recipes-tizen/pc-installer/pc-installer_git.bb | 8 + .../recipes-tizen/pciutils/pciutils-extraconf.inc | 0 .../recipes-tizen/pciutils/pciutils-native_git.bb | 12 + meta-tizen/recipes-tizen/pciutils/pciutils.inc | 122 + meta-tizen/recipes-tizen/pciutils/pciutils_git.bb | 8 + meta-tizen/recipes-tizen/pcre/pcre-extraconf.inc | 0 meta-tizen/recipes-tizen/pcre/pcre-native_git.bb | 12 + meta-tizen/recipes-tizen/pcre/pcre.inc | 214 + meta-tizen/recipes-tizen/pcre/pcre_git.bb | 8 + .../perl-Crypt-SSLeay-extraconf.inc | 0 .../perl-Crypt-SSLeay/perl-Crypt-SSLeay.inc | 173 + .../perl-Devel-Symdump-extraconf.inc | 0 .../perl-Devel-Symdump-native_git.bb | 12 + .../perl-Devel-Symdump/perl-Devel-Symdump.inc | 168 + .../perl-Devel-Symdump/perl-Devel-Symdump_git.bb | 8 + .../perl-Error/perl-Error-extraconf.inc | 0 meta-tizen/recipes-tizen/perl-Error/perl-Error.inc | 160 + .../perl-HTML-Parser-extraconf.inc | 0 .../perl-HTML-Parser/perl-HTML-Parser.inc | 173 + .../perl-HTML-Tagset-extraconf.inc | 0 .../perl-HTML-Tagset/perl-HTML-Tagset.inc | 158 + .../perl-Net-DBus/perl-Net-DBus-extraconf.inc | 0 .../recipes-tizen/perl-Net-DBus/perl-Net-DBus.inc | 172 + .../perl-Pod-Coverage-extraconf.inc | 0 .../perl-Pod-Coverage/perl-Pod-Coverage.inc | 166 + .../perl-Switch/perl-Switch-extraconf.inc | 0 .../recipes-tizen/perl-Switch/perl-Switch.inc | 162 + .../perl-Test-Pod-Coverage-extraconf.inc | 0 .../perl-Test-Pod-Coverage-native_git.bb | 12 + .../perl-Test-Pod-Coverage.inc | 163 + .../perl-Test-Pod-Coverage_git.bb | 8 + .../perl-Test-Pod/perl-Test-Pod-extraconf.inc | 0 .../perl-Test-Pod/perl-Test-Pod-native_git.bb | 12 + .../recipes-tizen/perl-Test-Pod/perl-Test-Pod.inc | 162 + .../perl-Test-Pod/perl-Test-Pod_git.bb | 8 + .../perl-TimeDate/perl-TimeDate-extraconf.inc | 0 .../perl-TimeDate/perl-TimeDate-native_git.bb | 12 + .../recipes-tizen/perl-TimeDate/perl-TimeDate.inc | 85 + .../perl-TimeDate/perl-TimeDate_git.bb | 8 + .../recipes-tizen/perl-URI/perl-URI-extraconf.inc | 0 .../recipes-tizen/perl-URI/perl-URI-native_git.bb | 12 + meta-tizen/recipes-tizen/perl-URI/perl-URI.inc | 160 + meta-tizen/recipes-tizen/perl-URI/perl-URI_git.bb | 8 + .../perl-WWW-Curl/perl-WWW-Curl-extraconf.inc | 0 .../perl-WWW-Curl/perl-WWW-Curl-native_git.bb | 12 + .../recipes-tizen/perl-WWW-Curl/perl-WWW-Curl.inc | 160 + .../perl-WWW-Curl/perl-WWW-Curl_git.bb | 8 + .../perl-X11-Protocol-extraconf.inc | 0 .../perl-X11-Protocol/perl-X11-Protocol.inc | 26 + .../perl-XML-Parser/perl-XML-Parser-extraconf.inc | 6 + .../perl-XML-Parser/perl-XML-Parser-native_git.bb | 12 + .../perl-XML-Parser/perl-XML-Parser.inc | 163 + .../perl-XML-Parser/perl-XML-Parser_git.bb | 8 + .../perl-XML-Simple/perl-XML-Simple-extraconf.inc | 0 .../perl-XML-Simple/perl-XML-Simple-native_git.bb | 12 + .../perl-XML-Simple/perl-XML-Simple.inc | 91 + .../perl-XML-Simple/perl-XML-Simple_git.bb | 8 + .../perl-XML-Twig/perl-XML-Twig-extraconf.inc | 0 .../perl-XML-Twig/perl-XML-Twig-native_git.bb | 12 + .../recipes-tizen/perl-XML-Twig/perl-XML-Twig.inc | 98 + .../perl-XML-Twig/perl-XML-Twig_git.bb | 8 + .../perl-YAML/perl-YAML-extraconf.inc | 0 .../perl-YAML/perl-YAML-native_git.bb | 12 + meta-tizen/recipes-tizen/perl-YAML/perl-YAML.inc | 158 + .../recipes-tizen/perl-YAML/perl-YAML_git.bb | 8 + .../perl-gettext/perl-gettext-extraconf.inc | 1 + .../recipes-tizen/perl-gettext/perl-gettext.inc | 162 + .../recipes-tizen/perl-gettext/perl-gettext_git.bb | 8 + .../perl-libwww-perl-extraconf.inc | 0 .../perl-libwww-perl/perl-libwww-perl.inc | 163 + meta-tizen/recipes-tizen/perl/perl-extraconf.inc | 0 meta-tizen/recipes-tizen/perl/perl.inc | 319 + meta-tizen/recipes-tizen/php/php-extraconf.inc | 0 meta-tizen/recipes-tizen/php/php.inc | 347 + .../recipes-tizen/pims-ipc/pims-ipc-extraconf.inc | 0 .../recipes-tizen/pims-ipc/pims-ipc-native_git.bb | 12 + meta-tizen/recipes-tizen/pims-ipc/pims-ipc.inc | 119 + meta-tizen/recipes-tizen/pims-ipc/pims-ipc_git.bb | 8 + .../recipes-tizen/pixman/pixman-extraconf.inc | 0 .../recipes-tizen/pixman/pixman-native_git.bb | 12 + meta-tizen/recipes-tizen/pixman/pixman.inc | 120 + meta-tizen/recipes-tizen/pixman/pixman_git.bb | 8 + .../pkg-config/pkg-config-extraconf.inc | 0 meta-tizen/recipes-tizen/pkg-config/pkg-config.inc | 121 + .../pkgmgr-info/pkgmgr-info-extraconf.inc | 0 .../pkgmgr-info/pkgmgr-info-native_git.bb | 12 + .../recipes-tizen/pkgmgr-info/pkgmgr-info.inc | 167 + .../recipes-tizen/pkgmgr-info/pkgmgr-info_git.bb | 8 + .../recipes-tizen/player/player-extraconf.inc | 0 meta-tizen/recipes-tizen/player/player.inc | 39 + .../recipes-tizen/plymouth/plymouth-extraconf.inc | 0 .../recipes-tizen/plymouth/plymouth-native_git.bb | 12 + meta-tizen/recipes-tizen/plymouth/plymouth.inc | 486 + meta-tizen/recipes-tizen/plymouth/plymouth_git.bb | 8 + meta-tizen/recipes-tizen/poi/poi-extraconf.inc | 0 meta-tizen/recipes-tizen/poi/poi-native_git.bb | 12 + meta-tizen/recipes-tizen/poi/poi.inc | 119 + meta-tizen/recipes-tizen/poi/poi_git.bb | 8 + .../recipes-tizen/polkit/polkit-extraconf.inc | 0 meta-tizen/recipes-tizen/polkit/polkit.inc | 84 + .../poppler-data/poppler-data-extraconf.inc | 0 .../poppler-data/poppler-data-native_git.bb | 12 + .../recipes-tizen/poppler-data/poppler-data.inc | 88 + .../recipes-tizen/poppler-data/poppler-data_git.bb | 8 + .../recipes-tizen/poppler/poppler-extraconf.inc | 0 .../recipes-tizen/poppler/poppler-native_git.bb | 12 + meta-tizen/recipes-tizen/poppler/poppler.inc | 252 + meta-tizen/recipes-tizen/poppler/poppler_git.bb | 8 + meta-tizen/recipes-tizen/popt/popt-extraconf.inc | 0 meta-tizen/recipes-tizen/popt/popt.inc | 142 + .../power-manager/power-manager-extraconf.inc | 0 .../power-manager/power-manager-native_git.bb | 12 + .../recipes-tizen/power-manager/power-manager.inc | 122 + .../power-manager/power-manager_git.bb | 8 + meta-tizen/recipes-tizen/power/power-extraconf.inc | 0 meta-tizen/recipes-tizen/power/power-native_git.bb | 12 + meta-tizen/recipes-tizen/power/power.inc | 121 + meta-tizen/recipes-tizen/power/power_git.bb | 8 + .../recipes-tizen/powertop/powertop-extraconf.inc | 0 .../recipes-tizen/powertop/powertop-native_git.bb | 12 + meta-tizen/recipes-tizen/powertop/powertop.inc | 134 + meta-tizen/recipes-tizen/powertop/powertop_git.bb | 8 + meta-tizen/recipes-tizen/ppl/ppl-extraconf.inc | 0 meta-tizen/recipes-tizen/ppl/ppl-native_git.bb | 12 + meta-tizen/recipes-tizen/ppl/ppl.inc | 203 + meta-tizen/recipes-tizen/ppl/ppl_git.bb | 8 + .../recipes-tizen/prelink/prelink-extraconf.inc | 0 meta-tizen/recipes-tizen/prelink/prelink.inc | 115 + meta-tizen/recipes-tizen/prelink/prelink_git.bb | 8 + .../print-service/print-service-extraconf.inc | 0 .../print-service/print-service-native_git.bb | 12 + .../recipes-tizen/print-service/print-service.inc | 161 + .../print-service/print-service_git.bb | 8 + .../privacy-manager/privacy-manager-extraconf.inc | 0 .../privacy-manager/privacy-manager-native_git.bb | 12 + .../privacy-manager/privacy-manager.inc | 215 + .../privacy-manager/privacy-manager_git.bb | 8 + .../privacy-popup/privacy-popup-extraconf.inc | 0 .../recipes-tizen/privacy-popup/privacy-popup.inc | 28 + .../procps-ng/procps-ng-extraconf.inc | 0 .../procps-ng/procps-ng-native_git.bb | 12 + meta-tizen/recipes-tizen/procps-ng/procps-ng.inc | 173 + .../recipes-tizen/procps-ng/procps-ng_git.bb | 8 + .../recipes-tizen/protobuf/protobuf-extraconf.inc | 0 .../recipes-tizen/protobuf/protobuf-native_git.bb | 12 + meta-tizen/recipes-tizen/protobuf/protobuf.inc | 161 + meta-tizen/recipes-tizen/protobuf/protobuf_git.bb | 8 + .../recipes-tizen/provider/provider-extraconf.inc | 0 meta-tizen/recipes-tizen/provider/provider.inc | 36 + .../recipes-tizen/psmisc/psmisc-extraconf.inc | 0 .../recipes-tizen/psmisc/psmisc-native_git.bb | 12 + meta-tizen/recipes-tizen/psmisc/psmisc.inc | 107 + meta-tizen/recipes-tizen/psmisc/psmisc_git.bb | 8 + meta-tizen/recipes-tizen/pth/pth-extraconf.inc | 0 meta-tizen/recipes-tizen/pth/pth-native_git.bb | 12 + meta-tizen/recipes-tizen/pth/pth.inc | 144 + meta-tizen/recipes-tizen/pth/pth_git.bb | 8 + .../pulseaudio/pulseaudio-extraconf.inc | 0 meta-tizen/recipes-tizen/pulseaudio/pulseaudio.inc | 253 + .../recipes-tizen/pwdutils/pwdutils-extraconf.inc | 0 meta-tizen/recipes-tizen/pwdutils/pwdutils.inc | 151 + meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb | 8 + .../pygobject2/pygobject2-extraconf.inc | 0 .../pygobject2/pygobject2-native_git.bb | 12 + meta-tizen/recipes-tizen/pygobject2/pygobject2.inc | 158 + .../recipes-tizen/pygobject2/pygobject2_git.bb | 8 + .../python-Cheetah/python-Cheetah-extraconf.inc | 0 .../python-Cheetah/python-Cheetah-native_git.bb | 12 + .../python-Cheetah/python-Cheetah.inc | 100 + .../python-Cheetah/python-Cheetah_git.bb | 8 + .../python-M2Crypto/python-M2Crypto-extraconf.inc | 0 .../python-M2Crypto/python-M2Crypto-native_git.bb | 12 + .../python-M2Crypto/python-M2Crypto.inc | 78 + .../python-M2Crypto/python-M2Crypto_git.bb | 8 + .../python-PyYAML/python-PyYAML-extraconf.inc | 0 .../python-PyYAML/python-PyYAML-native_git.bb | 12 + .../recipes-tizen/python-PyYAML/python-PyYAML.inc | 82 + .../python-PyYAML/python-PyYAML_git.bb | 8 + .../python-ZSI/python-ZSI-extraconf.inc | 0 .../python-ZSI/python-ZSI-native_git.bb | 12 + meta-tizen/recipes-tizen/python-ZSI/python-ZSI.inc | 98 + .../recipes-tizen/python-ZSI/python-ZSI_git.bb | 8 + .../python-cairo/python-cairo-extraconf.inc | 0 .../python-cairo/python-cairo-native_git.bb | 12 + .../recipes-tizen/python-cairo/python-cairo.inc | 125 + .../recipes-tizen/python-cairo/python-cairo_git.bb | 8 + .../python-coverage/python-coverage-extraconf.inc | 0 .../python-coverage/python-coverage-native_git.bb | 12 + .../python-coverage/python-coverage.inc | 77 + .../python-coverage/python-coverage_git.bb | 8 + .../python-cython/python-cython-extraconf.inc | 0 .../python-cython/python-cython-native_git.bb | 12 + .../recipes-tizen/python-cython/python-cython.inc | 114 + .../python-cython/python-cython_git.bb | 8 + .../python-distribute-extraconf.inc | 0 .../python-distribute-native_git.bb | 12 + .../python-distribute/python-distribute.inc | 88 + .../python-distribute/python-distribute_git.bb | 8 + .../python-ecore/python-ecore-extraconf.inc | 0 .../python-ecore/python-ecore-native_git.bb | 12 + .../recipes-tizen/python-ecore/python-ecore.inc | 116 + .../recipes-tizen/python-ecore/python-ecore_git.bb | 8 + .../python-edbus/python-edbus-extraconf.inc | 0 .../python-edbus/python-edbus-native_git.bb | 12 + .../recipes-tizen/python-edbus/python-edbus.inc | 121 + .../recipes-tizen/python-edbus/python-edbus_git.bb | 8 + .../python-edje/python-edje-extraconf.inc | 0 .../python-edje/python-edje-native_git.bb | 12 + .../recipes-tizen/python-edje/python-edje.inc | 120 + .../recipes-tizen/python-edje/python-edje_git.bb | 8 + .../python-elementary-extraconf.inc | 0 .../python-elementary/python-elementary.inc | 35 + .../python-evas/python-evas-extraconf.inc | 0 .../python-evas/python-evas-native_git.bb | 12 + .../recipes-tizen/python-evas/python-evas.inc | 116 + .../recipes-tizen/python-evas/python-evas_git.bb | 8 + .../python-gobject/python-gobject-extraconf.inc | 0 .../python-gobject/python-gobject-native_git.bb | 12 + .../python-gobject/python-gobject.inc | 189 + .../python-gobject/python-gobject_git.bb | 8 + .../python-gpgme/python-gpgme-extraconf.inc | 0 .../python-gpgme/python-gpgme-native_git.bb | 12 + .../recipes-tizen/python-gpgme/python-gpgme.inc | 76 + .../recipes-tizen/python-gpgme/python-gpgme_git.bb | 8 + .../python-iniparse/python-iniparse-extraconf.inc | 0 .../python-iniparse/python-iniparse-native_git.bb | 12 + .../python-iniparse/python-iniparse.inc | 75 + .../python-iniparse/python-iniparse_git.bb | 8 + .../python-libxml2/python-libxml2-extraconf.inc | 0 .../python-libxml2/python-libxml2-native_git.bb | 12 + .../python-libxml2/python-libxml2.inc | 121 + .../python-libxml2/python-libxml2_git.bb | 8 + .../python-lxml/python-lxml-extraconf.inc | 0 .../python-lxml/python-lxml-native_git.bb | 12 + .../recipes-tizen/python-lxml/python-lxml.inc | 76 + .../recipes-tizen/python-lxml/python-lxml_git.bb | 8 + .../python-magic/python-magic-extraconf.inc | 0 .../python-magic/python-magic-native_git.bb | 12 + .../recipes-tizen/python-magic/python-magic.inc | 77 + .../recipes-tizen/python-magic/python-magic_git.bb | 8 + .../python-markdown/python-markdown-extraconf.inc | 0 .../python-markdown/python-markdown-native_git.bb | 12 + .../python-markdown/python-markdown.inc | 81 + .../python-markdown/python-markdown_git.bb | 8 + .../python-nose/python-nose-extraconf.inc | 0 .../python-nose/python-nose-native_git.bb | 12 + .../recipes-tizen/python-nose/python-nose.inc | 85 + .../recipes-tizen/python-nose/python-nose_git.bb | 8 + .../python-pyOpenSSL-extraconf.inc | 0 .../python-pyOpenSSL-native_git.bb | 12 + .../python-pyOpenSSL/python-pyOpenSSL.inc | 73 + .../python-pyOpenSSL/python-pyOpenSSL_git.bb | 8 + .../python-pycurl/python-pycurl-extraconf.inc | 0 .../python-pycurl/python-pycurl-native_git.bb | 12 + .../recipes-tizen/python-pycurl/python-pycurl.inc | 102 + .../python-pycurl/python-pycurl_git.bb | 8 + .../python-pygments/python-pygments-extraconf.inc | 0 .../python-pygments/python-pygments-native_git.bb | 12 + .../python-pygments/python-pygments.inc | 81 + .../python-pygments/python-pygments_git.bb | 8 + .../python-requests/python-requests-extraconf.inc | 0 .../python-requests/python-requests-native_git.bb | 12 + .../python-requests/python-requests.inc | 103 + .../python-requests/python-requests_git.bb | 8 + .../python-rpm/python-rpm-extraconf.inc | 0 .../python-rpm/python-rpm-native_git.bb | 12 + meta-tizen/recipes-tizen/python-rpm/python-rpm.inc | 109 + .../recipes-tizen/python-rpm/python-rpm_git.bb | 8 + .../python-setuptools-extraconf.inc | 0 .../python-setuptools-native_git.bb | 12 + .../python-setuptools/python-setuptools.inc | 101 + .../python-setuptools/python-setuptools_git.bb | 8 + .../python-sqlite/python-sqlite-extraconf.inc | 0 .../python-sqlite/python-sqlite-native_git.bb | 12 + .../recipes-tizen/python-sqlite/python-sqlite.inc | 77 + .../python-sqlite/python-sqlite_git.bb | 8 + .../python-urlgrabber-extraconf.inc | 0 .../python-urlgrabber-native_git.bb | 12 + .../python-urlgrabber/python-urlgrabber.inc | 94 + .../python-urlgrabber/python-urlgrabber_git.bb | 8 + .../recipes-tizen/python/python-extraconf.inc | 0 meta-tizen/recipes-tizen/python/python.inc | 376 + meta-tizen/recipes-tizen/python/python_git.bb | 8 + meta-tizen/recipes-tizen/qemu/qemu-extraconf.inc | 0 meta-tizen/recipes-tizen/qemu/qemu.inc | 227 + meta-tizen/recipes-tizen/qpdf/qpdf-extraconf.inc | 0 meta-tizen/recipes-tizen/qpdf/qpdf-native_git.bb | 12 + meta-tizen/recipes-tizen/qpdf/qpdf.inc | 139 + meta-tizen/recipes-tizen/qpdf/qpdf_git.bb | 8 + .../recipes-tizen/qtbase/qtbase-extraconf.inc | 0 .../recipes-tizen/qtbase/qtbase-native_git.bb | 12 + meta-tizen/recipes-tizen/qtbase/qtbase.inc | 949 + meta-tizen/recipes-tizen/qtbase/qtbase_git.bb | 8 + .../qtchooser/qtchooser-extraconf.inc | 0 .../qtchooser/qtchooser-native_git.bb | 12 + meta-tizen/recipes-tizen/qtchooser/qtchooser.inc | 132 + .../recipes-tizen/qtchooser/qtchooser_git.bb | 8 + .../qtdeclarative/qtdeclarative-extraconf.inc | 0 .../qtdeclarative/qtdeclarative-native_git.bb | 12 + .../recipes-tizen/qtdeclarative/qtdeclarative.inc | 488 + .../qtdeclarative/qtdeclarative_git.bb | 8 + .../qtgraphicaleffects-extraconf.inc | 0 .../qtgraphicaleffects-native_git.bb | 12 + .../qtgraphicaleffects/qtgraphicaleffects.inc | 79 + .../qtgraphicaleffects/qtgraphicaleffects_git.bb | 8 + .../qtimageformats/qtimageformats-extraconf.inc | 0 .../qtimageformats/qtimageformats-native_git.bb | 12 + .../qtimageformats/qtimageformats.inc | 120 + .../qtimageformats/qtimageformats_git.bb | 8 + .../qtmultimedia/qtmultimedia-extraconf.inc | 0 .../qtmultimedia/qtmultimedia-native_git.bb | 12 + .../recipes-tizen/qtmultimedia/qtmultimedia.inc | 252 + .../recipes-tizen/qtmultimedia/qtmultimedia_git.bb | 8 + .../qtquickcontrols-tizen-extraconf.inc | 0 .../qtquickcontrols-tizen-native_git.bb | 12 + .../qtquickcontrols-tizen.inc | 100 + .../qtquickcontrols-tizen_git.bb | 8 + .../qtquickcontrols/qtquickcontrols-extraconf.inc | 0 .../qtquickcontrols/qtquickcontrols-native_git.bb | 12 + .../qtquickcontrols/qtquickcontrols.inc | 80 + .../qtquickcontrols/qtquickcontrols_git.bb | 8 + .../qtsensors/qtsensors-extraconf.inc | 0 .../qtsensors/qtsensors-native_git.bb | 12 + meta-tizen/recipes-tizen/qtsensors/qtsensors.inc | 191 + .../recipes-tizen/qtsensors/qtsensors_git.bb | 8 + .../recipes-tizen/qttools/qttools-extraconf.inc | 0 .../recipes-tizen/qttools/qttools-native_git.bb | 12 + meta-tizen/recipes-tizen/qttools/qttools.inc | 318 + meta-tizen/recipes-tizen/qttools/qttools_git.bb | 8 + .../qtwayland/qtwayland-extraconf.inc | 0 .../qtwayland/qtwayland-native_git.bb | 12 + meta-tizen/recipes-tizen/qtwayland/qtwayland.inc | 134 + .../recipes-tizen/qtwayland/qtwayland_git.bb | 8 + .../qtxmlpatterns/qtxmlpatterns-extraconf.inc | 0 .../qtxmlpatterns/qtxmlpatterns-native_git.bb | 12 + .../recipes-tizen/qtxmlpatterns/qtxmlpatterns.inc | 136 + .../qtxmlpatterns/qtxmlpatterns_git.bb | 8 + meta-tizen/recipes-tizen/radio/radio-extraconf.inc | 0 meta-tizen/recipes-tizen/radio/radio-native_git.bb | 12 + meta-tizen/recipes-tizen/radio/radio.inc | 122 + meta-tizen/recipes-tizen/radio/radio_git.bb | 8 + meta-tizen/recipes-tizen/ragel/ragel-extraconf.inc | 0 meta-tizen/recipes-tizen/ragel/ragel-native_git.bb | 12 + meta-tizen/recipes-tizen/ragel/ragel.inc | 134 + meta-tizen/recipes-tizen/ragel/ragel_git.bb | 8 + .../randrproto/randrproto-extraconf.inc | 0 .../randrproto/randrproto-native_git.bb | 12 + meta-tizen/recipes-tizen/randrproto/randrproto.inc | 117 + .../recipes-tizen/randrproto/randrproto_git.bb | 8 + .../recipes-tizen/raptor/raptor-extraconf.inc | 0 .../recipes-tizen/raptor/raptor-native_git.bb | 12 + meta-tizen/recipes-tizen/raptor/raptor.inc | 154 + meta-tizen/recipes-tizen/raptor/raptor_git.bb | 8 + meta-tizen/recipes-tizen/re2/re2-extraconf.inc | 0 meta-tizen/recipes-tizen/re2/re2-native_git.bb | 12 + meta-tizen/recipes-tizen/re2/re2.inc | 93 + meta-tizen/recipes-tizen/re2/re2_git.bb | 8 + meta-tizen/recipes-tizen/re2c/re2c-extraconf.inc | 0 meta-tizen/recipes-tizen/re2c/re2c-native_git.bb | 12 + meta-tizen/recipes-tizen/re2c/re2c.inc | 112 + meta-tizen/recipes-tizen/re2c/re2c_git.bb | 8 + .../recipes-tizen/readline/readline-extraconf.inc | 0 meta-tizen/recipes-tizen/readline/readline.inc | 167 + .../recordproto/recordproto-extraconf.inc | 0 .../recordproto/recordproto-native_git.bb | 12 + .../recipes-tizen/recordproto/recordproto.inc | 116 + .../recipes-tizen/recordproto/recordproto_git.bb | 8 + meta-tizen/recipes-tizen/remix/remix-extraconf.inc | 0 meta-tizen/recipes-tizen/remix/remix-native_git.bb | 12 + meta-tizen/recipes-tizen/remix/remix.inc | 142 + meta-tizen/recipes-tizen/remix/remix_git.bb | 8 + .../renderproto/renderproto-extraconf.inc | 0 .../renderproto/renderproto-native_git.bb | 12 + .../recipes-tizen/renderproto/renderproto.inc | 117 + .../recipes-tizen/renderproto/renderproto_git.bb | 8 + .../resourceproto/resourceproto-extraconf.inc | 0 .../resourceproto/resourceproto-native_git.bb | 12 + .../recipes-tizen/resourceproto/resourceproto.inc | 118 + .../resourceproto/resourceproto_git.bb | 8 + .../recipes-tizen/rfkill/rfkill-extraconf.inc | 0 .../recipes-tizen/rfkill/rfkill-native_git.bb | 12 + meta-tizen/recipes-tizen/rfkill/rfkill.inc | 84 + meta-tizen/recipes-tizen/rfkill/rfkill_git.bb | 8 + .../rng-tools/rng-tools-extraconf.inc | 0 .../rng-tools/rng-tools-native_git.bb | 12 + meta-tizen/recipes-tizen/rng-tools/rng-tools.inc | 113 + .../recipes-tizen/rng-tools/rng-tools_git.bb | 8 + meta-tizen/recipes-tizen/route/route-extraconf.inc | 0 meta-tizen/recipes-tizen/route/route-native_git.bb | 12 + meta-tizen/recipes-tizen/route/route.inc | 119 + meta-tizen/recipes-tizen/route/route_git.bb | 8 + .../rpm-installer/rpm-installer-extraconf.inc | 0 .../recipes-tizen/rpm-installer/rpm-installer.inc | 26 + meta-tizen/recipes-tizen/rpm/rpm-extraconf.inc | 0 meta-tizen/recipes-tizen/rpm/rpm.inc | 366 + meta-tizen/recipes-tizen/rpm/rpm_git.bb | 8 + .../rpmlint-mini/rpmlint-mini-extraconf.inc | 0 .../rpmlint-mini/rpmlint-mini-native_git.bb | 12 + .../recipes-tizen/rpmlint-mini/rpmlint-mini.inc | 172 + .../recipes-tizen/rpmlint-mini/rpmlint-mini_git.bb | 8 + .../rpmlint-tizen/rpmlint-tizen-extraconf.inc | 0 .../rpmlint-tizen/rpmlint-tizen-native_git.bb | 12 + .../recipes-tizen/rpmlint-tizen/rpmlint-tizen.inc | 82 + .../rpmlint-tizen/rpmlint-tizen_git.bb | 8 + .../recipes-tizen/rpmlint/rpmlint-extraconf.inc | 0 .../recipes-tizen/rpmlint/rpmlint-native_git.bb | 12 + meta-tizen/recipes-tizen/rpmlint/rpmlint.inc | 117 + meta-tizen/recipes-tizen/rpmlint/rpmlint_git.bb | 8 + .../rpmorphan/rpmorphan-extraconf.inc | 0 .../rpmorphan/rpmorphan-native_git.bb | 12 + meta-tizen/recipes-tizen/rpmorphan/rpmorphan.inc | 112 + .../recipes-tizen/rpmorphan/rpmorphan_git.bb | 8 + meta-tizen/recipes-tizen/rsync/rsync-extraconf.inc | 0 meta-tizen/recipes-tizen/rsync/rsync-native_git.bb | 12 + meta-tizen/recipes-tizen/rsync/rsync.inc | 124 + meta-tizen/recipes-tizen/rsync/rsync_git.bb | 8 + meta-tizen/recipes-tizen/ruby/ruby-extraconf.inc | 0 meta-tizen/recipes-tizen/ruby/ruby-native_git.bb | 12 + meta-tizen/recipes-tizen/ruby/ruby.inc | 201 + meta-tizen/recipes-tizen/ruby/ruby_git.bb | 8 + .../runtime-info/runtime-info-extraconf.inc | 0 .../runtime-info/runtime-info-native_git.bb | 12 + .../recipes-tizen/runtime-info/runtime-info.inc | 120 + .../recipes-tizen/runtime-info/runtime-info_git.bb | 8 + meta-tizen/recipes-tizen/sbc/sbc-extraconf.inc | 0 meta-tizen/recipes-tizen/sbc/sbc-native_git.bb | 12 + meta-tizen/recipes-tizen/sbc/sbc.inc | 111 + meta-tizen/recipes-tizen/sbc/sbc_git.bb | 8 + meta-tizen/recipes-tizen/scons/scons-extraconf.inc | 0 meta-tizen/recipes-tizen/scons/scons-native_git.bb | 12 + meta-tizen/recipes-tizen/scons/scons.inc | 97 + meta-tizen/recipes-tizen/scons/scons_git.bb | 8 + .../recipes-tizen/screen/screen-extraconf.inc | 0 .../recipes-tizen/screen/screen-native_git.bb | 12 + meta-tizen/recipes-tizen/screen/screen.inc | 121 + meta-tizen/recipes-tizen/screen/screen_git.bb | 8 + .../scrnsaverproto/scrnsaverproto-extraconf.inc | 0 .../scrnsaverproto/scrnsaverproto-native_git.bb | 12 + .../scrnsaverproto/scrnsaverproto.inc | 117 + .../scrnsaverproto/scrnsaverproto_git.bb | 8 + meta-tizen/recipes-tizen/sdbd/sdbd-extraconf.inc | 0 meta-tizen/recipes-tizen/sdbd/sdbd-native_git.bb | 12 + meta-tizen/recipes-tizen/sdbd/sdbd.inc | 109 + meta-tizen/recipes-tizen/sdbd/sdbd_git.bb | 8 + .../secure-storage/secure-storage-extraconf.inc | 0 .../secure-storage/secure-storage-native_git.bb | 12 + .../secure-storage/secure-storage.inc | 162 + .../secure-storage/secure-storage_git.bb | 8 + .../security-server/security-server-extraconf.inc | 0 .../security-server/security-server-native_git.bb | 12 + .../security-server/security-server.inc | 168 + .../security-server/security-server_git.bb | 8 + meta-tizen/recipes-tizen/sed/sed-extraconf.inc | 0 meta-tizen/recipes-tizen/sed/sed.inc | 108 + .../sensor-framework-extraconf.inc | 0 .../sensor-framework-native_git.bb | 12 + .../sensor-framework/sensor-framework.inc | 107 + .../sensor-framework/sensor-framework_git.bb | 8 + .../recipes-tizen/sensor/sensor-extraconf.inc | 0 .../recipes-tizen/sensor/sensor-native_git.bb | 12 + meta-tizen/recipes-tizen/sensor/sensor.inc | 124 + meta-tizen/recipes-tizen/sensor/sensor_git.bb | 8 + .../recipes-tizen/serial/serial-extraconf.inc | 0 .../recipes-tizen/serial/serial-native_git.bb | 12 + meta-tizen/recipes-tizen/serial/serial.inc | 119 + meta-tizen/recipes-tizen/serial/serial_git.bb | 8 + .../recipes-tizen/sessreg/sessreg-extraconf.inc | 0 .../recipes-tizen/sessreg/sessreg-native_git.bb | 12 + meta-tizen/recipes-tizen/sessreg/sessreg.inc | 103 + meta-tizen/recipes-tizen/sessreg/sessreg_git.bb | 8 + .../recipes-tizen/settings/settings-extraconf.inc | 0 meta-tizen/recipes-tizen/settings/settings.inc | 41 + .../setup-ivi/setup-ivi-extraconf.inc | 0 .../setup-ivi/setup-ivi-native_git.bb | 12 + meta-tizen/recipes-tizen/setup-ivi/setup-ivi.inc | 158 + .../recipes-tizen/setup-ivi/setup-ivi_git.bb | 8 + .../setup-mbr-ivi/setup-mbr-ivi-extraconf.inc | 0 .../setup-mbr-ivi/setup-mbr-ivi-native_git.bb | 12 + .../recipes-tizen/setup-mbr-ivi/setup-mbr-ivi.inc | 87 + .../setup-mbr-ivi/setup-mbr-ivi_git.bb | 8 + meta-tizen/recipes-tizen/setup/setup-extraconf.inc | 0 meta-tizen/recipes-tizen/setup/setup-native_git.bb | 12 + meta-tizen/recipes-tizen/setup/setup.inc | 123 + meta-tizen/recipes-tizen/setup/setup_git.bb | 8 + .../setxkbmap/setxkbmap-extraconf.inc | 0 meta-tizen/recipes-tizen/setxkbmap/setxkbmap.inc | 29 + .../sgml-common/sgml-common-extraconf.inc | 0 .../sgml-common/sgml-common-native_git.bb | 12 + .../recipes-tizen/sgml-common/sgml-common.inc | 159 + .../recipes-tizen/sgml-common/sgml-common_git.bb | 8 + .../sgml-skel/sgml-skel-extraconf.inc | 0 .../sgml-skel/sgml-skel-native_git.bb | 12 + meta-tizen/recipes-tizen/sgml-skel/sgml-skel.inc | 111 + .../recipes-tizen/sgml-skel/sgml-skel_git.bb | 8 + .../shared-mime-info-extraconf.inc | 0 .../shared-mime-info-native_git.bb | 12 + .../shared-mime-info/shared-mime-info.inc | 161 + .../shared-mime-info/shared-mime-info_git.bb | 8 + .../recipes-tizen/shortcut/shortcut-extraconf.inc | 0 .../recipes-tizen/shortcut/shortcut-native_git.bb | 12 + meta-tizen/recipes-tizen/shortcut/shortcut.inc | 130 + meta-tizen/recipes-tizen/shortcut/shortcut_git.bb | 8 + meta-tizen/recipes-tizen/sim/sim-extraconf.inc | 0 meta-tizen/recipes-tizen/sim/sim-native_git.bb | 12 + meta-tizen/recipes-tizen/sim/sim.inc | 121 + meta-tizen/recipes-tizen/sim/sim_git.bb | 8 + .../slp-pkgmgr/slp-pkgmgr-extraconf.inc | 0 .../slp-pkgmgr/slp-pkgmgr-native_git.bb | 12 + meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc | 240 + .../recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb | 8 + meta-tizen/recipes-tizen/smack/smack-extraconf.inc | 0 meta-tizen/recipes-tizen/smack/smack-native_git.bb | 12 + meta-tizen/recipes-tizen/smack/smack.inc | 150 + meta-tizen/recipes-tizen/smack/smack_git.bb | 8 + .../smartcard-service-extraconf.inc | 0 .../smartcard-service-native_git.bb | 12 + .../smartcard-service/smartcard-service.inc | 170 + .../smartcard-service/smartcard-service_git.bb | 8 + .../recipes-tizen/snapper/snapper-extraconf.inc | 0 .../recipes-tizen/snapper/snapper-native_git.bb | 12 + meta-tizen/recipes-tizen/snapper/snapper.inc | 227 + meta-tizen/recipes-tizen/snapper/snapper_git.bb | 8 + .../sound-manager/sound-manager-extraconf.inc | 0 .../sound-manager/sound-manager-native_git.bb | 12 + .../recipes-tizen/sound-manager/sound-manager.inc | 121 + .../sound-manager/sound-manager_git.bb | 8 + meta-tizen/recipes-tizen/speex/speex-extraconf.inc | 0 meta-tizen/recipes-tizen/speex/speex-native_git.bb | 12 + meta-tizen/recipes-tizen/speex/speex.inc | 150 + meta-tizen/recipes-tizen/speex/speex_git.bb | 8 + meta-tizen/recipes-tizen/sppc/sppc-extraconf.inc | 0 meta-tizen/recipes-tizen/sppc/sppc-native_git.bb | 12 + meta-tizen/recipes-tizen/sppc/sppc.inc | 167 + meta-tizen/recipes-tizen/sppc/sppc_git.bb | 8 + .../recipes-tizen/sqlite/sqlite-extraconf.inc | 0 .../recipes-tizen/sqlite/sqlite-native_git.bb | 12 + meta-tizen/recipes-tizen/sqlite/sqlite.inc | 176 + meta-tizen/recipes-tizen/sqlite/sqlite_git.bb | 8 + .../recipes-tizen/squashfs/squashfs-extraconf.inc | 0 .../recipes-tizen/squashfs/squashfs-native_git.bb | 12 + meta-tizen/recipes-tizen/squashfs/squashfs.inc | 77 + meta-tizen/recipes-tizen/squashfs/squashfs_git.bb | 8 + .../recipes-tizen/starter/starter-extraconf.inc | 0 meta-tizen/recipes-tizen/starter/starter.inc | 36 + .../recipes-tizen/status/status-extraconf.inc | 0 .../recipes-tizen/status/status-native_git.bb | 12 + meta-tizen/recipes-tizen/status/status.inc | 124 + meta-tizen/recipes-tizen/status/status_git.bb | 8 + .../recipes-tizen/strace/strace-extraconf.inc | 0 .../recipes-tizen/strace/strace-native_git.bb | 12 + meta-tizen/recipes-tizen/strace/strace.inc | 111 + meta-tizen/recipes-tizen/strace/strace_git.bb | 8 + meta-tizen/recipes-tizen/stt/stt-extraconf.inc | 0 meta-tizen/recipes-tizen/stt/stt-native_git.bb | 12 + meta-tizen/recipes-tizen/stt/stt.inc | 128 + meta-tizen/recipes-tizen/stt/stt_git.bb | 8 + meta-tizen/recipes-tizen/sudo/sudo-extraconf.inc | 0 meta-tizen/recipes-tizen/sudo/sudo-native_git.bb | 12 + meta-tizen/recipes-tizen/sudo/sudo.inc | 169 + meta-tizen/recipes-tizen/sudo/sudo_git.bb | 8 + .../recipes-tizen/svi-data/svi-data-extraconf.inc | 0 .../recipes-tizen/svi-data/svi-data-native_git.bb | 12 + meta-tizen/recipes-tizen/svi-data/svi-data.inc | 95 + meta-tizen/recipes-tizen/svi-data/svi-data_git.bb | 8 + meta-tizen/recipes-tizen/swig/swig-extraconf.inc | 0 meta-tizen/recipes-tizen/swig/swig-native_git.bb | 12 + meta-tizen/recipes-tizen/swig/swig.inc | 186 + meta-tizen/recipes-tizen/swig/swig_git.bb | 8 + meta-tizen/recipes-tizen/swup/swup-extraconf.inc | 0 meta-tizen/recipes-tizen/swup/swup-native_git.bb | 12 + meta-tizen/recipes-tizen/swup/swup.inc | 106 + meta-tizen/recipes-tizen/swup/swup_git.bb | 8 + .../sync-agent/sync-agent-extraconf.inc | 0 .../sync-agent/sync-agent-native_git.bb | 12 + meta-tizen/recipes-tizen/sync-agent/sync-agent.inc | 161 + .../recipes-tizen/sync-agent/sync-agent_git.bb | 8 + .../sys-assert/sys-assert-extraconf.inc | 0 .../sys-assert/sys-assert-native_git.bb | 12 + meta-tizen/recipes-tizen/sys-assert/sys-assert.inc | 102 + .../recipes-tizen/sys-assert/sys-assert_git.bb | 8 + .../sys-config/sys-config-extraconf.inc | 0 meta-tizen/recipes-tizen/sys-config/sys-config.inc | 38 + .../sys-string-0/sys-string-0-extraconf.inc | 0 .../sys-string-0/sys-string-0-native_git.bb | 12 + .../recipes-tizen/sys-string-0/sys-string-0.inc | 227 + .../recipes-tizen/sys-string-0/sys-string-0_git.bb | 8 + .../sysfsutils/sysfsutils-extraconf.inc | 0 .../sysfsutils/sysfsutils-native_git.bb | 12 + meta-tizen/recipes-tizen/sysfsutils/sysfsutils.inc | 128 + .../recipes-tizen/sysfsutils/sysfsutils_git.bb | 8 + .../recipes-tizen/syslinux/syslinux-extraconf.inc | 0 .../recipes-tizen/syslinux/syslinux-native_git.bb | 12 + meta-tizen/recipes-tizen/syslinux/syslinux.inc | 142 + meta-tizen/recipes-tizen/syslinux/syslinux_git.bb | 8 + .../recipes-tizen/syspopup/syspopup-extraconf.inc | 0 .../recipes-tizen/syspopup/syspopup-native_git.bb | 12 + meta-tizen/recipes-tizen/syspopup/syspopup.inc | 166 + meta-tizen/recipes-tizen/syspopup/syspopup_git.bb | 8 + .../recipes-tizen/sysprof/sysprof-extraconf.inc | 0 .../recipes-tizen/sysprof/sysprof-native_git.bb | 12 + meta-tizen/recipes-tizen/sysprof/sysprof.inc | 117 + meta-tizen/recipes-tizen/sysprof/sysprof_git.bb | 8 + .../system-info/system-info-extraconf.inc | 0 .../system-info/system-info-native_git.bb | 12 + .../recipes-tizen/system-info/system-info.inc | 124 + .../recipes-tizen/system-info/system-info_git.bb | 8 + .../system-installer-extraconf.inc | 0 .../system-installer-native_git.bb | 12 + .../system-installer/system-installer.inc | 86 + .../system-installer/system-installer_git.bb | 8 + .../system-plugin-ia-generic-extraconf.inc | 0 .../system-plugin-ia-generic-native_git.bb | 12 + .../system-plugin-ia-generic.inc | 123 + .../system-plugin-ia-generic_git.bb | 8 + .../system-popup/system-popup-extraconf.inc | 0 .../recipes-tizen/system-popup/system-popup.inc | 93 + .../system-server/system-server-extraconf.inc | 0 .../system-server/system-server-native_git.bb | 12 + .../recipes-tizen/system-server/system-server.inc | 402 + .../system-server/system-server_git.bb | 8 + .../system-settings/system-settings-extraconf.inc | 0 .../system-settings/system-settings.inc | 37 + .../systemd-bootmode-clovertrail-extraconf.inc | 0 .../systemd-bootmode-clovertrail.inc | 32 + .../recipes-tizen/systemd/systemd-extraconf.inc | 0 .../recipes-tizen/systemd/systemd-native_git.bb | 12 + meta-tizen/recipes-tizen/systemd/systemd.inc | 477 + meta-tizen/recipes-tizen/systemd/systemd_git.bb | 8 + meta-tizen/recipes-tizen/tar/tar-extraconf.inc | 0 meta-tizen/recipes-tizen/tar/tar-native_git.bb | 12 + meta-tizen/recipes-tizen/tar/tar.inc | 129 + meta-tizen/recipes-tizen/tar/tar_git.bb | 8 + .../taskmanager/taskmanager-extraconf.inc | 0 .../recipes-tizen/taskmanager/taskmanager.inc | 32 + meta-tizen/recipes-tizen/tcl/tcl-extraconf.inc | 0 meta-tizen/recipes-tizen/tcl/tcl-native_git.bb | 12 + meta-tizen/recipes-tizen/tcl/tcl.inc | 141 + meta-tizen/recipes-tizen/tcl/tcl_git.bb | 8 + .../recipes-tizen/tcpdump/tcpdump-extraconf.inc | 0 .../recipes-tizen/tcpdump/tcpdump-native_git.bb | 12 + meta-tizen/recipes-tizen/tcpdump/tcpdump.inc | 105 + meta-tizen/recipes-tizen/tcpdump/tcpdump_git.bb | 8 + meta-tizen/recipes-tizen/tdb/tdb-extraconf.inc | 0 meta-tizen/recipes-tizen/tdb/tdb-native_git.bb | 12 + meta-tizen/recipes-tizen/tdb/tdb.inc | 155 + meta-tizen/recipes-tizen/tdb/tdb_git.bb | 8 + .../tel-plugin-atmodem-extraconf.inc | 0 .../tel-plugin-atmodem-native_git.bb | 12 + .../tel-plugin-atmodem/tel-plugin-atmodem.inc | 106 + .../tel-plugin-atmodem/tel-plugin-atmodem_git.bb | 8 + .../tel-plugin-database-extraconf.inc | 0 .../tel-plugin-database-native_git.bb | 12 + .../tel-plugin-database/tel-plugin-database.inc | 102 + .../tel-plugin-database/tel-plugin-database_git.bb | 8 + .../tel-plugin-imc/tel-plugin-imc-extraconf.inc | 0 .../tel-plugin-imc/tel-plugin-imc.inc | 29 + .../tel-plugin-imcmodem-extraconf.inc | 0 .../tel-plugin-imcmodem-native_git.bb | 12 + .../tel-plugin-imcmodem/tel-plugin-imcmodem.inc | 102 + .../tel-plugin-imcmodem/tel-plugin-imcmodem_git.bb | 8 + .../tel-plugin-indicator-extraconf.inc | 0 .../tel-plugin-indicator-native_git.bb | 12 + .../tel-plugin-indicator/tel-plugin-indicator.inc | 103 + .../tel-plugin-indicator_git.bb | 8 + .../tel-plugin-packetservice-extraconf.inc | 0 .../tel-plugin-packetservice-native_git.bb | 12 + .../tel-plugin-packetservice.inc | 109 + .../tel-plugin-packetservice_git.bb | 8 + .../tel-plugin-vconf-extraconf.inc | 0 .../tel-plugin-vconf-native_git.bb | 12 + .../tel-plugin-vconf/tel-plugin-vconf.inc | 105 + .../tel-plugin-vconf/tel-plugin-vconf_git.bb | 8 + .../tel-plugin-vmodem-extraconf.inc | 0 .../tel-plugin-vmodem-native_git.bb | 12 + .../tel-plugin-vmodem/tel-plugin-vmodem.inc | 102 + .../tel-plugin-vmodem/tel-plugin-vmodem_git.bb | 8 + .../telephony-daemon-extraconf.inc | 0 .../telephony-daemon-native_git.bb | 12 + .../telephony-daemon/telephony-daemon.inc | 110 + .../telephony-daemon/telephony-daemon_git.bb | 8 + .../terminology/terminology-extraconf.inc | 0 .../terminology/terminology-native_git.bb | 12 + .../recipes-tizen/terminology/terminology.inc | 135 + .../recipes-tizen/terminology/terminology_git.bb | 8 + meta-tizen/recipes-tizen/test/test-extraconf.inc | 0 meta-tizen/recipes-tizen/test/test-native_git.bb | 12 + meta-tizen/recipes-tizen/test/test.inc | 107 + meta-tizen/recipes-tizen/test/test_git.bb | 8 + .../testkit-lite/testkit-lite-extraconf.inc | 0 .../testkit-lite/testkit-lite-native_git.bb | 12 + .../recipes-tizen/testkit-lite/testkit-lite.inc | 131 + .../recipes-tizen/testkit-lite/testkit-lite_git.bb | 8 + .../testkit-stub/testkit-stub-extraconf.inc | 0 .../testkit-stub/testkit-stub-native_git.bb | 12 + .../recipes-tizen/testkit-stub/testkit-stub.inc | 81 + .../recipes-tizen/testkit-stub/testkit-stub_git.bb | 8 + .../tethering/tethering-extraconf.inc | 0 .../tethering/tethering-native_git.bb | 12 + meta-tizen/recipes-tizen/tethering/tethering.inc | 118 + .../recipes-tizen/tethering/tethering_git.bb | 8 + .../recipes-tizen/texinfo/texinfo-extraconf.inc | 0 meta-tizen/recipes-tizen/texinfo/texinfo.inc | 223 + .../tickernoti/tickernoti-extraconf.inc | 0 meta-tizen/recipes-tizen/tickernoti/tickernoti.inc | 31 + meta-tizen/recipes-tizen/tiff/tiff-extraconf.inc | 0 meta-tizen/recipes-tizen/tiff/tiff-native_git.bb | 12 + meta-tizen/recipes-tizen/tiff/tiff.inc | 159 + meta-tizen/recipes-tizen/tiff/tiff_git.bb | 8 + meta-tizen/recipes-tizen/time/time-extraconf.inc | 0 meta-tizen/recipes-tizen/time/time-native_git.bb | 12 + meta-tizen/recipes-tizen/time/time.inc | 111 + meta-tizen/recipes-tizen/time/time_git.bb | 8 + .../tizen-branding-default-extraconf.inc | 0 .../tizen-branding-default-native_git.bb | 12 + .../tizen-branding-default.inc | 79 + .../tizen-branding-default_git.bb | 8 + .../tizen-extensions-crosswalk-extraconf.inc | 0 .../tizen-extensions-crosswalk.inc | 61 + .../tizen-platform-config-extraconf.inc | 0 .../tizen-platform-config-native_git.bb | 12 + .../tizen-platform-config.inc | 153 + .../tizen-platform-config_git.bb | 8 + .../tizen-platform-wrapper-extraconf.inc | 0 .../tizen-platform-wrapper-native_git.bb | 12 + .../tizen-platform-wrapper.inc | 102 + .../tizen-platform-wrapper_git.bb | 8 + .../tizen-release/tizen-release-extraconf.inc | 0 .../tizen-release/tizen-release-native_git.bb | 12 + .../recipes-tizen/tizen-release/tizen-release.inc | 170 + .../tizen-release/tizen-release_git.bb | 8 + meta-tizen/recipes-tizen/tk/tk-extraconf.inc | 0 meta-tizen/recipes-tizen/tk/tk.inc | 40 + meta-tizen/recipes-tizen/tlm/tlm-extraconf.inc | 0 meta-tizen/recipes-tizen/tlm/tlm-native_git.bb | 12 + meta-tizen/recipes-tizen/tlm/tlm.inc | 148 + meta-tizen/recipes-tizen/tlm/tlm_git.bb | 8 + .../recipes-tizen/tolua++/tolua++-extraconf.inc | 0 .../recipes-tizen/tolua++/tolua++-native_git.bb | 12 + meta-tizen/recipes-tizen/tolua++/tolua++.inc | 94 + meta-tizen/recipes-tizen/tolua++/tolua++_git.bb | 8 + .../tone-player/tone-player-extraconf.inc | 0 .../tone-player/tone-player-native_git.bb | 12 + .../recipes-tizen/tone-player/tone-player.inc | 121 + .../recipes-tizen/tone-player/tone-player_git.bb | 8 + meta-tizen/recipes-tizen/tree/tree-extraconf.inc | 0 meta-tizen/recipes-tizen/tree/tree-native_git.bb | 12 + meta-tizen/recipes-tizen/tree/tree.inc | 74 + meta-tizen/recipes-tizen/tree/tree_git.bb | 8 + meta-tizen/recipes-tizen/tts/tts-extraconf.inc | 0 meta-tizen/recipes-tizen/tts/tts-native_git.bb | 12 + meta-tizen/recipes-tizen/tts/tts.inc | 135 + meta-tizen/recipes-tizen/tts/tts_git.bb | 8 + .../recipes-tizen/tzdata/tzdata-extraconf.inc | 0 .../recipes-tizen/tzdata/tzdata-native_git.bb | 12 + meta-tizen/recipes-tizen/tzdata/tzdata.inc | 104 + meta-tizen/recipes-tizen/tzdata/tzdata_git.bb | 8 + meta-tizen/recipes-tizen/udhcp/udhcp-extraconf.inc | 0 meta-tizen/recipes-tizen/udhcp/udhcp-native_git.bb | 12 + meta-tizen/recipes-tizen/udhcp/udhcp.inc | 92 + meta-tizen/recipes-tizen/udhcp/udhcp_git.bb | 8 + .../udisks-automount-agent-extraconf.inc | 0 .../udisks-automount-agent-native_git.bb | 12 + .../udisks-automount-agent.inc | 118 + .../udisks-automount-agent_git.bb | 8 + .../recipes-tizen/udisks2/udisks2-extraconf.inc | 0 .../recipes-tizen/udisks2/udisks2-native_git.bb | 12 + meta-tizen/recipes-tizen/udisks2/udisks2.inc | 195 + meta-tizen/recipes-tizen/udisks2/udisks2_git.bb | 8 + .../ug-setting-gallery-efl-extraconf.inc | 0 .../ug-setting-gallery-efl.inc | 29 + .../ug-setting-homescreen-efl-extraconf.inc | 0 .../ug-setting-homescreen-efl.inc | 29 + .../ug-setting-location-efl-extraconf.inc | 0 .../ug-setting-location-efl.inc | 30 + .../ui-gadget-1/ui-gadget-1-extraconf.inc | 0 .../ui-gadget-1/ui-gadget-1-native_git.bb | 12 + .../recipes-tizen/ui-gadget-1/ui-gadget-1.inc | 137 + .../recipes-tizen/ui-gadget-1/ui-gadget-1_git.bb | 8 + meta-tizen/recipes-tizen/uim/uim-extraconf.inc | 0 meta-tizen/recipes-tizen/uim/uim-native_git.bb | 12 + meta-tizen/recipes-tizen/uim/uim.inc | 72 + meta-tizen/recipes-tizen/uim/uim_git.bb | 8 + .../recipes-tizen/unifdef/unifdef-extraconf.inc | 0 meta-tizen/recipes-tizen/unifdef/unifdef.inc | 73 + meta-tizen/recipes-tizen/unifdef/unifdef_git.bb | 8 + meta-tizen/recipes-tizen/unzip/unzip-extraconf.inc | 0 meta-tizen/recipes-tizen/unzip/unzip-native_git.bb | 12 + meta-tizen/recipes-tizen/unzip/unzip.inc | 76 + meta-tizen/recipes-tizen/unzip/unzip_git.bb | 8 + .../update-alternatives-extraconf.inc | 0 .../update-alternatives-native_git.bb | 12 + .../update-alternatives/update-alternatives.inc | 108 + .../update-alternatives/update-alternatives_git.bb | 8 + .../update-desktop-files-extraconf.inc | 0 .../update-desktop-files-native_git.bb | 12 + .../update-desktop-files/update-desktop-files.inc | 89 + .../update-desktop-files_git.bb | 8 + .../url-download/url-download-extraconf.inc | 0 .../url-download/url-download-native_git.bb | 12 + .../recipes-tizen/url-download/url-download.inc | 120 + .../recipes-tizen/url-download/url-download_git.bb | 8 + .../usb-accessory/usb-accessory-extraconf.inc | 0 .../usb-accessory/usb-accessory-native_git.bb | 12 + .../recipes-tizen/usb-accessory/usb-accessory.inc | 121 + .../usb-accessory/usb-accessory_git.bb | 8 + .../usb-manager/usb-manager-extraconf.inc | 0 .../usb-manager/usb-manager-native_git.bb | 12 + .../recipes-tizen/usb-manager/usb-manager.inc | 104 + .../recipes-tizen/usb-manager/usb-manager_git.bb | 8 + .../usb-syspopup/usb-syspopup-extraconf.inc | 0 .../recipes-tizen/usb-syspopup/usb-syspopup.inc | 34 + .../recipes-tizen/usbutils/usbutils-extraconf.inc | 0 .../recipes-tizen/usbutils/usbutils-native_git.bb | 12 + meta-tizen/recipes-tizen/usbutils/usbutils.inc | 110 + meta-tizen/recipes-tizen/usbutils/usbutils_git.bb | 8 + .../user-session-units-extraconf.inc | 0 .../user-session-units-native_git.bb | 12 + .../user-session-units/user-session-units.inc | 164 + .../user-session-units/user-session-units_git.bb | 8 + .../recipes-tizen/usleep/usleep-extraconf.inc | 0 .../recipes-tizen/usleep/usleep-native_git.bb | 12 + meta-tizen/recipes-tizen/usleep/usleep.inc | 103 + meta-tizen/recipes-tizen/usleep/usleep_git.bb | 8 + .../recipes-tizen/utempter/utempter-extraconf.inc | 0 .../recipes-tizen/utempter/utempter-native_git.bb | 12 + meta-tizen/recipes-tizen/utempter/utempter.inc | 87 + meta-tizen/recipes-tizen/utempter/utempter_git.bb | 8 + .../recipes-tizen/uthash/uthash-extraconf.inc | 0 .../recipes-tizen/uthash/uthash-native_git.bb | 12 + meta-tizen/recipes-tizen/uthash/uthash.inc | 80 + meta-tizen/recipes-tizen/uthash/uthash_git.bb | 8 + .../util-linux/util-linux-extraconf.inc | 0 meta-tizen/recipes-tizen/util-linux/util-linux.inc | 443 + .../recipes-tizen/util-linux/util-linux_git.bb | 8 + .../util-macros/util-macros-extraconf.inc | 0 .../util-macros/util-macros-native_git.bb | 12 + .../recipes-tizen/util-macros/util-macros.inc | 112 + .../recipes-tizen/util-macros/util-macros_git.bb | 8 + .../uw-imap-toolkit/uw-imap-toolkit-extraconf.inc | 0 .../uw-imap-toolkit/uw-imap-toolkit-native_git.bb | 12 + .../uw-imap-toolkit/uw-imap-toolkit.inc | 132 + .../uw-imap-toolkit/uw-imap-toolkit_git.bb | 8 + .../v4l-utils/v4l-utils-extraconf.inc | 0 .../v4l-utils/v4l-utils-native_git.bb | 12 + meta-tizen/recipes-tizen/v4l-utils/v4l-utils.inc | 137 + .../recipes-tizen/v4l-utils/v4l-utils_git.bb | 8 + meta-tizen/recipes-tizen/v8/v8-extraconf.inc | 0 meta-tizen/recipes-tizen/v8/v8-native_git.bb | 12 + meta-tizen/recipes-tizen/v8/v8.inc | 128 + meta-tizen/recipes-tizen/v8/v8_git.bb | 8 + meta-tizen/recipes-tizen/vala/vala-extraconf.inc | 0 meta-tizen/recipes-tizen/vala/vala-native_git.bb | 12 + meta-tizen/recipes-tizen/vala/vala.inc | 166 + meta-tizen/recipes-tizen/vala/vala_git.bb | 8 + .../recipes-tizen/valgrind/valgrind-extraconf.inc | 0 .../recipes-tizen/valgrind/valgrind-native_git.bb | 12 + meta-tizen/recipes-tizen/valgrind/valgrind.inc | 235 + meta-tizen/recipes-tizen/valgrind/valgrind_git.bb | 8 + .../vconf-internal-keys-extraconf.inc | 0 .../vconf-internal-keys-native_git.bb | 12 + .../vconf-internal-keys/vconf-internal-keys.inc | 103 + .../vconf-internal-keys/vconf-internal-keys_git.bb | 8 + meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc | 0 meta-tizen/recipes-tizen/vconf/vconf-native_git.bb | 12 + meta-tizen/recipes-tizen/vconf/vconf.inc | 154 + meta-tizen/recipes-tizen/vconf/vconf_git.bb | 8 + .../recipes-tizen/vconfig/vconfig-extraconf.inc | 0 .../recipes-tizen/vconfig/vconfig-native_git.bb | 12 + meta-tizen/recipes-tizen/vconfig/vconfig.inc | 78 + meta-tizen/recipes-tizen/vconfig/vconfig_git.bb | 8 + .../videoproto/videoproto-extraconf.inc | 0 .../videoproto/videoproto-native_git.bb | 12 + meta-tizen/recipes-tizen/videoproto/videoproto.inc | 117 + .../recipes-tizen/videoproto/videoproto_git.bb | 8 + meta-tizen/recipes-tizen/vim/vim-extraconf.inc | 0 meta-tizen/recipes-tizen/vim/vim-native_git.bb | 12 + meta-tizen/recipes-tizen/vim/vim.inc | 470 + meta-tizen/recipes-tizen/vim/vim_git.bb | 8 + meta-tizen/recipes-tizen/vpnc/vpnc-extraconf.inc | 0 meta-tizen/recipes-tizen/vpnc/vpnc-native_git.bb | 12 + meta-tizen/recipes-tizen/vpnc/vpnc.inc | 94 + meta-tizen/recipes-tizen/vpnc/vpnc_git.bb | 8 + .../wav-player/wav-player-extraconf.inc | 0 .../wav-player/wav-player-native_git.bb | 12 + meta-tizen/recipes-tizen/wav-player/wav-player.inc | 120 + .../recipes-tizen/wav-player/wav-player_git.bb | 8 + .../recipes-tizen/wayland/wayland-extraconf.inc | 0 .../recipes-tizen/wayland/wayland-native_git.bb | 12 + meta-tizen/recipes-tizen/wayland/wayland.inc | 198 + meta-tizen/recipes-tizen/wayland/wayland_git.bb | 8 + meta-tizen/recipes-tizen/wdiff/wdiff-extraconf.inc | 0 meta-tizen/recipes-tizen/wdiff/wdiff-native_git.bb | 12 + meta-tizen/recipes-tizen/wdiff/wdiff.inc | 115 + meta-tizen/recipes-tizen/wdiff/wdiff_git.bb | 8 + .../web-ui-fw/web-ui-fw-extraconf.inc | 0 .../web-ui-fw/web-ui-fw-native_git.bb | 12 + meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw.inc | 140 + .../recipes-tizen/web-ui-fw/web-ui-fw_git.bb | 8 + .../webkit-efl/webkit-efl-extraconf.inc | 0 meta-tizen/recipes-tizen/webkit-efl/webkit-efl.inc | 44 + .../weekeyboard/weekeyboard-extraconf.inc | 0 .../weekeyboard/weekeyboard-native_git.bb | 12 + .../recipes-tizen/weekeyboard/weekeyboard.inc | 116 + .../recipes-tizen/weekeyboard/weekeyboard_git.bb | 8 + .../weston-generic/weston-generic-extraconf.inc | 0 .../weston-generic/weston-generic-native_git.bb | 12 + .../weston-generic/weston-generic.inc | 94 + .../weston-generic/weston-generic_git.bb | 8 + .../weston-ivi/weston-ivi-extraconf.inc | 0 meta-tizen/recipes-tizen/weston-ivi/weston-ivi.inc | 36 + .../recipes-tizen/weston/weston-extraconf.inc | 0 .../recipes-tizen/weston/weston-native_git.bb | 12 + meta-tizen/recipes-tizen/weston/weston.inc | 208 + meta-tizen/recipes-tizen/weston/weston_git.bb | 8 + meta-tizen/recipes-tizen/wget/wget-extraconf.inc | 0 meta-tizen/recipes-tizen/wget/wget-native_git.bb | 12 + meta-tizen/recipes-tizen/wget/wget.inc | 123 + meta-tizen/recipes-tizen/wget/wget_git.bb | 8 + meta-tizen/recipes-tizen/which/which-extraconf.inc | 0 meta-tizen/recipes-tizen/which/which-native_git.bb | 12 + meta-tizen/recipes-tizen/which/which.inc | 113 + meta-tizen/recipes-tizen/which/which_git.bb | 8 + .../wifi-direct/wifi-direct-extraconf.inc | 0 .../wifi-direct/wifi-direct-native_git.bb | 12 + .../recipes-tizen/wifi-direct/wifi-direct.inc | 116 + .../recipes-tizen/wifi-direct/wifi-direct_git.bb | 8 + meta-tizen/recipes-tizen/wifi/wifi-extraconf.inc | 0 meta-tizen/recipes-tizen/wifi/wifi-native_git.bb | 12 + meta-tizen/recipes-tizen/wifi/wifi.inc | 125 + meta-tizen/recipes-tizen/wifi/wifi_git.bb | 8 + .../wireless-regdb/wireless-regdb-extraconf.inc | 0 .../wireless-regdb/wireless-regdb-native_git.bb | 12 + .../wireless-regdb/wireless-regdb.inc | 72 + .../wireless-regdb/wireless-regdb_git.bb | 8 + .../wpa-supplicant/wpa-supplicant-extraconf.inc | 0 .../wpa-supplicant/wpa-supplicant-native_git.bb | 12 + .../wpa-supplicant/wpa-supplicant.inc | 120 + .../wpa-supplicant/wpa-supplicant_git.bb | 8 + .../wrt-commons/wrt-commons-extraconf.inc | 0 .../wrt-commons/wrt-commons-native_git.bb | 12 + .../recipes-tizen/wrt-commons/wrt-commons.inc | 139 + .../recipes-tizen/wrt-commons/wrt-commons_git.bb | 8 + .../wrt-installer/wrt-installer-extraconf.inc | 0 .../recipes-tizen/wrt-installer/wrt-installer.inc | 35 + .../wrt-plugins-common-extraconf.inc | 0 .../wrt-plugins-common/wrt-plugins-common.inc | 44 + .../wrt-plugins-tizen-extraconf.inc | 0 .../wrt-plugins-tizen/wrt-plugins-tizen.inc | 36 + .../wrt-security/wrt-security-extraconf.inc | 0 .../wrt-security/wrt-security-native_git.bb | 12 + .../recipes-tizen/wrt-security/wrt-security.inc | 174 + .../recipes-tizen/wrt-security/wrt-security_git.bb | 8 + .../wrt-widgets/wrt-widgets-extraconf.inc | 0 .../wrt-widgets/wrt-widgets-native_git.bb | 12 + .../recipes-tizen/wrt-widgets/wrt-widgets.inc | 77 + .../recipes-tizen/wrt-widgets/wrt-widgets_git.bb | 8 + meta-tizen/recipes-tizen/wrt/wrt-extraconf.inc | 0 meta-tizen/recipes-tizen/wrt/wrt.inc | 45 + .../x11proto-gesture-extraconf.inc | 0 .../x11proto-gesture/x11proto-gesture.inc | 28 + .../recipes-tizen/x86info/x86info-extraconf.inc | 0 .../recipes-tizen/x86info/x86info-native_git.bb | 12 + meta-tizen/recipes-tizen/x86info/x86info.inc | 86 + meta-tizen/recipes-tizen/x86info/x86info_git.bb | 8 + meta-tizen/recipes-tizen/xauth/xauth-extraconf.inc | 0 meta-tizen/recipes-tizen/xauth/xauth.inc | 29 + .../recipes-tizen/xbitmaps/xbitmaps-extraconf.inc | 0 .../recipes-tizen/xbitmaps/xbitmaps-native_git.bb | 12 + meta-tizen/recipes-tizen/xbitmaps/xbitmaps.inc | 106 + meta-tizen/recipes-tizen/xbitmaps/xbitmaps_git.bb | 8 + .../xcb-proto/xcb-proto-extraconf.inc | 0 .../xcb-proto/xcb-proto-native_git.bb | 12 + meta-tizen/recipes-tizen/xcb-proto/xcb-proto.inc | 138 + .../recipes-tizen/xcb-proto/xcb-proto_git.bb | 8 + .../xcb-util-keysyms-extraconf.inc | 0 .../xcb-util-keysyms/xcb-util-keysyms.inc | 36 + .../recipes-tizen/xcb-util/xcb-util-extraconf.inc | 0 meta-tizen/recipes-tizen/xcb-util/xcb-util.inc | 36 + .../xcmiscproto/xcmiscproto-extraconf.inc | 0 .../xcmiscproto/xcmiscproto-native_git.bb | 12 + .../recipes-tizen/xcmiscproto/xcmiscproto.inc | 117 + .../recipes-tizen/xcmiscproto/xcmiscproto_git.bb | 8 + .../recipes-tizen/xconsole/xconsole-extraconf.inc | 0 meta-tizen/recipes-tizen/xconsole/xconsole.inc | 30 + .../recipes-tizen/xdelta1/xdelta1-extraconf.inc | 0 .../recipes-tizen/xdelta1/xdelta1-native_git.bb | 12 + meta-tizen/recipes-tizen/xdelta1/xdelta1.inc | 126 + meta-tizen/recipes-tizen/xdelta1/xdelta1_git.bb | 8 + .../xdg-user-dirs/xdg-user-dirs-extraconf.inc | 0 .../xdg-user-dirs/xdg-user-dirs-native_git.bb | 12 + .../recipes-tizen/xdg-user-dirs/xdg-user-dirs.inc | 123 + .../xdg-user-dirs/xdg-user-dirs_git.bb | 8 + .../xdg-utils/xdg-utils-extraconf.inc | 0 .../xdg-utils/xdg-utils-native_git.bb | 12 + meta-tizen/recipes-tizen/xdg-utils/xdg-utils.inc | 132 + .../recipes-tizen/xdg-utils/xdg-utils_git.bb | 8 + .../recipes-tizen/xdgmime/xdgmime-extraconf.inc | 0 .../recipes-tizen/xdgmime/xdgmime-native_git.bb | 12 + meta-tizen/recipes-tizen/xdgmime/xdgmime.inc | 114 + meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb | 8 + .../recipes-tizen/xdpyinfo/xdpyinfo-extraconf.inc | 0 meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo.inc | 28 + .../xextproto/xextproto-extraconf.inc | 0 .../xextproto/xextproto-native_git.bb | 12 + meta-tizen/recipes-tizen/xextproto/xextproto.inc | 117 + .../recipes-tizen/xextproto/xextproto_git.bb | 8 + .../xf86-input-evdev-extraconf.inc | 0 .../xf86-input-evdev/xf86-input-evdev.inc | 38 + .../xf86-input-keyboard-extraconf.inc | 0 .../xf86-input-keyboard/xf86-input-keyboard.inc | 29 + .../xf86-input-synaptics-extraconf.inc | 0 .../xf86-input-synaptics/xf86-input-synaptics.inc | 41 + .../xf86-video-cirrus-extraconf.inc | 0 .../xf86-video-cirrus/xf86-video-cirrus.inc | 32 + .../xf86-video-fbdev-extraconf.inc | 0 .../xf86-video-fbdev/xf86-video-fbdev.inc | 30 + .../xf86-video-vmware-extraconf.inc | 0 .../xf86-video-vmware/xf86-video-vmware.inc | 30 + .../xf86bigfontproto-extraconf.inc | 0 .../xf86bigfontproto-native_git.bb | 12 + .../xf86bigfontproto/xf86bigfontproto.inc | 117 + .../xf86bigfontproto/xf86bigfontproto_git.bb | 8 + .../xf86dgaproto/xf86dgaproto-extraconf.inc | 0 .../xf86dgaproto/xf86dgaproto-native_git.bb | 12 + .../recipes-tizen/xf86dgaproto/xf86dgaproto.inc | 118 + .../recipes-tizen/xf86dgaproto/xf86dgaproto_git.bb | 8 + .../xf86driproto/xf86driproto-extraconf.inc | 0 .../recipes-tizen/xf86driproto/xf86driproto.inc | 28 + .../xf86miscproto/xf86miscproto-extraconf.inc | 0 .../xf86miscproto/xf86miscproto-native_git.bb | 12 + .../recipes-tizen/xf86miscproto/xf86miscproto.inc | 117 + .../xf86miscproto/xf86miscproto_git.bb | 8 + .../xf86vidmodeproto-extraconf.inc | 0 .../xf86vidmodeproto-native_git.bb | 12 + .../xf86vidmodeproto/xf86vidmodeproto.inc | 116 + .../xf86vidmodeproto/xf86vidmodeproto_git.bb | 8 + meta-tizen/recipes-tizen/xhost/xhost-extraconf.inc | 0 meta-tizen/recipes-tizen/xhost/xhost.inc | 28 + .../xineramaproto/xineramaproto-extraconf.inc | 0 .../xineramaproto/xineramaproto-native_git.bb | 12 + .../recipes-tizen/xineramaproto/xineramaproto.inc | 116 + .../xineramaproto/xineramaproto_git.bb | 8 + meta-tizen/recipes-tizen/xinit/xinit-extraconf.inc | 0 meta-tizen/recipes-tizen/xinit/xinit.inc | 30 + .../recipes-tizen/xinput/xinput-extraconf.inc | 0 meta-tizen/recipes-tizen/xinput/xinput.inc | 28 + .../recipes-tizen/xkbcomp/xkbcomp-extraconf.inc | 0 meta-tizen/recipes-tizen/xkbcomp/xkbcomp.inc | 36 + .../recipes-tizen/xkbevd/xkbevd-extraconf.inc | 0 meta-tizen/recipes-tizen/xkbevd/xkbevd.inc | 29 + .../recipes-tizen/xkbprint/xkbprint-extraconf.inc | 0 meta-tizen/recipes-tizen/xkbprint/xkbprint.inc | 35 + .../recipes-tizen/xkbutils/xkbutils-extraconf.inc | 0 meta-tizen/recipes-tizen/xkbutils/xkbutils.inc | 37 + .../xkeyboard-config-extraconf.inc | 0 .../xkeyboard-config-native_git.bb | 12 + .../xkeyboard-config/xkeyboard-config.inc | 148 + .../xkeyboard-config/xkeyboard-config_git.bb | 8 + .../recipes-tizen/xlsatoms/xlsatoms-extraconf.inc | 0 meta-tizen/recipes-tizen/xlsatoms/xlsatoms.inc | 28 + .../xmlcharent/xmlcharent-extraconf.inc | 0 .../xmlcharent/xmlcharent-native_git.bb | 12 + meta-tizen/recipes-tizen/xmlcharent/xmlcharent.inc | 138 + .../recipes-tizen/xmlcharent/xmlcharent_git.bb | 8 + .../recipes-tizen/xmlsec1/xmlsec1-extraconf.inc | 0 .../recipes-tizen/xmlsec1/xmlsec1-native_git.bb | 12 + meta-tizen/recipes-tizen/xmlsec1/xmlsec1.inc | 170 + meta-tizen/recipes-tizen/xmlsec1/xmlsec1_git.bb | 8 + .../xmlstarlet/xmlstarlet-extraconf.inc | 0 .../xmlstarlet/xmlstarlet-native_git.bb | 12 + meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet.inc | 125 + .../recipes-tizen/xmlstarlet/xmlstarlet_git.bb | 8 + meta-tizen/recipes-tizen/xmlto/xmlto-extraconf.inc | 0 meta-tizen/recipes-tizen/xmlto/xmlto-native_git.bb | 12 + meta-tizen/recipes-tizen/xmlto/xmlto.inc | 140 + meta-tizen/recipes-tizen/xmlto/xmlto_git.bb | 8 + .../recipes-tizen/xmodmap/xmodmap-extraconf.inc | 0 meta-tizen/recipes-tizen/xmodmap/xmodmap.inc | 31 + .../xorg-cf-files/xorg-cf-files-extraconf.inc | 0 .../xorg-cf-files/xorg-cf-files-native_git.bb | 12 + .../recipes-tizen/xorg-cf-files/xorg-cf-files.inc | 153 + .../xorg-cf-files/xorg-cf-files_git.bb | 8 + .../xorg-launch-helper-extraconf.inc | 0 .../xorg-launch-helper-native_git.bb | 12 + .../xorg-launch-helper/xorg-launch-helper.inc | 120 + .../xorg-launch-helper/xorg-launch-helper_git.bb | 8 + .../xorg-server/xorg-server-extraconf.inc | 0 .../recipes-tizen/xorg-server/xorg-server.inc | 20 + .../xorg-x11-drv-evdev-extraconf.inc | 0 .../xorg-x11-drv-evdev/xorg-x11-drv-evdev.inc | 34 + meta-tizen/recipes-tizen/xprop/xprop-extraconf.inc | 0 meta-tizen/recipes-tizen/xprop/xprop.inc | 28 + .../recipes-tizen/xproto/xproto-extraconf.inc | 0 .../recipes-tizen/xproto/xproto-native_git.bb | 12 + meta-tizen/recipes-tizen/xproto/xproto.inc | 116 + meta-tizen/recipes-tizen/xproto/xproto_git.bb | 8 + .../recipes-tizen/xrandr/xrandr-extraconf.inc | 0 meta-tizen/recipes-tizen/xrandr/xrandr.inc | 28 + meta-tizen/recipes-tizen/xrdb/xrdb-extraconf.inc | 0 meta-tizen/recipes-tizen/xrdb/xrdb.inc | 29 + .../recipes-tizen/xrestop/xrestop-extraconf.inc | 0 meta-tizen/recipes-tizen/xrestop/xrestop.inc | 27 + meta-tizen/recipes-tizen/xset/xset-extraconf.inc | 0 meta-tizen/recipes-tizen/xset/xset.inc | 28 + .../recipes-tizen/xsetroot/xsetroot-extraconf.inc | 0 meta-tizen/recipes-tizen/xsetroot/xsetroot.inc | 29 + meta-tizen/recipes-tizen/xterm/xterm-extraconf.inc | 0 meta-tizen/recipes-tizen/xterm/xterm.inc | 53 + .../recipes-tizen/xtrans/xtrans-extraconf.inc | 0 .../recipes-tizen/xtrans/xtrans-native_git.bb | 12 + meta-tizen/recipes-tizen/xtrans/xtrans.inc | 103 + meta-tizen/recipes-tizen/xtrans/xtrans_git.bb | 8 + meta-tizen/recipes-tizen/xz/xz-extraconf.inc | 0 meta-tizen/recipes-tizen/xz/xz.inc | 170 + meta-tizen/recipes-tizen/xz/xz_git.bb | 8 + meta-tizen/recipes-tizen/yaml/yaml-extraconf.inc | 0 meta-tizen/recipes-tizen/yaml/yaml-native_git.bb | 12 + meta-tizen/recipes-tizen/yaml/yaml.inc | 122 + meta-tizen/recipes-tizen/yaml/yaml_git.bb | 8 + meta-tizen/recipes-tizen/yasm/yasm-extraconf.inc | 0 meta-tizen/recipes-tizen/yasm/yasm-native_git.bb | 12 + meta-tizen/recipes-tizen/yasm/yasm.inc | 92 + meta-tizen/recipes-tizen/yasm/yasm_git.bb | 8 + .../yum-metadata-parser-extraconf.inc | 0 .../yum-metadata-parser-native_git.bb | 12 + .../yum-metadata-parser/yum-metadata-parser.inc | 83 + .../yum-metadata-parser/yum-metadata-parser_git.bb | 8 + meta-tizen/recipes-tizen/yum/yum-extraconf.inc | 0 meta-tizen/recipes-tizen/yum/yum-native_git.bb | 12 + meta-tizen/recipes-tizen/yum/yum.inc | 148 + meta-tizen/recipes-tizen/yum/yum_git.bb | 8 + .../recipes-tizen/zeromq/zeromq-extraconf.inc | 0 .../recipes-tizen/zeromq/zeromq-native_git.bb | 12 + meta-tizen/recipes-tizen/zeromq/zeromq.inc | 141 + meta-tizen/recipes-tizen/zeromq/zeromq_git.bb | 8 + meta-tizen/recipes-tizen/zip/zip-extraconf.inc | 0 meta-tizen/recipes-tizen/zip/zip-native_git.bb | 12 + meta-tizen/recipes-tizen/zip/zip.inc | 88 + meta-tizen/recipes-tizen/zip/zip_git.bb | 8 + meta-tizen/recipes-tizen/zlib/zlib-extraconf.inc | 0 meta-tizen/recipes-tizen/zlib/zlib-native_git.bb | 12 + meta-tizen/recipes-tizen/zlib/zlib.inc | 205 + meta-tizen/recipes-tizen/zlib/zlib_git.bb | 8 + .../zypper-plugin/zypper-plugin-extraconf.inc | 0 .../zypper-plugin/zypper-plugin-native_git.bb | 12 + .../recipes-tizen/zypper-plugin/zypper-plugin.inc | 79 + .../zypper-plugin/zypper-plugin_git.bb | 8 + .../recipes-tizen/zypper/zypper-extraconf.inc | 0 .../recipes-tizen/zypper/zypper-native_git.bb | 12 + meta-tizen/recipes-tizen/zypper/zypper.inc | 157 + meta-tizen/recipes-tizen/zypper/zypper_git.bb | 8 + 3032 files changed, 144574 insertions(+) create mode 100644 meta-tizen/COPYING.MIT create mode 100644 meta-tizen/conf/layer.conf create mode 100644 meta-tizen/files/tizen-fs-perms.txt create mode 100644 meta-tizen/recipes-image/images/tizen-generic-core-image-minimal.bb create mode 100644 meta-tizen/recipes-image/images/tizen-generic-core-image.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Applications.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-Desktop.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-System.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Benchmarks.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Console-Tools.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Development.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Enlightenment.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Adaptation.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Applications.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Middleware.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Packaging.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-QA-Tools.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Wayland.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-X11.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Graphics-and-UI-Framework-X.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-PC-Adaptation.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Qt-Framework.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Wayland.bb create mode 100644 meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Web-Framework.bb create mode 100644 meta-tizen/recipes-tizen/GSSDP/GSSDP-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/GSSDP/GSSDP-native_git.bb create mode 100644 meta-tizen/recipes-tizen/GSSDP/GSSDP.inc create mode 100644 meta-tizen/recipes-tizen/GSSDP/GSSDP_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-native_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-native_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP/GUPnP-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP/GUPnP-native_git.bb create mode 100644 meta-tizen/recipes-tizen/GUPnP/GUPnP.inc create mode 100644 meta-tizen/recipes-tizen/GUPnP/GUPnP_git.bb create mode 100644 meta-tizen/recipes-tizen/SDL/SDL-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/SDL/SDL-native_git.bb create mode 100644 meta-tizen/recipes-tizen/SDL/SDL.inc create mode 100644 meta-tizen/recipes-tizen/SDL/SDL_git.bb create mode 100644 meta-tizen/recipes-tizen/acl/acl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/acl/acl.inc create mode 100644 meta-tizen/recipes-tizen/acl/acl/package_utilies.m4 create mode 100644 meta-tizen/recipes-tizen/acl/acl/relative-libdir.patch create mode 100644 meta-tizen/recipes-tizen/acl/acl_git.bb create mode 100644 meta-tizen/recipes-tizen/acpid/acpid-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/acpid/acpid-native_git.bb create mode 100644 meta-tizen/recipes-tizen/acpid/acpid.inc create mode 100644 meta-tizen/recipes-tizen/acpid/acpid_git.bb create mode 100644 meta-tizen/recipes-tizen/adns/adns-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/adns/adns-native_git.bb create mode 100644 meta-tizen/recipes-tizen/adns/adns.inc create mode 100644 meta-tizen/recipes-tizen/adns/adns_git.bb create mode 100644 meta-tizen/recipes-tizen/ail/ail-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ail/ail-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ail/ail.inc create mode 100644 meta-tizen/recipes-tizen/ail/ail_git.bb create mode 100644 meta-tizen/recipes-tizen/alarm-manager/alarm-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/alarm-manager/alarm-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc create mode 100644 meta-tizen/recipes-tizen/alarm-manager/alarm-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-lib/alsa-lib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/alsa-lib/alsa-lib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-lib/alsa-lib.inc create mode 100644 meta-tizen/recipes-tizen/alsa-lib/alsa-lib_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-native_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins.inc create mode 100644 meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc create mode 100644 meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-utils/alsa-utils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/alsa-utils/alsa-utils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/alsa-utils/alsa-utils.inc create mode 100644 meta-tizen/recipes-tizen/alsa-utils/alsa-utils_git.bb create mode 100644 meta-tizen/recipes-tizen/anthy/anthy-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/anthy/anthy-native_git.bb create mode 100644 meta-tizen/recipes-tizen/anthy/anthy.inc create mode 100644 meta-tizen/recipes-tizen/anthy/anthy_git.bb create mode 100644 meta-tizen/recipes-tizen/app-checker/app-checker-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app-checker/app-checker-native_git.bb create mode 100644 meta-tizen/recipes-tizen/app-checker/app-checker.inc create mode 100644 meta-tizen/recipes-tizen/app-checker/app-checker_git.bb create mode 100644 meta-tizen/recipes-tizen/app-core/app-core-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app-core/app-core-native_git.bb create mode 100644 meta-tizen/recipes-tizen/app-core/app-core.inc create mode 100644 meta-tizen/recipes-tizen/app-core/app-core_git.bb create mode 100644 meta-tizen/recipes-tizen/app-manager/app-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app-manager/app-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/app-manager/app-manager.inc create mode 100644 meta-tizen/recipes-tizen/app-manager/app-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/app-selector/app-selector-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app-selector/app-selector.inc create mode 100644 meta-tizen/recipes-tizen/app-svc/app-svc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app-svc/app-svc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/app-svc/app-svc.inc create mode 100644 meta-tizen/recipes-tizen/app-svc/app-svc_git.bb create mode 100644 meta-tizen/recipes-tizen/app2sd/app2sd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/app2sd/app2sd-native_git.bb create mode 100644 meta-tizen/recipes-tizen/app2sd/app2sd.inc create mode 100644 meta-tizen/recipes-tizen/app2sd/app2sd_git.bb create mode 100644 meta-tizen/recipes-tizen/appcore-agent/appcore-agent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/appcore-agent/appcore-agent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc create mode 100644 meta-tizen/recipes-tizen/appcore-agent/appcore-agent_git.bb create mode 100644 meta-tizen/recipes-tizen/application/application-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/application/application-native_git.bb create mode 100644 meta-tizen/recipes-tizen/application/application.inc create mode 100644 meta-tizen/recipes-tizen/application/application_git.bb create mode 100644 meta-tizen/recipes-tizen/asciidoc/asciidoc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/asciidoc/asciidoc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/asciidoc/asciidoc.inc create mode 100644 meta-tizen/recipes-tizen/asciidoc/asciidoc_git.bb create mode 100644 meta-tizen/recipes-tizen/aspell/aspell-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/aspell/aspell-native_git.bb create mode 100644 meta-tizen/recipes-tizen/aspell/aspell.inc create mode 100644 meta-tizen/recipes-tizen/aspell/aspell_git.bb create mode 100644 meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk.inc create mode 100644 meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core.inc create mode 100644 meta-tizen/recipes-tizen/atk/atk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/atk/atk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/atk/atk.inc create mode 100644 meta-tizen/recipes-tizen/atk/atk_git.bb create mode 100644 meta-tizen/recipes-tizen/attr/attr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/attr/attr.inc create mode 100644 meta-tizen/recipes-tizen/attr/attr/package_utilies.m4 create mode 100644 meta-tizen/recipes-tizen/attr/attr/relative-libdir.patch create mode 100644 meta-tizen/recipes-tizen/attr/attr_git.bb create mode 100644 meta-tizen/recipes-tizen/audio-io/audio-io-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/audio-io/audio-io-native_git.bb create mode 100644 meta-tizen/recipes-tizen/audio-io/audio-io.inc create mode 100644 meta-tizen/recipes-tizen/audio-io/audio-io_git.bb create mode 100644 meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc create mode 100644 meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/augeas/augeas-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/augeas/augeas-native_git.bb create mode 100644 meta-tizen/recipes-tizen/augeas/augeas.inc create mode 100644 meta-tizen/recipes-tizen/augeas/augeas_git.bb create mode 100644 meta-tizen/recipes-tizen/aul-1/aul-1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/aul-1/aul-1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/aul-1/aul-1.inc create mode 100644 meta-tizen/recipes-tizen/aul-1/aul-1_git.bb create mode 100644 meta-tizen/recipes-tizen/autoconf/autoconf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/autoconf/autoconf.inc create mode 100644 meta-tizen/recipes-tizen/autoconf/autoconf_git.bb create mode 100644 meta-tizen/recipes-tizen/autoconf213/autoconf213-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/autoconf213/autoconf213-native_git.bb create mode 100644 meta-tizen/recipes-tizen/autoconf213/autoconf213.inc create mode 100644 meta-tizen/recipes-tizen/autoconf213/autoconf213_git.bb create mode 100644 meta-tizen/recipes-tizen/automake/automake-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/automake/automake.inc create mode 100644 meta-tizen/recipes-tizen/avahi/avahi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/avahi/avahi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/avahi/avahi.inc create mode 100644 meta-tizen/recipes-tizen/avahi/avahi_git.bb create mode 100644 meta-tizen/recipes-tizen/avsystem/avsystem-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/avsystem/avsystem-native_git.bb create mode 100644 meta-tizen/recipes-tizen/avsystem/avsystem.inc create mode 100644 meta-tizen/recipes-tizen/avsystem/avsystem_git.bb create mode 100644 meta-tizen/recipes-tizen/badge/badge-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/badge/badge-native_git.bb create mode 100644 meta-tizen/recipes-tizen/badge/badge.inc create mode 100644 meta-tizen/recipes-tizen/badge/badge_git.bb create mode 100644 meta-tizen/recipes-tizen/bash/bash-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bash/bash.inc create mode 100644 meta-tizen/recipes-tizen/bc/bc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bc/bc.inc create mode 100644 meta-tizen/recipes-tizen/bc/bc/0001-Fix-cross-build.patch create mode 100644 meta-tizen/recipes-tizen/bdftopcf/bdftopcf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bdftopcf/bdftopcf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bdftopcf/bdftopcf.inc create mode 100644 meta-tizen/recipes-tizen/bdftopcf/bdftopcf_git.bb create mode 100644 meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto.inc create mode 100644 meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto_git.bb create mode 100644 meta-tizen/recipes-tizen/binutils/binutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/binutils/binutils.inc create mode 100644 meta-tizen/recipes-tizen/binutils/binutils/fix_build.patch create mode 100644 meta-tizen/recipes-tizen/bison/bison-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bison/bison.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth/bluetooth-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth/bluetooth-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bluetooth/bluetooth.inc create mode 100644 meta-tizen/recipes-tizen/bluetooth/bluetooth_git.bb create mode 100644 meta-tizen/recipes-tizen/bluez/bluez-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bluez/bluez-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bluez/bluez.inc create mode 100644 meta-tizen/recipes-tizen/bluez/bluez_git.bb create mode 100644 meta-tizen/recipes-tizen/bmap-tools/bmap-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bmap-tools/bmap-tools.inc create mode 100644 meta-tizen/recipes-tizen/boost-jam/boost-jam-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/boost-jam/boost-jam-native_git.bb create mode 100644 meta-tizen/recipes-tizen/boost-jam/boost-jam.inc create mode 100644 meta-tizen/recipes-tizen/boost-jam/boost-jam_git.bb create mode 100644 meta-tizen/recipes-tizen/boost/boost-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/boost/boost-native_git.bb create mode 100644 meta-tizen/recipes-tizen/boost/boost.inc create mode 100644 meta-tizen/recipes-tizen/boost/boost_git.bb create mode 100644 meta-tizen/recipes-tizen/boot-animation/boot-animation-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/boot-animation/boot-animation.inc create mode 100644 meta-tizen/recipes-tizen/bootchart/bootchart-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bootchart/bootchart-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bootchart/bootchart.inc create mode 100644 meta-tizen/recipes-tizen/bootchart/bootchart_git.bb create mode 100644 meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup.inc create mode 100644 meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs.inc create mode 100644 meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs_git.bb create mode 100644 meta-tizen/recipes-tizen/build-compare/build-compare-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/build-compare/build-compare-native_git.bb create mode 100644 meta-tizen/recipes-tizen/build-compare/build-compare.inc create mode 100644 meta-tizen/recipes-tizen/build-compare/build-compare_git.bb create mode 100644 meta-tizen/recipes-tizen/build/build-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/build/build-native_git.bb create mode 100644 meta-tizen/recipes-tizen/build/build.inc create mode 100644 meta-tizen/recipes-tizen/build/build_git.bb create mode 100644 meta-tizen/recipes-tizen/bundle/bundle-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bundle/bundle-native_git.bb create mode 100644 meta-tizen/recipes-tizen/bundle/bundle.inc create mode 100644 meta-tizen/recipes-tizen/bundle/bundle_git.bb create mode 100644 meta-tizen/recipes-tizen/busybox/busybox-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/busybox/busybox-native_git.bb create mode 100644 meta-tizen/recipes-tizen/busybox/busybox.inc create mode 100644 meta-tizen/recipes-tizen/busybox/busybox_git.bb create mode 100644 meta-tizen/recipes-tizen/buxton/buxton-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/buxton/buxton-native_git.bb create mode 100644 meta-tizen/recipes-tizen/buxton/buxton.inc create mode 100644 meta-tizen/recipes-tizen/buxton/buxton_git.bb create mode 100644 meta-tizen/recipes-tizen/byacc/byacc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/byacc/byacc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/byacc/byacc.inc create mode 100644 meta-tizen/recipes-tizen/byacc/byacc_git.bb create mode 100644 meta-tizen/recipes-tizen/bzip2/bzip2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/bzip2/bzip2.inc create mode 100644 meta-tizen/recipes-tizen/bzip2/bzip2_git.bb create mode 100644 meta-tizen/recipes-tizen/c-ares/c-ares-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/c-ares/c-ares-native_git.bb create mode 100644 meta-tizen/recipes-tizen/c-ares/c-ares.inc create mode 100644 meta-tizen/recipes-tizen/c-ares/c-ares_git.bb create mode 100644 meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla.inc create mode 100644 meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla_git.bb create mode 100644 meta-tizen/recipes-tizen/ca-certificates/ca-certificates-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ca-certificates/ca-certificates-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ca-certificates/ca-certificates.inc create mode 100644 meta-tizen/recipes-tizen/ca-certificates/ca-certificates_git.bb create mode 100644 meta-tizen/recipes-tizen/cairo/cairo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cairo/cairo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cairo/cairo.inc create mode 100644 meta-tizen/recipes-tizen/cairo/cairo_git.bb create mode 100644 meta-tizen/recipes-tizen/calculator/calculator-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/calculator/calculator-native_git.bb create mode 100644 meta-tizen/recipes-tizen/calculator/calculator.inc create mode 100644 meta-tizen/recipes-tizen/calculator/calculator_git.bb create mode 100644 meta-tizen/recipes-tizen/calendar-service/calendar-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/calendar-service/calendar-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/calendar-service/calendar-service.inc create mode 100644 meta-tizen/recipes-tizen/calendar-service/calendar-service_git.bb create mode 100644 meta-tizen/recipes-tizen/call/call-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/call/call-native_git.bb create mode 100644 meta-tizen/recipes-tizen/call/call.inc create mode 100644 meta-tizen/recipes-tizen/call/call_git.bb create mode 100644 meta-tizen/recipes-tizen/camera/camera-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/camera/camera.inc create mode 100644 meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts.inc create mode 100644 meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts_git.bb create mode 100644 meta-tizen/recipes-tizen/ccache/ccache-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ccache/ccache-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ccache/ccache.inc create mode 100644 meta-tizen/recipes-tizen/ccache/ccache_git.bb create mode 100644 meta-tizen/recipes-tizen/cdrkit/cdrkit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cdrkit/cdrkit-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cdrkit/cdrkit.inc create mode 100644 meta-tizen/recipes-tizen/cdrkit/cdrkit_git.bb create mode 100644 meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui.inc create mode 100644 meta-tizen/recipes-tizen/cert-svc/cert-svc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cert-svc/cert-svc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cert-svc/cert-svc.inc create mode 100644 meta-tizen/recipes-tizen/cert-svc/cert-svc_git.bb create mode 100644 meta-tizen/recipes-tizen/check/check-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/check/check-native_git.bb create mode 100644 meta-tizen/recipes-tizen/check/check.inc create mode 100644 meta-tizen/recipes-tizen/check/check_git.bb create mode 100644 meta-tizen/recipes-tizen/chromium/chromium-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/chromium/chromium-native_git.bb create mode 100644 meta-tizen/recipes-tizen/chromium/chromium.inc create mode 100644 meta-tizen/recipes-tizen/chromium/chromium_git.bb create mode 100644 meta-tizen/recipes-tizen/chrpath/chrpath-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/chrpath/chrpath-native_git.bb create mode 100644 meta-tizen/recipes-tizen/chrpath/chrpath.inc create mode 100644 meta-tizen/recipes-tizen/chrpath/chrpath_git.bb create mode 100644 meta-tizen/recipes-tizen/cloog-isl/cloog-isl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cloog-isl/cloog-isl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cloog-isl/cloog-isl.inc create mode 100644 meta-tizen/recipes-tizen/cloog-isl/cloog-isl_git.bb create mode 100644 meta-tizen/recipes-tizen/cloog/cloog-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cloog/cloog-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cloog/cloog.inc create mode 100644 meta-tizen/recipes-tizen/cloog/cloog_git.bb create mode 100644 meta-tizen/recipes-tizen/cmake/cmake-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cmake/cmake.inc create mode 100644 meta-tizen/recipes-tizen/cmake/cmake_git.bb create mode 100644 meta-tizen/recipes-tizen/com-core/com-core-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/com-core/com-core-native_git.bb create mode 100644 meta-tizen/recipes-tizen/com-core/com-core.inc create mode 100644 meta-tizen/recipes-tizen/com-core/com-core_git.bb create mode 100644 meta-tizen/recipes-tizen/common/common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/common/common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/common/common.inc create mode 100644 meta-tizen/recipes-tizen/common/common_git.bb create mode 100644 meta-tizen/recipes-tizen/compositeproto/compositeproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/compositeproto/compositeproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/compositeproto/compositeproto.inc create mode 100644 meta-tizen/recipes-tizen/compositeproto/compositeproto_git.bb create mode 100644 meta-tizen/recipes-tizen/config/config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/config/config-native_git.bb create mode 100644 meta-tizen/recipes-tizen/config/config.inc create mode 100644 meta-tizen/recipes-tizen/config/config_git.bb create mode 100644 meta-tizen/recipes-tizen/connection/connection-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/connection/connection-native_git.bb create mode 100644 meta-tizen/recipes-tizen/connection/connection.inc create mode 100644 meta-tizen/recipes-tizen/connection/connection_git.bb create mode 100644 meta-tizen/recipes-tizen/connman/connman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/connman/connman-native_git.bb create mode 100644 meta-tizen/recipes-tizen/connman/connman.inc create mode 100644 meta-tizen/recipes-tizen/connman/connman_git.bb create mode 100644 meta-tizen/recipes-tizen/contacts-service/contacts-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/contacts-service/contacts-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/contacts-service/contacts-service.inc create mode 100644 meta-tizen/recipes-tizen/contacts-service/contacts-service_git.bb create mode 100644 meta-tizen/recipes-tizen/coreutils/coreutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/coreutils/coreutils.inc create mode 100644 meta-tizen/recipes-tizen/corewatcher/corewatcher-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/corewatcher/corewatcher-native_git.bb create mode 100644 meta-tizen/recipes-tizen/corewatcher/corewatcher.inc create mode 100644 meta-tizen/recipes-tizen/corewatcher/corewatcher_git.bb create mode 100644 meta-tizen/recipes-tizen/cpio/cpio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cpio/cpio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cpio/cpio.inc create mode 100644 meta-tizen/recipes-tizen/cpio/cpio_git.bb create mode 100644 meta-tizen/recipes-tizen/crda/crda-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/crda/crda-native_git.bb create mode 100644 meta-tizen/recipes-tizen/crda/crda.inc create mode 100644 meta-tizen/recipes-tizen/crda/crda_git.bb create mode 100644 meta-tizen/recipes-tizen/createrepo/createrepo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/createrepo/createrepo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/createrepo/createrepo.inc create mode 100644 meta-tizen/recipes-tizen/createrepo/createrepo_git.bb create mode 100644 meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils.inc create mode 100644 meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils_git.bb create mode 100644 meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-native_git.bb create mode 100644 meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git.inc create mode 100644 meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git_git.bb create mode 100644 meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/crosswalk/crosswalk.inc create mode 100644 meta-tizen/recipes-tizen/cscope/cscope-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cscope/cscope-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cscope/cscope.inc create mode 100644 meta-tizen/recipes-tizen/cscope/cscope_git.bb create mode 100644 meta-tizen/recipes-tizen/csr-framework/csr-framework-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/csr-framework/csr-framework-native_git.bb create mode 100644 meta-tizen/recipes-tizen/csr-framework/csr-framework.inc create mode 100644 meta-tizen/recipes-tizen/csr-framework/csr-framework_git.bb create mode 100644 meta-tizen/recipes-tizen/ctags/ctags-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ctags/ctags-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ctags/ctags.inc create mode 100644 meta-tizen/recipes-tizen/ctags/ctags_git.bb create mode 100644 meta-tizen/recipes-tizen/cups/cups-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/cups/cups-native_git.bb create mode 100644 meta-tizen/recipes-tizen/cups/cups.inc create mode 100644 meta-tizen/recipes-tizen/cups/cups_git.bb create mode 100644 meta-tizen/recipes-tizen/curl/curl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/curl/curl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/curl/curl.inc create mode 100644 meta-tizen/recipes-tizen/curl/curl_git.bb create mode 100644 meta-tizen/recipes-tizen/dLeyna/dLeyna-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dLeyna/dLeyna-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dLeyna/dLeyna.inc create mode 100644 meta-tizen/recipes-tizen/dLeyna/dLeyna_git.bb create mode 100644 meta-tizen/recipes-tizen/damageproto/damageproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/damageproto/damageproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/damageproto/damageproto.inc create mode 100644 meta-tizen/recipes-tizen/damageproto/damageproto_git.bb create mode 100644 meta-tizen/recipes-tizen/dash/dash-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dash/dash-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dash/dash.inc create mode 100644 meta-tizen/recipes-tizen/dash/dash_git.bb create mode 100644 meta-tizen/recipes-tizen/data-provider-master/data-provider-master-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/data-provider-master/data-provider-master.inc create mode 100644 meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave.inc create mode 100644 meta-tizen/recipes-tizen/data-router/data-router-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/data-router/data-router-native_git.bb create mode 100644 meta-tizen/recipes-tizen/data-router/data-router.inc create mode 100644 meta-tizen/recipes-tizen/data-router/data-router_git.bb create mode 100644 meta-tizen/recipes-tizen/db4/db4-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/db4/db4-native_git.bb create mode 100644 meta-tizen/recipes-tizen/db4/db4.inc create mode 100644 meta-tizen/recipes-tizen/db4/db4_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus-glib/dbus-glib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dbus-glib/dbus-glib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus-glib/dbus-glib.inc create mode 100644 meta-tizen/recipes-tizen/dbus-glib/dbus-glib_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python.inc create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus/dbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dbus/dbus.inc create mode 100644 meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-native_git.bb create mode 100644 meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains.inc create mode 100644 meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains_git.bb create mode 100644 meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk.inc create mode 100644 meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk_git.bb create mode 100644 meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk.inc create mode 100644 meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk_git.bb create mode 100644 meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts.inc create mode 100644 meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts_git.bb create mode 100644 meta-tizen/recipes-tizen/deltarpm/deltarpm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/deltarpm/deltarpm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/deltarpm/deltarpm.inc create mode 100644 meta-tizen/recipes-tizen/deltarpm/deltarpm_git.bb create mode 100644 meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils.inc create mode 100644 meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils_git.bb create mode 100644 meta-tizen/recipes-tizen/desktop-skin/desktop-skin-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/desktop-skin/desktop-skin-native_git.bb create mode 100644 meta-tizen/recipes-tizen/desktop-skin/desktop-skin.inc create mode 100644 meta-tizen/recipes-tizen/desktop-skin/desktop-skin_git.bb create mode 100644 meta-tizen/recipes-tizen/device-config-touch/device-config-touch-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/device-config-touch/device-config-touch-native_git.bb create mode 100644 meta-tizen/recipes-tizen/device-config-touch/device-config-touch.inc create mode 100644 meta-tizen/recipes-tizen/device-config-touch/device-config-touch_git.bb create mode 100644 meta-tizen/recipes-tizen/device-mapper/device-mapper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/device-mapper/device-mapper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/device-mapper/device-mapper.inc create mode 100644 meta-tizen/recipes-tizen/device-mapper/device-mapper_git.bb create mode 100644 meta-tizen/recipes-tizen/device/device-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/device/device-native_git.bb create mode 100644 meta-tizen/recipes-tizen/device/device.inc create mode 100644 meta-tizen/recipes-tizen/device/device_git.bb create mode 100644 meta-tizen/recipes-tizen/devman/devman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/devman/devman-native_git.bb create mode 100644 meta-tizen/recipes-tizen/devman/devman.inc create mode 100644 meta-tizen/recipes-tizen/devman/devman_git.bb create mode 100644 meta-tizen/recipes-tizen/diffutils/diffutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/diffutils/diffutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/diffutils/diffutils.inc create mode 100644 meta-tizen/recipes-tizen/diffutils/diffutils_git.bb create mode 100644 meta-tizen/recipes-tizen/dlog/dlog-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dlog/dlog-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dlog/dlog.inc create mode 100644 meta-tizen/recipes-tizen/dlog/dlog_git.bb create mode 100644 meta-tizen/recipes-tizen/dmidecode/dmidecode-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dmidecode/dmidecode-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dmidecode/dmidecode.inc create mode 100644 meta-tizen/recipes-tizen/dmidecode/dmidecode_git.bb create mode 100644 meta-tizen/recipes-tizen/dmxproto/dmxproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dmxproto/dmxproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dmxproto/dmxproto.inc create mode 100644 meta-tizen/recipes-tizen/dmxproto/dmxproto_git.bb create mode 100644 meta-tizen/recipes-tizen/dnsmasq/dnsmasq-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dnsmasq/dnsmasq-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dnsmasq/dnsmasq.inc create mode 100644 meta-tizen/recipes-tizen/dnsmasq/dnsmasq_git.bb create mode 100644 meta-tizen/recipes-tizen/docbook-4/docbook-4-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/docbook-4/docbook-4-native_git.bb create mode 100644 meta-tizen/recipes-tizen/docbook-4/docbook-4.inc create mode 100644 meta-tizen/recipes-tizen/docbook-4/docbook-4_git.bb create mode 100644 meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-native_git.bb create mode 100644 meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets.inc create mode 100644 meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets_git.bb create mode 100644 meta-tizen/recipes-tizen/dos2unix/dos2unix-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dos2unix/dos2unix-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dos2unix/dos2unix.inc create mode 100644 meta-tizen/recipes-tizen/dos2unix/dos2unix_git.bb create mode 100644 meta-tizen/recipes-tizen/dosfstools/dosfstools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dosfstools/dosfstools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dosfstools/dosfstools.inc create mode 100644 meta-tizen/recipes-tizen/dosfstools/dosfstools_git.bb create mode 100644 meta-tizen/recipes-tizen/download-provider/download-provider-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/download-provider/download-provider-native_git.bb create mode 100644 meta-tizen/recipes-tizen/download-provider/download-provider.inc create mode 100644 meta-tizen/recipes-tizen/download-provider/download-provider_git.bb create mode 100644 meta-tizen/recipes-tizen/doxygen/doxygen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/doxygen/doxygen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/doxygen/doxygen.inc create mode 100644 meta-tizen/recipes-tizen/doxygen/doxygen_git.bb create mode 100644 meta-tizen/recipes-tizen/dracut/dracut-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dracut/dracut-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dracut/dracut.inc create mode 100644 meta-tizen/recipes-tizen/dracut/dracut_git.bb create mode 100644 meta-tizen/recipes-tizen/draglock/draglock-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/draglock/draglock.inc create mode 100644 meta-tizen/recipes-tizen/dri2proto/dri2proto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dri2proto/dri2proto.inc create mode 100644 meta-tizen/recipes-tizen/drm-client/drm-client-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/drm-client/drm-client-native_git.bb create mode 100644 meta-tizen/recipes-tizen/drm-client/drm-client.inc create mode 100644 meta-tizen/recipes-tizen/drm-client/drm-client_git.bb create mode 100644 meta-tizen/recipes-tizen/dukgenerator/dukgenerator-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dukgenerator/dukgenerator-native_git.bb create mode 100644 meta-tizen/recipes-tizen/dukgenerator/dukgenerator.inc create mode 100644 meta-tizen/recipes-tizen/dukgenerator/dukgenerator_git.bb create mode 100644 meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs.inc create mode 100644 meta-tizen/recipes-tizen/econnman/econnman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/econnman/econnman.inc create mode 100644 meta-tizen/recipes-tizen/ecore/ecore-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ecore/ecore-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ecore/ecore.inc create mode 100644 meta-tizen/recipes-tizen/ecore/ecore_git.bb create mode 100644 meta-tizen/recipes-tizen/ed/ed-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ed/ed-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ed/ed.inc create mode 100644 meta-tizen/recipes-tizen/ed/ed_git.bb create mode 100644 meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/edbus/edbus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/edbus/edbus.inc create mode 100644 meta-tizen/recipes-tizen/edbus/edbus_git.bb create mode 100644 meta-tizen/recipes-tizen/edje/edje-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/edje/edje-native_git.bb create mode 100644 meta-tizen/recipes-tizen/edje/edje.inc create mode 100644 meta-tizen/recipes-tizen/edje/edje_git.bb create mode 100644 meta-tizen/recipes-tizen/eet/eet-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/eet/eet-native_git.bb create mode 100644 meta-tizen/recipes-tizen/eet/eet.inc create mode 100644 meta-tizen/recipes-tizen/eet/eet_git.bb create mode 100644 meta-tizen/recipes-tizen/eeze/eeze-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/eeze/eeze-native_git.bb create mode 100644 meta-tizen/recipes-tizen/eeze/eeze.inc create mode 100644 meta-tizen/recipes-tizen/eeze/eeze_git.bb create mode 100644 meta-tizen/recipes-tizen/efi-shell/efi-shell-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efi-shell/efi-shell-native_git.bb create mode 100644 meta-tizen/recipes-tizen/efi-shell/efi-shell.inc create mode 100644 meta-tizen/recipes-tizen/efi-shell/efi-shell_git.bb create mode 100644 meta-tizen/recipes-tizen/efl-assist/efl-assist-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efl-assist/efl-assist-native_git.bb create mode 100644 meta-tizen/recipes-tizen/efl-assist/efl-assist.inc create mode 100644 meta-tizen/recipes-tizen/efl-assist/efl-assist_git.bb create mode 100644 meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc create mode 100644 meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb create mode 100644 meta-tizen/recipes-tizen/efl-util/efl-util-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efl-util/efl-util.inc create mode 100644 meta-tizen/recipes-tizen/efreet/efreet-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efreet/efreet-native_git.bb create mode 100644 meta-tizen/recipes-tizen/efreet/efreet.inc create mode 100644 meta-tizen/recipes-tizen/efreet/efreet_git.bb create mode 100644 meta-tizen/recipes-tizen/eina/eina-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/eina/eina-native_git.bb create mode 100644 meta-tizen/recipes-tizen/eina/eina.inc create mode 100644 meta-tizen/recipes-tizen/eina/eina_git.bb create mode 100644 meta-tizen/recipes-tizen/eio/eio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/eio/eio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/eio/eio.inc create mode 100644 meta-tizen/recipes-tizen/eio/eio_git.bb create mode 100644 meta-tizen/recipes-tizen/eldbus/eldbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/eldbus/eldbus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/eldbus/eldbus.inc create mode 100644 meta-tizen/recipes-tizen/eldbus/eldbus_git.bb create mode 100644 meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/elementary/elementary-native_git.bb create mode 100644 meta-tizen/recipes-tizen/elementary/elementary.inc create mode 100644 meta-tizen/recipes-tizen/elementary/elementary_git.bb create mode 100644 meta-tizen/recipes-tizen/elfutils/elfutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/elfutils/elfutils.inc create mode 100644 meta-tizen/recipes-tizen/elm-misc/elm-misc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/elm-misc/elm-misc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/elm-misc/elm-misc.inc create mode 100644 meta-tizen/recipes-tizen/elm-misc/elm-misc_git.bb create mode 100644 meta-tizen/recipes-tizen/email-service/email-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/email-service/email-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/email-service/email-service.inc create mode 100644 meta-tizen/recipes-tizen/email-service/email-service_git.bb create mode 100644 meta-tizen/recipes-tizen/email/email-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/email/email.inc create mode 100644 meta-tizen/recipes-tizen/embryo/embryo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/embryo/embryo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/embryo/embryo.inc create mode 100644 meta-tizen/recipes-tizen/embryo/embryo_git.bb create mode 100644 meta-tizen/recipes-tizen/emotion/emotion-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/emotion/emotion-native_git.bb create mode 100644 meta-tizen/recipes-tizen/emotion/emotion.inc create mode 100644 meta-tizen/recipes-tizen/emotion/emotion_git.bb create mode 100644 meta-tizen/recipes-tizen/emulator-macros/emulator-macros-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/emulator-macros/emulator-macros-native_git.bb create mode 100644 meta-tizen/recipes-tizen/emulator-macros/emulator-macros.inc create mode 100644 meta-tizen/recipes-tizen/emulator-macros/emulator-macros_git.bb create mode 100644 meta-tizen/recipes-tizen/enchant/enchant-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/enchant/enchant-native_git.bb create mode 100644 meta-tizen/recipes-tizen/enchant/enchant.inc create mode 100644 meta-tizen/recipes-tizen/enchant/enchant_git.bb create mode 100644 meta-tizen/recipes-tizen/enlightenment/enlightenment-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/enlightenment/enlightenment.inc create mode 100644 meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-native_git.bb create mode 100644 meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.inc create mode 100644 meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr_git.bb create mode 100644 meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-native_git.bb create mode 100644 meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage.inc create mode 100644 meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage_git.bb create mode 100644 meta-tizen/recipes-tizen/ethumb/ethumb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ethumb/ethumb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ethumb/ethumb.inc create mode 100644 meta-tizen/recipes-tizen/ethumb/ethumb_git.bb create mode 100644 meta-tizen/recipes-tizen/evas/evas-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/evas/evas-native_git.bb create mode 100644 meta-tizen/recipes-tizen/evas/evas.inc create mode 100644 meta-tizen/recipes-tizen/evas/evas_git.bb create mode 100644 meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server.inc create mode 100644 meta-tizen/recipes-tizen/expat/expat-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/expat/expat-native_git.bb create mode 100644 meta-tizen/recipes-tizen/expat/expat.inc create mode 100644 meta-tizen/recipes-tizen/expect/expect-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/expect/expect-native_git.bb create mode 100644 meta-tizen/recipes-tizen/expect/expect.inc create mode 100644 meta-tizen/recipes-tizen/expect/expect_git.bb create mode 100644 meta-tizen/recipes-tizen/expedite/expedite-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/expedite/expedite.inc create mode 100644 meta-tizen/recipes-tizen/favorites/favorites-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/favorites/favorites-native_git.bb create mode 100644 meta-tizen/recipes-tizen/favorites/favorites.inc create mode 100644 meta-tizen/recipes-tizen/favorites/favorites_git.bb create mode 100644 meta-tizen/recipes-tizen/fdupes/fdupes-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fdupes/fdupes-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fdupes/fdupes.inc create mode 100644 meta-tizen/recipes-tizen/fdupes/fdupes_git.bb create mode 100644 meta-tizen/recipes-tizen/file/file-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/file/file.inc create mode 100644 meta-tizen/recipes-tizen/filesystem/filesystem-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/filesystem/filesystem-native_git.bb create mode 100644 meta-tizen/recipes-tizen/filesystem/filesystem.inc create mode 100644 meta-tizen/recipes-tizen/filesystem/filesystem_git.bb create mode 100644 meta-tizen/recipes-tizen/findutils/findutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/findutils/findutils.inc create mode 100644 meta-tizen/recipes-tizen/findutils/findutils/findutils_fix_doc.patch create mode 100644 meta-tizen/recipes-tizen/fixesproto/fixesproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fixesproto/fixesproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fixesproto/fixesproto.inc create mode 100644 meta-tizen/recipes-tizen/fixesproto/fixesproto_git.bb create mode 100644 meta-tizen/recipes-tizen/flac/flac-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/flac/flac-native_git.bb create mode 100644 meta-tizen/recipes-tizen/flac/flac.inc create mode 100644 meta-tizen/recipes-tizen/flac/flac_git.bb create mode 100644 meta-tizen/recipes-tizen/flex/flex-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/flex/flex.inc create mode 100644 meta-tizen/recipes-tizen/flex/flex_git.bb create mode 100644 meta-tizen/recipes-tizen/folks/folks-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/folks/folks-native_git.bb create mode 100644 meta-tizen/recipes-tizen/folks/folks.inc create mode 100644 meta-tizen/recipes-tizen/folks/folks_git.bb create mode 100644 meta-tizen/recipes-tizen/font-util/font-util-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/font-util/font-util-native_git.bb create mode 100644 meta-tizen/recipes-tizen/font-util/font-util.inc create mode 100644 meta-tizen/recipes-tizen/font-util/font-util_git.bb create mode 100644 meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto.inc create mode 100644 meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto_git.bb create mode 100644 meta-tizen/recipes-tizen/fontconfig/fontconfig-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fontconfig/fontconfig-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fontconfig/fontconfig.inc create mode 100644 meta-tizen/recipes-tizen/fontconfig/fontconfig_git.bb create mode 100644 meta-tizen/recipes-tizen/fontsproto/fontsproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fontsproto/fontsproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fontsproto/fontsproto.inc create mode 100644 meta-tizen/recipes-tizen/fontsproto/fontsproto_git.bb create mode 100644 meta-tizen/recipes-tizen/freealut/freealut-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/freealut/freealut-native_git.bb create mode 100644 meta-tizen/recipes-tizen/freealut/freealut.inc create mode 100644 meta-tizen/recipes-tizen/freealut/freealut_git.bb create mode 100644 meta-tizen/recipes-tizen/freeglut/freeglut-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/freeglut/freeglut.inc create mode 100644 meta-tizen/recipes-tizen/freetype2/freetype2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/freetype2/freetype2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/freetype2/freetype2.inc create mode 100644 meta-tizen/recipes-tizen/freetype2/freetype2_git.bb create mode 100644 meta-tizen/recipes-tizen/fribidi/fribidi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fribidi/fribidi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fribidi/fribidi.inc create mode 100644 meta-tizen/recipes-tizen/fribidi/fribidi_git.bb create mode 100644 meta-tizen/recipes-tizen/fsync/fsync-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fsync/fsync-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fsync/fsync.inc create mode 100644 meta-tizen/recipes-tizen/fsync/fsync_git.bb create mode 100644 meta-tizen/recipes-tizen/fuse/fuse-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/fuse/fuse-native_git.bb create mode 100644 meta-tizen/recipes-tizen/fuse/fuse.inc create mode 100644 meta-tizen/recipes-tizen/fuse/fuse_git.bb create mode 100644 meta-tizen/recipes-tizen/gawk/gawk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gawk/gawk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gawk/gawk.inc create mode 100644 meta-tizen/recipes-tizen/gawk/gawk_git.bb create mode 100644 meta-tizen/recipes-tizen/gcc/gcc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gcc/gcc.inc create mode 100644 meta-tizen/recipes-tizen/gcc48/gcc48-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gcc48/gcc48-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gcc48/gcc48.inc create mode 100644 meta-tizen/recipes-tizen/gcc48/gcc48_git.bb create mode 100644 meta-tizen/recipes-tizen/gccmakedep/gccmakedep-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gccmakedep/gccmakedep-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gccmakedep/gccmakedep.inc create mode 100644 meta-tizen/recipes-tizen/gccmakedep/gccmakedep_git.bb create mode 100644 meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus.inc create mode 100644 meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus_git.bb create mode 100644 meta-tizen/recipes-tizen/gcr/gcr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gcr/gcr-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gcr/gcr.inc create mode 100644 meta-tizen/recipes-tizen/gcr/gcr_git.bb create mode 100644 meta-tizen/recipes-tizen/gdb/gdb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gdb/gdb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gdb/gdb.inc create mode 100644 meta-tizen/recipes-tizen/gdb/gdb_git.bb create mode 100644 meta-tizen/recipes-tizen/gdbm/gdbm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gdbm/gdbm.inc create mode 100644 meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf.inc create mode 100644 meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf_git.bb create mode 100644 meta-tizen/recipes-tizen/geocoder/geocoder-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/geocoder/geocoder-native_git.bb create mode 100644 meta-tizen/recipes-tizen/geocoder/geocoder.inc create mode 100644 meta-tizen/recipes-tizen/geocoder/geocoder_git.bb create mode 100644 meta-tizen/recipes-tizen/gettext/gettext-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gettext/gettext.inc create mode 100644 meta-tizen/recipes-tizen/giflib/giflib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/giflib/giflib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/giflib/giflib.inc create mode 100644 meta-tizen/recipes-tizen/giflib/giflib_git.bb create mode 100644 meta-tizen/recipes-tizen/git/git-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/git/git-native_git.bb create mode 100644 meta-tizen/recipes-tizen/git/git.inc create mode 100644 meta-tizen/recipes-tizen/git/git_git.bb create mode 100644 meta-tizen/recipes-tizen/glib-networking/glib-networking-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/glib-networking/glib-networking-native_git.bb create mode 100644 meta-tizen/recipes-tizen/glib-networking/glib-networking.inc create mode 100644 meta-tizen/recipes-tizen/glib-networking/glib-networking_git.bb create mode 100644 meta-tizen/recipes-tizen/glib/glib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/glib/glib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/glib/glib.inc create mode 100644 meta-tizen/recipes-tizen/glib/glib_git.bb create mode 100644 meta-tizen/recipes-tizen/glibc/glibc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/glibc/glibc.inc create mode 100644 meta-tizen/recipes-tizen/glproto/glproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/glproto/glproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/glproto/glproto.inc create mode 100644 meta-tizen/recipes-tizen/glproto/glproto_git.bb create mode 100644 meta-tizen/recipes-tizen/gmp/gmp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gmp/gmp.inc create mode 100644 meta-tizen/recipes-tizen/gmp/gmp/gmp_fix_for_automake-1.12.patch create mode 100644 meta-tizen/recipes-tizen/gnome-common/gnome-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gnome-common/gnome-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gnome-common/gnome-common.inc create mode 100644 meta-tizen/recipes-tizen/gnome-common/gnome-common_git.bb create mode 100644 meta-tizen/recipes-tizen/gnu-efi/gnu-efi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gnu-efi/gnu-efi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gnu-efi/gnu-efi.inc create mode 100644 meta-tizen/recipes-tizen/gnu-efi/gnu-efi_git.bb create mode 100644 meta-tizen/recipes-tizen/gnutls/gnutls-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gnutls/gnutls-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gnutls/gnutls.inc create mode 100644 meta-tizen/recipes-tizen/gnutls/gnutls_git.bb create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb create mode 100644 meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-native_git.bb create mode 100644 meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts.inc create mode 100644 meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts_git.bb create mode 100644 meta-tizen/recipes-tizen/gperf/gperf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gperf/gperf.inc create mode 100644 meta-tizen/recipes-tizen/gpg2/gpg2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gpg2/gpg2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gpg2/gpg2.inc create mode 100644 meta-tizen/recipes-tizen/gpg2/gpg2_git.bb create mode 100644 meta-tizen/recipes-tizen/gpgme/gpgme-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gpgme/gpgme-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gpgme/gpgme.inc create mode 100644 meta-tizen/recipes-tizen/gpgme/gpgme_git.bb create mode 100644 meta-tizen/recipes-tizen/gptfdisk/gptfdisk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gptfdisk/gptfdisk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gptfdisk/gptfdisk.inc create mode 100644 meta-tizen/recipes-tizen/gptfdisk/gptfdisk_git.bb create mode 100644 meta-tizen/recipes-tizen/grep/grep-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/grep/grep-native_git.bb create mode 100644 meta-tizen/recipes-tizen/grep/grep.inc create mode 100644 meta-tizen/recipes-tizen/grep/grep_git.bb create mode 100644 meta-tizen/recipes-tizen/groff/groff-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/groff/groff-native_git.bb create mode 100644 meta-tizen/recipes-tizen/groff/groff.inc create mode 100644 meta-tizen/recipes-tizen/groff/groff_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-common/gst-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-common/gst-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-common/gst-common.inc create mode 100644 meta-tizen/recipes-tizen/gst-common/gst-common_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-libav/gst-libav-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-libav/gst-libav-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-libav/gst-libav.inc create mode 100644 meta-tizen/recipes-tizen/gst-libav/gst-libav_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly.inc create mode 100644 meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly_git.bb create mode 100644 meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi.inc create mode 100644 meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi_git.bb create mode 100644 meta-tizen/recipes-tizen/gstreamer/gstreamer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gstreamer/gstreamer-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gstreamer/gstreamer.inc create mode 100644 meta-tizen/recipes-tizen/gstreamer/gstreamer_git.bb create mode 100644 meta-tizen/recipes-tizen/gtest/gtest-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gtest/gtest-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gtest/gtest.inc create mode 100644 meta-tizen/recipes-tizen/gtest/gtest_git.bb create mode 100644 meta-tizen/recipes-tizen/gtk-doc/gtk-doc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gtk-doc/gtk-doc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gtk-doc/gtk-doc.inc create mode 100644 meta-tizen/recipes-tizen/gtk-doc/gtk-doc_git.bb create mode 100644 meta-tizen/recipes-tizen/gumd/gumd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gumd/gumd.inc create mode 100644 meta-tizen/recipes-tizen/gummiboot/gummiboot-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gummiboot/gummiboot-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gummiboot/gummiboot.inc create mode 100644 meta-tizen/recipes-tizen/gummiboot/gummiboot_git.bb create mode 100644 meta-tizen/recipes-tizen/gzip/gzip-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gzip/gzip-native_git.bb create mode 100644 meta-tizen/recipes-tizen/gzip/gzip.inc create mode 100644 meta-tizen/recipes-tizen/gzip/gzip_git.bb create mode 100644 meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen.inc create mode 100644 meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen_git.bb create mode 100644 meta-tizen/recipes-tizen/haptic/haptic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/haptic/haptic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/haptic/haptic.inc create mode 100644 meta-tizen/recipes-tizen/haptic/haptic_git.bb create mode 100644 meta-tizen/recipes-tizen/hardlink/hardlink-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hardlink/hardlink-native_git.bb create mode 100644 meta-tizen/recipes-tizen/hardlink/hardlink.inc create mode 100644 meta-tizen/recipes-tizen/hardlink/hardlink_git.bb create mode 100644 meta-tizen/recipes-tizen/harfbuzz/harfbuzz-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/harfbuzz/harfbuzz-native_git.bb create mode 100644 meta-tizen/recipes-tizen/harfbuzz/harfbuzz.inc create mode 100644 meta-tizen/recipes-tizen/harfbuzz/harfbuzz_git.bb create mode 100644 meta-tizen/recipes-tizen/hash-signer/hash-signer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hash-signer/hash-signer-native_git.bb create mode 100644 meta-tizen/recipes-tizen/hash-signer/hash-signer.inc create mode 100644 meta-tizen/recipes-tizen/hash-signer/hash-signer_git.bb create mode 100644 meta-tizen/recipes-tizen/heap-monitor/heap-monitor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/heap-monitor/heap-monitor-native_git.bb create mode 100644 meta-tizen/recipes-tizen/heap-monitor/heap-monitor.inc create mode 100644 meta-tizen/recipes-tizen/heap-monitor/heap-monitor_git.bb create mode 100644 meta-tizen/recipes-tizen/help2man/help2man-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/help2man/help2man.inc create mode 100644 meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/heynoti/heynoti-native_git.bb create mode 100644 meta-tizen/recipes-tizen/heynoti/heynoti.inc create mode 100644 meta-tizen/recipes-tizen/heynoti/heynoti_git.bb create mode 100644 meta-tizen/recipes-tizen/hostname/hostname-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hostname/hostname-native_git.bb create mode 100644 meta-tizen/recipes-tizen/hostname/hostname.inc create mode 100644 meta-tizen/recipes-tizen/hostname/hostname_git.bb create mode 100644 meta-tizen/recipes-tizen/hplip/hplip-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hplip/hplip.inc create mode 100644 meta-tizen/recipes-tizen/hunspell/hunspell-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hunspell/hunspell-native_git.bb create mode 100644 meta-tizen/recipes-tizen/hunspell/hunspell.inc create mode 100644 meta-tizen/recipes-tizen/hunspell/hunspell_git.bb create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata-native_git.bb create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata.inc create mode 100644 meta-tizen/recipes-tizen/hwdata/hwdata_git.bb create mode 100644 meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul.inc create mode 100644 meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin.inc create mode 100644 meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin_git.bb create mode 100644 meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ibus/ibus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ibus/ibus.inc create mode 100644 meta-tizen/recipes-tizen/ibus/ibus_git.bb create mode 100644 meta-tizen/recipes-tizen/icecream/icecream-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/icecream/icecream-native_git.bb create mode 100644 meta-tizen/recipes-tizen/icecream/icecream.inc create mode 100644 meta-tizen/recipes-tizen/icecream/icecream_git.bb create mode 100644 meta-tizen/recipes-tizen/icu/icu-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/icu/icu-native_git.bb create mode 100644 meta-tizen/recipes-tizen/icu/icu.inc create mode 100644 meta-tizen/recipes-tizen/icu/icu_git.bb create mode 100644 meta-tizen/recipes-tizen/image-configurations/image-configurations-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/image-configurations/image-configurations.inc create mode 100644 meta-tizen/recipes-tizen/image-util/image-util-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/image-util/image-util-native_git.bb create mode 100644 meta-tizen/recipes-tizen/image-util/image-util.inc create mode 100644 meta-tizen/recipes-tizen/image-util/image-util_git.bb create mode 100644 meta-tizen/recipes-tizen/image-viewer/image-viewer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/image-viewer/image-viewer.inc create mode 100644 meta-tizen/recipes-tizen/imake/imake-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/imake/imake-native_git.bb create mode 100644 meta-tizen/recipes-tizen/imake/imake.inc create mode 100644 meta-tizen/recipes-tizen/imake/imake_git.bb create mode 100644 meta-tizen/recipes-tizen/iniparser/iniparser-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iniparser/iniparser-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iniparser/iniparser.inc create mode 100644 meta-tizen/recipes-tizen/iniparser/iniparser_git.bb create mode 100644 meta-tizen/recipes-tizen/inputproto/inputproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/inputproto/inputproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/inputproto/inputproto.inc create mode 100644 meta-tizen/recipes-tizen/inputproto/inputproto_git.bb create mode 100644 meta-tizen/recipes-tizen/intel-gpu-tools/intel-gpu-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/intel-gpu-tools/intel-gpu-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/intel-gpu-tools/intel-gpu-tools.inc create mode 100644 meta-tizen/recipes-tizen/intel-gpu-tools/intel-gpu-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/intltool/intltool-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/intltool/intltool-native_git.bb create mode 100644 meta-tizen/recipes-tizen/intltool/intltool.inc create mode 100644 meta-tizen/recipes-tizen/intltool/intltool_git.bb create mode 100644 meta-tizen/recipes-tizen/iproute2/iproute2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iproute2/iproute2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iproute2/iproute2.inc create mode 100644 meta-tizen/recipes-tizen/iproute2/iproute2_git.bb create mode 100644 meta-tizen/recipes-tizen/iptables/iptables-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iptables/iptables-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iptables/iptables.inc create mode 100644 meta-tizen/recipes-tizen/iptables/iptables_git.bb create mode 100644 meta-tizen/recipes-tizen/iputils/iputils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iputils/iputils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iputils/iputils.inc create mode 100644 meta-tizen/recipes-tizen/iputils/iputils_git.bb create mode 100644 meta-tizen/recipes-tizen/isl/isl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/isl/isl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/isl/isl.inc create mode 100644 meta-tizen/recipes-tizen/isl/isl_git.bb create mode 100644 meta-tizen/recipes-tizen/iso-codes/iso-codes-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iso-codes/iso-codes-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iso-codes/iso-codes.inc create mode 100644 meta-tizen/recipes-tizen/iso-codes/iso-codes_git.bb create mode 100644 meta-tizen/recipes-tizen/iso-ent/iso-ent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/iso-ent/iso-ent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/iso-ent/iso-ent.inc create mode 100644 meta-tizen/recipes-tizen/iso-ent/iso-ent_git.bb create mode 100644 meta-tizen/recipes-tizen/jasper/jasper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/jasper/jasper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/jasper/jasper.inc create mode 100644 meta-tizen/recipes-tizen/jasper/jasper_git.bb create mode 100644 meta-tizen/recipes-tizen/js/js-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/js/js-native_git.bb create mode 100644 meta-tizen/recipes-tizen/js/js.inc create mode 100644 meta-tizen/recipes-tizen/js/js_git.bb create mode 100644 meta-tizen/recipes-tizen/json-c/json-c-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/json-c/json-c-native_git.bb create mode 100644 meta-tizen/recipes-tizen/json-c/json-c.inc create mode 100644 meta-tizen/recipes-tizen/json-c/json-c_git.bb create mode 100644 meta-tizen/recipes-tizen/json-glib/json-glib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/json-glib/json-glib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/json-glib/json-glib.inc create mode 100644 meta-tizen/recipes-tizen/json-glib/json-glib_git.bb create mode 100644 meta-tizen/recipes-tizen/kbd/kbd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/kbd/kbd-native_git.bb create mode 100644 meta-tizen/recipes-tizen/kbd/kbd.inc create mode 100644 meta-tizen/recipes-tizen/kbd/kbd_git.bb create mode 100644 meta-tizen/recipes-tizen/kbproto/kbproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/kbproto/kbproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/kbproto/kbproto.inc create mode 100644 meta-tizen/recipes-tizen/kbproto/kbproto_git.bb create mode 100644 meta-tizen/recipes-tizen/kernel-generic/kernel-generic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/kernel-generic/kernel-generic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/kernel-generic/kernel-generic.inc create mode 100644 meta-tizen/recipes-tizen/kernel-generic/kernel-generic_git.bb create mode 100644 meta-tizen/recipes-tizen/keyutils/keyutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/keyutils/keyutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/keyutils/keyutils.inc create mode 100644 meta-tizen/recipes-tizen/keyutils/keyutils_git.bb create mode 100644 meta-tizen/recipes-tizen/kickstarter/kickstarter-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/kickstarter/kickstarter-native_git.bb create mode 100644 meta-tizen/recipes-tizen/kickstarter/kickstarter.inc create mode 100644 meta-tizen/recipes-tizen/kickstarter/kickstarter_git.bb create mode 100644 meta-tizen/recipes-tizen/kmod/kmod-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/kmod/kmod-native_git.bb create mode 100644 meta-tizen/recipes-tizen/kmod/kmod.inc create mode 100644 meta-tizen/recipes-tizen/kmod/kmod_git.bb create mode 100644 meta-tizen/recipes-tizen/krb5/krb5-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/krb5/krb5-native_git.bb create mode 100644 meta-tizen/recipes-tizen/krb5/krb5.inc create mode 100644 meta-tizen/recipes-tizen/krb5/krb5_git.bb create mode 100644 meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus.inc create mode 100644 meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus_git.bb create mode 100644 meta-tizen/recipes-tizen/lcms2/lcms2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lcms2/lcms2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lcms2/lcms2.inc create mode 100644 meta-tizen/recipes-tizen/lcms2/lcms2_git.bb create mode 100644 meta-tizen/recipes-tizen/less/less-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/less/less-native_git.bb create mode 100644 meta-tizen/recipes-tizen/less/less.inc create mode 100644 meta-tizen/recipes-tizen/less/less_git.bb create mode 100644 meta-tizen/recipes-tizen/leveldb/leveldb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/leveldb/leveldb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/leveldb/leveldb.inc create mode 100644 meta-tizen/recipes-tizen/leveldb/leveldb_git.bb create mode 100644 meta-tizen/recipes-tizen/libGLU/libGLU-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libGLU/libGLU.inc create mode 100644 meta-tizen/recipes-tizen/libICE/libICE-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libICE/libICE-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libICE/libICE.inc create mode 100644 meta-tizen/recipes-tizen/libICE/libICE_git.bb create mode 100644 meta-tizen/recipes-tizen/libSM/libSM-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libSM/libSM-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libSM/libSM.inc create mode 100644 meta-tizen/recipes-tizen/libSM/libSM_git.bb create mode 100644 meta-tizen/recipes-tizen/libX11/libX11-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libX11/libX11.inc create mode 100644 meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver.inc create mode 100644 meta-tizen/recipes-tizen/libXau/libXau-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXau/libXau-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libXau/libXau.inc create mode 100644 meta-tizen/recipes-tizen/libXau/libXau_git.bb create mode 100644 meta-tizen/recipes-tizen/libXaw/libXaw-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXaw/libXaw.inc create mode 100644 meta-tizen/recipes-tizen/libXcomposite/libXcomposite-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXcomposite/libXcomposite.inc create mode 100644 meta-tizen/recipes-tizen/libXcursor/libXcursor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXcursor/libXcursor.inc create mode 100644 meta-tizen/recipes-tizen/libXdamage/libXdamage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXdamage/libXdamage.inc create mode 100644 meta-tizen/recipes-tizen/libXdmcp/libXdmcp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXdmcp/libXdmcp-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libXdmcp/libXdmcp.inc create mode 100644 meta-tizen/recipes-tizen/libXdmcp/libXdmcp_git.bb create mode 100644 meta-tizen/recipes-tizen/libXext/libXext-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXext/libXext.inc create mode 100644 meta-tizen/recipes-tizen/libXfixes/libXfixes-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXfixes/libXfixes.inc create mode 100644 meta-tizen/recipes-tizen/libXfont/libXfont-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXfont/libXfont-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libXfont/libXfont.inc create mode 100644 meta-tizen/recipes-tizen/libXfont/libXfont_git.bb create mode 100644 meta-tizen/recipes-tizen/libXfontcache/libXfontcache-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXfontcache/libXfontcache.inc create mode 100644 meta-tizen/recipes-tizen/libXft/libXft-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXft/libXft.inc create mode 100644 meta-tizen/recipes-tizen/libXgesture/libXgesture-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXgesture/libXgesture.inc create mode 100644 meta-tizen/recipes-tizen/libXi/libXi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXi/libXi.inc create mode 100644 meta-tizen/recipes-tizen/libXinerama/libXinerama-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXinerama/libXinerama.inc create mode 100644 meta-tizen/recipes-tizen/libXmu/libXmu-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXmu/libXmu.inc create mode 100644 meta-tizen/recipes-tizen/libXpm/libXpm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXpm/libXpm.inc create mode 100644 meta-tizen/recipes-tizen/libXrandr/libXrandr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXrandr/libXrandr.inc create mode 100644 meta-tizen/recipes-tizen/libXrender/libXrender-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXrender/libXrender.inc create mode 100644 meta-tizen/recipes-tizen/libXres/libXres-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXres/libXres.inc create mode 100644 meta-tizen/recipes-tizen/libXt/libXt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXt/libXt.inc create mode 100644 meta-tizen/recipes-tizen/libXtst/libXtst-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXtst/libXtst.inc create mode 100644 meta-tizen/recipes-tizen/libXv/libXv-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXv/libXv.inc create mode 100644 meta-tizen/recipes-tizen/libXvMC/libXvMC-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXvMC/libXvMC.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm.inc create mode 100644 meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc.inc create mode 100644 meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb create mode 100644 meta-tizen/recipes-tizen/libaio/libaio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libaio/libaio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libaio/libaio.inc create mode 100644 meta-tizen/recipes-tizen/libaio/libaio_git.bb create mode 100644 meta-tizen/recipes-tizen/libarchive/libarchive-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libarchive/libarchive-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libarchive/libarchive.inc create mode 100644 meta-tizen/recipes-tizen/libarchive/libarchive_git.bb create mode 100644 meta-tizen/recipes-tizen/libassuan/libassuan-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libassuan/libassuan-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libassuan/libassuan.inc create mode 100644 meta-tizen/recipes-tizen/libassuan/libassuan_git.bb create mode 100644 meta-tizen/recipes-tizen/libasyncns/libasyncns-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libasyncns/libasyncns-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libasyncns/libasyncns.inc create mode 100644 meta-tizen/recipes-tizen/libasyncns/libasyncns_git.bb create mode 100644 meta-tizen/recipes-tizen/libatasmart/libatasmart-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libatasmart/libatasmart-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libatasmart/libatasmart.inc create mode 100644 meta-tizen/recipes-tizen/libatasmart/libatasmart_git.bb create mode 100644 meta-tizen/recipes-tizen/libav/libav-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libav/libav-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libav/libav.inc create mode 100644 meta-tizen/recipes-tizen/libav/libav_git.bb create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet.inc create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet_git.bb create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg.inc create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg_git.bb create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc.inc create mode 100644 meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc_git.bb create mode 100644 meta-tizen/recipes-tizen/libcap-ng/libcap-ng-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libcap-ng/libcap-ng-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libcap-ng/libcap-ng.inc create mode 100644 meta-tizen/recipes-tizen/libcap-ng/libcap-ng_git.bb create mode 100644 meta-tizen/recipes-tizen/libcap/libcap-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libcap/libcap.inc create mode 100644 meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc.inc create mode 100644 meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc_git.bb create mode 100644 meta-tizen/recipes-tizen/libdaemon/libdaemon-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdaemon/libdaemon-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libdaemon/libdaemon.inc create mode 100644 meta-tizen/recipes-tizen/libdaemon/libdaemon_git.bb create mode 100644 meta-tizen/recipes-tizen/libdatrie/libdatrie-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdatrie/libdatrie-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libdatrie/libdatrie.inc create mode 100644 meta-tizen/recipes-tizen/libdatrie/libdatrie_git.bb create mode 100644 meta-tizen/recipes-tizen/libdevice-node/libdevice-node-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdevice-node/libdevice-node-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc create mode 100644 meta-tizen/recipes-tizen/libdevice-node/libdevice-node_git.bb create mode 100644 meta-tizen/recipes-tizen/libdmx/libdmx-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdmx/libdmx.inc create mode 100644 meta-tizen/recipes-tizen/libdri2/libdri2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdri2/libdri2.inc create mode 100644 meta-tizen/recipes-tizen/libdrm/libdrm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libdrm/libdrm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libdrm/libdrm.inc create mode 100644 meta-tizen/recipes-tizen/libdrm/libdrm_git.bb create mode 100644 meta-tizen/recipes-tizen/libedit/libedit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libedit/libedit-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libedit/libedit.inc create mode 100644 meta-tizen/recipes-tizen/libedit/libedit_git.bb create mode 100644 meta-tizen/recipes-tizen/libelf0/libelf0-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libelf0/libelf0-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libelf0/libelf0.inc create mode 100644 meta-tizen/recipes-tizen/libelf0/libelf0_git.bb create mode 100644 meta-tizen/recipes-tizen/libevent/libevent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libevent/libevent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libevent/libevent.inc create mode 100644 meta-tizen/recipes-tizen/libevent/libevent_git.bb create mode 100644 meta-tizen/recipes-tizen/libexif/libexif-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libexif/libexif-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libexif/libexif.inc create mode 100644 meta-tizen/recipes-tizen/libexif/libexif_git.bb create mode 100644 meta-tizen/recipes-tizen/libffi/libffi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libffi/libffi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libffi/libffi.inc create mode 100644 meta-tizen/recipes-tizen/libffi/libffi_git.bb create mode 100644 meta-tizen/recipes-tizen/libfontenc/libfontenc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libfontenc/libfontenc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libfontenc/libfontenc.inc create mode 100644 meta-tizen/recipes-tizen/libfontenc/libfontenc_git.bb create mode 100644 meta-tizen/recipes-tizen/libgcrypt/libgcrypt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libgcrypt/libgcrypt-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libgcrypt/libgcrypt.inc create mode 100644 meta-tizen/recipes-tizen/libgcrypt/libgcrypt_git.bb create mode 100644 meta-tizen/recipes-tizen/libgee/libgee-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libgee/libgee-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libgee/libgee.inc create mode 100644 meta-tizen/recipes-tizen/libgee/libgee_git.bb create mode 100644 meta-tizen/recipes-tizen/libgpg-error/libgpg-error-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libgpg-error/libgpg-error-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libgpg-error/libgpg-error.inc create mode 100644 meta-tizen/recipes-tizen/libgpg-error/libgpg-error_git.bb create mode 100644 meta-tizen/recipes-tizen/libhangul/libhangul-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libhangul/libhangul-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libhangul/libhangul.inc create mode 100644 meta-tizen/recipes-tizen/libhangul/libhangul_git.bb create mode 100644 meta-tizen/recipes-tizen/libhaptic/libhaptic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libhaptic/libhaptic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libhaptic/libhaptic.inc create mode 100644 meta-tizen/recipes-tizen/libhaptic/libhaptic_git.bb create mode 100644 meta-tizen/recipes-tizen/libical/libical-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libical/libical-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libical/libical.inc create mode 100644 meta-tizen/recipes-tizen/libical/libical_git.bb create mode 100644 meta-tizen/recipes-tizen/libidn/libidn-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libidn/libidn-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libidn/libidn.inc create mode 100644 meta-tizen/recipes-tizen/libidn/libidn_git.bb create mode 100644 meta-tizen/recipes-tizen/libijs/libijs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libijs/libijs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libijs/libijs.inc create mode 100644 meta-tizen/recipes-tizen/libijs/libijs_git.bb create mode 100644 meta-tizen/recipes-tizen/libiri/libiri-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libiri/libiri-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libiri/libiri.inc create mode 100644 meta-tizen/recipes-tizen/libiri/libiri_git.bb create mode 100644 meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc create mode 100644 meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb create mode 100644 meta-tizen/recipes-tizen/libjpeg6/libjpeg6-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libjpeg6/libjpeg6-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libjpeg6/libjpeg6.inc create mode 100644 meta-tizen/recipes-tizen/libjpeg6/libjpeg6_git.bb create mode 100644 meta-tizen/recipes-tizen/libksba/libksba-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libksba/libksba-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libksba/libksba.inc create mode 100644 meta-tizen/recipes-tizen/libksba/libksba_git.bb create mode 100644 meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-native_git.bb create mode 100644 meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman.inc create mode 100644 meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman_git.bb create mode 100644 meta-tizen/recipes-tizen/libmedia-service/libmedia-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmedia-service/libmedia-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc create mode 100644 meta-tizen/recipes-tizen/libmedia-service/libmedia-service_git.bb create mode 100644 meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc create mode 100644 meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-common/libmm-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-common/libmm-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-common/libmm-common.inc create mode 100644 meta-tizen/recipes-tizen/libmm-common/libmm-common_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc create mode 100644 meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-log/libmm-log-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-log/libmm-log-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-log/libmm-log.inc create mode 100644 meta-tizen/recipes-tizen/libmm-log/libmm-log_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-player/libmm-player-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-player/libmm-player-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-player/libmm-player.inc create mode 100644 meta-tizen/recipes-tizen/libmm-player/libmm-player_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-radio/libmm-radio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-radio/libmm-radio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-radio/libmm-radio.inc create mode 100644 meta-tizen/recipes-tizen/libmm-radio/libmm-radio_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-session/libmm-session-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-session/libmm-session-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-session/libmm-session.inc create mode 100644 meta-tizen/recipes-tizen/libmm-session/libmm-session_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-sound/libmm-sound-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc create mode 100644 meta-tizen/recipes-tizen/libmm-sound/libmm-sound_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-ta/libmm-ta-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-ta/libmm-ta-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc create mode 100644 meta-tizen/recipes-tizen/libmm-ta/libmm-ta_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-utility/libmm-utility-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmm-utility/libmm-utility-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc create mode 100644 meta-tizen/recipes-tizen/libmm-utility/libmm-utility_git.bb create mode 100644 meta-tizen/recipes-tizen/libmnl/libmnl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmnl/libmnl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmnl/libmnl.inc create mode 100644 meta-tizen/recipes-tizen/libmnl/libmnl_git.bb create mode 100644 meta-tizen/recipes-tizen/libmp4v2/libmp4v2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libmp4v2/libmp4v2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libmp4v2/libmp4v2.inc create mode 100644 meta-tizen/recipes-tizen/libmp4v2/libmp4v2_git.bb create mode 100644 meta-tizen/recipes-tizen/libnet-client/libnet-client-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnet-client/libnet-client-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnet-client/libnet-client.inc create mode 100644 meta-tizen/recipes-tizen/libnet-client/libnet-client_git.bb create mode 100644 meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack.inc create mode 100644 meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack_git.bb create mode 100644 meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink.inc create mode 100644 meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl1/libnl1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnl1/libnl1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl1/libnl1.inc create mode 100644 meta-tizen/recipes-tizen/libnl1/libnl1_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl2/libnl2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnl2/libnl2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl2/libnl2.inc create mode 100644 meta-tizen/recipes-tizen/libnl2/libnl2_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl3/libnl3-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libnl3/libnl3-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libnl3/libnl3.inc create mode 100644 meta-tizen/recipes-tizen/libnl3/libnl3_git.bb create mode 100644 meta-tizen/recipes-tizen/libogg/libogg-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libogg/libogg-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libogg/libogg.inc create mode 100644 meta-tizen/recipes-tizen/libogg/libogg_git.bb create mode 100644 meta-tizen/recipes-tizen/liboil/liboil-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/liboil/liboil-native_git.bb create mode 100644 meta-tizen/recipes-tizen/liboil/liboil.inc create mode 100644 meta-tizen/recipes-tizen/liboil/liboil_git.bb create mode 100644 meta-tizen/recipes-tizen/libpcap/libpcap-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpcap/libpcap-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpcap/libpcap.inc create mode 100644 meta-tizen/recipes-tizen/libpcap/libpcap_git.bb create mode 100644 meta-tizen/recipes-tizen/libpciaccess/libpciaccess-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpciaccess/libpciaccess-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpciaccess/libpciaccess.inc create mode 100644 meta-tizen/recipes-tizen/libpciaccess/libpciaccess_git.bb create mode 100644 meta-tizen/recipes-tizen/libpinyin/libpinyin-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpinyin/libpinyin-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpinyin/libpinyin.inc create mode 100644 meta-tizen/recipes-tizen/libpinyin/libpinyin_git.bb create mode 100644 meta-tizen/recipes-tizen/libpipeline/libpipeline-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpipeline/libpipeline-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpipeline/libpipeline.inc create mode 100644 meta-tizen/recipes-tizen/libpipeline/libpipeline_git.bb create mode 100644 meta-tizen/recipes-tizen/libpng/libpng-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpng/libpng-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpng/libpng.inc create mode 100644 meta-tizen/recipes-tizen/libpng/libpng_git.bb create mode 100644 meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc create mode 100644 meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control_git.bb create mode 100644 meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs.inc create mode 100644 meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs_git.bb create mode 100644 meta-tizen/recipes-tizen/librua/librua-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/librua/librua-native_git.bb create mode 100644 meta-tizen/recipes-tizen/librua/librua.inc create mode 100644 meta-tizen/recipes-tizen/librua/librua_git.bb create mode 100644 meta-tizen/recipes-tizen/libsecret/libsecret-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsecret/libsecret-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsecret/libsecret.inc create mode 100644 meta-tizen/recipes-tizen/libsecret/libsecret_git.bb create mode 100644 meta-tizen/recipes-tizen/libsf-common/libsf-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsf-common/libsf-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsf-common/libsf-common.inc create mode 100644 meta-tizen/recipes-tizen/libsf-common/libsf-common_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc create mode 100644 meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-location/libslp-location-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-location/libslp-location-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-location/libslp-location.inc create mode 100644 meta-tizen/recipes-tizen/libslp-location/libslp-location_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-memo/libslp-memo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-memo/libslp-memo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-memo/libslp-memo.inc create mode 100644 meta-tizen/recipes-tizen/libslp-memo/libslp-memo_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-pm/libslp-pm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-pm/libslp-pm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc create mode 100644 meta-tizen/recipes-tizen/libslp-pm/libslp-pm_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc create mode 100644 meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc create mode 100644 meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman_git.bb create mode 100644 meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx.inc create mode 100644 meta-tizen/recipes-tizen/libsndfile/libsndfile-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsndfile/libsndfile-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsndfile/libsndfile.inc create mode 100644 meta-tizen/recipes-tizen/libsndfile/libsndfile_git.bb create mode 100644 meta-tizen/recipes-tizen/libsolv/libsolv-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsolv/libsolv-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsolv/libsolv.inc create mode 100644 meta-tizen/recipes-tizen/libsolv/libsolv_git.bb create mode 100644 meta-tizen/recipes-tizen/libsoup/libsoup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsoup/libsoup-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsoup/libsoup.inc create mode 100644 meta-tizen/recipes-tizen/libsoup/libsoup_git.bb create mode 100644 meta-tizen/recipes-tizen/libsqlfs/libsqlfs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsqlfs/libsqlfs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsqlfs/libsqlfs.inc create mode 100644 meta-tizen/recipes-tizen/libsqlfs/libsqlfs_git.bb create mode 100644 meta-tizen/recipes-tizen/libsvi/libsvi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libsvi/libsvi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libsvi/libsvi.inc create mode 100644 meta-tizen/recipes-tizen/libsvi/libsvi_git.bb create mode 100644 meta-tizen/recipes-tizen/libtapi/libtapi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtapi/libtapi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtapi/libtapi.inc create mode 100644 meta-tizen/recipes-tizen/libtapi/libtapi_git.bb create mode 100644 meta-tizen/recipes-tizen/libtasn1/libtasn1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtasn1/libtasn1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtasn1/libtasn1.inc create mode 100644 meta-tizen/recipes-tizen/libtasn1/libtasn1_git.bb create mode 100644 meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412.inc create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm.inc create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm_git.bb create mode 100644 meta-tizen/recipes-tizen/libtcore/libtcore-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtcore/libtcore-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtcore/libtcore.inc create mode 100644 meta-tizen/recipes-tizen/libtcore/libtcore_git.bb create mode 100644 meta-tizen/recipes-tizen/libthai/libthai-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libthai/libthai-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libthai/libthai.inc create mode 100644 meta-tizen/recipes-tizen/libthai/libthai_git.bb create mode 100644 meta-tizen/recipes-tizen/libtheora/libtheora-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtheora/libtheora-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtheora/libtheora.inc create mode 100644 meta-tizen/recipes-tizen/libtheora/libtheora_git.bb create mode 100644 meta-tizen/recipes-tizen/libtirpc/libtirpc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtirpc/libtirpc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libtirpc/libtirpc.inc create mode 100644 meta-tizen/recipes-tizen/libtirpc/libtirpc_git.bb create mode 100644 meta-tizen/recipes-tizen/libtool/libtool-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtool/libtool.inc create mode 100644 meta-tizen/recipes-tizen/libunistring/libunistring-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libunistring/libunistring-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libunistring/libunistring.inc create mode 100644 meta-tizen/recipes-tizen/libunistring/libunistring_git.bb create mode 100644 meta-tizen/recipes-tizen/libunwind/libunwind-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libunwind/libunwind-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libunwind/libunwind.inc create mode 100644 meta-tizen/recipes-tizen/libunwind/libunwind_git.bb create mode 100644 meta-tizen/recipes-tizen/libusb-compat/libusb-compat-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libusb-compat/libusb-compat-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libusb-compat/libusb-compat.inc create mode 100644 meta-tizen/recipes-tizen/libusb-compat/libusb-compat_git.bb create mode 100644 meta-tizen/recipes-tizen/libusb/libusb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libusb/libusb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libusb/libusb.inc create mode 100644 meta-tizen/recipes-tizen/libusb/libusb_git.bb create mode 100644 meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver.inc create mode 100644 meta-tizen/recipes-tizen/libva/libva-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libva/libva-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libva/libva.inc create mode 100644 meta-tizen/recipes-tizen/libva/libva_git.bb create mode 100644 meta-tizen/recipes-tizen/libvorbis/libvorbis-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libvorbis/libvorbis-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libvorbis/libvorbis.inc create mode 100644 meta-tizen/recipes-tizen/libvorbis/libvorbis_git.bb create mode 100644 meta-tizen/recipes-tizen/libvpx/libvpx-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libvpx/libvpx-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libvpx/libvpx.inc create mode 100644 meta-tizen/recipes-tizen/libvpx/libvpx_git.bb create mode 100644 meta-tizen/recipes-tizen/libwbxml2/libwbxml2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libwbxml2/libwbxml2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libwbxml2/libwbxml2.inc create mode 100644 meta-tizen/recipes-tizen/libwbxml2/libwbxml2_git.bb create mode 100644 meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc create mode 100644 meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct_git.bb create mode 100644 meta-tizen/recipes-tizen/libxcb/libxcb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libxcb/libxcb.inc create mode 100644 meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon.inc create mode 100644 meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon_git.bb create mode 100644 meta-tizen/recipes-tizen/libxkbfile/libxkbfile-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libxkbfile/libxkbfile.inc create mode 100644 meta-tizen/recipes-tizen/libxml2/libxml2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libxml2/libxml2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libxml2/libxml2.inc create mode 100644 meta-tizen/recipes-tizen/libxml2/libxml2_git.bb create mode 100644 meta-tizen/recipes-tizen/libxslt/libxslt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libxslt/libxslt-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libxslt/libxslt.inc create mode 100644 meta-tizen/recipes-tizen/libxslt/libxslt_git.bb create mode 100644 meta-tizen/recipes-tizen/libzio/libzio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libzio/libzio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libzio/libzio.inc create mode 100644 meta-tizen/recipes-tizen/libzio/libzio_git.bb create mode 100644 meta-tizen/recipes-tizen/libzip/libzip-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libzip/libzip-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libzip/libzip.inc create mode 100644 meta-tizen/recipes-tizen/libzip/libzip_git.bb create mode 100644 meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings.inc create mode 100644 meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings_git.bb create mode 100644 meta-tizen/recipes-tizen/libzypp/libzypp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libzypp/libzypp-native_git.bb create mode 100644 meta-tizen/recipes-tizen/libzypp/libzypp.inc create mode 100644 meta-tizen/recipes-tizen/libzypp/libzypp_git.bb create mode 100644 meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner.inc create mode 100644 meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner_git.bb create mode 100644 meta-tizen/recipes-tizen/links/links-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/links/links-native_git.bb create mode 100644 meta-tizen/recipes-tizen/links/links.inc create mode 100644 meta-tizen/recipes-tizen/links/links_git.bb create mode 100644 meta-tizen/recipes-tizen/linux-firmware/linux-firmware-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/linux-firmware/linux-firmware-native_git.bb create mode 100644 meta-tizen/recipes-tizen/linux-firmware/linux-firmware.inc create mode 100644 meta-tizen/recipes-tizen/linux-firmware/linux-firmware_git.bb create mode 100644 meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-native_git.bb create mode 100644 meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel.inc create mode 100644 meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel_git.bb create mode 100644 meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp.inc create mode 100644 meta-tizen/recipes-tizen/livebox-service/livebox-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/livebox-service/livebox-service.inc create mode 100644 meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer.inc create mode 100644 meta-tizen/recipes-tizen/livebox/livebox-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/livebox/livebox.inc create mode 100644 meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools.inc create mode 100644 meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/llvm/llvm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/llvm/llvm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/llvm/llvm.inc create mode 100644 meta-tizen/recipes-tizen/llvm/llvm_git.bb create mode 100644 meta-tizen/recipes-tizen/location-manager/location-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/location-manager/location-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/location-manager/location-manager.inc create mode 100644 meta-tizen/recipes-tizen/location-manager/location-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/lockscreen/lockscreen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lockscreen/lockscreen.inc create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz.inc create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz/autotools.patch create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz/gettext.patch create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz-check-locale.h.patch create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz_fix_for_automake-1.12.patch create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz/makefile.patch create mode 100644 meta-tizen/recipes-tizen/lrzsz/lrzsz_git.bb create mode 100644 meta-tizen/recipes-tizen/lsb/lsb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lsb/lsb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lsb/lsb.inc create mode 100644 meta-tizen/recipes-tizen/lsb/lsb_git.bb create mode 100644 meta-tizen/recipes-tizen/lsof/lsof-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lsof/lsof-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lsof/lsof.inc create mode 100644 meta-tizen/recipes-tizen/lsof/lsof_git.bb create mode 100644 meta-tizen/recipes-tizen/ltrace/ltrace-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ltrace/ltrace-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ltrace/ltrace.inc create mode 100644 meta-tizen/recipes-tizen/ltrace/ltrace_git.bb create mode 100644 meta-tizen/recipes-tizen/lua/lua-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lua/lua.inc create mode 100644 meta-tizen/recipes-tizen/lzo/lzo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lzo/lzo.inc create mode 100644 meta-tizen/recipes-tizen/lzo/lzo_git.bb create mode 100644 meta-tizen/recipes-tizen/lzop/lzop-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/lzop/lzop-native_git.bb create mode 100644 meta-tizen/recipes-tizen/lzop/lzop.inc create mode 100644 meta-tizen/recipes-tizen/lzop/lzop_git.bb create mode 100644 meta-tizen/recipes-tizen/m4/m4-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/m4/m4.inc create mode 100644 meta-tizen/recipes-tizen/make/make-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/make/make.inc create mode 100644 meta-tizen/recipes-tizen/makedepend/makedepend-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/makedepend/makedepend-native_git.bb create mode 100644 meta-tizen/recipes-tizen/makedepend/makedepend.inc create mode 100644 meta-tizen/recipes-tizen/makedepend/makedepend_git.bb create mode 100644 meta-tizen/recipes-tizen/man-db/man-db-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/man-db/man-db-native_git.bb create mode 100644 meta-tizen/recipes-tizen/man-db/man-db.inc create mode 100644 meta-tizen/recipes-tizen/man-db/man-db_git.bb create mode 100644 meta-tizen/recipes-tizen/media-content/media-content-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/media-content/media-content-native_git.bb create mode 100644 meta-tizen/recipes-tizen/media-content/media-content.inc create mode 100644 meta-tizen/recipes-tizen/media-content/media-content_git.bb create mode 100644 meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-native_git.bb create mode 100644 meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk.inc create mode 100644 meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk_git.bb create mode 100644 meta-tizen/recipes-tizen/media-key/media-key-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/media-key/media-key.inc create mode 100644 meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/media-server/media-server-native_git.bb create mode 100644 meta-tizen/recipes-tizen/media-server/media-server.inc create mode 100644 meta-tizen/recipes-tizen/media-server/media-server_git.bb create mode 100644 meta-tizen/recipes-tizen/menu-daemon/menu-daemon-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/menu-daemon/menu-daemon.inc create mode 100644 meta-tizen/recipes-tizen/menu-screen/menu-screen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/menu-screen/menu-screen.inc create mode 100644 meta-tizen/recipes-tizen/mesa/mesa-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mesa/mesa-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mesa/mesa.inc create mode 100644 meta-tizen/recipes-tizen/mesa/mesa_git.bb create mode 100644 meta-tizen/recipes-tizen/message-port/message-port-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/message-port/message-port-native_git.bb create mode 100644 meta-tizen/recipes-tizen/message-port/message-port.inc create mode 100644 meta-tizen/recipes-tizen/message-port/message-port_git.bb create mode 100644 meta-tizen/recipes-tizen/messages/messages-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/messages/messages-native_git.bb create mode 100644 meta-tizen/recipes-tizen/messages/messages.inc create mode 100644 meta-tizen/recipes-tizen/messages/messages_git.bb create mode 100644 meta-tizen/recipes-tizen/meta-common/meta-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/meta-common/meta-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/meta-common/meta-common.inc create mode 100644 meta-tizen/recipes-tizen/meta-common/meta-common_git.bb create mode 100644 meta-tizen/recipes-tizen/meta-generic/meta-generic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/meta-generic/meta-generic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/meta-generic/meta-generic.inc create mode 100644 meta-tizen/recipes-tizen/meta-generic/meta-generic_git.bb create mode 100644 meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-native_git.bb create mode 100644 meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor.inc create mode 100644 meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor_git.bb create mode 100644 meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap.inc create mode 100644 meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap_git.bb create mode 100644 meta-tizen/recipes-tizen/mic/mic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mic/mic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mic/mic.inc create mode 100644 meta-tizen/recipes-tizen/mic/mic_git.bb create mode 100644 meta-tizen/recipes-tizen/mime-type/mime-type-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mime-type/mime-type-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mime-type/mime-type.inc create mode 100644 meta-tizen/recipes-tizen/mime-type/mime-type_git.bb create mode 100644 meta-tizen/recipes-tizen/minicontrol/minicontrol-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/minicontrol/minicontrol-native_git.bb create mode 100644 meta-tizen/recipes-tizen/minicontrol/minicontrol.inc create mode 100644 meta-tizen/recipes-tizen/minicontrol/minicontrol_git.bb create mode 100644 meta-tizen/recipes-tizen/mkfontdir/mkfontdir-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mkfontdir/mkfontdir-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mkfontdir/mkfontdir.inc create mode 100644 meta-tizen/recipes-tizen/mkfontdir/mkfontdir_git.bb create mode 100644 meta-tizen/recipes-tizen/mkfontscale/mkfontscale-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mkfontscale/mkfontscale-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mkfontscale/mkfontscale.inc create mode 100644 meta-tizen/recipes-tizen/mkfontscale/mkfontscale_git.bb create mode 100644 meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf.inc create mode 100644 meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info.inc create mode 100644 meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb create mode 100644 meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-native_git.bb create mode 100644 meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts.inc create mode 100644 meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts_git.bb create mode 100644 meta-tizen/recipes-tizen/mpc/mpc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mpc/mpc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mpc/mpc.inc create mode 100644 meta-tizen/recipes-tizen/mpc/mpc_git.bb create mode 100644 meta-tizen/recipes-tizen/mpfr/mpfr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mpfr/mpfr.inc create mode 100644 meta-tizen/recipes-tizen/mpfr/mpfr_git.bb create mode 100644 meta-tizen/recipes-tizen/msg-service/msg-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/msg-service/msg-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/msg-service/msg-service.inc create mode 100644 meta-tizen/recipes-tizen/msg-service/msg-service_git.bb create mode 100644 meta-tizen/recipes-tizen/mtdev/mtdev-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mtdev/mtdev-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mtdev/mtdev.inc create mode 100644 meta-tizen/recipes-tizen/mtdev/mtdev_git.bb create mode 100644 meta-tizen/recipes-tizen/mtools/mtools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/mtools/mtools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/mtools/mtools.inc create mode 100644 meta-tizen/recipes-tizen/mtools/mtools_git.bb create mode 100644 meta-tizen/recipes-tizen/multipath-tools/multipath-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/multipath-tools/multipath-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/multipath-tools/multipath-tools.inc create mode 100644 meta-tizen/recipes-tizen/multipath-tools/multipath-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/nano/nano-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nano/nano-native_git.bb create mode 100644 meta-tizen/recipes-tizen/nano/nano.inc create mode 100644 meta-tizen/recipes-tizen/nano/nano_git.bb create mode 100644 meta-tizen/recipes-tizen/nasm/nasm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nasm/nasm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/nasm/nasm.inc create mode 100644 meta-tizen/recipes-tizen/nasm/nasm_git.bb create mode 100644 meta-tizen/recipes-tizen/ncurses/ncurses-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ncurses/ncurses.inc create mode 100644 meta-tizen/recipes-tizen/neard/neard-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/neard/neard-native_git.bb create mode 100644 meta-tizen/recipes-tizen/neard/neard.inc create mode 100644 meta-tizen/recipes-tizen/neard/neard_git.bb create mode 100644 meta-tizen/recipes-tizen/neardal/neardal-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/neardal/neardal-native_git.bb create mode 100644 meta-tizen/recipes-tizen/neardal/neardal.inc create mode 100644 meta-tizen/recipes-tizen/neardal/neardal_git.bb create mode 100644 meta-tizen/recipes-tizen/net-config/net-config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/net-config/net-config-native_git.bb create mode 100644 meta-tizen/recipes-tizen/net-config/net-config.inc create mode 100644 meta-tizen/recipes-tizen/net-config/net-config_git.bb create mode 100644 meta-tizen/recipes-tizen/net-popup/net-popup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/net-popup/net-popup.inc create mode 100644 meta-tizen/recipes-tizen/net-tools/net-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/net-tools/net-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/net-tools/net-tools.inc create mode 100644 meta-tizen/recipes-tizen/net-tools/net-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/nettle/nettle-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nettle/nettle-native_git.bb create mode 100644 meta-tizen/recipes-tizen/nettle/nettle.inc create mode 100644 meta-tizen/recipes-tizen/nettle/nettle_git.bb create mode 100644 meta-tizen/recipes-tizen/network-info/network-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/network-info/network-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/network-info/network-info.inc create mode 100644 meta-tizen/recipes-tizen/network-info/network-info_git.bb create mode 100644 meta-tizen/recipes-tizen/nfc-manager/nfc-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nfc-manager/nfc-manager.inc create mode 100644 meta-tizen/recipes-tizen/nfc/nfc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nfc/nfc.inc create mode 100644 meta-tizen/recipes-tizen/ninja/ninja-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ninja/ninja-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ninja/ninja.inc create mode 100644 meta-tizen/recipes-tizen/ninja/ninja_git.bb create mode 100644 meta-tizen/recipes-tizen/nodejs/nodejs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nodejs/nodejs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/nodejs/nodejs.inc create mode 100644 meta-tizen/recipes-tizen/nodejs/nodejs_git.bb create mode 100644 meta-tizen/recipes-tizen/notification/notification-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/notification/notification-native_git.bb create mode 100644 meta-tizen/recipes-tizen/notification/notification.inc create mode 100644 meta-tizen/recipes-tizen/notification/notification_git.bb create mode 100644 meta-tizen/recipes-tizen/nspr/nspr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nspr/nspr.inc create mode 100644 meta-tizen/recipes-tizen/nss-mdns/nss-mdns-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nss-mdns/nss-mdns-native_git.bb create mode 100644 meta-tizen/recipes-tizen/nss-mdns/nss-mdns.inc create mode 100644 meta-tizen/recipes-tizen/nss-mdns/nss-mdns_git.bb create mode 100644 meta-tizen/recipes-tizen/nss/nss-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/nss/nss.inc create mode 100644 meta-tizen/recipes-tizen/obexd/obexd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/obexd/obexd-native_git.bb create mode 100644 meta-tizen/recipes-tizen/obexd/obexd.inc create mode 100644 meta-tizen/recipes-tizen/obexd/obexd_git.bb create mode 100644 meta-tizen/recipes-tizen/ofono/ofono-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ofono/ofono-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ofono/ofono.inc create mode 100644 meta-tizen/recipes-tizen/ofono/ofono_git.bb create mode 100644 meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent.inc create mode 100644 meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent_git.bb create mode 100644 meta-tizen/recipes-tizen/openal-soft/openal-soft-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/openal-soft/openal-soft-native_git.bb create mode 100644 meta-tizen/recipes-tizen/openal-soft/openal-soft.inc create mode 100644 meta-tizen/recipes-tizen/openal-soft/openal-soft_git.bb create mode 100644 meta-tizen/recipes-tizen/openconnect/openconnect-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/openconnect/openconnect-native_git.bb create mode 100644 meta-tizen/recipes-tizen/openconnect/openconnect.inc create mode 100644 meta-tizen/recipes-tizen/openconnect/openconnect_git.bb create mode 100644 meta-tizen/recipes-tizen/opencore-amr/opencore-amr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/opencore-amr/opencore-amr-native_git.bb create mode 100644 meta-tizen/recipes-tizen/opencore-amr/opencore-amr.inc create mode 100644 meta-tizen/recipes-tizen/opencore-amr/opencore-amr_git.bb create mode 100644 meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-native_git.bb create mode 100644 meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv.inc create mode 100644 meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv_git.bb create mode 100644 meta-tizen/recipes-tizen/opengl-es/opengl-es-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/opengl-es/opengl-es-native_git.bb create mode 100644 meta-tizen/recipes-tizen/opengl-es/opengl-es.inc create mode 100644 meta-tizen/recipes-tizen/opengl-es/opengl-es_git.bb create mode 100644 meta-tizen/recipes-tizen/openssh/openssh-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/openssh/openssh-native_git.bb create mode 100644 meta-tizen/recipes-tizen/openssh/openssh.inc create mode 100644 meta-tizen/recipes-tizen/openssh/openssh_git.bb create mode 100644 meta-tizen/recipes-tizen/openssl/openssl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/openssl/openssl.inc create mode 100644 meta-tizen/recipes-tizen/oprofile/oprofile-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/oprofile/oprofile-native_git.bb create mode 100644 meta-tizen/recipes-tizen/oprofile/oprofile.inc create mode 100644 meta-tizen/recipes-tizen/oprofile/oprofile_git.bb create mode 100644 meta-tizen/recipes-tizen/orc/orc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/orc/orc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/orc/orc.inc create mode 100644 meta-tizen/recipes-tizen/orc/orc_git.bb create mode 100644 meta-tizen/recipes-tizen/p11-kit/p11-kit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/p11-kit/p11-kit-native_git.bb create mode 100644 meta-tizen/recipes-tizen/p11-kit/p11-kit.inc create mode 100644 meta-tizen/recipes-tizen/p11-kit/p11-kit_git.bb create mode 100644 meta-tizen/recipes-tizen/package-groups/package-groups-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/package-groups/package-groups.inc create mode 100644 meta-tizen/recipes-tizen/package-manager/package-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/package-manager/package-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/package-manager/package-manager.inc create mode 100644 meta-tizen/recipes-tizen/package-manager/package-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/pacrunner/pacrunner-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pacrunner/pacrunner-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pacrunner/pacrunner.inc create mode 100644 meta-tizen/recipes-tizen/pacrunner/pacrunner_git.bb create mode 100644 meta-tizen/recipes-tizen/pam/pam-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pam/pam-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pam/pam.inc create mode 100644 meta-tizen/recipes-tizen/pam/pam_git.bb create mode 100644 meta-tizen/recipes-tizen/pango/pango-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pango/pango-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pango/pango.inc create mode 100644 meta-tizen/recipes-tizen/pango/pango_git.bb create mode 100644 meta-tizen/recipes-tizen/parted/parted-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/parted/parted-native_git.bb create mode 100644 meta-tizen/recipes-tizen/parted/parted.inc create mode 100644 meta-tizen/recipes-tizen/parted/parted_git.bb create mode 100644 meta-tizen/recipes-tizen/patch/patch-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/patch/patch-native_git.bb create mode 100644 meta-tizen/recipes-tizen/patch/patch.inc create mode 100644 meta-tizen/recipes-tizen/patch/patch_git.bb create mode 100644 meta-tizen/recipes-tizen/patchelf/patchelf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/patchelf/patchelf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/patchelf/patchelf.inc create mode 100644 meta-tizen/recipes-tizen/patchelf/patchelf_git.bb create mode 100644 meta-tizen/recipes-tizen/pattern-tools/pattern-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pattern-tools/pattern-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pattern-tools/pattern-tools.inc create mode 100644 meta-tizen/recipes-tizen/pattern-tools/pattern-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/pbzip2/pbzip2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pbzip2/pbzip2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pbzip2/pbzip2.inc create mode 100644 meta-tizen/recipes-tizen/pbzip2/pbzip2_git.bb create mode 100644 meta-tizen/recipes-tizen/pc-installer/pc-installer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pc-installer/pc-installer-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pc-installer/pc-installer.inc create mode 100644 meta-tizen/recipes-tizen/pc-installer/pc-installer_git.bb create mode 100644 meta-tizen/recipes-tizen/pciutils/pciutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pciutils/pciutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pciutils/pciutils.inc create mode 100644 meta-tizen/recipes-tizen/pciutils/pciutils_git.bb create mode 100644 meta-tizen/recipes-tizen/pcre/pcre-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pcre/pcre-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pcre/pcre.inc create mode 100644 meta-tizen/recipes-tizen/pcre/pcre_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay.inc create mode 100644 meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump.inc create mode 100644 meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Error/perl-Error-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Error/perl-Error.inc create mode 100644 meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser.inc create mode 100644 meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset.inc create mode 100644 meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus.inc create mode 100644 meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage.inc create mode 100644 meta-tizen/recipes-tizen/perl-Switch/perl-Switch-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Switch/perl-Switch.inc create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.inc create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod.inc create mode 100644 meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate.inc create mode 100644 meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-URI/perl-URI-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-URI/perl-URI-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-URI/perl-URI.inc create mode 100644 meta-tizen/recipes-tizen/perl-URI/perl-URI_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl.inc create mode 100644 meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig.inc create mode 100644 meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-YAML/perl-YAML-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-YAML/perl-YAML-native_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-YAML/perl-YAML.inc create mode 100644 meta-tizen/recipes-tizen/perl-YAML/perl-YAML_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-gettext/perl-gettext-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-gettext/perl-gettext.inc create mode 100644 meta-tizen/recipes-tizen/perl-gettext/perl-gettext_git.bb create mode 100644 meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl.inc create mode 100644 meta-tizen/recipes-tizen/perl/perl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/perl/perl.inc create mode 100644 meta-tizen/recipes-tizen/php/php-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/php/php.inc create mode 100644 meta-tizen/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pims-ipc/pims-ipc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pims-ipc/pims-ipc.inc create mode 100644 meta-tizen/recipes-tizen/pims-ipc/pims-ipc_git.bb create mode 100644 meta-tizen/recipes-tizen/pixman/pixman-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pixman/pixman-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pixman/pixman.inc create mode 100644 meta-tizen/recipes-tizen/pixman/pixman_git.bb create mode 100644 meta-tizen/recipes-tizen/pkg-config/pkg-config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pkg-config/pkg-config.inc create mode 100644 meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc create mode 100644 meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info_git.bb create mode 100644 meta-tizen/recipes-tizen/player/player-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/player/player.inc create mode 100644 meta-tizen/recipes-tizen/plymouth/plymouth-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/plymouth/plymouth-native_git.bb create mode 100644 meta-tizen/recipes-tizen/plymouth/plymouth.inc create mode 100644 meta-tizen/recipes-tizen/plymouth/plymouth_git.bb create mode 100644 meta-tizen/recipes-tizen/poi/poi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/poi/poi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/poi/poi.inc create mode 100644 meta-tizen/recipes-tizen/poi/poi_git.bb create mode 100644 meta-tizen/recipes-tizen/polkit/polkit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/polkit/polkit.inc create mode 100644 meta-tizen/recipes-tizen/poppler-data/poppler-data-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/poppler-data/poppler-data-native_git.bb create mode 100644 meta-tizen/recipes-tizen/poppler-data/poppler-data.inc create mode 100644 meta-tizen/recipes-tizen/poppler-data/poppler-data_git.bb create mode 100644 meta-tizen/recipes-tizen/poppler/poppler-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/poppler/poppler-native_git.bb create mode 100644 meta-tizen/recipes-tizen/poppler/poppler.inc create mode 100644 meta-tizen/recipes-tizen/poppler/poppler_git.bb create mode 100644 meta-tizen/recipes-tizen/popt/popt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/popt/popt.inc create mode 100644 meta-tizen/recipes-tizen/power-manager/power-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/power-manager/power-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/power-manager/power-manager.inc create mode 100644 meta-tizen/recipes-tizen/power-manager/power-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/power/power-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/power/power-native_git.bb create mode 100644 meta-tizen/recipes-tizen/power/power.inc create mode 100644 meta-tizen/recipes-tizen/power/power_git.bb create mode 100644 meta-tizen/recipes-tizen/powertop/powertop-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/powertop/powertop-native_git.bb create mode 100644 meta-tizen/recipes-tizen/powertop/powertop.inc create mode 100644 meta-tizen/recipes-tizen/powertop/powertop_git.bb create mode 100644 meta-tizen/recipes-tizen/ppl/ppl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ppl/ppl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ppl/ppl.inc create mode 100644 meta-tizen/recipes-tizen/ppl/ppl_git.bb create mode 100644 meta-tizen/recipes-tizen/prelink/prelink-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/prelink/prelink.inc create mode 100644 meta-tizen/recipes-tizen/prelink/prelink_git.bb create mode 100644 meta-tizen/recipes-tizen/print-service/print-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/print-service/print-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/print-service/print-service.inc create mode 100644 meta-tizen/recipes-tizen/print-service/print-service_git.bb create mode 100644 meta-tizen/recipes-tizen/privacy-manager/privacy-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/privacy-manager/privacy-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc create mode 100644 meta-tizen/recipes-tizen/privacy-manager/privacy-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/privacy-popup/privacy-popup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/privacy-popup/privacy-popup.inc create mode 100644 meta-tizen/recipes-tizen/procps-ng/procps-ng-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/procps-ng/procps-ng-native_git.bb create mode 100644 meta-tizen/recipes-tizen/procps-ng/procps-ng.inc create mode 100644 meta-tizen/recipes-tizen/procps-ng/procps-ng_git.bb create mode 100644 meta-tizen/recipes-tizen/protobuf/protobuf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/protobuf/protobuf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/protobuf/protobuf.inc create mode 100644 meta-tizen/recipes-tizen/protobuf/protobuf_git.bb create mode 100644 meta-tizen/recipes-tizen/provider/provider-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/provider/provider.inc create mode 100644 meta-tizen/recipes-tizen/psmisc/psmisc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/psmisc/psmisc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/psmisc/psmisc.inc create mode 100644 meta-tizen/recipes-tizen/psmisc/psmisc_git.bb create mode 100644 meta-tizen/recipes-tizen/pth/pth-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pth/pth-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pth/pth.inc create mode 100644 meta-tizen/recipes-tizen/pth/pth_git.bb create mode 100644 meta-tizen/recipes-tizen/pulseaudio/pulseaudio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pulseaudio/pulseaudio.inc create mode 100644 meta-tizen/recipes-tizen/pwdutils/pwdutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pwdutils/pwdutils.inc create mode 100644 meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb create mode 100644 meta-tizen/recipes-tizen/pygobject2/pygobject2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/pygobject2/pygobject2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/pygobject2/pygobject2.inc create mode 100644 meta-tizen/recipes-tizen/pygobject2/pygobject2_git.bb create mode 100644 meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah.inc create mode 100644 meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah_git.bb create mode 100644 meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto.inc create mode 100644 meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto_git.bb create mode 100644 meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML.inc create mode 100644 meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML_git.bb create mode 100644 meta-tizen/recipes-tizen/python-ZSI/python-ZSI-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-ZSI/python-ZSI-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-ZSI/python-ZSI.inc create mode 100644 meta-tizen/recipes-tizen/python-ZSI/python-ZSI_git.bb create mode 100644 meta-tizen/recipes-tizen/python-cairo/python-cairo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-cairo/python-cairo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-cairo/python-cairo.inc create mode 100644 meta-tizen/recipes-tizen/python-cairo/python-cairo_git.bb create mode 100644 meta-tizen/recipes-tizen/python-coverage/python-coverage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-coverage/python-coverage-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-coverage/python-coverage.inc create mode 100644 meta-tizen/recipes-tizen/python-coverage/python-coverage_git.bb create mode 100644 meta-tizen/recipes-tizen/python-cython/python-cython-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-cython/python-cython-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-cython/python-cython.inc create mode 100644 meta-tizen/recipes-tizen/python-cython/python-cython_git.bb create mode 100644 meta-tizen/recipes-tizen/python-distribute/python-distribute-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-distribute/python-distribute-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-distribute/python-distribute.inc create mode 100644 meta-tizen/recipes-tizen/python-distribute/python-distribute_git.bb create mode 100644 meta-tizen/recipes-tizen/python-ecore/python-ecore-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-ecore/python-ecore-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-ecore/python-ecore.inc create mode 100644 meta-tizen/recipes-tizen/python-ecore/python-ecore_git.bb create mode 100644 meta-tizen/recipes-tizen/python-edbus/python-edbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-edbus/python-edbus-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-edbus/python-edbus.inc create mode 100644 meta-tizen/recipes-tizen/python-edbus/python-edbus_git.bb create mode 100644 meta-tizen/recipes-tizen/python-edje/python-edje-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-edje/python-edje-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-edje/python-edje.inc create mode 100644 meta-tizen/recipes-tizen/python-edje/python-edje_git.bb create mode 100644 meta-tizen/recipes-tizen/python-elementary/python-elementary-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-elementary/python-elementary.inc create mode 100644 meta-tizen/recipes-tizen/python-evas/python-evas-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-evas/python-evas-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-evas/python-evas.inc create mode 100644 meta-tizen/recipes-tizen/python-evas/python-evas_git.bb create mode 100644 meta-tizen/recipes-tizen/python-gobject/python-gobject-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-gobject/python-gobject-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-gobject/python-gobject.inc create mode 100644 meta-tizen/recipes-tizen/python-gobject/python-gobject_git.bb create mode 100644 meta-tizen/recipes-tizen/python-gpgme/python-gpgme-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-gpgme/python-gpgme-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-gpgme/python-gpgme.inc create mode 100644 meta-tizen/recipes-tizen/python-gpgme/python-gpgme_git.bb create mode 100644 meta-tizen/recipes-tizen/python-iniparse/python-iniparse-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-iniparse/python-iniparse-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-iniparse/python-iniparse.inc create mode 100644 meta-tizen/recipes-tizen/python-iniparse/python-iniparse_git.bb create mode 100644 meta-tizen/recipes-tizen/python-libxml2/python-libxml2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-libxml2/python-libxml2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-libxml2/python-libxml2.inc create mode 100644 meta-tizen/recipes-tizen/python-libxml2/python-libxml2_git.bb create mode 100644 meta-tizen/recipes-tizen/python-lxml/python-lxml-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-lxml/python-lxml-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-lxml/python-lxml.inc create mode 100644 meta-tizen/recipes-tizen/python-lxml/python-lxml_git.bb create mode 100644 meta-tizen/recipes-tizen/python-magic/python-magic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-magic/python-magic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-magic/python-magic.inc create mode 100644 meta-tizen/recipes-tizen/python-magic/python-magic_git.bb create mode 100644 meta-tizen/recipes-tizen/python-markdown/python-markdown-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-markdown/python-markdown-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-markdown/python-markdown.inc create mode 100644 meta-tizen/recipes-tizen/python-markdown/python-markdown_git.bb create mode 100644 meta-tizen/recipes-tizen/python-nose/python-nose-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-nose/python-nose-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-nose/python-nose.inc create mode 100644 meta-tizen/recipes-tizen/python-nose/python-nose_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL.inc create mode 100644 meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pycurl/python-pycurl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-pycurl/python-pycurl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pycurl/python-pycurl.inc create mode 100644 meta-tizen/recipes-tizen/python-pycurl/python-pycurl_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pygments/python-pygments-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-pygments/python-pygments-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-pygments/python-pygments.inc create mode 100644 meta-tizen/recipes-tizen/python-pygments/python-pygments_git.bb create mode 100644 meta-tizen/recipes-tizen/python-requests/python-requests-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-requests/python-requests-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-requests/python-requests.inc create mode 100644 meta-tizen/recipes-tizen/python-requests/python-requests_git.bb create mode 100644 meta-tizen/recipes-tizen/python-rpm/python-rpm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-rpm/python-rpm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-rpm/python-rpm.inc create mode 100644 meta-tizen/recipes-tizen/python-rpm/python-rpm_git.bb create mode 100644 meta-tizen/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-setuptools/python-setuptools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-setuptools/python-setuptools.inc create mode 100644 meta-tizen/recipes-tizen/python-setuptools/python-setuptools_git.bb create mode 100644 meta-tizen/recipes-tizen/python-sqlite/python-sqlite-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-sqlite/python-sqlite-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-sqlite/python-sqlite.inc create mode 100644 meta-tizen/recipes-tizen/python-sqlite/python-sqlite_git.bb create mode 100644 meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-native_git.bb create mode 100644 meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber.inc create mode 100644 meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber_git.bb create mode 100644 meta-tizen/recipes-tizen/python/python-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/python/python.inc create mode 100644 meta-tizen/recipes-tizen/python/python_git.bb create mode 100644 meta-tizen/recipes-tizen/qemu/qemu-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qemu/qemu.inc create mode 100644 meta-tizen/recipes-tizen/qpdf/qpdf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qpdf/qpdf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qpdf/qpdf.inc create mode 100644 meta-tizen/recipes-tizen/qpdf/qpdf_git.bb create mode 100644 meta-tizen/recipes-tizen/qtbase/qtbase-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtbase/qtbase-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtbase/qtbase.inc create mode 100644 meta-tizen/recipes-tizen/qtbase/qtbase_git.bb create mode 100644 meta-tizen/recipes-tizen/qtchooser/qtchooser-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtchooser/qtchooser-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtchooser/qtchooser.inc create mode 100644 meta-tizen/recipes-tizen/qtchooser/qtchooser_git.bb create mode 100644 meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative.inc create mode 100644 meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative_git.bb create mode 100644 meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects.inc create mode 100644 meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects_git.bb create mode 100644 meta-tizen/recipes-tizen/qtimageformats/qtimageformats-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtimageformats/qtimageformats-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtimageformats/qtimageformats.inc create mode 100644 meta-tizen/recipes-tizen/qtimageformats/qtimageformats_git.bb create mode 100644 meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia.inc create mode 100644 meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia_git.bb create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen.inc create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen_git.bb create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols.inc create mode 100644 meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols_git.bb create mode 100644 meta-tizen/recipes-tizen/qtsensors/qtsensors-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtsensors/qtsensors-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtsensors/qtsensors.inc create mode 100644 meta-tizen/recipes-tizen/qtsensors/qtsensors_git.bb create mode 100644 meta-tizen/recipes-tizen/qttools/qttools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qttools/qttools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qttools/qttools.inc create mode 100644 meta-tizen/recipes-tizen/qttools/qttools_git.bb create mode 100644 meta-tizen/recipes-tizen/qtwayland/qtwayland-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtwayland/qtwayland-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtwayland/qtwayland.inc create mode 100644 meta-tizen/recipes-tizen/qtwayland/qtwayland_git.bb create mode 100644 meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-native_git.bb create mode 100644 meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns.inc create mode 100644 meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns_git.bb create mode 100644 meta-tizen/recipes-tizen/radio/radio-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/radio/radio-native_git.bb create mode 100644 meta-tizen/recipes-tizen/radio/radio.inc create mode 100644 meta-tizen/recipes-tizen/radio/radio_git.bb create mode 100644 meta-tizen/recipes-tizen/ragel/ragel-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ragel/ragel-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ragel/ragel.inc create mode 100644 meta-tizen/recipes-tizen/ragel/ragel_git.bb create mode 100644 meta-tizen/recipes-tizen/randrproto/randrproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/randrproto/randrproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/randrproto/randrproto.inc create mode 100644 meta-tizen/recipes-tizen/randrproto/randrproto_git.bb create mode 100644 meta-tizen/recipes-tizen/raptor/raptor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/raptor/raptor-native_git.bb create mode 100644 meta-tizen/recipes-tizen/raptor/raptor.inc create mode 100644 meta-tizen/recipes-tizen/raptor/raptor_git.bb create mode 100644 meta-tizen/recipes-tizen/re2/re2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/re2/re2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/re2/re2.inc create mode 100644 meta-tizen/recipes-tizen/re2/re2_git.bb create mode 100644 meta-tizen/recipes-tizen/re2c/re2c-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/re2c/re2c-native_git.bb create mode 100644 meta-tizen/recipes-tizen/re2c/re2c.inc create mode 100644 meta-tizen/recipes-tizen/re2c/re2c_git.bb create mode 100644 meta-tizen/recipes-tizen/readline/readline-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/readline/readline.inc create mode 100644 meta-tizen/recipes-tizen/recordproto/recordproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/recordproto/recordproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/recordproto/recordproto.inc create mode 100644 meta-tizen/recipes-tizen/recordproto/recordproto_git.bb create mode 100644 meta-tizen/recipes-tizen/remix/remix-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/remix/remix-native_git.bb create mode 100644 meta-tizen/recipes-tizen/remix/remix.inc create mode 100644 meta-tizen/recipes-tizen/remix/remix_git.bb create mode 100644 meta-tizen/recipes-tizen/renderproto/renderproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/renderproto/renderproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/renderproto/renderproto.inc create mode 100644 meta-tizen/recipes-tizen/renderproto/renderproto_git.bb create mode 100644 meta-tizen/recipes-tizen/resourceproto/resourceproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/resourceproto/resourceproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/resourceproto/resourceproto.inc create mode 100644 meta-tizen/recipes-tizen/resourceproto/resourceproto_git.bb create mode 100644 meta-tizen/recipes-tizen/rfkill/rfkill-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rfkill/rfkill-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rfkill/rfkill.inc create mode 100644 meta-tizen/recipes-tizen/rfkill/rfkill_git.bb create mode 100644 meta-tizen/recipes-tizen/rng-tools/rng-tools-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rng-tools/rng-tools-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rng-tools/rng-tools.inc create mode 100644 meta-tizen/recipes-tizen/rng-tools/rng-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/route/route-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/route/route-native_git.bb create mode 100644 meta-tizen/recipes-tizen/route/route.inc create mode 100644 meta-tizen/recipes-tizen/route/route_git.bb create mode 100644 meta-tizen/recipes-tizen/rpm-installer/rpm-installer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpm-installer/rpm-installer.inc create mode 100644 meta-tizen/recipes-tizen/rpm/rpm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpm/rpm.inc create mode 100644 meta-tizen/recipes-tizen/rpm/rpm_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint/rpmlint-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint/rpmlint-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmlint/rpmlint.inc create mode 100644 meta-tizen/recipes-tizen/rpmlint/rpmlint_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmorphan/rpmorphan-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rpmorphan/rpmorphan-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rpmorphan/rpmorphan.inc create mode 100644 meta-tizen/recipes-tizen/rpmorphan/rpmorphan_git.bb create mode 100644 meta-tizen/recipes-tizen/rsync/rsync-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/rsync/rsync-native_git.bb create mode 100644 meta-tizen/recipes-tizen/rsync/rsync.inc create mode 100644 meta-tizen/recipes-tizen/rsync/rsync_git.bb create mode 100644 meta-tizen/recipes-tizen/ruby/ruby-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ruby/ruby-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ruby/ruby.inc create mode 100644 meta-tizen/recipes-tizen/ruby/ruby_git.bb create mode 100644 meta-tizen/recipes-tizen/runtime-info/runtime-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/runtime-info/runtime-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/runtime-info/runtime-info.inc create mode 100644 meta-tizen/recipes-tizen/runtime-info/runtime-info_git.bb create mode 100644 meta-tizen/recipes-tizen/sbc/sbc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sbc/sbc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sbc/sbc.inc create mode 100644 meta-tizen/recipes-tizen/sbc/sbc_git.bb create mode 100644 meta-tizen/recipes-tizen/scons/scons-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/scons/scons-native_git.bb create mode 100644 meta-tizen/recipes-tizen/scons/scons.inc create mode 100644 meta-tizen/recipes-tizen/scons/scons_git.bb create mode 100644 meta-tizen/recipes-tizen/screen/screen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/screen/screen-native_git.bb create mode 100644 meta-tizen/recipes-tizen/screen/screen.inc create mode 100644 meta-tizen/recipes-tizen/screen/screen_git.bb create mode 100644 meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto.inc create mode 100644 meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto_git.bb create mode 100644 meta-tizen/recipes-tizen/sdbd/sdbd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sdbd/sdbd-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sdbd/sdbd.inc create mode 100644 meta-tizen/recipes-tizen/sdbd/sdbd_git.bb create mode 100644 meta-tizen/recipes-tizen/secure-storage/secure-storage-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/secure-storage/secure-storage-native_git.bb create mode 100644 meta-tizen/recipes-tizen/secure-storage/secure-storage.inc create mode 100644 meta-tizen/recipes-tizen/secure-storage/secure-storage_git.bb create mode 100644 meta-tizen/recipes-tizen/security-server/security-server-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/security-server/security-server-native_git.bb create mode 100644 meta-tizen/recipes-tizen/security-server/security-server.inc create mode 100644 meta-tizen/recipes-tizen/security-server/security-server_git.bb create mode 100644 meta-tizen/recipes-tizen/sed/sed-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sed/sed.inc create mode 100644 meta-tizen/recipes-tizen/sensor-framework/sensor-framework-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sensor-framework/sensor-framework-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sensor-framework/sensor-framework.inc create mode 100644 meta-tizen/recipes-tizen/sensor-framework/sensor-framework_git.bb create mode 100644 meta-tizen/recipes-tizen/sensor/sensor-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sensor/sensor-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sensor/sensor.inc create mode 100644 meta-tizen/recipes-tizen/sensor/sensor_git.bb create mode 100644 meta-tizen/recipes-tizen/serial/serial-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/serial/serial-native_git.bb create mode 100644 meta-tizen/recipes-tizen/serial/serial.inc create mode 100644 meta-tizen/recipes-tizen/serial/serial_git.bb create mode 100644 meta-tizen/recipes-tizen/sessreg/sessreg-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sessreg/sessreg-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sessreg/sessreg.inc create mode 100644 meta-tizen/recipes-tizen/sessreg/sessreg_git.bb create mode 100644 meta-tizen/recipes-tizen/settings/settings-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/settings/settings.inc create mode 100644 meta-tizen/recipes-tizen/setup-ivi/setup-ivi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/setup-ivi/setup-ivi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/setup-ivi/setup-ivi.inc create mode 100644 meta-tizen/recipes-tizen/setup-ivi/setup-ivi_git.bb create mode 100644 meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi.inc create mode 100644 meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi_git.bb create mode 100644 meta-tizen/recipes-tizen/setup/setup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/setup/setup-native_git.bb create mode 100644 meta-tizen/recipes-tizen/setup/setup.inc create mode 100644 meta-tizen/recipes-tizen/setup/setup_git.bb create mode 100644 meta-tizen/recipes-tizen/setxkbmap/setxkbmap-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/setxkbmap/setxkbmap.inc create mode 100644 meta-tizen/recipes-tizen/sgml-common/sgml-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sgml-common/sgml-common-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sgml-common/sgml-common.inc create mode 100644 meta-tizen/recipes-tizen/sgml-common/sgml-common_git.bb create mode 100644 meta-tizen/recipes-tizen/sgml-skel/sgml-skel-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sgml-skel/sgml-skel-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sgml-skel/sgml-skel.inc create mode 100644 meta-tizen/recipes-tizen/sgml-skel/sgml-skel_git.bb create mode 100644 meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info.inc create mode 100644 meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info_git.bb create mode 100644 meta-tizen/recipes-tizen/shortcut/shortcut-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/shortcut/shortcut-native_git.bb create mode 100644 meta-tizen/recipes-tizen/shortcut/shortcut.inc create mode 100644 meta-tizen/recipes-tizen/shortcut/shortcut_git.bb create mode 100644 meta-tizen/recipes-tizen/sim/sim-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sim/sim-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sim/sim.inc create mode 100644 meta-tizen/recipes-tizen/sim/sim_git.bb create mode 100644 meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-native_git.bb create mode 100644 meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc create mode 100644 meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb create mode 100644 meta-tizen/recipes-tizen/smack/smack-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/smack/smack-native_git.bb create mode 100644 meta-tizen/recipes-tizen/smack/smack.inc create mode 100644 meta-tizen/recipes-tizen/smack/smack_git.bb create mode 100644 meta-tizen/recipes-tizen/smartcard-service/smartcard-service-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/smartcard-service/smartcard-service-native_git.bb create mode 100644 meta-tizen/recipes-tizen/smartcard-service/smartcard-service.inc create mode 100644 meta-tizen/recipes-tizen/smartcard-service/smartcard-service_git.bb create mode 100644 meta-tizen/recipes-tizen/snapper/snapper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/snapper/snapper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/snapper/snapper.inc create mode 100644 meta-tizen/recipes-tizen/snapper/snapper_git.bb create mode 100644 meta-tizen/recipes-tizen/sound-manager/sound-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sound-manager/sound-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sound-manager/sound-manager.inc create mode 100644 meta-tizen/recipes-tizen/sound-manager/sound-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/speex/speex-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/speex/speex-native_git.bb create mode 100644 meta-tizen/recipes-tizen/speex/speex.inc create mode 100644 meta-tizen/recipes-tizen/speex/speex_git.bb create mode 100644 meta-tizen/recipes-tizen/sppc/sppc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sppc/sppc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sppc/sppc.inc create mode 100644 meta-tizen/recipes-tizen/sppc/sppc_git.bb create mode 100644 meta-tizen/recipes-tizen/sqlite/sqlite-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sqlite/sqlite-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sqlite/sqlite.inc create mode 100644 meta-tizen/recipes-tizen/sqlite/sqlite_git.bb create mode 100644 meta-tizen/recipes-tizen/squashfs/squashfs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/squashfs/squashfs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/squashfs/squashfs.inc create mode 100644 meta-tizen/recipes-tizen/squashfs/squashfs_git.bb create mode 100644 meta-tizen/recipes-tizen/starter/starter-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/starter/starter.inc create mode 100644 meta-tizen/recipes-tizen/status/status-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/status/status-native_git.bb create mode 100644 meta-tizen/recipes-tizen/status/status.inc create mode 100644 meta-tizen/recipes-tizen/status/status_git.bb create mode 100644 meta-tizen/recipes-tizen/strace/strace-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/strace/strace-native_git.bb create mode 100644 meta-tizen/recipes-tizen/strace/strace.inc create mode 100644 meta-tizen/recipes-tizen/strace/strace_git.bb create mode 100644 meta-tizen/recipes-tizen/stt/stt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/stt/stt-native_git.bb create mode 100644 meta-tizen/recipes-tizen/stt/stt.inc create mode 100644 meta-tizen/recipes-tizen/stt/stt_git.bb create mode 100644 meta-tizen/recipes-tizen/sudo/sudo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sudo/sudo-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sudo/sudo.inc create mode 100644 meta-tizen/recipes-tizen/sudo/sudo_git.bb create mode 100644 meta-tizen/recipes-tizen/svi-data/svi-data-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/svi-data/svi-data-native_git.bb create mode 100644 meta-tizen/recipes-tizen/svi-data/svi-data.inc create mode 100644 meta-tizen/recipes-tizen/svi-data/svi-data_git.bb create mode 100644 meta-tizen/recipes-tizen/swig/swig-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/swig/swig-native_git.bb create mode 100644 meta-tizen/recipes-tizen/swig/swig.inc create mode 100644 meta-tizen/recipes-tizen/swig/swig_git.bb create mode 100644 meta-tizen/recipes-tizen/swup/swup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/swup/swup-native_git.bb create mode 100644 meta-tizen/recipes-tizen/swup/swup.inc create mode 100644 meta-tizen/recipes-tizen/swup/swup_git.bb create mode 100644 meta-tizen/recipes-tizen/sync-agent/sync-agent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sync-agent/sync-agent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sync-agent/sync-agent.inc create mode 100644 meta-tizen/recipes-tizen/sync-agent/sync-agent_git.bb create mode 100644 meta-tizen/recipes-tizen/sys-assert/sys-assert-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sys-assert/sys-assert-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sys-assert/sys-assert.inc create mode 100644 meta-tizen/recipes-tizen/sys-assert/sys-assert_git.bb create mode 100644 meta-tizen/recipes-tizen/sys-config/sys-config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sys-config/sys-config.inc create mode 100644 meta-tizen/recipes-tizen/sys-string-0/sys-string-0-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sys-string-0/sys-string-0-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sys-string-0/sys-string-0.inc create mode 100644 meta-tizen/recipes-tizen/sys-string-0/sys-string-0_git.bb create mode 100644 meta-tizen/recipes-tizen/sysfsutils/sysfsutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sysfsutils/sysfsutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sysfsutils/sysfsutils.inc create mode 100644 meta-tizen/recipes-tizen/sysfsutils/sysfsutils_git.bb create mode 100644 meta-tizen/recipes-tizen/syslinux/syslinux-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/syslinux/syslinux-native_git.bb create mode 100644 meta-tizen/recipes-tizen/syslinux/syslinux.inc create mode 100644 meta-tizen/recipes-tizen/syslinux/syslinux_git.bb create mode 100644 meta-tizen/recipes-tizen/syspopup/syspopup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/syspopup/syspopup-native_git.bb create mode 100644 meta-tizen/recipes-tizen/syspopup/syspopup.inc create mode 100644 meta-tizen/recipes-tizen/syspopup/syspopup_git.bb create mode 100644 meta-tizen/recipes-tizen/sysprof/sysprof-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/sysprof/sysprof-native_git.bb create mode 100644 meta-tizen/recipes-tizen/sysprof/sysprof.inc create mode 100644 meta-tizen/recipes-tizen/sysprof/sysprof_git.bb create mode 100644 meta-tizen/recipes-tizen/system-info/system-info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-info/system-info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/system-info/system-info.inc create mode 100644 meta-tizen/recipes-tizen/system-info/system-info_git.bb create mode 100644 meta-tizen/recipes-tizen/system-installer/system-installer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-installer/system-installer-native_git.bb create mode 100644 meta-tizen/recipes-tizen/system-installer/system-installer.inc create mode 100644 meta-tizen/recipes-tizen/system-installer/system-installer_git.bb create mode 100644 meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic.inc create mode 100644 meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic_git.bb create mode 100644 meta-tizen/recipes-tizen/system-popup/system-popup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-popup/system-popup.inc create mode 100644 meta-tizen/recipes-tizen/system-server/system-server-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-server/system-server-native_git.bb create mode 100644 meta-tizen/recipes-tizen/system-server/system-server.inc create mode 100644 meta-tizen/recipes-tizen/system-server/system-server_git.bb create mode 100644 meta-tizen/recipes-tizen/system-settings/system-settings-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/system-settings/system-settings.inc create mode 100644 meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail.inc create mode 100644 meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/systemd/systemd-native_git.bb create mode 100644 meta-tizen/recipes-tizen/systemd/systemd.inc create mode 100644 meta-tizen/recipes-tizen/systemd/systemd_git.bb create mode 100644 meta-tizen/recipes-tizen/tar/tar-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tar/tar-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tar/tar.inc create mode 100644 meta-tizen/recipes-tizen/tar/tar_git.bb create mode 100644 meta-tizen/recipes-tizen/taskmanager/taskmanager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/taskmanager/taskmanager.inc create mode 100644 meta-tizen/recipes-tizen/tcl/tcl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tcl/tcl-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tcl/tcl.inc create mode 100644 meta-tizen/recipes-tizen/tcl/tcl_git.bb create mode 100644 meta-tizen/recipes-tizen/tcpdump/tcpdump-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tcpdump/tcpdump-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tcpdump/tcpdump.inc create mode 100644 meta-tizen/recipes-tizen/tcpdump/tcpdump_git.bb create mode 100644 meta-tizen/recipes-tizen/tdb/tdb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tdb/tdb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tdb/tdb.inc create mode 100644 meta-tizen/recipes-tizen/tdb/tdb_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem.inc create mode 100644 meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem_git.bb create mode 100644 meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-native_git.bb create mode 100644 meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon.inc create mode 100644 meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon_git.bb create mode 100644 meta-tizen/recipes-tizen/terminology/terminology-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/terminology/terminology-native_git.bb create mode 100644 meta-tizen/recipes-tizen/terminology/terminology.inc create mode 100644 meta-tizen/recipes-tizen/terminology/terminology_git.bb create mode 100644 meta-tizen/recipes-tizen/test/test-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/test/test-native_git.bb create mode 100644 meta-tizen/recipes-tizen/test/test.inc create mode 100644 meta-tizen/recipes-tizen/test/test_git.bb create mode 100644 meta-tizen/recipes-tizen/testkit-lite/testkit-lite-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/testkit-lite/testkit-lite-native_git.bb create mode 100644 meta-tizen/recipes-tizen/testkit-lite/testkit-lite.inc create mode 100644 meta-tizen/recipes-tizen/testkit-lite/testkit-lite_git.bb create mode 100644 meta-tizen/recipes-tizen/testkit-stub/testkit-stub-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/testkit-stub/testkit-stub-native_git.bb create mode 100644 meta-tizen/recipes-tizen/testkit-stub/testkit-stub.inc create mode 100644 meta-tizen/recipes-tizen/testkit-stub/testkit-stub_git.bb create mode 100644 meta-tizen/recipes-tizen/tethering/tethering-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tethering/tethering-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tethering/tethering.inc create mode 100644 meta-tizen/recipes-tizen/tethering/tethering_git.bb create mode 100644 meta-tizen/recipes-tizen/texinfo/texinfo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/texinfo/texinfo.inc create mode 100644 meta-tizen/recipes-tizen/tickernoti/tickernoti-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tickernoti/tickernoti.inc create mode 100644 meta-tizen/recipes-tizen/tiff/tiff-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tiff/tiff-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tiff/tiff.inc create mode 100644 meta-tizen/recipes-tizen/tiff/tiff_git.bb create mode 100644 meta-tizen/recipes-tizen/time/time-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/time/time-native_git.bb create mode 100644 meta-tizen/recipes-tizen/time/time.inc create mode 100644 meta-tizen/recipes-tizen/time/time_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default.inc create mode 100644 meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc create mode 100644 meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc create mode 100644 meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc create mode 100644 meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-release/tizen-release-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tizen-release/tizen-release-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tizen-release/tizen-release.inc create mode 100644 meta-tizen/recipes-tizen/tizen-release/tizen-release_git.bb create mode 100644 meta-tizen/recipes-tizen/tk/tk-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tk/tk.inc create mode 100644 meta-tizen/recipes-tizen/tlm/tlm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tlm/tlm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tlm/tlm.inc create mode 100644 meta-tizen/recipes-tizen/tlm/tlm_git.bb create mode 100644 meta-tizen/recipes-tizen/tolua++/tolua++-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tolua++/tolua++-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tolua++/tolua++.inc create mode 100644 meta-tizen/recipes-tizen/tolua++/tolua++_git.bb create mode 100644 meta-tizen/recipes-tizen/tone-player/tone-player-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tone-player/tone-player-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tone-player/tone-player.inc create mode 100644 meta-tizen/recipes-tizen/tone-player/tone-player_git.bb create mode 100644 meta-tizen/recipes-tizen/tree/tree-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tree/tree-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tree/tree.inc create mode 100644 meta-tizen/recipes-tizen/tree/tree_git.bb create mode 100644 meta-tizen/recipes-tizen/tts/tts-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tts/tts-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tts/tts.inc create mode 100644 meta-tizen/recipes-tizen/tts/tts_git.bb create mode 100644 meta-tizen/recipes-tizen/tzdata/tzdata-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/tzdata/tzdata-native_git.bb create mode 100644 meta-tizen/recipes-tizen/tzdata/tzdata.inc create mode 100644 meta-tizen/recipes-tizen/tzdata/tzdata_git.bb create mode 100644 meta-tizen/recipes-tizen/udhcp/udhcp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/udhcp/udhcp-native_git.bb create mode 100644 meta-tizen/recipes-tizen/udhcp/udhcp.inc create mode 100644 meta-tizen/recipes-tizen/udhcp/udhcp_git.bb create mode 100644 meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent.inc create mode 100644 meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent_git.bb create mode 100644 meta-tizen/recipes-tizen/udisks2/udisks2-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/udisks2/udisks2-native_git.bb create mode 100644 meta-tizen/recipes-tizen/udisks2/udisks2.inc create mode 100644 meta-tizen/recipes-tizen/udisks2/udisks2_git.bb create mode 100644 meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl.inc create mode 100644 meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl.inc create mode 100644 meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl.inc create mode 100644 meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1.inc create mode 100644 meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1_git.bb create mode 100644 meta-tizen/recipes-tizen/uim/uim-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/uim/uim-native_git.bb create mode 100644 meta-tizen/recipes-tizen/uim/uim.inc create mode 100644 meta-tizen/recipes-tizen/uim/uim_git.bb create mode 100644 meta-tizen/recipes-tizen/unifdef/unifdef-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/unifdef/unifdef.inc create mode 100644 meta-tizen/recipes-tizen/unifdef/unifdef_git.bb create mode 100644 meta-tizen/recipes-tizen/unzip/unzip-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/unzip/unzip-native_git.bb create mode 100644 meta-tizen/recipes-tizen/unzip/unzip.inc create mode 100644 meta-tizen/recipes-tizen/unzip/unzip_git.bb create mode 100644 meta-tizen/recipes-tizen/update-alternatives/update-alternatives-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/update-alternatives/update-alternatives-native_git.bb create mode 100644 meta-tizen/recipes-tizen/update-alternatives/update-alternatives.inc create mode 100644 meta-tizen/recipes-tizen/update-alternatives/update-alternatives_git.bb create mode 100644 meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-native_git.bb create mode 100644 meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files.inc create mode 100644 meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files_git.bb create mode 100644 meta-tizen/recipes-tizen/url-download/url-download-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/url-download/url-download-native_git.bb create mode 100644 meta-tizen/recipes-tizen/url-download/url-download.inc create mode 100644 meta-tizen/recipes-tizen/url-download/url-download_git.bb create mode 100644 meta-tizen/recipes-tizen/usb-accessory/usb-accessory-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/usb-accessory/usb-accessory-native_git.bb create mode 100644 meta-tizen/recipes-tizen/usb-accessory/usb-accessory.inc create mode 100644 meta-tizen/recipes-tizen/usb-accessory/usb-accessory_git.bb create mode 100644 meta-tizen/recipes-tizen/usb-manager/usb-manager-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/usb-manager/usb-manager-native_git.bb create mode 100644 meta-tizen/recipes-tizen/usb-manager/usb-manager.inc create mode 100644 meta-tizen/recipes-tizen/usb-manager/usb-manager_git.bb create mode 100644 meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup.inc create mode 100644 meta-tizen/recipes-tizen/usbutils/usbutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/usbutils/usbutils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/usbutils/usbutils.inc create mode 100644 meta-tizen/recipes-tizen/usbutils/usbutils_git.bb create mode 100644 meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/user-session-units/user-session-units-native_git.bb create mode 100644 meta-tizen/recipes-tizen/user-session-units/user-session-units.inc create mode 100644 meta-tizen/recipes-tizen/user-session-units/user-session-units_git.bb create mode 100644 meta-tizen/recipes-tizen/usleep/usleep-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/usleep/usleep-native_git.bb create mode 100644 meta-tizen/recipes-tizen/usleep/usleep.inc create mode 100644 meta-tizen/recipes-tizen/usleep/usleep_git.bb create mode 100644 meta-tizen/recipes-tizen/utempter/utempter-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/utempter/utempter-native_git.bb create mode 100644 meta-tizen/recipes-tizen/utempter/utempter.inc create mode 100644 meta-tizen/recipes-tizen/utempter/utempter_git.bb create mode 100644 meta-tizen/recipes-tizen/uthash/uthash-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/uthash/uthash-native_git.bb create mode 100644 meta-tizen/recipes-tizen/uthash/uthash.inc create mode 100644 meta-tizen/recipes-tizen/uthash/uthash_git.bb create mode 100644 meta-tizen/recipes-tizen/util-linux/util-linux-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/util-linux/util-linux.inc create mode 100644 meta-tizen/recipes-tizen/util-linux/util-linux_git.bb create mode 100644 meta-tizen/recipes-tizen/util-macros/util-macros-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/util-macros/util-macros-native_git.bb create mode 100644 meta-tizen/recipes-tizen/util-macros/util-macros.inc create mode 100644 meta-tizen/recipes-tizen/util-macros/util-macros_git.bb create mode 100644 meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-native_git.bb create mode 100644 meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit.inc create mode 100644 meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit_git.bb create mode 100644 meta-tizen/recipes-tizen/v4l-utils/v4l-utils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/v4l-utils/v4l-utils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/v4l-utils/v4l-utils.inc create mode 100644 meta-tizen/recipes-tizen/v4l-utils/v4l-utils_git.bb create mode 100644 meta-tizen/recipes-tizen/v8/v8-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/v8/v8-native_git.bb create mode 100644 meta-tizen/recipes-tizen/v8/v8.inc create mode 100644 meta-tizen/recipes-tizen/v8/v8_git.bb create mode 100644 meta-tizen/recipes-tizen/vala/vala-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vala/vala-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vala/vala.inc create mode 100644 meta-tizen/recipes-tizen/vala/vala_git.bb create mode 100644 meta-tizen/recipes-tizen/valgrind/valgrind-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/valgrind/valgrind-native_git.bb create mode 100644 meta-tizen/recipes-tizen/valgrind/valgrind.inc create mode 100644 meta-tizen/recipes-tizen/valgrind/valgrind_git.bb create mode 100644 meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc create mode 100644 meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys_git.bb create mode 100644 meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vconf/vconf-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vconf/vconf.inc create mode 100644 meta-tizen/recipes-tizen/vconf/vconf_git.bb create mode 100644 meta-tizen/recipes-tizen/vconfig/vconfig-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vconfig/vconfig-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vconfig/vconfig.inc create mode 100644 meta-tizen/recipes-tizen/vconfig/vconfig_git.bb create mode 100644 meta-tizen/recipes-tizen/videoproto/videoproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/videoproto/videoproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/videoproto/videoproto.inc create mode 100644 meta-tizen/recipes-tizen/videoproto/videoproto_git.bb create mode 100644 meta-tizen/recipes-tizen/vim/vim-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vim/vim-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vim/vim.inc create mode 100644 meta-tizen/recipes-tizen/vim/vim_git.bb create mode 100644 meta-tizen/recipes-tizen/vpnc/vpnc-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/vpnc/vpnc-native_git.bb create mode 100644 meta-tizen/recipes-tizen/vpnc/vpnc.inc create mode 100644 meta-tizen/recipes-tizen/vpnc/vpnc_git.bb create mode 100644 meta-tizen/recipes-tizen/wav-player/wav-player-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wav-player/wav-player-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wav-player/wav-player.inc create mode 100644 meta-tizen/recipes-tizen/wav-player/wav-player_git.bb create mode 100644 meta-tizen/recipes-tizen/wayland/wayland-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wayland/wayland-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wayland/wayland.inc create mode 100644 meta-tizen/recipes-tizen/wayland/wayland_git.bb create mode 100644 meta-tizen/recipes-tizen/wdiff/wdiff-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wdiff/wdiff-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wdiff/wdiff.inc create mode 100644 meta-tizen/recipes-tizen/wdiff/wdiff_git.bb create mode 100644 meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-native_git.bb create mode 100644 meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw.inc create mode 100644 meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw_git.bb create mode 100644 meta-tizen/recipes-tizen/webkit-efl/webkit-efl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/webkit-efl/webkit-efl.inc create mode 100644 meta-tizen/recipes-tizen/weekeyboard/weekeyboard-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/weekeyboard/weekeyboard-native_git.bb create mode 100644 meta-tizen/recipes-tizen/weekeyboard/weekeyboard.inc create mode 100644 meta-tizen/recipes-tizen/weekeyboard/weekeyboard_git.bb create mode 100644 meta-tizen/recipes-tizen/weston-generic/weston-generic-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/weston-generic/weston-generic-native_git.bb create mode 100644 meta-tizen/recipes-tizen/weston-generic/weston-generic.inc create mode 100644 meta-tizen/recipes-tizen/weston-generic/weston-generic_git.bb create mode 100644 meta-tizen/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/weston-ivi/weston-ivi.inc create mode 100644 meta-tizen/recipes-tizen/weston/weston-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/weston/weston-native_git.bb create mode 100644 meta-tizen/recipes-tizen/weston/weston.inc create mode 100644 meta-tizen/recipes-tizen/weston/weston_git.bb create mode 100644 meta-tizen/recipes-tizen/wget/wget-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wget/wget-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wget/wget.inc create mode 100644 meta-tizen/recipes-tizen/wget/wget_git.bb create mode 100644 meta-tizen/recipes-tizen/which/which-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/which/which-native_git.bb create mode 100644 meta-tizen/recipes-tizen/which/which.inc create mode 100644 meta-tizen/recipes-tizen/which/which_git.bb create mode 100644 meta-tizen/recipes-tizen/wifi-direct/wifi-direct-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wifi-direct/wifi-direct-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wifi-direct/wifi-direct.inc create mode 100644 meta-tizen/recipes-tizen/wifi-direct/wifi-direct_git.bb create mode 100644 meta-tizen/recipes-tizen/wifi/wifi-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wifi/wifi-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wifi/wifi.inc create mode 100644 meta-tizen/recipes-tizen/wifi/wifi_git.bb create mode 100644 meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb.inc create mode 100644 meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb_git.bb create mode 100644 meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant.inc create mode 100644 meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-commons/wrt-commons-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-commons/wrt-commons-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-commons/wrt-commons.inc create mode 100644 meta-tizen/recipes-tizen/wrt-commons/wrt-commons_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-installer/wrt-installer-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-installer/wrt-installer.inc create mode 100644 meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common.inc create mode 100644 meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen.inc create mode 100644 meta-tizen/recipes-tizen/wrt-security/wrt-security-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-security/wrt-security-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-security/wrt-security.inc create mode 100644 meta-tizen/recipes-tizen/wrt-security/wrt-security_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-native_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets.inc create mode 100644 meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets_git.bb create mode 100644 meta-tizen/recipes-tizen/wrt/wrt-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/wrt/wrt.inc create mode 100644 meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture.inc create mode 100644 meta-tizen/recipes-tizen/x86info/x86info-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/x86info/x86info-native_git.bb create mode 100644 meta-tizen/recipes-tizen/x86info/x86info.inc create mode 100644 meta-tizen/recipes-tizen/x86info/x86info_git.bb create mode 100644 meta-tizen/recipes-tizen/xauth/xauth-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xauth/xauth.inc create mode 100644 meta-tizen/recipes-tizen/xbitmaps/xbitmaps-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xbitmaps/xbitmaps-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xbitmaps/xbitmaps.inc create mode 100644 meta-tizen/recipes-tizen/xbitmaps/xbitmaps_git.bb create mode 100644 meta-tizen/recipes-tizen/xcb-proto/xcb-proto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xcb-proto/xcb-proto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xcb-proto/xcb-proto.inc create mode 100644 meta-tizen/recipes-tizen/xcb-proto/xcb-proto_git.bb create mode 100644 meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms.inc create mode 100644 meta-tizen/recipes-tizen/xcb-util/xcb-util-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xcb-util/xcb-util.inc create mode 100644 meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto.inc create mode 100644 meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xconsole/xconsole-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xconsole/xconsole.inc create mode 100644 meta-tizen/recipes-tizen/xdelta1/xdelta1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xdelta1/xdelta1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xdelta1/xdelta1.inc create mode 100644 meta-tizen/recipes-tizen/xdelta1/xdelta1_git.bb create mode 100644 meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs.inc create mode 100644 meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs_git.bb create mode 100644 meta-tizen/recipes-tizen/xdg-utils/xdg-utils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xdg-utils/xdg-utils-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xdg-utils/xdg-utils.inc create mode 100644 meta-tizen/recipes-tizen/xdg-utils/xdg-utils_git.bb create mode 100644 meta-tizen/recipes-tizen/xdgmime/xdgmime-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xdgmime/xdgmime-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xdgmime/xdgmime.inc create mode 100644 meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb create mode 100644 meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo.inc create mode 100644 meta-tizen/recipes-tizen/xextproto/xextproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xextproto/xextproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xextproto/xextproto.inc create mode 100644 meta-tizen/recipes-tizen/xextproto/xextproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev.inc create mode 100644 meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard.inc create mode 100644 meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware.inc create mode 100644 meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto.inc create mode 100644 meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto.inc create mode 100644 meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86driproto/xf86driproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86driproto/xf86driproto.inc create mode 100644 meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto.inc create mode 100644 meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto.inc create mode 100644 meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xhost/xhost-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xhost/xhost.inc create mode 100644 meta-tizen/recipes-tizen/xineramaproto/xineramaproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xineramaproto/xineramaproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xineramaproto/xineramaproto.inc create mode 100644 meta-tizen/recipes-tizen/xineramaproto/xineramaproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xinit/xinit-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xinit/xinit.inc create mode 100644 meta-tizen/recipes-tizen/xinput/xinput-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xinput/xinput.inc create mode 100644 meta-tizen/recipes-tizen/xkbcomp/xkbcomp-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xkbcomp/xkbcomp.inc create mode 100644 meta-tizen/recipes-tizen/xkbevd/xkbevd-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xkbevd/xkbevd.inc create mode 100644 meta-tizen/recipes-tizen/xkbprint/xkbprint-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xkbprint/xkbprint.inc create mode 100644 meta-tizen/recipes-tizen/xkbutils/xkbutils-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xkbutils/xkbutils.inc create mode 100644 meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config.inc create mode 100644 meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config_git.bb create mode 100644 meta-tizen/recipes-tizen/xlsatoms/xlsatoms-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xlsatoms/xlsatoms.inc create mode 100644 meta-tizen/recipes-tizen/xmlcharent/xmlcharent-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xmlcharent/xmlcharent-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlcharent/xmlcharent.inc create mode 100644 meta-tizen/recipes-tizen/xmlcharent/xmlcharent_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlsec1/xmlsec1-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xmlsec1/xmlsec1-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlsec1/xmlsec1.inc create mode 100644 meta-tizen/recipes-tizen/xmlsec1/xmlsec1_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet.inc create mode 100644 meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlto/xmlto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xmlto/xmlto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xmlto/xmlto.inc create mode 100644 meta-tizen/recipes-tizen/xmlto/xmlto_git.bb create mode 100644 meta-tizen/recipes-tizen/xmodmap/xmodmap-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xmodmap/xmodmap.inc create mode 100644 meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files.inc create mode 100644 meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files_git.bb create mode 100644 meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper.inc create mode 100644 meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper_git.bb create mode 100644 meta-tizen/recipes-tizen/xorg-server/xorg-server-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xorg-server/xorg-server.inc create mode 100644 meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev.inc create mode 100644 meta-tizen/recipes-tizen/xprop/xprop-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xprop/xprop.inc create mode 100644 meta-tizen/recipes-tizen/xproto/xproto-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xproto/xproto-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xproto/xproto.inc create mode 100644 meta-tizen/recipes-tizen/xproto/xproto_git.bb create mode 100644 meta-tizen/recipes-tizen/xrandr/xrandr-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xrandr/xrandr.inc create mode 100644 meta-tizen/recipes-tizen/xrdb/xrdb-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xrdb/xrdb.inc create mode 100644 meta-tizen/recipes-tizen/xrestop/xrestop-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xrestop/xrestop.inc create mode 100644 meta-tizen/recipes-tizen/xset/xset-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xset/xset.inc create mode 100644 meta-tizen/recipes-tizen/xsetroot/xsetroot-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xsetroot/xsetroot.inc create mode 100644 meta-tizen/recipes-tizen/xterm/xterm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xterm/xterm.inc create mode 100644 meta-tizen/recipes-tizen/xtrans/xtrans-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xtrans/xtrans-native_git.bb create mode 100644 meta-tizen/recipes-tizen/xtrans/xtrans.inc create mode 100644 meta-tizen/recipes-tizen/xtrans/xtrans_git.bb create mode 100644 meta-tizen/recipes-tizen/xz/xz-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/xz/xz.inc create mode 100644 meta-tizen/recipes-tizen/xz/xz_git.bb create mode 100644 meta-tizen/recipes-tizen/yaml/yaml-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/yaml/yaml-native_git.bb create mode 100644 meta-tizen/recipes-tizen/yaml/yaml.inc create mode 100644 meta-tizen/recipes-tizen/yaml/yaml_git.bb create mode 100644 meta-tizen/recipes-tizen/yasm/yasm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/yasm/yasm-native_git.bb create mode 100644 meta-tizen/recipes-tizen/yasm/yasm.inc create mode 100644 meta-tizen/recipes-tizen/yasm/yasm_git.bb create mode 100644 meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-native_git.bb create mode 100644 meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser.inc create mode 100644 meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser_git.bb create mode 100644 meta-tizen/recipes-tizen/yum/yum-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/yum/yum-native_git.bb create mode 100644 meta-tizen/recipes-tizen/yum/yum.inc create mode 100644 meta-tizen/recipes-tizen/yum/yum_git.bb create mode 100644 meta-tizen/recipes-tizen/zeromq/zeromq-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/zeromq/zeromq-native_git.bb create mode 100644 meta-tizen/recipes-tizen/zeromq/zeromq.inc create mode 100644 meta-tizen/recipes-tizen/zeromq/zeromq_git.bb create mode 100644 meta-tizen/recipes-tizen/zip/zip-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/zip/zip-native_git.bb create mode 100644 meta-tizen/recipes-tizen/zip/zip.inc create mode 100644 meta-tizen/recipes-tizen/zip/zip_git.bb create mode 100644 meta-tizen/recipes-tizen/zlib/zlib-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/zlib/zlib-native_git.bb create mode 100644 meta-tizen/recipes-tizen/zlib/zlib.inc create mode 100644 meta-tizen/recipes-tizen/zlib/zlib_git.bb create mode 100644 meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-native_git.bb create mode 100644 meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin.inc create mode 100644 meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin_git.bb create mode 100644 meta-tizen/recipes-tizen/zypper/zypper-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/zypper/zypper-native_git.bb create mode 100644 meta-tizen/recipes-tizen/zypper/zypper.inc create mode 100644 meta-tizen/recipes-tizen/zypper/zypper_git.bb diff --git a/meta-tizen/COPYING.MIT b/meta-tizen/COPYING.MIT new file mode 100644 index 0000000..fb950dc --- /dev/null +++ b/meta-tizen/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-tizen/conf/layer.conf b/meta-tizen/conf/layer.conf new file mode 100644 index 0000000..278ddc8 --- /dev/null +++ b/meta-tizen/conf/layer.conf @@ -0,0 +1,86 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH := "${BBPATH}:${LAYERDIR}" + +# We have a packages directory, add to BBFILES +BBFILES := "${BBFILES} \ + ${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "tizen-layer" +BBFILE_PATTERN_tizen-layer := "^${LAYERDIR}/" +BBFILE_PRIORITY_tizen-layer = "7" + +PACKAGE_CLASSES = "package_rpm" + +PREFERRED_VERSION_tzdata = "git" + +PREFERRED_PROVIDER_virtual/db = "db4" +PREFERRED_PROVIDER_db = "db4" +PREFERRED_VERSION_db = "git" +PREFERRED_VERSION_db4 = "git" + +PREFERRED_PROVIDER_python-xml = "python" +PREFERRED_PROVIDER_python-xml = "python" +PREFERRED_VERSION_python-xml = "git" +PREFERRED_VERSION_python-xml-native = "git" + +PREFERRED_PROVIDER_python-curses-native = "python-native" +PREFERRED_PROVIDER_python-curses = "python" +PREFERRED_VERSION_python-curses = "git" +PREFERRED_VERSION_python-curses-native = "git" + +PREFERRED_VERSION_python-native = "git" +PREFERRED_VERSION_python = "git" + +PREFERRED_PROVIDER_python-core = "python" +PREFERRED_VERSION_python-core = "git" + +PREFERRED_PROVIDER_libpcre = "pcre" +PREFERRED_VERSION_elfutils = "git" +PREFERRED_PROVIDER_udev = "udev" +PREFERRED_VERSION_systemd = "git" +PREFERRED_VERSION_util-linux = "git" + +PREFERRED_PROVIDER_man = "man-db" + +PREFERRED_PROVIDER_python-rpm = "python-rpm" + +PREFERRED_PROVIDER_kbproto = "xorg-x11-proto-kb" +PREFERRED_PROVIDER_util-macros = "xorg-x11-xutils-dev" +PREFERRED_PROVIDER_xextproto = "xorg-x11-proto-xext" + +PREFERRED_PROVIDER_procps = "procps-ng" + +PREFERRED_PROVIDER_util-linux = "util-linux-ng" +PREFERRED_PROVIDER_xproto = "xorg-x11-proto-core" +PREFERRED_PROVIDER_inputproto = "xorg-x11-proto-input" + +PREFERRED_PROVIDER_initscripts = "sysvinit" + +PREFERRED_VERSION_binutils = "git" + +PREFERRED_PROVIDER_libjson ="json-c" +PREFERRED_VERSION_libjson ="git" + +PREFERRED_VERSION_dbus ="git" + +PREFERRED_PROVIDER_libproxy ="pacrunner" + +PREFERRED_PROVIDER_udev = "systemd" + +PREFERRED_PROVIDER_pkgconfig = "pkg-config" + +PREFERRED_PROVIDER_sqlite3 = "sqlite" +PREFERRED_VERSION_sqlite3 = "git" +PREFERRED_VERSION_sqlite = "git" + +INHERIT_DISTRO = "devshell sstate license" + +#262144=256(Mo)*1024 +IMAGE_ROOTFS_SIZE_ext3 = "262144" +#EXTRA_IMAGECMD_ext2 += "-b 1024" +#IMAGE_ROOTFS_EXTRA_SPACE = "6400" + +#"${@d.setVar('FILESYSTEM_PERMS_TABLES', "files/tizen-fs-perms.txt")}" + +FILESYSTEM_PERMS_TABLES = "files/tizen-fs-perms.txt" \ No newline at end of file diff --git a/meta-tizen/files/tizen-fs-perms.txt b/meta-tizen/files/tizen-fs-perms.txt new file mode 100644 index 0000000..f9cf548 --- /dev/null +++ b/meta-tizen/files/tizen-fs-perms.txt @@ -0,0 +1,68 @@ +# This file contains a list of files and directories with known permissions. +# It is used by the packaging class to ensure that the permissions, owners and +# group of listed files and directories are in sync across the system. +# +# The format of this file +# +# +# +# or +# +# link +# +# : directory path +# : mode for directory +# : uid for directory +# : gid for directory +# : recursively walk the directory? true or false +# : if walking, new mode for files +# : if walking, new uid for files +# : if walking, new gid for files +# : turn the directory into a symlink point to target +# +# in mode, uid or gid, a "-" means don't change any existing values +# +# /usr/src 0755 root root false - - - +# /usr/share/man 0755 root root true 0644 root root + +# Note: all standard config directories are automatically assigned "0755 root root false - - -" + +# Documentation should always be corrected +${mandir} 0755 root root true 0644 root root +${infodir} 0755 root root true 0644 root root +${docdir} 0755 root root true 0644 root root +${datadir}/gtk-doc 0755 root root true 0644 root root + +# Fixup locales +${datadir}/locale 0755 root root true 0644 root root + +# Cleanup headers +${includedir} 0755 root root true 0644 root root +${oldincludedir} 0755 root root true 0644 root root + +# Cleanup debug src +/usr/src/debug 0755 root root true - root root + +# Items from base-files +# Links +# ${localstatedir}/run link volatile/run +# ${localstatedir}/log link volatile/log +# ${localstatedir}/lock link volatile/lock +# ${localstatedir}/tmp link volatile/tmp + +# Special permissions from base-files +# Set 1777 +/tmp 01777 root root false - - - +# ${localstatedir}/volatile/lock 01777 root root false - - - +# ${localstatedir}/volatile/tmp 01777 root root false - - - + +# Set 2775 +/home 02755 root root false - - - +${prefix}/src 02755 root root false - - - +${localstatedir}/local 02755 root root false - - - + +# Set 3755 +/srv 0755 root root false - - - + +# Set 4775 +/var/mail 02755 root root false - - - diff --git a/meta-tizen/recipes-image/images/tizen-generic-core-image-minimal.bb b/meta-tizen/recipes-image/images/tizen-generic-core-image-minimal.bb new file mode 100644 index 0000000..92eb165 --- /dev/null +++ b/meta-tizen/recipes-image/images/tizen-generic-core-image-minimal.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A small image just capable of allowing a device to boot." + +IMAGE_INSTALL = "" +IMAGE_INSTALL += "${ROOTFS_PKGMANAGE_BOOTSTRAP}" +IMAGE_INSTALL += "packagegroup-tizen-Base-System" +IMAGE_INSTALL += "packagegroup-tizen-Console-Tools" +IMAGE_INSTALL += "packagegroup-tizen-Generic-Packaging" + +IMAGE_LINGUAS = " " + +LICENSE = "MIT" + +#inherit core-image + +IMAGE_ROOTFS_SIZE = "8192" + +#Need to be tested. +#PREFERRED_PROVIDER_virtual/kernel ?= "kernel-x86-ivi" + +# remove not needed ipkg informations +#ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + + + +inherit image diff --git a/meta-tizen/recipes-image/images/tizen-generic-core-image.bb b/meta-tizen/recipes-image/images/tizen-generic-core-image.bb new file mode 100644 index 0000000..61a40b3 --- /dev/null +++ b/meta-tizen/recipes-image/images/tizen-generic-core-image.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "A small image just capable of allowing a device to boot." + +IMAGE_INSTALL = "" +IMAGE_INSTALL += "${ROOTFS_PKGMANAGE_BOOTSTRAP}" +IMAGE_INSTALL += "packagegroup-tizen-Base-System" +IMAGE_INSTALL += "packagegroup-tizen-Generic-Middleware" +IMAGE_INSTALL += "packagegroup-tizen-Wayland" +IMAGE_INSTALL += "packagegroup-tizen-Console-Tools" +IMAGE_INSTALL += "packagegroup-tizen-Generic-Adaptation" +IMAGE_INSTALL += "packagegroup-tizen-Generic-Applications" +IMAGE_INSTALL += "packagegroup-tizen-Generic-Packaging" + + +IMAGE_LINGUAS = " " + +LICENSE = "MIT" + +#inherit core-image + +IMAGE_ROOTFS_SIZE = "8192" + +#Need to be tested. +#PREFERRED_PROVIDER_virtual/kernel ?= "kernel-x86-ivi" + +# remove not needed ipkg informations +#ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PACKAGE_GROUP_tizen = "packagegroup-tizen-core packagegroup-tizen-commonwayland-core" + + + + +inherit image + + +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postscript" \ No newline at end of file diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Applications.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Applications.bb new file mode 100644 index 0000000..94f6caa --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Applications.bb @@ -0,0 +1,12 @@ +SUMMARY = "Applications" +DESCRIPTION = "Applications" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "xterm" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-Desktop.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-Desktop.bb new file mode 100644 index 0000000..9a23965 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-Desktop.bb @@ -0,0 +1,29 @@ +SUMMARY = "Base Desktop" +DESCRIPTION = "Base Desktop" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "xhost" +RDEPENDS_${PN} += "cantarell-fonts" +RDEPENDS_${PN} += "dejavu-fonts" +RDEPENDS_${PN} += "google-droid-fonts" +RDEPENDS_${PN} += "xf86-video-fbdev" +RDEPENDS_${PN} += "xf86-input-evdev" +RDEPENDS_${PN} += "xorg-launch-helper" +RDEPENDS_${PN} += "update-desktop-files" +RDEPENDS_${PN} += "desktop-file-utils" +RDEPENDS_${PN} += "dbus-x11" +RDEPENDS_${PN} += "xmodmap" +RDEPENDS_${PN} += "setxkbmap" +RDEPENDS_${PN} += "wpa_supplicant" +RDEPENDS_${PN} += "rfkill" +RDEPENDS_${PN} += "pulseaudio" +RDEPENDS_${PN} += "libva" +RDEPENDS_${PN} += "libva-intel-driver" +RDEPENDS_${PN} += "gstreamer-vaapi" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-System.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-System.bb new file mode 100644 index 0000000..975ea2f --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Base-System.bb @@ -0,0 +1,36 @@ +SUMMARY = "Base System" +DESCRIPTION = "Base System" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "e2fsprogs" +RDEPENDS_${PN} += "util-linux" +RDEPENDS_${PN} += "kmod-compat" +RDEPENDS_${PN} += "kmod" +RDEPENDS_${PN} += "tzdata" +RDEPENDS_${PN} += "pwdutils" +RDEPENDS_${PN} += "pam" +RDEPENDS_${PN} += "setup" +RDEPENDS_${PN} += "filesystem" +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "bash" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "rpm" +RDEPENDS_${PN} += "rpm-security-plugin" +RDEPENDS_${PN} += "default-ac-domains" +RDEPENDS_${PN} += "tizen-release" +RDEPENDS_${PN} += "procps" +RDEPENDS_${PN} += "psmisc" +RDEPENDS_${PN} += "net-tools" +RDEPENDS_${PN} += "kbd" +RDEPENDS_${PN} += "eglibc-locale" +RDEPENDS_${PN} += "pciutils" +RDEPENDS_${PN} += "connman" +RDEPENDS_${PN} += "wpa_supplicant" +RDEPENDS_${PN} += "lrzsz" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Benchmarks.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Benchmarks.bb new file mode 100644 index 0000000..4561bbd --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Benchmarks.bb @@ -0,0 +1,30 @@ +SUMMARY = "Benchmarks" +DESCRIPTION = "Benchmarks" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "blas-devel" +RDEPENDS_${PN} += "lapack-devel" +RDEPENDS_${PN} += "bzip2-devel" +RDEPENDS_${PN} += "zlib-devel" +RDEPENDS_${PN} += "glibc-devel" +RDEPENDS_${PN} += "libtool" +RDEPENDS_${PN} += "gcc-fortran" +RDEPENDS_${PN} += "cmake" +RDEPENDS_${PN} += "tcl" +RDEPENDS_${PN} += "popt-devel" +RDEPENDS_${PN} += "yasm" +RDEPENDS_${PN} += "phoronix-test-suite" +RDEPENDS_${PN} += "fftw3-devel" +RDEPENDS_${PN} += "lapack-devel" +RDEPENDS_${PN} += "libSDL-devel" +RDEPENDS_${PN} += "freeglut-devel" +RDEPENDS_${PN} += "pcre-devel" +RDEPENDS_${PN} += "zip" +RDEPENDS_${PN} += "unzip" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Console-Tools.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Console-Tools.bb new file mode 100644 index 0000000..74a66cd --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Console-Tools.bb @@ -0,0 +1,37 @@ +SUMMARY = "Console Tools" +DESCRIPTION = "Console Tools" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "zypper" +RDEPENDS_${PN} += "snapper-zypp-plugin" +RDEPENDS_${PN} += "tar" +RDEPENDS_${PN} += "wget" +RDEPENDS_${PN} += "grep" +RDEPENDS_${PN} += "gzip" +RDEPENDS_${PN} += "openssh" +RDEPENDS_${PN} += "rsync" +RDEPENDS_${PN} += "parted" +RDEPENDS_${PN} += "zip" +RDEPENDS_${PN} += "minizip" +RDEPENDS_${PN} += "vim" +RDEPENDS_${PN} += "unzip" +RDEPENDS_${PN} += "less" +RDEPENDS_${PN} += "xz" +RDEPENDS_${PN} += "nano" +RDEPENDS_${PN} += "curl" +RDEPENDS_${PN} += "strace" +RDEPENDS_${PN} += "diffutils" +RDEPENDS_${PN} += "patch" +RDEPENDS_${PN} += "findutils" +RDEPENDS_${PN} += "wdiff" +RDEPENDS_${PN} += "powertop" +RDEPENDS_${PN} += "sudo" +RDEPENDS_${PN} += "ca-certificates-mozilla" +RDEPENDS_${PN} += "net-tools" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Development.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Development.bb new file mode 100644 index 0000000..f95bc00 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Development.bb @@ -0,0 +1,54 @@ +SUMMARY = "Development" +DESCRIPTION = "Development" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "zip" +RDEPENDS_${PN} += "unzip" +RDEPENDS_${PN} += "less" +RDEPENDS_${PN} += "gcc" +RDEPENDS_${PN} += "glibc-devel" +RDEPENDS_${PN} += "libtool" +RDEPENDS_${PN} += "cmake" +RDEPENDS_${PN} += "xz" +RDEPENDS_${PN} += "tcl" +RDEPENDS_${PN} += "gdb" +RDEPENDS_${PN} += "nano" +RDEPENDS_${PN} += "strace" +RDEPENDS_${PN} += "yasm" +RDEPENDS_${PN} += "make" +RDEPENDS_${PN} += "diffutils" +RDEPENDS_${PN} += "patch" +RDEPENDS_${PN} += "autoconf" +RDEPENDS_${PN} += "automake" +RDEPENDS_${PN} += "binutils-devel" +RDEPENDS_${PN} += "bison" +RDEPENDS_${PN} += "flex" +RDEPENDS_${PN} += "gcc-c++" +RDEPENDS_${PN} += "libstdc++-devel" +RDEPENDS_${PN} += "libtool" +RDEPENDS_${PN} += "findutils" +RDEPENDS_${PN} += "wdiff" +RDEPENDS_${PN} += "nasm" +RDEPENDS_${PN} += "vim-enhanced" +RDEPENDS_${PN} += "powertop" +RDEPENDS_${PN} += "pulseaudio-utils" +RDEPENDS_${PN} += "gstreamer-utils" +RDEPENDS_${PN} += "alsa-utils" +RDEPENDS_${PN} += "connman-test" +RDEPENDS_${PN} += "pacrunner" +RDEPENDS_${PN} += "git-core" +RDEPENDS_${PN} += "valgrind" +RDEPENDS_${PN} += "lsof" +RDEPENDS_${PN} += "attr" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "corewatcher" +RDEPENDS_${PN} += "iputils" +RDEPENDS_${PN} += "iproute2" +RDEPENDS_${PN} += "which" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Enlightenment.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Enlightenment.bb new file mode 100644 index 0000000..45f66cd --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Enlightenment.bb @@ -0,0 +1,16 @@ +SUMMARY = "Enlightenment" +DESCRIPTION = "Enlightenment" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "enlightenment" +RDEPENDS_${PN} += "econnman" +RDEPENDS_${PN} += "terminology" +RDEPENDS_${PN} += "tizen-branding-default" +RDEPENDS_${PN} += "user-session-units-enlightenment" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Adaptation.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Adaptation.bb new file mode 100644 index 0000000..5113ff0 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Adaptation.bb @@ -0,0 +1,15 @@ +SUMMARY = "Generic Adaptation" +DESCRIPTION = "Generic Adaptation" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "linux-firmware" +RDEPENDS_${PN} += "kernel-x86-generic" +RDEPENDS_${PN} += "dlogutil" +RDEPENDS_${PN} += "system-installer" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Applications.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Applications.bb new file mode 100644 index 0000000..da78986 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Applications.bb @@ -0,0 +1,14 @@ +SUMMARY = "Generic Applications" +DESCRIPTION = "Generic Applications" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "ail" +RDEPENDS_${PN} += "ca-certificates" +RDEPENDS_${PN} += "webkit2-efl-test" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Middleware.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Middleware.bb new file mode 100644 index 0000000..bdc096f --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Middleware.bb @@ -0,0 +1,70 @@ +SUMMARY = "Generic Middleware" +DESCRIPTION = "Generic Middleware" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "alsa-utils" +RDEPENDS_${PN} += "alsa-plugins-pulse" +RDEPENDS_${PN} += "bluez" +RDEPENDS_${PN} += "bluetooth-agent" +RDEPENDS_${PN} += "bluetooth-frwk" +RDEPENDS_${PN} += "bluetooth-share" +RDEPENDS_${PN} += "bluetooth-tools-no-firmware" +RDEPENDS_${PN} += "calendar-service" +RDEPENDS_${PN} += "csr-framework" +RDEPENDS_${PN} += "default-ac-domains" +RDEPENDS_${PN} += "econnman" +RDEPENDS_${PN} += "elm-misc" +RDEPENDS_${PN} += "emotion" +RDEPENDS_${PN} += "efl-theme-tizen-hd" +RDEPENDS_${PN} += "evolution-data-server" +RDEPENDS_${PN} += "gdb-server" +RDEPENDS_${PN} += "gpg2" +RDEPENDS_${PN} += "gst-libav" +RDEPENDS_${PN} += "gst-plugins-bad" +RDEPENDS_${PN} += "gst-plugins-base" +RDEPENDS_${PN} += "gst-plugins-good" +RDEPENDS_${PN} += "gstreamer" +RDEPENDS_${PN} += "gstreamer-vaapi" +RDEPENDS_${PN} += "gstreamer-utils" +RDEPENDS_${PN} += "iptables" +RDEPENDS_${PN} += "libprivilege-control-conf" +RDEPENDS_${PN} += "libva-intel-driver" +RDEPENDS_${PN} += "media-data-sdk" +RDEPENDS_${PN} += "neard" +RDEPENDS_${PN} += "neardal" +RDEPENDS_${PN} += "net-config" +RDEPENDS_${PN} += "obexd" +RDEPENDS_${PN} += "ofono" +RDEPENDS_${PN} += "pam-locale" +RDEPENDS_${PN} += "pkgmgr-server" +RDEPENDS_${PN} += "prelink" +RDEPENDS_${PN} += "pulseaudio" +RDEPENDS_${PN} += "pulseaudio-config" +RDEPENDS_${PN} += "pulseaudio-locale" +RDEPENDS_${PN} += "pulseaudio-module-bluetooth" +RDEPENDS_${PN} += "pulseaudio-utils" +RDEPENDS_${PN} += "rfkill" +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "tree" +RDEPENDS_${PN} += "vaapi-tools" +RDEPENDS_${PN} += "wpa_supplicant" +RDEPENDS_${PN} += "web-ui-fw" +RDEPENDS_${PN} += "web-ui-fw-demo-tizen-winsets" +RDEPENDS_${PN} += "web-ui-fw-theme-default" +RDEPENDS_${PN} += "web-ui-fw-theme-tizen-black" +RDEPENDS_${PN} += "web-ui-fw-theme-tizen-white" +RDEPENDS_${PN} += "wrt" +RDEPENDS_${PN} += "wrt-commons" +RDEPENDS_${PN} += "wrt-installer" +RDEPENDS_${PN} += "wrt-installer-preinstall-service" +RDEPENDS_${PN} += "wrt-plugins-tizen" +RDEPENDS_${PN} += "wrt-security" +RDEPENDS_${PN} += "wrt-widgets" +RDEPENDS_${PN} += "zypper" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Packaging.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Packaging.bb new file mode 100644 index 0000000..8df746d --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Packaging.bb @@ -0,0 +1,13 @@ +SUMMARY = "Generic Packaging" +DESCRIPTION = "Generic Packaging" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "gpg2" +RDEPENDS_${PN} += "zypper" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-QA-Tools.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-QA-Tools.bb new file mode 100644 index 0000000..ad592fe --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-QA-Tools.bb @@ -0,0 +1,23 @@ +SUMMARY = "Generic QA Tools" +DESCRIPTION = "Generic QA Tools" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "bluez-test" +RDEPENDS_${PN} += "connman-test" +RDEPENDS_${PN} += "dbus-python" +RDEPENDS_${PN} += "dlogutil" +RDEPENDS_${PN} += "eet-tools" +RDEPENDS_${PN} += "gdb" +RDEPENDS_${PN} += "gstreamer-utils" +RDEPENDS_${PN} += "neard-test" +RDEPENDS_${PN} += "ofono-test" +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "wget" +RDEPENDS_${PN} += "zypper" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Wayland.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Wayland.bb new file mode 100644 index 0000000..0885d89 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-Wayland.bb @@ -0,0 +1,18 @@ +SUMMARY = "Generic Wayland" +DESCRIPTION = "Generic Wayland" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "cantarell-fonts" +RDEPENDS_${PN} += "dejavu-fonts" +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "xkeyboard-config" +RDEPENDS_${PN} += "tizen-branding-default" +RDEPENDS_${PN} += "user-session-units" +RDEPENDS_${PN} += "desktop-skin" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-X11.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-X11.bb new file mode 100644 index 0000000..6dad827 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Generic-X11.bb @@ -0,0 +1,15 @@ +SUMMARY = "Generic X11" +DESCRIPTION = "Generic X11" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "xorg-server" +RDEPENDS_${PN} += "xf86-input-synaptics" +RDEPENDS_${PN} += "xf86-video-intel" +RDEPENDS_${PN} += "xf86-input-keyboard" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Graphics-and-UI-Framework-X.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Graphics-and-UI-Framework-X.bb new file mode 100644 index 0000000..538ba97 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Graphics-and-UI-Framework-X.bb @@ -0,0 +1,16 @@ +SUMMARY = "Graphics and UI Framework X" +DESCRIPTION = "Graphics and UI Framework X" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "xf86-input-evdev" +RDEPENDS_${PN} += "xf86-input-evdevmultitouch" +RDEPENDS_${PN} += "xkeyboard-config" +RDEPENDS_${PN} += "xorg-launch-helper" +RDEPENDS_${PN} += "xorg-server-setuid" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-PC-Adaptation.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-PC-Adaptation.bb new file mode 100644 index 0000000..3ed8818 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-PC-Adaptation.bb @@ -0,0 +1,16 @@ +SUMMARY = "PC Adaptation" +DESCRIPTION = "PC Adaptation" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "linux-firmware" +RDEPENDS_${PN} += "kernel-adaptation-pc" +RDEPENDS_${PN} += "xf86-input-synaptics" +RDEPENDS_${PN} += "xf86-video-intel" +RDEPENDS_${PN} += "xf86-input-keyboard" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Qt-Framework.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Qt-Framework.bb new file mode 100644 index 0000000..87cdddd --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Qt-Framework.bb @@ -0,0 +1,75 @@ +SUMMARY = "Qt Framework" +DESCRIPTION = "Qt Framework" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "qt5-default" +RDEPENDS_${PN} += "qt5-plugin-accessible-widgets" +RDEPENDS_${PN} += "qt5-plugin-bearer-connman" +RDEPENDS_${PN} += "qt5-plugin-bearer-generic" +RDEPENDS_${PN} += "qt5-plugin-bearer-nm" +RDEPENDS_${PN} += "qt5-plugin-generic-evdev" +RDEPENDS_${PN} += "qt5-plugin-imageformat-gif" +RDEPENDS_${PN} += "qt5-plugin-imageformat-ico" +RDEPENDS_${PN} += "qt5-plugin-imageformat-jpeg" +RDEPENDS_${PN} += "qt5-plugin-platform-eglfs" +RDEPENDS_${PN} += "qt5-plugin-platforminputcontext-compose" +RDEPENDS_${PN} += "qt5-plugin-platforminputcontext-ibus" +RDEPENDS_${PN} += "qt5-plugin-platform-linuxfb" +RDEPENDS_${PN} += "qt5-plugin-platform-minimal" +RDEPENDS_${PN} += "qt5-plugin-platform-minimalegl" +RDEPENDS_${PN} += "qt5-plugin-platform-offscreen" +RDEPENDS_${PN} += "qt5-plugin-printsupport-cups" +RDEPENDS_${PN} += "qt5-plugin-sqldriver-sqlite" +RDEPENDS_${PN} += "qt5-qtconcurrent" +RDEPENDS_${PN} += "qt5-qtcore" +RDEPENDS_${PN} += "qt5-qtdbus" +RDEPENDS_${PN} += "qt5-qtdeclarative" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-dialogs" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-folderlistmodel" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-localstorageplugin" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-models2" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-particles2" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-privatewidgets" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-qtquick2plugin" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-qttest" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-sensors" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-settings" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-window2" +RDEPENDS_${PN} += "qt5-qtdeclarative-import-xmllistmodel" +RDEPENDS_${PN} += "qt5-qtdeclarative-plugin-accessible" +RDEPENDS_${PN} += "qt5-qtdeclarative-plugin-qmlinspector" +RDEPENDS_${PN} += "qt5-qtdeclarative-qml" +RDEPENDS_${PN} += "qt5-qtdeclarative-qmlscene" +RDEPENDS_${PN} += "qt5-qtdeclarative-qtquick" +RDEPENDS_${PN} += "qt5-qtdeclarative-qtquickparticles" +RDEPENDS_${PN} += "qt5-qtdeclarative-qtquicktest" +RDEPENDS_${PN} += "qt5-qtgraphicaleffects" +RDEPENDS_${PN} += "qt5-qtgui" +RDEPENDS_${PN} += "qt5-qtimageformats-plugin-mng" +RDEPENDS_${PN} += "qt5-qtimageformats-plugin-tga" +RDEPENDS_${PN} += "qt5-qtimageformats-plugin-tiff" +RDEPENDS_${PN} += "qt5-qtimageformats-plugin-wbmp" +RDEPENDS_${PN} += "qt5-qtnetwork" +RDEPENDS_${PN} += "qt5-qtopengl" +RDEPENDS_${PN} += "qt5-qtprintsupport" +RDEPENDS_${PN} += "qt5-qtquickcontrols" +RDEPENDS_${PN} += "qt5-qtquickcontrols-tizen" +RDEPENDS_${PN} += "qt5-qtsensors" +RDEPENDS_${PN} += "qt5-qtsensors-plugin-generic" +RDEPENDS_${PN} += "qt5-qtsensors-plugin-gestures-sensor" +RDEPENDS_${PN} += "qt5-qtsensors-plugin-gestures-shake" +RDEPENDS_${PN} += "qt5-qtsensors-plugin-tizen" +RDEPENDS_${PN} += "qt5-qtsql" +RDEPENDS_${PN} += "qt5-qttest" +RDEPENDS_${PN} += "qt5-qtwayland" +RDEPENDS_${PN} += "qt5-qtwidgets" +RDEPENDS_${PN} += "qt5-qtxml" +RDEPENDS_${PN} += "qt5-qtxmlpatterns" +RDEPENDS_${PN} += "qtchooser" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Wayland.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Wayland.bb new file mode 100644 index 0000000..7a8d9d0 --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Wayland.bb @@ -0,0 +1,17 @@ +SUMMARY = "Wayland" +DESCRIPTION = "Wayland" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "cantarell-fonts" +RDEPENDS_${PN} += "dejavu-fonts" +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "xkeyboard-config" +RDEPENDS_${PN} += "tizen-branding-default" +RDEPENDS_${PN} += "user-session-units" diff --git a/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Web-Framework.bb b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Web-Framework.bb new file mode 100644 index 0000000..45f6c0b --- /dev/null +++ b/meta-tizen/recipes-packagegroups/packagegroups/packagegroup-tizen-Web-Framework.bb @@ -0,0 +1,17 @@ +SUMMARY = "Web Framework" +DESCRIPTION = "Web Framework" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r1" +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "" + +RDEPENDS_${PN} += "wrt" +RDEPENDS_${PN} += "wrt-plugins-common" +RDEPENDS_${PN} += "wrt-commons" +RDEPENDS_${PN} += "wrt-security" +RDEPENDS_${PN} += "wrt-installer" +RDEPENDS_${PN} += "webkit2-efl" diff --git a/meta-tizen/recipes-tizen/GSSDP/GSSDP-extraconf.inc b/meta-tizen/recipes-tizen/GSSDP/GSSDP-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/GSSDP/GSSDP-native_git.bb b/meta-tizen/recipes-tizen/GSSDP/GSSDP-native_git.bb new file mode 100644 index 0000000..e481178 --- /dev/null +++ b/meta-tizen/recipes-tizen/GSSDP/GSSDP-native_git.bb @@ -0,0 +1,12 @@ +require GSSDP.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GSSDP;protocol=ssh;tag=6ecb02705ec583bfd92ff8ead4b85b56d0f1858f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GSSDP/GSSDP.inc b/meta-tizen/recipes-tizen/GSSDP/GSSDP.inc new file mode 100644 index 0000000..b123983 --- /dev/null +++ b/meta-tizen/recipes-tizen/GSSDP/GSSDP.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gssdp +PROVIDES += "gssdp" +RPROVIDES_gssdp += "gssdp" + +#PROVIDES by gssdp-devel +PROVIDES += "gssdp-devel" +RPROVIDES_gssdp-devel += "gssdp-devel" +RPROVIDES_gssdp-devel += "gssdp-dev" + +RDEPENDS = "" +#RDEPENDS of gssdp (gssdp) +RDEPENDS_gssdp += "dbus" +RDEPENDS_gssdp += "libsoup" +RDEPENDS_gssdp += "/sbin/ldconfig" + +#RDEPENDS of gssdp-devel (gssdp-devel) +RDEPENDS_gssdp-devel += "gssdp" + + +DEPENDS = "" +#DEPENDS of gssdp +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(gconf-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gssdp-0.14.4 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "gssdp" +PACKAGES += "gssdp-devel" + +gssdp_files = "" +gssdp_files += "AUTHORS COPYING" +gssdp_files += "/usr/lib/*.so.*" + +gssdp-devel_files = "" +gssdp-devel_files += "/usr/share/gtk-doc/html/gssdp" +gssdp-devel_files += "/usr/lib/*.so" +gssdp-devel_files += "/usr/lib/pkgconfig/gssdp-1.0.pc" +gssdp-devel_files += "/usr/include/gssdp-1.0" + +FILES_${PN} = "${gssdp_files}" +FILES_${PN}-devel = "${gssdp-devel_files}" + +PKG_gssdp= "gssdp" +PKG_gssdp-devel= "gssdp-devel" + +require GSSDP-extraconf.inc diff --git a/meta-tizen/recipes-tizen/GSSDP/GSSDP_git.bb b/meta-tizen/recipes-tizen/GSSDP/GSSDP_git.bb new file mode 100644 index 0000000..eaf68ec --- /dev/null +++ b/meta-tizen/recipes-tizen/GSSDP/GSSDP_git.bb @@ -0,0 +1,8 @@ +require GSSDP.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GSSDP;protocol=ssh;tag=6ecb02705ec583bfd92ff8ead4b85b56d0f1858f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-extraconf.inc b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-native_git.bb b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-native_git.bb new file mode 100644 index 0000000..aa108b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV-native_git.bb @@ -0,0 +1,12 @@ +require GUPnP-AV.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP-AV;protocol=ssh;tag=ac5d118a0b108c65de8deba1a6d8969df7f64434;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV.inc b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV.inc new file mode 100644 index 0000000..bf13a7e --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "GUPnP-AV is a collection of helpers for building UPnP AV applications" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gupnp-av-devel +PROVIDES += "gupnp-av-devel" +RPROVIDES_gupnp-av-devel += "gupnp-av-devel" +RPROVIDES_gupnp-av-devel += "gupnp-av-dev" + +#PROVIDES by gupnp-av +PROVIDES += "gupnp-av" +RPROVIDES_gupnp-av += "gupnp-av" + +RDEPENDS = "" +#RDEPENDS of gupnp-av-devel (gupnp-av-devel) +RDEPENDS_gupnp-av-devel += "gupnp-av" + +#RDEPENDS of gupnp-av (gupnp-av) +RDEPENDS_gupnp-av += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of gupnp-av +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "GUPnP" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gupnp-av-0.12.4 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf $RPM_BUILD_ROOT/usr/share/gtk-doc + + +} + +PACKAGES = "" +PACKAGES += "gupnp-av-devel" +PACKAGES += "gupnp-av" + +gupnp-av-devel_files = "" +gupnp-av-devel_files += "/usr/include/gupnp-av-1.0/libgupnp-av" +gupnp-av-devel_files += "/usr/lib/*.so" +gupnp-av-devel_files += "/usr/lib/pkgconfig/gupnp-av-1.0.pc" + +gupnp-av_files = "" +gupnp-av_files += "AUTHORS COPYING README" +gupnp-av_files += "/usr/lib/*.so.*" +gupnp-av_files += "/usr/share/gupnp-av/*.xsd" + +FILES_${PN}-devel = "${gupnp-av-devel_files}" +FILES_${PN} = "${gupnp-av_files}" + +PKG_gupnp-av-devel= "gupnp-av-devel" +PKG_gupnp-av= "gupnp-av" + +require GUPnP-AV-extraconf.inc diff --git a/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV_git.bb b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV_git.bb new file mode 100644 index 0000000..6d6198f --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-AV/GUPnP-AV_git.bb @@ -0,0 +1,8 @@ +require GUPnP-AV.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP-AV;protocol=ssh;tag=ac5d118a0b108c65de8deba1a6d8969df7f64434;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-extraconf.inc b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-native_git.bb b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-native_git.bb new file mode 100644 index 0000000..89b72ab --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA-native_git.bb @@ -0,0 +1,12 @@ +require GUPnP-DLNA.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP-DLNA;protocol=ssh;tag=243e8bfef2256c944c0202e62c1612ee5e341f30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA.inc b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA.inc new file mode 100644 index 0000000..82e2b42 --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "Utility library for easing DLNA-related tasks" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Multimedia" +LICENSE = "LGPLv2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gupnp-dlna-devel +PROVIDES += "gupnp-dlna-devel" +RPROVIDES_gupnp-dlna-devel += "gupnp-dlna-devel" +RPROVIDES_gupnp-dlna-devel += "gupnp-dlna-dev" + +#PROVIDES by gupnp-dlna +PROVIDES += "gupnp-dlna" +RPROVIDES_gupnp-dlna += "gupnp-dlna" + +RDEPENDS = "" +#RDEPENDS of gupnp-dlna-devel (gupnp-dlna-devel) +RDEPENDS_gupnp-dlna-devel += "gupnp-dlna" + +#RDEPENDS of gupnp-dlna (gupnp-dlna) +RDEPENDS_gupnp-dlna += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of gupnp-dlna +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gupnp-dlna-0.10.2 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf $RPM_BUILD_ROOT/usr/share/gtk-doc + + +} + +PACKAGES = "" +PACKAGES += "gupnp-dlna-devel" +PACKAGES += "gupnp-dlna" + +gupnp-dlna-devel_files = "" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-audio-information.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-container-information.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-gst-utils.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-g-values.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-image-information.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-information.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile-guesser.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-restriction.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-value-list.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-values.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-video-information.h" +gupnp-dlna-devel_files += "/usr/include/gupnp-dlna-2.0/libgupnp-dlna/metadata/gupnp-dlna-metadata-extractor.h" +gupnp-dlna-devel_files += "/usr/lib/pkgconfig/gupnp-dlna-2.0.pc" +gupnp-dlna-devel_files += "/usr/lib/pkgconfig/gupnp-dlna-metadata-2.0.pc" +gupnp-dlna-devel_files += "/usr/lib/pkgconfig/gupnp-dlna-gst-2.0.pc" +gupnp-dlna-devel_files += "/usr/lib/libgupnp-dlna-2.0.so" +gupnp-dlna-devel_files += "/usr/lib/libgupnp-dlna-gst-2.0.so" +gupnp-dlna-devel_files += "/usr/lib/gupnp-dlna/libgstreamer.so" + +gupnp-dlna_files = "" +gupnp-dlna_files += "/usr/bin/gupnp-dlna-info-2.0" +gupnp-dlna_files += "/usr/bin/gupnp-dlna-ls-profiles-2.0" +gupnp-dlna_files += "/usr/lib/libgupnp-dlna-2.0.so.*" +gupnp-dlna_files += "/usr/lib/libgupnp-dlna-gst-2.0.so.*" +gupnp-dlna_files += "/usr/lib/gupnp-dlna/libgstreamer.so" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/aac.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/ac3.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/amr.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/avc.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/common.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/dlna-profiles.rng" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/jpeg.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/lpcm.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mp3.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg-ts.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg1.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg4.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/png.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/wma.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg-common.xml" +gupnp-dlna_files += "/usr/share/gupnp-dlna-2.0/dlna-profiles/mpeg-ps.xml" + +FILES_${PN}-devel = "${gupnp-dlna-devel_files}" +FILES_${PN} = "${gupnp-dlna_files}" + +PKG_gupnp-dlna-devel= "gupnp-dlna-devel" +PKG_gupnp-dlna= "gupnp-dlna" + +require GUPnP-DLNA-extraconf.inc diff --git a/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA_git.bb b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA_git.bb new file mode 100644 index 0000000..11c1b4f --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP-DLNA/GUPnP-DLNA_git.bb @@ -0,0 +1,8 @@ +require GUPnP-DLNA.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP-DLNA;protocol=ssh;tag=243e8bfef2256c944c0202e62c1612ee5e341f30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP/GUPnP-extraconf.inc b/meta-tizen/recipes-tizen/GUPnP/GUPnP-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/GUPnP/GUPnP-native_git.bb b/meta-tizen/recipes-tizen/GUPnP/GUPnP-native_git.bb new file mode 100644 index 0000000..ef7fa14 --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP/GUPnP-native_git.bb @@ -0,0 +1,12 @@ +require GUPnP.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP;protocol=ssh;tag=c0a3c5b934b997cf4bba32b3880a0b24f287bd12;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/GUPnP/GUPnP.inc b/meta-tizen/recipes-tizen/GUPnP/GUPnP.inc new file mode 100644 index 0000000..3b081c5 --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP/GUPnP.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "GUPnP is an framework for creating UPnP devices & control points" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gupnp-devel +PROVIDES += "gupnp-devel" +RPROVIDES_gupnp-devel += "gupnp-devel" +RPROVIDES_gupnp-devel += "gupnp-dev" + +#PROVIDES by gupnp +PROVIDES += "gupnp" +RPROVIDES_gupnp += "gupnp" + +RDEPENDS = "" +#RDEPENDS of gupnp-devel (gupnp-devel) +RDEPENDS_gupnp-devel += "gupnp" + +#RDEPENDS of gupnp (gupnp) +RDEPENDS_gupnp += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of gupnp +DEPENDS += "GSSDP" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(gmodule-2.0)" +DEPENDS += "pkgconfig(uuid)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gupnp-0.20.5 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf $RPM_BUILD_ROOT/usr/share/gtk-doc + + +} + +PACKAGES = "" +PACKAGES += "gupnp-devel" +PACKAGES += "gupnp" + +gupnp-devel_files = "" +gupnp-devel_files += "/usr/lib/pkgconfig/gupnp-1.0.pc" +gupnp-devel_files += "/usr/lib/*.so" +gupnp-devel_files += "/usr/include/gupnp-1.0" +gupnp-devel_files += "/usr/bin/gupnp-binding-tool" + +gupnp_files = "" +gupnp_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${gupnp-devel_files}" +FILES_${PN} = "${gupnp_files}" + +PKG_gupnp-devel= "gupnp-devel" +PKG_gupnp= "gupnp" + +require GUPnP-extraconf.inc diff --git a/meta-tizen/recipes-tizen/GUPnP/GUPnP_git.bb b/meta-tizen/recipes-tizen/GUPnP/GUPnP_git.bb new file mode 100644 index 0000000..6722831 --- /dev/null +++ b/meta-tizen/recipes-tizen/GUPnP/GUPnP_git.bb @@ -0,0 +1,8 @@ +require GUPnP.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/GUPnP;protocol=ssh;tag=c0a3c5b934b997cf4bba32b3880a0b24f287bd12;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/SDL/SDL-extraconf.inc b/meta-tizen/recipes-tizen/SDL/SDL-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/SDL/SDL-native_git.bb b/meta-tizen/recipes-tizen/SDL/SDL-native_git.bb new file mode 100644 index 0000000..ae54b34 --- /dev/null +++ b/meta-tizen/recipes-tizen/SDL/SDL-native_git.bb @@ -0,0 +1,12 @@ +require SDL.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/SDL;protocol=ssh;tag=cb1727955c8723bdb9538fa77b5f5219c99cfcec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/SDL/SDL.inc b/meta-tizen/recipes-tizen/SDL/SDL.inc new file mode 100644 index 0000000..eb84452 --- /dev/null +++ b/meta-tizen/recipes-tizen/SDL/SDL.inc @@ -0,0 +1,156 @@ +DESCRIPTION = "Simple DirectMedia Layer Library" +HOMEPAGE = "http://www.libsdl.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by SDL +PROVIDES += "SDL" +RPROVIDES_SDL += "SDL" + +#PROVIDES by libSDL +PROVIDES += "libSDL" +RPROVIDES_libSDL += "libSDL" +# the PROVIDES rules is ignore "SDL = 1.2.15" +PROVIDES += "SDL" +RPROVIDES_libSDL += "SDL" + +#PROVIDES by libSDL-devel +PROVIDES += "libSDL-devel" +RPROVIDES_libSDL-devel += "libSDL-devel" +RPROVIDES_libSDL-devel += "libSDL-dev" +# the PROVIDES rules is ignore "SDL-devel = 1.2.15" +PROVIDES += "SDL-devel" +RPROVIDES_libSDL-devel += "SDL-devel" +RPROVIDES_libSDL-devel += "SDL-dev" + +RDEPENDS = "" +#RDEPENDS of libSDL-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "gcc" +RDEPENDS_lib${PN}-devel += "pkgconfig(alsa)" +RDEPENDS_lib${PN}-devel += "libstdc++-dev" +RDEPENDS_lib${PN}-devel += "pkgconfig" +RDEPENDS_lib${PN}-devel += "libSDL" +RDEPENDS_lib${PN}-devel += "mesa-dev" + + +DEPENDS = "" +#DEPENDS of SDL +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "libstdc++-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libpulse-devel" +DEPENDS += "autoconf-native" +DEPENDS += "gcc-c++" +DEPENDS += "mesa-devel" +DEPENDS += "nasm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/SDL.manifest . + + # remove the file to provide sufficient evidence that we are + # not using this file during the build [bnc#508111] + rm -f src/joystick/darwin/10.3.9-FIX/IOHIDLib.h + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-pic \ + --disable-rpath \ + --disable-alsa-shared \ + --disable-video-svga \ + --disable-video-ps3 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libSDL" +PACKAGES += "libSDL-devel" + +libSDL_files = "" +libSDL_files += "SDL.manifest" +libSDL_files += "COPYING" +libSDL_files += "/usr/lib/*.so.*" + +libSDL-devel_files = "" +libSDL-devel_files += "SDL.manifest" +libSDL-devel_files += "/usr/bin/*" +libSDL-devel_files += "/usr/lib/*.so" +libSDL-devel_files += "/usr/include/SDL" +libSDL-devel_files += "/usr/share/aclocal" +libSDL-devel_files += "/usr/share/man/*/*" +libSDL-devel_files += "/usr/lib/pkgconfig/sdl.pc" + +FILES_lib${PN} = "${libSDL_files}" +FILES_lib${PN}-devel = "${libSDL-devel_files}" + +PKG_libSDL= "libSDL" +PKG_libSDL-devel= "libSDL-devel" + +require SDL-extraconf.inc diff --git a/meta-tizen/recipes-tizen/SDL/SDL_git.bb b/meta-tizen/recipes-tizen/SDL/SDL_git.bb new file mode 100644 index 0000000..90c9d67 --- /dev/null +++ b/meta-tizen/recipes-tizen/SDL/SDL_git.bb @@ -0,0 +1,8 @@ +require SDL.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/SDL;protocol=ssh;tag=cb1727955c8723bdb9538fa77b5f5219c99cfcec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/acl/acl-extraconf.inc b/meta-tizen/recipes-tizen/acl/acl-extraconf.inc new file mode 100644 index 0000000..a27b4f2 --- /dev/null +++ b/meta-tizen/recipes-tizen/acl/acl-extraconf.inc @@ -0,0 +1,15 @@ +# the package comes with a custom config.h.in, it cannot be +# overwritten by autoheader +export AUTOHEADER = "true" +EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" + +EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" + + +SRC_URI += "file://relative-libdir.patch;striplevel=0 " +SRC_URI += "file://package_utilies.m4 " + +do_patch_append () { + cat ${WORKDIR}/relative-libdir.patch | patch -p0 -b + cp ${WORKDIR}/package_utilies.m4 m4/ +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/acl/acl.inc b/meta-tizen/recipes-tizen/acl/acl.inc new file mode 100644 index 0000000..0cf7cbb --- /dev/null +++ b/meta-tizen/recipes-tizen/acl/acl.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "Commands for Manipulating POSIX Access Control Lists" +HOMEPAGE = "http://download.savannah.gnu.org/releases-noredirect/acl/" +SECTION = "Security/Access Control" +LICENSE = "GPL-2.0+ and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libacl +PROVIDES += "libacl" +RPROVIDES_libacl += "libacl" + +#PROVIDES by acl-docs +PROVIDES += "acl-docs " +RPROVIDES_acl-docs += "acl-docs " + +#PROVIDES by libacl-devel +PROVIDES += "libacl-devel" +RPROVIDES_libacl-devel += "libacl-devel" +RPROVIDES_libacl-devel += "libacl-dev" + +#PROVIDES by acl +PROVIDES += "acl" +RPROVIDES_acl += "acl" + +RDEPENDS = "" +#RDEPENDS of libacl-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libattr-dev" +RDEPENDS_lib${PN}-devel += "libacl" +RDEPENDS_lib${PN}-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of acl +DEPENDS += "libattr-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n acl-2.2.51 + cp ${S}/packaging/acl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" + export DEBUG=-DNDEBUG + CFLAGS="$RPM_OPT_FLAGS" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --prefix=/ \ + --exec-prefix=/ \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --enable-gettext=no \ + --disable-static \ + --with-pic + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + DIST_ROOT="$RPM_BUILD_ROOT" + DIST_INSTALL=`pwd`/install.manifest + DIST_INSTALL_DEV=`pwd`/install-dev.manifest + DIST_INSTALL_LIB=`pwd`/install-lib.manifest + export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB + /usr/bin/make install DIST_MANIFEST="$DIST_INSTALL" + /usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" + /usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB" + + rm ${D}/usr/share/doc/packages/acl/COPYING* + + rm -f ${D}//usr/lib/*.{a,la} + + +} + +PACKAGES = "" +PACKAGES += "libacl" +PACKAGES += "acl-docs" +PACKAGES += "libacl-devel" +PACKAGES += "acl" + +libacl_files = "" +libacl_files += "acl.manifest" +libacl_files += "/usr/lib/libacl.so.1*" + +acl-docs_files = "" +acl-docs_files += "/usr/share/info" +acl-docs_files += "/usr/share/man" + +libacl-devel_files = "" +libacl-devel_files += "acl.manifest" +#Remove rpm attribut "%attr(755,root,root)" +libacl-devel_files += "/usr/include/acl" + +acl_files = "" +acl_files += "acl.manifest" +#Remove rpm attribut "%attr(755,root,root)" +acl_files += "/usr/share/doc/packages/acl" +#Remove rpm attribut "%attr(644,root,root)" +acl_files += "/usr/share/doc/packages/acl/CHANGES.gz" +#Remove rpm attribut "%attr(644,root,root)" +acl_files += "/usr/share/doc/packages/acl/PORTING" +#Remove rpm attribut "%attr(644,root,root)" +acl_files += "/usr/share/doc/packages/acl/README" + +FILES_lib${PN} = "${libacl_files}" +FILES_${PN}-docs = "${acl-docs_files}" +FILES_lib${PN}-devel = "${libacl-devel_files}" +FILES_${PN} = "${acl_files}" + +PKG_libacl= "libacl" +PKG_acl-docs= "acl-docs" +PKG_libacl-devel= "libacl-devel" +PKG_acl= "acl" + +require acl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/acl/acl/package_utilies.m4 b/meta-tizen/recipes-tizen/acl/acl/package_utilies.m4 new file mode 100644 index 0000000..4de3d3b --- /dev/null +++ b/meta-tizen/recipes-tizen/acl/acl/package_utilies.m4 @@ -0,0 +1,115 @@ +dnl Copyright (C) 2003, 2004, 2005, 2006, 2007 Silicon Graphics, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify it +dnl under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +# +# Check for specified utility (env var) - if unset, fail. +# +AC_DEFUN([AC_PACKAGE_NEED_UTILITY], + [ if test -z "$2"; then + echo + echo FATAL ERROR: $3 does not seem to be installed. + echo $1 cannot be built without a working $4 installation. + exit 1 + fi + ]) + +# +# Generic macro, sets up all of the global build variables. +# The following environment variables may be set to override defaults: +# CC MAKE LIBTOOL TAR ZIP MAKEDEPEND AWK SED ECHO SORT +# MSGFMT MSGMERGE XGETTEXT RPM +# +AC_DEFUN([AC_PACKAGE_UTILITIES], + [ AC_PROG_CC + cc="$CC" + AC_SUBST(cc) + AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler]) + + search_path="$PATH$PATH_SEPARATOR/usr/freeware/bin$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR/usr/local/bin" + + AC_PATH_PROGS(MAKE, gmake make,, $search_path) + make=$MAKE + AC_SUBST(make) + AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make]) + + AC_PATH_PROG(TAR, tar,, $search_path) + tar=$TAR + AC_SUBST(tar) + + AC_PATH_PROG(ZIP, gzip,, $search_path) + zip=$ZIP + AC_SUBST(zip) + + AC_PATH_PROG(MAKEDEPEND, makedepend, /bin/true) + makedepend=$MAKEDEPEND + AC_SUBST(makedepend) + + AC_PATH_PROG(AWK, awk,, $search_path) + awk=$AWK + AC_SUBST(awk) + + AC_PATH_PROG(SED, sed,, $search_path) + sed=$SED + AC_SUBST(sed) + + AC_PATH_PROG(ECHO, echo,, $search_path) + echo=$ECHO + AC_SUBST(echo) + + AC_PATH_PROG(SORT, sort,, $search_path) + sort=$SORT + AC_SUBST(sort) + + dnl check if symbolic links are supported + AC_PROG_LN_S + + if test "$enable_gettext" = yes; then + AC_PATH_PROG(MSGFMT, msgfmt,, $search_path) + msgfmt=$MSGFMT + AC_SUBST(msgfmt) + AC_PACKAGE_NEED_UTILITY($1, "$msgfmt", msgfmt, gettext) + + AC_PATH_PROG(MSGMERGE, msgmerge,, $search_path) + msgmerge=$MSGMERGE + AC_SUBST(msgmerge) + AC_PACKAGE_NEED_UTILITY($1, "$msgmerge", msgmerge, gettext) + + AC_PATH_PROG(XGETTEXT, xgettext,, $search_path) + xgettext=$XGETTEXT + AC_SUBST(xgettext) + AC_PACKAGE_NEED_UTILITY($1, "$xgettext", xgettext, gettext) + + AC_DEFINE([ENABLE_GETTEXT], 1, [enable gettext]) + fi + + AC_PATH_PROG(RPM, rpm,, $search_path) + rpm=$RPM + AC_SUBST(rpm) + + dnl .. and what version is rpm + rpm_version=0 + test -n "$RPM" && test -x "$RPM" && rpm_version=`$RPM --version \ + | awk '{print $NF}' | awk -F. '{V=1; print $V}'` + AC_SUBST(rpm_version) + dnl At some point in rpm 4.0, rpm can no longer build rpms, and + dnl rpmbuild is needed (rpmbuild may go way back; not sure) + dnl So, if rpm version >= 4.0, look for rpmbuild. Otherwise build w/ rpm + if test $rpm_version -ge 4; then + AC_PATH_PROG(RPMBUILD, rpmbuild) + rpmbuild=$RPMBUILD + else + rpmbuild=$RPM + fi + AC_SUBST(rpmbuild) + ]) diff --git a/meta-tizen/recipes-tizen/acl/acl/relative-libdir.patch b/meta-tizen/recipes-tizen/acl/acl/relative-libdir.patch new file mode 100644 index 0000000..b72bf18 --- /dev/null +++ b/meta-tizen/recipes-tizen/acl/acl/relative-libdir.patch @@ -0,0 +1,25 @@ +Upstream-Status: Pending + +use relative path in symbolic links, or it fails in staging +sed expression from udev + +7/29/2010 - created by Qing He + +diff -u include.orig/buildmacros include/buildmacros +--- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800 ++++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800 +@@ -88,9 +88,11 @@ + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ + ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \ + if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ +- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ +- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ +- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ ++ rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ ++ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ ++ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ ++ rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ ++ ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ + fi + else + INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) diff --git a/meta-tizen/recipes-tizen/acl/acl_git.bb b/meta-tizen/recipes-tizen/acl/acl_git.bb new file mode 100644 index 0000000..83a5c31 --- /dev/null +++ b/meta-tizen/recipes-tizen/acl/acl_git.bb @@ -0,0 +1,8 @@ +require acl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/acl;protocol=ssh;tag=eaa0bb85502a1b08ad704026b85846c6ebadef2f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/acpid/acpid-extraconf.inc b/meta-tizen/recipes-tizen/acpid/acpid-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/acpid/acpid-native_git.bb b/meta-tizen/recipes-tizen/acpid/acpid-native_git.bb new file mode 100644 index 0000000..e462f6e --- /dev/null +++ b/meta-tizen/recipes-tizen/acpid/acpid-native_git.bb @@ -0,0 +1,12 @@ +require acpid.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/acpid;protocol=ssh;tag=f80becc6f62d4d273077367ae6ee89cf98758853;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/acpid/acpid.inc b/meta-tizen/recipes-tizen/acpid/acpid.inc new file mode 100644 index 0000000..b7ce9a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/acpid/acpid.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Executes Actions at ACPI Events" +HOMEPAGE = "http://tedfelix.com/linux/acpid-netlink.html" +SECTION = "System/Daemons" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by acpid +PROVIDES += "acpid" +RPROVIDES_acpid += "acpid" + +#PROVIDES by acpid-docs +PROVIDES += "acpid-docs " +RPROVIDES_acpid-docs += "acpid-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of acpid +DEPENDS += "systemd" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/acpid.manifest . + + cp ${S}/packaging/thinkpad_acpi.modprobe ${S}/packaging/events.power_button ${S}/packaging/thinkpad_handler ${S}/packaging/power_button ${S}/packaging/events.thinkpad . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS="-Wl,-z,relro,-z,now" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make OPT="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} SBINDIR=/usr/sbin + install -Dm 644 thinkpad_acpi.modprobe ${D}/etc/modprobe.d/50-thinkpad_acpi.conf + install -Dm 744 thinkpad_handler ${D}/usr/lib/acpid/thinkpad_handler + install -Dm 744 power_button ${D}/usr/lib/acpid/power_button + install -Dm 644 events.power_button ${D}/etc/acpi/events/power_button + install -Dm 644 events.thinkpad ${D}/etc/acpi/events/thinkpad + mkdir -p ${D}//lib/systemd/system + install -m 644 ${S}/packaging/acpid.service ${D}//lib/systemd/system + + # keep the logfile + install -dm 755 ${D}/var/log + touch ${D}/var/log/acpid + + + + +} + +PACKAGES = "" +PACKAGES += "acpid" +PACKAGES += "acpid-docs" + +acpid_files = "" +acpid_files += "acpid.manifest" +acpid_files += "/etc/modprobe.d" +acpid_files += "/etc/acpi" +acpid_files += "/etc/acpi/events" +acpid_files += "/etc/acpi/events/thinkpad" +acpid_files += "/etc/acpi/events/power_button" +acpid_files += "/usr/lib/acpid" +acpid_files += "/etc/modprobe.d/50-thinkpad_acpi.conf" +acpid_files += "/lib/systemd/system/acpid.service" +acpid_files += "/usr/sbin/kacpimon" +acpid_files += "/usr/sbin/acpid" +acpid_files += "/usr/bin/acpi_listen" + +acpid-docs_files = "" +acpid-docs_files += "/usr/share/info" +acpid-docs_files += "/usr/share/man" + +FILES_${PN} = "${acpid_files}" +FILES_${PN}-docs = "${acpid-docs_files}" + +PKG_acpid= "acpid" +PKG_acpid-docs= "acpid-docs" + +require acpid-extraconf.inc diff --git a/meta-tizen/recipes-tizen/acpid/acpid_git.bb b/meta-tizen/recipes-tizen/acpid/acpid_git.bb new file mode 100644 index 0000000..76361eb --- /dev/null +++ b/meta-tizen/recipes-tizen/acpid/acpid_git.bb @@ -0,0 +1,8 @@ +require acpid.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/acpid;protocol=ssh;tag=f80becc6f62d4d273077367ae6ee89cf98758853;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/adns/adns-extraconf.inc b/meta-tizen/recipes-tizen/adns/adns-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/adns/adns-native_git.bb b/meta-tizen/recipes-tizen/adns/adns-native_git.bb new file mode 100644 index 0000000..64b2cc3 --- /dev/null +++ b/meta-tizen/recipes-tizen/adns/adns-native_git.bb @@ -0,0 +1,12 @@ +require adns.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/adns;protocol=ssh;tag=b17c61b0cea0a7b65f33a8454c0a017b5f95124c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/adns/adns.inc b/meta-tizen/recipes-tizen/adns/adns.inc new file mode 100644 index 0000000..ce33ed9 --- /dev/null +++ b/meta-tizen/recipes-tizen/adns/adns.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Advanced Easy-to-Use Asynchronous-Capable DNS Utilities" +HOMEPAGE = "http://www.chiark.greenend.org.uk/~ian/adns/" +SECTION = "Productivity/Networking/DNS/Utilities" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libadns +PROVIDES += "libadns" +RPROVIDES_libadns += "libadns" + +#PROVIDES by adns +PROVIDES += "adns" +RPROVIDES_adns += "adns" + +#PROVIDES by libadns-devel +PROVIDES += "libadns-devel" +RPROVIDES_libadns-devel += "libadns-devel" +RPROVIDES_libadns-devel += "libadns-dev" + +RDEPENDS = "" +#RDEPENDS of libadns-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libadns" +RDEPENDS_lib${PN}-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of adns +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/adns.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libadns" +PACKAGES += "adns" +PACKAGES += "libadns-devel" + +libadns_files = "" +libadns_files += "adns.manifest" +libadns_files += "/usr/lib/libadns.so.1*" + +adns_files = "" +adns_files += "adns.manifest" +adns_files += "/usr/bin/adns*" + +libadns-devel_files = "" +libadns-devel_files += "adns.manifest" +libadns-devel_files += "/usr/include/adns.h" +libadns-devel_files += "/usr/lib/libadns.so" + +FILES_lib${PN} = "${libadns_files}" +FILES_${PN} = "${adns_files}" +FILES_lib${PN}-devel = "${libadns-devel_files}" + +PKG_libadns= "libadns" +PKG_adns= "adns" +PKG_libadns-devel= "libadns-devel" + +require adns-extraconf.inc diff --git a/meta-tizen/recipes-tizen/adns/adns_git.bb b/meta-tizen/recipes-tizen/adns/adns_git.bb new file mode 100644 index 0000000..311f3be --- /dev/null +++ b/meta-tizen/recipes-tizen/adns/adns_git.bb @@ -0,0 +1,8 @@ +require adns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/adns;protocol=ssh;tag=b17c61b0cea0a7b65f33a8454c0a017b5f95124c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ail/ail-extraconf.inc b/meta-tizen/recipes-tizen/ail/ail-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ail/ail-native_git.bb b/meta-tizen/recipes-tizen/ail/ail-native_git.bb new file mode 100644 index 0000000..23d1dc0 --- /dev/null +++ b/meta-tizen/recipes-tizen/ail/ail-native_git.bb @@ -0,0 +1,12 @@ +require ail.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/ail;protocol=ssh;tag=b46685ff506d658b594b3f5b171de6497fab3d90;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ail/ail.inc b/meta-tizen/recipes-tizen/ail/ail.inc new file mode 100644 index 0000000..37df348 --- /dev/null +++ b/meta-tizen/recipes-tizen/ail/ail.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Application Information Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ail +PROVIDES += "ail" +RPROVIDES_ail += "ail" +# the PROVIDES rules is ignore "libail = 0.2.73-1" +PROVIDES += "libail" +RPROVIDES_ail += "libail" + +#PROVIDES by ail-devel +PROVIDES += "ail-devel" +RPROVIDES_ail-devel += "ail-devel" +RPROVIDES_ail-devel += "ail-dev" + +RDEPENDS = "" +#RDEPENDS of ail-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libail" + + +DEPENDS = "" +#DEPENDS of ail +DEPENDS += "vconf-keys-devel" +DEPENDS += "pkgconfig(xdgmime)" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(db-util)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ail.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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+=" -fpic" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DBUILD_PKGTYPE=rpm \ + -DSMACK=Off + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/opt/dbspace/ + mkdir -p ${D}/opt/share/applications/ + + +} + +PACKAGES = "" +PACKAGES += "ail" +PACKAGES += "ail-devel" + +ail_files = "" +ail_files += "ail.manifest" +ail_files += "/opt/share/applications" +ail_files += "/usr/bin/ail_initdb" +ail_files += "/usr/share/install-info/*" +ail_files += "/usr/lib/libail.so.0" +ail_files += "/usr/lib/libail.so.0.1.0" + +ail-devel_files = "" +ail-devel_files += "ail.manifest" +ail-devel_files += "/usr/include/ail.h" +ail-devel_files += "/usr/lib/libail.so" +ail-devel_files += "/usr/lib/pkgconfig/ail.pc" + +FILES_${PN} = "${ail_files}" +FILES_${PN}-devel = "${ail-devel_files}" + +PKG_ail= "ail" +PKG_ail-devel= "ail-devel" + +require ail-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ail/ail_git.bb b/meta-tizen/recipes-tizen/ail/ail_git.bb new file mode 100644 index 0000000..c0858e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/ail/ail_git.bb @@ -0,0 +1,8 @@ +require ail.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/ail;protocol=ssh;tag=b46685ff506d658b594b3f5b171de6497fab3d90;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager-extraconf.inc b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager-native_git.bb b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager-native_git.bb new file mode 100644 index 0000000..b4d4348 --- /dev/null +++ b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager-native_git.bb @@ -0,0 +1,12 @@ +require alarm-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/alarm-manager;protocol=ssh;tag=46a11032c162562d1cf0838843925d8ff2e013b5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc new file mode 100644 index 0000000..680b4f8 --- /dev/null +++ b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc @@ -0,0 +1,191 @@ +DESCRIPTION = "Alarm library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by alarm-manager +PROVIDES += "alarm-manager" +RPROVIDES_alarm-manager += "alarm-manager" + +#PROVIDES by libalarm +PROVIDES += "libalarm" +RPROVIDES_libalarm += "libalarm" + +#PROVIDES by alarm-server +PROVIDES += "alarm-server" +RPROVIDES_alarm-server += "alarm-server" + +#PROVIDES by libalarm-devel +PROVIDES += "libalarm-devel" +RPROVIDES_libalarm-devel += "libalarm-devel" +RPROVIDES_libalarm-devel += "libalarm-dev" + +RDEPENDS = "" +#RDEPENDS of libalarm (libalarm) +RDEPENDS_libalarm += "alarm-server" + +#RDEPENDS of alarm-server (alarm-server) +RDEPENDS_alarm-server += "/usr/bin/systemctl" + +#RDEPENDS of libalarm-devel (libalarm-devel) +RDEPENDS_libalarm-devel += "libalarm" + + +DEPENDS = "" +#DEPENDS of alarm-manager +DEPENDS += "pkgconfig(pmapi)" +DEPENDS += "pkgconfig(bundle)" +DEPENDS += "pkgconfig(appsvc)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "pkgconfig(heynoti)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alarm-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + dbus-binding-tool --mode=glib-server --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-skeleton.h + dbus-binding-tool --mode=glib-client --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-stub.h + dbus-binding-tool --mode=glib-server --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-skeleton.h + dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d ${D}/lib/systemd/system/multi-user.target.wants + install -m0644 ${S}/packaging/alarm-server.service ${D}/lib/systemd/system + ln -sf ../alarm-server.service ${D}/lib/systemd/system/multi-user.target.wants/alarm-server.service + + mkdir -p ${D}//etc/udev/rules.d + install -m0644 ${S}/packaging/60-alarm-manager-rtc.rules ${D}/etc/udev/rules.d/ + + mkdir -p ${D}//etc/dbus-1/system.d + install -m0644 ${S}/packaging/alarm-service.conf ${D}/etc/dbus-1/system.d/ + + +} + +PACKAGES = "" +PACKAGES += "libalarm" +PACKAGES += "alarm-server" +PACKAGES += "libalarm-devel" + +libalarm_files = "" +libalarm_files += "alarm-manager.manifest" +libalarm_files += "alarm-lib.manifest" +libalarm_files += "/usr/lib/libalarm.so.0" + +alarm-server_files = "" +alarm-server_files += "alarm-manager.manifest" +alarm-server_files += "/lib/systemd/system/multi-user.target.wants/alarm-server.service" +alarm-server_files += "/lib/systemd/system/alarm-server.service" +alarm-server_files += "/etc/dbus-1/system.d/alarm-service.conf" +alarm-server_files += "/etc/udev/rules.d/60-alarm-manager-rtc.rules" + +libalarm-devel_files = "" +libalarm-devel_files += "alarm-manager.manifest" +libalarm-devel_files += "/usr/include/*.h" +libalarm-devel_files += "/usr/lib/pkgconfig/*.pc" +libalarm-devel_files += "/usr/lib/libalarm.so" + +FILES_libalarm = "${libalarm_files}" +FILES_alarm-server = "${alarm-server_files}" +FILES_libalarm-devel = "${libalarm-devel_files}" + +PKG_libalarm= "libalarm" +PKG_alarm-server= "alarm-server" +PKG_libalarm-devel= "libalarm-devel" + +require alarm-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager_git.bb b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager_git.bb new file mode 100644 index 0000000..f5c0de3 --- /dev/null +++ b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager_git.bb @@ -0,0 +1,8 @@ +require alarm-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/alarm-manager;protocol=ssh;tag=46a11032c162562d1cf0838843925d8ff2e013b5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-lib/alsa-lib-extraconf.inc b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/alsa-lib/alsa-lib-native_git.bb b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib-native_git.bb new file mode 100644 index 0000000..a6f2d81 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib-native_git.bb @@ -0,0 +1,12 @@ +require alsa-lib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-lib;protocol=ssh;tag=344a8da2fb44683c3b10dd8c1b38ebf195b7089c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-lib/alsa-lib.inc b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib.inc new file mode 100644 index 0000000..64850e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "The Advanced Linux Sound Architecture (ALSA) library" +HOMEPAGE = "http://www.alsa-project.org/" +SECTION = "System/Audio" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by alsa-lib +PROVIDES += "alsa-lib" +RPROVIDES_alsa-lib += "alsa-lib" + +#PROVIDES by libasound +PROVIDES += "libasound" +RPROVIDES_libasound += "libasound" + +#PROVIDES by libasound-devel +PROVIDES += "libasound-devel" +RPROVIDES_libasound-devel += "libasound-devel" +RPROVIDES_libasound-devel += "libasound-dev" + +RDEPENDS = "" +#RDEPENDS of libasound-devel (libasound-devel) +RDEPENDS_libasound-devel += "libasound" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alsa-lib.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --with-alsa-devdir=/dev/snd \ + --disable-alisp \ + --disable-seq \ + --disable-python \ + --with-gnu-ld \ + --with-pcm-plugins=rate,linear,plug,dmix,dsnoop,asym,mmap,ioplug,empty,hooks,route,multi,softvol,file,iec958,null,shm + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -f ${D}//usr/bin/aserver + + +} + +PACKAGES = "" +PACKAGES += "libasound-devel" +PACKAGES += "libasound" + +libasound-devel_files = "" +libasound-devel_files += "alsa-lib.manifest" +libasound-devel_files += "/usr/include/*" +libasound-devel_files += "/usr/lib/lib*.so" +libasound-devel_files += "/usr/lib/pkgconfig/*" +libasound-devel_files += "/usr/share/aclocal" + +libasound_files = "" +libasound_files += "alsa-lib.manifest" +libasound_files += "/usr/lib/lib*.so.*" +libasound_files += "/usr/lib/alsa-lib/smixer/*.so" +libasound_files += "/usr/share/alsa/*" + +FILES_libasound-devel = "${libasound-devel_files}" +FILES_libasound = "${libasound_files}" + +PKG_libasound-devel= "libasound-devel" +PKG_libasound= "libasound" + +require alsa-lib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/alsa-lib/alsa-lib_git.bb b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib_git.bb new file mode 100644 index 0000000..19e5e5a --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-lib/alsa-lib_git.bb @@ -0,0 +1,8 @@ +require alsa-lib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-lib;protocol=ssh;tag=344a8da2fb44683c3b10dd8c1b38ebf195b7089c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-extraconf.inc b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-native_git.bb b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-native_git.bb new file mode 100644 index 0000000..124f2b6 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins-native_git.bb @@ -0,0 +1,12 @@ +require alsa-plugins.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-plugins;protocol=ssh;tag=19c484e9bc0d77034e4871a1c36752b9b5ed1a92;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins.inc b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins.inc new file mode 100644 index 0000000..5385698 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins.inc @@ -0,0 +1,145 @@ +DESCRIPTION = "Extra Plug-Ins for the ALSA Library" +HOMEPAGE = "http://www.alsa-project.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by alsa-plugins +PROVIDES += "alsa-plugins" +RPROVIDES_alsa-plugins += "alsa-plugins" + +#PROVIDES by alsa-plugins-speex +PROVIDES += "alsa-plugins-speex" +RPROVIDES_alsa-plugins-speex += "alsa-plugins-speex" + +#PROVIDES by alsa-plugins-pulse +PROVIDES += "alsa-plugins-pulse" +RPROVIDES_alsa-plugins-pulse += "alsa-plugins-pulse" + +RDEPENDS = "" +#RDEPENDS of alsa-plugins-pulse (${PN}-pulse) +RDEPENDS_${PN}-pulse += "pulseaudio" + + +DEPENDS = "" +#DEPENDS of alsa-plugins +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "libpulse-devel" +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "libtool-cross" +DEPENDS += "speex-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alsa-plugins.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export AUTOMAKE_JOBS="-j16" + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-speex=builtin + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/etc/ + /bin/install -m 0644 ${S}/packaging//asound-pulse.conf ${D}/etc/ + /bin/install -m 0644 ${S}/packaging//alsa-pulse.conf ${D}/etc/ + + +} + +PACKAGES = "" +PACKAGES += "alsa-plugins" +PACKAGES += "alsa-plugins-speex" +PACKAGES += "alsa-plugins-pulse" + +alsa-plugins_files = "" +alsa-plugins_files += "alsa-plugins.manifest" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_ctl_oss.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_pcm_oss.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_pcm_upmix.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_pcm_vdownmix.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_pcm_usb_stream.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_rate_speexrate*.so" +alsa-plugins_files += "/usr/lib/alsa-lib/libasound_module_ctl_arcam_av.so" + +alsa-plugins-speex_files = "" +alsa-plugins-speex_files += "alsa-plugins.manifest" +alsa-plugins-speex_files += "/usr/lib/alsa-lib/libasound_module_pcm_speex.so" + +alsa-plugins-pulse_files = "" +alsa-plugins-pulse_files += "alsa-plugins.manifest" +alsa-plugins-pulse_files += "/usr/lib/alsa-lib/libasound_module_ctl_pulse.so" +alsa-plugins-pulse_files += "/usr/lib/alsa-lib/libasound_module_pcm_pulse.so" +alsa-plugins-pulse_files += "/usr/lib/alsa-lib/libasound_module_conf_pulse.so" +alsa-plugins-pulse_files += "/etc/asound-pulse.conf" +alsa-plugins-pulse_files += "/etc/alsa-pulse.conf" +alsa-plugins-pulse_files += "/usr/share/alsa/alsa.conf.d" + +FILES_${PN} = "${alsa-plugins_files}" +FILES_${PN}-speex = "${alsa-plugins-speex_files}" +FILES_${PN}-pulse = "${alsa-plugins-pulse_files}" + +PKG_alsa-plugins= "alsa-plugins" +PKG_alsa-plugins-speex= "alsa-plugins-speex" +PKG_alsa-plugins-pulse= "alsa-plugins-pulse" + +require alsa-plugins-extraconf.inc diff --git a/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins_git.bb b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins_git.bb new file mode 100644 index 0000000..e823ada --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-plugins/alsa-plugins_git.bb @@ -0,0 +1,8 @@ +require alsa-plugins.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-plugins;protocol=ssh;tag=19c484e9bc0d77034e4871a1c36752b9b5ed1a92;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-extraconf.inc b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-native_git.bb b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-native_git.bb new file mode 100644 index 0000000..aa7683a --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2-native_git.bb @@ -0,0 +1,12 @@ +require alsa-scenario-0.2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/alsa-scenario-0.2;protocol=ssh;tag=8a7abb902764c6afdd4c3fab4d0ac29716117207;nobranch=1" + 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 new file mode 100644 index 0000000..ddab76c --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "ALSA Scenario pkg" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Audio" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by alsa-scenario-devel +PROVIDES += "alsa-scenario-devel" +RPROVIDES_alsa-scenario-devel += "alsa-scenario-devel" +RPROVIDES_alsa-scenario-devel += "alsa-scenario-dev" + +#PROVIDES by alsa-scenario +PROVIDES += "alsa-scenario" +RPROVIDES_alsa-scenario += "alsa-scenario" + +RDEPENDS = "" +#RDEPENDS of alsa-scenario-devel (alsa-scenario-devel) +RDEPENDS_alsa-scenario-devel += "alsa-scenario" + + +DEPENDS = "" +#DEPENDS of alsa-scenario +DEPENDS += "pkgconfig(alsa)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alsa-scenario.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp -f /usr/share/libtool/config/config.guess ${WORKDIR}/alsa-scenario-0.2.1/ + cp -f /usr/share/libtool/config/config.sub ${WORKDIR}/alsa-scenario-0.2.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=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "alsa-scenario-devel" +PACKAGES += "alsa-scenario" + +alsa-scenario-devel_files = "" +alsa-scenario-devel_files += "alsa-scenario.manifest" +alsa-scenario-devel_files += "/usr/include/alsa/*.h" +alsa-scenario-devel_files += "/usr/lib/libascenario.so" +alsa-scenario-devel_files += "/usr/lib/pkgconfig/libascenario.pc" + +alsa-scenario_files = "" +alsa-scenario_files += "alsa-scenario.manifest" +alsa-scenario_files += "/usr/lib/libascenario-0.2.so.*" + +FILES_${PN}-devel = "${alsa-scenario-devel_files}" +FILES_${PN} = "${alsa-scenario_files}" + +PKG_alsa-scenario-devel= "alsa-scenario-devel" +PKG_alsa-scenario= "alsa-scenario" + +require alsa-scenario-0.2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2_git.bb b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2_git.bb new file mode 100644 index 0000000..48e248f --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2_git.bb @@ -0,0 +1,8 @@ +require alsa-scenario-0.2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/alsa-scenario-0.2;protocol=ssh;tag=8a7abb902764c6afdd4c3fab4d0ac29716117207;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-utils/alsa-utils-extraconf.inc b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/alsa-utils/alsa-utils-native_git.bb b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils-native_git.bb new file mode 100644 index 0000000..6d74340 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils-native_git.bb @@ -0,0 +1,12 @@ +require alsa-utils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-utils;protocol=ssh;tag=4d93f30d1bc8cbe82db962376e71e250507c3b61;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/alsa-utils/alsa-utils.inc b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils.inc new file mode 100644 index 0000000..35574e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Advanced Linux Sound Architecture (ALSA) utilities" +HOMEPAGE = "http://www.alsa-project.org/" +SECTION = "Applications/Multimedia" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by alsa-utils-doc +PROVIDES += "alsa-utils-doc" +RPROVIDES_alsa-utils-doc += "alsa-utils-doc" + +#PROVIDES by alsa-utils +PROVIDES += "alsa-utils" +RPROVIDES_alsa-utils += "alsa-utils" + +RDEPENDS = "" +#RDEPENDS of alsa-utils-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "alsa-utils" + +#RDEPENDS of alsa-utils (${PN}) +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of alsa-utils +DEPENDS += "alsa-lib" +DEPENDS += "systemd" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alsa-utils.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --disable-nls \ + --disable-xmlto \ + --disable-alsamixer \ + --disable-alsatest \ + --with-udev-rules-dir=/lib/udev/rules.d \ + --with-systemdsystemunitdir=/lib/systemd/system + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/var/lib/alsa + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/alsa-utils + rm -rf ${D}/usr/share/doc/alsa-utils-1.0.26 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "alsa-utils" + +alsa-utils_files = "" +alsa-utils_files += "alsa-utils.manifest" +alsa-utils_files += "/usr/bin/*" +alsa-utils_files += "/usr/sbin/*" +alsa-utils_files += "/usr/share/alsa/*" +alsa-utils_files += "/usr/share/sounds/*" +alsa-utils_files += "/lib/udev/rules.d/90-alsa-restore.rules" +alsa-utils_files += "/lib/systemd/system/*.service" +alsa-utils_files += "/lib/systemd/system/basic.target.wants/alsa-restore.service" +alsa-utils_files += "/lib/systemd/system/shutdown.target.wants/alsa-store.service" +alsa-utils_files += "/var/lib/alsa" + +FILES_${PN} = "${alsa-utils_files}" + +PKG_alsa-utils= "alsa-utils" + +require alsa-utils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/alsa-utils/alsa-utils_git.bb b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils_git.bb new file mode 100644 index 0000000..14a0e48 --- /dev/null +++ b/meta-tizen/recipes-tizen/alsa-utils/alsa-utils_git.bb @@ -0,0 +1,8 @@ +require alsa-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/alsa-utils;protocol=ssh;tag=4d93f30d1bc8cbe82db962376e71e250507c3b61;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/anthy/anthy-extraconf.inc b/meta-tizen/recipes-tizen/anthy/anthy-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/anthy/anthy-native_git.bb b/meta-tizen/recipes-tizen/anthy/anthy-native_git.bb new file mode 100644 index 0000000..ddcbf7a --- /dev/null +++ b/meta-tizen/recipes-tizen/anthy/anthy-native_git.bb @@ -0,0 +1,12 @@ +require anthy.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/anthy;protocol=ssh;tag=5e7a08ab59c9c1f97eb4fa7e05c4c8dd30ed1753;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/anthy/anthy.inc b/meta-tizen/recipes-tizen/anthy/anthy.inc new file mode 100644 index 0000000..aeabad7 --- /dev/null +++ b/meta-tizen/recipes-tizen/anthy/anthy.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "A Japanese character input system library.(with dictionary)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Libraries" +LICENSE = "GPL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by anthy +PROVIDES += "anthy" +RPROVIDES_anthy += "anthy" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/anthy.manifest . + #tar zxf ${S}/packaging//cannadic-0.93.tar.gz + #ln -s ../cannadic-0.93/gcanna.t mkanthydic + #ln -s ../cannadic-0.93/gcannaf.t mkanthydic + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${RPM_BUILD_ROOT} + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + + +} + +PACKAGES = "" +PACKAGES += "anthy" + +anthy_files = "" +anthy_files += "anthy.manifest" +anthy_files += "/usr/bin/*" +anthy_files += "/etc/*" +anthy_files += "/usr/share/anthy" +anthy_files += "/usr/lib/pkgconfig/*" +anthy_files += "/usr/lib/libanthy*" +anthy_files += "/usr/include/*" + +FILES_${PN} = "${anthy_files}" + +PKG_anthy= "anthy" + +require anthy-extraconf.inc diff --git a/meta-tizen/recipes-tizen/anthy/anthy_git.bb b/meta-tizen/recipes-tizen/anthy/anthy_git.bb new file mode 100644 index 0000000..479cc2a --- /dev/null +++ b/meta-tizen/recipes-tizen/anthy/anthy_git.bb @@ -0,0 +1,8 @@ +require anthy.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/anthy;protocol=ssh;tag=5e7a08ab59c9c1f97eb4fa7e05c4c8dd30ed1753;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker-extraconf.inc b/meta-tizen/recipes-tizen/app-checker/app-checker-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker-native_git.bb b/meta-tizen/recipes-tizen/app-checker/app-checker-native_git.bb new file mode 100644 index 0000000..73f0bfc --- /dev/null +++ b/meta-tizen/recipes-tizen/app-checker/app-checker-native_git.bb @@ -0,0 +1,12 @@ +require app-checker.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-checker;protocol=ssh;tag=c69c0e37b6aa9c24b2aa4e99e37319870a21508c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker.inc b/meta-tizen/recipes-tizen/app-checker/app-checker.inc new file mode 100644 index 0000000..627867d --- /dev/null +++ b/meta-tizen/recipes-tizen/app-checker/app-checker.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "App Checker" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by app-checker-server-devel +PROVIDES += "app-checker-server-devel" +RPROVIDES_app-checker-server-devel += "app-checker-server-devel" +RPROVIDES_app-checker-server-devel += "app-checker-server-dev" + +#PROVIDES by app-checker-devel +PROVIDES += "app-checker-devel" +RPROVIDES_app-checker-devel += "app-checker-devel" +RPROVIDES_app-checker-devel += "app-checker-dev" + +#PROVIDES by app-checker +PROVIDES += "app-checker" +RPROVIDES_app-checker += "app-checker" + +#PROVIDES by app-checker-server +PROVIDES += "app-checker-server" +RPROVIDES_app-checker-server += "app-checker-server" + +RDEPENDS = "" +#RDEPENDS of app-checker-server-devel (${PN}-server-devel) +RDEPENDS_${PN}-server-devel += "app-checker-server" + +#RDEPENDS of app-checker-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "app-checker" + +#RDEPENDS of app-checker-server (${PN}-server) +RDEPENDS_${PN}-server += "app-checker" + + +DEPENDS = "" +#DEPENDS of app-checker +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app-checker.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/lib/ac-plugins + + + +} + +PACKAGES = "" +PACKAGES += "app-checker-server-devel" +PACKAGES += "app-checker-server" +PACKAGES += "app-checker" +PACKAGES += "app-checker-devel" + +app-checker-server-devel_files = "" +app-checker-server-devel_files += "app-checker.manifest" +app-checker-server-devel_files += "/usr/lib/libapp-checker-server.so" +app-checker-server-devel_files += "/usr/lib/pkgconfig/app-checker-server.pc" +app-checker-server-devel_files += "/usr/include/app-checker/app-checker-server.h" + +app-checker-server_files = "" +app-checker-server_files += "app-checker.manifest" +app-checker-server_files += "/usr/lib/libapp-checker-server.so.0" +app-checker-server_files += "/usr/lib/libapp-checker-server.so.0.1.0" + +app-checker_files = "" +app-checker_files += "app-checker.manifest" +app-checker_files += "/usr/lib/libapp-checker.so.0" +app-checker_files += "/usr/lib/libapp-checker.so.0.1.0" +app-checker_files += "/usr/lib/ac-plugins" + +app-checker-devel_files = "" +app-checker-devel_files += "app-checker.manifest" +app-checker-devel_files += "/usr/lib/libapp-checker.so" +app-checker-devel_files += "/usr/lib/pkgconfig/app-checker.pc" +app-checker-devel_files += "/usr/include/app-checker/app-checker.h" + +FILES_${PN}-server-devel = "${app-checker-server-devel_files}" +FILES_${PN}-server = "${app-checker-server_files}" +FILES_${PN} = "${app-checker_files}" +FILES_${PN}-devel = "${app-checker-devel_files}" + +PKG_app-checker-server-devel= "app-checker-server-devel" +PKG_app-checker-server= "app-checker-server" +PKG_app-checker= "app-checker" +PKG_app-checker-devel= "app-checker-devel" + +require app-checker-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker_git.bb b/meta-tizen/recipes-tizen/app-checker/app-checker_git.bb new file mode 100644 index 0000000..08fd377 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-checker/app-checker_git.bb @@ -0,0 +1,8 @@ +require app-checker.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-checker;protocol=ssh;tag=c69c0e37b6aa9c24b2aa4e99e37319870a21508c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-core/app-core-extraconf.inc b/meta-tizen/recipes-tizen/app-core/app-core-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app-core/app-core-native_git.bb b/meta-tizen/recipes-tizen/app-core/app-core-native_git.bb new file mode 100644 index 0000000..5437c59 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-core/app-core-native_git.bb @@ -0,0 +1,12 @@ +require app-core.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-core;protocol=ssh;tag=d5761f6d3560bea795bc7025493accf4ead9684c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-core/app-core.inc b/meta-tizen/recipes-tizen/app-core/app-core.inc new file mode 100644 index 0000000..8216e27 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-core/app-core.inc @@ -0,0 +1,182 @@ +DESCRIPTION = "Application basic" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by app-core-efl +PROVIDES += "app-core-efl" +RPROVIDES_app-core-efl += "app-core-efl" + +#PROVIDES by app-core-template +PROVIDES += "app-core-template" +RPROVIDES_app-core-template += "app-core-template" + +#PROVIDES by app-core +PROVIDES += "app-core" +RPROVIDES_app-core += "app-core" + +#PROVIDES by app-core-common-devel +PROVIDES += "app-core-common-devel" +RPROVIDES_app-core-common-devel += "app-core-common-devel" +RPROVIDES_app-core-common-devel += "app-core-common-dev" + +#PROVIDES by app-core-common +PROVIDES += "app-core-common" +RPROVIDES_app-core-common += "app-core-common" + +#PROVIDES by app-core-efl-devel +PROVIDES += "app-core-efl-devel" +RPROVIDES_app-core-efl-devel += "app-core-efl-devel" +RPROVIDES_app-core-efl-devel += "app-core-efl-dev" + +RDEPENDS = "" +#RDEPENDS of app-core-efl (${PN}-efl) +RDEPENDS_${PN}-efl += "/sbin/ldconfig" + +#RDEPENDS of app-core-common-devel (${PN}-common-devel) +RDEPENDS_${PN}-common-devel += "pkgconfig(aul)" +RDEPENDS_${PN}-common-devel += "pkgconfig(sensor)" +RDEPENDS_${PN}-common-devel += "app-core-common" +RDEPENDS_${PN}-common-devel += "pkgconfig(vconf)" +RDEPENDS_${PN}-common-devel += "pkgconfig(elementary)" + +#RDEPENDS of app-core-common (${PN}-common) +RDEPENDS_${PN}-common += "/sbin/ldconfig" + +#RDEPENDS of app-core-efl-devel (${PN}-efl-devel) +RDEPENDS_${PN}-efl-devel += "app-core-efl" +RDEPENDS_${PN}-efl-devel += "app-core-common-dev" + + +DEPENDS = "" +#DEPENDS of app-core +DEPENDS += "pkgconfig(rua)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(ecore)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(sensor)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app-core.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -Dwith_wayland=TRUE\ + -DENABLE_GTK=OFF + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}/lib/systemd/user/core-efl.target.wants + install -m0644 ${S}/packaging/core-efl-wayland.target ${D}/lib/systemd/user/core-efl.target + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/app-core + + + +} + +PACKAGES = "" +PACKAGES += "app-core-efl-devel" +PACKAGES += "app-core-efl" +PACKAGES += "app-core-common" +PACKAGES += "app-core-common-devel" + +app-core-efl-devel_files = "" +app-core-efl-devel_files += "app-core.manifest" +app-core-efl-devel_files += "/usr/include/appcore/appcore-efl.h" +app-core-efl-devel_files += "/usr/lib/libappcore-efl.so" +app-core-efl-devel_files += "/usr/lib/pkgconfig/appcore-efl.pc" + +app-core-efl_files = "" +app-core-efl_files += "app-core.manifest" +app-core-efl_files += "/usr/lib/libappcore-efl.so.*" + +app-core-common_files = "" +app-core-common_files += "app-core.manifest" +app-core-common_files += "/usr/lib/libappcore-common.so.*" +app-core-common_files += "/usr/lib/systemd/user/core-efl.target" +app-core-common_files += "/usr/lib/systemd/user/core-efl.target.wants/" +app-core-common_files += "/usr/share/license/app-core" + +app-core-common-devel_files = "" +app-core-common-devel_files += "app-core.manifest" +app-core-common-devel_files += "/usr/lib/libappcore-common.so" +app-core-common-devel_files += "/usr/lib/pkgconfig/appcore-common.pc" +app-core-common-devel_files += "/usr/include/appcore/appcore-common.h" +app-core-common-devel_files += "/usr/include/SLP_Appcore_PG.h" + +FILES_${PN}-efl-devel = "${app-core-efl-devel_files}" +FILES_${PN}-efl = "${app-core-efl_files}" +FILES_${PN}-common = "${app-core-common_files}" +FILES_${PN}-common-devel = "${app-core-common-devel_files}" + +PKG_app-core-efl-devel= "app-core-efl-devel" +PKG_app-core-efl= "app-core-efl" +PKG_app-core-common= "app-core-common" +PKG_app-core-common-devel= "app-core-common-devel" + +require app-core-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app-core/app-core_git.bb b/meta-tizen/recipes-tizen/app-core/app-core_git.bb new file mode 100644 index 0000000..e6cf0f3 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-core/app-core_git.bb @@ -0,0 +1,8 @@ +require app-core.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-core;protocol=ssh;tag=d5761f6d3560bea795bc7025493accf4ead9684c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-manager/app-manager-extraconf.inc b/meta-tizen/recipes-tizen/app-manager/app-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app-manager/app-manager-native_git.bb b/meta-tizen/recipes-tizen/app-manager/app-manager-native_git.bb new file mode 100644 index 0000000..9b1073e --- /dev/null +++ b/meta-tizen/recipes-tizen/app-manager/app-manager-native_git.bb @@ -0,0 +1,12 @@ +require app-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/app-manager;protocol=ssh;tag=13054cca243234d5617b0ecb489487ab2bf9d46c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-manager/app-manager.inc b/meta-tizen/recipes-tizen/app-manager/app-manager.inc new file mode 100644 index 0000000..c7b36d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-manager/app-manager.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Application Manager API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-appfw-app-manager +PROVIDES += "capi-appfw-app-manager" +RPROVIDES_capi-appfw-app-manager += "capi-appfw-app-manager" + +#PROVIDES by capi-appfw-app-manager-devel +PROVIDES += "capi-appfw-app-manager-devel" +RPROVIDES_capi-appfw-app-manager-devel += "capi-appfw-app-manager-devel" +RPROVIDES_capi-appfw-app-manager-devel += "capi-appfw-app-manager-dev" + +RDEPENDS = "" +#RDEPENDS of capi-appfw-app-manager-devel (capi-appfw-${PN}-devel) +RDEPENDS_capi-appfw-${PN}-devel += "capi-appfw-app-manager" + + +DEPENDS = "" +#DEPENDS of capi-appfw-app-manager +DEPENDS += "cmake" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(pkgmgr)" +DEPENDS += "ail" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(capi-base-common)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-app-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/capi-appfw-app-manager + + +} + +PACKAGES = "" +PACKAGES += "capi-appfw-app-manager" +PACKAGES += "capi-appfw-app-manager-devel" + +capi-appfw-app-manager_files = "" +capi-appfw-app-manager_files += "capi-appfw-app-manager.manifest" +capi-appfw-app-manager_files += "/usr/lib/libcapi-appfw-app-manager.so.*" +capi-appfw-app-manager_files += "capi-appfw-app-manager.manifest" +capi-appfw-app-manager_files += "/usr/share/license/capi-appfw-app-manager" + +capi-appfw-app-manager-devel_files = "" +capi-appfw-app-manager-devel_files += "capi-appfw-app-manager.manifest" +capi-appfw-app-manager-devel_files += "/usr/include/appfw/*.h" +capi-appfw-app-manager-devel_files += "/usr/lib/libcapi-appfw-app-manager.so" +capi-appfw-app-manager-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${capi-appfw-app-manager_files}" +FILES_${PN}-devel = "${capi-appfw-app-manager-devel_files}" + +PKG_capi-appfw-app-manager= "capi-appfw-app-manager" +PKG_capi-appfw-app-manager-devel= "capi-appfw-app-manager-devel" + +require app-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app-manager/app-manager_git.bb b/meta-tizen/recipes-tizen/app-manager/app-manager_git.bb new file mode 100644 index 0000000..543de9a --- /dev/null +++ b/meta-tizen/recipes-tizen/app-manager/app-manager_git.bb @@ -0,0 +1,8 @@ +require app-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/app-manager;protocol=ssh;tag=13054cca243234d5617b0ecb489487ab2bf9d46c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-selector/app-selector-extraconf.inc b/meta-tizen/recipes-tizen/app-selector/app-selector-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app-selector/app-selector.inc b/meta-tizen/recipes-tizen/app-selector/app-selector.inc new file mode 100644 index 0000000..b47ceae --- /dev/null +++ b/meta-tizen/recipes-tizen/app-selector/app-selector.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Application selector" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.app-selector" + +org.tizen.app-selector_files = "" +org.tizen.app-selector_files += "org.tizen.app-selector.manifest" +org.tizen.app-selector_files += "/usr/bin/app-selector" +org.tizen.app-selector_files += "/usr/share/edje/app-selector/app-selector.edj" +org.tizen.app-selector_files += "/usr/share/packages/org.tizen.app-selector.xml" +org.tizen.app-selector_files += "/usr/share/locale/*/LC_MESSAGES/*.mo" +org.tizen.app-selector_files += "/opt/etc/smack/accesses.d/org.tizen.app-selector.rule" + +FILES_${PN} = "${org.tizen.app-selector_files}" + +PKG_org.tizen.app-selector= "org.tizen.app-selector" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require app-selector-rdepends.inc +require app-selector-depends.inc +require app-selector-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc-extraconf.inc b/meta-tizen/recipes-tizen/app-svc/app-svc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc-native_git.bb b/meta-tizen/recipes-tizen/app-svc/app-svc-native_git.bb new file mode 100644 index 0000000..c6f7c61 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-svc/app-svc-native_git.bb @@ -0,0 +1,12 @@ +require app-svc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;protocol=ssh;tag=9b9315bfadc5764fabbf8c310db051dc30648fba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc.inc b/meta-tizen/recipes-tizen/app-svc/app-svc.inc new file mode 100644 index 0000000..7e1b52e --- /dev/null +++ b/meta-tizen/recipes-tizen/app-svc/app-svc.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Application Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by app-svc +PROVIDES += "app-svc" +RPROVIDES_app-svc += "app-svc" + +#PROVIDES by app-svc-devel +PROVIDES += "app-svc-devel" +RPROVIDES_app-svc-devel += "app-svc-devel" +RPROVIDES_app-svc-devel += "app-svc-dev" + +RDEPENDS = "" +#RDEPENDS of app-svc (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of app-svc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "app-svc" + + +DEPENDS = "" +#DEPENDS of app-svc +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(ecore)" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(xdgmime)" +DEPENDS += "pkgconfig(libprivilege-control)" +DEPENDS += "ail" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "sqlite3" +DEPENDS += "pkgconfig(bundle)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app-svc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -Dwith_wayland=TRUE + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Create database + mkdir -p ${D}/opt/dbspace + sqlite3 ${D}/opt/dbspace/.appsvc.db < data/appsvc_db.sql + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/app-svc + + +} + +PACKAGES = "" +PACKAGES += "app-svc" +PACKAGES += "app-svc-devel" + +app-svc_files = "" +app-svc_files += "app-svc.manifest" +app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db" +app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db-journal" +app-svc_files += "/usr/bin/appsvc_test" +app-svc_files += "/usr/lib/libappsvc.so.0" +app-svc_files += "/usr/lib/libappsvc.so.0.1.0" +app-svc_files += "/usr/share/license/app-svc" + +app-svc-devel_files = "" +app-svc-devel_files += "app-svc.manifest" +app-svc-devel_files += "/usr/lib/pkgconfig/appsvc.pc" +app-svc-devel_files += "/usr/lib/libappsvc.so" +app-svc-devel_files += "/usr/include/appsvc/appsvc.h" + +FILES_${PN} = "${app-svc_files}" +FILES_${PN}-devel = "${app-svc-devel_files}" + +PKG_app-svc= "app-svc" +PKG_app-svc-devel= "app-svc-devel" + +require app-svc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc_git.bb b/meta-tizen/recipes-tizen/app-svc/app-svc_git.bb new file mode 100644 index 0000000..222aeb4 --- /dev/null +++ b/meta-tizen/recipes-tizen/app-svc/app-svc_git.bb @@ -0,0 +1,8 @@ +require app-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;protocol=ssh;tag=9b9315bfadc5764fabbf8c310db051dc30648fba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app2sd/app2sd-extraconf.inc b/meta-tizen/recipes-tizen/app2sd/app2sd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/app2sd/app2sd-native_git.bb b/meta-tizen/recipes-tizen/app2sd/app2sd-native_git.bb new file mode 100644 index 0000000..3c71eb3 --- /dev/null +++ b/meta-tizen/recipes-tizen/app2sd/app2sd-native_git.bb @@ -0,0 +1,12 @@ +require app2sd.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app2sd;protocol=ssh;tag=454b16564383b40ddf0b7591423bb633fdfb6d2e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/app2sd/app2sd.inc b/meta-tizen/recipes-tizen/app2sd/app2sd.inc new file mode 100644 index 0000000..e950dfb --- /dev/null +++ b/meta-tizen/recipes-tizen/app2sd/app2sd.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Application installation on external memory" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Package Management" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by app2sd +PROVIDES += "app2sd" +RPROVIDES_app2sd += "app2sd" + +#PROVIDES by app2sd-devel +PROVIDES += "app2sd-devel" +RPROVIDES_app2sd-devel += "app2sd-devel" +RPROVIDES_app2sd-devel += "app2sd-dev" + +RDEPENDS = "" +#RDEPENDS of app2sd-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "app2sd" + + +DEPENDS = "" +#DEPENDS of app2sd +DEPENDS += "cmake" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "pkgconfig(libssl)" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(db-util)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app2sd.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "app2sd" +PACKAGES += "app2sd-devel" + +app2sd_files = "" +app2sd_files += "app2sd.manifest" +app2sd_files += "/usr/lib/libapp2ext.so.*" +app2sd_files += "/usr/lib/libapp2sd.so.*" + +app2sd-devel_files = "" +app2sd-devel_files += "app2sd.manifest" +app2sd-devel_files += "/usr/include/app2ext_interface.h" +app2sd-devel_files += "/usr/lib/pkgconfig/app2sd.pc" +app2sd-devel_files += "/usr/lib/libapp2sd.so" +app2sd-devel_files += "/usr/lib/libapp2ext.so" + +FILES_${PN} = "${app2sd_files}" +FILES_${PN}-devel = "${app2sd-devel_files}" + +PKG_app2sd= "app2sd" +PKG_app2sd-devel= "app2sd-devel" + +require app2sd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/app2sd/app2sd_git.bb b/meta-tizen/recipes-tizen/app2sd/app2sd_git.bb new file mode 100644 index 0000000..32de0d4 --- /dev/null +++ b/meta-tizen/recipes-tizen/app2sd/app2sd_git.bb @@ -0,0 +1,8 @@ +require app2sd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app2sd;protocol=ssh;tag=454b16564383b40ddf0b7591423bb633fdfb6d2e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent-extraconf.inc b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent-native_git.bb b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent-native_git.bb new file mode 100644 index 0000000..3acf3d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent-native_git.bb @@ -0,0 +1,12 @@ +require appcore-agent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/appcore-agent;protocol=ssh;tag=1fa9a258c13d31fea03528529d6b40e040ac53d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc new file mode 100644 index 0000000..732c9d8 --- /dev/null +++ b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Agent Application basic" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by appcore-agent +PROVIDES += "appcore-agent" +RPROVIDES_appcore-agent += "appcore-agent" + +#PROVIDES by appcore-agent-devel +PROVIDES += "appcore-agent-devel" +RPROVIDES_appcore-agent-devel += "appcore-agent-devel" +RPROVIDES_appcore-agent-devel += "appcore-agent-dev" + +RDEPENDS = "" +#RDEPENDS of appcore-agent-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "appcore-agent" + + +DEPENDS = "" +#DEPENDS of appcore-agent +DEPENDS += "sysman-devel" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "pkgconfig(pmapi)" +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/appcore-agent.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "appcore-agent" +PACKAGES += "appcore-agent-devel" + +appcore-agent_files = "" +appcore-agent_files += "appcore-agent.manifest" +appcore-agent_files += "appcore-agent.manifest" +appcore-agent_files += "/usr/lib/libappcore-agent.so.1" +appcore-agent_files += "/usr/lib/libappcore-agent.so.1.1" + +appcore-agent-devel_files = "" +appcore-agent-devel_files += "appcore-agent.manifest" +appcore-agent-devel_files += "/usr/lib/pkgconfig/appcore-agent.pc" +appcore-agent-devel_files += "/usr/lib/libappcore-agent.so" +appcore-agent-devel_files += "/usr/include/appcore-agent/appcore-agent.h" +appcore-agent-devel_files += "/usr/include/appcore-agent/service_app.h" + +FILES_${PN} = "${appcore-agent_files}" +FILES_${PN}-devel = "${appcore-agent-devel_files}" + +PKG_appcore-agent= "appcore-agent" +PKG_appcore-agent-devel= "appcore-agent-devel" + +require appcore-agent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent_git.bb b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent_git.bb new file mode 100644 index 0000000..af27e52 --- /dev/null +++ b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent_git.bb @@ -0,0 +1,8 @@ +require appcore-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/appcore-agent;protocol=ssh;tag=1fa9a258c13d31fea03528529d6b40e040ac53d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/application/application-extraconf.inc b/meta-tizen/recipes-tizen/application/application-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/application/application-native_git.bb b/meta-tizen/recipes-tizen/application/application-native_git.bb new file mode 100644 index 0000000..f1961bc --- /dev/null +++ b/meta-tizen/recipes-tizen/application/application-native_git.bb @@ -0,0 +1,12 @@ +require application.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/application;protocol=ssh;tag=93974ec6cbdf65e867ac41921ff0faae341040c5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/application/application.inc b/meta-tizen/recipes-tizen/application/application.inc new file mode 100644 index 0000000..c12d1b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/application/application.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "An Application library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-appfw-application-devel +PROVIDES += "capi-appfw-application-devel" +RPROVIDES_capi-appfw-application-devel += "capi-appfw-application-devel" +RPROVIDES_capi-appfw-application-devel += "capi-appfw-application-dev" + +#PROVIDES by capi-appfw-application +PROVIDES += "capi-appfw-application" +RPROVIDES_capi-appfw-application += "capi-appfw-application" + +RDEPENDS = "" +#RDEPENDS of capi-appfw-application-devel (capi-appfw-${PN}-devel) +RDEPENDS_capi-appfw-${PN}-devel += "capi-appfw-application" + + +DEPENDS = "" +#DEPENDS of capi-appfw-application +DEPENDS += "cmake" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "app-svc" +DEPENDS += "app-core" +DEPENDS += "ail" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(capi-base-common)" +DEPENDS += "pkgconfig(bundle)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(notification)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-application.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/capi-appfw-application + + +} + +PACKAGES = "" +PACKAGES += "capi-appfw-application-devel" +PACKAGES += "capi-appfw-application" + +capi-appfw-application-devel_files = "" +capi-appfw-application-devel_files += "capi-appfw-application.manifest" +capi-appfw-application-devel_files += "/usr/include/appfw/*.h" +capi-appfw-application-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-appfw-application-devel_files += "/usr/lib/libcapi-appfw-application.so" + +capi-appfw-application_files = "" +capi-appfw-application_files += "capi-appfw-application.manifest" +capi-appfw-application_files += "/usr/lib/libcapi-appfw-application.so.*" +capi-appfw-application_files += "capi-appfw-application.manifest" +capi-appfw-application_files += "/usr/share/license/capi-appfw-application" + +FILES_${PN}-devel = "${capi-appfw-application-devel_files}" +FILES_${PN} = "${capi-appfw-application_files}" + +PKG_capi-appfw-application-devel= "capi-appfw-application-devel" +PKG_capi-appfw-application= "capi-appfw-application" + +require application-extraconf.inc diff --git a/meta-tizen/recipes-tizen/application/application_git.bb b/meta-tizen/recipes-tizen/application/application_git.bb new file mode 100644 index 0000000..e263e38 --- /dev/null +++ b/meta-tizen/recipes-tizen/application/application_git.bb @@ -0,0 +1,8 @@ +require application.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/application;protocol=ssh;tag=93974ec6cbdf65e867ac41921ff0faae341040c5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/asciidoc/asciidoc-extraconf.inc b/meta-tizen/recipes-tizen/asciidoc/asciidoc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/asciidoc/asciidoc-native_git.bb b/meta-tizen/recipes-tizen/asciidoc/asciidoc-native_git.bb new file mode 100644 index 0000000..610e759 --- /dev/null +++ b/meta-tizen/recipes-tizen/asciidoc/asciidoc-native_git.bb @@ -0,0 +1,12 @@ +require asciidoc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/asciidoc;protocol=ssh;tag=9c94d2935ad4e4a05c43cc595f251b6e45e8c0c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/asciidoc/asciidoc.inc b/meta-tizen/recipes-tizen/asciidoc/asciidoc.inc new file mode 100644 index 0000000..956abee --- /dev/null +++ b/meta-tizen/recipes-tizen/asciidoc/asciidoc.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Text-Based Document Generation" +HOMEPAGE = "http://www.methods.co.nz/asciidoc/" +SECTION = "Development/Tools/Doc Generators" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by asciidoc-examples +PROVIDES += "asciidoc-examples" +RPROVIDES_asciidoc-examples += "asciidoc-examples" + +#PROVIDES by asciidoc +PROVIDES += "asciidoc" +RPROVIDES_asciidoc += "asciidoc" + +RDEPENDS = "" +#RDEPENDS of asciidoc (${PN}) +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "docbook-xsl-stylesheets" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/asciidoc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/etc/asciidoc/filters + mkdir -p $RPM_BUILD_ROOT/usr/share/asciidoc + mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 + install -m 0644 *.conf $RPM_BUILD_ROOT/etc/asciidoc + install -m 0644 filters/*/*.conf $RPM_BUILD_ROOT/etc/asciidoc/filters/ + install -m 0755 filters/*/*.py $RPM_BUILD_ROOT/etc/asciidoc/filters/ + install -m 0755 -D asciidoc.py $RPM_BUILD_ROOT/usr/bin/asciidoc + install -m 0755 -D a2x.py $RPM_BUILD_ROOT/usr/bin/a2x + install -m 0644 doc/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/ + for i in images stylesheets javascripts docbook-xsl dblatex; do + cp -av $i $RPM_BUILD_ROOT/usr/share/asciidoc/ + ln -s ../..//usr/share/asciidoc/$i $RPM_BUILD_ROOT/etc/asciidoc + done + # install vim files + mkdir -p $RPM_BUILD_ROOT/usr/share/vim/site/{syntax,ftdetect} + install -m 0644 vim/syntax/* $RPM_BUILD_ROOT/usr/share/vim/site/syntax + install -m 0644 vim/ftdetect/* $RPM_BUILD_ROOT/usr/share/vim/site/ftdetect + + +} + +PACKAGES = "" +PACKAGES += "asciidoc" + +asciidoc_files = "" +asciidoc_files += "asciidoc.manifest" +asciidoc_files += "/etc/asciidoc" +asciidoc_files += "/usr/share/asciidoc" +asciidoc_files += "/usr/bin/*" +asciidoc_files += "/usr/share/vim" +asciidoc_files += "/usr/share/man/man1/*" + +FILES_${PN} = "${asciidoc_files}" + +PKG_asciidoc= "asciidoc" + +require asciidoc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/asciidoc/asciidoc_git.bb b/meta-tizen/recipes-tizen/asciidoc/asciidoc_git.bb new file mode 100644 index 0000000..5411bf5 --- /dev/null +++ b/meta-tizen/recipes-tizen/asciidoc/asciidoc_git.bb @@ -0,0 +1,8 @@ +require asciidoc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/asciidoc;protocol=ssh;tag=9c94d2935ad4e4a05c43cc595f251b6e45e8c0c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/aspell/aspell-extraconf.inc b/meta-tizen/recipes-tizen/aspell/aspell-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/aspell/aspell-native_git.bb b/meta-tizen/recipes-tizen/aspell/aspell-native_git.bb new file mode 100644 index 0000000..af70005 --- /dev/null +++ b/meta-tizen/recipes-tizen/aspell/aspell-native_git.bb @@ -0,0 +1,12 @@ +require aspell.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/aspell;protocol=ssh;tag=9db9f5309080316251b66298d17c45cc9c24a566;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/aspell/aspell.inc b/meta-tizen/recipes-tizen/aspell/aspell.inc new file mode 100644 index 0000000..747c71f --- /dev/null +++ b/meta-tizen/recipes-tizen/aspell/aspell.inc @@ -0,0 +1,229 @@ +DESCRIPTION = "A Free and Open Source Spell Checker" +HOMEPAGE = "http://aspell.net/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpspell +PROVIDES += "libpspell" +RPROVIDES_libpspell += "libpspell" + +#PROVIDES by aspell +PROVIDES += "aspell" +RPROVIDES_aspell += "aspell" + +#PROVIDES by aspell-devel +PROVIDES += "aspell-devel" +RPROVIDES_aspell-devel += "aspell-devel" +RPROVIDES_aspell-devel += "aspell-dev" + +#PROVIDES by libaspell +PROVIDES += "libaspell" +RPROVIDES_libaspell += "libaspell" + +#PROVIDES by aspell-ispell +PROVIDES += "aspell-ispell" +RPROVIDES_aspell-ispell += "aspell-ispell" + +#PROVIDES by aspell-spell +PROVIDES += "aspell-spell" +RPROVIDES_aspell-spell += "aspell-spell" + +#PROVIDES by aspell-docs +PROVIDES += "aspell-docs " +RPROVIDES_aspell-docs += "aspell-docs " + +RDEPENDS = "" +#RDEPENDS of aspell-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libpspell" +RDEPENDS_${PN}-devel += "libaspell" + +#RDEPENDS of aspell-ispell (${PN}-ispell) +RDEPENDS_${PN}-ispell += "aspell" + +#RDEPENDS of aspell-spell (${PN}-spell) +RDEPENDS_${PN}-spell += "aspell" + + +DEPENDS = "" +#DEPENDS of aspell +DEPENDS += "libtool-cross" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "fdupes-native" +DEPENDS += "gcc-c++" +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/aspell.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + export CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables `ncursesw6-config --cflags`" + #this is an ugly kludge , don't look :-) + export LDFLAGS="`ncursesw6-config --libs`" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-curses="-lncursesw" \ + --disable-rpath + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # Links for compatibility reasons (ispell and spell) + ln -s /usr/lib/aspell-0.60/ispell ${D}/usr/bin + ln -s /usr/lib/aspell-0.60/spell ${D}/usr/bin + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} aspell + + + + +} + +PACKAGES = "" +PACKAGES += "libpspell" +PACKAGES += "aspell" +PACKAGES += "aspell-devel" +PACKAGES += "aspell-docs" +PACKAGES += "libaspell" +PACKAGES += "aspell-ispell" +PACKAGES += "aspell-spell" + +libpspell_files = "" +libpspell_files += "aspell.manifest" +libpspell_files += "/usr/lib/libpspell.so.15*" + +aspell_files = "" +aspell_files += "aspell.manifest" +aspell_files += "/usr/bin/aspell" +aspell_files += "/usr/bin/aspell-import" +aspell_files += "/usr/bin/pre*" +aspell_files += "/usr/bin/run-with-aspell" +aspell_files += "/usr/bin/word-list-compress" + +aspell-devel_files = "" +aspell-devel_files += "aspell.manifest" +aspell-devel_files += "manual/aspell-dev.html/" +aspell-devel_files += "/usr/bin/pspell-config" +aspell-devel_files += "/usr/include/pspell/" +aspell-devel_files += "/usr/include/*.h" +aspell-devel_files += "/usr/lib/libaspell.so" +aspell-devel_files += "/usr/lib/libpspell.so" +aspell-devel_files += "/usr/share/info/aspell-dev.info.gz" +aspell-devel_files += "/usr/share/man/man1/pspell-config.1.gz" + +aspell-docs_files = "" +aspell-docs_files += "/usr/share/info" +aspell-docs_files += "/usr/share/man" + +libaspell_files = "" +libaspell_files += "aspell.manifest" +libaspell_files += "/usr/lib/aspell-0.60/" +libaspell_files += "/usr/lib/libaspell.so.15*" + +aspell-ispell_files = "" +aspell-ispell_files += "aspell.manifest" +aspell-ispell_files += "/usr/bin/ispell" + +aspell-spell_files = "" +aspell-spell_files += "aspell.manifest" +aspell-spell_files += "/usr/bin/spell" + +FILES_libpspell = "${libpspell_files}" +FILES_${PN} = "${aspell_files}" +FILES_${PN}-devel = "${aspell-devel_files}" +FILES_${PN}-docs = "${aspell-docs_files}" +FILES_lib${PN} = "${libaspell_files}" +FILES_${PN}-ispell = "${aspell-ispell_files}" +FILES_${PN}-spell = "${aspell-spell_files}" + +PKG_libpspell= "libpspell" +PKG_aspell= "aspell" +PKG_aspell-devel= "aspell-devel" +PKG_aspell-docs= "aspell-docs" +PKG_libaspell= "libaspell" +PKG_aspell-ispell= "aspell-ispell" +PKG_aspell-spell= "aspell-spell" + +require aspell-extraconf.inc diff --git a/meta-tizen/recipes-tizen/aspell/aspell_git.bb b/meta-tizen/recipes-tizen/aspell/aspell_git.bb new file mode 100644 index 0000000..f430102 --- /dev/null +++ b/meta-tizen/recipes-tizen/aspell/aspell_git.bb @@ -0,0 +1,8 @@ +require aspell.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/aspell;protocol=ssh;tag=9db9f5309080316251b66298d17c45cc9c24a566;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk-extraconf.inc b/meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk.inc b/meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk.inc new file mode 100644 index 0000000..6ca349c --- /dev/null +++ b/meta-tizen/recipes-tizen/at-spi2-atk/at-spi2-atk.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Assistive Technology Service Provider Interface - GTK+ module" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libatk-bridge-2_0-0" +PACKAGES += "at-spi2-atk-devel" + +libatk-bridge-2_0-0_files = "" +libatk-bridge-2_0-0_files += "packaging/at-spi2-atk.manifest" +libatk-bridge-2_0-0_files += "/usr/lib/libatk-bridge-2.0.so.*" +libatk-bridge-2_0-0_files += "/usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml" +libatk-bridge-2_0-0_files += "/usr/lib/gtk-2.0/modules/libatk-bridge.so" + +at-spi2-atk-devel_files = "" +at-spi2-atk-devel_files += "packaging/at-spi2-atk.manifest" +at-spi2-atk-devel_files += "/usr/include/at-spi2-atk/2.0/atk-bridge.h" +at-spi2-atk-devel_files += "/usr/lib/libatk-bridge-2.0.so" +at-spi2-atk-devel_files += "/usr/lib/pkgconfig/atk-bridge-2.0.pc" + +FILES_libatk-bridge-2_0-0 = "${libatk-bridge-2_0-0_files}" +FILES_${PN}-devel = "${at-spi2-atk-devel_files}" + +PKG_libatk-bridge-2_0-0= "libatk-bridge-2_0-0" +PKG_at-spi2-atk-devel= "at-spi2-atk-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require at-spi2-atk-rdepends.inc +require at-spi2-atk-depends.inc +require at-spi2-atk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core-extraconf.inc b/meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core.inc b/meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core.inc new file mode 100644 index 0000000..c88567e --- /dev/null +++ b/meta-tizen/recipes-tizen/at-spi2-core/at-spi2-core.inc @@ -0,0 +1,58 @@ +DESCRIPTION = "Assistive Technology Service Provider Interface - D-Bus based implementation" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libatspi0" +PACKAGES += "typelib-1_0-Atspi-2_0" +PACKAGES += "at-spi2-core" +PACKAGES += "at-spi2-core-devel" + +libatspi0_files = "" +libatspi0_files += "packaging/at-spi2-core.manifest" +libatspi0_files += "/usr/lib/libatspi.so.0*" + +typelib-1_0-Atspi-2_0_files = "" +typelib-1_0-Atspi-2_0_files += "packaging/at-spi2-core.manifest" +typelib-1_0-Atspi-2_0_files += "/usr/lib/girepository-1.0/Atspi-2.0.typelib" + +at-spi2-core_files = "" +at-spi2-core_files += "packaging/at-spi2-core.manifest" +at-spi2-core_files += "AUTHORS README" +at-spi2-core_files += "/usr/libexec/at-spi2/at-spi-bus-launcher" +at-spi2-core_files += "/usr/libexec/at-spi2/at-spi2-registryd" +at-spi2-core_files += "/etc/at-spi2/accessibility.conf" +at-spi2-core_files += "/etc/xdg/autostart/at-spi-dbus-bus.desktop" +at-spi2-core_files += "/usr/share/dbus-1/services/org.a11y.atspi.Registry.service" +at-spi2-core_files += "/usr/share/dbus-1/services/org.a11y.Bus.service" + +at-spi2-core-devel_files = "" +at-spi2-core-devel_files += "packaging/at-spi2-core.manifest" +at-spi2-core-devel_files += "/usr/include/at-spi-2.0" +at-spi2-core-devel_files += "/usr/lib/libatspi.so" +at-spi2-core-devel_files += "/usr/lib/pkgconfig/atspi-2.pc" +at-spi2-core-devel_files += "/usr/share/gir-1.0/*.gir" +at-spi2-core-devel_files += "/usr/share/gtk-doc/html/libatspi" + +FILES_libatspi0 = "${libatspi0_files}" +FILES_typelib-1_0-Atspi-2_0 = "${typelib-1_0-Atspi-2_0_files}" +FILES_${PN} = "${at-spi2-core_files}" +FILES_${PN}-devel = "${at-spi2-core-devel_files}" + +PKG_libatspi0= "libatspi0" +PKG_typelib-1_0-Atspi-2_0= "typelib-1_0-Atspi-2_0" +PKG_at-spi2-core= "at-spi2-core" +PKG_at-spi2-core-devel= "at-spi2-core-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require at-spi2-core-rdepends.inc +require at-spi2-core-depends.inc +require at-spi2-core-extraconf.inc diff --git a/meta-tizen/recipes-tizen/atk/atk-extraconf.inc b/meta-tizen/recipes-tizen/atk/atk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/atk/atk-native_git.bb b/meta-tizen/recipes-tizen/atk/atk-native_git.bb new file mode 100644 index 0000000..e744732 --- /dev/null +++ b/meta-tizen/recipes-tizen/atk/atk-native_git.bb @@ -0,0 +1,12 @@ +require atk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/atk;protocol=ssh;tag=f1e8a64fa55b1a50b89a70fb177cb0849116d30e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/atk/atk.inc b/meta-tizen/recipes-tizen/atk/atk.inc new file mode 100644 index 0000000..aaf7689 --- /dev/null +++ b/meta-tizen/recipes-tizen/atk/atk.inc @@ -0,0 +1,165 @@ +DESCRIPTION = "An Accessibility ToolKit" +HOMEPAGE = "http://www.gtk.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by typelib-Atk +PROVIDES += "typelib-Atk" +RPROVIDES_typelib-Atk += "typelib-Atk" + +#PROVIDES by atk-docs +PROVIDES += "atk-docs " +RPROVIDES_atk-docs += "atk-docs " + +#PROVIDES by atk +PROVIDES += "atk" +RPROVIDES_atk += "atk" + +#PROVIDES by atk-devel +PROVIDES += "atk-devel" +RPROVIDES_atk-devel += "atk-devel" +RPROVIDES_atk-devel += "atk-dev" + +#PROVIDES by libatk +PROVIDES += "libatk" +RPROVIDES_libatk += "libatk" +# the PROVIDES rules is ignore "atk = 2.8.0" +PROVIDES += "atk" +RPROVIDES_libatk += "atk" + +RDEPENDS = "" +#RDEPENDS of atk (${PN}) +RDEPENDS_${PN} += "libatk" + +#RDEPENDS of atk-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libatk" + + +DEPENDS = "" +#DEPENDS of atk +DEPENDS += "glib2-devel" +DEPENDS += "fdupes-native" +DEPENDS += "gcc-c++" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/atk.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "atk-devel" +PACKAGES += "atk-docs" +PACKAGES += "libatk" + +atk-devel_files = "" +atk-devel_files += "atk.manifest" +atk-devel_files += "/usr/include/atk-1.0" +atk-devel_files += "/usr/lib/lib*.so" +atk-devel_files += "/usr/lib/pkgconfig/*.pc" + +atk-docs_files = "" +atk-docs_files += "/usr/share/info" +atk-docs_files += "/usr/share/man" + +libatk_files = "" +libatk_files += "atk.manifest" +libatk_files += "/usr/lib/lib*.so.*" + +FILES_${PN}-devel = "${atk-devel_files}" +FILES_${PN}-docs = "${atk-docs_files}" +FILES_lib${PN} = "${libatk_files}" + +PKG_atk-devel= "atk-devel" +PKG_atk-docs= "atk-docs" +PKG_libatk= "libatk" + +require atk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/atk/atk_git.bb b/meta-tizen/recipes-tizen/atk/atk_git.bb new file mode 100644 index 0000000..c1155a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/atk/atk_git.bb @@ -0,0 +1,8 @@ +require atk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/atk;protocol=ssh;tag=f1e8a64fa55b1a50b89a70fb177cb0849116d30e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/attr/attr-extraconf.inc b/meta-tizen/recipes-tizen/attr/attr-extraconf.inc new file mode 100644 index 0000000..48484f1 --- /dev/null +++ b/meta-tizen/recipes-tizen/attr/attr-extraconf.inc @@ -0,0 +1,17 @@ +SRC_URI += "file://relative-libdir.patch;striplevel=0 " + +SRC_URI += "file://package_utilies.m4 \ + " + +# the package comes with a custom config.h.in, it cannot be +# overwritten by autoheader +export AUTOHEADER = "true" +EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" +EXTRA_OECONF_append_class-native = " --enable-gettext=no" + +EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" + +do_patch_append () { + cat ${WORKDIR}/relative-libdir.patch | patch -p0 -b + cp ${WORKDIR}/package_utilies.m4 m4/ +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/attr/attr.inc b/meta-tizen/recipes-tizen/attr/attr.inc new file mode 100644 index 0000000..3b5c421 --- /dev/null +++ b/meta-tizen/recipes-tizen/attr/attr.inc @@ -0,0 +1,187 @@ +DESCRIPTION = "Commands for Manipulating Extended Attributes" +HOMEPAGE = "http://download.savannah.gnu.org/releases-noredirect/attr/" +SECTION = "Base/File Systems" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libattr-devel-static +PROVIDES += "libattr-devel-static" +RPROVIDES_libattr-devel-static += "libattr-devel-static" +RPROVIDES_libattr-devel-static += "libattr-dev" +# the PROVIDES rules is ignore "libattr-devel:/lib/libattr.a " +PROVIDES += "libattr-devel:/lib/libattr.a" +RPROVIDES_libattr-devel-static += "libattr-devel:/lib/libattr.a" +RPROVIDES_libattr-devel-static += "libattr-dev" + +#PROVIDES by libattr-devel +PROVIDES += "libattr-devel" +RPROVIDES_libattr-devel += "libattr-devel" +RPROVIDES_libattr-devel += "libattr-dev" +# the PROVIDES rules is ignore "attr-devel " +PROVIDES += "attr-devel" +RPROVIDES_libattr-devel += "attr-devel" +RPROVIDES_libattr-devel += "attr-dev" + +#PROVIDES by attr-docs +PROVIDES += "attr-docs " +RPROVIDES_attr-docs += "attr-docs " + +#PROVIDES by attr +PROVIDES += "attr" +RPROVIDES_attr += "attr" + +#PROVIDES by libattr +PROVIDES += "libattr" +RPROVIDES_libattr += "libattr" + +RDEPENDS = "" +#RDEPENDS of libattr-devel-static (lib${PN}-devel-static) +RDEPENDS_lib${PN}-devel-static += "libattr-dev" + +#RDEPENDS of libattr-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "libattr" + + +DEPENDS = "" +#DEPENDS of attr +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/attr.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" + export DEBUG=-DNDEBUG + autoconf + CFLAGS="$RPM_OPT_FLAGS" \ + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/lib \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --prefix=/ \ + --enable-gettext=no \ + --exec-prefix=/ \ + --sbindir=/usr/sbin \ + --libdir=/lib \ + --libexecdir=/lib \ + --with-pic + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + DIST_ROOT="$RPM_BUILD_ROOT" + DIST_INSTALL=`pwd`/install.manifest + DIST_INSTALL_DEV=`pwd`/install-dev.manifest + DIST_INSTALL_LIB=`pwd`/install-lib.manifest + export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB + /usr/bin/make install DIST_MANIFEST="$DIST_INSTALL" + /usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" + /usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB" + rm -f $RPM_BUILD_ROOT/usr/share/man/man2/*xattr.2* + rm -f $RPM_BUILD_ROOT//lib/libattr.la + install -d -m 755 $RPM_BUILD_ROOT//etc + install -m 644 ${S}/packaging//xattr.conf $RPM_BUILD_ROOT//etc + chmod 755 $RPM_BUILD_ROOT//lib/libattr.so.1* + + +} + +PACKAGES = "" +PACKAGES += "libattr-devel-static" +PACKAGES += "libattr-devel" +PACKAGES += "attr" +PACKAGES += "attr-docs" +PACKAGES += "libattr" + +libattr-devel-static_files = "" +libattr-devel-static_files += "attr.manifest" +libattr-devel-static_files += "/lib/libattr.a" + +libattr-devel_files = "" +libattr-devel_files += "attr.manifest" +#Remove rpm attribut "%attr(755,root,root)" +libattr-devel_files += "/usr/include/attr" + +attr_files = "" +attr_files += "attr.manifest" +#Remove rpm attribut "%attr(755,root,root)" +attr_files += "/usr/share/doc/packages/attr" +#Remove rpm attribut "%attr(644,root,root)" +attr_files += "/usr/share/doc/packages/attr/README" +#Remove rpm attribut "%attr(644,root,root)" +attr_files += "/usr/share/doc/packages/attr/CHANGES.gz" +#Remove rpm attribut "%attr(644,root,root)" +attr_files += "/usr/share/doc/packages/attr/COPYING" +#Remove rpm attribut "%attr(644,root,root)" +attr_files += "/usr/share/doc/packages/attr/PORTING" + +attr-docs_files = "" +attr-docs_files += "/usr/share/info" +attr-docs_files += "/usr/share/man" + +libattr_files = "" +libattr_files += "attr.manifest" +libattr_files += "/lib/libattr.so.1*" +libattr_files += "/etc/xattr.conf" + +FILES_lib${PN}-devel-static = "${libattr-devel-static_files}" +FILES_lib${PN}-devel = "${libattr-devel_files}" +FILES_${PN} = "${attr_files}" +FILES_${PN}-docs = "${attr-docs_files}" +FILES_lib${PN} = "${libattr_files}" + +PKG_libattr-devel-static= "libattr-devel-static" +PKG_libattr-devel= "libattr-devel" +PKG_attr= "attr" +PKG_attr-docs= "attr-docs" +PKG_libattr= "libattr" + +require attr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/attr/attr/package_utilies.m4 b/meta-tizen/recipes-tizen/attr/attr/package_utilies.m4 new file mode 100644 index 0000000..551c142 --- /dev/null +++ b/meta-tizen/recipes-tizen/attr/attr/package_utilies.m4 @@ -0,0 +1,115 @@ +dnl Copyright (C) 2003, 2004, 2005, 2006, 2007 Silicon Graphics, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify it +dnl under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +# +# Check for specified utility (env var) - if unset, fail. +# +AC_DEFUN([AC_PACKAGE_NEED_UTILITY], + [ if test -z "$2"; then + echo + echo FATAL ERROR: $3 does not seem to be installed. + echo $1 cannot be built without a working $4 installation. + exit 1 + fi + ]) + +# +# Generic macro, sets up all of the global build variables. +# The following environment variables may be set to override defaults: +# CC MAKE LIBTOOL TAR ZIP MAKEDEPEND AWK SED ECHO SORT +# MSGFMT MSGMERGE XGETTEXT RPM +# +AC_DEFUN([AC_PACKAGE_UTILITIES], + [ AC_PROG_CC + cc="$CC" + AC_SUBST(cc) + AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler]) + + search_path="$PATH$PATH_SEPARATOR/usr/freeware/bin$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR/usr/local/bin" + + AC_PATH_PROGS(MAKE, gmake make,, $search_path) + make=$MAKE + AC_SUBST(make) + AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make]) + + AC_PATH_PROG(TAR, tar,, $search_path) + tar=$TAR + AC_SUBST(tar) + + AC_PATH_PROG(ZIP, gzip,, $search_path) + zip=$ZIP + AC_SUBST(zip) + + AC_PATH_PROG(MAKEDEPEND, makedepend, /bin/true) + makedepend=$MAKEDEPEND + AC_SUBST(makedepend) + + AC_PATH_PROG(AWK, awk,, $search_path) + awk=$AWK + AC_SUBST(awk) + + AC_PATH_PROG(SED, sed,, $search_path) + sed=$SED + AC_SUBST(sed) + + AC_PATH_PROG(ECHO, echo,, $search_path) + echo=$ECHO + AC_SUBST(echo) + + AC_PATH_PROG(SORT, sort,, $search_path) + sort=$SORT + AC_SUBST(sort) + + dnl check if symbolic links are supported + AC_PROG_LN_S + + if test "$enable_gettext" = yes; then + AC_PATH_PROG(MSGFMT, msgfmt,, $search_path) + msgfmt=$MSGFMT + AC_SUBST(msgfmt) + AC_PACKAGE_NEED_UTILITY($1, "$msgfmt", msgfmt, gettext) + + AC_PATH_PROG(MSGMERGE, msgmerge,, $search_path) + msgmerge=$MSGMERGE + AC_SUBST(msgmerge) + AC_PACKAGE_NEED_UTILITY($1, "$msgmerge", msgmerge, gettext) + + AC_PATH_PROG(XGETTEXT, xgettext,, $search_path) + xgettext=$XGETTEXT + AC_SUBST(xgettext) + AC_PACKAGE_NEED_UTILITY($1, "$xgettext", xgettext, gettext) + + AC_DEFINE([ENABLE_GETTEXT], 1, [enable gettext]) + fi + + AC_PATH_PROG(RPM, rpm,, $search_path) + rpm=$RPM + AC_SUBST(rpm) + + dnl .. and what version is rpm + rpm_version=0 + test -n "$RPM" && test -x "$RPM" && rpm_version=`$RPM --version \ + | awk '{print $NF}' | awk -F. '{V=1; print $V}'` + AC_SUBST(rpm_version) + dnl At some point in rpm 4.0, rpm can no longer build rpms, and + dnl rpmbuild is needed (rpmbuild may go way back; not sure) + dnl So, if rpm version >= 4.0, look for rpmbuild. Otherwise build w/ rpm + if test $rpm_version -ge 4; then + AC_PATH_PROG(RPMBUILD, rpmbuild) + rpmbuild=$RPMBUILD + else + rpmbuild=$RPM + fi + AC_SUBST(rpmbuild) + ]) diff --git a/meta-tizen/recipes-tizen/attr/attr/relative-libdir.patch b/meta-tizen/recipes-tizen/attr/attr/relative-libdir.patch new file mode 100644 index 0000000..b72bf18 --- /dev/null +++ b/meta-tizen/recipes-tizen/attr/attr/relative-libdir.patch @@ -0,0 +1,25 @@ +Upstream-Status: Pending + +use relative path in symbolic links, or it fails in staging +sed expression from udev + +7/29/2010 - created by Qing He + +diff -u include.orig/buildmacros include/buildmacros +--- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800 ++++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800 +@@ -88,9 +88,11 @@ + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ + ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \ + if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ +- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ +- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ +- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ ++ rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ ++ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ ++ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ ++ rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ ++ ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ + fi + else + INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) diff --git a/meta-tizen/recipes-tizen/attr/attr_git.bb b/meta-tizen/recipes-tizen/attr/attr_git.bb new file mode 100644 index 0000000..67af03d --- /dev/null +++ b/meta-tizen/recipes-tizen/attr/attr_git.bb @@ -0,0 +1,8 @@ +require attr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/attr;protocol=ssh;tag=91390ab74d45828b5e1f33656f5bd994d9277f1e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/audio-io/audio-io-extraconf.inc b/meta-tizen/recipes-tizen/audio-io/audio-io-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/audio-io/audio-io-native_git.bb b/meta-tizen/recipes-tizen/audio-io/audio-io-native_git.bb new file mode 100644 index 0000000..ec65fc3 --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-io/audio-io-native_git.bb @@ -0,0 +1,12 @@ +require audio-io.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/audio-io;protocol=ssh;tag=b2f7af0f53e8386773883383be5e9fc0285b05a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/audio-io/audio-io.inc b/meta-tizen/recipes-tizen/audio-io/audio-io.inc new file mode 100644 index 0000000..42fea8e --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-io/audio-io.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "An Audio Input & Audio Output library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-audio-io +PROVIDES += "capi-media-audio-io" +RPROVIDES_capi-media-audio-io += "capi-media-audio-io" + +#PROVIDES by capi-media-audio-io-devel +PROVIDES += "capi-media-audio-io-devel" +RPROVIDES_capi-media-audio-io-devel += "capi-media-audio-io-devel" +RPROVIDES_capi-media-audio-io-devel += "capi-media-audio-io-dev" + +RDEPENDS = "" +#RDEPENDS of capi-media-audio-io-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-audio-io" + + +DEPENDS = "" +#DEPENDS of capi-media-audio-io +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(capi-base-common)" +DEPENDS += "pkgconfig(mm-sound)" +DEPENDS += "pkgconfig(capi-media-sound-manager)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-audio-io.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.2.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.2.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-media-audio-io" +PACKAGES += "capi-media-audio-io-devel" + +capi-media-audio-io_files = "" +capi-media-audio-io_files += "capi-media-audio-io.manifest" +capi-media-audio-io_files += "/usr/lib/libcapi-media-audio-io.so.*" +capi-media-audio-io_files += "capi-media-audio-io.manifest" + +capi-media-audio-io-devel_files = "" +capi-media-audio-io-devel_files += "capi-media-audio-io.manifest" +capi-media-audio-io-devel_files += "/usr/include/media/audio_io.h" +capi-media-audio-io-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-audio-io-devel_files += "/usr/lib/libcapi-media-audio-io.so" + +FILES_${PN} = "${capi-media-audio-io_files}" +FILES_${PN}-devel = "${capi-media-audio-io-devel_files}" + +PKG_capi-media-audio-io= "capi-media-audio-io" +PKG_capi-media-audio-io-devel= "capi-media-audio-io-devel" + +require audio-io-extraconf.inc diff --git a/meta-tizen/recipes-tizen/audio-io/audio-io_git.bb b/meta-tizen/recipes-tizen/audio-io/audio-io_git.bb new file mode 100644 index 0000000..04181fb --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-io/audio-io_git.bb @@ -0,0 +1,8 @@ +require audio-io.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/audio-io;protocol=ssh;tag=b2f7af0f53e8386773883383be5e9fc0285b05a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-extraconf.inc b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-native_git.bb b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-native_git.bb new file mode 100644 index 0000000..97c7079 --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager-native_git.bb @@ -0,0 +1,12 @@ +require audio-session-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/audio-session-manager;protocol=ssh;tag=9226f6a77ba5b3a466ff7113479cab7cff770788;nobranch=1" + 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 new file mode 100644 index 0000000..ab58f11 --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "Audio Session Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by audio-session-manager-devel +PROVIDES += "audio-session-manager-devel" +RPROVIDES_audio-session-manager-devel += "audio-session-manager-devel" +RPROVIDES_audio-session-manager-devel += "audio-session-manager-dev" + +#PROVIDES by audio-session-manager +PROVIDES += "audio-session-manager" +RPROVIDES_audio-session-manager += "audio-session-manager" + +#PROVIDES by audio-session-manager-sdk-devel +PROVIDES += "audio-session-manager-sdk-devel" +RPROVIDES_audio-session-manager-sdk-devel += "audio-session-manager-sdk-devel" +RPROVIDES_audio-session-manager-sdk-devel += "audio-session-manager-sdk-dev" + +RDEPENDS = "" +#RDEPENDS of audio-session-manager-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "audio-session-manager" + +#RDEPENDS of audio-session-manager (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of audio-session-manager-sdk-devel (${PN}-sdk-devel) +RDEPENDS_${PN}-sdk-devel += "audio-session-manager-dev" + + +DEPENDS = "" +#DEPENDS of audio-session-manager +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(avsysaudio)" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(mm-common)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/audio-session-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --noconfigure + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-security + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "audio-session-manager-devel" +PACKAGES += "audio-session-manager" +PACKAGES += "audio-session-manager-sdk-devel" + +audio-session-manager-devel_files = "" +audio-session-manager-devel_files += "audio-session-manager.manifest" +audio-session-manager-devel_files += "/usr/include/mmf/audio-session-manager-types.h" +audio-session-manager-devel_files += "/usr/include/mmf/audio-session-manager.h" + +audio-session-manager_files = "" +audio-session-manager_files += "audio-session-manager.manifest" +audio-session-manager_files += "audio-session-manager.manifest" +audio-session-manager_files += "/usr/lib/libaudio-session-mgr.so.*" +audio-session-manager_files += "/usr/bin/asm_testsuite" + +audio-session-manager-sdk-devel_files = "" +audio-session-manager-sdk-devel_files += "audio-session-manager.manifest" +audio-session-manager-sdk-devel_files += "/usr/include/mmf/audio-session-manager-types.h" +audio-session-manager-sdk-devel_files += "/usr/include/mmf/audio-session-manager.h" +audio-session-manager-sdk-devel_files += "/usr/lib/libaudio-session-mgr.so" +audio-session-manager-sdk-devel_files += "/usr/lib/pkgconfig/audio-session-mgr.pc" + +FILES_${PN}-devel = "${audio-session-manager-devel_files}" +FILES_${PN} = "${audio-session-manager_files}" +FILES_${PN}-sdk-devel = "${audio-session-manager-sdk-devel_files}" + +PKG_audio-session-manager-devel= "audio-session-manager-devel" +PKG_audio-session-manager= "audio-session-manager" +PKG_audio-session-manager-sdk-devel= "audio-session-manager-sdk-devel" + +require audio-session-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager_git.bb b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager_git.bb new file mode 100644 index 0000000..0137818 --- /dev/null +++ b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager_git.bb @@ -0,0 +1,8 @@ +require audio-session-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/audio-session-manager;protocol=ssh;tag=9226f6a77ba5b3a466ff7113479cab7cff770788;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/augeas/augeas-extraconf.inc b/meta-tizen/recipes-tizen/augeas/augeas-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/augeas/augeas-native_git.bb b/meta-tizen/recipes-tizen/augeas/augeas-native_git.bb new file mode 100644 index 0000000..8c1d39c --- /dev/null +++ b/meta-tizen/recipes-tizen/augeas/augeas-native_git.bb @@ -0,0 +1,12 @@ +require augeas.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/augeas;protocol=ssh;tag=f50575830835888c0065a423cbf5b92347fc47da;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/augeas/augeas.inc b/meta-tizen/recipes-tizen/augeas/augeas.inc new file mode 100644 index 0000000..1d2787f --- /dev/null +++ b/meta-tizen/recipes-tizen/augeas/augeas.inc @@ -0,0 +1,184 @@ +DESCRIPTION = "A library for changing configuration files" +HOMEPAGE = "http://augeas.net/" +SECTION = "System/Libraries" +LICENSE = "GPL-3.0+ or LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by augeas +PROVIDES += "augeas" +RPROVIDES_augeas += "augeas" + +#PROVIDES by augeas-lense-tests +PROVIDES += "augeas-lense-tests" +RPROVIDES_augeas-lense-tests += "augeas-lense-tests" + +#PROVIDES by augeas-devel +PROVIDES += "augeas-devel" +RPROVIDES_augeas-devel += "augeas-devel" +RPROVIDES_augeas-devel += "augeas-dev" + +#PROVIDES by augeas-docs +PROVIDES += "augeas-docs " +RPROVIDES_augeas-docs += "augeas-docs " + +#PROVIDES by augeas-lenses +PROVIDES += "augeas-lenses" +RPROVIDES_augeas-lenses += "augeas-lenses" + +#PROVIDES by libaugeas +PROVIDES += "libaugeas" +RPROVIDES_libaugeas += "libaugeas" + +RDEPENDS = "" +#RDEPENDS of augeas-lense-tests (${PN}-lense-tests) +RDEPENDS_${PN}-lense-tests += "augeas-lenses" + +#RDEPENDS of augeas-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libaugeas" + +#RDEPENDS of augeas-lenses (${PN}-lenses) +RDEPENDS_${PN}-lenses += "libaugeas" + + +DEPENDS = "" +#DEPENDS of augeas +DEPENDS += "libxml2-devel" +DEPENDS += "glib2-devel" +DEPENDS += "readline-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/augeas.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-Wno-error $RPM_OPT_FLAGS" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # move vim files to the right location + mv $RPM_BUILD_ROOT//usr/share/vim/vimfiles $RPM_BUILD_ROOT//usr/share/vim/site + + +} + +PACKAGES = "" +PACKAGES += "augeas" +PACKAGES += "augeas-lense-tests" +PACKAGES += "augeas-devel" +PACKAGES += "augeas-lenses" +PACKAGES += "libaugeas" +PACKAGES += "augeas-docs" + +augeas_files = "" +augeas_files += "augeas.manifest" +augeas_files += "/usr/bin/augtool" +augeas_files += "/usr/bin/augparse" +augeas_files += "/usr/bin/fadot" + +augeas-lense-tests_files = "" +augeas-lense-tests_files += "augeas.manifest" +augeas-lense-tests_files += "/usr/share/augeas/lenses/dist/tests" +augeas-lense-tests_files += "/usr/share/augeas/lenses/dist/tests/*.aug" + +augeas-devel_files = "" +augeas-devel_files += "augeas.manifest" +augeas-devel_files += "/usr/include/*" +augeas-devel_files += "/usr/lib/*.so" +augeas-devel_files += "/usr/lib/pkgconfig/augeas.pc" +augeas-devel_files += "/usr/share/vim" +augeas-devel_files += "/usr/share/vim/site" +augeas-devel_files += "/usr/share/vim/site/ftdetect" +augeas-devel_files += "/usr/share/vim/site/ftdetect/augeas.vim" +augeas-devel_files += "/usr/share/vim/site/syntax" +augeas-devel_files += "/usr/share/vim/site/syntax/augeas.vim" + +augeas-lenses_files = "" +augeas-lenses_files += "augeas.manifest" +augeas-lenses_files += "/usr/share/augeas" +augeas-lenses_files += "/usr/share/augeas/lenses" +augeas-lenses_files += "/usr/share/augeas/lenses/dist" +augeas-lenses_files += "/usr/share/augeas/lenses/dist/*.aug" + +libaugeas_files = "" +libaugeas_files += "augeas.manifest" +libaugeas_files += "/usr/lib/*.so.*" + +augeas-docs_files = "" +augeas-docs_files += "/usr/share/info" +augeas-docs_files += "/usr/share/man" + +FILES_${PN} = "${augeas_files}" +FILES_${PN}-lense-tests = "${augeas-lense-tests_files}" +FILES_${PN}-devel = "${augeas-devel_files}" +FILES_${PN}-lenses = "${augeas-lenses_files}" +FILES_lib${PN} = "${libaugeas_files}" +FILES_${PN}-docs = "${augeas-docs_files}" + +PKG_augeas= "augeas" +PKG_augeas-lense-tests= "augeas-lense-tests" +PKG_augeas-devel= "augeas-devel" +PKG_augeas-lenses= "augeas-lenses" +PKG_libaugeas= "libaugeas" +PKG_augeas-docs= "augeas-docs" + +require augeas-extraconf.inc diff --git a/meta-tizen/recipes-tizen/augeas/augeas_git.bb b/meta-tizen/recipes-tizen/augeas/augeas_git.bb new file mode 100644 index 0000000..dd2bc09 --- /dev/null +++ b/meta-tizen/recipes-tizen/augeas/augeas_git.bb @@ -0,0 +1,8 @@ +require augeas.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/augeas;protocol=ssh;tag=f50575830835888c0065a423cbf5b92347fc47da;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1-extraconf.inc b/meta-tizen/recipes-tizen/aul-1/aul-1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1-native_git.bb b/meta-tizen/recipes-tizen/aul-1/aul-1-native_git.bb new file mode 100644 index 0000000..7819e8a --- /dev/null +++ b/meta-tizen/recipes-tizen/aul-1/aul-1-native_git.bb @@ -0,0 +1,12 @@ +require aul-1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/aul-1;protocol=ssh;tag=3644ad545979e4f23ae8ca1bd94fe4b87af235e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1.inc b/meta-tizen/recipes-tizen/aul-1/aul-1.inc new file mode 100644 index 0000000..fdbd451 --- /dev/null +++ b/meta-tizen/recipes-tizen/aul-1/aul-1.inc @@ -0,0 +1,181 @@ +DESCRIPTION = "App utility library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by aul +PROVIDES += "aul" +RPROVIDES_aul += "aul" + +#PROVIDES by aul-devel +PROVIDES += "aul-devel" +RPROVIDES_aul-devel += "aul-devel" +RPROVIDES_aul-devel += "aul-dev" + +RDEPENDS = "" +#RDEPENDS of aul (aul) +RDEPENDS_aul += "/usr/bin/systemctl" +RDEPENDS_aul += "/sbin/ldconfig" + +#RDEPENDS of aul-devel (aul-devel) +RDEPENDS_aul-devel += "aul" + + +DEPENDS = "" +#DEPENDS of aul +DEPENDS += "pkgconfig(libprivilege-control)" +DEPENDS += "pkgconfig(rua)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(ecore)" +DEPENDS += "pkgconfig(ecore-input)" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(xdgmime)" +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "ail" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "xdgmime-devel" +DEPENDS += "app-checker" +DEPENDS += "pkgconfig(ecore-wayland)" +DEPENDS += "pkgconfig(bundle)" +DEPENDS += "pkgconfig(privacy-manager-client)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/aul.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DWITH_WAYLAND=On + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/init.d + install -m 755 launchpad_run ${D}/etc/init.d + + mkdir -p ${D}/etc/rc.d/rc3.d + mkdir -p ${D}/etc/rc.d/rc4.d + ln -sf ../../init.d/launchpad_run ${D}//etc/rc.d/rc3.d/S34launchpad_run + ln -sf ../../init.d/launchpad_run ${D}//etc/rc.d/rc4.d/S80launchpad_run + + mkdir -p ${D}/opt/dbspace + sqlite3 ${D}/opt/dbspace/.mida.db < ${D}/usr/share/aul/mida_db.sql + rm -rf ${D}/usr/share/aul/mida_db.sql + + mkdir -p ${D}/usr/lib/systemd/system/graphical.target.wants + install -m 0644 ${S}/packaging/launchpad-preload@.service ${D}/usr/lib/systemd/system/launchpad-preload@.service + install -m 0644 ${S}/packaging/ac.service ${D}/usr/lib/systemd/system/ac.service + ln -s ../launchpad-preload@.service ${D}/usr/lib/systemd/system/graphical.target.wants/launchpad-preload@app.service + ln -s ../ac.service ${D}/usr/lib/systemd/system/graphical.target.wants/ac.service + + mkdir -p ${D}/opt/etc/smack/accesses.d + install -m 644 aul.rule ${D}/opt/etc/smack/accesses.d + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/aul + + + +} + +PACKAGES = "" +PACKAGES += "aul" +PACKAGES += "aul-devel" + +aul_files = "" +aul_files += "aul.manifest" +aul_files += "/etc/init.d/launchpad_run" +#Remove rpm attribut "%attr(0644,root,app)" +aul_files += "/opt/dbspace/.mida.db" +#Remove rpm attribut "%attr(0644,root,app)" +aul_files += "/opt/dbspace/.mida.db-journal" +aul_files += "/usr/bin/aul_test" +aul_files += "/usr/bin/launch_app" +aul_files += "/usr/bin/open_app" +aul_files += "/usr/share/aul/miregex/*" +aul_files += "/usr/share/aul/service/*" +aul_files += "/usr/share/aul/preload_list.txt" +aul_files += "/usr/share/aul/preexec_list.txt" +aul_files += "/usr/bin/launchpad_preloading_preinitializing_daemon" +aul_files += "/usr/lib/systemd/system/graphical.target.wants/launchpad-preload@app.service" +aul_files += "/usr/lib/systemd/system/graphical.target.wants/ac.service" +aul_files += "/usr/lib/systemd/system/launchpad-preload@.service" +aul_files += "/usr/lib/systemd/system/ac.service" +aul_files += "/usr/bin/amd" +aul_files += "/usr/bin/daemon-manager-release-agent" +aul_files += "/usr/bin/daemon-manager-launch-agent" +aul_files += "/opt/etc/smack/accesses.d/aul.rule" +aul_files += "/usr/share/license/aul" + +aul-devel_files = "" +aul-devel_files += "/usr/include/aul/*.h" +aul-devel_files += "/usr/lib/*.so" +aul-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${aul_files}" +FILES_${PN}-devel = "${aul-devel_files}" + +PKG_aul= "aul" +PKG_aul-devel= "aul-devel" + +require aul-1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1_git.bb b/meta-tizen/recipes-tizen/aul-1/aul-1_git.bb new file mode 100644 index 0000000..60c1390 --- /dev/null +++ b/meta-tizen/recipes-tizen/aul-1/aul-1_git.bb @@ -0,0 +1,8 @@ +require aul-1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/aul-1;protocol=ssh;tag=3644ad545979e4f23ae8ca1bd94fe4b87af235e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/autoconf/autoconf-extraconf.inc b/meta-tizen/recipes-tizen/autoconf/autoconf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/autoconf/autoconf.inc b/meta-tizen/recipes-tizen/autoconf/autoconf.inc new file mode 100644 index 0000000..94f21c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/autoconf/autoconf.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "A GNU Tool for Automatically Configuring Source Code" +HOMEPAGE = "http://www.gnu.org/software/autoconf" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by autoconf +PROVIDES += "autoconf" +RPROVIDES_autoconf += "autoconf" + +RDEPENDS = "" +#RDEPENDS of autoconf (${PN}) +RDEPENDS_${PN} += "m4" +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" +#DEPENDS of autoconf +DEPENDS += "xz" +DEPENDS += "m4" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n autoconf-2.69 + cp ${S}/packaging/autoconf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + exit 0 + trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/*.el* + # info's dir file is not auto ignored on some systems + rm -rf ${D}/usr/share/info/dir + + +} + +PACKAGES = "" +PACKAGES += "autoconf" + +autoconf_files = "" +autoconf_files += "autoconf.manifest" +autoconf_files += "COPYING" +autoconf_files += "/usr/bin/*" +autoconf_files += "/usr/share/autoconf" +autoconf_files += "/usr/share/info/*.gz" +autoconf_files += "/usr/share/man/man1/*.gz" + +FILES_${PN} = "${autoconf_files}" + +PKG_autoconf= "autoconf" + +require autoconf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/autoconf/autoconf_git.bb b/meta-tizen/recipes-tizen/autoconf/autoconf_git.bb new file mode 100644 index 0000000..14ecf37 --- /dev/null +++ b/meta-tizen/recipes-tizen/autoconf/autoconf_git.bb @@ -0,0 +1,8 @@ +require autoconf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/autoconf;protocol=ssh;tag=f0cbc9a7782ecebf4991aa7f4155ee2e58471c20;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/autoconf213/autoconf213-extraconf.inc b/meta-tizen/recipes-tizen/autoconf213/autoconf213-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/autoconf213/autoconf213-native_git.bb b/meta-tizen/recipes-tizen/autoconf213/autoconf213-native_git.bb new file mode 100644 index 0000000..7ed5718 --- /dev/null +++ b/meta-tizen/recipes-tizen/autoconf213/autoconf213-native_git.bb @@ -0,0 +1,12 @@ +require autoconf213.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/autoconf213;protocol=ssh;tag=21db2b3894d31911828c934bb115eeb585c2b1bd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/autoconf213/autoconf213.inc b/meta-tizen/recipes-tizen/autoconf213/autoconf213.inc new file mode 100644 index 0000000..3825e15 --- /dev/null +++ b/meta-tizen/recipes-tizen/autoconf213/autoconf213.inc @@ -0,0 +1,99 @@ +DESCRIPTION = "A GNU Tool for Automatically Configuring Source Code" +HOMEPAGE = "http://www.gnu.org/software/autoconf" +SECTION = "Development/Tools/Building" +LICENSE = "GPL v2 or later" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by autoconf213 +PROVIDES += "autoconf213" +RPROVIDES_autoconf213 += "autoconf213" + +RDEPENDS = "" +#RDEPENDS of autoconf213 (${PN}) +RDEPENDS_${PN} += "mktemp" +RDEPENDS_${PN} += "m4" +RDEPENDS_${PN} += "gawk" +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" +#DEPENDS of autoconf213 +DEPENDS += "texinfo-native" +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n autoconf-2.13 -q + cp ${S}/packaging/autoconf213.manifest . + + + mv autoconf.texi autoconf213.texi + rm -f autoconf.info + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man \ + --program-suffix=-2.13 + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # We don't want to include the standards.info stuff in the package, + # because it comes from binutils... + rm -f ${RPM_BUILD_ROOT}/usr/share/info/standards* + + +} + +PACKAGES = "" +PACKAGES += "autoconf213" + +autoconf213_files = "" +autoconf213_files += "autoconf213.manifest" +autoconf213_files += "AUTHORS COPYING NEWS README TODO" +autoconf213_files += "/usr/bin/*" +autoconf213_files += "/usr/share/autoconf-2.13" +autoconf213_files += "/usr/share/info/*.gz" + +FILES_${PN} = "${autoconf213_files}" + +PKG_autoconf213= "autoconf213" + +require autoconf213-extraconf.inc diff --git a/meta-tizen/recipes-tizen/autoconf213/autoconf213_git.bb b/meta-tizen/recipes-tizen/autoconf213/autoconf213_git.bb new file mode 100644 index 0000000..ef76e6f --- /dev/null +++ b/meta-tizen/recipes-tizen/autoconf213/autoconf213_git.bb @@ -0,0 +1,8 @@ +require autoconf213.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/autoconf213;protocol=ssh;tag=21db2b3894d31911828c934bb115eeb585c2b1bd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/automake/automake-extraconf.inc b/meta-tizen/recipes-tizen/automake/automake-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/automake/automake.inc b/meta-tizen/recipes-tizen/automake/automake.inc new file mode 100644 index 0000000..453daf3 --- /dev/null +++ b/meta-tizen/recipes-tizen/automake/automake.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "A Program for Automatically Generating GNU-Style Makefile.in Files" +HOMEPAGE = "http://www.gnu.org/software/automake" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by automake +PROVIDES += "automake" +RPROVIDES_automake += "automake" + +RDEPENDS = "" +#RDEPENDS of automake (${PN}) +RDEPENDS_${PN} += "autoconf" + + +DEPENDS = "" +#DEPENDS of automake +DEPENDS += "xz" +DEPENDS += "gcc-c++" +DEPENDS += "autoconf-native" +DEPENDS += "bison-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n automake-1.12.1 + cp ${S}/packaging/automake.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + sh bootstrap.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --docdir=/usr/share/doc/packages/automake + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} + mkdir -p ${D}/etc ${D}/usr/share/aclocal + echo /usr/local/share/aclocal >${D}/etc/aclocal_dirlist + ln -s ../../../etc/aclocal_dirlist ${D}/usr/share/aclocal/dirlist + mkdir -p ${D}/usr/share/man/man1 + install -m644 COPYING ${D}/usr/share/doc/packages/automake + # info's dir file is not auto ignored on some systems + rm -rf ${D}/usr/share/info/dir + + +} + +PACKAGES = "" +PACKAGES += "automake" + +automake_files = "" +automake_files += "automake.manifest" +automake_files += "/usr/share/doc/packages/automake" +automake_files += "/usr/bin/*" +automake_files += "/usr/share/info/*.gz" +automake_files += "/usr/share/man/man1/*" +automake_files += "/usr/share/aclocal*" +automake_files += "/usr/share/automake-*" +automake_files += "/etc/aclocal_dirlist" + +FILES_${PN} = "${automake_files}" + +PKG_automake= "automake" + +require automake-extraconf.inc diff --git a/meta-tizen/recipes-tizen/avahi/avahi-extraconf.inc b/meta-tizen/recipes-tizen/avahi/avahi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/avahi/avahi-native_git.bb b/meta-tizen/recipes-tizen/avahi/avahi-native_git.bb new file mode 100644 index 0000000..d2721ae --- /dev/null +++ b/meta-tizen/recipes-tizen/avahi/avahi-native_git.bb @@ -0,0 +1,12 @@ +require avahi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/avahi;protocol=ssh;tag=b424b96b03cdc48d774a72e327ec3893e8a3d9a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/avahi/avahi.inc b/meta-tizen/recipes-tizen/avahi/avahi.inc new file mode 100644 index 0000000..a937168 --- /dev/null +++ b/meta-tizen/recipes-tizen/avahi/avahi.inc @@ -0,0 +1,221 @@ +DESCRIPTION = "Local network service discovery" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Base" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by avahi-devel +PROVIDES += "avahi-devel" +RPROVIDES_avahi-devel += "avahi-devel" +RPROVIDES_avahi-devel += "avahi-dev" + +#PROVIDES by avahi +PROVIDES += "avahi" +RPROVIDES_avahi += "avahi" + +#PROVIDES by avahi-data +PROVIDES += "avahi-data" +RPROVIDES_avahi-data += "avahi-data" + +#PROVIDES by avahi-libs +PROVIDES += "avahi-libs" +RPROVIDES_avahi-libs += "avahi-libs" + +RDEPENDS = "" +#RDEPENDS of avahi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig" +RDEPENDS_${PN}-devel += "avahi-libs" + +#RDEPENDS of avahi-data (${PN}-data) +RDEPENDS_${PN}-data += "avahi" + +#RDEPENDS of avahi (${PN}) +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "expat" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "avahi-libs" + +#RDEPENDS of avahi-libs (${PN}-libs) +RDEPENDS_${PN}-libs += "poppler-tools" + + +DEPENDS = "" +#DEPENDS of avahi +DEPENDS += "intltool-native" +DEPENDS += "expat-devel" +DEPENDS += "dbus-devel" +DEPENDS += "automake-native" +DEPENDS += "libtool-cross" +DEPENDS += "libcap-devel" +DEPENDS += "libdaemon-devel" +DEPENDS += "libxml-parser-perl" +DEPENDS += "dbus-glib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/avahi.manifest ${S}/packaging/avahi-libs.manifest ${S}/packaging/avahi-devel.manifest ${S}/packaging/avahi-data.manifest . + + ##patch1 -p1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-distro=fedora --with-avahi-user=app --with-avahi-group=app --with-avahi-priv-access-group=app \ + --disable-compat-libdns_sd \ + --disable-mono \ + --disable-monodoc \ + --disable-qt3 \ + --disable-qt4 \ + --disable-gtk \ + --disable-gtk3\ + --disable-python \ + --disable-pygtk \ + --disable-python-dbus \ + --disable-doxygen-doc\ + --disable-doxygen-dot\ + --disable-doxygen-xml\ + --disable-doxygen-html\ + --disable-doxygen-manpages\ + --disable-doxygen-xmltoman\ + --disable-glib \ + --disable-gobject \ + --disable-gdbm \ + --sysconfdir=/usr/etc \ + --localstatedir=/opt/var \ + --without-systemdsystemunitdir + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + rm -rf $RPM_BUILD_ROOT + make install DESTDIR=$RPM_BUILD_ROOT + + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/LICENSE ${D}/usr/share/license/avahi + cp ${WORKDIR}/git/LICENSE ${D}/usr/share/license/avahi-libs + cp ${WORKDIR}/git/LICENSE ${D}/usr/share/license/avahi-data + + rm -f $RPM_BUILD_ROOT/usr/lib/*.la + rm -f $RPM_BUILD_ROOT/usr/lib/*.a + + # remove example + rm -f $RPM_BUILD_ROOT/usr/etc/avahi/services/sftp-ssh.service + + # create /var/run/avahi-daemon to ensure correct selinux policy for it: + mkdir -p $RPM_BUILD_ROOT/opt/var/run/avahi-daemon + + + #mkdir -p $RPM_BUILD_ROOT/var/lib/avahi-autoipd + + # remove the documentation directory - let % doc handle it: + #rm -rf $RPM_BUILD_ROOT/usr/share/avahi-0.6.30 + + # Make /etc/avahi/etc/localtime owned by avahi: + mkdir -p $RPM_BUILD_ROOT/usr/etc/avahi/etc + touch $RPM_BUILD_ROOT/usr/etc/avahi/etc/localtime + + # fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd + #%if 0 + #ln -s avahi-compat-howl.pc $RPM_BUILD_ROOT//usr/lib/pkgconfig/howl.pc + #%endif + #%if 0 + #ln -s avahi-compat-libdns_sd.pc $RPM_BUILD_ROOT//usr/lib/pkgconfig/libdns_sd.pc + #ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT//usr/include/ + #%endif + # + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} avahi + + +} + +PACKAGES = "" +PACKAGES += "avahi-devel" +PACKAGES += "avahi-data" +PACKAGES += "avahi" +PACKAGES += "avahi-libs" + +avahi-devel_files = "" +avahi-devel_files += "avahi-devel.manifest" +avahi-devel_files += "/usr/include/avahi-client" +avahi-devel_files += "/usr/include/avahi-common" +avahi-devel_files += "/usr/include/avahi-core" +avahi-devel_files += "/usr/lib/pkgconfig/avahi-core.pc" +avahi-devel_files += "/usr/lib/pkgconfig/avahi-client.pc" + +avahi-data_files = "" +avahi-data_files += "avahi-data.manifest" +avahi-data_files += "/usr/share/license/avahi-data" +avahi-data_files += "/usr/etc/avahi" +avahi-data_files += "/usr/etc/avahi/etc" +avahi-data_files += "/usr/etc/avahi/avahi-daemon.conf" + +avahi_files = "" +avahi_files += "avahi.manifest" +avahi_files += "/usr/share/license/avahi" + +avahi-libs_files = "" +avahi-libs_files += "avahi-libs.manifest" +avahi-libs_files += "/usr/share/license/avahi-libs" +avahi-libs_files += "/usr/lib/avahi" + +FILES_${PN}-devel = "${avahi-devel_files}" +FILES_${PN}-data = "${avahi-data_files}" +FILES_${PN} = "${avahi_files}" +FILES_${PN}-libs = "${avahi-libs_files}" + +PKG_avahi-devel= "avahi-devel" +PKG_avahi-data= "avahi-data" +PKG_avahi= "avahi" +PKG_avahi-libs= "avahi-libs" + +require avahi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/avahi/avahi_git.bb b/meta-tizen/recipes-tizen/avahi/avahi_git.bb new file mode 100644 index 0000000..4a165ed --- /dev/null +++ b/meta-tizen/recipes-tizen/avahi/avahi_git.bb @@ -0,0 +1,8 @@ +require avahi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/avahi;protocol=ssh;tag=b424b96b03cdc48d774a72e327ec3893e8a3d9a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem-extraconf.inc b/meta-tizen/recipes-tizen/avsystem/avsystem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem-native_git.bb b/meta-tizen/recipes-tizen/avsystem/avsystem-native_git.bb new file mode 100644 index 0000000..750837e --- /dev/null +++ b/meta-tizen/recipes-tizen/avsystem/avsystem-native_git.bb @@ -0,0 +1,12 @@ +require avsystem.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/avsystem;protocol=ssh;tag=57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem.inc b/meta-tizen/recipes-tizen/avsystem/avsystem.inc new file mode 100644 index 0000000..94ba24d --- /dev/null +++ b/meta-tizen/recipes-tizen/avsystem/avsystem.inc @@ -0,0 +1,175 @@ +DESCRIPTION = "Audio Video System" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by avsystem +PROVIDES += "avsystem" +RPROVIDES_avsystem += "avsystem" + +#PROVIDES by avsystem-devel +PROVIDES += "avsystem-devel" +RPROVIDES_avsystem-devel += "avsystem-devel" +RPROVIDES_avsystem-devel += "avsystem-dev" + +#PROVIDES by libavsysaudio +PROVIDES += "libavsysaudio" +RPROVIDES_libavsysaudio += "libavsysaudio" + +RDEPENDS = "" +#RDEPENDS of avsystem (${PN}) +RDEPENDS_${PN} += "/usr/bin/systemctl" +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of avsystem-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "avsystem" + + +DEPENDS = "" +#DEPENDS of avsystem +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(libpulse)" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "pkgconfig(mm-log)" +DEPENDS += "alsa-scenario-0.2" +DEPENDS += "pkgconfig(mm-ta)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n avsystem-0.5.5 + cp ${S}/packaging/avsystem.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-audiotest + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -m 755 -p ${D}//etc/rc.d/rc3.d/ + ln -s ../init.d/snd_init ${D}//etc/rc.d/rc3.d/S15snd_init + mkdir -m 755 -p ${D}//etc/rc.d/rc4.d/ + ln -s ../init.d/snd_init ${D}//etc/rc.d/rc4.d/S15snd_init + + mkdir -m 755 -p ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m 0644 ${S}/packaging/avsystem.service ${D}/usr/lib/systemd/system/avsystem.service + ln -s ../avsystem.service ${D}/usr/lib/systemd/system/multi-user.target.wants/avsystem.service + + +} + +PACKAGES = "" +PACKAGES += "avsystem" +PACKAGES += "avsystem-devel" +PACKAGES += "libavsysaudio" + +avsystem_files = "" +avsystem_files += "avsystem.manifest" +avsystem_files += "/etc/rc.d/init.d/snd_init" +avsystem_files += "/etc/rc.d/rc3.d/S15snd_init" +avsystem_files += "/etc/rc.d/rc4.d/S15snd_init" +avsystem_files += "/usr/bin/*" +avsystem_files += "/usr/lib/systemd/system/avsystem.service" +avsystem_files += "/usr/lib/systemd/system/multi-user.target.wants/avsystem.service" + +avsystem-devel_files = "" +avsystem-devel_files += "avsystem.manifest" +avsystem-devel_files += "/usr/lib/pkgconfig/*.pc" +avsystem-devel_files += "/usr/lib/*.so" +avsystem-devel_files += "/usr/include/avsystem/*.h" + +libavsysaudio_files = "" +libavsysaudio_files += "avsystem.manifest" +libavsysaudio_files += "/usr/lib/lib*.so.*" + +FILES_${PN} = "${avsystem_files}" +FILES_${PN}-devel = "${avsystem-devel_files}" +FILES_libavsysaudio = "${libavsysaudio_files}" + +PKG_avsystem= "avsystem" +PKG_avsystem-devel= "avsystem-devel" +PKG_libavsysaudio= "libavsysaudio" + +require avsystem-extraconf.inc diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem_git.bb b/meta-tizen/recipes-tizen/avsystem/avsystem_git.bb new file mode 100644 index 0000000..9b833de --- /dev/null +++ b/meta-tizen/recipes-tizen/avsystem/avsystem_git.bb @@ -0,0 +1,8 @@ +require avsystem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/avsystem;protocol=ssh;tag=57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/badge/badge-extraconf.inc b/meta-tizen/recipes-tizen/badge/badge-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/badge/badge-native_git.bb b/meta-tizen/recipes-tizen/badge/badge-native_git.bb new file mode 100644 index 0000000..93ddb79 --- /dev/null +++ b/meta-tizen/recipes-tizen/badge/badge-native_git.bb @@ -0,0 +1,12 @@ +require badge.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/badge;protocol=ssh;tag=884dcb1b9c50cf0e2e4107accd13b0b040b74393;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/badge/badge.inc b/meta-tizen/recipes-tizen/badge/badge.inc new file mode 100644 index 0000000..1a2de0a --- /dev/null +++ b/meta-tizen/recipes-tizen/badge/badge.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "badge library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libbadge +PROVIDES += "libbadge" +RPROVIDES_libbadge += "libbadge" + +#PROVIDES by badge-devel +PROVIDES += "badge-devel" +RPROVIDES_badge-devel += "badge-devel" +RPROVIDES_badge-devel += "badge-dev" + +#PROVIDES by badge +PROVIDES += "badge" +RPROVIDES_badge += "badge" + +RDEPENDS = "" +#RDEPENDS of libbadge (lib${PN}) +RDEPENDS_lib${PN} += "badge" + +#RDEPENDS of badge-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libbadge" + +#RDEPENDS of badge (${PN}) +RDEPENDS_${PN} += "libbadge" + + +DEPENDS = "" +#DEPENDS of badge +DEPENDS += "cmake" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(com-core)" +DEPENDS += "sqlite3" +DEPENDS += "pkgconfig(dlog)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/badge.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/dbspace + sqlite3 ${D}/opt/dbspace/.badge.db < badge.sql + + +} + +PACKAGES = "" +PACKAGES += "libbadge" +PACKAGES += "badge-devel" +PACKAGES += "badge" + +libbadge_files = "" +libbadge_files += "badge.manifest" +libbadge_files += "badge.manifest" +libbadge_files += "/usr/lib/libbadge.so.*" + +badge-devel_files = "" +badge-devel_files += "badge.manifest" +badge-devel_files += "/usr/include/badge/*.h" +badge-devel_files += "/usr/lib/libbadge.so" +badge-devel_files += "/usr/lib/pkgconfig/badge.pc" + +badge_files = "" +badge_files += "badge.manifest" + +FILES_lib${PN} = "${libbadge_files}" +FILES_${PN}-devel = "${badge-devel_files}" +FILES_${PN} = "${badge_files}" + +PKG_libbadge= "libbadge" +PKG_badge-devel= "badge-devel" +PKG_badge= "badge" + +require badge-extraconf.inc diff --git a/meta-tizen/recipes-tizen/badge/badge_git.bb b/meta-tizen/recipes-tizen/badge/badge_git.bb new file mode 100644 index 0000000..46e6937 --- /dev/null +++ b/meta-tizen/recipes-tizen/badge/badge_git.bb @@ -0,0 +1,8 @@ +require badge.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/badge;protocol=ssh;tag=884dcb1b9c50cf0e2e4107accd13b0b040b74393;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bash/bash-extraconf.inc b/meta-tizen/recipes-tizen/bash/bash-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bash/bash.inc b/meta-tizen/recipes-tizen/bash/bash.inc new file mode 100644 index 0000000..5e627ef --- /dev/null +++ b/meta-tizen/recipes-tizen/bash/bash.inc @@ -0,0 +1,197 @@ +DESCRIPTION = "The GNU Bourne Again shell" +HOMEPAGE = "http://www.gnu.org/software/bash" +SECTION = "Base/Tools" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bash-docs +PROVIDES += "bash-docs " +RPROVIDES_bash-docs += "bash-docs " + +#PROVIDES by bash +PROVIDES += "bash" +RPROVIDES_bash += "bash" +# the PROVIDES rules is ignore "/bin/bash " +PROVIDES += "/bin/bash" +RPROVIDES_bash += "/bin/bash" +# the PROVIDES rules is ignore "/bin/sh " +PROVIDES += "/bin/sh" +RPROVIDES_bash += "/bin/sh" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of bash +DEPENDS += "autoconf-native" +DEPENDS += "bison-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bash.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-largefile \ + --without-bash-malloc \ + --disable-nls \ + --enable-alias \ + --enable-readline \ + --enable-history + + # Recycles pids is neccessary. When bash's last fork's pid was X + # and new fork's pid is also X, bash has to wait for this same pid. + # Without Recycles pids bash will not wait. + make "CPPFLAGS=-D_GNU_SOURCE -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' -DRECYCLES_PIDS `getconf LFS_CFLAGS`" + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/bash_completion.d + + # make manpages for bash builtins as per suggestion in DOC/README + pushd doc + sed -e ' + /^\.SH NAME/, /\\- bash built-in commands, see \\fBbash\\fR(1)$/{ + /^\.SH NAME/d + s/^bash, // + s/\\- bash built-in commands, see \\fBbash\\fR(1)$// + s/,//g + b + } + d + ' builtins.1 > man.pages + # ' + for i in echo pwd test kill; do + perl -pi -e "s,$i,,g" man.pages + perl -pi -e "s, , ,g" man.pages + done + + install -c -m 644 builtins.1 ${D}/usr/share/man/man1/builtins.1 + install -c -m 644 bash.1 ${D}/usr/share/man/man1/bash.1 + + for i in `cat man.pages` ; do + echo .so man1/builtins.1 > ${D}/usr/share/man/man1/$i.1 + chmod 0644 ${D}/usr/share/man/man1/$i.1 + done + popd + + # Link bash man page to sh so that man sh works. + ln -s bash.1 ${D}/usr/share/man/man1/sh.1 + + # Not for printf, true and false (conflict with coreutils) + rm -f ${D}//usr/share/man/man1/printf.1 + rm -f ${D}//usr/share/man/man1/true.1 + rm -f ${D}//usr/share/man/man1/false.1 + + pushd ${D} + ln -sf bash ./usr/bin/sh + rm -f ./usr/share/info/dir + popd + mkdir -p ${D}/etc/skel + install -c -m644 ${S}/packaging/dot.bashrc ${D}/etc/skel/.bashrc + install -c -m644 ${S}/packaging/dot.profile ${D}/etc/skel/.bash_profile + LONG_BIT=$(getconf LONG_BIT) + mv ${D}/usr/bin/bashbug \ + ${D}/usr/bin/bashbug-"${LONG_BIT}" + + # Fix missing sh-bangs in example scripts (bug #225609). + for script in \ + examples/scripts/krand.bash \ + examples/scripts/bcsh.sh \ + examples/scripts/precedence \ + examples/scripts/shprompt + do + cp "$script" "$script"-orig + echo '#!/bin/bash' > "$script" + cat "$script"-orig >> "$script" + rm -f "$script"-orig + done + + rm -rf ${D}/usr/bin/bashbug-* + chmod a-x doc/*.sh + + + +} + +PACKAGES = "" +PACKAGES += "bash-docs" +PACKAGES += "bash" + +bash-docs_files = "" +bash-docs_files += "/usr/share/info" +bash-docs_files += "/usr/share/man" + +bash_files = "" +bash_files += "bash.manifest" +bash_files += "/usr/bin/sh" +bash_files += "/usr/bin/bash" +bash_files += "/etc/skel" +bash_files += "/etc/bash_completion.d" + +FILES_${PN}-docs = "${bash-docs_files}" +FILES_${PN} = "${bash_files}" + +PKG_bash-docs= "bash-docs" +PKG_bash= "bash" + +require bash-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bc/bc-extraconf.inc b/meta-tizen/recipes-tizen/bc/bc-extraconf.inc new file mode 100644 index 0000000..56c1007 --- /dev/null +++ b/meta-tizen/recipes-tizen/bc/bc-extraconf.inc @@ -0,0 +1,8 @@ +DEPENDS += "ncurses-native" +DEPENDS += "readline-native" + +SRC_URI += "file://0001-Fix-cross-build.patch " + +do_patch_append () { + cat ${WORKDIR}/0001-Fix-cross-build.patch | patch -p1 -b +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/bc/bc.inc b/meta-tizen/recipes-tizen/bc/bc.inc new file mode 100644 index 0000000..f972e4c --- /dev/null +++ b/meta-tizen/recipes-tizen/bc/bc.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "GNU Command Line Calculator" +HOMEPAGE = "ftp://ftp.gnu.org/pub/gnu/bc" +SECTION = "Base/Utilities" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bc +PROVIDES += "bc" +RPROVIDES_bc += "bc" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of bc +DEPENDS += "ed" +DEPENDS += "bison-native" +DEPENDS += "readline-devel" +DEPENDS += "flex" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-readline + + rm bc/libmath.h + sed -i 's|\(^_PR.*readline.*$\)|/* \1 */|' bc/scan.l + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + + +} + +PACKAGES = "" +PACKAGES += "bc" + +bc_files = "" +bc_files += "bc.manifest" +bc_files += "COPYING" +bc_files += "/usr/bin/bc" +bc_files += "/usr/bin/dc" +bc_files += "/usr/share/info/*.info*" +bc_files += "/usr/share/man/man1/*" + +FILES_${PN} = "${bc_files}" + +PKG_bc= "bc" + +require bc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bc/bc/0001-Fix-cross-build.patch b/meta-tizen/recipes-tizen/bc/bc/0001-Fix-cross-build.patch new file mode 100644 index 0000000..96e265a --- /dev/null +++ b/meta-tizen/recipes-tizen/bc/bc/0001-Fix-cross-build.patch @@ -0,0 +1,35 @@ +From aa7159a3921d32f5c7019abf2e85e3a7cb0360b3 Mon Sep 17 00:00:00 2001 +From: Ronan Le Martret +Date: Wed, 5 Mar 2014 12:10:48 +0100 +Subject: [PATCH 1/1] Fix cross build + +Change-Id: I9de562baec5878e7020691a17237ccade0addcf1 +--- + bc/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/bc/Makefile.am b/bc/Makefile.am +index 9187339..4882623 100644 +--- a/bc/Makefile.am ++++ b/bc/Makefile.am +@@ -15,7 +15,7 @@ INCLUDES = -I$(srcdir) -I$(srcdir)/../h + LIBBC = ../lib/libbc.a + LIBL = @LEXLIB@ + LDADD = $(LIBBC) $(LIBL) @READLINELIB@ +- ++BUILD_LINK = $(BUILD_CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(BUILD_LDFLAGS) -o $@ + YFLAGS = -d + + CFLAGS = @CFLAGS@ -Wall -funsigned-char +@@ -34,7 +34,7 @@ libmath.h: libmath.b + + fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o + fbc: $(fbcOBJ) +- $(LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) ++ $(BUILD_LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) + + sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o + sbc.o: sbc.c +-- +1.8.1.4 + diff --git a/meta-tizen/recipes-tizen/bdftopcf/bdftopcf-extraconf.inc b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bdftopcf/bdftopcf-native_git.bb b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf-native_git.bb new file mode 100644 index 0000000..4ef1944 --- /dev/null +++ b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf-native_git.bb @@ -0,0 +1,12 @@ +require bdftopcf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bdftopcf;protocol=ssh;tag=754ca93eb8f482ff7341153b370b7afca41af6a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bdftopcf/bdftopcf.inc b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf.inc new file mode 100644 index 0000000..0c845d8 --- /dev/null +++ b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "Font compiler for the X server and font server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bdftopcf +PROVIDES += "bdftopcf" +RPROVIDES_bdftopcf += "bdftopcf" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of bdftopcf +DEPENDS += "pkgconfig(xfont)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bdftopcf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "bdftopcf" + +bdftopcf_files = "" +bdftopcf_files += "bdftopcf.manifest" +bdftopcf_files += "COPYING" +bdftopcf_files += "/usr/bin/bdftopcf" +bdftopcf_files += "/usr/share/man/man1/bdftopcf.1.gz" + +FILES_${PN} = "${bdftopcf_files}" + +PKG_bdftopcf= "bdftopcf" + +require bdftopcf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bdftopcf/bdftopcf_git.bb b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf_git.bb new file mode 100644 index 0000000..c3072ea --- /dev/null +++ b/meta-tizen/recipes-tizen/bdftopcf/bdftopcf_git.bb @@ -0,0 +1,8 @@ +require bdftopcf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bdftopcf;protocol=ssh;tag=754ca93eb8f482ff7341153b370b7afca41af6a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-extraconf.inc b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-native_git.bb b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-native_git.bb new file mode 100644 index 0000000..8d6cbed --- /dev/null +++ b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto-native_git.bb @@ -0,0 +1,12 @@ +require bigreqsproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bigreqsproto;protocol=ssh;tag=9c104bb0def203be5601759859eee7ddcef397bc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto.inc b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto.inc new file mode 100644 index 0000000..15760fb --- /dev/null +++ b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X.Org X11 Protocol bigreqsproto" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bigreqsproto +PROVIDES += "bigreqsproto" +RPROVIDES_bigreqsproto += "bigreqsproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of bigreqsproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bigreqsproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/bigreqsproto + rm -rf ${D}/usr/share/doc/bigreqsproto-1.1.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "bigreqsproto" + +bigreqsproto_files = "" +bigreqsproto_files += "bigreqsproto.manifest" +bigreqsproto_files += "/usr/include/X11/extensions/*" +bigreqsproto_files += "/usr/share/pkgconfig/*" + +FILES_${PN} = "${bigreqsproto_files}" + +PKG_bigreqsproto= "bigreqsproto" + +require bigreqsproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto_git.bb b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto_git.bb new file mode 100644 index 0000000..b4c9222 --- /dev/null +++ b/meta-tizen/recipes-tizen/bigreqsproto/bigreqsproto_git.bb @@ -0,0 +1,8 @@ +require bigreqsproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bigreqsproto;protocol=ssh;tag=9c104bb0def203be5601759859eee7ddcef397bc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/binutils/binutils-extraconf.inc b/meta-tizen/recipes-tizen/binutils/binutils-extraconf.inc new file mode 100644 index 0000000..dd678bc --- /dev/null +++ b/meta-tizen/recipes-tizen/binutils/binutils-extraconf.inc @@ -0,0 +1,6 @@ +SRC_URI += "file://fix_build.patch " + +do_patch_append () { + cat ${WORKDIR}/findutils_fix_doc.patch | patch -p1 -b + cat ${WORKDIR}/fix_build.patch | patch -p1 -b +} diff --git a/meta-tizen/recipes-tizen/binutils/binutils.inc b/meta-tizen/recipes-tizen/binutils/binutils.inc new file mode 100644 index 0000000..b14db4f --- /dev/null +++ b/meta-tizen/recipes-tizen/binutils/binutils.inc @@ -0,0 +1,143 @@ +DESCRIPTION = "GNU Binutils" +HOMEPAGE = "http://www.gnu.org/software/binutils/" +SECTION = "Development/Tools/Building" +LICENSE = "GFDL-1.3 and GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by binutils-devel +PROVIDES += "binutils-devel" +RPROVIDES_binutils-devel += "binutils-devel" +RPROVIDES_binutils-devel += "binutils-dev" +# the PROVIDES rules is ignore "binutils:/usr/include/bfd.h " +PROVIDES += "binutils:/usr/include/bfd.h" +RPROVIDES_binutils-devel += "binutils:/usr/include/bfd.h" + +#PROVIDES by binutils-gold +PROVIDES += "binutils-gold" +RPROVIDES_binutils-gold += "binutils-gold" + +#PROVIDES by binutils +PROVIDES += "binutils" +RPROVIDES_binutils += "binutils" + +RDEPENDS = "" +#RDEPENDS of binutils-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "binutils" + +#RDEPENDS of binutils-gold (${PN}-gold) +RDEPENDS_${PN}-gold += "binutils" + +#RDEPENDS of binutils (${PN}) +RDEPENDS_${PN} += "update-alternatives" + + +DEPENDS = "" +#DEPENDS of binutils +DEPENDS += "flex" +DEPENDS += "zlib-devel-static" +DEPENDS += "glibc-devel-static" +DEPENDS += "bc" +DEPENDS += "bison-native" +DEPENDS += "gcc-c++" +DEPENDS += "makeinfo" + +do_patch() { + echo "make check will return with true in case of testsuite failures." + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n binutils-2.23.1 + cp ${S}/packaging/binutils.manifest . + + sed -i -e '/BFD_VERSION_DATE/s/$/-0/' bfd/version.h + +} + +do_configure() { +} + +do_compile() { + 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 ; + + RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" + RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` + # building cross-TARGET-binutils + echo "Building cross binutils." + mkdir -p build-dir + cd build-dir + EXTRA_TARGETS= + TARGET_OS=x86_64-tizen-linux + ../configure CFLAGS="${RPM_OPT_FLAGS}" \ + --prefix=/usr \ + --with-bugurl=http://bugs.opensuse.org/ \ + --with-pkgversion="GNU Binutils; %distribution" \ + --disable-nls \ + --build=x86_64-tizen-linux --target=$TARGET_OS \ + --with-sysroot=/usr/$TARGET_OS/sys-root \ + ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} + make -j16 all-bfd TARGET-bfd=headers + # force reconfiguring + rm bfd/Makefile + make -j16 + + exit 0 + unset LD_AS_NEEDED + cd build-dir + make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || true + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build-dir + # installing cross-TARGET-binutils and TARGET-binutils + make DESTDIR=$RPM_BUILD_ROOT install + # Replace hard links by symlinks, so that rpmlint doesn't complain + T=$(basename ${D}/usr/x86_64*) + for f in ${D}/usr/$T/bin/* ; do + ln -sf /usr/bin/$T-$(basename $f) $f + done + rm -rf $RPM_BUILD_ROOT/usr/share/man + rm -rf $RPM_BUILD_ROOT/usr/share/info + rm -rf $RPM_BUILD_ROOT/usr/lib* + rm -rf $RPM_BUILD_ROOT/usr/include + rm -f $RPM_BUILD_ROOT/usr/bin/*-c++filt + > ../binutils.lang + cd $RPM_BUILD_DIR/binutils-2.23.1 + + + + +} + +PACKAGES = "" +PACKAGES += "binutils" + +binutils_files = "" +binutils_files += "binutils.manifest" +binutils_files += "/usr/x86_64*" +binutils_files += "/usr/bin/*" + +FILES_${PN} = "${binutils_files}" + +PKG_binutils= "binutils" + +require binutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/binutils/binutils/fix_build.patch b/meta-tizen/recipes-tizen/binutils/binutils/fix_build.patch new file mode 100644 index 0000000..acfa93a --- /dev/null +++ b/meta-tizen/recipes-tizen/binutils/binutils/fix_build.patch @@ -0,0 +1,44 @@ +diff --git a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo +index 45ffa73..925c9e5 100644 +--- a/bfd/doc/bfd.texinfo ++++ b/bfd/doc/bfd.texinfo +@@ -322,7 +322,7 @@ All of BFD lives in one directory. + @printindex cp + + @tex +-% I think something like @colophon should be in texinfo. In the ++% I think something like colophon should be in texinfo. In the + % meantime: + \long\def\colophon{\hbox to0pt{}\vfill + \centerline{The body of this manual is set in} +@@ -333,7 +333,7 @@ All of BFD lives in one directory. + \centerline{{\sl\fontname\tensl\/}} + \centerline{are used for emphasis.}\vfill} + \page\colophon +-% Blame: doc@cygnus.com, 28mar91. ++% Blame: doccygnus.com, 28mar91. + @end tex + + @bye +diff --git a/ld/ld.texinfo b/ld/ld.texinfo +index 7f77de8..bc1f542 100644 +--- a/ld/ld.texinfo ++++ b/ld/ld.texinfo +@@ -7856,7 +7856,7 @@ If you have more than one @code{SECT} statement for the same + @printindex cp + + @tex +-% I think something like @colophon should be in texinfo. In the ++% I think something like colophon should be in texinfo. In the + % meantime: + \long\def\colophon{\hbox to0pt{}\vfill + \centerline{The body of this manual is set in} +@@ -7867,7 +7867,7 @@ If you have more than one @code{SECT} statement for the same + \centerline{{\sl\fontname\tensl\/}} + \centerline{are used for emphasis.}\vfill} + \page\colophon +-% Blame: doc@cygnus.com, 28mar91. ++% Blame: doccygnus.com, 28mar91. + @end tex + + @bye diff --git a/meta-tizen/recipes-tizen/bison/bison-extraconf.inc b/meta-tizen/recipes-tizen/bison/bison-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bison/bison.inc b/meta-tizen/recipes-tizen/bison/bison.inc new file mode 100644 index 0000000..c276757 --- /dev/null +++ b/meta-tizen/recipes-tizen/bison/bison.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "The GNU Parser Generator" +HOMEPAGE = "http://www.gnu.org/software/bison/bison.html" +SECTION = "Development/Languages/C and C++" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bison +PROVIDES += "bison" +RPROVIDES_bison += "bison" + +RDEPENDS = "" +#RDEPENDS of bison (${PN}) +RDEPENDS_${PN} += "m4" + + +DEPENDS = "" +#DEPENDS of bison +DEPENDS += "gcc-c++" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bison.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + make -j16 + + exit 0 + make -j16 check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "bison" + +bison_files = "" +bison_files += "bison.manifest" +bison_files += "/usr/share/aclocal" +bison_files += "/usr/bin/bison" +bison_files += "/usr/bin/yacc" +bison_files += "/usr/lib/liby.a" +bison_files += "/usr/share/bison" +bison_files += "/usr/share/aclocal" +bison_files += "/usr/share/aclocal/bison-i18n.m4" +bison_files += "/usr/share/info/bison.info*.gz" +bison_files += "/usr/share/man/man1/bison.1.gz" +bison_files += "/usr/share/man/man1/yacc.1.gz" + +FILES_${PN} = "${bison_files}" + +PKG_bison= "bison" + +require bison-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent-extraconf.inc b/meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent.inc b/meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent.inc new file mode 100644 index 0000000..2f563e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-agent/bluetooth-agent.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Bluetooth agent packages that support various external profiles" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "bluetooth-agent" + +bluetooth-agent_files = "" +bluetooth-agent_files += "bluetooth-agent.manifest" +bluetooth-agent_files += "/usr/bin/bluetooth-map-agent" +bluetooth-agent_files += "/usr/bin/bluetooth-pb-agent" +bluetooth-agent_files += "/usr/bin/bluetooth-hfp-agent" +bluetooth-agent_files += "/usr/share/dbus-1/system-services/org.bluez.pb_agent.service" +bluetooth-agent_files += "/usr/share/dbus-1/services/org.bluez.map_agent.service" +bluetooth-agent_files += "/usr/share/dbus-1/system-services/org.bluez.hfp_agent.service" + +FILES_${PN} = "${bluetooth-agent_files}" + +PKG_bluetooth-agent= "bluetooth-agent" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require bluetooth-agent-rdepends.inc +require bluetooth-agent-depends.inc +require bluetooth-agent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-extraconf.inc b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-native_git.bb b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-native_git.bb new file mode 100644 index 0000000..03e60bb --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk-native_git.bb @@ -0,0 +1,12 @@ +require bluetooth-frwk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-frwk;protocol=ssh;tag=f239d393cfb97a214d3fb0131ada9f523d12e6b8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc new file mode 100644 index 0000000..3c4f4bd --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc @@ -0,0 +1,193 @@ +DESCRIPTION = "Bluetooth framework for BlueZ and Obexd" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bluetooth-frwk-core +PROVIDES += "bluetooth-frwk-core" +RPROVIDES_bluetooth-frwk-core += "bluetooth-frwk-core" + +#PROVIDES by bluetooth-frwk-devel +PROVIDES += "bluetooth-frwk-devel" +RPROVIDES_bluetooth-frwk-devel += "bluetooth-frwk-devel" +RPROVIDES_bluetooth-frwk-devel += "bluetooth-frwk-dev" + +#PROVIDES by bluetooth-frwk-service +PROVIDES += "bluetooth-frwk-service" +RPROVIDES_bluetooth-frwk-service += "bluetooth-frwk-service" + +#PROVIDES by bluetooth-frwk +PROVIDES += "bluetooth-frwk" +RPROVIDES_bluetooth-frwk += "bluetooth-frwk" + +RDEPENDS = "" +#RDEPENDS of bluetooth-frwk-core (${PN}-core) +RDEPENDS_${PN}-core += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk-service (${PN}-service) +RDEPENDS_${PN}-service += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk (${PN}) +RDEPENDS_${PN} += "bluetooth-tools" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "syspopup" +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of bluetooth-frwk +DEPENDS += "pkgconfig(libprivilege-control)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(syspopup-caller)" +DEPENDS += "pkgconfig(capi-network-tethering)" +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(notification)" +DEPENDS += "pkgconfig(status)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bluetooth-frwk.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + export CFLAGS+=" -Wall -g -fvisibility=hidden -fPIC" + export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -DMULTI_USER_SUPPORT=Off \ + -DLIBNOTIFY_SUPPORT=Off \ + -DLIBNOTIFICATION_SUPPORT=Off + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/etc/rc.d/rc3.d/ + mkdir -p ${D}/etc/rc.d/rc5.d/ + ln -s /etc/rc.d/init.d/bluetooth-frwk-service ${D}/etc/rc.d/rc3.d/S80bluetooth-frwk-service + ln -s /etc/rc.d/init.d/bluetooth-frwk-service ${D}/etc/rc.d/rc5.d/S80bluetooth-frwk-service + + mkdir -p ${D}/lib/systemd/user + mkdir -p ${D}/lib/systemd/user/tizen-middleware.target.wants + install -m 0644 bt-service/bluetooth-frwk-service.service ${D}/lib/systemd/user + ln -s ../bluetooth-frwk-service.service ${D}/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service + + + +} + +PACKAGES = "" +PACKAGES += "bluetooth-frwk-devel" +PACKAGES += "bluetooth-frwk-core" +PACKAGES += "bluetooth-frwk-service" +PACKAGES += "bluetooth-frwk" + +bluetooth-frwk-devel_files = "" +bluetooth-frwk-devel_files += "bluetooth-frwk.manifest" +bluetooth-frwk-devel_files += "/usr/include/bt-service/bluetooth-api.h" +bluetooth-frwk-devel_files += "/usr/include/bt-service/bluetooth-hid-api.h" +bluetooth-frwk-devel_files += "/usr/include/bt-service/bluetooth-audio-api.h" +bluetooth-frwk-devel_files += "/usr/include/bt-service/bluetooth-telephony-api.h" +bluetooth-frwk-devel_files += "/usr/include/bt-service/bluetooth-media-control.h" +bluetooth-frwk-devel_files += "/usr/lib/pkgconfig/bluetooth-api.pc" +bluetooth-frwk-devel_files += "/usr/lib/libbluetooth-api.so" + +bluetooth-frwk-core_files = "" +bluetooth-frwk-core_files += "bluetooth-frwk.manifest" +bluetooth-frwk-core_files += "/usr/share/dbus-1/system-services/org.projectx.bt_core.service" +bluetooth-frwk-core_files += "/usr/bin/bt-core" +bluetooth-frwk-core_files += "/etc/dbus-1/system.d/bluetooth-frwk-core.conf" + +bluetooth-frwk-service_files = "" +bluetooth-frwk-service_files += "bluetooth-frwk.manifest" +bluetooth-frwk-service_files += "/usr/share/dbus-1/system-services/org.projectx.bt.service" +bluetooth-frwk-service_files += "/etc/rc.d/init.d/bluetooth-frwk-service" +bluetooth-frwk-service_files += "/etc/rc.d/rc3.d/S80bluetooth-frwk-service" +bluetooth-frwk-service_files += "/etc/rc.d/rc5.d/S80bluetooth-frwk-service" +bluetooth-frwk-service_files += "/usr/bin/bt-service" +bluetooth-frwk-service_files += "/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service" +bluetooth-frwk-service_files += "/lib/systemd/user/bluetooth-frwk-service.service" +bluetooth-frwk-service_files += "/etc/dbus-1/system.d/bluetooth-frwk-service.conf" + +bluetooth-frwk_files = "" +bluetooth-frwk_files += "bluetooth-frwk.manifest" +bluetooth-frwk_files += "/usr/lib/libbluetooth-api.so.*" + +FILES_${PN}-devel = "${bluetooth-frwk-devel_files}" +FILES_${PN}-core = "${bluetooth-frwk-core_files}" +FILES_${PN}-service = "${bluetooth-frwk-service_files}" +FILES_${PN} = "${bluetooth-frwk_files}" + +PKG_bluetooth-frwk-devel= "bluetooth-frwk-devel" +PKG_bluetooth-frwk-core= "bluetooth-frwk-core" +PKG_bluetooth-frwk-service= "bluetooth-frwk-service" +PKG_bluetooth-frwk= "bluetooth-frwk" + +require bluetooth-frwk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk_git.bb b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk_git.bb new file mode 100644 index 0000000..a013b85 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk_git.bb @@ -0,0 +1,8 @@ +require bluetooth-frwk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-frwk;protocol=ssh;tag=f239d393cfb97a214d3fb0131ada9f523d12e6b8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-extraconf.inc b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-native_git.bb b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-native_git.bb new file mode 100644 index 0000000..6089148 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share-native_git.bb @@ -0,0 +1,12 @@ +require bluetooth-share.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-share;protocol=ssh;tag=507bbf3c5ee50770b6c4994a20e20e8f34510f7e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share.inc b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share.inc new file mode 100644 index 0000000..b1d047c --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "Bluetooth file share Agent" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libbluetooth-share-devel +PROVIDES += "libbluetooth-share-devel" +RPROVIDES_libbluetooth-share-devel += "libbluetooth-share-devel" +RPROVIDES_libbluetooth-share-devel += "libbluetooth-share-dev" + +#PROVIDES by libbluetooth-share +PROVIDES += "libbluetooth-share" +RPROVIDES_libbluetooth-share += "libbluetooth-share" + +#PROVIDES by bluetooth-share +PROVIDES += "bluetooth-share" +RPROVIDES_bluetooth-share += "bluetooth-share" + +RDEPENDS = "" +#RDEPENDS of libbluetooth-share-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "bluetooth-share" + +#RDEPENDS of libbluetooth-share (lib${PN}) +RDEPENDS_lib${PN} += "bluetooth-share" + +#RDEPENDS of bluetooth-share (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "sqlite" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of bluetooth-share +DEPENDS += "pkgconfig(libprivilege-control)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "app-svc" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(syspopup-caller)" +DEPENDS += "pkgconfig(contacts-service2)" +DEPENDS += "app-core" +DEPENDS += "pkgconfig(pmapi)" +DEPENDS += "pkgconfig(capi-content-media-content)" +DEPENDS += "pkgconfig(calendar-service2)" +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(notification)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "bluetooth-frwk" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bluetooth-share.manifest ${S}/packaging/libbluetooth-share.manifest ${S}/packaging/libbluetooth-share-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -fpie -fvisibility=hidden" + export LDFLAGS+=" -Wl,--rpath=/usr//usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}%{TZ_SYS_SHARE}/bt-ftp + install -D -m 0755 ${S}/packaging/init_db.sh ${D}%{TZ_SYS_SHARE}/bluetooth-share/ressources/init_db.sh + + +} + +PACKAGES = "" +PACKAGES += "libbluetooth-share-devel" +PACKAGES += "libbluetooth-share" +PACKAGES += "bluetooth-share" + +libbluetooth-share-devel_files = "" +libbluetooth-share-devel_files += "libbluetooth-share-devel.manifest" +libbluetooth-share-devel_files += "/usr/include/bluetooth-share-api/bluetooth-share-api.h" +libbluetooth-share-devel_files += "/usr/lib/libbluetooth-share-api.so" +libbluetooth-share-devel_files += "/usr/lib/pkgconfig/bluetooth-share-api.pc" + +libbluetooth-share_files = "" +libbluetooth-share_files += "libbluetooth-share.manifest" +libbluetooth-share_files += "/usr/lib/libbluetooth-share-api.so.0.*" + +bluetooth-share_files = "" +bluetooth-share_files += "bluetooth-share.manifest" +bluetooth-share_files += "/usr/bin/bluetooth-share" +bluetooth-share_files += "/usr/share/dbus-1/system-services/org.bluetooth.share.service" + +FILES_lib${PN}-devel = "${libbluetooth-share-devel_files}" +FILES_lib${PN} = "${libbluetooth-share_files}" +FILES_${PN} = "${bluetooth-share_files}" + +PKG_libbluetooth-share-devel= "libbluetooth-share-devel" +PKG_libbluetooth-share= "libbluetooth-share" +PKG_bluetooth-share= "bluetooth-share" + +require bluetooth-share-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share_git.bb b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share_git.bb new file mode 100644 index 0000000..913559c --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-share/bluetooth-share_git.bb @@ -0,0 +1,8 @@ +require bluetooth-share.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-share;protocol=ssh;tag=507bbf3c5ee50770b6c4994a20e20e8f34510f7e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-extraconf.inc b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-native_git.bb b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-native_git.bb new file mode 100644 index 0000000..0983b9a --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools-native_git.bb @@ -0,0 +1,12 @@ +require bluetooth-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-tools;protocol=ssh;tag=896de069d8c212e32bf966ffb9adaddf8e1dd402;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools.inc b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools.inc new file mode 100644 index 0000000..d4b2f0c --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Bluetooth-tools" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bluetooth-tools-no-firmware +PROVIDES += "bluetooth-tools-no-firmware" +RPROVIDES_bluetooth-tools-no-firmware += "bluetooth-tools-no-firmware" + +#PROVIDES by bluetooth-tools +PROVIDES += "bluetooth-tools" +RPROVIDES_bluetooth-tools += "bluetooth-tools" + +RDEPENDS = "" +#RDEPENDS of bluetooth-tools-no-firmware (${PN}-no-firmware) +RDEPENDS_${PN}-no-firmware += "bluetooth-tools" +RDEPENDS_${PN}-no-firmware += "rfkill" + +#RDEPENDS of bluetooth-tools (${PN}) +RDEPENDS_${PN} += "tizen-platform-config-tools" + + +DEPENDS = "" +#DEPENDS of bluetooth-tools +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -fpie -fvisibility=hidden" + export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DCMAKE_INSTALL_PREFIX=/usr + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/rc.d/rc3.d + mkdir -p ${D}/etc/rc.d/rc5.d + ln -s /etc/rc.d/init.d/bluetooth-address ${D}/etc/rc.d/rc3.d/S60bluetooth-address + ln -s /etc/rc.d/init.d/bluetooth-address ${D}/etc/rc.d/rc5.d/S60bluetooth-address + + mkdir -p ${D}/lib/systemd/system/multi-user.target.wants + install -m 0644 ${S}/packaging/bluetooth-address.service ${D}/lib/systemd/system + ln -s ../bluetooth-address.service ${D}/lib/systemd/system/multi-user.target.wants/bluetooth-address.service + + mkdir -p ${D}/usr/etc/bluetooth/ + install -m 0755 scripts/bt-dev-start.sh ${D}/usr/etc/bluetooth/bt-dev-start.sh + install -m 0755 scripts/bt-dev-end.sh ${D}/usr/etc/bluetooth/bt-dev-end.sh + + +} + +PACKAGES = "" +PACKAGES += "bluetooth-tools-no-firmware" +PACKAGES += "bluetooth-tools" + +bluetooth-tools-no-firmware_files = "" +bluetooth-tools-no-firmware_files += "bluetooth-tools.manifest" + +bluetooth-tools_files = "" +bluetooth-tools_files += "bluetooth-tools.manifest" +bluetooth-tools_files += "/etc/rc.d/init.d/bluetooth-address" +bluetooth-tools_files += "/etc/rc.d/rc3.d/S60bluetooth-address" +bluetooth-tools_files += "/etc/rc.d/rc5.d/S60bluetooth-address" +bluetooth-tools_files += "/lib/systemd/system/multi-user.target.wants/bluetooth-address.service" +bluetooth-tools_files += "/lib/systemd/system/bluetooth-address.service" + +FILES_${PN}-no-firmware = "${bluetooth-tools-no-firmware_files}" +FILES_${PN} = "${bluetooth-tools_files}" + +PKG_bluetooth-tools-no-firmware= "bluetooth-tools-no-firmware" +PKG_bluetooth-tools= "bluetooth-tools" + +require bluetooth-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb new file mode 100644 index 0000000..bdc582a --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb @@ -0,0 +1,8 @@ +require bluetooth-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-tools;protocol=ssh;tag=896de069d8c212e32bf966ffb9adaddf8e1dd402;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth/bluetooth-extraconf.inc b/meta-tizen/recipes-tizen/bluetooth/bluetooth-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluetooth/bluetooth-native_git.bb b/meta-tizen/recipes-tizen/bluetooth/bluetooth-native_git.bb new file mode 100644 index 0000000..8e20fb5 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth/bluetooth-native_git.bb @@ -0,0 +1,12 @@ +require bluetooth.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/bluetooth;protocol=ssh;tag=014a6c5edc61aca99164393dc669c026ee20cb5f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc b/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc new file mode 100644 index 0000000..a08c4fd --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Network Bluetooth Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-bluetooth-devel +PROVIDES += "capi-network-bluetooth-devel" +RPROVIDES_capi-network-bluetooth-devel += "capi-network-bluetooth-devel" +RPROVIDES_capi-network-bluetooth-devel += "capi-network-bluetooth-dev" + +#PROVIDES by capi-network-bluetooth +PROVIDES += "capi-network-bluetooth" +RPROVIDES_capi-network-bluetooth += "capi-network-bluetooth" + +RDEPENDS = "" +#RDEPENDS of capi-network-bluetooth-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-network-bluetooth" + + +DEPENDS = "" +#DEPENDS of capi-network-bluetooth +DEPENDS += "pkgconfig(bluetooth-api)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(capi-base-common)" +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-bluetooth.manifest ${S}/packaging/capi-network-bluetooth-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.39 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.39 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "capi-network-bluetooth-devel" +PACKAGES += "capi-network-bluetooth" + +capi-network-bluetooth-devel_files = "" +capi-network-bluetooth-devel_files += "capi-network-bluetooth-devel.manifest" +capi-network-bluetooth-devel_files += "/usr/include/network/bluetooth.h" +capi-network-bluetooth-devel_files += "/usr/lib/pkgconfig/capi-network-bluetooth.pc" +capi-network-bluetooth-devel_files += "/usr/lib/libcapi-network-bluetooth.so" + +capi-network-bluetooth_files = "" +capi-network-bluetooth_files += "capi-network-bluetooth.manifest" +capi-network-bluetooth_files += "/usr/lib/libcapi-network-bluetooth.so.*" + +FILES_${PN}-devel = "${capi-network-bluetooth-devel_files}" +FILES_${PN} = "${capi-network-bluetooth_files}" + +PKG_capi-network-bluetooth-devel= "capi-network-bluetooth-devel" +PKG_capi-network-bluetooth= "capi-network-bluetooth" + +require bluetooth-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluetooth/bluetooth_git.bb b/meta-tizen/recipes-tizen/bluetooth/bluetooth_git.bb new file mode 100644 index 0000000..d486117 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluetooth/bluetooth_git.bb @@ -0,0 +1,8 @@ +require bluetooth.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/bluetooth;protocol=ssh;tag=014a6c5edc61aca99164393dc669c026ee20cb5f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluez/bluez-extraconf.inc b/meta-tizen/recipes-tizen/bluez/bluez-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bluez/bluez-native_git.bb b/meta-tizen/recipes-tizen/bluez/bluez-native_git.bb new file mode 100644 index 0000000..35f44b1 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluez/bluez-native_git.bb @@ -0,0 +1,12 @@ +require bluez.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bluez;protocol=ssh;tag=4c6a68e2541010817b12e42437f4831bdbf9ae5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bluez/bluez.inc b/meta-tizen/recipes-tizen/bluez/bluez.inc new file mode 100644 index 0000000..397b3b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluez/bluez.inc @@ -0,0 +1,270 @@ +DESCRIPTION = "Bluetooth Stack for Linux" +HOMEPAGE = "http://www.bluez.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bluez-docs +PROVIDES += "bluez-docs " +RPROVIDES_bluez-docs += "bluez-docs " + +#PROVIDES by bluez-devel +PROVIDES += "bluez-devel" +RPROVIDES_bluez-devel += "bluez-devel" +RPROVIDES_bluez-devel += "bluez-dev" + +#PROVIDES by obexd +PROVIDES += "obexd" +RPROVIDES_obexd += "obexd" + +#PROVIDES by bluez +PROVIDES += "bluez" +RPROVIDES_bluez += "bluez" + +#PROVIDES by bluez-test +PROVIDES += "bluez-test" +RPROVIDES_bluez-test += "bluez-test" + +#PROVIDES by libbluetooth +PROVIDES += "libbluetooth" +RPROVIDES_libbluetooth += "libbluetooth" + +#PROVIDES by bluez-cups +PROVIDES += "bluez-cups" +RPROVIDES_bluez-cups += "bluez-cups" + +RDEPENDS = "" +#RDEPENDS of bluez-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libbluetooth" + +#RDEPENDS of obexd (obexd) +RDEPENDS_obexd += "tizen-platform-config-tools" + +#RDEPENDS of bluez (${PN}) +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of bluez-test (${PN}-test) +RDEPENDS_${PN}-test += "libbluetooth" +RDEPENDS_${PN}-test += "dbus-python" +RDEPENDS_${PN}-test += "python-gobject" + +#RDEPENDS of bluez-cups (${PN}-cups) +RDEPENDS_${PN}-cups += "libbluetooth" + + +DEPENDS = "" +#DEPENDS of bluez +DEPENDS += "flex" +DEPENDS += "systemd" +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "pkgconfig-native" +DEPENDS += "check-devel" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(libnl-1)" +DEPENDS += "libsndfile-devel" +DEPENDS += "udev" +DEPENDS += "automake-native" +DEPENDS += "libcap-ng-devel" +DEPENDS += "libtool-cross" +DEPENDS += "libusb-devel" +DEPENDS += "libudev-devel" +DEPENDS += "glib2-devel" +DEPENDS += "libical-devel" +DEPENDS += "readline-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bluez.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic \ + --libexecdir=/lib \ + --disable-usb \ + --enable-test \ + --enable-library \ + --enable-experimental \ + --enable-readline \ + --with-systemdunitdir=/lib/systemd/system \ + --enable-capng + make -j16 all V=1 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rvf $RPM_BUILD_ROOT//usr/lib/gstreamer-* + install --mode=0755 -D ${S}/packaging/bluetooth.sh $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh + install --mode=0644 -D ${S}/packaging/bluetooth.modprobe $RPM_BUILD_ROOT//etc/modprobe.d/50-bluetooth.conf + if ! test -e ${D}/usr/lib/cups/backend/bluetooth + then if test -e ${D}/usr/lib/cups/backend/bluetooth + then mkdir -p ${D}/usr/lib/cups/backend + mv ${D}/usr/lib/cups/backend/bluetooth ${D}/usr/lib/cups/backend/bluetooth + fi + fi + # no idea why this is suddenly necessary... + install --mode 0755 -d $RPM_BUILD_ROOT/var/lib/bluetooth + + install -D -m 0755 ${S}/packaging/obex-root-setup ${D}/usr/bin/obex-root-setup + install -D -m 0755 ${S}/packaging/create-symlinks ${D}/etc/obex/root-setup.d/000_create-symlinks + install -D -m 0755 tools/btiotest $RPM_BUILD_ROOT//usr/bin/ + install -D -m 0755 tools/bluetooth-player $RPM_BUILD_ROOT//usr/bin/ + install -D -m 0755 tools/mpris-player $RPM_BUILD_ROOT//usr/bin/ + install -D -m 0755 tools/btmgmt $RPM_BUILD_ROOT//usr/bin/ + install -D -m 0755 tools/scotest $RPM_BUILD_ROOT//usr/bin/ + + install -D -m 0755 tools/obexctl ${D}/usr/bin/obexctl + + +} + +PACKAGES = "" +PACKAGES += "obexd" +PACKAGES += "bluez-docs" +PACKAGES += "bluez" +PACKAGES += "bluez-test" +PACKAGES += "libbluetooth" +PACKAGES += "bluez-devel" +PACKAGES += "bluez-cups" + +obexd_files = "" +obexd_files += "/lib/bluetooth/obexd" +obexd_files += "/lib/systemd/user/obex.service" +obexd_files += "/usr/share/dbus-1/services/org.bluez.obex.service" +obexd_files += "/etc/obex/root-setup.d/000_create-symlinks" +obexd_files += "/usr/bin/obex-root-setup" + +bluez-docs_files = "" +bluez-docs_files += "/usr/share/info" +bluez-docs_files += "/usr/share/man" + +bluez_files = "" +bluez_files += "bluez.manifest" +bluez_files += "/usr/bin/hcitool" +bluez_files += "/usr/bin/l2ping" +bluez_files += "/usr/bin/obexctl" +bluez_files += "/usr/bin/rfcomm" +bluez_files += "/usr/bin/sdptool" +bluez_files += "/usr/bin/ciptool" +bluez_files += "/usr/bin/hciattach" +bluez_files += "/usr/bin/hciconfig" +bluez_files += "/lib/bluetooth/bluetoothd" +bluez_files += "/usr/bin/bccmd" +bluez_files += "/usr/lib/udev" +bluez_files += "/usr/lib/udev/*" +bluez_files += "/usr/share/dbus-1/system-services/org.bluez.service" +bluez_files += "/etc/dbus-1/system.d/bluetooth.conf" +bluez_files += "/var/lib/bluetooth" +bluez_files += "/etc/modprobe.d" +bluez_files += "/etc/modprobe.d/50-bluetooth.conf" +bluez_files += "/lib/systemd/system/bluetooth.service" + +bluez-test_files = "" +bluez-test_files += "bluez.manifest" +bluez-test_files += "/usr/lib/bluez/test/*" +bluez-test_files += "/usr/bin/l2test" +bluez-test_files += "/usr/bin/rctest" +bluez-test_files += "/usr/bin/bluetoothctl" +bluez-test_files += "/usr/bin/btiotest" +bluez-test_files += "/usr/bin/mpris-player" +bluez-test_files += "/usr/bin/bluetooth-player" +bluez-test_files += "/usr/bin/btmon" +bluez-test_files += "/usr/bin/hcidump" +bluez-test_files += "/usr/bin/btmgmt" +bluez-test_files += "/usr/bin/scotest" + +libbluetooth_files = "" +libbluetooth_files += "bluez.manifest" +libbluetooth_files += "/usr/lib/libbluetooth.so.*" + +bluez-devel_files = "" +bluez-devel_files += "bluez.manifest" +bluez-devel_files += "/usr/include/bluetooth" +bluez-devel_files += "/usr/lib/libbluetooth.so" +bluez-devel_files += "/usr/lib/pkgconfig/bluez.pc" + +bluez-cups_files = "" +bluez-cups_files += "bluez.manifest" +bluez-cups_files += "/usr/lib/cups" +bluez-cups_files += "/usr/lib/cups/backend" +bluez-cups_files += "/usr/lib/cups/backend/bluetooth" + +FILES_obexd = "${obexd_files}" +FILES_${PN}-docs = "${bluez-docs_files}" +FILES_${PN} = "${bluez_files}" +FILES_${PN}-test = "${bluez-test_files}" +FILES_libbluetooth = "${libbluetooth_files}" +FILES_${PN}-devel = "${bluez-devel_files}" +FILES_${PN}-cups = "${bluez-cups_files}" + +PKG_obexd= "obexd" +PKG_bluez-docs= "bluez-docs" +PKG_bluez= "bluez" +PKG_bluez-test= "bluez-test" +PKG_libbluetooth= "libbluetooth" +PKG_bluez-devel= "bluez-devel" +PKG_bluez-cups= "bluez-cups" + +require bluez-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bluez/bluez_git.bb b/meta-tizen/recipes-tizen/bluez/bluez_git.bb new file mode 100644 index 0000000..1302804 --- /dev/null +++ b/meta-tizen/recipes-tizen/bluez/bluez_git.bb @@ -0,0 +1,8 @@ +require bluez.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bluez;protocol=ssh;tag=4c6a68e2541010817b12e42437f4831bdbf9ae5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bmap-tools/bmap-tools-extraconf.inc b/meta-tizen/recipes-tizen/bmap-tools/bmap-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bmap-tools/bmap-tools.inc b/meta-tizen/recipes-tizen/bmap-tools/bmap-tools.inc new file mode 100644 index 0000000..2a1965b --- /dev/null +++ b/meta-tizen/recipes-tizen/bmap-tools/bmap-tools.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "" + +PROVIDES = "" + +PACKAGES = "" + + + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require bmap-tools-rdepends.inc +require bmap-tools-depends.inc +require bmap-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/boost-jam/boost-jam-extraconf.inc b/meta-tizen/recipes-tizen/boost-jam/boost-jam-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/boost-jam/boost-jam-native_git.bb b/meta-tizen/recipes-tizen/boost-jam/boost-jam-native_git.bb new file mode 100644 index 0000000..bf687f3 --- /dev/null +++ b/meta-tizen/recipes-tizen/boost-jam/boost-jam-native_git.bb @@ -0,0 +1,12 @@ +require boost-jam.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/boost-jam;protocol=ssh;tag=2e801cdf3a5993b849d0ab42e96a01040bf0897c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/boost-jam/boost-jam.inc b/meta-tizen/recipes-tizen/boost-jam/boost-jam.inc new file mode 100644 index 0000000..df3f8bd --- /dev/null +++ b/meta-tizen/recipes-tizen/boost-jam/boost-jam.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "An Enhanced Make Replacement" +HOMEPAGE = "http://www.boost.org/" +SECTION = "Development/Tools/Building" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by boost-jam +PROVIDES += "boost-jam" +RPROVIDES_boost-jam += "boost-jam" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of boost-jam +DEPENDS += "xz" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/boost-jam.manifest . + find . -type f|xargs chmod -R u+w + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing" + export CFLAGS="$RPM_OPT_FLAGS" + LOCATE_TARGET=bin ./build.sh gcc --symbols + # Trivial test: -- Documented used of bjam -v: Print the version of jam and exit: + bin/bjam -v + ln -s bin bin.linux + cd .. + tar xvf ${S}/packaging/test.tar.gz + ln -s boost-jam-201104 src + cd test + sh test.sh || if [ $? -gt 5 ]; then sh test.sh;fi + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/boost-jam-201104 + install -m 755 bin/bjam ${D}/usr/bin/bjam-201104 + ln -sf bjam-201104 ${D}/usr/bin/bjam + ln -sf bjam-201104 ${D}/usr/bin/jam + + +} + +PACKAGES = "" +PACKAGES += "boost-jam" + +boost-jam_files = "" +boost-jam_files += "boost-jam.manifest" + +FILES_${PN} = "${boost-jam_files}" + +PKG_boost-jam= "boost-jam" + +require boost-jam-extraconf.inc diff --git a/meta-tizen/recipes-tizen/boost-jam/boost-jam_git.bb b/meta-tizen/recipes-tizen/boost-jam/boost-jam_git.bb new file mode 100644 index 0000000..fe26a4d --- /dev/null +++ b/meta-tizen/recipes-tizen/boost-jam/boost-jam_git.bb @@ -0,0 +1,8 @@ +require boost-jam.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/boost-jam;protocol=ssh;tag=2e801cdf3a5993b849d0ab42e96a01040bf0897c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/boost/boost-extraconf.inc b/meta-tizen/recipes-tizen/boost/boost-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/boost/boost-native_git.bb b/meta-tizen/recipes-tizen/boost/boost-native_git.bb new file mode 100644 index 0000000..5a92b72 --- /dev/null +++ b/meta-tizen/recipes-tizen/boost/boost-native_git.bb @@ -0,0 +1,12 @@ +require boost.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/boost;protocol=ssh;tag=5accfc1b54fe2a159232874180c2bf43ac6779e0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/boost/boost.inc b/meta-tizen/recipes-tizen/boost/boost.inc new file mode 100644 index 0000000..f80319f --- /dev/null +++ b/meta-tizen/recipes-tizen/boost/boost.inc @@ -0,0 +1,589 @@ +DESCRIPTION = "Boost C++ Libraries" +HOMEPAGE = "http://www.boost.org" +SECTION = "Base/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libboost_signals +PROVIDES += "libboost_signals" +RPROVIDES_libboost_signals += "libboost_signals" + +#PROVIDES by boost-license +PROVIDES += "boost-license" +RPROVIDES_boost-license += "boost-license" + +#PROVIDES by libboost_chrono +PROVIDES += "libboost_chrono" +RPROVIDES_libboost_chrono += "libboost_chrono" +# the PROVIDES rules is ignore "boost-chrono " +PROVIDES += "boost-chrono" +RPROVIDES_libboost_chrono += "boost-chrono" + +#PROVIDES by libboost_test +PROVIDES += "libboost_test" +RPROVIDES_libboost_test += "libboost_test" +# the PROVIDES rules is ignore "boost-test " +PROVIDES += "boost-test" +RPROVIDES_libboost_test += "boost-test" + +#PROVIDES by libboost_graph +PROVIDES += "libboost_graph" +RPROVIDES_libboost_graph += "libboost_graph" +# the PROVIDES rules is ignore "boost-graph " +PROVIDES += "boost-graph" +RPROVIDES_libboost_graph += "boost-graph" + +#PROVIDES by libboost_context +PROVIDES += "libboost_context" +RPROVIDES_libboost_context += "libboost_context" + +#PROVIDES by libboost_python +PROVIDES += "libboost_python" +RPROVIDES_libboost_python += "libboost_python" +# the PROVIDES rules is ignore "boost-python " +PROVIDES += "boost-python" +RPROVIDES_libboost_python += "boost-python" + +#PROVIDES by libboost_timer +PROVIDES += "libboost_timer" +RPROVIDES_libboost_timer += "libboost_timer" +# the PROVIDES rules is ignore "boost-timer " +PROVIDES += "boost-timer" +RPROVIDES_libboost_timer += "boost-timer" + +#PROVIDES by boost +PROVIDES += "boost" +RPROVIDES_boost += "boost" + +#PROVIDES by libboost_system +PROVIDES += "libboost_system" +RPROVIDES_libboost_system += "libboost_system" +# the PROVIDES rules is ignore "boost-system " +PROVIDES += "boost-system" +RPROVIDES_libboost_system += "boost-system" + +#PROVIDES by libboost_thread +PROVIDES += "libboost_thread" +RPROVIDES_libboost_thread += "libboost_thread" +# the PROVIDES rules is ignore "boost-thread " +PROVIDES += "boost-thread" +RPROVIDES_libboost_thread += "boost-thread" + +#PROVIDES by boost-devel +PROVIDES += "boost-devel" +RPROVIDES_boost-devel += "boost-devel" +RPROVIDES_boost-devel += "boost-dev" + +#PROVIDES by libboost_random +PROVIDES += "libboost_random" +RPROVIDES_libboost_random += "libboost_random" +# the PROVIDES rules is ignore "boost-random " +PROVIDES += "boost-random" +RPROVIDES_libboost_random += "boost-random" + +#PROVIDES by libboost_filesystem +PROVIDES += "libboost_filesystem" +RPROVIDES_libboost_filesystem += "libboost_filesystem" +# the PROVIDES rules is ignore "boost-filesystem " +PROVIDES += "boost-filesystem" +RPROVIDES_libboost_filesystem += "boost-filesystem" + +#PROVIDES by libboost_program_options +PROVIDES += "libboost_program_options" +RPROVIDES_libboost_program_options += "libboost_program_options" +# the PROVIDES rules is ignore "boost-program-options " +PROVIDES += "boost-program-options" +RPROVIDES_libboost_program_options += "boost-program-options" + +#PROVIDES by libboost_math +PROVIDES += "libboost_math" +RPROVIDES_libboost_math += "libboost_math" +# the PROVIDES rules is ignore "boost-math " +PROVIDES += "boost-math" +RPROVIDES_libboost_math += "boost-math" + +#PROVIDES by libboost_wave +PROVIDES += "libboost_wave" +RPROVIDES_libboost_wave += "libboost_wave" +# the PROVIDES rules is ignore "boost-wave " +PROVIDES += "boost-wave" +RPROVIDES_libboost_wave += "boost-wave" + +#PROVIDES by libboost_locale +PROVIDES += "libboost_locale" +RPROVIDES_libboost_locale += "libboost_locale" +# the PROVIDES rules is ignore "boost-locale " +PROVIDES += "boost-locale" +RPROVIDES_libboost_locale += "boost-locale" + +#PROVIDES by libboost_iostreams +PROVIDES += "libboost_iostreams" +RPROVIDES_libboost_iostreams += "libboost_iostreams" +# the PROVIDES rules is ignore "boost-iostreams " +PROVIDES += "boost-iostreams" +RPROVIDES_libboost_iostreams += "boost-iostreams" + +#PROVIDES by libboost_date_time +PROVIDES += "libboost_date_time" +RPROVIDES_libboost_date_time += "libboost_date_time" +# the PROVIDES rules is ignore "boost-datetime " +PROVIDES += "boost-datetime" +RPROVIDES_libboost_date_time += "boost-datetime" + +#PROVIDES by libboost_serialization +PROVIDES += "libboost_serialization" +RPROVIDES_libboost_serialization += "libboost_serialization" +# the PROVIDES rules is ignore "boost-serialization " +PROVIDES += "boost-serialization" +RPROVIDES_libboost_serialization += "boost-serialization" + +#PROVIDES by libboost_regex +PROVIDES += "libboost_regex" +RPROVIDES_libboost_regex += "libboost_regex" +# the PROVIDES rules is ignore "boost-regex " +PROVIDES += "boost-regex" +RPROVIDES_libboost_regex += "boost-regex" + +RDEPENDS = "" +#RDEPENDS of libboost_signals (lib${PN}_signals) +RDEPENDS_lib${PN}_signals += "boost-license" + +#RDEPENDS of boost-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libstdc++-dev" +RDEPENDS_${PN}-devel += "libboost_thread" +RDEPENDS_${PN}-devel += "libboost_regex" +RDEPENDS_${PN}-devel += "libboost_date_time" +RDEPENDS_${PN}-devel += "libboost_random" +RDEPENDS_${PN}-devel += "libboost_graph" +RDEPENDS_${PN}-devel += "libboost_filesystem" +RDEPENDS_${PN}-devel += "libboost_program_options" +RDEPENDS_${PN}-devel += "libboost_serialization" +RDEPENDS_${PN}-devel += "libboost_math" +RDEPENDS_${PN}-devel += "libboost_locale" +RDEPENDS_${PN}-devel += "libboost_signals" +RDEPENDS_${PN}-devel += "libboost_chrono" +RDEPENDS_${PN}-devel += "libboost_python" +RDEPENDS_${PN}-devel += "libboost_wave" +RDEPENDS_${PN}-devel += "libboost_timer" +RDEPENDS_${PN}-devel += "libboost_test" +RDEPENDS_${PN}-devel += "libboost_system" +RDEPENDS_${PN}-devel += "libboost_iostreams" + +#RDEPENDS of libboost_test (lib${PN}_test) +RDEPENDS_lib${PN}_test += "boost-license" + +#RDEPENDS of libboost_graph (lib${PN}_graph) +RDEPENDS_lib${PN}_graph += "boost-license" + +#RDEPENDS of libboost_context (lib${PN}_context) +RDEPENDS_lib${PN}_context += "boost-license" + +#RDEPENDS of libboost_python (lib${PN}_python) +RDEPENDS_lib${PN}_python += "boost-license" + +#RDEPENDS of libboost_timer (lib${PN}_timer) +RDEPENDS_lib${PN}_timer += "boost-license" + +#RDEPENDS of libboost_system (lib${PN}_system) +RDEPENDS_lib${PN}_system += "boost-license" + +#RDEPENDS of libboost_thread (lib${PN}_thread) +RDEPENDS_lib${PN}_thread += "boost-license" + +#RDEPENDS of libboost_chrono (lib${PN}_chrono) +RDEPENDS_lib${PN}_chrono += "boost-license" + +#RDEPENDS of libboost_random (lib${PN}_random) +RDEPENDS_lib${PN}_random += "boost-license" + +#RDEPENDS of libboost_filesystem (lib${PN}_filesystem) +RDEPENDS_lib${PN}_filesystem += "boost-license" + +#RDEPENDS of libboost_program_options (lib${PN}_program_options) +RDEPENDS_lib${PN}_program_options += "boost-license" + +#RDEPENDS of libboost_math (lib${PN}_math) +RDEPENDS_lib${PN}_math += "boost-license" + +#RDEPENDS of libboost_wave (lib${PN}_wave) +RDEPENDS_lib${PN}_wave += "boost-license" + +#RDEPENDS of libboost_locale (lib${PN}_locale) +RDEPENDS_lib${PN}_locale += "boost-license" + +#RDEPENDS of libboost_iostreams (lib${PN}_iostreams) +RDEPENDS_lib${PN}_iostreams += "boost-license" + +#RDEPENDS of libboost_date_time (lib${PN}_date_time) +RDEPENDS_lib${PN}_date_time += "boost-license" + +#RDEPENDS of libboost_serialization (lib${PN}_serialization) +RDEPENDS_lib${PN}_serialization += "boost-license" + +#RDEPENDS of libboost_regex (lib${PN}_regex) +RDEPENDS_lib${PN}_regex += "boost-license" + + +DEPENDS = "" +#DEPENDS of boost +DEPENDS += "zlib-devel" +DEPENDS += "python-devel" +DEPENDS += "bzip2-devel" +DEPENDS += "chrpath" +DEPENDS += "expat-devel" +DEPENDS += "xz" +DEPENDS += "libicu-devel" +DEPENDS += "dos2unix" +DEPENDS += "fdupes-native" +DEPENDS += "gcc-c++" +DEPENDS += "boost-jam" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n boost_1_51_0 + cp ${S}/packaging/boost.manifest . + #everything in the tarball has the executable flag set ... + find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + + + #stupid build machinery copies .orig files + find . -name \*.orig -exec rm {} + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + find . -type f -exec chmod u+w {} + + + # Now build it + J_P=16 + J_G=$(getconf _NPROCESSORS_ONLN) + [ $J_G -gt 64 ] && J_G=64 + + if test -z "$JOBS"; then + JOBS=$J_G + else + test 1 -gt "$JOBS" && JOBS=1 + fi + if test "$JOBS" == "0"; then + JOBS=1 + fi + + # In case you want more parallel jobs then autobuild grants you + #if [ $J_P -gt $J_I ]; then + # JOBS=$J_G + #fi + BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=/usr" + PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') + PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION" + REGEX_FLAGS="--with-icu" + export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=/usr/lib REGEX_FLAGS="--with-icu" + export PYTHON_FLAGS + + cat << EOF >user-config.jam + # Boost.Build Configuration + + # Compiler configuration + using gcc ; + + # Python configuration + using python : ${PYTHON_VERSION} : /usr ; + EOF + + + + sh ./bootstrap.sh + ./b2 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # Now build it + J_P=16 + J_G=$(getconf _NPROCESSORS_ONLN) + [ $J_G -gt 64 ] && J_G=64 + + if test -z "$JOBS"; then + JOBS=$J_G + else + test 1 -gt "$JOBS" && JOBS=1 + fi + if test "$JOBS" == "0"; then + JOBS=1 + fi + + # In case you want more parallel jobs then autobuild grants you + if [ $J_P -gt $J_G ]; then + JOBS=$J_G + fi + + BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=/usr" + PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') + PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION" + REGEX_FLAGS="--with-icu" + export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=/usr/lib REGEX_FLAGS="--with-icu" + export PYTHON_FLAGS + + # Set PATH, MANPATH and LD_LIBRARY_PATH + + /usr/bin/bjam ${BJAM_CONFIG} ${LONG_DOUBLE_FLAGS} --user-config=user-config.jam \ + --prefix=${D}/usr \ + --exec-prefix=$${D}/usr \ + --libdir=${D}/usr/lib \ + --includedir=${D}/usr/include \ + install || echo "Not all Boost libraries built properly." + + mkdir -p ${D}/usr/share/doc/packages/boost + + pushd ${D}/usr/lib + blibs=$(find . -name \*.so.1.51.0) + echo $blibs | xargs chrpath -d + + for lib in ${blibs}; do + BASE=$(basename ${lib} .so.1.51.0) + SONAME_MT="$BASE-mt.so" + ln -sf ${lib} $SONAME_MT + done + popd + + #install the man pages + rm -rf doc/man/man3/boost::units::operator + + for sec in 3 7 9; do + install -d ${D}//usr/share/man/man${sec} + done + + #install doc files + dos2unix libs/ptr_container/doc/tutorial_example.html \ + libs/parameter/doc/html/reference.html \ + libs/parameter/doc/html/index.html \ + libs/iostreams/doc/tree/tree.js \ + libs/graph/doc/lengauer_tarjan_dominator.htm \ + libs/test/test/test_files/errors_handling_test.pattern \ + libs/test/test/test_files/result_report_test.pattern + find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg -o -name \*.png -o -name \*.ico | \ + tar --files-from=${S}/packaging/existing_extra_docs -cf - --files-from=- | tar -C ${D}/usr/share/doc/packages/boost -xf - + rm -rf ${D}/usr/share/doc/packages/boost/boost + ln -s /usr/include/boost ${D}/usr/share/doc/packages/boost + ln -s ../LICENSE_1_0.txt ${D}/usr/share/doc/packages/boost/libs + #Copy the news file. + #cp %{S:5} %{buildroot}%{_docdir} + #only for documentation, doesn't need to be executable + find ${D}/usr/share/doc/packages/boost -name \*.py -exec chmod -x {} + + rm -f ${D}/usr/lib/*.a + #symlink dupes + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/boost + rm -rf ${D}/usr/share/doc/boost-1.51.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libboost_thread" +PACKAGES += "libboost_chrono" +PACKAGES += "libboost_date_time" +PACKAGES += "libboost_random" +PACKAGES += "libboost_graph" +PACKAGES += "libboost_context" +PACKAGES += "libboost_filesystem" +PACKAGES += "libboost_program_options" +PACKAGES += "libboost_serialization" +PACKAGES += "libboost_math" +PACKAGES += "libboost_locale" +PACKAGES += "boost-license" +PACKAGES += "boost-devel" +PACKAGES += "libboost_python" +PACKAGES += "libboost_wave" +PACKAGES += "libboost_regex" +PACKAGES += "libboost_timer" +PACKAGES += "libboost_signals" +PACKAGES += "libboost_test" +PACKAGES += "libboost_system" +PACKAGES += "libboost_iostreams" + +libboost_thread_files = "" +libboost_thread_files += "boost.manifest" +libboost_thread_files += "/usr/lib/libboost_thread*.so.*" + +libboost_chrono_files = "" +libboost_chrono_files += "boost.manifest" +libboost_chrono_files += "/usr/lib/libboost_chrono*.so.*" + +libboost_date_time_files = "" +libboost_date_time_files += "boost.manifest" +libboost_date_time_files += "/usr/lib/libboost_date_time*.so.*" + +libboost_random_files = "" +libboost_random_files += "boost.manifest" +libboost_random_files += "/usr/lib/libboost_random*.so.*" + +libboost_graph_files = "" +libboost_graph_files += "boost.manifest" +libboost_graph_files += "/usr/lib/libboost_graph*.so.*" + +libboost_context_files = "" +libboost_context_files += "boost.manifest" +libboost_context_files += "/usr/lib/libboost_context*.so.*" + +libboost_filesystem_files = "" +libboost_filesystem_files += "boost.manifest" +libboost_filesystem_files += "/usr/lib/libboost_filesystem*.so.*" + +libboost_program_options_files = "" +libboost_program_options_files += "boost.manifest" +libboost_program_options_files += "/usr/lib/libboost_program_options*.so.*" + +libboost_serialization_files = "" +libboost_serialization_files += "boost.manifest" +libboost_serialization_files += "/usr/lib/libboost_*serialization*.so.*" + +libboost_math_files = "" +libboost_math_files += "boost.manifest" +libboost_math_files += "/usr/lib/libboost_math_*.so.*" + +libboost_locale_files = "" +libboost_locale_files += "boost.manifest" +libboost_locale_files += "/usr/lib/libboost_locale*.so.*" + +boost-license_files = "" +boost-license_files += "boost.manifest" + +boost-devel_files = "" +boost-devel_files += "boost.manifest" +boost-devel_files += "/usr/include/boost" +boost-devel_files += "/usr/lib/*.so" + +libboost_python_files = "" +libboost_python_files += "boost.manifest" +libboost_python_files += "/usr/lib/libboost_python*.so.*" + +libboost_wave_files = "" +libboost_wave_files += "boost.manifest" +libboost_wave_files += "/usr/lib/libboost_wave*.so.*" + +libboost_regex_files = "" +libboost_regex_files += "boost.manifest" +libboost_regex_files += "/usr/lib/libboost_regex*.so.*" + +libboost_timer_files = "" +libboost_timer_files += "boost.manifest" +libboost_timer_files += "/usr/lib/libboost_timer*.so.*" + +libboost_signals_files = "" +libboost_signals_files += "boost.manifest" +libboost_signals_files += "/usr/lib/libboost_signals*.so.*" + +libboost_test_files = "" +libboost_test_files += "boost.manifest" +libboost_test_files += "/usr/lib/libboost_prg_exec_monitor*.so.*" +libboost_test_files += "/usr/lib/libboost_unit_test_framework*.so.*" + +libboost_system_files = "" +libboost_system_files += "boost.manifest" +libboost_system_files += "/usr/lib/libboost_system*.so.*" + +libboost_iostreams_files = "" +libboost_iostreams_files += "boost.manifest" +libboost_iostreams_files += "/usr/lib/libboost_iostreams*.so.*" + +FILES_lib${PN}_thread = "${libboost_thread_files}" +FILES_lib${PN}_chrono = "${libboost_chrono_files}" +FILES_lib${PN}_date_time = "${libboost_date_time_files}" +FILES_lib${PN}_random = "${libboost_random_files}" +FILES_lib${PN}_graph = "${libboost_graph_files}" +FILES_lib${PN}_context = "${libboost_context_files}" +FILES_lib${PN}_filesystem = "${libboost_filesystem_files}" +FILES_lib${PN}_program_options = "${libboost_program_options_files}" +FILES_lib${PN}_serialization = "${libboost_serialization_files}" +FILES_lib${PN}_math = "${libboost_math_files}" +FILES_lib${PN}_locale = "${libboost_locale_files}" +FILES_${PN}-license = "${boost-license_files}" +FILES_${PN}-devel = "${boost-devel_files}" +FILES_lib${PN}_python = "${libboost_python_files}" +FILES_lib${PN}_wave = "${libboost_wave_files}" +FILES_lib${PN}_regex = "${libboost_regex_files}" +FILES_lib${PN}_timer = "${libboost_timer_files}" +FILES_lib${PN}_signals = "${libboost_signals_files}" +FILES_lib${PN}_test = "${libboost_test_files}" +FILES_lib${PN}_system = "${libboost_system_files}" +FILES_lib${PN}_iostreams = "${libboost_iostreams_files}" + +PKG_libboost_thread= "libboost_thread" +PKG_libboost_chrono= "libboost_chrono" +PKG_libboost_date_time= "libboost_date_time" +PKG_libboost_random= "libboost_random" +PKG_libboost_graph= "libboost_graph" +PKG_libboost_context= "libboost_context" +PKG_libboost_filesystem= "libboost_filesystem" +PKG_libboost_program_options= "libboost_program_options" +PKG_libboost_serialization= "libboost_serialization" +PKG_libboost_math= "libboost_math" +PKG_libboost_locale= "libboost_locale" +PKG_boost-license= "boost-license" +PKG_boost-devel= "boost-devel" +PKG_libboost_python= "libboost_python" +PKG_libboost_wave= "libboost_wave" +PKG_libboost_regex= "libboost_regex" +PKG_libboost_timer= "libboost_timer" +PKG_libboost_signals= "libboost_signals" +PKG_libboost_test= "libboost_test" +PKG_libboost_system= "libboost_system" +PKG_libboost_iostreams= "libboost_iostreams" + +require boost-extraconf.inc diff --git a/meta-tizen/recipes-tizen/boost/boost_git.bb b/meta-tizen/recipes-tizen/boost/boost_git.bb new file mode 100644 index 0000000..3ac5bee --- /dev/null +++ b/meta-tizen/recipes-tizen/boost/boost_git.bb @@ -0,0 +1,8 @@ +require boost.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/boost;protocol=ssh;tag=5accfc1b54fe2a159232874180c2bf43ac6779e0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/boot-animation/boot-animation-extraconf.inc b/meta-tizen/recipes-tizen/boot-animation/boot-animation-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/boot-animation/boot-animation.inc b/meta-tizen/recipes-tizen/boot-animation/boot-animation.inc new file mode 100644 index 0000000..d8fbab9 --- /dev/null +++ b/meta-tizen/recipes-tizen/boot-animation/boot-animation.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "Boot animation" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Samsung/Application" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "boot-animation-docs" +PACKAGES += "boot-animation" + +boot-animation-docs_files = "" +boot-animation-docs_files += "/usr/share/info" +boot-animation-docs_files += "/usr/share/man" + +boot-animation_files = "" +boot-animation_files += "boot-animation.manifest" +boot-animation_files += "/etc/init.d/boot-ani" +boot-animation_files += "/usr/share/edje/poweroff.edj" +boot-animation_files += "/usr/share/edje/poweron.edj" +boot-animation_files += "/usr/bin/boot-animation" +boot-animation_files += "/usr/lib/systemd/user/boot-animation.service" +boot-animation_files += "/usr/lib/systemd/user/core-efl.target.wants/boot-animation.service" +boot-animation_files += "/usr/share/license/boot-animation" + +FILES_${PN}-docs = "${boot-animation-docs_files}" +FILES_${PN} = "${boot-animation_files}" + +PKG_boot-animation-docs= "boot-animation-docs" +PKG_boot-animation= "boot-animation" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require boot-animation-rdepends.inc +require boot-animation-depends.inc +require boot-animation-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bootchart/bootchart-extraconf.inc b/meta-tizen/recipes-tizen/bootchart/bootchart-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bootchart/bootchart-native_git.bb b/meta-tizen/recipes-tizen/bootchart/bootchart-native_git.bb new file mode 100644 index 0000000..2ce033c --- /dev/null +++ b/meta-tizen/recipes-tizen/bootchart/bootchart-native_git.bb @@ -0,0 +1,12 @@ +require bootchart.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bootchart;protocol=ssh;tag=e8d33ffb9edcb2081ef318c7695e9c752c782f95;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bootchart/bootchart.inc b/meta-tizen/recipes-tizen/bootchart/bootchart.inc new file mode 100644 index 0000000..34d81e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/bootchart/bootchart.inc @@ -0,0 +1,99 @@ +DESCRIPTION = "Boot time graph generator" +HOMEPAGE = "http://meego.gitorious.org/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bootchart +PROVIDES += "bootchart" +RPROVIDES_bootchart += "bootchart" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bootchart.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "bootchart" + +bootchart_files = "" +bootchart_files += "bootchart.manifest" +bootchart_files += "/usr/sbin/bootchartd" +bootchart_files += "/usr/share/doc/bootchart/bootchartd.conf.example" + +FILES_${PN} = "${bootchart_files}" + +PKG_bootchart= "bootchart" + +require bootchart-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bootchart/bootchart_git.bb b/meta-tizen/recipes-tizen/bootchart/bootchart_git.bb new file mode 100644 index 0000000..1e22a44 --- /dev/null +++ b/meta-tizen/recipes-tizen/bootchart/bootchart_git.bb @@ -0,0 +1,8 @@ +require bootchart.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bootchart;protocol=ssh;tag=e8d33ffb9edcb2081ef318c7695e9c752c782f95;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup-extraconf.inc b/meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup.inc b/meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup.inc new file mode 100644 index 0000000..699f273 --- /dev/null +++ b/meta-tizen/recipes-tizen/bt-syspopup/bt-syspopup.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "bluetooth system-popup application (bluetooth system popup)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "main" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.bt-syspopup" + +org.tizen.bt-syspopup_files = "" +org.tizen.bt-syspopup_files += "org.tizen.bt-syspopup.manifest" +org.tizen.bt-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.bt-syspopup.rule" +org.tizen.bt-syspopup_files += "/usr/share/packages/org.tizen.bt-syspopup.xml" +org.tizen.bt-syspopup_files += "/opt/apps/org.tizen.bt-syspopup/bin/bt-syspopup" +org.tizen.bt-syspopup_files += "/opt/apps/org.tizen.bt-syspopup/res/edje/*.edj" +org.tizen.bt-syspopup_files += "/opt/share/icons/default/small/org.tizen.bt-syspopup.png" + +FILES_${PN} = "${org.tizen.bt-syspopup_files}" + +PKG_org.tizen.bt-syspopup= "org.tizen.bt-syspopup" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require bt-syspopup-rdepends.inc +require bt-syspopup-depends.inc +require bt-syspopup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-extraconf.inc b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-native_git.bb b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-native_git.bb new file mode 100644 index 0000000..ff3c9b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs-native_git.bb @@ -0,0 +1,12 @@ +require btrfs-progs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/btrfs-progs;protocol=ssh;tag=40fe08677f183fcb6808377950d87a65115b0274;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs.inc b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs.inc new file mode 100644 index 0000000..6a25404 --- /dev/null +++ b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Utilities for the Btrfs filesystem" +HOMEPAGE = "http://btrfs.wiki.kernel.org/index.php/Main_Page" +SECTION = "Base/File Systems" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by btrfs-progs-docs +PROVIDES += "btrfs-progs-docs " +RPROVIDES_btrfs-progs-docs += "btrfs-progs-docs " + +#PROVIDES by btrfs-progs +PROVIDES += "btrfs-progs" +RPROVIDES_btrfs-progs += "btrfs-progs" + +RDEPENDS = "" +#RDEPENDS of btrfs-progs (${PN}) +RDEPENDS_${PN} += "coreutils" + + +DEPENDS = "" +#DEPENDS of btrfs-progs +DEPENDS += "pkgconfig(ext2fs)" +DEPENDS += "pkgconfig(uuid)" +DEPENDS += "zlib-devel" +DEPENDS += "lzo-devel" +DEPENDS += "acl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/btrfs-progs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} prefix=/usr bindir=/usr/sbin mandir=/usr/share/man + ln -s /usr/sbin/btrfsck ${D}/usr/sbin/fsck.btrfs + + + + +} + +PACKAGES = "" +PACKAGES += "btrfs-progs-docs" +PACKAGES += "btrfs-progs" + +btrfs-progs-docs_files = "" +btrfs-progs-docs_files += "/usr/share/info" +btrfs-progs-docs_files += "/usr/share/man" + +btrfs-progs_files = "" +btrfs-progs_files += "btrfs-progs.manifest" +btrfs-progs_files += "/usr/sbin/btrfs" +btrfs-progs_files += "/usr/sbin/btrfs-convert" +btrfs-progs_files += "/usr/sbin/btrfs-debug-tree" +btrfs-progs_files += "/usr/sbin/btrfs-find-root" +btrfs-progs_files += "/usr/sbin/btrfs-image" +btrfs-progs_files += "/usr/sbin/btrfs-map-logical" +btrfs-progs_files += "/usr/sbin/btrfs-restore" +btrfs-progs_files += "/usr/sbin/btrfs-show" +btrfs-progs_files += "/usr/sbin/btrfs-vol" +btrfs-progs_files += "/usr/sbin/btrfs-zero-log" +btrfs-progs_files += "/usr/sbin/btrfsck" +btrfs-progs_files += "/usr/sbin/btrfsctl" +btrfs-progs_files += "/usr/sbin/btrfstune" +btrfs-progs_files += "/usr/sbin/fsck.btrfs" +btrfs-progs_files += "/usr/sbin/mkfs.btrfs" + +FILES_${PN}-docs = "${btrfs-progs-docs_files}" +FILES_${PN} = "${btrfs-progs_files}" + +PKG_btrfs-progs-docs= "btrfs-progs-docs" +PKG_btrfs-progs= "btrfs-progs" + +require btrfs-progs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs_git.bb b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs_git.bb new file mode 100644 index 0000000..5c330a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/btrfs-progs/btrfs-progs_git.bb @@ -0,0 +1,8 @@ +require btrfs-progs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/btrfs-progs;protocol=ssh;tag=40fe08677f183fcb6808377950d87a65115b0274;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/build-compare/build-compare-extraconf.inc b/meta-tizen/recipes-tizen/build-compare/build-compare-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/build-compare/build-compare-native_git.bb b/meta-tizen/recipes-tizen/build-compare/build-compare-native_git.bb new file mode 100644 index 0000000..0c3c482 --- /dev/null +++ b/meta-tizen/recipes-tizen/build-compare/build-compare-native_git.bb @@ -0,0 +1,12 @@ +require build-compare.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/build-compare;protocol=ssh;tag=b9f09e982b7730b0ecdfc7f3fdac477175eee5bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/build-compare/build-compare.inc b/meta-tizen/recipes-tizen/build-compare/build-compare.inc new file mode 100644 index 0000000..8f68b67 --- /dev/null +++ b/meta-tizen/recipes-tizen/build-compare/build-compare.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Build Result Compare Script" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by build-compare +PROVIDES += "build-compare" +RPROVIDES_build-compare += "build-compare" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + mkdir $RPM_BUILD_DIR/build-compare-2012.01.26 + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -T 0 -D + cp ${S}/packaging/build-compare.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/usr/lib/build/ $RPM_BUILD_ROOT//usr/share/doc/packages/build-compare + install -m 0755 ${S}/packaging/same-build-result.sh ${S}/packaging/rpm-check.sh ${S}/packaging/functions.sh ${S}/packaging/srpm-check.sh $RPM_BUILD_ROOT/usr/lib/build/ + install -m 0644 ${S}/packaging/COPYING $RPM_BUILD_ROOT//usr/share/doc/packages/build-compare/ + + +} + +PACKAGES = "" +PACKAGES += "build-compare" + +build-compare_files = "" +build-compare_files += "build-compare.manifest" +build-compare_files += "/usr/share/doc/packages/build-compare" +build-compare_files += "/usr/lib/build" + +FILES_${PN} = "${build-compare_files}" + +PKG_build-compare= "build-compare" + +require build-compare-extraconf.inc diff --git a/meta-tizen/recipes-tizen/build-compare/build-compare_git.bb b/meta-tizen/recipes-tizen/build-compare/build-compare_git.bb new file mode 100644 index 0000000..4222071 --- /dev/null +++ b/meta-tizen/recipes-tizen/build-compare/build-compare_git.bb @@ -0,0 +1,8 @@ +require build-compare.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/build-compare;protocol=ssh;tag=b9f09e982b7730b0ecdfc7f3fdac477175eee5bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/build/build-extraconf.inc b/meta-tizen/recipes-tizen/build/build-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/build/build-native_git.bb b/meta-tizen/recipes-tizen/build/build-native_git.bb new file mode 100644 index 0000000..bb22757 --- /dev/null +++ b/meta-tizen/recipes-tizen/build/build-native_git.bb @@ -0,0 +1,12 @@ +require build.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/build;protocol=ssh;tag=a158adee9d5edee09efd8eeb2db92b50a10c2ddb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/build/build.inc b/meta-tizen/recipes-tizen/build/build.inc new file mode 100644 index 0000000..c72c851 --- /dev/null +++ b/meta-tizen/recipes-tizen/build/build.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "A Script to Build SUSE Linux RPMs" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+ and GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by build-mkbaselibs +PROVIDES += "build-mkbaselibs" +RPROVIDES_build-mkbaselibs += "build-mkbaselibs" + +#PROVIDES by build-mkdrpms +PROVIDES += "build-mkdrpms" +RPROVIDES_build-mkdrpms += "build-mkdrpms" + +#PROVIDES by build +PROVIDES += "build" +RPROVIDES_build += "build" + +RDEPENDS = "" +#RDEPENDS of build-mkdrpms (${PN}-mkdrpms) +RDEPENDS_${PN}-mkdrpms += "deltarpm" +RDEPENDS_${PN}-mkdrpms += "build" + +#RDEPENDS of build (${PN}) +RDEPENDS_${PN} += "tar" +RDEPENDS_${PN} += "build-mkbaselibs" +RDEPENDS_${PN} += "binutils" +RDEPENDS_${PN} += "bash" +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n obs-build-20120927 + cp ${S}/packaging/build.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install + + +} + +PACKAGES = "" +PACKAGES += "build-mkbaselibs" +PACKAGES += "build-mkdrpms" +PACKAGES += "build" + +build-mkbaselibs_files = "" +build-mkbaselibs_files += "build.manifest" +build-mkbaselibs_files += "/usr/lib/build" +build-mkbaselibs_files += "/usr/lib/build/mkbaselibs" +build-mkbaselibs_files += "/usr/lib/build/baselibs*" + +build-mkdrpms_files = "" +build-mkdrpms_files += "build.manifest" +build-mkdrpms_files += "/usr/lib/build" +build-mkdrpms_files += "/usr/lib/build/mkdrpms" + +build_files = "" +build_files += "build.manifest" +build_files += "README" +build_files += "/usr/bin/build" +build_files += "/usr/bin/buildvc" +build_files += "/usr/bin/unrpm" +build_files += "/usr/lib/build" +build_files += "/usr/share/man/man1/build.1*" + +FILES_${PN}-mkbaselibs = "${build-mkbaselibs_files}" +FILES_${PN}-mkdrpms = "${build-mkdrpms_files}" +FILES_${PN} = "${build_files}" + +PKG_build-mkbaselibs= "build-mkbaselibs" +PKG_build-mkdrpms= "build-mkdrpms" +PKG_build= "build" + +require build-extraconf.inc diff --git a/meta-tizen/recipes-tizen/build/build_git.bb b/meta-tizen/recipes-tizen/build/build_git.bb new file mode 100644 index 0000000..9fdb516 --- /dev/null +++ b/meta-tizen/recipes-tizen/build/build_git.bb @@ -0,0 +1,8 @@ +require build.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/build;protocol=ssh;tag=a158adee9d5edee09efd8eeb2db92b50a10c2ddb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bundle/bundle-extraconf.inc b/meta-tizen/recipes-tizen/bundle/bundle-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bundle/bundle-native_git.bb b/meta-tizen/recipes-tizen/bundle/bundle-native_git.bb new file mode 100644 index 0000000..24ee679 --- /dev/null +++ b/meta-tizen/recipes-tizen/bundle/bundle-native_git.bb @@ -0,0 +1,12 @@ +require bundle.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/bundle;protocol=ssh;tag=85226992adddbf01d081ffc70639cb7238b5454f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bundle/bundle.inc b/meta-tizen/recipes-tizen/bundle/bundle.inc new file mode 100644 index 0000000..c53f9a8 --- /dev/null +++ b/meta-tizen/recipes-tizen/bundle/bundle.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "String key-val dictionary ADT" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bundle-devel +PROVIDES += "bundle-devel" +RPROVIDES_bundle-devel += "bundle-devel" +RPROVIDES_bundle-devel += "bundle-dev" + +#PROVIDES by bundle +PROVIDES += "bundle" +RPROVIDES_bundle += "bundle" + +RDEPENDS = "" +#RDEPENDS of bundle-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "bundle" + + +DEPENDS = "" +#DEPENDS of bundle +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n bundle-0.1.31 + cp ${S}/packaging/bundle.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "bundle-devel" +PACKAGES += "bundle" + +bundle-devel_files = "" +bundle-devel_files += "bundle.manifest" +bundle-devel_files += "/usr/include/bundle.h" +bundle-devel_files += "/usr/include/SLP_bundle_PG.h" +bundle-devel_files += "/usr/lib/pkgconfig/bundle.pc" +bundle-devel_files += "/usr/lib/libbundle.so" + +bundle_files = "" +bundle_files += "bundle.manifest" +bundle_files += "/usr/lib/libbundle.so.*" + +FILES_${PN}-devel = "${bundle-devel_files}" +FILES_${PN} = "${bundle_files}" + +PKG_bundle-devel= "bundle-devel" +PKG_bundle= "bundle" + +require bundle-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bundle/bundle_git.bb b/meta-tizen/recipes-tizen/bundle/bundle_git.bb new file mode 100644 index 0000000..533da19 --- /dev/null +++ b/meta-tizen/recipes-tizen/bundle/bundle_git.bb @@ -0,0 +1,8 @@ +require bundle.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/bundle;protocol=ssh;tag=85226992adddbf01d081ffc70639cb7238b5454f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/busybox/busybox-extraconf.inc b/meta-tizen/recipes-tizen/busybox/busybox-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/busybox/busybox-native_git.bb b/meta-tizen/recipes-tizen/busybox/busybox-native_git.bb new file mode 100644 index 0000000..a59dc1a --- /dev/null +++ b/meta-tizen/recipes-tizen/busybox/busybox-native_git.bb @@ -0,0 +1,12 @@ +require busybox.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/busybox;protocol=ssh;tag=571c63fc8ee16cf8cfde11e78ac6f8ec961c9dba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/busybox/busybox.inc b/meta-tizen/recipes-tizen/busybox/busybox.inc new file mode 100644 index 0000000..06b3169 --- /dev/null +++ b/meta-tizen/recipes-tizen/busybox/busybox.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "The Swiss Army Knife of Embedded Linux" +HOMEPAGE = "http://www.busybox.net/" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by busybox +PROVIDES += "busybox" +RPROVIDES_busybox += "busybox" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/busybox.manifest . + cp -a ${S}/packaging/busybox.tizen.config .config + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export VERBOSE=-v + export BUILD_VERBOSE=2 + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" + export CC="gcc" + export HOSTCC=gcc + make -e oldconfig + make -e -j16 + make -e doc busybox.links -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}/usr/bin + install -d ${D}/usr/share/busybox + install busybox.links ${D}/usr/share/busybox + install applets/install.sh ${D}/usr/bin/busybox.install + install busybox ${D}/usr/bin + + +} + +PACKAGES = "" +PACKAGES += "busybox" + +busybox_files = "" +busybox_files += "busybox.manifest" +busybox_files += "/usr/bin/busybox" +busybox_files += "/usr/bin/busybox.install" +busybox_files += "/usr/share/busybox" +busybox_files += "/usr/share/busybox/busybox.links" + +FILES_${PN} = "${busybox_files}" + +PKG_busybox= "busybox" + +require busybox-extraconf.inc diff --git a/meta-tizen/recipes-tizen/busybox/busybox_git.bb b/meta-tizen/recipes-tizen/busybox/busybox_git.bb new file mode 100644 index 0000000..20f0c8f --- /dev/null +++ b/meta-tizen/recipes-tizen/busybox/busybox_git.bb @@ -0,0 +1,8 @@ +require busybox.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/busybox;protocol=ssh;tag=571c63fc8ee16cf8cfde11e78ac6f8ec961c9dba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/buxton/buxton-extraconf.inc b/meta-tizen/recipes-tizen/buxton/buxton-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/buxton/buxton-native_git.bb b/meta-tizen/recipes-tizen/buxton/buxton-native_git.bb new file mode 100644 index 0000000..a3b76cf --- /dev/null +++ b/meta-tizen/recipes-tizen/buxton/buxton-native_git.bb @@ -0,0 +1,12 @@ +require buxton.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/buxton;protocol=ssh;tag=ec046d187be6ea2a6349234cf141c73ef4c2b598;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/buxton/buxton.inc b/meta-tizen/recipes-tizen/buxton/buxton.inc new file mode 100644 index 0000000..432c107 --- /dev/null +++ b/meta-tizen/recipes-tizen/buxton/buxton.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "A security-enabled configuration system" +HOMEPAGE = "https://github.com/sofar/buxton" +SECTION = "System/Configuration" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by buxton-devel +PROVIDES += "buxton-devel" +RPROVIDES_buxton-devel += "buxton-devel" +RPROVIDES_buxton-devel += "buxton-dev" + +#PROVIDES by buxton-docs +PROVIDES += "buxton-docs " +RPROVIDES_buxton-docs += "buxton-docs " + +#PROVIDES by buxton +PROVIDES += "buxton" +RPROVIDES_buxton += "buxton" + +RDEPENDS = "" +#RDEPENDS of buxton-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "buxton" + +#RDEPENDS of buxton (${PN}) +RDEPENDS_${PN} += "/usr/bin/chown" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "buxton" + + +DEPENDS = "" +#DEPENDS of buxton +DEPENDS += "pkgconfig(systemd)" +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(check)" +DEPENDS += "attr" +DEPENDS += "gdbm-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/buxton.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # TODO: need to define needed layers for Tizen in tizen.conf + install -m 0644 ${S}/packaging/tizen.conf ${D}/etc/buxton.conf + + +} + +PACKAGES = "" +PACKAGES += "buxton-devel" +PACKAGES += "buxton-docs" +PACKAGES += "buxton" + +buxton-devel_files = "" +buxton-devel_files += "buxton.manifest" +buxton-devel_files += "/usr/include/buxton.h" +buxton-devel_files += "/usr/lib/libbuxton.so" +buxton-devel_files += "/usr/lib/pkgconfig/*.pc" + +buxton-docs_files = "" +buxton-docs_files += "/usr/share/info" +buxton-docs_files += "/usr/share/man" + +buxton_files = "" +buxton_files += "buxton.manifest" +buxton_files += "/etc/buxton.conf" +buxton_files += "/usr/bin/buxtonctl" +buxton_files += "/usr/lib/buxton/*.so" +buxton_files += "/usr/lib/libbuxton.so.*" +buxton_files += "/usr/lib/systemd/system/buxton.service" +buxton_files += "/usr/lib/systemd/system/buxton.socket" +buxton_files += "/usr/lib/systemd/system/sockets.target.wants/buxton.socket" +buxton_files += "/usr/sbin/buxtond" + +FILES_${PN}-devel = "${buxton-devel_files}" +FILES_${PN}-docs = "${buxton-docs_files}" +FILES_${PN} = "${buxton_files}" + +PKG_buxton-devel= "buxton-devel" +PKG_buxton-docs= "buxton-docs" +PKG_buxton= "buxton" + +require buxton-extraconf.inc diff --git a/meta-tizen/recipes-tizen/buxton/buxton_git.bb b/meta-tizen/recipes-tizen/buxton/buxton_git.bb new file mode 100644 index 0000000..5f047a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/buxton/buxton_git.bb @@ -0,0 +1,8 @@ +require buxton.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/buxton;protocol=ssh;tag=ec046d187be6ea2a6349234cf141c73ef4c2b598;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/byacc/byacc-extraconf.inc b/meta-tizen/recipes-tizen/byacc/byacc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/byacc/byacc-native_git.bb b/meta-tizen/recipes-tizen/byacc/byacc-native_git.bb new file mode 100644 index 0000000..51faab8 --- /dev/null +++ b/meta-tizen/recipes-tizen/byacc/byacc-native_git.bb @@ -0,0 +1,12 @@ +require byacc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/byacc;protocol=ssh;tag=9d141d7b7d92f69ceef9ec32cb9fbd3df03ed581;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/byacc/byacc.inc b/meta-tizen/recipes-tizen/byacc/byacc.inc new file mode 100644 index 0000000..17b6d22 --- /dev/null +++ b/meta-tizen/recipes-tizen/byacc/byacc.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "LALR(1) parser generator" +HOMEPAGE = "http://invisible-island.net/byacc/byacc.html" +SECTION = "Development/Languages/C and C++" +LICENSE = "SUSE-Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by byacc +PROVIDES += "byacc" +RPROVIDES_byacc += "byacc" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup + cp ${S}/packaging/byacc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # without --with-warnings several functions will not be marked with gcc's + # noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-warnings + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mv ${D}/usr/bin/yacc ${D}/usr/bin/byacc + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/byacc + rm -rf ${D}/usr/share/doc/byacc-20100216 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "byacc" + +byacc_files = "" +byacc_files += "byacc.manifest" +byacc_files += "/usr/bin/byacc" + +FILES_${PN} = "${byacc_files}" + +PKG_byacc= "byacc" + +require byacc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/byacc/byacc_git.bb b/meta-tizen/recipes-tizen/byacc/byacc_git.bb new file mode 100644 index 0000000..623c60e --- /dev/null +++ b/meta-tizen/recipes-tizen/byacc/byacc_git.bb @@ -0,0 +1,8 @@ +require byacc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/byacc;protocol=ssh;tag=9d141d7b7d92f69ceef9ec32cb9fbd3df03ed581;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/bzip2/bzip2-extraconf.inc b/meta-tizen/recipes-tizen/bzip2/bzip2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/bzip2/bzip2.inc b/meta-tizen/recipes-tizen/bzip2/bzip2.inc new file mode 100644 index 0000000..1f20134 --- /dev/null +++ b/meta-tizen/recipes-tizen/bzip2/bzip2.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "A Program for Compressing Files" +HOMEPAGE = "http://www.bzip.org/" +SECTION = "Base/Tools" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bzip2-devel +PROVIDES += "bzip2-devel" +RPROVIDES_bzip2-devel += "bzip2-devel" +RPROVIDES_bzip2-devel += "bzip2-dev" + +#PROVIDES by bzip2 +PROVIDES += "bzip2" +RPROVIDES_bzip2 += "bzip2" +# the PROVIDES rules is ignore "bzip " +PROVIDES += "bzip" +RPROVIDES_bzip2 += "bzip" + +#PROVIDES by libbz2 +PROVIDES += "libbz2" +RPROVIDES_libbz2 += "libbz2" +# the PROVIDES rules is ignore "bzip2-libs " +PROVIDES += "bzip2-libs" +RPROVIDES_libbz2 += "bzip2-libs" + +#PROVIDES by bzip2-docs +PROVIDES += "bzip2-docs " +RPROVIDES_bzip2-docs += "bzip2-docs " + +RDEPENDS = "" +#RDEPENDS of bzip2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libbz2" + + +DEPENDS = "" +#DEPENDS of bzip2 +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bzip2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + profile_bzip2() + { + tmpfile=$(mktemp) + trap "rm -f $tmpfile $tmpfile.bz2" EXIT + tar -cjf $tmpfile.bz2 /usr/src || true + # time ./bzip2 $tmpfile + time ./bzip2 -d < $tmpfile.bz2 > /dev/null + } + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + gzip -dc ${S}/packaging/bznew.gz > bznew + install -D -m 755 bznew $RPM_BUILD_ROOT/usr/bin/bznew + install -m 644 ${S}/packaging/bznew.1.gz $RPM_BUILD_ROOT/usr/share/man/man1 + + +} + +PACKAGES = "" +PACKAGES += "bzip2-devel" +PACKAGES += "bzip2" +PACKAGES += "libbz2" +PACKAGES += "bzip2-docs" + +bzip2-devel_files = "" +bzip2-devel_files += "bzip2.manifest" +bzip2-devel_files += "/usr/include/bzlib.h" +bzip2-devel_files += "/usr/lib/libbz2.so" +bzip2-devel_files += "/usr/lib/pkgconfig/bzip2.pc" + +bzip2_files = "" +bzip2_files += "bzip2.manifest" +bzip2_files += "/usr/bin/*" + +libbz2_files = "" +libbz2_files += "bzip2.manifest" +libbz2_files += "/usr/lib/libbz2.so.1" +libbz2_files += "/usr/lib/libbz2.so.1.*" + +bzip2-docs_files = "" +bzip2-docs_files += "/usr/share/info" +bzip2-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${bzip2-devel_files}" +FILES_${PN} = "${bzip2_files}" +FILES_libbz2 = "${libbz2_files}" +FILES_${PN}-docs = "${bzip2-docs_files}" + +PKG_bzip2-devel= "bzip2-devel" +PKG_bzip2= "bzip2" +PKG_libbz2= "libbz2" +PKG_bzip2-docs= "bzip2-docs" + +require bzip2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/bzip2/bzip2_git.bb b/meta-tizen/recipes-tizen/bzip2/bzip2_git.bb new file mode 100644 index 0000000..20ece69 --- /dev/null +++ b/meta-tizen/recipes-tizen/bzip2/bzip2_git.bb @@ -0,0 +1,8 @@ +require bzip2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/bzip2;protocol=ssh;tag=2eaa43958f0416d06758a05fe93d098002ee339d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/c-ares/c-ares-extraconf.inc b/meta-tizen/recipes-tizen/c-ares/c-ares-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/c-ares/c-ares-native_git.bb b/meta-tizen/recipes-tizen/c-ares/c-ares-native_git.bb new file mode 100644 index 0000000..9c49ade --- /dev/null +++ b/meta-tizen/recipes-tizen/c-ares/c-ares-native_git.bb @@ -0,0 +1,12 @@ +require c-ares.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/c-ares;protocol=ssh;tag=ba059bf72831e78eeb7d4d72069d0d2a6455f839;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/c-ares/c-ares.inc b/meta-tizen/recipes-tizen/c-ares/c-ares.inc new file mode 100644 index 0000000..64a357a --- /dev/null +++ b/meta-tizen/recipes-tizen/c-ares/c-ares.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Library for asynchronous name resolves" +HOMEPAGE = "http://daniel.haxx.se/projects/c-ares" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcares-devel +PROVIDES += "libcares-devel" +RPROVIDES_libcares-devel += "libcares-devel" +RPROVIDES_libcares-devel += "libcares-dev" + +#PROVIDES by c-ares +PROVIDES += "c-ares" +RPROVIDES_c-ares += "c-ares" + +#PROVIDES by libcares +PROVIDES += "libcares" +RPROVIDES_libcares += "libcares" + +RDEPENDS = "" +#RDEPENDS of libcares-devel (libcares-devel) +RDEPENDS_libcares-devel += "glibc-dev" +RDEPENDS_libcares-devel += "libcares" + + +DEPENDS = "" +#DEPENDS of c-ares +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n c-ares-1.7.5 + cp ${S}/packaging/c-ares.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic + sed -i -e 's@-g0@-g@g' Makefile + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libcares-devel" +PACKAGES += "libcares" + +libcares-devel_files = "" +libcares-devel_files += "c-ares.manifest" +libcares-devel_files += "/usr/lib/libcares.so" +libcares-devel_files += "/usr/include/*.h" +libcares-devel_files += "/usr/share/man/man3/ares_*" +libcares-devel_files += "/usr/lib/pkgconfig/libcares.pc" + +libcares_files = "" +libcares_files += "c-ares.manifest" +libcares_files += "/usr/lib/libcares.so.2*" + +FILES_libcares-devel = "${libcares-devel_files}" +FILES_libcares = "${libcares_files}" + +PKG_libcares-devel= "libcares-devel" +PKG_libcares= "libcares" + +require c-ares-extraconf.inc diff --git a/meta-tizen/recipes-tizen/c-ares/c-ares_git.bb b/meta-tizen/recipes-tizen/c-ares/c-ares_git.bb new file mode 100644 index 0000000..4e85680 --- /dev/null +++ b/meta-tizen/recipes-tizen/c-ares/c-ares_git.bb @@ -0,0 +1,8 @@ +require c-ares.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/c-ares;protocol=ssh;tag=ba059bf72831e78eeb7d4d72069d0d2a6455f839;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-native_git.bb b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-native_git.bb new file mode 100644 index 0000000..2f31518 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla-native_git.bb @@ -0,0 +1,12 @@ +require ca-certificates-mozilla.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ca-certificates-mozilla;protocol=ssh;tag=ef45e06681165de344d1dffc48673bb31ebd5950;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla.inc b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla.inc new file mode 100644 index 0000000..fd929a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "CA certificates for OpenSSL" +HOMEPAGE = "http://www.mozilla.org" +SECTION = "Productivity/Networking/Security" +LICENSE = "MPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ca-certificates-mozilla +PROVIDES += "ca-certificates-mozilla" +RPROVIDES_ca-certificates-mozilla += "ca-certificates-mozilla" +# the PROVIDES rules is ignore "openssl-certs = 0.9.9" +PROVIDES += "openssl-certs" +RPROVIDES_ca-certificates-mozilla += "openssl-certs" + +RDEPENDS = "" +#RDEPENDS of ca-certificates-mozilla (${PN}) +RDEPENDS_${PN} += "ca-certificates" + + +DEPENDS = "" +#DEPENDS of ca-certificates-mozilla +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -qcT + cp ${S}/packaging/ca-certificates-mozilla.manifest . + /bin/cp ${S}/packaging/certdata.txt . + install -m 644 ${S}/packaging/extractcerts.pl COPYING + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl ${S}/packaging/extractcerts.pl --trustbits < certdata.txt + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + mkdir -p ${D}//usr/share/ca-certificates/mozilla + set +x + for i in *.pem; do + args=() + trust=`sed -n '/^# openssl-trust=/{s/^.*=//;p;q;}' "$i"` + alias=`sed -n '/^# alias=/{s/^.*=//;p;q;}' "$i"` + case "$trust" in + *serverAuth*) ;; + *) echo "skipping $i, not trusted for serverAuth"; continue ;; + esac + echo "$i" + { + grep '^#' "$i" + openssl x509 -in "$i" "${args[@]}" + } > "${D}//usr/share/ca-certificates/mozilla/$i" + done + set -x +} + +PACKAGES = "" +PACKAGES += "ca-certificates-mozilla" + +ca-certificates-mozilla_files = "" +ca-certificates-mozilla_files += "ca-certificates-mozilla.manifest" +ca-certificates-mozilla_files += "COPYING" +ca-certificates-mozilla_files += "/usr/share/ca-certificates/mozilla" + +FILES_${PN} = "${ca-certificates-mozilla_files}" + +PKG_ca-certificates-mozilla= "ca-certificates-mozilla" + +require ca-certificates-mozilla-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla_git.bb b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla_git.bb new file mode 100644 index 0000000..ccb6122 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates-mozilla/ca-certificates-mozilla_git.bb @@ -0,0 +1,8 @@ +require ca-certificates-mozilla.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ca-certificates-mozilla;protocol=ssh;tag=ef45e06681165de344d1dffc48673bb31ebd5950;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ca-certificates/ca-certificates-extraconf.inc b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ca-certificates/ca-certificates-native_git.bb b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates-native_git.bb new file mode 100644 index 0000000..0cb22d4 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates-native_git.bb @@ -0,0 +1,12 @@ +require ca-certificates.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ca-certificates;protocol=ssh;tag=61ba96834fcd87931cc453f9dcc6f9184602c8a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ca-certificates/ca-certificates.inc b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates.inc new file mode 100644 index 0000000..766ec15 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "Utilities for system wide CA certificate installation" +HOMEPAGE = "http://gitorious.org/opensuse/ca-certificates" +SECTION = "Productivity/Networking/Security" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ca-certificates +PROVIDES += "ca-certificates" +RPROVIDES_ca-certificates += "ca-certificates" + +RDEPENDS = "" +#RDEPENDS of ca-certificates (${PN}) +RDEPENDS_${PN} += "/usr/bin/rm" +RDEPENDS_${PN} += "openssl-misc" +RDEPENDS_${PN} += "openssl" + + +DEPENDS = "" +#DEPENDS of ca-certificates +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -qcT + cp ${S}/packaging/ca-certificates.manifest . + install -m 755 ${S}/packaging/update-ca-certificates . + install -m 644 ${S}/packaging/update-ca-certificates.8 . + install -m 644 ${S}/packaging/GPL-2.0.txt COPYING + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}//etc/ssl/certs + mkdir -p ${D}//usr/share/ca-certificates + mkdir -p ${D}//usr/sbin + mkdir -p ${D}//usr/share/man/man8 + mkdir -p ${D}/etc/ca-certificates/update.d + mkdir -p ${D}/usr/lib/ca-certificates/update.d + install -D -m 644 /dev/null ${D}//var/lib/ca-certificates/ca-bundle.pem + install -m 644 /dev/null ${D}/etc/ca-certificates.conf + install -m 755 ${S}/packaging/certbundle.run ${D}/usr/lib/ca-certificates/update.d + ln -s /var/lib/ca-certificates/ca-bundle.pem ${D}/etc/ssl/ca-bundle.pem + + install -m 755 update-ca-certificates ${D}//usr/sbin + install -m 644 update-ca-certificates.8 ${D}//usr/share/man/man8 + install -m 644 /dev/null ${D}/var/lib/ca-certificates/ca-bundle.pem + + +} + +PACKAGES = "" +PACKAGES += "ca-certificates" + +ca-certificates_files = "" +ca-certificates_files += "ca-certificates.manifest" +ca-certificates_files += "/usr/share/ca-certificates" +ca-certificates_files += "/etc/ssl/certs" +ca-certificates_files += "/etc/ssl/ca-bundle.pem" +ca-certificates_files += "/etc/ca-certificates" +ca-certificates_files += "/etc/ca-certificates/update.d" +ca-certificates_files += "/usr/lib/ca-certificates" +ca-certificates_files += "/usr/lib/ca-certificates/update.d" +ca-certificates_files += "/var/lib/ca-certificates" +ca-certificates_files += "/usr/lib/ca-certificates/update.d/certbundle.run" +ca-certificates_files += "/usr/sbin/update-ca-certificates" +ca-certificates_files += "/usr/share/man/man8/update-ca-certificates.8*" + +FILES_${PN} = "${ca-certificates_files}" + +PKG_ca-certificates= "ca-certificates" + +require ca-certificates-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ca-certificates/ca-certificates_git.bb b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates_git.bb new file mode 100644 index 0000000..ab69690 --- /dev/null +++ b/meta-tizen/recipes-tizen/ca-certificates/ca-certificates_git.bb @@ -0,0 +1,8 @@ +require ca-certificates.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ca-certificates;protocol=ssh;tag=61ba96834fcd87931cc453f9dcc6f9184602c8a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cairo/cairo-extraconf.inc b/meta-tizen/recipes-tizen/cairo/cairo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cairo/cairo-native_git.bb b/meta-tizen/recipes-tizen/cairo/cairo-native_git.bb new file mode 100644 index 0000000..252c8c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/cairo/cairo-native_git.bb @@ -0,0 +1,12 @@ +require cairo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cairo;protocol=ssh;tag=3388424cbb6e054e4867e6fb0cc687a1a4c2bda2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cairo/cairo.inc b/meta-tizen/recipes-tizen/cairo/cairo.inc new file mode 100644 index 0000000..4b61b86 --- /dev/null +++ b/meta-tizen/recipes-tizen/cairo/cairo.inc @@ -0,0 +1,200 @@ +DESCRIPTION = "Vector Graphics Library with Cross-Device Output Support" +HOMEPAGE = "http://cairographics.org/" +SECTION = "Graphics/Libraries" +LICENSE = "LGPL-2.1+ or MPL-1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcairo +PROVIDES += "libcairo" +RPROVIDES_libcairo += "libcairo" +# the PROVIDES rules is ignore "cairo = 1.12.16" +PROVIDES += "cairo" +RPROVIDES_libcairo += "cairo" + +#PROVIDES by cairo +PROVIDES += "cairo" +RPROVIDES_cairo += "cairo" + +#PROVIDES by libcairo-gobject +PROVIDES += "libcairo-gobject" +RPROVIDES_libcairo-gobject += "libcairo-gobject" + +#PROVIDES by cairo-devel +PROVIDES += "cairo-devel" +RPROVIDES_cairo-devel += "cairo-devel" +RPROVIDES_cairo-devel += "cairo-dev" + +#PROVIDES by cairo-tools +PROVIDES += "cairo-tools" +RPROVIDES_cairo-tools += "cairo-tools" + +#PROVIDES by libcairo-script-interpreter +PROVIDES += "libcairo-script-interpreter" +RPROVIDES_libcairo-script-interpreter += "libcairo-script-interpreter" + +RDEPENDS = "" +#RDEPENDS of cairo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcairo-script-interpreter" +RDEPENDS_${PN}-devel += "libcairo-gobject" +RDEPENDS_${PN}-devel += "libcairo" + +#RDEPENDS of cairo-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libcairo" + + +DEPENDS = "" +#DEPENDS of cairo +DEPENDS += "pkgconfig(glesv2)" +DEPENDS += "which" +DEPENDS += "pkgconfig(fontconfig)" +DEPENDS += "pkgconfig(freetype2)" +DEPENDS += "pkgconfig-native" +DEPENDS += "xz" +DEPENDS += "pkgconfig(wayland-egl)" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "pkgconfig(pixman-1)" +DEPENDS += "pkgconfig(gobject-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/cairo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Disable Atom optimizations in order to make binaries executable in buildroot + export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed s'/atom/i686/g'` + export CFLAGS=`echo $CFLAGS | sed s'/atom/i686/g'` + export CXXFLAGS=`echo $CXXFLAGS | sed s'/atom/i686/g'` + + # Needed by patch0 + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-pic \ + --enable-fc \ + --enable-ft \ + --enable-egl \ + --enable-glesv2=yes \ + --enable-ps \ + --enable-pdf \ + --enable-script \ + --enable-svg \ + --enable-tee \ + --disable-xlib \ + --disable-xcb \ + --disable-gtk-doc \ + --disable-static + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "cairo-devel" +PACKAGES += "libcairo-script-interpreter" +PACKAGES += "cairo-tools" +PACKAGES += "libcairo-gobject" +PACKAGES += "libcairo" + +cairo-devel_files = "" +cairo-devel_files += "cairo.manifest" +cairo-devel_files += "PORTING_GUIDE" +cairo-devel_files += "/usr/include/cairo/" +cairo-devel_files += "/usr/share/gtk-doc/html/cairo" +cairo-devel_files += "/usr/lib/*.so" +cairo-devel_files += "/usr/lib/pkgconfig/*.pc" + +libcairo-script-interpreter_files = "" +libcairo-script-interpreter_files += "cairo.manifest" +libcairo-script-interpreter_files += "/usr/lib/libcairo-script-interpreter.so.*" + +cairo-tools_files = "" +cairo-tools_files += "cairo.manifest" +cairo-tools_files += "/usr/bin/cairo-sphinx" +cairo-tools_files += "/usr/bin/cairo-trace" +cairo-tools_files += "/usr/lib/cairo" +cairo-tools_files += "/usr/lib/cairo/cairo-fdr.so" +cairo-tools_files += "/usr/lib/cairo/cairo-sphinx.so" +cairo-tools_files += "/usr/lib/cairo/libcairo-trace.so" + +libcairo-gobject_files = "" +libcairo-gobject_files += "cairo.manifest" +libcairo-gobject_files += "/usr/lib/libcairo-gobject.so.2*" + +libcairo_files = "" +libcairo_files += "cairo.manifest" +libcairo_files += "/usr/lib/libcairo.so.*" + +FILES_${PN}-devel = "${cairo-devel_files}" +FILES_lib${PN}-script-interpreter = "${libcairo-script-interpreter_files}" +FILES_${PN}-tools = "${cairo-tools_files}" +FILES_lib${PN}-gobject = "${libcairo-gobject_files}" +FILES_lib${PN} = "${libcairo_files}" + +PKG_cairo-devel= "cairo-devel" +PKG_libcairo-script-interpreter= "libcairo-script-interpreter" +PKG_cairo-tools= "cairo-tools" +PKG_libcairo-gobject= "libcairo-gobject" +PKG_libcairo= "libcairo" + +require cairo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cairo/cairo_git.bb b/meta-tizen/recipes-tizen/cairo/cairo_git.bb new file mode 100644 index 0000000..51adc11 --- /dev/null +++ b/meta-tizen/recipes-tizen/cairo/cairo_git.bb @@ -0,0 +1,8 @@ +require cairo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cairo;protocol=ssh;tag=3388424cbb6e054e4867e6fb0cc687a1a4c2bda2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/calculator/calculator-extraconf.inc b/meta-tizen/recipes-tizen/calculator/calculator-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/calculator/calculator-native_git.bb b/meta-tizen/recipes-tizen/calculator/calculator-native_git.bb new file mode 100644 index 0000000..53e0b45 --- /dev/null +++ b/meta-tizen/recipes-tizen/calculator/calculator-native_git.bb @@ -0,0 +1,12 @@ +require calculator.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/calculator;protocol=ssh;tag=22fb7dbbe278fa7ed4b31fdd8b34c785848e7ead;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/calculator/calculator.inc b/meta-tizen/recipes-tizen/calculator/calculator.inc new file mode 100644 index 0000000..813d67b --- /dev/null +++ b/meta-tizen/recipes-tizen/calculator/calculator.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "SLP Calculator application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "tizen/Application" +LICENSE = "TIZEN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by org.tizen.calculator +PROVIDES += "org.tizen.calculator" +RPROVIDES_org.tizen.calculator += "org.tizen.calculator" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of org.tizen.calculator +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "cmake" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "pkgconfig(ecore)" +DEPENDS += "app-core" +DEPENDS += "embryo-bin" +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(feedback)" +DEPENDS += "edje-bin" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(embryo)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/org.tizen.calculator.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + LDFLAGS+="-Wl,--rpath=/usr/apps/org.tizen.calculator/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS + + cmake . -DCMAKE_INSTALL_PREFIX=/usr/apps/org.tizen.calculator + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "org.tizen.calculator" + +org.tizen.calculator_files = "" +org.tizen.calculator_files += "org.tizen.calculator.manifest" +org.tizen.calculator_files += "/usr/apps/org.tizen.calculator/bin/calculator" +org.tizen.calculator_files += "/usr/apps/org.tizen.calculator/res/edje/calculator.edj" +org.tizen.calculator_files += "/usr/apps/org.tizen.calculator/res/edje/calculator_theme.edj" +org.tizen.calculator_files += "/usr/share/icons/default/small/org.tizen.calculator.png" +org.tizen.calculator_files += "/usr/apps/org.tizen.calculator/res/icons/org.tizen.calculator.png" +org.tizen.calculator_files += "/usr/apps/org.tizen.calculator/res/locale/*" +org.tizen.calculator_files += "/usr/share/packages/org.tizen.calculator.xml" +org.tizen.calculator_files += "/usr/share/process-info/calculator.ini" + +FILES_${PN} = "${org.tizen.calculator_files}" + +PKG_org.tizen.calculator= "org.tizen.calculator" + +require calculator-extraconf.inc diff --git a/meta-tizen/recipes-tizen/calculator/calculator_git.bb b/meta-tizen/recipes-tizen/calculator/calculator_git.bb new file mode 100644 index 0000000..d2cf268 --- /dev/null +++ b/meta-tizen/recipes-tizen/calculator/calculator_git.bb @@ -0,0 +1,8 @@ +require calculator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/calculator;protocol=ssh;tag=22fb7dbbe278fa7ed4b31fdd8b34c785848e7ead;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/calendar-service/calendar-service-extraconf.inc b/meta-tizen/recipes-tizen/calendar-service/calendar-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/calendar-service/calendar-service-native_git.bb b/meta-tizen/recipes-tizen/calendar-service/calendar-service-native_git.bb new file mode 100644 index 0000000..84ddc71 --- /dev/null +++ b/meta-tizen/recipes-tizen/calendar-service/calendar-service-native_git.bb @@ -0,0 +1,12 @@ +require calendar-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/calendar-service;protocol=ssh;tag=1525549d46bf377182e08b80bcd817a8d891a715;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/calendar-service/calendar-service.inc b/meta-tizen/recipes-tizen/calendar-service/calendar-service.inc new file mode 100644 index 0000000..04e74ed --- /dev/null +++ b/meta-tizen/recipes-tizen/calendar-service/calendar-service.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "DB library for calendar" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by calendar-service +PROVIDES += "calendar-service" +RPROVIDES_calendar-service += "calendar-service" + +#PROVIDES by calendar-service-devel +PROVIDES += "calendar-service-devel" +RPROVIDES_calendar-service-devel += "calendar-service-devel" +RPROVIDES_calendar-service-devel += "calendar-service-dev" + +RDEPENDS = "" +#RDEPENDS of calendar-service (${PN}) +RDEPENDS_${PN} += "/bin/chown" +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of calendar-service-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "calendar-service" +RDEPENDS_${PN}-devel += "pkgconfig(alarm-service)" + + +DEPENDS = "" +#DEPENDS of calendar-service +DEPENDS += "pkgconfig(pims-ipc)" +DEPENDS += "pkgconfig(contacts-service2)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "pkgconfig(capi-base-common)" +DEPENDS += "app-svc" +DEPENDS += "bundle" +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(db-util)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/calendar-service.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/rc.d/rc3.d/ + mkdir -p ${D}/etc/rc.d/rc5.d/ + ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc3.d/S85calendar-serviced + ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc5.d/S85calendar-serviced + + mkdir -p ${D}/lib/systemd/user/tizen-middleware.target.wants + install ${S}/packaging/calendar.service ${D}/lib/systemd/user/ + ln -s ../calendar.service ${D}/lib/systemd/user/tizen-middleware.target.wants/ + + +} + +PACKAGES = "" +PACKAGES += "calendar-service" +PACKAGES += "calendar-service-devel" + +calendar-service_files = "" +calendar-service_files += "calendar-service.manifest" +calendar-service_files += "/usr/bin/calendar-serviced*" +calendar-service_files += "/usr/lib/libcalendar-service2.so.*" +calendar-service_files += "/etc/rc.d/rc3.d/S85calendar-serviced" +calendar-service_files += "/etc/rc.d/rc5.d/S85calendar-serviced" +#Remove rpm attribut "%attr(0775,root,root)" +calendar-service_files += "/opt/usr/data/calendar-svc/" +calendar-service_files += "/opt/usr/data/calendar-svc/.CALENDAR_SVC_CALENDAR_CHANGED" +calendar-service_files += "/opt/usr/data/calendar-svc/.CALENDAR_SVC_EVENT_CHANGED" +calendar-service_files += "/opt/usr/data/calendar-svc/.CALENDAR_SVC_TODO_CHANGED" +calendar-service_files += "/usr/share/calendar-svc/dft-calendar" +calendar-service_files += "/opt/usr/dbspace/.calendar-svc.db*" +calendar-service_files += "/lib/systemd/user/calendar.service" +calendar-service_files += "/lib/systemd/user/tizen-middleware.target.wants/calendar.service" + +calendar-service-devel_files = "" +calendar-service-devel_files += "calendar-service.manifest" +calendar-service-devel_files += "/usr/include/calendar-service/*.h" +calendar-service-devel_files += "/usr/include/calendar-service2/*.h" +calendar-service-devel_files += "/usr/lib/*.so" +calendar-service-devel_files += "/usr/lib/pkgconfig/calendar.pc" +calendar-service-devel_files += "/usr/lib/pkgconfig/calendar-service2.pc" +calendar-service-devel_files += "/opt/usr/data/calendar-svc/calendar-svc-initdb" + +FILES_${PN} = "${calendar-service_files}" +FILES_${PN}-devel = "${calendar-service-devel_files}" + +PKG_calendar-service= "calendar-service" +PKG_calendar-service-devel= "calendar-service-devel" + +require calendar-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/calendar-service/calendar-service_git.bb b/meta-tizen/recipes-tizen/calendar-service/calendar-service_git.bb new file mode 100644 index 0000000..40430dd --- /dev/null +++ b/meta-tizen/recipes-tizen/calendar-service/calendar-service_git.bb @@ -0,0 +1,8 @@ +require calendar-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/calendar-service;protocol=ssh;tag=1525549d46bf377182e08b80bcd817a8d891a715;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/call/call-extraconf.inc b/meta-tizen/recipes-tizen/call/call-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/call/call-native_git.bb b/meta-tizen/recipes-tizen/call/call-native_git.bb new file mode 100644 index 0000000..571e4b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/call/call-native_git.bb @@ -0,0 +1,12 @@ +require call.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/call;protocol=ssh;tag=35ff9d2b18ef017d039415dd06e17c2043a63d9c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/call/call.inc b/meta-tizen/recipes-tizen/call/call.inc new file mode 100644 index 0000000..4cfdf4f --- /dev/null +++ b/meta-tizen/recipes-tizen/call/call.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "Telephony Call Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-telephony-call-devel +PROVIDES += "capi-telephony-call-devel" +RPROVIDES_capi-telephony-call-devel += "capi-telephony-call-devel" +RPROVIDES_capi-telephony-call-devel += "capi-telephony-call-dev" + +#PROVIDES by capi-telephony-call +PROVIDES += "capi-telephony-call" +RPROVIDES_capi-telephony-call += "capi-telephony-call" + +RDEPENDS = "" +#RDEPENDS of capi-telephony-call-devel (capi-telephony-${PN}-devel) +RDEPENDS_capi-telephony-${PN}-devel += "capi-telephony-call" + + +DEPENDS = "" +#DEPENDS of capi-telephony-call +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(capi-base-common)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-telephony-call.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-telephony-call-devel" +PACKAGES += "capi-telephony-call" + +capi-telephony-call-devel_files = "" +capi-telephony-call-devel_files += "capi-telephony-call.manifest" +capi-telephony-call-devel_files += "/usr/include/telephony/call.h" +capi-telephony-call-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-telephony-call-devel_files += "/usr/lib/libcapi-telephony-call.so" + +capi-telephony-call_files = "" +capi-telephony-call_files += "capi-telephony-call.manifest" +capi-telephony-call_files += "/usr/lib/libcapi-telephony-call.so.*" + +FILES_${PN}-devel = "${capi-telephony-call-devel_files}" +FILES_${PN} = "${capi-telephony-call_files}" + +PKG_capi-telephony-call-devel= "capi-telephony-call-devel" +PKG_capi-telephony-call= "capi-telephony-call" + +require call-extraconf.inc diff --git a/meta-tizen/recipes-tizen/call/call_git.bb b/meta-tizen/recipes-tizen/call/call_git.bb new file mode 100644 index 0000000..e1585fb --- /dev/null +++ b/meta-tizen/recipes-tizen/call/call_git.bb @@ -0,0 +1,8 @@ +require call.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/call;protocol=ssh;tag=35ff9d2b18ef017d039415dd06e17c2043a63d9c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/camera/camera-extraconf.inc b/meta-tizen/recipes-tizen/camera/camera-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/camera/camera.inc b/meta-tizen/recipes-tizen/camera/camera.inc new file mode 100644 index 0000000..6cc93af --- /dev/null +++ b/meta-tizen/recipes-tizen/camera/camera.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "camera application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.camera-app" + +org.tizen.camera-app_files = "" +org.tizen.camera-app_files += "org.tizen.camera-app.manifest" +org.tizen.camera-app_files += "/usr/share/icons/default/small/org.tizen.camera-app.png" +org.tizen.camera-app_files += "/usr/share/packages/org.tizen.camera-app.xml" +org.tizen.camera-app_files += "/etc/smack/accesses.d/org.tizen.camera-app.rule" +org.tizen.camera-app_files += "/usr/apps/org.tizen.camera-app/bin/camera" + +FILES_${PN} = "${org.tizen.camera-app_files}" + +PKG_org.tizen.camera-app= "org.tizen.camera-app" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require camera-rdepends.inc +require camera-depends.inc +require camera-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-extraconf.inc b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-native_git.bb b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-native_git.bb new file mode 100644 index 0000000..34083ed --- /dev/null +++ b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts-native_git.bb @@ -0,0 +1,12 @@ +require cantarell-fonts.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cantarell-fonts;protocol=ssh;tag=a6286586ab10ee724f2e5583c625f81c6ecf8e38;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts.inc b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts.inc new file mode 100644 index 0000000..9159f3b --- /dev/null +++ b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Contemporary Humanist Sans Serif Font" +HOMEPAGE = "http://live.gnome.org/CantarellFonts" +SECTION = "System/X11/Fonts" +LICENSE = "OFL-1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cantarell-fonts +PROVIDES += "cantarell-fonts" +RPROVIDES_cantarell-fonts += "cantarell-fonts" + +RDEPENDS = "" +#RDEPENDS of cantarell-fonts (${PN}) +RDEPENDS_${PN} += "/usr/bin/fc-cache" + + +DEPENDS = "" +#DEPENDS of cantarell-fonts +DEPENDS += "xz" +DEPENDS += "dos2unix" +DEPENDS += "pkgconfig-native" +DEPENDS += "fontconfig" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/cantarell-fonts.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + dos2unix COPYING + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} configdir=/usr/share/cantarell-fonts/conf.avail + mkdir -p ${D}/etc/fonts/conf.d + ln -s ../../../usr/share/cantarell-fonts/conf.avail/31-cantarell.conf ${D}/etc/fonts/conf.d + + +} + +PACKAGES = "" +PACKAGES += "cantarell-fonts" + +cantarell-fonts_files = "" +cantarell-fonts_files += "cantarell-fonts.manifest" +cantarell-fonts_files += "/usr/share/cantarell-fonts" +cantarell-fonts_files += "/usr/share/cantarell-fonts/conf.avail" +cantarell-fonts_files += "/usr/share/cantarell-fonts/conf.avail/31-cantarell.conf" +cantarell-fonts_files += "/etc/fonts/conf.d/31-cantarell.conf" +cantarell-fonts_files += "/usr/share/fonts/cantarell" +cantarell-fonts_files += "/usr/share/fonts/cantarell/Cantarell-Bold.otf" +cantarell-fonts_files += "/usr/share/fonts/cantarell/Cantarell-Regular.otf" + +FILES_${PN} = "${cantarell-fonts_files}" + +PKG_cantarell-fonts= "cantarell-fonts" + +require cantarell-fonts-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts_git.bb b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts_git.bb new file mode 100644 index 0000000..93667c9 --- /dev/null +++ b/meta-tizen/recipes-tizen/cantarell-fonts/cantarell-fonts_git.bb @@ -0,0 +1,8 @@ +require cantarell-fonts.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cantarell-fonts;protocol=ssh;tag=a6286586ab10ee724f2e5583c625f81c6ecf8e38;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ccache/ccache-extraconf.inc b/meta-tizen/recipes-tizen/ccache/ccache-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ccache/ccache-native_git.bb b/meta-tizen/recipes-tizen/ccache/ccache-native_git.bb new file mode 100644 index 0000000..1dcff4b --- /dev/null +++ b/meta-tizen/recipes-tizen/ccache/ccache-native_git.bb @@ -0,0 +1,12 @@ +require ccache.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ccache;protocol=ssh;tag=dd0ea6ced9cdb09a6e17c1216ac650c3440e38e2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ccache/ccache.inc b/meta-tizen/recipes-tizen/ccache/ccache.inc new file mode 100644 index 0000000..94d381f --- /dev/null +++ b/meta-tizen/recipes-tizen/ccache/ccache.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "A Fast C/C++ Compiler Cache" +HOMEPAGE = "http://ccache.samba.org/" +SECTION = "Development/Languages/C and C++" +LICENSE = "GPLv3+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ccache +PROVIDES += "ccache" +RPROVIDES_ccache += "ccache" +# the PROVIDES rules is ignore "distcc:/usr/bin/ccache " +PROVIDES += "distcc:/usr/bin/ccache" +RPROVIDES_ccache += "distcc:/usr/bin/ccache" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of ccache +DEPENDS += "zlib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ccache.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} + + +} + +PACKAGES = "" +PACKAGES += "ccache" + +ccache_files = "" +ccache_files += "ccache.manifest" +ccache_files += "AUTHORS.* GPL-3.0.txt INSTALL.* LICENSE.* MANUAL.* NEWS.* README.*" +ccache_files += "/usr/share/man/man1/ccache.1.gz" +ccache_files += "/usr/bin/ccache" + +FILES_${PN} = "${ccache_files}" + +PKG_ccache= "ccache" + +require ccache-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ccache/ccache_git.bb b/meta-tizen/recipes-tizen/ccache/ccache_git.bb new file mode 100644 index 0000000..d3ca37c --- /dev/null +++ b/meta-tizen/recipes-tizen/ccache/ccache_git.bb @@ -0,0 +1,8 @@ +require ccache.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ccache;protocol=ssh;tag=dd0ea6ced9cdb09a6e17c1216ac650c3440e38e2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cdrkit/cdrkit-extraconf.inc b/meta-tizen/recipes-tizen/cdrkit/cdrkit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cdrkit/cdrkit-native_git.bb b/meta-tizen/recipes-tizen/cdrkit/cdrkit-native_git.bb new file mode 100644 index 0000000..b83f442 --- /dev/null +++ b/meta-tizen/recipes-tizen/cdrkit/cdrkit-native_git.bb @@ -0,0 +1,12 @@ +require cdrkit.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cdrkit;protocol=ssh;tag=d206d98f6f6be40156d9f94eda8196dc307dedbe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cdrkit/cdrkit.inc b/meta-tizen/recipes-tizen/cdrkit/cdrkit.inc new file mode 100644 index 0000000..938e0b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/cdrkit/cdrkit.inc @@ -0,0 +1,269 @@ +DESCRIPTION = "Tool for Writing CDRs" +HOMEPAGE = "http://cdrkit.org/" +SECTION = "Multimedia/Media Service" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by genisoimage +PROVIDES += "genisoimage" +RPROVIDES_genisoimage += "genisoimage" +# the PROVIDES rules is ignore "mkisofs = 1.1.11" +PROVIDES += "mkisofs" +RPROVIDES_genisoimage += "mkisofs" + +#PROVIDES by cdrkit-cdrtools-compat +PROVIDES += "cdrkit-cdrtools-compat" +RPROVIDES_cdrkit-cdrtools-compat += "cdrkit-cdrtools-compat" + +#PROVIDES by cdrkit +PROVIDES += "cdrkit" +RPROVIDES_cdrkit += "cdrkit" +# the PROVIDES rules is ignore "wodim = 1.1.11" +PROVIDES += "wodim" +RPROVIDES_cdrkit += "wodim" +# the PROVIDES rules is ignore "cdrecord = 1.1.11" +PROVIDES += "cdrecord" +RPROVIDES_cdrkit += "cdrecord" + +#PROVIDES by icedax +PROVIDES += "icedax" +RPROVIDES_icedax += "icedax" +# the PROVIDES rules is ignore "cdda2wav = 1.1.11" +PROVIDES += "cdda2wav" +RPROVIDES_icedax += "cdda2wav" + +RDEPENDS = "" +#RDEPENDS of cdrkit-cdrtools-compat (${PN}-cdrtools-compat) +RDEPENDS_${PN}-cdrtools-compat += "genisoimage" +RDEPENDS_${PN}-cdrtools-compat += "wodim" +RDEPENDS_${PN}-cdrtools-compat += "icedax" + +#RDEPENDS of cdrkit (${PN}) +RDEPENDS_${PN} += "cdrkit-cdrtools-compat" + + +DEPENDS = "" +#DEPENDS of cdrkit +DEPENDS += "zlib-devel" +DEPENDS += "file-devel" +DEPENDS += "bzip2" +DEPENDS += "cmake" +inherit perlnative +DEPENDS += "libcap-devel" +DEPENDS += "fdupes-native" +DEPENDS += "gcc-c++" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n cdrkit-1.1.11 + cp ${S}/packaging/cdrkit.manifest . + # Fix perl path + find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g' + # Fix permissions (no executables in doc files) + chmod 644 doc/icedax/tracknames.pl misc/burnstuff misc/rc.pp + # Rename in order to not conflict with doc/genisoimage/README when added in genisoimage rpm doc files + mv genisoimage/diag/README genisoimage/diag/README.diag + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC" + export CXXFLAGS="$CFLAGS" + mkdir build + cd build + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake ../ + make VERBOSE=1 MANDIR=share/man -j16 + gcc -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ${S}/packaging/cdinfo.c -o cdinfo + cd .. + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + cd .. + + # Fix perl version requirement + perl -pi -e 's#^require v5.8.1;##g' ${D}/usr/bin/dirsplit + + # Install additional programs + install -pm 0755 build/cdinfo \ + icedax/cdda2mp3.new \ + icedax/inf2cdtext.pl \ + ${S}/packaging/scan_scsi.linux \ + ${D}/usr/bin + + install -pm 0755 3rd-party/geteltorito/geteltorito.pl ${D}/usr/bin/geteltorito + + ln -sf wodim ${D}/usr/bin/cdrecord + ln -sf wodim ${D}/usr/bin/dvdrecord + ln -sf readom ${D}/usr/bin/readcd + ln -sf icedax ${D}/usr/bin/cdda2wav + ln -sf genisoimage ${D}/usr/bin/mkhybrid + ln -sf genisoimage ${D}/usr/bin/mkisofs + ln -sf wodim.1.gz ${D}/usr/share/man/man1/cdrecord.1.gz + ln -sf readom.1.gz ${D}/usr/share/man/man1/readcd.1.gz + ln -sf icedax.1.gz ${D}/usr/share/man/man1/cdda2wav.1.gz + + ln -sf genisoimage.1.gz ${D}/usr/share/man/man1/mkisofs.1.gz + ln -sf cdda2ogg.1.gz ${D}/usr/share/man/man1/cdda2mp3.1.gz + + # Install config files + install -dm 0755 ${D}/etc + install -pm 0644 netscsid/netscsid.dfl ${D}/etc/netscsid.conf + install -pm 0644 wodim/wodim.dfl ${D}/etc/wodim.conf + + # Missing man page. Do symlink like in Debian. + ln -sf wodim.1.gz ${D}/usr/share/man/man1/netscsid.1.gz + + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "genisoimage" +PACKAGES += "cdrkit-cdrtools-compat" +PACKAGES += "cdrkit" +PACKAGES += "icedax" + +genisoimage_files = "" +genisoimage_files += "cdrkit.manifest" +genisoimage_files += "/usr/bin/devdump" +genisoimage_files += "/usr/bin/dirsplit" +genisoimage_files += "/usr/bin/genisoimage" +genisoimage_files += "/usr/bin/geteltorito" +genisoimage_files += "/usr/bin/isodebug" +genisoimage_files += "/usr/bin/isodump" +genisoimage_files += "/usr/bin/isoinfo" +genisoimage_files += "/usr/bin/isovfy" +genisoimage_files += "/usr/share/man/man1/devdump.1.gz" +genisoimage_files += "/usr/share/man/man1/dirsplit.1.gz" +genisoimage_files += "/usr/share/man/man1/genisoimage.1.gz" +genisoimage_files += "/usr/share/man/man1/isodebug.1.gz" +genisoimage_files += "/usr/share/man/man1/isodump.1.gz" +genisoimage_files += "/usr/share/man/man1/isoinfo.1.gz" +genisoimage_files += "/usr/share/man/man1/isovfy.1.gz" +genisoimage_files += "/usr/share/man/man5/genisoimagerc.5.gz" + +cdrkit-cdrtools-compat_files = "" +cdrkit-cdrtools-compat_files += "cdrkit.manifest" +cdrkit-cdrtools-compat_files += "/usr/bin/cdda2wav" +cdrkit-cdrtools-compat_files += "/usr/bin/cdrecord" +cdrkit-cdrtools-compat_files += "/usr/bin/dvdrecord" +cdrkit-cdrtools-compat_files += "/usr/bin/mkhybrid" +cdrkit-cdrtools-compat_files += "/usr/bin/mkisofs" +cdrkit-cdrtools-compat_files += "/usr/bin/readcd" +cdrkit-cdrtools-compat_files += "/usr/share/man/man1/cdda2wav.1.gz" +cdrkit-cdrtools-compat_files += "/usr/share/man/man1/cdrecord.1.gz" +cdrkit-cdrtools-compat_files += "/usr/share/man/man1/mkisofs.1.gz" +cdrkit-cdrtools-compat_files += "/usr/share/man/man1/readcd.1.gz" + +cdrkit_files = "" +cdrkit_files += "cdrkit.manifest" +cdrkit_files += "/etc/netscsid.conf" +cdrkit_files += "/etc/wodim.conf" +cdrkit_files += "/usr/bin/cdinfo" +cdrkit_files += "/usr/bin/readom" +cdrkit_files += "/usr/share/man/man1/netscsid.1.gz" +cdrkit_files += "/usr/share/man/man1/readom.1.gz" +cdrkit_files += "/usr/share/man/man1/wodim.1.gz" + +icedax_files = "" +icedax_files += "cdrkit.manifest" +icedax_files += "/usr/bin/cdda2mp3" +icedax_files += "/usr/bin/cdda2mp3.new" +icedax_files += "/usr/bin/cdda2ogg" +icedax_files += "/usr/bin/icedax" +icedax_files += "/usr/bin/inf2cdtext.pl" +icedax_files += "/usr/bin/pitchplay" +icedax_files += "/usr/bin/readmult" +icedax_files += "/usr/bin/scan_scsi.linux" +icedax_files += "/usr/share/man/man1/cdda2mp3.1.gz" +icedax_files += "/usr/share/man/man1/cdda2ogg.1.gz" +icedax_files += "/usr/share/man/man1/icedax.1.gz" +icedax_files += "/usr/share/man/man1/list_audio_tracks.1.gz" +icedax_files += "/usr/share/man/man1/pitchplay.1.gz" +icedax_files += "/usr/share/man/man1/readmult.1.gz" + +FILES_genisoimage = "${genisoimage_files}" +FILES_${PN}-cdrtools-compat = "${cdrkit-cdrtools-compat_files}" +FILES_${PN} = "${cdrkit_files}" +FILES_icedax = "${icedax_files}" + +PKG_genisoimage= "genisoimage" +PKG_cdrkit-cdrtools-compat= "cdrkit-cdrtools-compat" +PKG_cdrkit= "cdrkit" +PKG_icedax= "icedax" + +require cdrkit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cdrkit/cdrkit_git.bb b/meta-tizen/recipes-tizen/cdrkit/cdrkit_git.bb new file mode 100644 index 0000000..e2bed17 --- /dev/null +++ b/meta-tizen/recipes-tizen/cdrkit/cdrkit_git.bb @@ -0,0 +1,8 @@ +require cdrkit.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cdrkit;protocol=ssh;tag=d206d98f6f6be40156d9f94eda8196dc307dedbe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui-extraconf.inc b/meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui.inc b/meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui.inc new file mode 100644 index 0000000..de76d6f --- /dev/null +++ b/meta-tizen/recipes-tizen/cert-svc-ui/cert-svc-ui.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "Certification service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "SAMSUNG" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "cert-svc-ui" + +cert-svc-ui_files = "" +cert-svc-ui_files += "cert-svc-ui.manifest" +cert-svc-ui_files += "/etc/smack/accesses2.d/ug.cert-svc-ui.include" +cert-svc-ui_files += "/usr/ug/lib/libmgr-cert-view.so" +cert-svc-ui_files += "/usr/ug/lib/libug-setting-manage-certificates-efl.so.*" +cert-svc-ui_files += "/usr/ug/lib/libug-setting-manage-certificates-efl.so" +cert-svc-ui_files += "/usr/ug/lib/libug-cert-selection-ug-efl.so*" +cert-svc-ui_files += "/usr/ug/res/locale/*/LC_MESSAGES/*" +cert-svc-ui_files += "/usr/share/license/cert-svc-ui" + +FILES_${PN} = "${cert-svc-ui_files}" + +PKG_cert-svc-ui= "cert-svc-ui" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require cert-svc-ui-rdepends.inc +require cert-svc-ui-depends.inc +require cert-svc-ui-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cert-svc/cert-svc-extraconf.inc b/meta-tizen/recipes-tizen/cert-svc/cert-svc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cert-svc/cert-svc-native_git.bb b/meta-tizen/recipes-tizen/cert-svc/cert-svc-native_git.bb new file mode 100644 index 0000000..abefe4b --- /dev/null +++ b/meta-tizen/recipes-tizen/cert-svc/cert-svc-native_git.bb @@ -0,0 +1,12 @@ +require cert-svc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/cert-svc;protocol=ssh;tag=91e2d40d5548afdf8a76889a9497d41784d3e926;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cert-svc/cert-svc.inc b/meta-tizen/recipes-tizen/cert-svc/cert-svc.inc new file mode 100644 index 0000000..0eba68e --- /dev/null +++ b/meta-tizen/recipes-tizen/cert-svc/cert-svc.inc @@ -0,0 +1,186 @@ +DESCRIPTION = "Certification service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "SAMSUNG" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cert-svc-devel +PROVIDES += "cert-svc-devel" +RPROVIDES_cert-svc-devel += "cert-svc-devel" +RPROVIDES_cert-svc-devel += "cert-svc-dev" + +#PROVIDES by cert-svc +PROVIDES += "cert-svc" +RPROVIDES_cert-svc += "cert-svc" +# the PROVIDES rules is ignore "libcert-svc-vcore.so.1 " +PROVIDES += "libcert-svc-vcore.so.1" +RPROVIDES_cert-svc += "libcert-svc-vcore.so.1" + +RDEPENDS = "" +#RDEPENDS of cert-svc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "cert-svc" + +#RDEPENDS of cert-svc (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of cert-svc +DEPENDS += "pkgconfig(libpcre)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "pkgconfig(xmlsec1)" +DEPENDS += "pkgconfig(secure-storage)" +DEPENDS += "pkgconfig(libpcrecpp)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(dpl-efl)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(libxslt)" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/cert-svc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DPREFIX=/usr \ + -DEXEC_PREFIX=/usr \ + -DBINDIR=/usr/bin \ + -DINCLUDEDIR=/usr/include \ + -DCMAKE_BUILD_TYPE="Release" + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/cert-svc + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + ln -sf /opt/etc/ssl/certs ${D}/opt/share/cert-svc/certs/ssl + touch ${D}/opt/share/cert-svc/pkcs12/storage + chmod 766 ${D}/opt/share/cert-svc/pkcs12/storage + + +} + +PACKAGES = "" +PACKAGES += "cert-svc-devel" +PACKAGES += "cert-svc" + +cert-svc-devel_files = "" +cert-svc-devel_files += "cert-svc.manifest" +cert-svc-devel_files += "/usr/include/*" +cert-svc-devel_files += "/usr/lib/pkgconfig/*" +cert-svc-devel_files += "/usr/lib/*.so" + +cert-svc_files = "" +cert-svc_files += "cert-svc.manifest" +cert-svc_files += "/usr/lib/*.so.*" +cert-svc_files += "/usr/bin/dpkg-pki-sig" +cert-svc_files += "/opt/share/cert-svc/targetinfo" +cert-svc_files += "/usr/share/cert-svc/cert_svc_vcore_db.sql" +cert-svc_files += "/usr/share/license/cert-svc" +#Remove rpm attribut "%attr(0755,root,use_cert)" +cert-svc_files += "/usr/share/cert-svc" +#Remove rpm attribut "%attr(0755,root,use_cert)" +cert-svc_files += "/usr/share/cert-svc/ca-certs" +#Remove rpm attribut "%attr(0755,root,use_cert)" +cert-svc_files += "/usr/share/cert-svc/ca-certs/code-signing" +#Remove rpm attribut "%attr(0755,root,use_cert)" +cert-svc_files += "/usr/share/cert-svc/ca-certs/code-signing/native" +#Remove rpm attribut "%attr(0755,root,use_cert)" +cert-svc_files += "/usr/share/cert-svc/ca-certs/code-signing/wac" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/code-signing" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/code-signing/wac" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/code-signing/tizen" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/sim" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/sim/operator" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/sim/thirdparty" +#Remove rpm attribut "%attr(0777,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/user" +#Remove rpm attribut "%attr(0777,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/trusteduser" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/mdm" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/mdm/security" +#Remove rpm attribut "%attr(0775,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/certs/mdm/security/cert" +#Remove rpm attribut "%attr(0777,root,use_cert)" +cert-svc_files += "/opt/share/cert-svc/pkcs12" +cert-svc_files += "/opt/share/cert-svc/certs/ssl" +cert-svc_files += "/opt/share/cert-svc/pkcs12/storage" + +FILES_${PN}-devel = "${cert-svc-devel_files}" +FILES_${PN} = "${cert-svc_files}" + +PKG_cert-svc-devel= "cert-svc-devel" +PKG_cert-svc= "cert-svc" + +require cert-svc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cert-svc/cert-svc_git.bb b/meta-tizen/recipes-tizen/cert-svc/cert-svc_git.bb new file mode 100644 index 0000000..beaf9ef --- /dev/null +++ b/meta-tizen/recipes-tizen/cert-svc/cert-svc_git.bb @@ -0,0 +1,8 @@ +require cert-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/cert-svc;protocol=ssh;tag=91e2d40d5548afdf8a76889a9497d41784d3e926;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/check/check-extraconf.inc b/meta-tizen/recipes-tizen/check/check-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/check/check-native_git.bb b/meta-tizen/recipes-tizen/check/check-native_git.bb new file mode 100644 index 0000000..00b5c07 --- /dev/null +++ b/meta-tizen/recipes-tizen/check/check-native_git.bb @@ -0,0 +1,12 @@ +require check.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/check;protocol=ssh;tag=0e208dc7205a2e103a582cf275c450d433177cfe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/check/check.inc b/meta-tizen/recipes-tizen/check/check.inc new file mode 100644 index 0000000..6237cb3 --- /dev/null +++ b/meta-tizen/recipes-tizen/check/check.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Unit Test Framework for C" +HOMEPAGE = "http://check.sourceforge.net/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by check +PROVIDES += "check" +RPROVIDES_check += "check" + +#PROVIDES by check-devel +PROVIDES += "check-devel" +RPROVIDES_check-devel += "check-devel" +RPROVIDES_check-devel += "check-dev" + +RDEPENDS = "" +#RDEPENDS of check-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "check" + + +DEPENDS = "" +#DEPENDS of check +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/check.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=gnu99" + export CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=gnu99" + export FFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=gnu99" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/check + rm -rf ${D}/usr/share/doc/check-0.9.8 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + +} + +PACKAGES = "" +PACKAGES += "check" +PACKAGES += "check-devel" + +check_files = "" +check_files += "check.manifest" +check_files += "/usr/lib/*.so.*" + +check-devel_files = "" +check-devel_files += "check.manifest" +check-devel_files += "/usr/share/aclocal" +check-devel_files += "/usr/share/aclocal/*.m4" +check-devel_files += "/usr/include/*.h" +check-devel_files += "/usr/lib/*.so" +check-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${check_files}" +FILES_${PN}-devel = "${check-devel_files}" + +PKG_check= "check" +PKG_check-devel= "check-devel" + +require check-extraconf.inc diff --git a/meta-tizen/recipes-tizen/check/check_git.bb b/meta-tizen/recipes-tizen/check/check_git.bb new file mode 100644 index 0000000..785b4d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/check/check_git.bb @@ -0,0 +1,8 @@ +require check.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/check;protocol=ssh;tag=0e208dc7205a2e103a582cf275c450d433177cfe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/chromium/chromium-extraconf.inc b/meta-tizen/recipes-tizen/chromium/chromium-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/chromium/chromium-native_git.bb b/meta-tizen/recipes-tizen/chromium/chromium-native_git.bb new file mode 100644 index 0000000..7e89b2c --- /dev/null +++ b/meta-tizen/recipes-tizen/chromium/chromium-native_git.bb @@ -0,0 +1,12 @@ +require chromium.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/chromium;protocol=ssh;tag=3f7c0903daea1bba8d6f817ac077fe4ef8a238fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/chromium/chromium.inc b/meta-tizen/recipes-tizen/chromium/chromium.inc new file mode 100644 index 0000000..6b36d8c --- /dev/null +++ b/meta-tizen/recipes-tizen/chromium/chromium.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "Chromium Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "App Framework/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by chromium +PROVIDES += "chromium" +RPROVIDES_chromium += "chromium" + +#PROVIDES by chromium-devel +PROVIDES += "chromium-devel" +RPROVIDES_chromium-devel += "chromium-devel" +RPROVIDES_chromium-devel += "chromium-dev" + +RDEPENDS = "" +#RDEPENDS of chromium-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "chromium" + + +DEPENDS = "" +#DEPENDS of chromium +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/chromium.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 1.0 | awk 'BEGIN {FS="."}{print $1}'` + CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_ARMEL_" + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=1.0 -DMAJORVER=${MAJORVER} + # Call make instruction with smp support + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "chromium" +PACKAGES += "chromium-devel" + +chromium_files = "" +chromium_files += "chromium.manifest" +chromium_files += "/usr/lib/libchromium.so*" + +chromium-devel_files = "" +chromium-devel_files += "chromium.manifest" +chromium-devel_files += "/usr/include/chromium/*" +chromium-devel_files += "/usr/lib/pkgconfig/chromium.pc" + +FILES_${PN} = "${chromium_files}" +FILES_${PN}-devel = "${chromium-devel_files}" + +PKG_chromium= "chromium" +PKG_chromium-devel= "chromium-devel" + +require chromium-extraconf.inc diff --git a/meta-tizen/recipes-tizen/chromium/chromium_git.bb b/meta-tizen/recipes-tizen/chromium/chromium_git.bb new file mode 100644 index 0000000..99dccb4 --- /dev/null +++ b/meta-tizen/recipes-tizen/chromium/chromium_git.bb @@ -0,0 +1,8 @@ +require chromium.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/chromium;protocol=ssh;tag=3f7c0903daea1bba8d6f817ac077fe4ef8a238fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/chrpath/chrpath-extraconf.inc b/meta-tizen/recipes-tizen/chrpath/chrpath-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/chrpath/chrpath-native_git.bb b/meta-tizen/recipes-tizen/chrpath/chrpath-native_git.bb new file mode 100644 index 0000000..0c78d68 --- /dev/null +++ b/meta-tizen/recipes-tizen/chrpath/chrpath-native_git.bb @@ -0,0 +1,12 @@ +require chrpath.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/chrpath;protocol=ssh;tag=f5746b20fc592f3fc31ded1d3ec617d04af95d42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/chrpath/chrpath.inc b/meta-tizen/recipes-tizen/chrpath/chrpath.inc new file mode 100644 index 0000000..97cd472 --- /dev/null +++ b/meta-tizen/recipes-tizen/chrpath/chrpath.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "Modify rpath of compiled programs" +HOMEPAGE = "http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/" +SECTION = "Development/Tools" +LICENSE = "GPL+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by chrpath +PROVIDES += "chrpath" +RPROVIDES_chrpath += "chrpath" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/chrpath.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + # Call make instruction with smp support + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -fr ${D}/usr/doc + + +} + +PACKAGES = "" +PACKAGES += "chrpath" + +chrpath_files = "" +chrpath_files += "chrpath.manifest" +chrpath_files += "AUTHORS COPYING README" +chrpath_files += "/usr/bin/chrpath" +chrpath_files += "/usr/share/man/man1/chrpath.1*" + +FILES_${PN} = "${chrpath_files}" + +PKG_chrpath= "chrpath" + +require chrpath-extraconf.inc diff --git a/meta-tizen/recipes-tizen/chrpath/chrpath_git.bb b/meta-tizen/recipes-tizen/chrpath/chrpath_git.bb new file mode 100644 index 0000000..1cdfdcf --- /dev/null +++ b/meta-tizen/recipes-tizen/chrpath/chrpath_git.bb @@ -0,0 +1,8 @@ +require chrpath.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/chrpath;protocol=ssh;tag=f5746b20fc592f3fc31ded1d3ec617d04af95d42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cloog-isl/cloog-isl-extraconf.inc b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cloog-isl/cloog-isl-native_git.bb b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl-native_git.bb new file mode 100644 index 0000000..2e8ab37 --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl-native_git.bb @@ -0,0 +1,12 @@ +require cloog-isl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cloog-isl;protocol=ssh;tag=764b7692a8773390e6734571b07f74ffa43155d1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cloog-isl/cloog-isl.inc b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl.inc new file mode 100644 index 0000000..26afcf8 --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "The Chunky Loop Generator" +HOMEPAGE = "http://www.cloog.org/" +SECTION = "Development/Toolchain" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cloog-isl-devel +PROVIDES += "cloog-isl-devel" +RPROVIDES_cloog-isl-devel += "cloog-isl-devel" +RPROVIDES_cloog-isl-devel += "cloog-isl-dev" + +#PROVIDES by cloog-isl +PROVIDES += "cloog-isl" +RPROVIDES_cloog-isl += "cloog-isl" + +#PROVIDES by libcloog-isl +PROVIDES += "libcloog-isl" +RPROVIDES_libcloog-isl += "libcloog-isl" + +RDEPENDS = "" +#RDEPENDS of cloog-isl-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcloog-isl" + + +DEPENDS = "" +#DEPENDS of cloog-isl +DEPENDS += "isl-devel" +DEPENDS += "gmp-devel" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n cloog-0.18.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-isl=system --disable-static + make -j16 + + exit 0 + make -j16 check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "cloog-isl-devel" +PACKAGES += "cloog-isl" +PACKAGES += "libcloog-isl" + +cloog-isl-devel_files = "" +cloog-isl-devel_files += "/usr/include/cloog" +cloog-isl-devel_files += "/usr/lib/libcloog-isl.so" +cloog-isl-devel_files += "/usr/lib/pkgconfig/*.pc" + +cloog-isl_files = "" +cloog-isl_files += "/usr/bin/cloog" + +libcloog-isl_files = "" +libcloog-isl_files += "/usr/lib/libcloog-isl.so.*" + +FILES_${PN}-devel = "${cloog-isl-devel_files}" +FILES_${PN} = "${cloog-isl_files}" +FILES_lib${PN} = "${libcloog-isl_files}" + +PKG_cloog-isl-devel= "cloog-isl-devel" +PKG_cloog-isl= "cloog-isl" +PKG_libcloog-isl= "libcloog-isl" + +require cloog-isl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cloog-isl/cloog-isl_git.bb b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl_git.bb new file mode 100644 index 0000000..0ea61a5 --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog-isl/cloog-isl_git.bb @@ -0,0 +1,8 @@ +require cloog-isl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cloog-isl;protocol=ssh;tag=764b7692a8773390e6734571b07f74ffa43155d1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cloog/cloog-extraconf.inc b/meta-tizen/recipes-tizen/cloog/cloog-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cloog/cloog-native_git.bb b/meta-tizen/recipes-tizen/cloog/cloog-native_git.bb new file mode 100644 index 0000000..f407dec --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog/cloog-native_git.bb @@ -0,0 +1,12 @@ +require cloog.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cloog;protocol=ssh;tag=7fbea83463ba553729f60cc26946af0a7b41eafd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cloog/cloog.inc b/meta-tizen/recipes-tizen/cloog/cloog.inc new file mode 100644 index 0000000..77beeec --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog/cloog.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "The Chunky Loop Generator" +HOMEPAGE = "http://www.cloog.org/" +SECTION = "Development/Languages/C and C++" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cloog-devel +PROVIDES += "cloog-devel" +RPROVIDES_cloog-devel += "cloog-devel" +RPROVIDES_cloog-devel += "cloog-dev" + +#PROVIDES by libcloog +PROVIDES += "libcloog" +RPROVIDES_libcloog += "libcloog" + +#PROVIDES by cloog +PROVIDES += "cloog" +RPROVIDES_cloog += "cloog" + +RDEPENDS = "" +#RDEPENDS of cloog-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcloog" + + +DEPENDS = "" +#DEPENDS of cloog +DEPENDS += "ppl-devel" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n cloog-ppl-0.15.10 + cp ${S}/packaging/cloog.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-ppl + make -j16 + + exit 0 + make -j16 check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "cloog-devel" +PACKAGES += "libcloog" +PACKAGES += "cloog" + +cloog-devel_files = "" +cloog-devel_files += "cloog.manifest" +cloog-devel_files += "/usr/include/cloog" +cloog-devel_files += "/usr/lib/libcloog.so" +cloog-devel_files += "/usr/lib/libcloog.a" + +libcloog_files = "" +libcloog_files += "cloog.manifest" +libcloog_files += "/usr/lib/libcloog.so.*" + +cloog_files = "" +cloog_files += "cloog.manifest" +cloog_files += "/usr/bin/cloog" +cloog_files += "/usr/share/info/cloog.info*gz" + +FILES_${PN}-devel = "${cloog-devel_files}" +FILES_lib${PN} = "${libcloog_files}" +FILES_${PN} = "${cloog_files}" + +PKG_cloog-devel= "cloog-devel" +PKG_libcloog= "libcloog" +PKG_cloog= "cloog" + +require cloog-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cloog/cloog_git.bb b/meta-tizen/recipes-tizen/cloog/cloog_git.bb new file mode 100644 index 0000000..e36c1ac --- /dev/null +++ b/meta-tizen/recipes-tizen/cloog/cloog_git.bb @@ -0,0 +1,8 @@ +require cloog.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cloog;protocol=ssh;tag=7fbea83463ba553729f60cc26946af0a7b41eafd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cmake/cmake-extraconf.inc b/meta-tizen/recipes-tizen/cmake/cmake-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cmake/cmake.inc b/meta-tizen/recipes-tizen/cmake/cmake.inc new file mode 100644 index 0000000..645a27c --- /dev/null +++ b/meta-tizen/recipes-tizen/cmake/cmake.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Cross-platform make system" +HOMEPAGE = "http://www.cmake.org" +SECTION = "Platfrom Development/Tools" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cmake +PROVIDES += "cmake" +RPROVIDES_cmake += "cmake" + +#PROVIDES by cmake-docs +PROVIDES += "cmake-docs " +RPROVIDES_cmake-docs += "cmake-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of cmake +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "ncurses-devel" +DEPENDS += "expat-devel" +DEPENDS += "fdupes-native" +DEPENDS += "gcc-c++" +DEPENDS += "procps" +DEPENDS += "pkgconfig(libarchive)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n cmake-2.8.11.2 + cp ${S}/packaging/cmake.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CXXFLAGS="$RPM_OPT_FLAGS" + export CFLAGS="$CXXFLAGS" + ./configure \ + --prefix=/usr \ + --datadir=/share/cmake \ + --docdir=/share/doc/packages/cmake \ + --mandir=/share/man \ + --system-libs \ + --parallel=016 \ + --no-qt-gui + make VERBOSE=1 -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/lib/cmake + find ${D}/usr/share/cmake -type f -print0 | xargs -0 chmod 644 + cp ${S}/packaging/TizenCommon.cmake ${D}//usr/share/cmake/Modules + + # Install cmake rpm macros + install -D -p -m 0644 ${S}/packaging/macros.cmake \ + ${D}/etc/rpm/macros.cmake + + fdupes ${D}/usr/share/cmake + + + +} + +PACKAGES = "" +PACKAGES += "cmake" +PACKAGES += "cmake-docs" + +cmake_files = "" +cmake_files += "cmake.manifest" +cmake_files += "/etc/rpm/macros.cmake" +cmake_files += "/usr/share/doc/packages/cmake" +cmake_files += "/usr/share/aclocal/cmake.m4" +cmake_files += "/usr/bin/ccmake" +cmake_files += "/usr/bin/cmake" +cmake_files += "/usr/bin/cpack" +cmake_files += "/usr/bin/ctest" +cmake_files += "/usr/share/cmake" + +cmake-docs_files = "" +cmake-docs_files += "/usr/share/info" +cmake-docs_files += "/usr/share/man" + +FILES_${PN} = "${cmake_files}" +FILES_${PN}-docs = "${cmake-docs_files}" + +PKG_cmake= "cmake" +PKG_cmake-docs= "cmake-docs" + +require cmake-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cmake/cmake_git.bb b/meta-tizen/recipes-tizen/cmake/cmake_git.bb new file mode 100644 index 0000000..e03a42a --- /dev/null +++ b/meta-tizen/recipes-tizen/cmake/cmake_git.bb @@ -0,0 +1,8 @@ +require cmake.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cmake;protocol=ssh;tag=d6f47f30d42735292f96cda03246e83e1a07455b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/com-core/com-core-extraconf.inc b/meta-tizen/recipes-tizen/com-core/com-core-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/com-core/com-core-native_git.bb b/meta-tizen/recipes-tizen/com-core/com-core-native_git.bb new file mode 100644 index 0000000..3fe5fa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/com-core/com-core-native_git.bb @@ -0,0 +1,12 @@ +require com-core.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/com-core;protocol=ssh;tag=ceffb3798e829b8f2a22efd7b0c97a7848a7b24d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/com-core/com-core.inc b/meta-tizen/recipes-tizen/com-core/com-core.inc new file mode 100644 index 0000000..ba46592 --- /dev/null +++ b/meta-tizen/recipes-tizen/com-core/com-core.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Library for the light-weight IPC" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/IPC" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcom-core +PROVIDES += "libcom-core" +RPROVIDES_libcom-core += "libcom-core" + +#PROVIDES by libcom-core-devel +PROVIDES += "libcom-core-devel" +RPROVIDES_libcom-core-devel += "libcom-core-devel" +RPROVIDES_libcom-core-devel += "libcom-core-dev" + +RDEPENDS = "" +#RDEPENDS of libcom-core-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libcom-core" + + +DEPENDS = "" +#DEPENDS of libcom-core +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(dlog)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libcom-core.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}//usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "libcom-core" +PACKAGES += "libcom-core-devel" + +libcom-core_files = "" +libcom-core_files += "libcom-core.manifest" +libcom-core_files += "/usr/lib/*.so*" +libcom-core_files += "/usr/share/license/*" + +libcom-core-devel_files = "" +libcom-core-devel_files += "libcom-core.manifest" +libcom-core-devel_files += "/usr/include/com-core/com-core.h" +libcom-core-devel_files += "/usr/include/com-core/packet.h" +libcom-core-devel_files += "/usr/include/com-core/com-core_packet.h" +libcom-core-devel_files += "/usr/include/com-core/com-core_thread.h" +libcom-core-devel_files += "/usr/include/com-core/secure_socket.h" +libcom-core-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libcom-core_files}" +FILES_${PN}-devel = "${libcom-core-devel_files}" + +PKG_libcom-core= "libcom-core" +PKG_libcom-core-devel= "libcom-core-devel" + +require com-core-extraconf.inc diff --git a/meta-tizen/recipes-tizen/com-core/com-core_git.bb b/meta-tizen/recipes-tizen/com-core/com-core_git.bb new file mode 100644 index 0000000..c9b0aa3 --- /dev/null +++ b/meta-tizen/recipes-tizen/com-core/com-core_git.bb @@ -0,0 +1,8 @@ +require com-core.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/com-core;protocol=ssh;tag=ceffb3798e829b8f2a22efd7b0c97a7848a7b24d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/common/common-extraconf.inc b/meta-tizen/recipes-tizen/common/common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/common/common-native_git.bb b/meta-tizen/recipes-tizen/common/common-native_git.bb new file mode 100644 index 0000000..cd3ef5d --- /dev/null +++ b/meta-tizen/recipes-tizen/common/common-native_git.bb @@ -0,0 +1,12 @@ +require common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/common;protocol=ssh;tag=708dfdeef6668d6a0e7a608be1f82619f3b38393;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/common/common.inc b/meta-tizen/recipes-tizen/common/common.inc new file mode 100644 index 0000000..4cb58cf --- /dev/null +++ b/meta-tizen/recipes-tizen/common/common.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Common header files of Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-base-common-devel +PROVIDES += "capi-base-common-devel" +RPROVIDES_capi-base-common-devel += "capi-base-common-devel" +RPROVIDES_capi-base-common-devel += "capi-base-common-dev" + +#PROVIDES by capi-base-common +PROVIDES += "capi-base-common" +RPROVIDES_capi-base-common += "capi-base-common" + +RDEPENDS = "" +#RDEPENDS of capi-base-common-devel (capi-base-${PN}-devel) +RDEPENDS_capi-base-${PN}-devel += "capi-base-common" + + +DEPENDS = "" +#DEPENDS of capi-base-common +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-base-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-base-common-devel" +PACKAGES += "capi-base-common" + +capi-base-common-devel_files = "" +capi-base-common-devel_files += "capi-base-common.manifest" +capi-base-common-devel_files += "/usr/include/*.h" +capi-base-common-devel_files += "/usr/lib/pkgconfig/capi-base-common.pc" + +capi-base-common_files = "" +capi-base-common_files += "capi-base-common.manifest" + +FILES_${PN}-devel = "${capi-base-common-devel_files}" +FILES_${PN} = "${capi-base-common_files}" + +PKG_capi-base-common-devel= "capi-base-common-devel" +PKG_capi-base-common= "capi-base-common" + +require common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/common/common_git.bb b/meta-tizen/recipes-tizen/common/common_git.bb new file mode 100644 index 0000000..f9b7ef5 --- /dev/null +++ b/meta-tizen/recipes-tizen/common/common_git.bb @@ -0,0 +1,8 @@ +require common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/common;protocol=ssh;tag=708dfdeef6668d6a0e7a608be1f82619f3b38393;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/compositeproto/compositeproto-extraconf.inc b/meta-tizen/recipes-tizen/compositeproto/compositeproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/compositeproto/compositeproto-native_git.bb b/meta-tizen/recipes-tizen/compositeproto/compositeproto-native_git.bb new file mode 100644 index 0000000..edd4a08 --- /dev/null +++ b/meta-tizen/recipes-tizen/compositeproto/compositeproto-native_git.bb @@ -0,0 +1,12 @@ +require compositeproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/compositeproto;protocol=ssh;tag=e8c64e0d2d57ad2eb014866b5ca47fb8cb1e032c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/compositeproto/compositeproto.inc b/meta-tizen/recipes-tizen/compositeproto/compositeproto.inc new file mode 100644 index 0000000..7a1ef9f --- /dev/null +++ b/meta-tizen/recipes-tizen/compositeproto/compositeproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by compositeproto +PROVIDES += "compositeproto" +RPROVIDES_compositeproto += "compositeproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of compositeproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/compositeproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/compositeproto + rm -rf ${D}/usr/share/doc/compositeproto-0.4.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "compositeproto" + +compositeproto_files = "" +compositeproto_files += "compositeproto.manifest" +compositeproto_files += "/usr/include/X11/extensions/*" +compositeproto_files += "/usr/share/pkgconfig/*" + +FILES_${PN} = "${compositeproto_files}" + +PKG_compositeproto= "compositeproto" + +require compositeproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/compositeproto/compositeproto_git.bb b/meta-tizen/recipes-tizen/compositeproto/compositeproto_git.bb new file mode 100644 index 0000000..d8a87a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/compositeproto/compositeproto_git.bb @@ -0,0 +1,8 @@ +require compositeproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/compositeproto;protocol=ssh;tag=e8c64e0d2d57ad2eb014866b5ca47fb8cb1e032c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/config/config-extraconf.inc b/meta-tizen/recipes-tizen/config/config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/config/config-native_git.bb b/meta-tizen/recipes-tizen/config/config-native_git.bb new file mode 100644 index 0000000..3cc9315 --- /dev/null +++ b/meta-tizen/recipes-tizen/config/config-native_git.bb @@ -0,0 +1,12 @@ +require config.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/generic/model/config;protocol=ssh;tag=75e684c6faa9fc986415c6b76993c75d433501fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/config/config.inc b/meta-tizen/recipes-tizen/config/config.inc new file mode 100644 index 0000000..a012b2f --- /dev/null +++ b/meta-tizen/recipes-tizen/config/config.inc @@ -0,0 +1,69 @@ +DESCRIPTION = "A Model configuration" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Configuration" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by model-config-generic +PROVIDES += "model-config-generic" +RPROVIDES_model-config-generic += "model-config-generic" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n model-config-generic-0.0.1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/etc/config + cp -f model-config.xml ${D}/etc/config/model-config.xml + + +} + +PACKAGES = "" +PACKAGES += "model-config-generic" + +model-config-generic_files = "" +model-config-generic_files += "model-config.manifest" +model-config-generic_files += "/etc/config/model-config.xml" + +FILES_${PN} = "${model-config-generic_files}" + +PKG_model-config-generic= "model-config-generic" + +require config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/config/config_git.bb b/meta-tizen/recipes-tizen/config/config_git.bb new file mode 100644 index 0000000..c712b00 --- /dev/null +++ b/meta-tizen/recipes-tizen/config/config_git.bb @@ -0,0 +1,8 @@ +require config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/generic/model/config;protocol=ssh;tag=75e684c6faa9fc986415c6b76993c75d433501fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/connection/connection-extraconf.inc b/meta-tizen/recipes-tizen/connection/connection-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/connection/connection-native_git.bb b/meta-tizen/recipes-tizen/connection/connection-native_git.bb new file mode 100644 index 0000000..5a20c6f --- /dev/null +++ b/meta-tizen/recipes-tizen/connection/connection-native_git.bb @@ -0,0 +1,12 @@ +require connection.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/connection;protocol=ssh;tag=5ec3b5009863330a604936cedcc75cd9fee3d89a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/connection/connection.inc b/meta-tizen/recipes-tizen/connection/connection.inc new file mode 100644 index 0000000..4445ecd --- /dev/null +++ b/meta-tizen/recipes-tizen/connection/connection.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Network Connection library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache License Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-connection-devel +PROVIDES += "capi-network-connection-devel" +RPROVIDES_capi-network-connection-devel += "capi-network-connection-devel" +RPROVIDES_capi-network-connection-devel += "capi-network-connection-dev" + +#PROVIDES by capi-network-connection +PROVIDES += "capi-network-connection" +RPROVIDES_capi-network-connection += "capi-network-connection" + +RDEPENDS = "" +#RDEPENDS of capi-network-connection-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-network-connection" + + +DEPENDS = "" +#DEPENDS of capi-network-connection +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(network)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-connection.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + unset LD_AS_NEEDED + MAJORVER=`echo 0.1.3_13 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.3_13 -DMAJORVER=${MAJORVER} + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/capi-network-connection + + +} + +PACKAGES = "" +PACKAGES += "capi-network-connection-devel" +PACKAGES += "capi-network-connection" + +capi-network-connection-devel_files = "" +capi-network-connection-devel_files += "capi-network-connection.manifest" +capi-network-connection-devel_files += "/usr/include/network/*.h" +capi-network-connection-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-network-connection-devel_files += "/usr/lib/libcapi-network-connection.so" + +capi-network-connection_files = "" +capi-network-connection_files += "capi-network-connection.manifest" +capi-network-connection_files += "/usr/share/license/capi-network-connection" + +FILES_${PN}-devel = "${capi-network-connection-devel_files}" +FILES_${PN} = "${capi-network-connection_files}" + +PKG_capi-network-connection-devel= "capi-network-connection-devel" +PKG_capi-network-connection= "capi-network-connection" + +require connection-extraconf.inc diff --git a/meta-tizen/recipes-tizen/connection/connection_git.bb b/meta-tizen/recipes-tizen/connection/connection_git.bb new file mode 100644 index 0000000..4de7f46 --- /dev/null +++ b/meta-tizen/recipes-tizen/connection/connection_git.bb @@ -0,0 +1,8 @@ +require connection.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/connection;protocol=ssh;tag=5ec3b5009863330a604936cedcc75cd9fee3d89a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/connman/connman-extraconf.inc b/meta-tizen/recipes-tizen/connman/connman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/connman/connman-native_git.bb b/meta-tizen/recipes-tizen/connman/connman-native_git.bb new file mode 100644 index 0000000..c857c8f --- /dev/null +++ b/meta-tizen/recipes-tizen/connman/connman-native_git.bb @@ -0,0 +1,12 @@ +require connman.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/connman;protocol=ssh;tag=7a3541b4f5e6d21fa39385bc9c12cb0e3b377358;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/connman/connman.inc b/meta-tizen/recipes-tizen/connman/connman.inc new file mode 100644 index 0000000..227161d --- /dev/null +++ b/meta-tizen/recipes-tizen/connman/connman.inc @@ -0,0 +1,187 @@ +DESCRIPTION = "Connection Manager" +HOMEPAGE = "http://connman.net" +SECTION = "Network & Connectivity/Connection Management" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by connman +PROVIDES += "connman" +RPROVIDES_connman += "connman" + +#PROVIDES by connman-devel +PROVIDES += "connman-devel" +RPROVIDES_connman-devel += "connman-devel" +RPROVIDES_connman-devel += "connman-dev" + +#PROVIDES by connman-test +PROVIDES += "connman-test" +RPROVIDES_connman-test += "connman-test" + +#PROVIDES by connman-docs +PROVIDES += "connman-docs " +RPROVIDES_connman-docs += "connman-docs " + +RDEPENDS = "" +#RDEPENDS of connman (${PN}) +RDEPENDS_${PN} += "iptables" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of connman-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "connman" + +#RDEPENDS of connman-test (${PN}-test) +RDEPENDS_${PN}-test += "pygobject" +RDEPENDS_${PN}-test += "connman" +RDEPENDS_${PN}-test += "python-xml" +RDEPENDS_${PN}-test += "dbus-python" + + +DEPENDS = "" +#DEPENDS of connman +DEPENDS += "systemd" +DEPENDS += "readline-devel" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(gnutls)" +DEPENDS += "pkgconfig(xtables)" +DEPENDS += "pkgconfig(libiptc)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/connman.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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+=" -DTIZEN_EXT" + + ./bootstrap + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-threads \ + --enable-client \ + --enable-pacrunner \ + --enable-wifi=builtin \ + --enable-test \ + --enable-loopback \ + --enable-ethernet \ + --disable-linklocaladdr \ + --disable-rfkill \ + --with-systemdunitdir=/lib/systemd/system + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + mkdir -p ${D}/etc/connman + cp src/main.conf ${D}/etc/connman/main.conf + + + mkdir -p ${D}//lib/systemd/system/network.target.wants + ln -s ../connman.service ${D}//lib/systemd/system/network.target.wants/connman.service + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../connman.service ${D}//lib/systemd/system/multi-user.target.wants/connman.service + + +} + +PACKAGES = "" +PACKAGES += "connman" +PACKAGES += "connman-docs" +PACKAGES += "connman-test" +PACKAGES += "connman-devel" + +connman_files = "" +connman_files += "connman.manifest" +connman_files += "connman.manifest" +connman_files += "/usr/sbin/*" +connman_files += "/usr/lib/connman/plugins/*.so" +connman_files += "/usr/share/man/*" +connman_files += "/etc/connman/main.conf" +connman_files += "/etc/dbus-1/system.d/*" +connman_files += "/lib/systemd/system/connman.service" +connman_files += "/lib/systemd/system/network.target.wants/connman.service" +connman_files += "/lib/systemd/system/multi-user.target.wants/connman.service" + +connman-docs_files = "" +connman-docs_files += "/usr/share/info" +connman-docs_files += "/usr/share/man" + +connman-test_files = "" +connman-test_files += "connman.manifest" +connman-test_files += "/usr/lib/connman/test/*" + +connman-devel_files = "" +connman-devel_files += "connman.manifest" +connman-devel_files += "/usr/include/connman/*.h" +connman-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${connman_files}" +FILES_${PN}-docs = "${connman-docs_files}" +FILES_${PN}-test = "${connman-test_files}" +FILES_${PN}-devel = "${connman-devel_files}" + +PKG_connman= "connman" +PKG_connman-docs= "connman-docs" +PKG_connman-test= "connman-test" +PKG_connman-devel= "connman-devel" + +require connman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/connman/connman_git.bb b/meta-tizen/recipes-tizen/connman/connman_git.bb new file mode 100644 index 0000000..603d106 --- /dev/null +++ b/meta-tizen/recipes-tizen/connman/connman_git.bb @@ -0,0 +1,8 @@ +require connman.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/connman;protocol=ssh;tag=7a3541b4f5e6d21fa39385bc9c12cb0e3b377358;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/contacts-service/contacts-service-extraconf.inc b/meta-tizen/recipes-tizen/contacts-service/contacts-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/contacts-service/contacts-service-native_git.bb b/meta-tizen/recipes-tizen/contacts-service/contacts-service-native_git.bb new file mode 100644 index 0000000..22db10b --- /dev/null +++ b/meta-tizen/recipes-tizen/contacts-service/contacts-service-native_git.bb @@ -0,0 +1,12 @@ +require contacts-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/contacts-service;protocol=ssh;tag=51a7dda371559d3363d5406a630894fc8c3935d5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/contacts-service/contacts-service.inc b/meta-tizen/recipes-tizen/contacts-service/contacts-service.inc new file mode 100644 index 0000000..3637df4 --- /dev/null +++ b/meta-tizen/recipes-tizen/contacts-service/contacts-service.inc @@ -0,0 +1,163 @@ +DESCRIPTION = "Contacts Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Contents/Contacts" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by contacts-service2 +PROVIDES += "contacts-service2" +RPROVIDES_contacts-service2 += "contacts-service2" + +#PROVIDES by contacts-service +PROVIDES += "contacts-service" +RPROVIDES_contacts-service += "contacts-service" + +#PROVIDES by contacts-service2-devel +PROVIDES += "contacts-service2-devel" +RPROVIDES_contacts-service2-devel += "contacts-service2-devel" +RPROVIDES_contacts-service2-devel += "contacts-service2-dev" + +RDEPENDS = "" +#RDEPENDS of contacts-service2 (${PN}2) +RDEPENDS_${PN}2 += "libprivilege-control-conf" + +#RDEPENDS of contacts-service (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/bin/chown" +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/bin/chmod" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of contacts-service2-devel (${PN}2-devel) +RDEPENDS_${PN}2-devel += "contacts-service2" + + +DEPENDS = "" +#DEPENDS of contacts-service +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(pims-ipc)" +DEPENDS += "vconf-keys-devel" +DEPENDS += "pkgconfig(capi-media-image-util)" +DEPENDS += "pkgconfig(accounts-svc)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "badge" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/contacts-service2.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/user/tizen-middleware.target.wants + install -m 0644 ${S}/packaging/contacts-service.service ${D}/usr/lib/systemd/user/contacts-service.service + ln -s ../contacts-service.service ${D}/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service + + mkdir -p ${D}/usr/lib/systemd/user/sockets.target.wants + install -m 0644 ${S}/packaging/contacts-service.socket ${D}/usr/lib/systemd/user/contacts-service.socket + ln -s ../contacts-service.socket ${D}/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket + + + +} + +PACKAGES = "" +PACKAGES += "contacts-service2" +PACKAGES += "contacts-service2-devel" + +contacts-service2_files = "" +contacts-service2_files += "contacts-service2.manifest" +contacts-service2_files += "/usr/lib/libcontacts-service2.so.*" +contacts-service2_files += "/usr/bin/contacts-service-ipcd*" +contacts-service2_files += "/opt/usr/data/contacts-svc/.CONTACTS_SVC_*" +contacts-service2_files += "/opt/usr/data/contacts-svc/img/*" +contacts-service2_files += "/usr/lib/systemd/user/contacts-service.service" +contacts-service2_files += "/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service" +contacts-service2_files += "/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket" +contacts-service2_files += "/usr/lib/systemd/user/contacts-service.socket" +contacts-service2_files += "/opt/usr/dbspace/.contacts-svc.db*" +contacts-service2_files += "/opt/etc/smack/accesses.d/contacts-service2.rule" + +contacts-service2-devel_files = "" +contacts-service2-devel_files += "/usr/lib/libcontacts-service2.so" +contacts-service2-devel_files += "/usr/lib/pkgconfig/contacts-service2.pc" +contacts-service2-devel_files += "/usr/include/contacts-svc/contacts.h" +contacts-service2-devel_files += "/usr/include/contacts-svc/contacts_*.h" + +FILES_${PN}2 = "${contacts-service2_files}" +FILES_${PN}2-devel = "${contacts-service2-devel_files}" + +PKG_contacts-service2= "contacts-service2" +PKG_contacts-service2-devel= "contacts-service2-devel" + +require contacts-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/contacts-service/contacts-service_git.bb b/meta-tizen/recipes-tizen/contacts-service/contacts-service_git.bb new file mode 100644 index 0000000..6070ee3 --- /dev/null +++ b/meta-tizen/recipes-tizen/contacts-service/contacts-service_git.bb @@ -0,0 +1,8 @@ +require contacts-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/contacts-service;protocol=ssh;tag=51a7dda371559d3363d5406a630894fc8c3935d5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/coreutils/coreutils-extraconf.inc b/meta-tizen/recipes-tizen/coreutils/coreutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/coreutils/coreutils.inc b/meta-tizen/recipes-tizen/coreutils/coreutils.inc new file mode 100644 index 0000000..ad3c723 --- /dev/null +++ b/meta-tizen/recipes-tizen/coreutils/coreutils.inc @@ -0,0 +1,221 @@ +DESCRIPTION = "GNU Core Utilities" +HOMEPAGE = "http://www.gnu.org/software/coreutils/" +SECTION = "Base/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by coreutils-locale +PROVIDES += "coreutils-locale " +RPROVIDES_coreutils-locale += "coreutils-locale " +# the PROVIDES rules is ignore "coreutils-lang-all = 8.21" +PROVIDES += "coreutils-lang-all" +RPROVIDES_coreutils-locale += "coreutils-lang-all" + +#PROVIDES by coreutils +PROVIDES += "coreutils" +RPROVIDES_coreutils += "coreutils" +# the PROVIDES rules is ignore "fileutils = 8.21" +PROVIDES += "fileutils" +RPROVIDES_coreutils += "fileutils" +# the PROVIDES rules is ignore "mktemp = 8.21" +PROVIDES += "mktemp" +RPROVIDES_coreutils += "mktemp" +# the PROVIDES rules is ignore "sh-utils = 8.21" +PROVIDES += "sh-utils" +RPROVIDES_coreutils += "sh-utils" +# the PROVIDES rules is ignore "stat = 8.21}" +PROVIDES += "stat" +RPROVIDES_coreutils += "stat" +# the PROVIDES rules is ignore "textutils = 8.21" +PROVIDES += "textutils" +RPROVIDES_coreutils += "textutils" +# the PROVIDES rules is ignore "/bin/basename " +PROVIDES += "/bin/basename" +RPROVIDES_coreutils += "/bin/basename" +# the PROVIDES rules is ignore "/bin/cat " +PROVIDES += "/bin/cat" +RPROVIDES_coreutils += "/bin/cat" +# the PROVIDES rules is ignore "/bin/chmod " +PROVIDES += "/bin/chmod" +RPROVIDES_coreutils += "/bin/chmod" +# the PROVIDES rules is ignore "/bin/chown " +PROVIDES += "/bin/chown" +RPROVIDES_coreutils += "/bin/chown" +# the PROVIDES rules is ignore "/bin/cp " +PROVIDES += "/bin/cp" +RPROVIDES_coreutils += "/bin/cp" +# the PROVIDES rules is ignore "/bin/ln " +PROVIDES += "/bin/ln" +RPROVIDES_coreutils += "/bin/ln" +# the PROVIDES rules is ignore "/bin/ls " +PROVIDES += "/bin/ls" +RPROVIDES_coreutils += "/bin/ls" +# the PROVIDES rules is ignore "/bin/mkdir " +PROVIDES += "/bin/mkdir" +RPROVIDES_coreutils += "/bin/mkdir" +# the PROVIDES rules is ignore "/bin/mv " +PROVIDES += "/bin/mv" +RPROVIDES_coreutils += "/bin/mv" +# the PROVIDES rules is ignore "/bin/pwd " +PROVIDES += "/bin/pwd" +RPROVIDES_coreutils += "/bin/pwd" +# the PROVIDES rules is ignore "/bin/rm " +PROVIDES += "/bin/rm" +RPROVIDES_coreutils += "/bin/rm" +# the PROVIDES rules is ignore "/bin/sort " +PROVIDES += "/bin/sort" +RPROVIDES_coreutils += "/bin/sort" +# the PROVIDES rules is ignore "/bin/touch " +PROVIDES += "/bin/touch" +RPROVIDES_coreutils += "/bin/touch" + +#PROVIDES by coreutils-docs +PROVIDES += "coreutils-docs " +RPROVIDES_coreutils-docs += "coreutils-docs " + +RDEPENDS = "" +#RDEPENDS of coreutils-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "coreutils" + +#RDEPENDS of coreutils (${PN}) +RDEPENDS_${PN} += "pam" + + +DEPENDS = "" +#DEPENDS of coreutils +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "gmp-devel" +DEPENDS += "gperf" +DEPENDS += "acl" +DEPENDS += "xz" +DEPENDS += "bison-native" +DEPENDS += "makeinfo" +DEPENDS += "libcap-devel" +DEPENDS += "help2man-native" +DEPENDS += "smack-devel" +DEPENDS += "automake-native" +DEPENDS += "pam-devel" + +do_patch() { + #extracte source 4 + pushd ${S} + unp ${S}/packaging/gnulib.tar.bz2 + popd + #extracte source 5 + pushd ${S} + unp ${S}/packaging/po.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -a 4 -a 5 + cp ${S}/packaging/coreutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./bootstrap --no-git --gnulib-srcdir=gnulib --skip-po --no-bootstrap-sync + #AUTOPOINT=true autoreconf -fi + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --libexecdir=/usr/lib --without-included-regex \ + --enable-install-program=arch \ + --enable-no-install-program=uptime \ + --enable-libsmack=yes \ + gl_cv_func_printf_directive_n=yes \ + gl_cv_func_isnanl_works=yes \ + DEFAULT_POSIX2_VERSION=199209 + + make -C po update-po + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- pkglibexecdir=/usr/lib/coreutils + echo '.so man1/test.1' > ${D}//usr/share/man/man1/\[.1 + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} coreutils + + + +} + +PACKAGES = "" +PACKAGES += "coreutils" +PACKAGES += "coreutils-locale" +PACKAGES += "coreutils-docs" + +coreutils_files = "" +coreutils_files += "coreutils.manifest" +coreutils_files += "README NEWS" +coreutils_files += "/usr/bin/*" +coreutils_files += "/usr/lib/coreutils" +coreutils_files += "/usr/share/locale/*/LC_TIME" + +coreutils-locale_files = "" + +coreutils-docs_files = "" +coreutils-docs_files += "/usr/share/info" +coreutils-docs_files += "/usr/share/man" + +FILES_${PN} = "${coreutils_files}" +FILES_${PN}-locale = "${coreutils-locale_files}" +FILES_${PN}-docs = "${coreutils-docs_files}" + +PKG_coreutils= "coreutils" +PKG_coreutils-locale= "coreutils-locale" +PKG_coreutils-docs= "coreutils-docs" + +require coreutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/corewatcher/corewatcher-extraconf.inc b/meta-tizen/recipes-tizen/corewatcher/corewatcher-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/corewatcher/corewatcher-native_git.bb b/meta-tizen/recipes-tizen/corewatcher/corewatcher-native_git.bb new file mode 100644 index 0000000..3e110f2 --- /dev/null +++ b/meta-tizen/recipes-tizen/corewatcher/corewatcher-native_git.bb @@ -0,0 +1,12 @@ +require corewatcher.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/corewatcher;protocol=ssh;tag=7b5cb6213ea862ee21134ce712596493ca7eb2ba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/corewatcher/corewatcher.inc b/meta-tizen/recipes-tizen/corewatcher/corewatcher.inc new file mode 100644 index 0000000..5d1bf95 --- /dev/null +++ b/meta-tizen/recipes-tizen/corewatcher/corewatcher.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "A crash dump reporting tool" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by corewatcher +PROVIDES += "corewatcher" +RPROVIDES_corewatcher += "corewatcher" + +RDEPENDS = "" +#RDEPENDS of corewatcher (${PN}) +RDEPENDS_${PN} += "gdb" + + +DEPENDS = "" +#DEPENDS of corewatcher +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libsystemd-journal)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n corewatcher-0.9.11 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/corewatcher.manifest . + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../corewatcher.service ${D}//lib/systemd/system/multi-user.target.wants/corewatcher.service + + +} + +PACKAGES = "" +PACKAGES += "corewatcher" + +corewatcher_files = "" +corewatcher_files += "corewatcher.manifest" +corewatcher_files += "corewatcher.manifest" +corewatcher_files += "/etc/corewatcher/corewatcher.conf" +corewatcher_files += "/etc/security/limits.d/95-core.conf" +corewatcher_files += "/etc/corewatcher/gdb.command" +corewatcher_files += "/usr/sbin/corewatcher" +corewatcher_files += "/lib/systemd/system/corewatcher.service" +corewatcher_files += "/lib/systemd/system/multi-user.target.wants/corewatcher.service" + +FILES_${PN} = "${corewatcher_files}" + +PKG_corewatcher= "corewatcher" + +require corewatcher-extraconf.inc diff --git a/meta-tizen/recipes-tizen/corewatcher/corewatcher_git.bb b/meta-tizen/recipes-tizen/corewatcher/corewatcher_git.bb new file mode 100644 index 0000000..9a2136b --- /dev/null +++ b/meta-tizen/recipes-tizen/corewatcher/corewatcher_git.bb @@ -0,0 +1,8 @@ +require corewatcher.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/corewatcher;protocol=ssh;tag=7b5cb6213ea862ee21134ce712596493ca7eb2ba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cpio/cpio-extraconf.inc b/meta-tizen/recipes-tizen/cpio/cpio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cpio/cpio-native_git.bb b/meta-tizen/recipes-tizen/cpio/cpio-native_git.bb new file mode 100644 index 0000000..efadcb1 --- /dev/null +++ b/meta-tizen/recipes-tizen/cpio/cpio-native_git.bb @@ -0,0 +1,12 @@ +require cpio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cpio;protocol=ssh;tag=de4710ca16b9e425e899fc310ec7a6204a119e9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cpio/cpio.inc b/meta-tizen/recipes-tizen/cpio/cpio.inc new file mode 100644 index 0000000..094f6a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/cpio/cpio.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "A GNU archiving program" +HOMEPAGE = "http://www.gnu.org/software/cpio/" +SECTION = "Base/Tools" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cpio +PROVIDES += "cpio" +RPROVIDES_cpio += "cpio" + +#PROVIDES by cpio-docs +PROVIDES += "cpio-docs " +RPROVIDES_cpio-docs += "cpio-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of cpio +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/cpio.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export ac_cv_prog_cc_c99=no + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/man/man1 + + rm -rf ${D}/usr/libexec/rmt + + + + +} + +PACKAGES = "" +PACKAGES += "cpio" +PACKAGES += "cpio-docs" + +cpio_files = "" +cpio_files += "cpio.manifest" +cpio_files += "/usr/bin/*" + +cpio-docs_files = "" +cpio-docs_files += "/usr/share/info" +cpio-docs_files += "/usr/share/man" + +FILES_${PN} = "${cpio_files}" +FILES_${PN}-docs = "${cpio-docs_files}" + +PKG_cpio= "cpio" +PKG_cpio-docs= "cpio-docs" + +require cpio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cpio/cpio_git.bb b/meta-tizen/recipes-tizen/cpio/cpio_git.bb new file mode 100644 index 0000000..6d7c728 --- /dev/null +++ b/meta-tizen/recipes-tizen/cpio/cpio_git.bb @@ -0,0 +1,8 @@ +require cpio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cpio;protocol=ssh;tag=de4710ca16b9e425e899fc310ec7a6204a119e9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/crda/crda-extraconf.inc b/meta-tizen/recipes-tizen/crda/crda-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/crda/crda-native_git.bb b/meta-tizen/recipes-tizen/crda/crda-native_git.bb new file mode 100644 index 0000000..b7808df --- /dev/null +++ b/meta-tizen/recipes-tizen/crda/crda-native_git.bb @@ -0,0 +1,12 @@ +require crda.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/crda;protocol=ssh;tag=60deedc8824dec51c932883929e753b29d057a24;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/crda/crda.inc b/meta-tizen/recipes-tizen/crda/crda.inc new file mode 100644 index 0000000..1bba6cd --- /dev/null +++ b/meta-tizen/recipes-tizen/crda/crda.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "Linux central regulatory domain agent" +HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/" +SECTION = "System/Base" +LICENSE = "ISC" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by crda-docs +PROVIDES += "crda-docs " +RPROVIDES_crda-docs += "crda-docs " + +#PROVIDES by crda +PROVIDES += "crda" +RPROVIDES_crda += "crda" + +RDEPENDS = "" +#RDEPENDS of crda (${PN}) +RDEPENDS_${PN} += "libnl" +RDEPENDS_${PN} += "libgcrypt" + + +DEPENDS = "" +#DEPENDS of crda +DEPENDS += "libnl-devel" +DEPENDS += "gcc-cross" +DEPENDS += "python-M2Crypto" +DEPENDS += "libgcrypt-devel" +DEPENDS += "wireless-regdb" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/crda.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make DESTDIR=${D} UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=/usr/sbin + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=/usr/sbin + + + +} + +PACKAGES = "" +PACKAGES += "crda" +PACKAGES += "crda-docs" + +crda_files = "" +crda_files += "crda.manifest" +crda_files += "/usr/sbin/crda" +crda_files += "/usr/sbin/regdbdump" +crda_files += "/usr/lib/udev/rules.d/85-regulatory.rules" + +crda-docs_files = "" +crda-docs_files += "/usr/share/info" +crda-docs_files += "/usr/share/man" + +FILES_${PN} = "${crda_files}" +FILES_${PN}-docs = "${crda-docs_files}" + +PKG_crda= "crda" +PKG_crda-docs= "crda-docs" + +require crda-extraconf.inc diff --git a/meta-tizen/recipes-tizen/crda/crda_git.bb b/meta-tizen/recipes-tizen/crda/crda_git.bb new file mode 100644 index 0000000..861a3af --- /dev/null +++ b/meta-tizen/recipes-tizen/crda/crda_git.bb @@ -0,0 +1,8 @@ +require crda.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/crda;protocol=ssh;tag=60deedc8824dec51c932883929e753b29d057a24;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/createrepo/createrepo-extraconf.inc b/meta-tizen/recipes-tizen/createrepo/createrepo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/createrepo/createrepo-native_git.bb b/meta-tizen/recipes-tizen/createrepo/createrepo-native_git.bb new file mode 100644 index 0000000..24c0f1a --- /dev/null +++ b/meta-tizen/recipes-tizen/createrepo/createrepo-native_git.bb @@ -0,0 +1,12 @@ +require createrepo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/createrepo;protocol=ssh;tag=3bba8eb0a7b7a11090fa8aa469c3609ff8e29089;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/createrepo/createrepo.inc b/meta-tizen/recipes-tizen/createrepo/createrepo.inc new file mode 100644 index 0000000..f0205d4 --- /dev/null +++ b/meta-tizen/recipes-tizen/createrepo/createrepo.inc @@ -0,0 +1,87 @@ +DESCRIPTION = "Creates a common metadata repository" +HOMEPAGE = "http://createrepo.baseurl.org/" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by createrepo +PROVIDES += "createrepo" +RPROVIDES_createrepo += "createrepo" + +RDEPENDS = "" +#RDEPENDS of createrepo (${PN}) +RDEPENDS_${PN} += "python-libxml2" +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "python-deltarpm" +RDEPENDS_${PN} += "python-rpm" +RDEPENDS_${PN} += "deltarpm" +RDEPENDS_${PN} += "yum" +RDEPENDS_${PN} += "rpm" +RDEPENDS_${PN} += "yum-metadata-parser" + + +DEPENDS = "" +#DEPENDS of createrepo +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/createrepo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} sysconfdir=/etc install + + +} + +PACKAGES = "" +PACKAGES += "createrepo" + +createrepo_files = "" +createrepo_files += "createrepo.manifest" +createrepo_files += "/etc/bash_completion.d/" +createrepo_files += "/usr/share/createrepo/" +createrepo_files += "/usr/bin/createrepo" +createrepo_files += "/usr/bin/modifyrepo" +createrepo_files += "/usr/bin/mergerepo" +createrepo_files += "/usr/share/man/*/*" +createrepo_files += "/usr/lib/python2.7/site-packages/createrepo" + +FILES_${PN} = "${createrepo_files}" + +PKG_createrepo= "createrepo" + +require createrepo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/createrepo/createrepo_git.bb b/meta-tizen/recipes-tizen/createrepo/createrepo_git.bb new file mode 100644 index 0000000..b76d5dd --- /dev/null +++ b/meta-tizen/recipes-tizen/createrepo/createrepo_git.bb @@ -0,0 +1,8 @@ +require createrepo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/createrepo;protocol=ssh;tag=3bba8eb0a7b7a11090fa8aa469c3609ff8e29089;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-extraconf.inc b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-native_git.bb b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-native_git.bb new file mode 100644 index 0000000..4500a7a --- /dev/null +++ b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils-native_git.bb @@ -0,0 +1,12 @@ +require cross-arm-binutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/binutils;protocol=ssh;tag=24337f2949b6a4ad07a06de6305fe56fd5965c3d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils.inc b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils.inc new file mode 100644 index 0000000..24b1a2d --- /dev/null +++ b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "GNU Binutils" +HOMEPAGE = "http://www.gnu.org/software/binutils/" +SECTION = "Development/Tools/Building" +LICENSE = "GFDL-1.3 and GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cross-arm-binutils-devel +PROVIDES += "cross-arm-binutils-devel" +RPROVIDES_cross-arm-binutils-devel += "cross-arm-binutils-devel" +RPROVIDES_cross-arm-binutils-devel += "cross-arm-binutils-dev" +# the PROVIDES rules is ignore "binutils:/usr/include/bfd.h " +PROVIDES += "binutils:/usr/include/bfd.h" +RPROVIDES_cross-arm-binutils-devel += "binutils:/usr/include/bfd.h" + +#PROVIDES by cross-arm-binutils-gold +PROVIDES += "cross-arm-binutils-gold" +RPROVIDES_cross-arm-binutils-gold += "cross-arm-binutils-gold" + +#PROVIDES by cross-arm-binutils +PROVIDES += "cross-arm-binutils" +RPROVIDES_cross-arm-binutils += "cross-arm-binutils" + +RDEPENDS = "" +#RDEPENDS of cross-arm-binutils-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "binutils" + +#RDEPENDS of cross-arm-binutils-gold (${PN}-gold) +RDEPENDS_${PN}-gold += "binutils" + +#RDEPENDS of cross-arm-binutils (${PN}) +RDEPENDS_${PN} += "update-alternatives" + + +DEPENDS = "" +#DEPENDS of cross-arm-binutils +DEPENDS += "flex" +DEPENDS += "zlib-devel-static" +DEPENDS += "glibc-devel-static" +DEPENDS += "bc" +DEPENDS += "bison-native" +DEPENDS += "gcc-c++" +DEPENDS += "makeinfo" + +do_patch() { + echo "make check will return with true in case of testsuite failures." + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n binutils-2.23.1 + + sed -i -e '/BFD_VERSION_DATE/s/$/-0/' bfd/version.h + +} + +do_configure() { +} + +do_compile() { + 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 ; + + RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" + RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` + # building cross-TARGET-binutils + echo "Building cross binutils." + mkdir build-dir + cd build-dir + EXTRA_TARGETS= + EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi" + TARGET_OS=arm-tizen-linux-gnueabi + ../configure CFLAGS="${RPM_OPT_FLAGS}" \ + --prefix=/usr \ + --with-bugurl=http://bugs.opensuse.org/ \ + --with-pkgversion="GNU Binutils; %distribution" \ + --disable-nls \ + --build=x86_64-tizen-linux --target=$TARGET_OS \ + --with-sysroot=/usr/$TARGET_OS/sys-root \ + ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} + make -j16 all-bfd TARGET-bfd=headers + # force reconfiguring + rm bfd/Makefile + make -j16 + + exit 0 + unset LD_AS_NEEDED + cd build-dir + make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || true + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build-dir + # installing cross-TARGET-binutils and TARGET-binutils + make DESTDIR=$RPM_BUILD_ROOT install + # Replace hard links by symlinks, so that rpmlint doesn't complain + T=$(basename ${D}/usr/arm*) + for f in ${D}/usr/$T/bin/* ; do + ln -sf /usr/bin/$T-$(basename $f) $f + done + rm -rf $RPM_BUILD_ROOT/usr/share/man + rm -rf $RPM_BUILD_ROOT/usr/share/info + rm -rf $RPM_BUILD_ROOT/usr/lib* + rm -rf $RPM_BUILD_ROOT/usr/include + rm -f $RPM_BUILD_ROOT/usr/bin/*-c++filt + > ../binutils.lang + cd $RPM_BUILD_DIR/binutils-2.23.1 + + + + +} + +PACKAGES = "" +PACKAGES += "cross-arm-binutils" + +cross-arm-binutils_files = "" +cross-arm-binutils_files += "/usr/arm*" +cross-arm-binutils_files += "/usr/bin/*" + +FILES_${PN} = "${cross-arm-binutils_files}" + +PKG_cross-arm-binutils= "cross-arm-binutils" + +require cross-arm-binutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils_git.bb b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils_git.bb new file mode 100644 index 0000000..cf2a2d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/cross-arm-binutils/cross-arm-binutils_git.bb @@ -0,0 +1,8 @@ +require cross-arm-binutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/binutils;protocol=ssh;tag=24337f2949b6a4ad07a06de6305fe56fd5965c3d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-extraconf.inc b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-native_git.bb b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-native_git.bb new file mode 100644 index 0000000..bdb7f6c --- /dev/null +++ b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git-native_git.bb @@ -0,0 +1,12 @@ +require crosswalk.git.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk.git;protocol=ssh;tag=7338fba38ba696536d1cc9d389afd716a6ab2fe6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git.inc b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git.inc new file mode 100644 index 0000000..30103c6 --- /dev/null +++ b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git.inc @@ -0,0 +1,257 @@ +DESCRIPTION = "Crosswalk is an app runtime based on Chromium" +HOMEPAGE = "https://github.com/otcshare/crosswalk" +SECTION = "Web Framework/Web Run Time" +LICENSE = "(BSD-3-Clause and LGPL-2.1+)" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by crosswalk-emulator-support +PROVIDES += "crosswalk-emulator-support" +RPROVIDES_crosswalk-emulator-support += "crosswalk-emulator-support" + +#PROVIDES by crosswalk +PROVIDES += "crosswalk" +RPROVIDES_crosswalk += "crosswalk" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of crosswalk +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "audio-session-manager" +DEPENDS += "pkgconfig(freetype2)" +DEPENDS += "pkgconfig(libpulse)" +DEPENDS += "app-core" +DEPENDS += "pkgconfig(wayland-egl)" +DEPENDS += "pkgconfig(nss)" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(xkbcommon)" +DEPENDS += "pkgconfig(libpci)" +DEPENDS += "bzip2" +DEPENDS += "pkgconfig(fontconfig)" +inherit perlnative +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "pkgconfig(pkgmgr-parser)" +DEPENDS += "which" +DEPENDS += "nspr-devel" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(pango)" +DEPENDS += "flex" +DEPENDS += "pkgconfig(capi-location-manager)" +DEPENDS += "gperf" +inherit pythonnative +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "pkgconfig(egl)" +DEPENDS += "libcap-devel" +DEPENDS += "python-xml" +DEPENDS += "pkgconfig(sensor)" +DEPENDS += "pkgconfig(wayland-cursor)" +DEPENDS += "pkgconfig(libxslt)" +DEPENDS += "pkgconfig(haptic)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "expat-devel" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "bison-native" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(libudev)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n crosswalk + + cp ${S}/packaging/xwalk.in . + cp ${S}/packaging/xwalk.service.in . + cp ${S}/packaging/crosswalk.manifest . + cp ${S}/packaging/crosswalk.xml.in . + cp ${S}/packaging/crosswalk.png . + sed "s/@VERSION@/5.34.98.0/g" crosswalk.xml.in > crosswalk.xml + sed "s|@LIB_INSTALL_DIR@|/usr/lib|g" xwalk.in > xwalk + sed "s|@LIB_INSTALL_DIR@|/usr/lib|g" xwalk.service.in > xwalk.service + + cp -a src/AUTHORS AUTHORS.chromium + cp -a src/LICENSE LICENSE.chromium + cp -a src/xwalk/LICENSE LICENSE.xwalk + + cat ${S}/packaging/crosswalk-do-not-look-for-gtk2-when-using-aura.patch | patch -s -p0 --fuzz=2 + #patch1 + cat ${S}/packaging/crosswalk-tizen-audio-session-manager.patch | patch -s -p0 --fuzz=2 + #patch7 + + + cat ${S}/packaging/crosswalk-mesa-ozone-typedefs.patch | patch -s -p0 --fuzz=2 + #patch8 + + cat ${S}/packaging/Blink-Add-GCC-flag-Wno-narrowing-fix-64bits-build.patch | patch -s -p0 --fuzz=2 + #patch9 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in + # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's + # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 + export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + + # Building the RPM in the GBS chroot fails with errors such as + # /usr/lib/gcc/i586-tizen-linux/4.7/../../../../i586-tizen-linux/bin/ld: + # failed to set dynamic section sizes: Memory exhausted + # For now, work around it by passing a GNU ld-specific flag that optimizes the + # linker for memory usage. + export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # Support building in a non-standard directory, possibly outside ${WORKDIR}. + # Since the build root is erased every time a new build is performed, one way + # to avoid losing the build directory is to specify a location outside the + # build root to the BUILDDIR_NAME definition, such as "/var/tmp/xwalk-build" + # (remember all paths are still inside the chroot): + # gbs build --define 'BUILDDIR_NAME /some/path' + # + # The --depth and --generator-output combo is used to put all the Makefiles + # inside the build directory, and (this is the important part) keep file lists + # (generatedwith <|() in gyp) in the build directory as well, otherwise they + # will be in the source directory, erased every time and trigger an almost full + # Blink rebuild (among other smaller targets). + # We cannot always pass those flags, though, because gyp's make generator does + # not work if the --generator-output is the top-level source directory. + BUILDDIR_NAME="" + if [ -z "${BUILDDIR_NAME}" ]; then + BUILDDIR_NAME="." + else + GYP_EXTRA_FLAGS="--depth=. --generator-output=${BUILDDIR_NAME}" + fi + + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ash=1 -Duse_ozone=1" + + # Change src/ so that we can pass "." to --depth below, otherwise we would need + # to pass "src" to it, but this confuses the gyp make generator, that expects + # to be called from the root source directory. + cd src + + # --no-parallel is added because chroot does not mount a /dev/shm, this will + # cause python multiprocessing.SemLock error. + export GYP_GENERATORS='make' + ./xwalk/gyp_xwalk xwalk/xwalk.gyp \ + --no-parallel \ + ${GYP_EXTRA_FLAGS} \ + -Dchromeos=0 \ + -Ddisable_nacl=1 \ + -Dtizen=1 \ + -Dpython_ver=2.7 \ + -Duse_aura=1 \ + -Duse_cups=0 \ + -Duse_gconf=0 \ + -Duse_kerberos=0 \ + -Duse_system_bzip2=1 \ + -Duse_system_icu=1 \ + -Duse_system_libexif=1 \ + -Duse_system_libxml=1 \ + -Duse_system_nspr=1 \ + -Denable_xi21_mt=1 \ + -Duse_xi2_mt=0 \ + -Denable_hidpi=1 + + make -j16 -C "${BUILDDIR_NAME}" BUILDTYPE=Release xwalk xwalkctl xwalk_launcher xwalk-pkg-helper + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # Support building in a non-standard directory, possibly outside ${WORKDIR}. + # Since the build root is erased every time a new build is performed, one way + # to avoid losing the build directory is to specify a location outside the + # build root to the BUILDDIR_NAME definition, such as "/var/tmp/xwalk-build" + # (remember all paths are still inside the chroot): + # gbs build --define 'BUILDDIR_NAME /some/path' + BUILDDIR_NAME="" + if [ -z "${BUILDDIR_NAME}" ]; then + BUILDDIR_NAME="." + fi + + # Since BUILDDIR_NAME can be either a relative path or an absolute one, we need + # to cd into src/ so that it means the same thing in the build and install + # stages: during the former, a relative location refers to a place inside src/, + # whereas during the latter a relative location by default would refer to a + # place one directory above src/. If BUILDDIR_NAME is an absolute path, this is + # irrelevant anyway. + cd src + + # Binaries. + install -p -D ../xwalk ${D}/usr/bin/xwalk + install -p -D ${S}/packaging/org.crosswalkproject.Runtime1.service ${D}/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service + install -p -D ../xwalk.service ${D}/usr/lib/systemd/user/xwalk.service + install -p -D ${BUILDDIR_NAME}/out/Release/xwalk ${D}/usr/lib/xwalk/xwalk + install -p -D ${BUILDDIR_NAME}/out/Release/xwalkctl ${D}/usr/bin/xwalkctl + install -p -D ${BUILDDIR_NAME}/out/Release/xwalk-launcher ${D}/usr/bin/xwalk-launcher + # xwalk-pkg-helper needs to be set-user-ID-root so it can finish the installation process. + install -m 06755 -p -D ${BUILDDIR_NAME}/out/Release/xwalk-pkg-helper ${D}/usr/bin/xwalk-pkg-helper + + # Supporting libraries and resources. + install -p -D ${BUILDDIR_NAME}/out/Release/icudtl.dat ${D}/usr/lib/xwalk/icudtl.dat + install -p -D ${BUILDDIR_NAME}/out/Release/libffmpegsumo.so ${D}/usr/lib/xwalk/libffmpegsumo.so + install -p -D ${BUILDDIR_NAME}/out/Release/libosmesa.so ${D}/usr/lib/xwalk/libosmesa.so + install -p -D ${BUILDDIR_NAME}/out/Release/xwalk.pak ${D}/usr/lib/xwalk/xwalk.pak + + # Register xwalk to the package manager. + install -p -D ../crosswalk.xml ${D}/usr/share/packages/crosswalk.xml + install -p -D ../crosswalk.png ${D}/usr/share/icons/default/small/crosswalk.png + + +} + +PACKAGES = "" +PACKAGES += "crosswalk-emulator-support" +PACKAGES += "crosswalk" + +crosswalk-emulator-support_files = "" +crosswalk-emulator-support_files += "/usr/lib/xwalk/libosmesa.so" + +crosswalk_files = "" +crosswalk_files += "crosswalk.manifest" +crosswalk_files += "/usr/bin/xwalk" +crosswalk_files += "/usr/bin/xwalkctl" +crosswalk_files += "/usr/bin/xwalk-launcher" +crosswalk_files += "/usr/bin/xwalk-pkg-helper" +crosswalk_files += "/usr/lib/xwalk/icudtl.dat" +crosswalk_files += "/usr/lib/xwalk/libffmpegsumo.so" +crosswalk_files += "/usr/lib/xwalk/xwalk" +crosswalk_files += "/usr/lib/xwalk/xwalk.pak" +crosswalk_files += "/usr/share/packages/crosswalk.xml" +crosswalk_files += "/usr/share/icons/default/small/crosswalk.png" +crosswalk_files += "/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service" +crosswalk_files += "/usr/lib/systemd/user/xwalk.service" + +FILES_${PN}-emulator-support = "${crosswalk-emulator-support_files}" +FILES_${PN} = "${crosswalk_files}" + +PKG_crosswalk-emulator-support= "crosswalk-emulator-support" +PKG_crosswalk= "crosswalk" + +require crosswalk.git-extraconf.inc diff --git a/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git_git.bb b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git_git.bb new file mode 100644 index 0000000..04d68b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/crosswalk.git/crosswalk.git_git.bb @@ -0,0 +1,8 @@ +require crosswalk.git.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk.git;protocol=ssh;tag=7338fba38ba696536d1cc9d389afd716a6ab2fe6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc b/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc b/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc new file mode 100644 index 0000000..6eb553f --- /dev/null +++ b/meta-tizen/recipes-tizen/crosswalk/crosswalk.inc @@ -0,0 +1,43 @@ +DESCRIPTION = "Crosswalk is an app runtime based on Chromium" +HOMEPAGE = "https://github.com/otcshare/crosswalk" +SECTION = "Web Framework/Web Run Time" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "crosswalk-emulator-support" +PACKAGES += "crosswalk" + +crosswalk-emulator-support_files = "" +crosswalk-emulator-support_files += "/usr/lib/xwalk/libosmesa.so" + +crosswalk_files = "" +crosswalk_files += "crosswalk.manifest" +crosswalk_files += "/usr/bin/xwalk" +crosswalk_files += "/usr/bin/xwalkctl" +crosswalk_files += "/usr/bin/xwalk-launcher" +crosswalk_files += "/usr/bin/xwalk-pkg-helper" +crosswalk_files += "/usr/lib/xwalk/libffmpegsumo.so" +crosswalk_files += "/usr/lib/xwalk/xwalk" +crosswalk_files += "/usr/lib/xwalk/xwalk.pak" +crosswalk_files += "/usr/share/packages/crosswalk.xml" +crosswalk_files += "/usr/share/icons/default/small/crosswalk.png" +crosswalk_files += "/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service" +crosswalk_files += "/usr/lib/systemd/user/xwalk.service" + +FILES_${PN}-emulator-support = "${crosswalk-emulator-support_files}" +FILES_${PN} = "${crosswalk_files}" + +PKG_crosswalk-emulator-support= "crosswalk-emulator-support" +PKG_crosswalk= "crosswalk" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require crosswalk-rdepends.inc +require crosswalk-depends.inc +require crosswalk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cscope/cscope-extraconf.inc b/meta-tizen/recipes-tizen/cscope/cscope-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cscope/cscope-native_git.bb b/meta-tizen/recipes-tizen/cscope/cscope-native_git.bb new file mode 100644 index 0000000..fc55cc5 --- /dev/null +++ b/meta-tizen/recipes-tizen/cscope/cscope-native_git.bb @@ -0,0 +1,12 @@ +require cscope.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cscope;protocol=ssh;tag=f9e72a9ab56627f5b3b8c811e0bc9d4ec23073c4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cscope/cscope.inc b/meta-tizen/recipes-tizen/cscope/cscope.inc new file mode 100644 index 0000000..97bc255 --- /dev/null +++ b/meta-tizen/recipes-tizen/cscope/cscope.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "An interactive, screen-oriented tool for browsing source code" +HOMEPAGE = "http://cscope.sourceforge.net" +SECTION = "Development/Tools" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cscope +PROVIDES += "cscope" +RPROVIDES_cscope += "cscope" + +#PROVIDES by cscope-docs +PROVIDES += "cscope-docs " +RPROVIDES_cscope-docs += "cscope-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of cscope +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/cscope.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "cscope-docs" +PACKAGES += "cscope" + +cscope-docs_files = "" +cscope-docs_files += "/usr/share/info" +cscope-docs_files += "/usr/share/man" + +cscope_files = "" +cscope_files += "cscope.manifest" +cscope_files += "/usr/bin/*" + +FILES_${PN}-docs = "${cscope-docs_files}" +FILES_${PN} = "${cscope_files}" + +PKG_cscope-docs= "cscope-docs" +PKG_cscope= "cscope" + +require cscope-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cscope/cscope_git.bb b/meta-tizen/recipes-tizen/cscope/cscope_git.bb new file mode 100644 index 0000000..d11ca2a --- /dev/null +++ b/meta-tizen/recipes-tizen/cscope/cscope_git.bb @@ -0,0 +1,8 @@ +require cscope.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cscope;protocol=ssh;tag=f9e72a9ab56627f5b3b8c811e0bc9d4ec23073c4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/csr-framework/csr-framework-extraconf.inc b/meta-tizen/recipes-tizen/csr-framework/csr-framework-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/csr-framework/csr-framework-native_git.bb b/meta-tizen/recipes-tizen/csr-framework/csr-framework-native_git.bb new file mode 100644 index 0000000..ced9816 --- /dev/null +++ b/meta-tizen/recipes-tizen/csr-framework/csr-framework-native_git.bb @@ -0,0 +1,12 @@ +require csr-framework.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/csr-framework;protocol=ssh;tag=4009df71f3dbc03d45c73d06ffbf84b3a332a1b5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/csr-framework/csr-framework.inc b/meta-tizen/recipes-tizen/csr-framework/csr-framework.inc new file mode 100644 index 0000000..0539e94 --- /dev/null +++ b/meta-tizen/recipes-tizen/csr-framework/csr-framework.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "Content Security Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by csr-framework +PROVIDES += "csr-framework" +RPROVIDES_csr-framework += "csr-framework" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of csr-framework +DEPENDS += "pkgconfig(libtzplatform-config)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/csr-framework.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/lib/ + install -D lib/libsecfw.so ${D}/usr/lib/ + + +} + +PACKAGES = "" +PACKAGES += "csr-framework" + +csr-framework_files = "" +csr-framework_files += "csr-framework.manifest" +csr-framework_files += "/usr/lib/libsecfw.so" + +FILES_${PN} = "${csr-framework_files}" + +PKG_csr-framework= "csr-framework" + +require csr-framework-extraconf.inc diff --git a/meta-tizen/recipes-tizen/csr-framework/csr-framework_git.bb b/meta-tizen/recipes-tizen/csr-framework/csr-framework_git.bb new file mode 100644 index 0000000..1e0a32d --- /dev/null +++ b/meta-tizen/recipes-tizen/csr-framework/csr-framework_git.bb @@ -0,0 +1,8 @@ +require csr-framework.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/csr-framework;protocol=ssh;tag=4009df71f3dbc03d45c73d06ffbf84b3a332a1b5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ctags/ctags-extraconf.inc b/meta-tizen/recipes-tizen/ctags/ctags-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ctags/ctags-native_git.bb b/meta-tizen/recipes-tizen/ctags/ctags-native_git.bb new file mode 100644 index 0000000..fc932aa --- /dev/null +++ b/meta-tizen/recipes-tizen/ctags/ctags-native_git.bb @@ -0,0 +1,12 @@ +require ctags.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ctags;protocol=ssh;tag=fdf26526d4d0661fb1afc6b3d18b91d926222aa1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ctags/ctags.inc b/meta-tizen/recipes-tizen/ctags/ctags.inc new file mode 100644 index 0000000..34ee0fb --- /dev/null +++ b/meta-tizen/recipes-tizen/ctags/ctags.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Tool for generating indexes of source code definitions" +HOMEPAGE = "http://ctags.sourceforge.net/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ctags +PROVIDES += "ctags" +RPROVIDES_ctags += "ctags" + +#PROVIDES by ctags-docs +PROVIDES += "ctags-docs " +RPROVIDES_ctags-docs += "ctags-docs " + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ctags.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "ctags" +PACKAGES += "ctags-docs" + +ctags_files = "" +ctags_files += "ctags.manifest" +ctags_files += "/usr/bin/ctags" + +ctags-docs_files = "" +ctags-docs_files += "/usr/share/info" +ctags-docs_files += "/usr/share/man" + +FILES_${PN} = "${ctags_files}" +FILES_${PN}-docs = "${ctags-docs_files}" + +PKG_ctags= "ctags" +PKG_ctags-docs= "ctags-docs" + +require ctags-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ctags/ctags_git.bb b/meta-tizen/recipes-tizen/ctags/ctags_git.bb new file mode 100644 index 0000000..9215dfa --- /dev/null +++ b/meta-tizen/recipes-tizen/ctags/ctags_git.bb @@ -0,0 +1,8 @@ +require ctags.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ctags;protocol=ssh;tag=fdf26526d4d0661fb1afc6b3d18b91d926222aa1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cups/cups-extraconf.inc b/meta-tizen/recipes-tizen/cups/cups-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/cups/cups-native_git.bb b/meta-tizen/recipes-tizen/cups/cups-native_git.bb new file mode 100644 index 0000000..43510b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/cups/cups-native_git.bb @@ -0,0 +1,12 @@ +require cups.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cups;protocol=ssh;tag=542afd43930fc50ce563efe8e0d8ff78c77416e7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/cups/cups.inc b/meta-tizen/recipes-tizen/cups/cups.inc new file mode 100644 index 0000000..55e6756 --- /dev/null +++ b/meta-tizen/recipes-tizen/cups/cups.inc @@ -0,0 +1,444 @@ +DESCRIPTION = "The Common UNIX Printing System" +HOMEPAGE = "http://www.cups.org/" +SECTION = "Hardware/Printing" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by cups-devel +PROVIDES += "cups-devel" +RPROVIDES_cups-devel += "cups-devel" +RPROVIDES_cups-devel += "cups-dev" + +#PROVIDES by cups-ddk +PROVIDES += "cups-ddk" +RPROVIDES_cups-ddk += "cups-ddk" +# the PROVIDES rules is ignore "cupsddk = 1.6.4" +PROVIDES += "cupsddk" +RPROVIDES_cups-ddk += "cupsddk" + +#PROVIDES by cups +PROVIDES += "cups" +RPROVIDES_cups += "cups" + +#PROVIDES by cups-libs +PROVIDES += "cups-libs" +RPROVIDES_cups-libs += "cups-libs" + +#PROVIDES by cups-client +PROVIDES += "cups-client" +RPROVIDES_cups-client += "cups-client" + +RDEPENDS = "" +#RDEPENDS of cups-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libopenssl-dev" +RDEPENDS_${PN}-devel += "cups-libs" +RDEPENDS_${PN}-devel += "libjpeg-dev" +RDEPENDS_${PN}-devel += "systemd-dev" +RDEPENDS_${PN}-devel += "libpng-dev" +RDEPENDS_${PN}-devel += "libtiff-dev" +RDEPENDS_${PN}-devel += "pam-dev" + +#RDEPENDS of cups (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "cups-libs" +RDEPENDS_${PN} += "/usr/sbin/groupadd" +RDEPENDS_${PN} += "cups-client" +RDEPENDS_${PN} += "/usr/bin/pdftops" +RDEPENDS_${PN} += "util-linux" + +#RDEPENDS of cups-ddk (${PN}-ddk) +RDEPENDS_${PN}-ddk += "cups-dev" +RDEPENDS_${PN}-ddk += "cups" + +#RDEPENDS of cups-client (${PN}-client) +RDEPENDS_${PN}-client += "cups-libs" + + +DEPENDS = "" +#DEPENDS of cups +DEPENDS += "zlib-devel" +DEPENDS += "libpng-devel" +DEPENDS += "libopenssl-devel" +DEPENDS += "libjpeg-devel" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "gcc-c++" +DEPENDS += "pkgconfig-native" +DEPENDS += "update-desktop-files" +DEPENDS += "libtool-cross" +DEPENDS += "systemd-devel" +DEPENDS += "fdupes-native" +DEPENDS += "libtiff-devel" +DEPENDS += "pam-devel" + +do_patch() { + # Be quiet when unpacking: + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n cups-1.6.4 + cp ${S}/packaging/cups.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Disable SILENT run of make so that make runs verbose as usual: + sed -i -e 's/^\.SILENT:/# .SILENT:/' Makedefs.in + libtoolize --force + aclocal + autoconf + export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -O2 -fstack-protector" + export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -DLDAP_DEPRECATED" + export CXX=g++ + # As long as cups-1.4.3-default-webcontent-path.patch is applied + # configure --with-docdir=... would be no longer needed + # because cups-1.4.3-default-webcontent-path.patch changes the + # default with-docdir path whereto the web content is installed + # from /usr/share/doc/cups to /usr/share/cups/webcontent because the + # files of the CUPS web content are no documentation, see CUPS STR #3578 + # and http://bugzilla.novell.com/show_bug.cgi?id=546023#c6 and subsequent comments + # so that the new default could be used as is but upstream may accept + # cups-1.4.3-default-webcontent-path.patch in general but change its default + # so that with-docdir is explicitly set here to be future proof: + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --datadir=/usr/share \ + --with-docdir=/usr/share/cups/webcontent \ + --with-cups-user=lp \ + --with-cups-group=lp \ + --enable-debug \ + --enable-relro \ + --enable-gssapi \ + --disable-static \ + --without-rcdir \ + --enable-dbus \ + --enable-ldap \ + --with-java \ + --with-php \ + --with-python \ + --with-cachedir=/var/cache/cups \ + --with-pdftops=/usr/bin/pdftops \ + --without-xinetd \ + --prefix=/ + make -j16 CXX=g++ + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make BUILDROOT=$RPM_BUILD_ROOT install + # Use Ghostscript fonts instead of CUPS fonts: + rm -rf $RPM_BUILD_ROOT/usr/share/cups/fonts + mkdir -p $RPM_BUILD_ROOT/usr/share/ghostscript/fonts + ln -sf /usr/share/ghostscript/fonts $RPM_BUILD_ROOT/usr/share/cups/ + # Make directory for ssl files: + mkdir -p $RPM_BUILD_ROOT/etc/cups/ssl + # Add a client.conf as template (Source108: cups-client.conf): + install -m644 ${S}/packaging/cups-client.conf $RPM_BUILD_ROOT/etc/cups/client.conf + # Make the libraries accessible also via generic named links: + ln -sf libcupsimage.so.2 $RPM_BUILD_ROOT/usr/lib/libcupsimage.so + ln -sf libcups.so.2 $RPM_BUILD_ROOT/usr/lib/libcups.so + # Add missing usual directories: + install -d -m755 $RPM_BUILD_ROOT/usr/share/cups/drivers + install -d -m755 $RPM_BUILD_ROOT/var/cache/cups + # Add conf/pam.tizen regarding support for PAM (see Patch100: cups-pam.diff): + install -m 644 -D conf/pam.tizen $RPM_BUILD_ROOT/etc/pam.d/cups + # Add missing usual documentation: + install -d -m755 $RPM_BUILD_ROOT//usr/share/doc/packages/cups + for f in CHANGES*.txt CREDITS.txt INSTALL.txt LICENSE.txt README.txt + do install -m 644 "$f" $RPM_BUILD_ROOT/usr/share/doc/packages/cups/ + done + # Source102: postscript.ppd.bz2 + bzip2 -cd < ${S}/packaging/postscript.ppd.bz2 > $RPM_BUILD_ROOT/usr/share/cups/model/Postscript.ppd + # Source105: PSLEVEL1.PPD.bz2 + bzip2 -cd < ${S}/packaging/PSLEVEL1.PPD.bz2 > $RPM_BUILD_ROOT/usr/share/cups/model/Postscript-level1.ppd + # Source106: PSLEVEL2.PPD.bz2 + bzip2 -cd < ${S}/packaging/PSLEVEL2.PPD.bz2 > $RPM_BUILD_ROOT/usr/share/cups/model/Postscript-level2.ppd + find ${D}/usr/share/cups/model -name "*.ppd" | while read FILE + do # Change default paper size from Letter to A4 if possible + # https://bugzilla.novell.com/show_bug.cgi?id=suse30662 + # and delete trailing whitespace: + perl -pi -e 's:^(\*Default.*)Letter\s*$:$1A4\n:; \ + s:^(\*ImageableArea A4.*\:\s+)"0 0 595 842":$1"24 48 571 818":; \ + s:^(\*ImageableArea Letter.*\:\s+)"0 0 612 792":$1"24 48 588 768":; \ + s:\s\n:\n:' "$FILE" + gzip -9 "$FILE" + done + # Add files for desktop menu: + rm -f $RPM_BUILD_ROOT/usr/share/applications/cups.desktop + + /usr/lib/rpm/tizen_update_desktop_file.sh -i cups PrintingUtility 2>/dev/null || exit 1 + mkdir $RPM_BUILD_ROOT/usr/share/pixmaps + install -m 644 $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/cups.png $RPM_BUILD_ROOT/usr/share/pixmaps + rm -rf $RPM_BUILD_ROOT/usr/share/icons + # Remove unpackaged files: + rm -rf $RPM_BUILD_ROOT//usr/share/man/es/cat? + rm -rf $RPM_BUILD_ROOT//usr/share/man/fr/cat? + rm -rf $RPM_BUILD_ROOT//usr/share/man/cat? + + # Run fdupes: + + _target=""; + _symlinks=0; + + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "cups-devel" +PACKAGES += "cups-ddk" +PACKAGES += "cups" +PACKAGES += "cups-libs" +PACKAGES += "cups-client" + +cups-devel_files = "" +cups-devel_files += "cups.manifest" +cups-devel_files += "/usr/include/cups/" +cups-devel_files += "/usr/lib/libcups.so" +cups-devel_files += "/usr/lib/libcupsimage.so" +cups-devel_files += "/usr/lib/libcupscgi.so" +cups-devel_files += "/usr/lib/libcupsmime.so" +cups-devel_files += "/usr/lib/libcupsppdc.so" +cups-devel_files += "/usr/share/cups/ppdc/" + +cups-ddk_files = "" +cups-ddk_files += "cups.manifest" +cups-ddk_files += "/usr/bin/ppdc" +cups-ddk_files += "/usr/bin/ppdhtml" +cups-ddk_files += "/usr/bin/ppdi" +cups-ddk_files += "/usr/bin/ppdmerge" +cups-ddk_files += "/usr/bin/ppdpo" +cups-ddk_files += "/usr/share/man/man1/ppdc.1.gz" +cups-ddk_files += "/usr/share/man/man1/ppdhtml.1.gz" +cups-ddk_files += "/usr/share/man/man1/ppdi.1.gz" +cups-ddk_files += "/usr/share/man/man1/ppdmerge.1.gz" +cups-ddk_files += "/usr/share/man/man1/ppdpo.1.gz" +cups-ddk_files += "/usr/share/man/man5/ppdcfile.5.gz" + +cups_files = "" +cups_files += "cups.manifest" +#Remove rpm attribut "%attr(640,root,lp)" +cups_files += "/etc/cups/cupsd.conf" +#Remove rpm attribut "%attr(640,root,lp)" +cups_files += "/etc/cups/cups-files.conf" +cups_files += "/etc/cups/cupsd.conf.default" +#Remove rpm attribut "%attr(640,root,lp)" +cups_files += "/etc/cups/snmp.conf" +#Remove rpm attribut "%attr(755,lp,lp)" +cups_files += "/etc/cups/interfaces" +cups_files += "/etc/pam.d/cups" +cups_files += "/etc/dbus-1/system.d/cups.conf" +#Remove rpm attribut "%attr(700,root,lp)" +cups_files += "/etc/cups/ssl" +#Remove rpm attribut "%attr(755,root,lp)" +cups_files += "/etc/cups/ppd" +cups_files += "/usr/bin/cupstestppd" +cups_files += "/usr/sbin/cupsaddsmb" +cups_files += "/usr/sbin/cupsctl" +cups_files += "/usr/sbin/cupsd" +cups_files += "/usr/sbin/cupsfilter" +cups_files += "/usr/lib/cups" +cups_files += "/usr/lib/cups/backend" +cups_files += "/usr/lib/cups/backend/http" +cups_files += "/usr/lib/cups/backend/https" +cups_files += "/usr/lib/cups/backend/ipp" +cups_files += "/usr/lib/cups/backend/ipps" +cups_files += "/usr/lib/cups/backend/lpd" +cups_files += "/usr/lib/cups/backend/snmp" +cups_files += "/usr/lib/cups/backend/socket" +cups_files += "/usr/lib/cups/backend/usb" +cups_files += "/usr/lib/cups/cgi-bin" +cups_files += "/usr/lib/cups/cgi-bin/admin.cgi" +cups_files += "/usr/lib/cups/cgi-bin/classes.cgi" +cups_files += "/usr/lib/cups/cgi-bin/help.cgi" +cups_files += "/usr/lib/cups/cgi-bin/jobs.cgi" +cups_files += "/usr/lib/cups/cgi-bin/printers.cgi" +cups_files += "/usr/lib/cups/daemon" +cups_files += "/usr/lib/cups/daemon/cups-deviced" +cups_files += "/usr/lib/cups/daemon/cups-driverd" +cups_files += "/usr/lib/cups/daemon/cups-exec" +cups_files += "/usr/lib/cups/daemon/cups-lpd" +cups_files += "/usr/lib/cups/driver" +cups_files += "/usr/lib/cups/filter" +cups_files += "/usr/lib/cups/filter/commandtops" +cups_files += "/usr/lib/cups/filter/gziptoany" +cups_files += "/usr/lib/cups/filter/pstops" +cups_files += "/usr/lib/cups/filter/rastertodymo" +cups_files += "/usr/lib/cups/filter/rastertoepson" +cups_files += "/usr/lib/cups/filter/rastertohp" +cups_files += "/usr/lib/cups/filter/rastertolabel" +cups_files += "/usr/lib/cups/filter/rastertopwg" +cups_files += "/usr/lib/cups/monitor" +cups_files += "/usr/lib/cups/monitor/bcp" +cups_files += "/usr/lib/cups/monitor/tbcp" +cups_files += "/usr/lib/cups/notifier" +cups_files += "/usr/lib/cups/notifier/dbus" +cups_files += "/usr/lib/cups/notifier/mailto" +cups_files += "/usr/lib/cups/notifier/rss" +#Remove rpm attribut "%attr(0775,root,ntadmin)" +cups_files += "/usr/share/cups/drivers" +cups_files += "/usr/share/applications/cups.desktop" +cups_files += "/usr/share/pixmaps/cups.png" +cups_files += "/usr/share/doc/packages/cups" +cups_files += "/usr/share/man/man1/cupstestppd.1.gz" +cups_files += "/usr/share/man/man5/classes.conf.5.gz" +cups_files += "/usr/share/man/man5/client.conf.5.gz" +cups_files += "/usr/share/man/man5/cups-files.conf.5.gz" +cups_files += "/usr/share/man/man5/cups-snmp.conf.5.gz" +cups_files += "/usr/share/man/man5/cupsd.conf.5.gz" +cups_files += "/usr/share/man/man5/mailto.conf.5.gz" +cups_files += "/usr/share/man/man5/mime.convs.5.gz" +cups_files += "/usr/share/man/man5/mime.types.5.gz" +cups_files += "/usr/share/man/man5/printers.conf.5.gz" +cups_files += "/usr/share/man/man5/subscriptions.conf.5.gz" +cups_files += "/usr/share/man/man7/backend.7.gz" +cups_files += "/usr/share/man/man7/filter.7.gz" +cups_files += "/usr/share/man/man7/notifier.7.gz" +cups_files += "/usr/share/man/man8/cups-deviced.8.gz" +cups_files += "/usr/share/man/man8/cups-driverd.8.gz" +cups_files += "/usr/share/man/man8/cups-lpd.8.gz" +cups_files += "/usr/share/man/man8/cups-snmp.8.gz" +cups_files += "/usr/share/man/man8/cupsaddsmb.8.gz" +cups_files += "/usr/share/man/man8/cupsctl.8.gz" +cups_files += "/usr/share/man/man8/cupsd.8.gz" +cups_files += "/usr/share/man/man8/cupsfilter.8.gz" +cups_files += "/usr/share/cups/" + +cups-libs_files = "" +cups-libs_files += "cups.manifest" +cups-libs_files += "/etc/cups/client.conf" +#Remove rpm attribut "%attr(0710,root,lp)" +cups-libs_files += "/var/spool/cups" +#Remove rpm attribut "%attr(1770,root,lp)" +cups-libs_files += "/var/spool/cups/tmp" +#Remove rpm attribut "%attr(0755,lp,lp)" +cups-libs_files += "/var/log/cups/" +#Remove rpm attribut "%attr(0775,lp,lp)" +cups-libs_files += "/var/cache/cups" +cups-libs_files += "/usr/bin/cups-config" +cups-libs_files += "/usr/lib/libcups.so.*" +cups-libs_files += "/usr/lib/libcupscgi.so.*" +cups-libs_files += "/usr/lib/libcupsimage.so.*" +cups-libs_files += "/usr/lib/libcupsmime.so.*" +cups-libs_files += "/usr/lib/libcupsppdc.so.*" +cups-libs_files += "/usr/share/locale/*/cups_*" +cups-libs_files += "/usr/share/man/man1/cups-config.1.gz" + +cups-client_files = "" +cups-client_files += "cups.manifest" +cups-client_files += "/usr/bin/cancel" +cups-client_files += "/usr/bin/cupstestdsc" +cups-client_files += "/usr/bin/ipptool" +cups-client_files += "/usr/bin/lp" +cups-client_files += "/usr/bin/lpoptions" +cups-client_files += "/usr/bin/lpq" +cups-client_files += "/usr/bin/lpr" +cups-client_files += "/usr/bin/lprm" +cups-client_files += "/usr/bin/lpstat" +cups-client_files += "/usr/sbin/accept" +cups-client_files += "/usr/sbin/cupsaccept" +cups-client_files += "/usr/sbin/cupsdisable" +cups-client_files += "/usr/sbin/cupsenable" +cups-client_files += "/usr/sbin/cupsreject" +cups-client_files += "/usr/sbin/lpadmin" +cups-client_files += "/usr/sbin/lpc" +cups-client_files += "/usr/sbin/lpinfo" +cups-client_files += "/usr/sbin/lpmove" +cups-client_files += "/usr/sbin/reject" +cups-client_files += "/usr/share/man/man1/cancel.1.gz" +cups-client_files += "/usr/share/man/man1/cupstestdsc.1.gz" +cups-client_files += "/usr/share/man/man1/ipptool.1.gz" +cups-client_files += "/usr/share/man/man1/lp.1.gz" +cups-client_files += "/usr/share/man/man1/lpoptions.1.gz" +cups-client_files += "/usr/share/man/man1/lppasswd.1.gz" +cups-client_files += "/usr/share/man/man1/lpq.1.gz" +cups-client_files += "/usr/share/man/man1/lpr.1.gz" +cups-client_files += "/usr/share/man/man1/lprm.1.gz" +cups-client_files += "/usr/share/man/man1/lpstat.1.gz" +cups-client_files += "/usr/share/man/man5/ipptoolfile.5.gz" +cups-client_files += "/usr/share/man/man8/accept.8.gz" +cups-client_files += "/usr/share/man/man8/cupsaccept.8.gz" +cups-client_files += "/usr/share/man/man8/cupsdisable.8.gz" +cups-client_files += "/usr/share/man/man8/cupsenable.8.gz" +cups-client_files += "/usr/share/man/man8/cupsreject.8.gz" +cups-client_files += "/usr/share/man/man8/lpadmin.8.gz" +cups-client_files += "/usr/share/man/man8/lpc.8.gz" +cups-client_files += "/usr/share/man/man8/lpinfo.8.gz" +cups-client_files += "/usr/share/man/man8/lpmove.8.gz" +cups-client_files += "/usr/share/man/man8/reject.8.gz" + +FILES_${PN}-devel = "${cups-devel_files}" +FILES_${PN}-ddk = "${cups-ddk_files}" +FILES_${PN} = "${cups_files}" +FILES_${PN}-libs = "${cups-libs_files}" +FILES_${PN}-client = "${cups-client_files}" + +PKG_cups-devel= "cups-devel" +PKG_cups-ddk= "cups-ddk" +PKG_cups= "cups" +PKG_cups-libs= "cups-libs" +PKG_cups-client= "cups-client" + +require cups-extraconf.inc diff --git a/meta-tizen/recipes-tizen/cups/cups_git.bb b/meta-tizen/recipes-tizen/cups/cups_git.bb new file mode 100644 index 0000000..393814e --- /dev/null +++ b/meta-tizen/recipes-tizen/cups/cups_git.bb @@ -0,0 +1,8 @@ +require cups.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/cups;protocol=ssh;tag=542afd43930fc50ce563efe8e0d8ff78c77416e7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/curl/curl-extraconf.inc b/meta-tizen/recipes-tizen/curl/curl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/curl/curl-native_git.bb b/meta-tizen/recipes-tizen/curl/curl-native_git.bb new file mode 100644 index 0000000..ea2b508 --- /dev/null +++ b/meta-tizen/recipes-tizen/curl/curl-native_git.bb @@ -0,0 +1,12 @@ +require curl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/curl;protocol=ssh;tag=6a7ea2a72f2cd862c9022cc961b777054d0a9640;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/curl/curl.inc b/meta-tizen/recipes-tizen/curl/curl.inc new file mode 100644 index 0000000..16c37d6 --- /dev/null +++ b/meta-tizen/recipes-tizen/curl/curl.inc @@ -0,0 +1,165 @@ +DESCRIPTION = "A utility for getting files from remote servers (FTP, HTTP, and others)" +HOMEPAGE = "http://curl.haxx.se/" +SECTION = "Base/Utilities" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcurl +PROVIDES += "libcurl" +RPROVIDES_libcurl += "libcurl" + +#PROVIDES by curl +PROVIDES += "curl" +RPROVIDES_curl += "curl" +# the PROVIDES rules is ignore "webclient " +PROVIDES += "webclient" +RPROVIDES_curl += "webclient" + +#PROVIDES by libcurl-devel +PROVIDES += "libcurl-devel" +RPROVIDES_libcurl-devel += "libcurl-devel" +RPROVIDES_libcurl-devel += "libcurl-dev" +# the PROVIDES rules is ignore "curl-devel = 7.32.0" +PROVIDES += "curl-devel" +RPROVIDES_libcurl-devel += "curl-devel" +RPROVIDES_libcurl-devel += "curl-dev" + +RDEPENDS = "" +#RDEPENDS of libcurl-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libcurl" +RDEPENDS_lib${PN}-devel += "libidn-dev" + + +DEPENDS = "" +#DEPENDS of curl +DEPENDS += "pkgconfig(libidn)" +DEPENDS += "pkgconfig(nss)" +DEPENDS += "c-ares" +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(openssl)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/curl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --without-nss \ + --without-gnutls \ + --with-openssl \ + --disable-ipv6 \ + --with-ca-path=/etc/ssl/certs \ + --with-libidn \ + --with-lber-lib=lber \ + --enable-manual \ + --enable-versioned-symbols \ + --enable-ares \ + --enable-debug \ + --enable-curldebug \ + --disable-static + + sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \ + Makefile libcurl.pc + + # Remove bogus rpath + sed -i \ + -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ + -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} INSTALL="install -p" install + + rm -f ${D}/usr/lib/libcurl.la + install -d ${D}//usr/share/aclocal + install -m 644 docs/libcurl/libcurl.m4 ${D}//usr/share/aclocal + + # don't need curl's copy of the certs; use openssl's + find ${D} -name ca-bundle.crt -exec rm -f '{}' \; + rm -rf ${D}/usr/share/man + + +} + +PACKAGES = "" +PACKAGES += "libcurl" +PACKAGES += "curl" +PACKAGES += "libcurl-devel" + +libcurl_files = "" +libcurl_files += "curl.manifest" +libcurl_files += "/usr/lib/libcurl.so.*" + +curl_files = "" +curl_files += "curl.manifest" +curl_files += "/usr/bin/curl" + +libcurl-devel_files = "" +libcurl-devel_files += "curl.manifest" +libcurl-devel_files += "/usr/bin/curl-config*" +libcurl-devel_files += "/usr/include/curl" +libcurl-devel_files += "/usr/lib/*.so" +libcurl-devel_files += "/usr/lib/pkgconfig/*.pc" +libcurl-devel_files += "/usr/share/aclocal/libcurl.m4" + +FILES_lib${PN} = "${libcurl_files}" +FILES_${PN} = "${curl_files}" +FILES_lib${PN}-devel = "${libcurl-devel_files}" + +PKG_libcurl= "libcurl" +PKG_curl= "curl" +PKG_libcurl-devel= "libcurl-devel" + +require curl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/curl/curl_git.bb b/meta-tizen/recipes-tizen/curl/curl_git.bb new file mode 100644 index 0000000..f4bb030 --- /dev/null +++ b/meta-tizen/recipes-tizen/curl/curl_git.bb @@ -0,0 +1,8 @@ +require curl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/curl;protocol=ssh;tag=6a7ea2a72f2cd862c9022cc961b777054d0a9640;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dLeyna/dLeyna-extraconf.inc b/meta-tizen/recipes-tizen/dLeyna/dLeyna-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dLeyna/dLeyna-native_git.bb b/meta-tizen/recipes-tizen/dLeyna/dLeyna-native_git.bb new file mode 100644 index 0000000..8b9ff69 --- /dev/null +++ b/meta-tizen/recipes-tizen/dLeyna/dLeyna-native_git.bb @@ -0,0 +1,12 @@ +require dLeyna.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/dLeyna;protocol=ssh;tag=bced9884aef8461ee81663ad3f99d3d083cbc8cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dLeyna/dLeyna.inc b/meta-tizen/recipes-tizen/dLeyna/dLeyna.inc new file mode 100644 index 0000000..421d8bc --- /dev/null +++ b/meta-tizen/recipes-tizen/dLeyna/dLeyna.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Suite of DLNA middleware components" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dleyna-devel +PROVIDES += "dleyna-devel" +RPROVIDES_dleyna-devel += "dleyna-devel" +RPROVIDES_dleyna-devel += "dleyna-dev" + +#PROVIDES by dleyna +PROVIDES += "dleyna" +RPROVIDES_dleyna += "dleyna" + +RDEPENDS = "" +#RDEPENDS of dleyna-devel (dleyna-devel) +RDEPENDS_dleyna-devel += "dleyna" + +#RDEPENDS of dleyna (dleyna) +RDEPENDS_dleyna += "dbus" +RDEPENDS_dleyna += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of dleyna +DEPENDS += "GSSDP" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "GUPnP-DLNA" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "GUPnP" +DEPENDS += "GUPnP-AV" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n dleyna-0.4.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-master-build --disable-static --enable-debug --disable-never-quit --with-log-level=8 --with-log-type=1 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "dleyna-devel" +PACKAGES += "dleyna" + +dleyna-devel_files = "" +dleyna-devel_files += "/usr/include/dleyna-1.0/libdleyna" +dleyna-devel_files += "/usr/lib/libdleyna-core-1.0.so" +dleyna-devel_files += "/usr/lib/dleyna-server/libdleyna-server-1.0.so" +dleyna-devel_files += "/usr/lib/dleyna-renderer/libdleyna-renderer-1.0.so" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-connector-dbus-1.0.pc" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-core-1.0.pc" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-server-1.0.pc" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-renderer-1.0.pc" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-server-service-1.0.pc" +dleyna-devel_files += "/usr/lib/pkgconfig/dleyna-renderer-service-1.0.pc" + +dleyna_files = "" +dleyna_files += "AUTHORS" +dleyna_files += "/usr/libexec/dleyna-server-service" +dleyna_files += "/usr/libexec/dleyna-renderer-service" +dleyna_files += "/usr/lib/libdleyna-core-1.0.so.*" +dleyna_files += "/usr/lib/dleyna-server/libdleyna-server-1.0.so.*" +dleyna_files += "/usr/lib/dleyna-renderer/libdleyna-renderer-1.0.so.*" +dleyna_files += "/usr/lib/dleyna-1.0/connectors/libdleyna-connector-dbus.so" +dleyna_files += "/etc/dleyna-server-service.conf" +dleyna_files += "/etc/dleyna-renderer-service.conf" +dleyna_files += "/usr/share/dbus-1/services/*" + +FILES_${PN}-devel = "${dleyna-devel_files}" +FILES_${PN} = "${dleyna_files}" + +PKG_dleyna-devel= "dleyna-devel" +PKG_dleyna= "dleyna" + +require dLeyna-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dLeyna/dLeyna_git.bb b/meta-tizen/recipes-tizen/dLeyna/dLeyna_git.bb new file mode 100644 index 0000000..e7ba332 --- /dev/null +++ b/meta-tizen/recipes-tizen/dLeyna/dLeyna_git.bb @@ -0,0 +1,8 @@ +require dLeyna.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/dLeyna;protocol=ssh;tag=bced9884aef8461ee81663ad3f99d3d083cbc8cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/damageproto/damageproto-extraconf.inc b/meta-tizen/recipes-tizen/damageproto/damageproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/damageproto/damageproto-native_git.bb b/meta-tizen/recipes-tizen/damageproto/damageproto-native_git.bb new file mode 100644 index 0000000..2afb427 --- /dev/null +++ b/meta-tizen/recipes-tizen/damageproto/damageproto-native_git.bb @@ -0,0 +1,12 @@ +require damageproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/damageproto;protocol=ssh;tag=b7578c9effd4ac538c57285b19276ac411d143d2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/damageproto/damageproto.inc b/meta-tizen/recipes-tizen/damageproto/damageproto.inc new file mode 100644 index 0000000..a5f5b6b --- /dev/null +++ b/meta-tizen/recipes-tizen/damageproto/damageproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by damageproto +PROVIDES += "damageproto" +RPROVIDES_damageproto += "damageproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of damageproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/damageproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/damageproto + rm -rf ${D}/usr/share/doc/damageproto-1.2.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "damageproto" + +damageproto_files = "" +damageproto_files += "damageproto.manifest" +damageproto_files += "/usr/include/X11/extensions/*.h" +damageproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${damageproto_files}" + +PKG_damageproto= "damageproto" + +require damageproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/damageproto/damageproto_git.bb b/meta-tizen/recipes-tizen/damageproto/damageproto_git.bb new file mode 100644 index 0000000..a3d8ef0 --- /dev/null +++ b/meta-tizen/recipes-tizen/damageproto/damageproto_git.bb @@ -0,0 +1,8 @@ +require damageproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/damageproto;protocol=ssh;tag=b7578c9effd4ac538c57285b19276ac411d143d2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dash/dash-extraconf.inc b/meta-tizen/recipes-tizen/dash/dash-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dash/dash-native_git.bb b/meta-tizen/recipes-tizen/dash/dash-native_git.bb new file mode 100644 index 0000000..0a1afd2 --- /dev/null +++ b/meta-tizen/recipes-tizen/dash/dash-native_git.bb @@ -0,0 +1,12 @@ +require dash.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dash;protocol=ssh;tag=f5005a788340f3d8b5eb7f863401404dd36e3fcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dash/dash.inc b/meta-tizen/recipes-tizen/dash/dash.inc new file mode 100644 index 0000000..1544f1f --- /dev/null +++ b/meta-tizen/recipes-tizen/dash/dash.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "Small and fast POSIX-compliant shell" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Utilities" +LICENSE = "BSD-3-Clause and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dash +PROVIDES += "dash" +RPROVIDES_dash += "dash" + +#PROVIDES by dash-docs +PROVIDES += "dash-docs " +RPROVIDES_dash-docs += "dash-docs " + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dash.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} + mkdir -p ${D}/bin + mv ${D}/usr/bin/dash ${D}/bin/ + rm -rf ${D}/usr/bin/ + + +} + +PACKAGES = "" +PACKAGES += "dash" +PACKAGES += "dash-docs" + +dash_files = "" +dash_files += "dash.manifest" +dash_files += "/bin/dash" + +dash-docs_files = "" +dash-docs_files += "/usr/share/info" +dash-docs_files += "/usr/share/man" + +FILES_${PN} = "${dash_files}" +FILES_${PN}-docs = "${dash-docs_files}" + +PKG_dash= "dash" +PKG_dash-docs= "dash-docs" + +require dash-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dash/dash_git.bb b/meta-tizen/recipes-tizen/dash/dash_git.bb new file mode 100644 index 0000000..e4ea2ee --- /dev/null +++ b/meta-tizen/recipes-tizen/dash/dash_git.bb @@ -0,0 +1,8 @@ +require dash.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dash;protocol=ssh;tag=f5005a788340f3d8b5eb7f863401404dd36e3fcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/data-provider-master/data-provider-master-extraconf.inc b/meta-tizen/recipes-tizen/data-provider-master/data-provider-master-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/data-provider-master/data-provider-master.inc b/meta-tizen/recipes-tizen/data-provider-master/data-provider-master.inc new file mode 100644 index 0000000..9ab4605 --- /dev/null +++ b/meta-tizen/recipes-tizen/data-provider-master/data-provider-master.inc @@ -0,0 +1,43 @@ +DESCRIPTION = "Master service provider for liveboxes" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "data-provider-master" + +data-provider-master_files = "" +data-provider-master_files += "data-provider-master.manifest" +data-provider-master_files += "/etc/rc.d/init.d/data-provider-master" +data-provider-master_files += "/etc/rc.d/rc3.d/S99data-provider-master" +data-provider-master_files += "/usr/bin/data-provider-master" +data-provider-master_files += "/usr/bin/liveinfo" +data-provider-master_files += "/usr/etc/package-manager/parserlib/*" +data-provider-master_files += "/usr/share/data-provider-master/*" +data-provider-master_files += "/lib/systemd/user/data-provider-master.service" +data-provider-master_files += "/lib/systemd/user/data-provider-master.socket" +data-provider-master_files += "/lib/systemd/user/tizen-middleware.target.wants/data-provider-master.service" +data-provider-master_files += "/lib/systemd/user/sockets.target.wants/data-provider-master.socket" +data-provider-master_files += "/usr/share/license/*" +data-provider-master_files += "/opt/usr/share/live_magazine" +data-provider-master_files += "/opt/usr/share/live_magazine/log" +data-provider-master_files += "/opt/usr/share/live_magazine/reader" +data-provider-master_files += "/opt/usr/share/live_magazine/always" +data-provider-master_files += "/opt/dbspace/.livebox.db" +data-provider-master_files += "/opt/dbspace/.livebox.db-journal" + +FILES_${PN} = "${data-provider-master_files}" + +PKG_data-provider-master= "data-provider-master" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require data-provider-master-rdepends.inc +require data-provider-master-depends.inc +require data-provider-master-extraconf.inc diff --git a/meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave-extraconf.inc b/meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave.inc b/meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave.inc new file mode 100644 index 0000000..a648ca1 --- /dev/null +++ b/meta-tizen/recipes-tizen/data-provider-slave/data-provider-slave.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Plugin type livebox service provider." +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.data-provider-slave" + +org.tizen.data-provider-slave_files = "" +org.tizen.data-provider-slave_files += "org.tizen.data-provider-slave.manifest" +org.tizen.data-provider-slave_files += "/usr/apps/org.tizen.data-provider-slave" +org.tizen.data-provider-slave_files += "/usr/share/packages/org.tizen.data-provider-slave.xml" +org.tizen.data-provider-slave_files += "/usr/share/license/*" +org.tizen.data-provider-slave_files += "/etc/smack/accesses.d/org.tizen.data-provider-slave.rule" +org.tizen.data-provider-slave_files += "/opt/usr/apps/org.tizen.data-provider-slave/data" + +FILES_${PN} = "${org.tizen.data-provider-slave_files}" + +PKG_org.tizen.data-provider-slave= "org.tizen.data-provider-slave" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require data-provider-slave-rdepends.inc +require data-provider-slave-depends.inc +require data-provider-slave-extraconf.inc diff --git a/meta-tizen/recipes-tizen/data-router/data-router-extraconf.inc b/meta-tizen/recipes-tizen/data-router/data-router-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/data-router/data-router-native_git.bb b/meta-tizen/recipes-tizen/data-router/data-router-native_git.bb new file mode 100644 index 0000000..9d5bc83 --- /dev/null +++ b/meta-tizen/recipes-tizen/data-router/data-router-native_git.bb @@ -0,0 +1,12 @@ +require data-router.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/data-router;protocol=ssh;tag=87f0698e4722cbb75b3c9c3b7323551d9bcb2af1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/data-router/data-router.inc b/meta-tizen/recipes-tizen/data-router/data-router.inc new file mode 100644 index 0000000..f0496cd --- /dev/null +++ b/meta-tizen/recipes-tizen/data-router/data-router.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Data Router" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by data-router +PROVIDES += "data-router" +RPROVIDES_data-router += "data-router" + +RDEPENDS = "" +#RDEPENDS of data-router (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" + + +DEPENDS = "" +#DEPENDS of data-router +DEPENDS += "pkgconfig(dbus-glib-1)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(tapi)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/data-router.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "data-router" + +data-router_files = "" +data-router_files += "data-router.manifest" +data-router_files += "/usr/bin/data-router" + +FILES_${PN} = "${data-router_files}" + +PKG_data-router= "data-router" + +require data-router-extraconf.inc diff --git a/meta-tizen/recipes-tizen/data-router/data-router_git.bb b/meta-tizen/recipes-tizen/data-router/data-router_git.bb new file mode 100644 index 0000000..af24627 --- /dev/null +++ b/meta-tizen/recipes-tizen/data-router/data-router_git.bb @@ -0,0 +1,8 @@ +require data-router.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/data-router;protocol=ssh;tag=87f0698e4722cbb75b3c9c3b7323551d9bcb2af1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/db4/db4-extraconf.inc b/meta-tizen/recipes-tizen/db4/db4-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/db4/db4-native_git.bb b/meta-tizen/recipes-tizen/db4/db4-native_git.bb new file mode 100644 index 0000000..94abac0 --- /dev/null +++ b/meta-tizen/recipes-tizen/db4/db4-native_git.bb @@ -0,0 +1,12 @@ +require db4.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/db4;protocol=ssh;tag=a9c449b776662e5b683c754f36b0cbe5710888e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/db4/db4.inc b/meta-tizen/recipes-tizen/db4/db4.inc new file mode 100644 index 0000000..4dc5906 --- /dev/null +++ b/meta-tizen/recipes-tizen/db4/db4.inc @@ -0,0 +1,254 @@ +DESCRIPTION = "Berkeley DB Database Library Version 4.8" +HOMEPAGE = "http://www.sleepycat.com" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by db4-doc +PROVIDES += "db4-doc" +RPROVIDES_db4-doc += "db4-doc" + +#PROVIDES by db4-utils +PROVIDES += "db4-utils" +RPROVIDES_db4-utils += "db4-utils" + +#PROVIDES by db4 +PROVIDES += "db4" +RPROVIDES_db4 += "db4" +# the PROVIDES rules is ignore "db = 4.8.30.NC" +PROVIDES += "db" +RPROVIDES_db4 += "db" + +#PROVIDES by db4-devel +PROVIDES += "db4-devel" +RPROVIDES_db4-devel += "db4-devel" +RPROVIDES_db4-devel += "db4-dev" + +RDEPENDS = "" +#RDEPENDS of db4-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "db4" + + +DEPENDS = "" +#DEPENDS of db4 +DEPENDS += "autoconf-native" +DEPENDS += "gcc-c++" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n db-4.8.30.NC + cp ${S}/packaging/db4.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd dist + # dist/RELEASE codes the build date into the binary. + # Use last change of changes file instead + LAST_MOD=`stat --format="%Y" ${S}/packaging/db4.changes` + DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"` + sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE + ./s_config + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" + CC=gcc + export CFLAGS CXXFLAGS CC + # + # Build now the NPTL version + # + mkdir ../build_nptl + cd ../build_nptl + ../dist/configure --prefix=/usr \ + --libdir=/usr/lib --enable-compat185 --disable-dump185 \ + --enable-shared --disable-static --enable-cxx \ + --with-mutex="POSIX/pthreads/library" \ + x86_64-suse-linux + # Make sure O_DIRECT is really disabled (build host could have old kernel) + perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db_config.h + # Remove libtool predep_objects and postdep_objects wonkiness + perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool + perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool + perl -pi -e 's/-shared -nostdlib/-shared/' libtool + + make -j16 LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L/usr/lib -lstdc++" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/include/db4 + CONFIG_ARGS=$(find . -name "config.log" -exec grep "\$ \.\./dist\/configure" {} \; | sed 's/.*configure\( --.*\)/\1/g') + if [ -z "$CONFIG_ARGS" ] + then + echo "could not find configure arguments ... exiting" + exit 42 + fi + mkdir -p ${D}/usr/lib + cd build_nptl + make prefix=${D}/usr libdir=${D}/usr/lib strip=true install + cd .. + # make ldd happy: + chmod 755 ${D}/usr/lib/libdb*.so + # Fix header file installation + mv ${D}/usr/include/*.h ${D}/usr/include/db4 + echo "#include " > ${D}/usr/include/db.h + echo "#include " > ${D}/usr/include/db_185.h + echo "#include " > ${D}/usr/include/db_cxx.h + # remove dangling tags symlink from examples. + rm -f examples_cxx/tags + rm -f examples_c/tags + # Move documentation to the right directory + mkdir -p ${D}/usr/share/doc/packages/db4 + mv ${D}/usr/docs/* ${D}//usr/share/doc/packages/db4 + cp -a examples_cxx examples_c ${D}//usr/share/doc/packages/db4 + cp -a LICENSE README ${D}//usr/share/doc/packages/db4 + # + # Remove api documentation for C++, Java and TCL + rm -rf ${D}//usr/share/doc/packages/db4/csharp + rm -rf ${D}//usr/share/doc/packages/db4/java + rm -rf ${D}//usr/share/doc/packages/db4/api_reference/CXX + rm -rf ${D}//usr/share/doc/packages/db4/api_reference/STL + rm -rf ${D}//usr/share/doc/packages/db4/api_reference/TCL + rm -rf ${D}//usr/share/doc/packages/db4/gsg*/CXX + rm -rf ${D}//usr/share/doc/packages/db4/gsg*/JAVA + mv ${D}//usr/share/doc/packages/db4/collections/tutorial ${D}//usr/share/doc/packages/db4/ + # Remove crappy *.la files + rm -rf ${D}/usr/lib/*.la + rm -rf ${D}/usr/lib/tls/*.la + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/share/doc/packages/db4 | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "db4-doc" +PACKAGES += "db4-utils" +PACKAGES += "db4" +PACKAGES += "db4-devel" + +db4-doc_files = "" +db4-doc_files += "db4.manifest" +db4-doc_files += "/usr/share/doc/packages/db4" +db4-doc_files += "/usr/share/doc/packages/db4/LICENSE" +db4-doc_files += "/usr/share/doc/packages/db4/README" +db4-doc_files += "/usr/share/doc/packages/db4/index.html" +db4-doc_files += "/usr/share/doc/packages/db4/license" +db4-doc_files += "/usr/share/doc/packages/db4/articles" +db4-doc_files += "/usr/share/doc/packages/db4/api_reference" +db4-doc_files += "/usr/share/doc/packages/db4/examples_c" +db4-doc_files += "/usr/share/doc/packages/db4/examples_cxx" +db4-doc_files += "/usr/share/doc/packages/db4/gsg*" +db4-doc_files += "/usr/share/doc/packages/db4/porting" +db4-doc_files += "/usr/share/doc/packages/db4/programmer_reference" +db4-doc_files += "/usr/share/doc/packages/db4/tutorial" + +db4-utils_files = "" +db4-utils_files += "db4.manifest" +db4-utils_files += "/usr/bin/db_archive" +db4-utils_files += "/usr/bin/db_checkpoint" +db4-utils_files += "/usr/bin/db_deadlock" +db4-utils_files += "/usr/bin/db_dump" +db4-utils_files += "/usr/bin/db_load" +db4-utils_files += "/usr/bin/db_printlog" +db4-utils_files += "/usr/bin/db_recover" +db4-utils_files += "/usr/bin/db_sql" +db4-utils_files += "/usr/bin/db_stat" +db4-utils_files += "/usr/bin/db_upgrade" +db4-utils_files += "/usr/bin/db_verify" +db4-utils_files += "/usr/bin/db_hotbackup" + +db4_files = "" +db4_files += "db4.manifest" +db4_files += "/usr/lib/libdb-4.8.so" +db4_files += "/usr/lib/libdb_cxx-4.8.so" + +db4-devel_files = "" +db4-devel_files += "db4.manifest" +db4-devel_files += "/usr/include/db4" +db4-devel_files += "/usr/include/db.h" +db4-devel_files += "/usr/include/db_185.h" +db4-devel_files += "/usr/include/db_cxx.h" +db4-devel_files += "/usr/include/db4/db.h" +db4-devel_files += "/usr/include/db4/db_185.h" +db4-devel_files += "/usr/include/db4/db_cxx.h" +db4-devel_files += "/usr/lib/libdb.so" +db4-devel_files += "/usr/lib/libdb-4.so" +db4-devel_files += "/usr/lib/libdb_cxx.so" +db4-devel_files += "/usr/lib/libdb_cxx-4.so" + +FILES_${PN}-doc = "${db4-doc_files}" +FILES_${PN}-utils = "${db4-utils_files}" +FILES_${PN} = "${db4_files}" +FILES_${PN}-devel = "${db4-devel_files}" + +PKG_db4-doc= "db4-doc" +PKG_db4-utils= "db4-utils" +PKG_db4= "db4" +PKG_db4-devel= "db4-devel" + +require db4-extraconf.inc diff --git a/meta-tizen/recipes-tizen/db4/db4_git.bb b/meta-tizen/recipes-tizen/db4/db4_git.bb new file mode 100644 index 0000000..2c66004 --- /dev/null +++ b/meta-tizen/recipes-tizen/db4/db4_git.bb @@ -0,0 +1,8 @@ +require db4.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/db4;protocol=ssh;tag=a9c449b776662e5b683c754f36b0cbe5710888e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dbus-glib/dbus-glib-extraconf.inc b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dbus-glib/dbus-glib-native_git.bb b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib-native_git.bb new file mode 100644 index 0000000..f40d0dd --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib-native_git.bb @@ -0,0 +1,12 @@ +require dbus-glib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-glib;protocol=ssh;tag=a2ab54dba6cdd32666c642b3a5d58e14ae150a01;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dbus-glib/dbus-glib.inc b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib.inc new file mode 100644 index 0000000..cf33e05 --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "GLib bindings for D-Bus" +HOMEPAGE = "http://www.freedesktop.org/software/dbus/" +SECTION = "System/Libraries" +LICENSE = "AFL-2.1 or GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dbus-glib-docs +PROVIDES += "dbus-glib-docs " +RPROVIDES_dbus-glib-docs += "dbus-glib-docs " + +#PROVIDES by dbus-glib-devel +PROVIDES += "dbus-glib-devel" +RPROVIDES_dbus-glib-devel += "dbus-glib-devel" +RPROVIDES_dbus-glib-devel += "dbus-glib-dev" + +#PROVIDES by dbus-glib +PROVIDES += "dbus-glib" +RPROVIDES_dbus-glib += "dbus-glib" + +RDEPENDS = "" +#RDEPENDS of dbus-glib-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "dbus-glib" + + +DEPENDS = "" +#DEPENDS of dbus-glib +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "expat-devel" +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dbus-glib.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-tests \ + --enable-verbose-mode=yes \ + --enable-asserts=yes \ + --disable-gtk-doc + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # don't care about bash completion in a consumer device + rm -rf ${D}/etc/bash_completion.d/dbus-bash-completion.sh + rm -rf ${D}/usr/libexec/dbus-bash-completion-helper + + + +} + +PACKAGES = "" +PACKAGES += "dbus-glib-docs" +PACKAGES += "dbus-glib-devel" +PACKAGES += "dbus-glib" + +dbus-glib-docs_files = "" +dbus-glib-docs_files += "/usr/share/info" +dbus-glib-docs_files += "/usr/share/man" + +dbus-glib-devel_files = "" +dbus-glib-devel_files += "dbus-glib.manifest" +dbus-glib-devel_files += "/usr/lib/lib*.so" +dbus-glib-devel_files += "/usr/lib/pkgconfig/dbus-glib-1.pc" +dbus-glib-devel_files += "/usr/include/dbus-1.0/dbus/*" +dbus-glib-devel_files += "/usr/bin/dbus-binding-tool" + +dbus-glib_files = "" +dbus-glib_files += "dbus-glib.manifest" +dbus-glib_files += "/usr/lib/*glib*.so.*" + +FILES_${PN}-docs = "${dbus-glib-docs_files}" +FILES_${PN}-devel = "${dbus-glib-devel_files}" +FILES_${PN} = "${dbus-glib_files}" + +PKG_dbus-glib-docs= "dbus-glib-docs" +PKG_dbus-glib-devel= "dbus-glib-devel" +PKG_dbus-glib= "dbus-glib" + +require dbus-glib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dbus-glib/dbus-glib_git.bb b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib_git.bb new file mode 100644 index 0000000..a339775 --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-glib/dbus-glib_git.bb @@ -0,0 +1,8 @@ +require dbus-glib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-glib;protocol=ssh;tag=a2ab54dba6cdd32666c642b3a5d58e14ae150a01;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc b/meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python-native_git.bb b/meta-tizen/recipes-tizen/dbus-python/dbus-python-native_git.bb new file mode 100644 index 0000000..36e1d4a --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-python/dbus-python-native_git.bb @@ -0,0 +1,12 @@ +require dbus-python.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-python;protocol=ssh;tag=0910bc53d2965584e7305b4f32158fa56af6197f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc b/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc new file mode 100644 index 0000000..0e58772 --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc @@ -0,0 +1,161 @@ +DESCRIPTION = "Python bindings for D-Bus" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/DBusBindings/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dbus-python-devel +PROVIDES += "dbus-python-devel" +RPROVIDES_dbus-python-devel += "dbus-python-devel" +RPROVIDES_dbus-python-devel += "dbus-python-dev" + +#PROVIDES by dbus-python +PROVIDES += "dbus-python" +RPROVIDES_dbus-python += "dbus-python" + +RDEPENDS = "" +#RDEPENDS of dbus-python-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "dbus" +RDEPENDS_${PN}-devel += "dbus-dev" +RDEPENDS_${PN}-devel += "dbus-python" + +#RDEPENDS of dbus-python (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "libxml2-python" + + +DEPENDS = "" +#DEPENDS of dbus-python +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "fdupes-native" +DEPENDS += "python-devel" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dbus-python.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-protector -fno-strict-aliasing -fPIC" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --docdir=/usr/share/doc/packages/dbus-python + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/dbus-python + rm -rf ${D}/usr/share/doc/dbus-python-1.1.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "dbus-python-devel" +PACKAGES += "dbus-python" + +dbus-python-devel_files = "" +dbus-python-devel_files += "dbus-python.manifest" +dbus-python-devel_files += "/usr/include/dbus-1.0/dbus/dbus-python.h" +dbus-python-devel_files += "/usr/lib/pkgconfig/dbus-python.pc" + +dbus-python_files = "" +dbus-python_files += "dbus-python.manifest" +dbus-python_files += "/usr/lib/python2.7/site-packages/*" +dbus-python_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN}-devel = "${dbus-python-devel_files}" +FILES_${PN} = "${dbus-python_files}" + +PKG_dbus-python-devel= "dbus-python-devel" +PKG_dbus-python= "dbus-python" + +require dbus-python-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb b/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb new file mode 100644 index 0000000..bf9d948 --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb @@ -0,0 +1,8 @@ +require dbus-python.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-python;protocol=ssh;tag=0910bc53d2965584e7305b4f32158fa56af6197f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dbus/dbus-extraconf.inc b/meta-tizen/recipes-tizen/dbus/dbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dbus/dbus.inc b/meta-tizen/recipes-tizen/dbus/dbus.inc new file mode 100644 index 0000000..b61204f --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus/dbus.inc @@ -0,0 +1,217 @@ +DESCRIPTION = "D-Bus Message Bus System" +HOMEPAGE = "http://dbus.freedesktop.org/" +SECTION = "Base/IPC" +LICENSE = "GPL-2.0+ or AFL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dbus-docs +PROVIDES += "dbus-docs " +RPROVIDES_dbus-docs += "dbus-docs " + +#PROVIDES by dbus +PROVIDES += "dbus" +RPROVIDES_dbus += "dbus" + +#PROVIDES by dbus-devel-doc +PROVIDES += "dbus-devel-doc" +RPROVIDES_dbus-devel-doc += "dbus-devel-doc" +RPROVIDES_dbus-devel-doc += "dbus-dev" + +RDEPENDS = "" +#RDEPENDS of dbus (${PN}) +RDEPENDS_${PN} += "/usr/sbin/useradd" +RDEPENDS_${PN} += "/usr/sbin/groupadd" + +#RDEPENDS of dbus-devel-doc (${PN}-devel-doc) +RDEPENDS_${PN}-devel-doc += "dbus" + + +DEPENDS = "" +#DEPENDS of dbus +DEPENDS += "doxygen" +DEPENDS += "libxslt-tools" +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "libzio" +DEPENDS += "expat-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(libsystemd-login)" +DEPENDS += "libcap-ng-devel" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "xmlto" + +do_patch() { + # COMMON2-BEGIN + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n dbus-1.6.12 -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + # We use -fpie/-pie for the whole build; this is the recommended way to harden + # the build upstream, see discussion in fdo#46570 + export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -fpie" + export LDFLAGS="-pie" + export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" + export CFLAGS="$CFLAGS -fstack-protector" + export CXXFLAGS="$CXXFLAGS -fstack-protector" + export V=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=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-pic \ + --with-dbus-user=dbus \ + --libexecdir=/usr/lib/dbus \ + --libdir=/usr/lib \ + --with-init-scripts=suse \ + --enable-inotify \ + --enable-doxygen-docs \ + --enable-systemd \ + --with-console-auth-dir=/var/run/dbus/at_console/ \ + --with-systemdsystemunitdir=/lib/systemd/system \ + --enable-smack + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # COMMON2-END + make DESTDIR=${D} install + mkdir -p ${D}/usr/sbin + install -d ${D}//var/run/dbus + mkdir -p ${D}//usr/lib/pkgconfig + mkdir -p ${D}/lib/dbus-1/system-services + mkdir -p ${D}//usr/share/dbus-1/system-services + mkdir -p ${D}//usr/share/dbus-1/interfaces + # + chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c doc/TODO + # + install -d ${D}/etc/ConsoleKit/run-session.d + install -m 755 ${S}/packaging/dbus_at_console.ck ${D}/etc/ConsoleKit/run-session.d + mkdir -p ${D}/var/lib/dbus + touch ${D}//var/lib/dbus/machine-id + + mkdir -p ${D}/lib/systemd/user + install -m0644 ${S}/packaging/dbus-user.service ${D}/lib/systemd/user/dbus.service + install -m0644 ${S}/packaging/dbus-user.socket ${D}/lib/systemd/user/dbus.socket + # File packaged by libdbus and dbus-devel + rm -rf ${D}//usr/include/* + rm -rf ${D}//usr/lib/*.la + rm -rf ${D}//usr/lib/libdbus-1.so + rm -rf ${D}//usr/lib/libdbus-1.so.* + rm -rf ${D}//usr/lib/dbus-1.0/include + rm -rf ${D}//usr/lib/pkgconfig/dbus-1.pc + rm -rf ${D}//usr/share/man/man1/dbus-launch.1* + rm -rf ${D}//usr/bin/dbus-launch + + + +} + +PACKAGES = "" +PACKAGES += "dbus" +PACKAGES += "dbus-devel-doc" +PACKAGES += "dbus-docs" + +dbus_files = "" +dbus_files += "/var/lib/dbus" +dbus_files += "/lib/dbus-1" +dbus_files += "/lib/dbus-1/system-services" +dbus_files += "/etc/dbus-1/session.conf" +dbus_files += "/etc/dbus-1/system.conf" +dbus_files += "/etc/ConsoleKit" +dbus_files += "/usr/bin/dbus-cleanup-sockets" +dbus_files += "/usr/bin/dbus-daemon" +dbus_files += "/usr/bin/dbus-monitor" +dbus_files += "/usr/bin/dbus-send" +dbus_files += "/usr/bin/dbus-uuidgen" +dbus_files += "/lib/systemd/system" +dbus_files += "/lib/systemd/system/dbus.service" +dbus_files += "/lib/systemd/system/dbus.socket" +dbus_files += "/lib/systemd/user/dbus.service" +dbus_files += "/lib/systemd/user/dbus.socket" +dbus_files += "/lib/systemd/system/dbus.target.wants" +dbus_files += "/lib/systemd/system/dbus.target.wants/dbus.socket" +dbus_files += "/lib/systemd/system/multi-user.target.wants" +dbus_files += "/lib/systemd/system/multi-user.target.wants/dbus.service" +dbus_files += "/lib/systemd/system/sockets.target.wants" +dbus_files += "/lib/systemd/system/sockets.target.wants/dbus.socket" +dbus_files += "/etc/dbus-1" +dbus_files += "/etc/dbus-1/session.d" +dbus_files += "/etc/dbus-1/system.d" +dbus_files += "/usr/share/dbus-1" +dbus_files += "/usr/share/dbus-1/interfaces" +dbus_files += "/usr/share/dbus-1/services" +dbus_files += "/usr/share/dbus-1/system-services" + +dbus-devel-doc_files = "" +dbus-devel-doc_files += "/usr/share/doc/dbus" +dbus-devel-doc_files += "/usr/share/doc/dbus/api/" +dbus-devel-doc_files += "/usr/share/doc/dbus/dbus-faq.html" +dbus-devel-doc_files += "/usr/share/doc/dbus/dbus-specification.html" +dbus-devel-doc_files += "/usr/share/doc/dbus/dbus-test-plan.html" +dbus-devel-doc_files += "/usr/share/doc/dbus/dbus-tutorial.html" +dbus-devel-doc_files += "/usr/share/doc/dbus/dbus.devhelp" +dbus-devel-doc_files += "/usr/share/doc/dbus/diagram.*" +dbus-devel-doc_files += "/usr/share/doc/dbus/system-activation.txt" +dbus-devel-doc_files += "doc/*.txt doc/file-boilerplate.c doc/TODO" + +dbus-docs_files = "" +dbus-docs_files += "/usr/share/info" +dbus-docs_files += "/usr/share/man" + +FILES_${PN} = "${dbus_files}" +FILES_${PN}-devel-doc = "${dbus-devel-doc_files}" +FILES_${PN}-docs = "${dbus-docs_files}" + +PKG_dbus= "dbus" +PKG_dbus-devel-doc= "dbus-devel-doc" +PKG_dbus-docs= "dbus-docs" + +require dbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-extraconf.inc b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-native_git.bb b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-native_git.bb new file mode 100644 index 0000000..e5459ec --- /dev/null +++ b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains-native_git.bb @@ -0,0 +1,12 @@ +require default-ac-domains.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/default-ac-domains;protocol=ssh;tag=ba096c8ca6fb42146a2541ea6e5df8973593ea9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains.inc b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains.inc new file mode 100644 index 0000000..3d74345 --- /dev/null +++ b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains.inc @@ -0,0 +1,67 @@ +DESCRIPTION = "The definition of default ac domains" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by default-ac-domains +PROVIDES += "default-ac-domains" +RPROVIDES_default-ac-domains += "default-ac-domains" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/default-ac-domains.manifest . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + +} + +PACKAGES = "" +PACKAGES += "default-ac-domains" + +default-ac-domains_files = "" +default-ac-domains_files += "default-ac-domains.manifest" + +FILES_${PN} = "${default-ac-domains_files}" + +PKG_default-ac-domains= "default-ac-domains" + +require default-ac-domains-extraconf.inc diff --git a/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains_git.bb b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains_git.bb new file mode 100644 index 0000000..ee5b360 --- /dev/null +++ b/meta-tizen/recipes-tizen/default-ac-domains/default-ac-domains_git.bb @@ -0,0 +1,8 @@ +require default-ac-domains.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/default-ac-domains;protocol=ssh;tag=ba096c8ca6fb42146a2541ea6e5df8973593ea9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-extraconf.inc b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-native_git.bb b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-native_git.bb new file mode 100644 index 0000000..e687f7b --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-native_git.bb @@ -0,0 +1,12 @@ +require default-fonts-fc-sdk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/default-fonts-fc-sdk;protocol=ssh;tag=1d1be0df95b1ff677eb95d87100ccd75023fbb91;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk.inc b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk.inc new file mode 100644 index 0000000..2292099 --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk.inc @@ -0,0 +1,75 @@ +DESCRIPTION = "Font configuration package for SDK" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "TO BE FILLED IN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by default-fonts-fc-sdk +PROVIDES += "default-fonts-fc-sdk" +RPROVIDES_default-fonts-fc-sdk += "default-fonts-fc-sdk" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/default-fonts-fc-sdk.manifest . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + mkdir -p ${D}/usr/etc/fonts/conf.d/ + mkdir -p ${D}/opt/etc/fonts/conf.avail/ && cp -a sdk_fonts_fc/* ${D}/opt/etc/fonts/conf.avail/ + cd ${D}/usr/etc/fonts/conf.d/ + ln -s ../../../../opt/etc/fonts/conf.avail/99-slp.conf ${D}/usr/etc/fonts/conf.d/99-slp.conf + + +} + +PACKAGES = "" +PACKAGES += "default-fonts-fc-sdk" + +default-fonts-fc-sdk_files = "" +default-fonts-fc-sdk_files += "default-fonts-fc-sdk.manifest" +default-fonts-fc-sdk_files += "/opt/etc/fonts/conf.avail/99-slp.conf" +default-fonts-fc-sdk_files += "/usr/etc/fonts/conf.d/99-slp.conf" + +FILES_${PN} = "${default-fonts-fc-sdk_files}" + +PKG_default-fonts-fc-sdk= "default-fonts-fc-sdk" + +require default-fonts-fc-sdk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk_git.bb b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk_git.bb new file mode 100644 index 0000000..ced3014 --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk_git.bb @@ -0,0 +1,8 @@ +require default-fonts-fc-sdk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/default-fonts-fc-sdk;protocol=ssh;tag=1d1be0df95b1ff677eb95d87100ccd75023fbb91;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-extraconf.inc b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-native_git.bb b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-native_git.bb new file mode 100644 index 0000000..d5e06cd --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk-native_git.bb @@ -0,0 +1,12 @@ +require default-fonts-sdk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/default-fonts-sdk;protocol=ssh;tag=66643c76f4cc023b9b52d9dd65a0d8e81539f67c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk.inc b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk.inc new file mode 100644 index 0000000..cda015d --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "free fonts for Tizen SDK" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "TO BE FILLED IN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by default-fonts-sdk +PROVIDES += "default-fonts-sdk" +RPROVIDES_default-fonts-sdk += "default-fonts-sdk" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/default-fonts-sdk.manifest . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + mkdir -p ${D}/usr/share/fonts && cp -a fonts ${D}/usr/share + mkdir -p ${D}/usr/share/fallback_fonts && cp -a fallback_fonts ${D}/usr/share + + +} + +PACKAGES = "" +PACKAGES += "default-fonts-sdk" + +default-fonts-sdk_files = "" +default-fonts-sdk_files += "default-fonts-sdk.manifest" +default-fonts-sdk_files += "/usr/share/fonts/*" +default-fonts-sdk_files += "/usr/share/fallback_fonts/*" + +FILES_${PN} = "${default-fonts-sdk_files}" + +PKG_default-fonts-sdk= "default-fonts-sdk" + +require default-fonts-sdk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk_git.bb b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk_git.bb new file mode 100644 index 0000000..a1f4c0f --- /dev/null +++ b/meta-tizen/recipes-tizen/default-fonts-sdk/default-fonts-sdk_git.bb @@ -0,0 +1,8 @@ +require default-fonts-sdk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/default-fonts-sdk;protocol=ssh;tag=66643c76f4cc023b9b52d9dd65a0d8e81539f67c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-extraconf.inc b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-native_git.bb b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-native_git.bb new file mode 100644 index 0000000..0718e56 --- /dev/null +++ b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts-native_git.bb @@ -0,0 +1,12 @@ +require dejavu-fonts.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dejavu-fonts;protocol=ssh;tag=b03f82c16c070c29537548c938731e91d7c58db8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts.inc b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts.inc new file mode 100644 index 0000000..8d9fb78 --- /dev/null +++ b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts.inc @@ -0,0 +1,71 @@ +DESCRIPTION = "DejaVu Truetype Fonts" +HOMEPAGE = "http://dejavu.sourceforge.net/" +SECTION = "System/Fonts" +LICENSE = "Permissive" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dejavu-fonts +PROVIDES += "dejavu-fonts" +RPROVIDES_dejavu-fonts += "dejavu-fonts" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n dejavu-fonts-ttf-2.33 + cp ${S}/packaging/dejavu-fonts.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/fonts/truetype/ + install -m 0644 ttf/*.ttf ${D}/usr/share/fonts/truetype/ + + + +} + +PACKAGES = "" +PACKAGES += "dejavu-fonts" + +dejavu-fonts_files = "" +dejavu-fonts_files += "dejavu-fonts.manifest" +dejavu-fonts_files += "/usr/share/fonts/truetype/" + +FILES_${PN} = "${dejavu-fonts_files}" + +PKG_dejavu-fonts= "dejavu-fonts" + +require dejavu-fonts-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts_git.bb b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts_git.bb new file mode 100644 index 0000000..ad5a8be --- /dev/null +++ b/meta-tizen/recipes-tizen/dejavu-fonts/dejavu-fonts_git.bb @@ -0,0 +1,8 @@ +require dejavu-fonts.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dejavu-fonts;protocol=ssh;tag=b03f82c16c070c29537548c938731e91d7c58db8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/deltarpm/deltarpm-extraconf.inc b/meta-tizen/recipes-tizen/deltarpm/deltarpm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/deltarpm/deltarpm-native_git.bb b/meta-tizen/recipes-tizen/deltarpm/deltarpm-native_git.bb new file mode 100644 index 0000000..bf3c5e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/deltarpm/deltarpm-native_git.bb @@ -0,0 +1,12 @@ +require deltarpm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/deltarpm;protocol=ssh;tag=f022dc53010190e5810d6292730866f99a437754;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/deltarpm/deltarpm.inc b/meta-tizen/recipes-tizen/deltarpm/deltarpm.inc new file mode 100644 index 0000000..7c9fd3b --- /dev/null +++ b/meta-tizen/recipes-tizen/deltarpm/deltarpm.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Tools to Create and Apply deltarpms" +HOMEPAGE = "ftp://ftp.suse.com/pub/projects/deltarpm" +SECTION = "System/Packages" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by deltarpm +PROVIDES += "deltarpm" +RPROVIDES_deltarpm += "deltarpm" + +#PROVIDES by python-deltarpm +PROVIDES += "python-deltarpm" +RPROVIDES_python-deltarpm += "python-deltarpm" + +RDEPENDS = "" +#RDEPENDS of python-deltarpm (python-${PN}) +RDEPENDS_python-${PN} += "deltarpm" + + +DEPENDS = "" +#DEPENDS of deltarpm +DEPENDS += "rpm-devel" +DEPENDS += "bzip2" +DEPENDS += "python-devel" +DEPENDS += "xz-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/deltarpm.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CC="gcc" CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" -j16 + make CC="gcc" CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" -j16 python + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/lib/rpm + make DESTDIR=${D} prefix="/usr" libdir="/usr/lib" mandir="/usr/share/man" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" install + rm -rf ${D}/usr/lib/python/site-packages/{_deltarpmmodule.so,deltarpm.py} # Remove wrongly installed Python module + mv ${D}/usr/lib/python2.7/site-packages/_deltarpm{module,}.so # Fix binary Python module name + + +} + +PACKAGES = "" +PACKAGES += "python-deltarpm" +PACKAGES += "deltarpm" + +python-deltarpm_files = "" +python-deltarpm_files += "deltarpm.manifest" +python-deltarpm_files += "/usr/lib/python2.7/site-packages/deltarpm.py" +python-deltarpm_files += "/usr/lib/python2.7/site-packages/_deltarpm.so" + +deltarpm_files = "" +deltarpm_files += "deltarpm.manifest" +deltarpm_files += "README LICENSE.BSD" +deltarpm_files += "/usr/bin/*" +deltarpm_files += "/usr/share/man/man8/*" +deltarpm_files += "/usr/lib/rpm/rpmdumpheader" + +FILES_python-${PN} = "${python-deltarpm_files}" +FILES_${PN} = "${deltarpm_files}" + +PKG_python-deltarpm= "python-deltarpm" +PKG_deltarpm= "deltarpm" + +require deltarpm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/deltarpm/deltarpm_git.bb b/meta-tizen/recipes-tizen/deltarpm/deltarpm_git.bb new file mode 100644 index 0000000..df21c86 --- /dev/null +++ b/meta-tizen/recipes-tizen/deltarpm/deltarpm_git.bb @@ -0,0 +1,8 @@ +require deltarpm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/deltarpm;protocol=ssh;tag=f022dc53010190e5810d6292730866f99a437754;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-extraconf.inc b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-native_git.bb b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-native_git.bb new file mode 100644 index 0000000..b240271 --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils-native_git.bb @@ -0,0 +1,12 @@ +require desktop-file-utils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/desktop-file-utils;protocol=ssh;tag=bfa7b3071761f5bc410d7530b2d18f7883b06490;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils.inc b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils.inc new file mode 100644 index 0000000..cf58810 --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Utilities for Manipulating Desktop Files" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/desktop-file-utils" +SECTION = "Development/Tools/Other" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by desktop-file-utils +PROVIDES += "desktop-file-utils" +RPROVIDES_desktop-file-utils += "desktop-file-utils" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of desktop-file-utils +DEPENDS += "xz" +DEPENDS += "glib2-devel" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/desktop-file-utils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-lispdir=/usr/share/emacs/site-lisp + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + # we don't want to buildrequire emacs, but recent automake make it + # impossible to install a lisp file without emacs installed. So we + # manually do it. + test ! -f ${D}/usr/share/emacs/site-lisp/desktop-entry-mode.el + install -D -m644 misc/desktop-entry-mode.el ${D}/usr/share/emacs/site-lisp/desktop-entry-mode.el + # Install rpm macros + install -D -m644 ${S}/packaging/macros.desktop-file-utils ${D}/etc/rpm/macros.desktop-file-utils + # Create ghosts based on default $XDG_DATA_DIRS: + mkdir -p ${D}/usr/share/applications + touch ${D}/usr/share/applications/mimeinfo.cache + + +} + +PACKAGES = "" +PACKAGES += "desktop-file-utils" + +desktop-file-utils_files = "" +desktop-file-utils_files += "desktop-file-utils.manifest" +desktop-file-utils_files += "AUTHORS ChangeLog NEWS README" +desktop-file-utils_files += "/usr/bin/desktop-file-edit" +desktop-file-utils_files += "/usr/bin/desktop-file-install" +desktop-file-utils_files += "/usr/bin/desktop-file-validate" +desktop-file-utils_files += "/usr/bin/update-desktop-database" +desktop-file-utils_files += "/usr/share/man/man1/desktop-file-edit.1*" +desktop-file-utils_files += "/usr/share/man/man1/desktop-file-install.1*" +desktop-file-utils_files += "/usr/share/man/man1/desktop-file-validate.1*" +desktop-file-utils_files += "/usr/share/man/man1/update-desktop-database.1*" +desktop-file-utils_files += "/usr/share/emacs" +desktop-file-utils_files += "/usr/share/emacs/site-lisp" +desktop-file-utils_files += "/usr/share/emacs/site-lisp/*.el*" +desktop-file-utils_files += "/etc/rpm/macros.desktop-file-utils" + +FILES_${PN} = "${desktop-file-utils_files}" + +PKG_desktop-file-utils= "desktop-file-utils" + +require desktop-file-utils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils_git.bb b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils_git.bb new file mode 100644 index 0000000..c49cfa9 --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-file-utils/desktop-file-utils_git.bb @@ -0,0 +1,8 @@ +require desktop-file-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/desktop-file-utils;protocol=ssh;tag=bfa7b3071761f5bc410d7530b2d18f7883b06490;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/desktop-skin/desktop-skin-extraconf.inc b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/desktop-skin/desktop-skin-native_git.bb b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin-native_git.bb new file mode 100644 index 0000000..127e268 --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin-native_git.bb @@ -0,0 +1,12 @@ +require desktop-skin.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/generic/desktop-skin;protocol=ssh;tag=29eca2b4609c87d567e0169c8820c94c837051c3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/desktop-skin/desktop-skin.inc b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin.inc new file mode 100644 index 0000000..aef2c40 --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "Provides desktop-skin." +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by desktop-skin +PROVIDES += "desktop-skin" +RPROVIDES_desktop-skin += "desktop-skin" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + install -m 755 Script/launch_cam.sh ${D}/usr/bin + install -m 755 Script/launch_video.sh ${D}/usr/bin + + mkdir -p ${D}/home/app + install -m 644 Video/AmazingNature_480p.mp4 ${D}/home/app + + mkdir -p ${D}/home/app/Photos + install -m 644 Photos/* ${D}/home/app/Photos + + mkdir -p ${D}/usr/share/icons/tizen/32x32 + install -m 644 icons/tizen/32x32/* ${D}/usr/share/icons/tizen/32x32 + + mkdir -p ${D}/usr/share/backgrounds/tizen + install -m 644 backgrounds/tizen/golfe-morbihan.jpg ${D}/usr/share/backgrounds/tizen/golfe-morbihan.jpg + + +} + +PACKAGES = "" +PACKAGES += "desktop-skin" + +desktop-skin_files = "" +desktop-skin_files += "/usr/bin/launch_cam.sh" +desktop-skin_files += "/usr/bin/launch_video.sh" +desktop-skin_files += "/home/app/AmazingNature_480p.mp4" +desktop-skin_files += "/home/app/Photos/*" +desktop-skin_files += "/usr/share/icons/tizen/32x32/*" +desktop-skin_files += "/usr/share/backgrounds/tizen/golfe-morbihan.jpg" + +FILES_${PN} = "${desktop-skin_files}" + +PKG_desktop-skin= "desktop-skin" + +require desktop-skin-extraconf.inc diff --git a/meta-tizen/recipes-tizen/desktop-skin/desktop-skin_git.bb b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin_git.bb new file mode 100644 index 0000000..923d2ca --- /dev/null +++ b/meta-tizen/recipes-tizen/desktop-skin/desktop-skin_git.bb @@ -0,0 +1,8 @@ +require desktop-skin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/generic/desktop-skin;protocol=ssh;tag=29eca2b4609c87d567e0169c8820c94c837051c3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device-config-touch/device-config-touch-extraconf.inc b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/device-config-touch/device-config-touch-native_git.bb b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch-native_git.bb new file mode 100644 index 0000000..3eeee76 --- /dev/null +++ b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch-native_git.bb @@ -0,0 +1,12 @@ +require device-config-touch.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/adaptation/device-config-touch;protocol=ssh;tag=37c79b60ba25c4a14fabd20a58093320ccae930c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device-config-touch/device-config-touch.inc b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch.inc new file mode 100644 index 0000000..0989b4b --- /dev/null +++ b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Device specific configurations for Touch" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Hardware Adaptation" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by device-config-touch-sitronix +PROVIDES += "device-config-touch-sitronix" +RPROVIDES_device-config-touch-sitronix += "device-config-touch-sitronix" + +#PROVIDES by device-config-touch +PROVIDES += "device-config-touch" +RPROVIDES_device-config-touch += "device-config-touch" + +#PROVIDES by device-config-touch-mxt224 +PROVIDES += "device-config-touch-mxt224" +RPROVIDES_device-config-touch-mxt224 += "device-config-touch-mxt224" + +#PROVIDES by device-config-touch-ILI +PROVIDES += "device-config-touch-ILI" +RPROVIDES_device-config-touch-ILI += "device-config-touch-ILI" + +#PROVIDES by device-config-touch-cando +PROVIDES += "device-config-touch-cando" +RPROVIDES_device-config-touch-cando += "device-config-touch-cando" + +#PROVIDES by device-config-touch-eGalax +PROVIDES += "device-config-touch-eGalax" +RPROVIDES_device-config-touch-eGalax += "device-config-touch-eGalax" + +#PROVIDES by device-config-touch-Hanvon +PROVIDES += "device-config-touch-Hanvon" +RPROVIDES_device-config-touch-Hanvon += "device-config-touch-Hanvon" + +#PROVIDES by device-config-touch-Atmel +PROVIDES += "device-config-touch-Atmel" +RPROVIDES_device-config-touch-Atmel += "device-config-touch-Atmel" + +#PROVIDES by device-config-touch-synaptics +PROVIDES += "device-config-touch-synaptics" +RPROVIDES_device-config-touch-synaptics += "device-config-touch-synaptics" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + # >> gbp-apply-patches # auto-added by gbp + # << gbp-apply-patches # auto-added by gbp + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/device-config-touch.manifest . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}/etc/X11/xorg.conf.d + install -m 0644 *.conf ${D}/etc/X11/xorg.conf.d/ + + + +} + +PACKAGES = "" +PACKAGES += "device-config-touch-sitronix" +PACKAGES += "device-config-touch-mxt224" +PACKAGES += "device-config-touch-ILI" +PACKAGES += "device-config-touch-cando" +PACKAGES += "device-config-touch-eGalax" +PACKAGES += "device-config-touch-Hanvon" +PACKAGES += "device-config-touch-Atmel" +PACKAGES += "device-config-touch-synaptics" + +device-config-touch-sitronix_files = "" +device-config-touch-sitronix_files += "/etc/X11/xorg.conf.d/70-sitronix-mtev.conf" +device-config-touch-sitronix_files += "device-config-touch.manifest" + +device-config-touch-mxt224_files = "" +device-config-touch-mxt224_files += "/etc/X11/xorg.conf.d/60-mxt224-evdevmultitouch.conf" +device-config-touch-mxt224_files += "device-config-touch.manifest" + +device-config-touch-ILI_files = "" +device-config-touch-ILI_files += "/etc/X11/xorg.conf.d/90-ILI-mtev.conf" +device-config-touch-ILI_files += "device-config-touch.manifest" + +device-config-touch-cando_files = "" +device-config-touch-cando_files += "/etc/X11/xorg.conf.d/60-cando-evdevmultitouch.conf" +device-config-touch-cando_files += "device-config-touch.manifest" + +device-config-touch-eGalax_files = "" +device-config-touch-eGalax_files += "/etc/X11/xorg.conf.d/92-exopc-mtev.conf" +device-config-touch-eGalax_files += "device-config-touch.manifest" + +device-config-touch-Hanvon_files = "" +device-config-touch-Hanvon_files += "/etc/X11/xorg.conf.d/80-Hanvon-mtev.conf" +device-config-touch-Hanvon_files += "device-config-touch.manifest" + +device-config-touch-Atmel_files = "" +device-config-touch-Atmel_files += "device-config-touch.manifest" +device-config-touch-Atmel_files += "/etc/X11/xorg.conf.d/65-Atmel-mtev.conf" + +device-config-touch-synaptics_files = "" +device-config-touch-synaptics_files += "/etc/X11/xorg.conf.d/60-synaptics-evdevmultitouch.conf" +device-config-touch-synaptics_files += "device-config-touch.manifest" + +FILES_${PN}-sitronix = "${device-config-touch-sitronix_files}" +FILES_${PN}-mxt224 = "${device-config-touch-mxt224_files}" +FILES_${PN}-ILI = "${device-config-touch-ILI_files}" +FILES_${PN}-cando = "${device-config-touch-cando_files}" +FILES_${PN}-eGalax = "${device-config-touch-eGalax_files}" +FILES_${PN}-Hanvon = "${device-config-touch-Hanvon_files}" +FILES_${PN}-Atmel = "${device-config-touch-Atmel_files}" +FILES_${PN}-synaptics = "${device-config-touch-synaptics_files}" + +PKG_device-config-touch-sitronix= "device-config-touch-sitronix" +PKG_device-config-touch-mxt224= "device-config-touch-mxt224" +PKG_device-config-touch-ILI= "device-config-touch-ILI" +PKG_device-config-touch-cando= "device-config-touch-cando" +PKG_device-config-touch-eGalax= "device-config-touch-eGalax" +PKG_device-config-touch-Hanvon= "device-config-touch-Hanvon" +PKG_device-config-touch-Atmel= "device-config-touch-Atmel" +PKG_device-config-touch-synaptics= "device-config-touch-synaptics" + +require device-config-touch-extraconf.inc diff --git a/meta-tizen/recipes-tizen/device-config-touch/device-config-touch_git.bb b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch_git.bb new file mode 100644 index 0000000..d9eb368 --- /dev/null +++ b/meta-tizen/recipes-tizen/device-config-touch/device-config-touch_git.bb @@ -0,0 +1,8 @@ +require device-config-touch.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/adaptation/device-config-touch;protocol=ssh;tag=37c79b60ba25c4a14fabd20a58093320ccae930c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device-mapper/device-mapper-extraconf.inc b/meta-tizen/recipes-tizen/device-mapper/device-mapper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/device-mapper/device-mapper-native_git.bb b/meta-tizen/recipes-tizen/device-mapper/device-mapper-native_git.bb new file mode 100644 index 0000000..46b4417 --- /dev/null +++ b/meta-tizen/recipes-tizen/device-mapper/device-mapper-native_git.bb @@ -0,0 +1,12 @@ +require device-mapper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/device-mapper;protocol=ssh;tag=911d8280f4873d65ea93f12a23eddf79a40b38eb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device-mapper/device-mapper.inc b/meta-tizen/recipes-tizen/device-mapper/device-mapper.inc new file mode 100644 index 0000000..a004a0b --- /dev/null +++ b/meta-tizen/recipes-tizen/device-mapper/device-mapper.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Device mapper utility" +HOMEPAGE = "http://sources.redhat.com/dm" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdevmapper +PROVIDES += "libdevmapper" +RPROVIDES_libdevmapper += "libdevmapper" + +#PROVIDES by device-mapper +PROVIDES += "device-mapper" +RPROVIDES_device-mapper += "device-mapper" + +#PROVIDES by device-mapper-devel +PROVIDES += "device-mapper-devel" +RPROVIDES_device-mapper-devel += "device-mapper-devel" +RPROVIDES_device-mapper-devel += "device-mapper-dev" + +RDEPENDS = "" +#RDEPENDS of device-mapper (${PN}) +RDEPENDS_${PN} += "libdevmapper" + +#RDEPENDS of device-mapper-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libdevmapper" +RDEPENDS_${PN}-devel += "device-mapper" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n LVM2.2.02.98 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix="" \ + --bindir=""/bin \ + --sbindir=""/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=""/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig + make device-mapper + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install_device-mapper DESTDIR=${D} usrlibdir=${D}/usr/lib + sed -i 's/ (.*)//g' ${D}/usr/lib/pkgconfig/*.pc + + + +} + +PACKAGES = "" +PACKAGES += "libdevmapper" +PACKAGES += "device-mapper" +PACKAGES += "device-mapper-devel" + +libdevmapper_files = "" + +device-mapper_files = "" +device-mapper_files += "LGPL-2.1 COPYING COPYING.LIB" +device-mapper_files += "/usr/share/man/man8/dmsetup.8.gz" + +device-mapper-devel_files = "" +device-mapper-devel_files += "/usr/include/libdevmapper.h" +device-mapper-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_libdevmapper = "${libdevmapper_files}" +FILES_${PN} = "${device-mapper_files}" +FILES_${PN}-devel = "${device-mapper-devel_files}" + +PKG_libdevmapper= "libdevmapper" +PKG_device-mapper= "device-mapper" +PKG_device-mapper-devel= "device-mapper-devel" + +require device-mapper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/device-mapper/device-mapper_git.bb b/meta-tizen/recipes-tizen/device-mapper/device-mapper_git.bb new file mode 100644 index 0000000..20ec3e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/device-mapper/device-mapper_git.bb @@ -0,0 +1,8 @@ +require device-mapper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/device-mapper;protocol=ssh;tag=911d8280f4873d65ea93f12a23eddf79a40b38eb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device/device-extraconf.inc b/meta-tizen/recipes-tizen/device/device-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/device/device-native_git.bb b/meta-tizen/recipes-tizen/device/device-native_git.bb new file mode 100644 index 0000000..27f2da4 --- /dev/null +++ b/meta-tizen/recipes-tizen/device/device-native_git.bb @@ -0,0 +1,12 @@ +require device.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/device;protocol=ssh;tag=cc0fd4686ca93c08be80db52b4655ebc24ec0814;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/device/device.inc b/meta-tizen/recipes-tizen/device/device.inc new file mode 100644 index 0000000..4be275d --- /dev/null +++ b/meta-tizen/recipes-tizen/device/device.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "A Device library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-device-devel +PROVIDES += "capi-system-device-devel" +RPROVIDES_capi-system-device-devel += "capi-system-device-devel" +RPROVIDES_capi-system-device-devel += "capi-system-device-dev" + +#PROVIDES by capi-system-device +PROVIDES += "capi-system-device" +RPROVIDES_capi-system-device += "capi-system-device" + +RDEPENDS = "" +#RDEPENDS of capi-system-device-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "capi-system-device" + + +DEPENDS = "" +#DEPENDS of capi-system-device +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(devman)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/capi-system-device.manifest . + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-system-device-devel" +PACKAGES += "capi-system-device" + +capi-system-device-devel_files = "" +capi-system-device-devel_files += "capi-system-device.manifest" +capi-system-device-devel_files += "/usr/include/system/device.h" +capi-system-device-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-device-devel_files += "/usr/lib/libcapi-system-device.so" + +capi-system-device_files = "" +capi-system-device_files += "capi-system-device.manifest" +capi-system-device_files += "capi-system-device.manifest" +capi-system-device_files += "/usr/lib/libcapi-system-device.so.*" + +FILES_${PN}-devel = "${capi-system-device-devel_files}" +FILES_${PN} = "${capi-system-device_files}" + +PKG_capi-system-device-devel= "capi-system-device-devel" +PKG_capi-system-device= "capi-system-device" + +require device-extraconf.inc diff --git a/meta-tizen/recipes-tizen/device/device_git.bb b/meta-tizen/recipes-tizen/device/device_git.bb new file mode 100644 index 0000000..69ab893 --- /dev/null +++ b/meta-tizen/recipes-tizen/device/device_git.bb @@ -0,0 +1,8 @@ +require device.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/device;protocol=ssh;tag=cc0fd4686ca93c08be80db52b4655ebc24ec0814;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/devman/devman-extraconf.inc b/meta-tizen/recipes-tizen/devman/devman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/devman/devman-native_git.bb b/meta-tizen/recipes-tizen/devman/devman-native_git.bb new file mode 100644 index 0000000..f0f7672 --- /dev/null +++ b/meta-tizen/recipes-tizen/devman/devman-native_git.bb @@ -0,0 +1,12 @@ +require devman.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/devman;protocol=ssh;tag=4957252a7971ba6d952ea23f96d1e46da507339f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/devman/devman.inc b/meta-tizen/recipes-tizen/devman/devman.inc new file mode 100644 index 0000000..3f7eb1e --- /dev/null +++ b/meta-tizen/recipes-tizen/devman/devman.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Device manager library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdevman-devel +PROVIDES += "libdevman-devel" +RPROVIDES_libdevman-devel += "libdevman-devel" +RPROVIDES_libdevman-devel += "libdevman-dev" + +#PROVIDES by libdevman-haptic-devel +PROVIDES += "libdevman-haptic-devel" +RPROVIDES_libdevman-haptic-devel += "libdevman-haptic-devel" +RPROVIDES_libdevman-haptic-devel += "libdevman-haptic-dev" + +#PROVIDES by devman +PROVIDES += "devman" +RPROVIDES_devman += "devman" + +#PROVIDES by libdevman +PROVIDES += "libdevman" +RPROVIDES_libdevman += "libdevman" + +RDEPENDS = "" +#RDEPENDS of libdevman-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libdevman" + +#RDEPENDS of libdevman-haptic-devel (lib${PN}-haptic-devel) +RDEPENDS_lib${PN}-haptic-devel += "libdevman-dev" + + +DEPENDS = "" +#DEPENDS of devman +DEPENDS += "cmake" +DEPENDS += "pkgconfig(device-node)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(heynoti)" +DEPENDS += "pkgconfig(dlog)" +DEPENDS += "pkgconfig(haptic)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/devman.manifest . + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libdevman-devel" +PACKAGES += "libdevman-haptic-devel" +PACKAGES += "libdevman" + +libdevman-devel_files = "" +libdevman-devel_files += "devman.manifest" +libdevman-devel_files += "/usr/include/devman/devman.h" +libdevman-devel_files += "/usr/include/devman/devman_managed.h" +libdevman-devel_files += "/usr/include/devman/devman_image.h" +libdevman-devel_files += "/usr/include/devman/devman_haptic.h" +libdevman-devel_files += "/usr/lib/pkgconfig/devman.pc" +libdevman-devel_files += "/usr/lib/libdevman.so" + +libdevman-haptic-devel_files = "" +libdevman-haptic-devel_files += "devman.manifest" +libdevman-haptic-devel_files += "/usr/include/devman/devman_haptic_ext.h" +libdevman-haptic-devel_files += "/usr/include/devman/devman_haptic_ext_core.h" +libdevman-haptic-devel_files += "/usr/lib/pkgconfig/devman_haptic.pc" + +libdevman_files = "" +libdevman_files += "devman.manifest" +libdevman_files += "/usr/bin/display_wd" +libdevman_files += "/usr/lib/libdevman.so.*" + +FILES_lib${PN}-devel = "${libdevman-devel_files}" +FILES_lib${PN}-haptic-devel = "${libdevman-haptic-devel_files}" +FILES_lib${PN} = "${libdevman_files}" + +PKG_libdevman-devel= "libdevman-devel" +PKG_libdevman-haptic-devel= "libdevman-haptic-devel" +PKG_libdevman= "libdevman" + +require devman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/devman/devman_git.bb b/meta-tizen/recipes-tizen/devman/devman_git.bb new file mode 100644 index 0000000..a92d450 --- /dev/null +++ b/meta-tizen/recipes-tizen/devman/devman_git.bb @@ -0,0 +1,8 @@ +require devman.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/devman;protocol=ssh;tag=4957252a7971ba6d952ea23f96d1e46da507339f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/diffutils/diffutils-extraconf.inc b/meta-tizen/recipes-tizen/diffutils/diffutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/diffutils/diffutils-native_git.bb b/meta-tizen/recipes-tizen/diffutils/diffutils-native_git.bb new file mode 100644 index 0000000..b7019c5 --- /dev/null +++ b/meta-tizen/recipes-tizen/diffutils/diffutils-native_git.bb @@ -0,0 +1,12 @@ +require diffutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/diffutils;protocol=ssh;tag=b433c69cd752e68737c15f34c327f1d7e4780d1d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/diffutils/diffutils.inc b/meta-tizen/recipes-tizen/diffutils/diffutils.inc new file mode 100644 index 0000000..e7e3bb5 --- /dev/null +++ b/meta-tizen/recipes-tizen/diffutils/diffutils.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "GNU diff Utilities" +HOMEPAGE = "http://www.gnu.org/software/diffutils/" +SECTION = "System/Utilities" +LICENSE = "GPL-3.0+ and GFDL-1.3+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by diffutils +PROVIDES += "diffutils" +RPROVIDES_diffutils += "diffutils" +# the PROVIDES rules is ignore "diff = 3.3" +PROVIDES += "diff" +RPROVIDES_diffutils += "diff" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of diffutils +DEPENDS += "xz" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/diffutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + gzip -9 ${D}/usr/share/info/diffutils.info + + + +} + +PACKAGES = "" +PACKAGES += "diffutils" + +diffutils_files = "" +diffutils_files += "diffutils.manifest" +diffutils_files += "/usr/bin/cmp" +diffutils_files += "/usr/bin/diff" +diffutils_files += "/usr/bin/diff3" +diffutils_files += "/usr/bin/sdiff" +diffutils_files += "/usr/share/info/diffutils.info.gz" +diffutils_files += "/usr/share/man/man1/*.gz" + +FILES_${PN} = "${diffutils_files}" + +PKG_diffutils= "diffutils" + +require diffutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/diffutils/diffutils_git.bb b/meta-tizen/recipes-tizen/diffutils/diffutils_git.bb new file mode 100644 index 0000000..2d0b7aa --- /dev/null +++ b/meta-tizen/recipes-tizen/diffutils/diffutils_git.bb @@ -0,0 +1,8 @@ +require diffutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/diffutils;protocol=ssh;tag=b433c69cd752e68737c15f34c327f1d7e4780d1d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dlog/dlog-extraconf.inc b/meta-tizen/recipes-tizen/dlog/dlog-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dlog/dlog-native_git.bb b/meta-tizen/recipes-tizen/dlog/dlog-native_git.bb new file mode 100644 index 0000000..a486e63 --- /dev/null +++ b/meta-tizen/recipes-tizen/dlog/dlog-native_git.bb @@ -0,0 +1,12 @@ +require dlog.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/dlog;protocol=ssh;tag=7125136fabfd0b9f1a508ee49ca45b851b3ce9be;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dlog/dlog.inc b/meta-tizen/recipes-tizen/dlog/dlog.inc new file mode 100644 index 0000000..eae84ca --- /dev/null +++ b/meta-tizen/recipes-tizen/dlog/dlog.inc @@ -0,0 +1,173 @@ +DESCRIPTION = "Logging service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdlog +PROVIDES += "libdlog" +RPROVIDES_libdlog += "libdlog" + +#PROVIDES by dlogutil +PROVIDES += "dlogutil" +RPROVIDES_dlogutil += "dlogutil" + +#PROVIDES by dlog +PROVIDES += "dlog" +RPROVIDES_dlog += "dlog" + +#PROVIDES by libdlog-devel +PROVIDES += "libdlog-devel" +RPROVIDES_libdlog-devel += "libdlog-devel" +RPROVIDES_libdlog-devel += "libdlog-dev" + +RDEPENDS = "" +#RDEPENDS of dlogutil (${PN}util) +RDEPENDS_${PN}util += "libdlog" +RDEPENDS_${PN}util += "/usr/bin/systemctl" + +#RDEPENDS of libdlog-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libdlog" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dlog.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --without-systemd-journal + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/etc/dump.d/default.d + cp ${WORKDIR}/dlog-0.4.1/dlog_dump.sh ${D}/opt/etc/dump.d/default.d/dlog_dump.sh + mkdir -p ${D}/usr/bin/ + cp ${WORKDIR}/dlog-0.4.1/dlogctrl ${D}/usr/bin/dlogctrl + + mkdir -p ${D}/lib/systemd/system/basic.target.wants + mkdir -p ${D}/lib/systemd/system/multi-user.target.wants + + install -m 0644 ${S}/packaging/dlog-main.service ${D}/lib/systemd/system + install -m 0644 ${S}/packaging/dlog-radio.service ${D}/lib/systemd/system + + ln -s ../dlog-main.service ${D}/lib/systemd/system/multi-user.target.wants/dlog-main.service + ln -s ../dlog-radio.service ${D}/lib/systemd/system/multi-user.target.wants/dlog-radio.service + + + +} + +PACKAGES = "" +PACKAGES += "libdlog" +PACKAGES += "dlogutil" +PACKAGES += "libdlog-devel" + +libdlog_files = "" +libdlog_files += "dlog.manifest" +libdlog_files += "/usr/lib/libdlog.so.*" + +dlogutil_files = "" +dlogutil_files += "dlog.manifest" +dlogutil_files += "/lib/systemd/system/dlog-main.service" +dlogutil_files += "/lib/systemd/system/dlog-radio.service" +dlogutil_files += "/lib/systemd/system/multi-user.target.wants/dlog-main.service" +dlogutil_files += "/lib/systemd/system/multi-user.target.wants/dlog-radio.service" + +libdlog-devel_files = "" +libdlog-devel_files += "dlog.manifest" +libdlog-devel_files += "/usr/include/dlog/dlog.h" +libdlog-devel_files += "/usr/lib/pkgconfig/dlog.pc" +libdlog-devel_files += "/usr/lib/libdlog.so" + +FILES_lib${PN} = "${libdlog_files}" +FILES_${PN}util = "${dlogutil_files}" +FILES_lib${PN}-devel = "${libdlog-devel_files}" + +PKG_libdlog= "libdlog" +PKG_dlogutil= "dlogutil" +PKG_libdlog-devel= "libdlog-devel" + +require dlog-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dlog/dlog_git.bb b/meta-tizen/recipes-tizen/dlog/dlog_git.bb new file mode 100644 index 0000000..71c77df --- /dev/null +++ b/meta-tizen/recipes-tizen/dlog/dlog_git.bb @@ -0,0 +1,8 @@ +require dlog.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/dlog;protocol=ssh;tag=7125136fabfd0b9f1a508ee49ca45b851b3ce9be;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dmidecode/dmidecode-extraconf.inc b/meta-tizen/recipes-tizen/dmidecode/dmidecode-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dmidecode/dmidecode-native_git.bb b/meta-tizen/recipes-tizen/dmidecode/dmidecode-native_git.bb new file mode 100644 index 0000000..3510886 --- /dev/null +++ b/meta-tizen/recipes-tizen/dmidecode/dmidecode-native_git.bb @@ -0,0 +1,12 @@ +require dmidecode.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dmidecode;protocol=ssh;tag=98dd846011c4be12bb7d03b25d3ef991b669db7b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dmidecode/dmidecode.inc b/meta-tizen/recipes-tizen/dmidecode/dmidecode.inc new file mode 100644 index 0000000..8409155 --- /dev/null +++ b/meta-tizen/recipes-tizen/dmidecode/dmidecode.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "DMI table decoder" +HOMEPAGE = "http://www.nongnu.org/dmidecode/" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dmidecode +PROVIDES += "dmidecode" +RPROVIDES_dmidecode += "dmidecode" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup + cp ${S}/packaging/dmidecode.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CFLAGS="$RPM_OPT_FLAGS" -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -dm 755 ${D}/usr/sbin + install -dm 755 ${D}/usr/share/man/man8 + install -dm 755 ${D}/usr/share/doc/packages/dmidecode + for i in dmidecode vpddecode ownership biosdecode ; do + install -m 755 $i ${D}/usr/sbin/ + install -m 644 man/$i.8 ${D}/usr/share/man/man8/ + done + + +} + +PACKAGES = "" +PACKAGES += "dmidecode" + +dmidecode_files = "" +dmidecode_files += "dmidecode.manifest" +dmidecode_files += "/usr/sbin/*" +dmidecode_files += "/usr/share/man/man8/*" + +FILES_${PN} = "${dmidecode_files}" + +PKG_dmidecode= "dmidecode" + +require dmidecode-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dmidecode/dmidecode_git.bb b/meta-tizen/recipes-tizen/dmidecode/dmidecode_git.bb new file mode 100644 index 0000000..6987af3 --- /dev/null +++ b/meta-tizen/recipes-tizen/dmidecode/dmidecode_git.bb @@ -0,0 +1,8 @@ +require dmidecode.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dmidecode;protocol=ssh;tag=98dd846011c4be12bb7d03b25d3ef991b669db7b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dmxproto/dmxproto-extraconf.inc b/meta-tizen/recipes-tizen/dmxproto/dmxproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dmxproto/dmxproto-native_git.bb b/meta-tizen/recipes-tizen/dmxproto/dmxproto-native_git.bb new file mode 100644 index 0000000..e671a2d --- /dev/null +++ b/meta-tizen/recipes-tizen/dmxproto/dmxproto-native_git.bb @@ -0,0 +1,12 @@ +require dmxproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dmxproto;protocol=ssh;tag=1a7a30575cce449a856a1d96c3337debe05cf205;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dmxproto/dmxproto.inc b/meta-tizen/recipes-tizen/dmxproto/dmxproto.inc new file mode 100644 index 0000000..829872d --- /dev/null +++ b/meta-tizen/recipes-tizen/dmxproto/dmxproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X.org DMXProto protocol headers" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/X11 Protocols" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dmxproto +PROVIDES += "dmxproto" +RPROVIDES_dmxproto += "dmxproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of dmxproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dmxproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/dmxproto + rm -rf ${D}/usr/share/doc/dmxproto-2.3.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "dmxproto" + +dmxproto_files = "" +dmxproto_files += "dmxproto.manifest" +dmxproto_files += "/usr/include/X11/extensions/*.h" +dmxproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${dmxproto_files}" + +PKG_dmxproto= "dmxproto" + +require dmxproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dmxproto/dmxproto_git.bb b/meta-tizen/recipes-tizen/dmxproto/dmxproto_git.bb new file mode 100644 index 0000000..9615627 --- /dev/null +++ b/meta-tizen/recipes-tizen/dmxproto/dmxproto_git.bb @@ -0,0 +1,8 @@ +require dmxproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dmxproto;protocol=ssh;tag=1a7a30575cce449a856a1d96c3337debe05cf205;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dnsmasq/dnsmasq-extraconf.inc b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dnsmasq/dnsmasq-native_git.bb b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq-native_git.bb new file mode 100644 index 0000000..ad86398 --- /dev/null +++ b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq-native_git.bb @@ -0,0 +1,12 @@ +require dnsmasq.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dnsmasq;protocol=ssh;tag=881972c6f6dbe50dcfd039e27e22a993a6bc7106;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dnsmasq/dnsmasq.inc b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq.inc new file mode 100644 index 0000000..e315f52 --- /dev/null +++ b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq.inc @@ -0,0 +1,82 @@ +DESCRIPTION = "dnsmasq, DNS forwarder." +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "TO BE FILLED IN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dnsmasq +PROVIDES += "dnsmasq" +RPROVIDES_dnsmasq += "dnsmasq" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of dnsmasq +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dnsmasq.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "dnsmasq" + +dnsmasq_files = "" +dnsmasq_files += "dnsmasq.manifest" +dnsmasq_files += "/usr/bin/dnsmasq" + +FILES_${PN} = "${dnsmasq_files}" + +PKG_dnsmasq= "dnsmasq" + +require dnsmasq-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dnsmasq/dnsmasq_git.bb b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq_git.bb new file mode 100644 index 0000000..46faeed --- /dev/null +++ b/meta-tizen/recipes-tizen/dnsmasq/dnsmasq_git.bb @@ -0,0 +1,8 @@ +require dnsmasq.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dnsmasq;protocol=ssh;tag=881972c6f6dbe50dcfd039e27e22a993a6bc7106;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/docbook-4/docbook-4-extraconf.inc b/meta-tizen/recipes-tizen/docbook-4/docbook-4-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/docbook-4/docbook-4-native_git.bb b/meta-tizen/recipes-tizen/docbook-4/docbook-4-native_git.bb new file mode 100644 index 0000000..13a45b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-4/docbook-4-native_git.bb @@ -0,0 +1,12 @@ +require docbook-4.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/docbook_4;protocol=ssh;tag=e6a71527bb63fd14a915e11c0a2575e7c23e38c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/docbook-4/docbook-4.inc b/meta-tizen/recipes-tizen/docbook-4/docbook-4.inc new file mode 100644 index 0000000..4e9f173 --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-4/docbook-4.inc @@ -0,0 +1,382 @@ +DESCRIPTION = "DocBook DTD Version 4.x" +HOMEPAGE = "http://www.oasis-open.org/docbook/" +SECTION = "Productivity/Publishing/DocBook" +LICENSE = "BSD-3-Clause MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by docbook_4 +PROVIDES += "docbook_4" +RPROVIDES_docbook_4 += "docbook_4" +# the PROVIDES rules is ignore "docbk_4 " +PROVIDES += "docbk_4" +RPROVIDES_docbook_4 += "docbk_4" +# the PROVIDES rules is ignore "docbook " +PROVIDES += "docbook" +RPROVIDES_docbook_4 += "docbook" +# the PROVIDES rules is ignore "docbook-dtd " +PROVIDES += "docbook-dtd" +RPROVIDES_docbook_4 += "docbook-dtd" +# the PROVIDES rules is ignore "docbook-dtds " +PROVIDES += "docbook-dtds" +RPROVIDES_docbook_4 += "docbook-dtds" + +RDEPENDS = "" +#RDEPENDS of docbook_4 (docbook_4) +RDEPENDS_docbook_4 += "sgml-skel" +RDEPENDS_docbook_4 += "grep" +RDEPENDS_docbook_4 += "/usr/bin/sgml-register-catalog" +RDEPENDS_docbook_4 += "libxml2" +RDEPENDS_docbook_4 += "/usr/bin/xmlcatalog" +RDEPENDS_docbook_4 += "sed" +RDEPENDS_docbook_4 += "awk" +RDEPENDS_docbook_4 += "iso_ent" + + +DEPENDS = "" +#DEPENDS of docbook_4 +DEPENDS += "unzip" +DEPENDS += "sgml-skel" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n docbook_4 -c -T + cp ${S}/packaging/docbook_4.manifest . + install -d -m755 dtd/4.{1,2,3,4,5} 4.{1,2,3,4,5}xml + echo "**** ${S}/packaging/docbk41.zip" + pushd dtd/4.1 + unzip -q -a ${S}/packaging/docbk41.zip + popd + pushd 4.1xml + unzip -q -a ${S}/packaging/docbkx412.zip + popd + pushd dtd/4.2 + unzip -q -a ${S}/packaging/docbook-4.2.zip + popd + pushd 4.2xml + unzip -q -a ${S}/packaging/docbook-xml-4.2.zip + popd + pushd dtd/4.3 + unzip -q -a ${S}/packaging/docbook-4.3.zip + popd + pushd 4.3xml + unzip -q -a ${S}/packaging/docbook-xml-4.3.zip + popd + pushd dtd/4.4 + unzip -q -a ${S}/packaging/docbook-4.4.zip + cat ${S}/packaging/docbook.4.4.dcl.diff | patch -s -p 0 --fuzz=2 + #patch3 -p 0 + popd + pushd 4.4xml + unzip -q -a ${S}/packaging/docbook-xml-4.4.zip + popd + pushd dtd/4.5 + unzip -q -a ${S}/packaging/docbook-4.5.zip + popd + pushd 4.5xml + unzip -q -a ${S}/packaging/docbook-xml-4.5.zip + popd + cat ${S}/packaging/docbook-4-3-cat.diff | patch -s -p 1 -P 1 -p 0 --fuzz=2 + #patch -p 1 -P 1 -p 0 + cat ${S}/packaging/docbook-4-3-xml-cat.diff | patch -s -p 1 --fuzz=2 + #patch2 -p 1 + # CATALOG.* files + cp ${S}/packaging/CATALOG.docbook_4 ${S}/packaging/CATALOG.db41xml ${S}/packaging/CATALOG.db42xml ${S}/packaging/CATALOG.db43xml ${S}/packaging/CATALOG.db44xml ${S}/packaging/CATALOG.db45xml . + chmod -R a+rX,g-w,o-w . + find . -type f | xargs chmod a-x + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + CATALOG=docbook_41.xml + # # build root catalog fragment + xmlcatbin=/usr/bin/xmlcatalog + $xmlcatbin --create --noout $CATALOG + docbookdir=/usr/share/xml/docbook/schema/dtd/4.1 + $xmlcatbin --noout --add "public" \ + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ + "file://$docbookdir/dbpoolx.mod" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//DTD DocBook XML V4.1.2//EN" \ + "file://$docbookdir/docbookx.dtd" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ + "file://$docbookdir/dbcentx.mod" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ + "file://$docbookdir/dbnotnx.mod" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ + "file://$docbookdir/dbgenent.mod" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ + "file://$docbookdir/dbhierx.mod" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ + "file://$docbookdir/soextblx.dtd" $CATALOG + $xmlcatbin --noout --add "public" \ + "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ + "file://$docbookdir/calstblx.dtd" $CATALOG + $xmlcatbin --noout --add "rewriteSystem" \ + "http://www.oasis-open.org/docbook/xml/4.1.2" \ + "file://$docbookdir" $CATALOG + $xmlcatbin --noout --add "rewriteURI" \ + "http://www.oasis-open.org/docbook/xml/4.1.2" \ + "file://$docbookdir" $CATALOG + # === iso + isodir=$docbookdir/ent + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Publishing//EN//XML" \ + "file://$isodir/iso-pub.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" \ + "file://$isodir/iso-grk1.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" \ + "file://$isodir/iso-box.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" \ + "file://$isodir/iso-grk3.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" \ + "file://$isodir/iso-amsn.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" \ + "file://$isodir/iso-num.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" \ + "file://$isodir/iso-grk4.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" \ + "file://$isodir/iso-dia.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" \ + "file://$isodir/iso-grk2.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" \ + "file://$isodir/iso-amsa.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" \ + "file://$isodir/iso-amso.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" \ + "file://$isodir/iso-cyr1.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES General Technical//EN//XML" \ + "file://$isodir/iso-tech.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" \ + "file://$isodir/iso-amsc.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" \ + "file://$isodir/iso-lat1.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" \ + "file://$isodir/iso-amsb.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" \ + "file://$isodir/iso-lat2.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" \ + "file://$isodir/iso-amsr.ent" $CATALOG + $xmlcatbin --noout --add "public" \ + "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" \ + "file://$isodir/iso-cyr2.ent" $CATALOG + # ==== + CATALOG=etc/xml/$CATALOG + rm -f for-catalog-docbook_4-4.5.xml.tmp + $xmlcatbin --noout --create for-catalog-docbook_4-4.5.xml.tmp + for v in 4.2 4.3 4.4 4.5; do + cat42=/usr/share/xml/docbook/schema/dtd/$v/catalog.xml + for s in \ + "-//OASIS//DTD DocBook XML V${v}//EN" \ + "-//OASIS//DTD DocBook CALS Table Model V${v}//EN" \ + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ + "-//OASIS//ELEMENTS DocBook Information Pool V${v}//EN" \ + "-//OASIS//ELEMENTS DocBook Document Hierarchy V${v}//EN" \ + "-//OASIS//ENTITIES DocBook Additional General Entities V${v}//EN" \ + "-//OASIS//ENTITIES DocBook Notations V${v}//EN" \ + "-//OASIS//ENTITIES DocBook Character Entities V${v}//EN" + do + $xmlcatbin --noout --add "delegatePublic" "$s" \ + "file://$cat42" for-catalog-docbook_4-4.5.xml.tmp + done + case $v in + 4.[345]) + $xmlcatbin --noout --add "delegatePublic" \ + "-//OASIS//ELEMENTS DocBook XML HTML Tables V${v}//EN" \ + "file://$cat42" for-catalog-docbook_4-4.5.xml.tmp + ;; + *) + true + esac + $xmlcatbin --noout --add "delegateSystem" \ + "http://www.oasis-open.org/docbook/xml/${v}" \ + "file://$cat42" for-catalog-docbook_4-4.5.xml.tmp + $xmlcatbin --noout --add "delegateURI" \ + "http://www.oasis-open.org/docbook/xml/${v}" \ + "file://$cat42" for-catalog-docbook_4-4.5.xml.tmp + $xmlcatbin --noout --add "rewriteSystem" \ + "http://www.oasis-open.org/docbook/xml/${v}" \ + "file:///usr/share/xml/docbook/schema/dtd/${v}" for-catalog-docbook_4-4.5.xml.tmp + $xmlcatbin --noout --add "delegatePublic" \ + "ISO 8879:1986" \ + "file:///$CATALOG" for-catalog-docbook_4-4.5.xml.tmp + done + # 41xml + for s in \ + "-//OASIS//DTD DocBook XML V4.1" \ + "-//OASIS//ELEMENTS DocBook Information Pool V4.1" \ + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1" \ + "-//OASIS//ENTITIES DocBook Additional General Entities V4.1" \ + "-//OASIS//ENTITIES DocBook Notations V4.1" \ + "-//OASIS//ENTITIES DocBook Character Entities V4.1" + do + $xmlcatbin --noout --add "delegatePublic" "$s" \ + "file:///$CATALOG" for-catalog-docbook_4-4.5.xml.tmp + done + $xmlcatbin --noout --add "delegateSystem" \ + "http://www.oasis-open.org/docbook/xml/4.1" \ + "file:///$CATALOG" for-catalog-docbook_4-4.5.xml.tmp + $xmlcatbin --noout --add "delegateURI" \ + "http://www.oasis-open.org/docbook/xml/4.1" \ + "file:///$CATALOG" for-catalog-docbook_4-4.5.xml.tmp + # Create tag + sed '/ + /<\/catalog/i\ + ' \ + for-catalog-docbook_4-4.5.xml.tmp > for-catalog-docbook_4-4.5.xml + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d -m755 $RPM_BUILD_ROOT/var/lib/sgml + install -d -m755 $RPM_BUILD_ROOT/var/lib/xml + install -m644 CATALOG.* $RPM_BUILD_ROOT/var/lib/sgml + # for CATALOG.* links + for v in 4.1 4.2 4.3 4.4 4.5; do + vl=${v/\.} + install -d -m755 $RPM_BUILD_ROOT/usr/share/sgml/docbook/dtd/$v + install -m644 dtd/${v}/* $RPM_BUILD_ROOT/usr/share/sgml/docbook/dtd/${v} + install -d -m755 $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/dtd/$v + cp -a ${v}xml/* $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/dtd/$v + ln -s /usr/share/xml/docbook/schema/dtd/$v $RPM_BUILD_ROOT/usr/share/sgml/docbook/dtd/${v}xml + ln -sf /var/lib/sgml/CATALOG.db${vl}xml \ + $RPM_BUILD_ROOT/usr/share/sgml/CATALOG.db${vl}xml + done + ln -sf /usr/share/sgml/docbook/dtd/4.1 $RPM_BUILD_ROOT/usr/share/sgml/docbook_4.1 + ln -sf /var/lib/sgml/CATALOG.docbook_4 \ + $RPM_BUILD_ROOT/usr/share/sgml/CATALOG.docbook_4 + ln -sf /var/lib/sgml/CATALOG.docbook_4 \ + $RPM_BUILD_ROOT/usr/share/sgml/CATALOG.docbk41 + cat_dir=${D}/etc/xml + install -d -m755 $cat_dir + install -m644 for-catalog-docbook_4-4.5.xml docbook_41.xml $cat_dir + # rng + install -d -m755 $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/rng/{4.3,4.4} \ + $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/xsd/{4.3,4.4} + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/rng/4.2 ${S}/packaging/docbook-rng-4.2.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/rng/4.3 ${S}/packaging/docbook-rng-4.3.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/rng/4.4 ${S}/packaging/docbook-rng-4.4.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/rng/4.5 ${S}/packaging/docbook-rng-4.5.zip + # w3c schema + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/xsd/4.2 ${S}/packaging/docbook-rng-4.2.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/xsd/4.3 ${S}/packaging/docbook-xsd-4.3.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/xsd/4.4 ${S}/packaging/docbook-xsd-4.4.zip + unzip -q -a -d $RPM_BUILD_ROOT/usr/share/xml/docbook/schema/xsd/4.5 ${S}/packaging/docbook-xsd-4.5.zip + # cleanup + + _target=""; + _symlinks=0; + + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "docbook_4" + +docbook_4_files = "" +docbook_4_files += "docbook_4.manifest" +docbook_4_files += "/var/lib/sgml/CATALOG.*" +docbook_4_files += "/usr/share/sgml/CATALOG.*" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.1" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.2" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.3" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.4" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.5" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.1xml" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.2xml" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.3xml" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.4xml" +docbook_4_files += "/usr/share/sgml/docbook/dtd/4.5xml" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd/4.1" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd/4.2" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd/4.3" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd/4.4" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd/4.5" +docbook_4_files += "/usr/share/xml/docbook/schema/rng/4.2" +docbook_4_files += "/usr/share/xml/docbook/schema/rng/4.3" +docbook_4_files += "/usr/share/xml/docbook/schema/rng/4.4" +docbook_4_files += "/usr/share/xml/docbook/schema/rng/4.5" +docbook_4_files += "/usr/share/xml/docbook/schema/xsd/4.2" +docbook_4_files += "/usr/share/xml/docbook/schema/xsd/4.3" +docbook_4_files += "/usr/share/xml/docbook/schema/xsd/4.4" +docbook_4_files += "/usr/share/xml/docbook/schema/xsd/4.5" +docbook_4_files += "/etc/xml/docbook_41.xml" +docbook_4_files += "/etc/xml/for-catalog-docbook_4-4.5.xml" +docbook_4_files += "/usr/share/sgml/docbook/dtd" +docbook_4_files += "/usr/share/sgml/docbook_4.1" +docbook_4_files += "/usr/share/xml/docbook/schema" +docbook_4_files += "/usr/share/xml/docbook/schema/dtd" +docbook_4_files += "/usr/share/xml/docbook/schema/rng" +docbook_4_files += "/usr/share/xml/docbook/schema/xsd" + +FILES_${PN} = "${docbook_4_files}" + +PKG_docbook_4= "docbook_4" + +require docbook-4-extraconf.inc diff --git a/meta-tizen/recipes-tizen/docbook-4/docbook-4_git.bb b/meta-tizen/recipes-tizen/docbook-4/docbook-4_git.bb new file mode 100644 index 0000000..925d302 --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-4/docbook-4_git.bb @@ -0,0 +1,8 @@ +require docbook-4.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/docbook_4;protocol=ssh;tag=e6a71527bb63fd14a915e11c0a2575e7c23e38c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-extraconf.inc b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-native_git.bb b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-native_git.bb new file mode 100644 index 0000000..1fa55fb --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets-native_git.bb @@ -0,0 +1,12 @@ +require docbook-xsl-stylesheets.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/docbook-xsl-stylesheets;protocol=ssh;tag=e07c2569364af34bf5041083e4cbea08b95937f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets.inc b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets.inc new file mode 100644 index 0000000..0664fa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets.inc @@ -0,0 +1,226 @@ +DESCRIPTION = "XSL Stylesheets for DocBook 4" +HOMEPAGE = "http://sourceforge.net/projects/docbook/" +SECTION = "Productivity/Publishing/DocBook" +LICENSE = "MPL-1.1 and MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by docbook-xsl-stylesheets +PROVIDES += "docbook-xsl-stylesheets" +RPROVIDES_docbook-xsl-stylesheets += "docbook-xsl-stylesheets" + +RDEPENDS = "" +#RDEPENDS of docbook-xsl-stylesheets (${PN}) +RDEPENDS_${PN} += "xmlcharent" +RDEPENDS_${PN} += "docbook_4" +RDEPENDS_${PN} += "sgml-skel" +RDEPENDS_${PN} += "/usr/bin/sgml-register-catalog" +RDEPENDS_${PN} += "/usr/bin/xmlcatalog" + + +DEPENDS = "" +#DEPENDS of docbook-xsl-stylesheets +DEPENDS += "unzip" +DEPENDS += "sgml-skel" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n docbook-xsl-1.77.1 + cp ${S}/packaging/docbook-xsl-stylesheets.manifest . + + # mv epub/bin/dbtoepub epub/bin/dbtoepub.tmp + sed -i 's=@@EPUBDIR@@=/usr/share/xml/docbook/stylesheet/nwalsh/current//epub/bin=' epub/bin/dbtoepub + + # We don't need these scripts: + rm -rf install.sh tools/bin/docbook-xsl-update + + find -type f -exec chmod -x {} \; + chmod -R a+rX,g-w,o-w . + chmod -x images/*.{svg,png,gif,tif} images/callouts/*.{svg,png,gif} extensions/docbook.py + # Start cleanup (to avoid warnings for rpmlint + [ -f ./extensions/saxon65/dist/saxon65.jar ] && rm -rf ./extensions/saxon65/dist/saxon65.jar + [ -f ./extensions/xalan27/dist/xalan27.jar ] && rm -rf ./extensions/xalan27/dist/xalan27.jar + find . -name '.gitignore' | xargs rm -fr + #x=$(find {lib,html,fo,lib,website,slides/fo,slides/html,roundtrip,manpages}/.[a-zA-Z0-9]* -maxdepth 1 -type f ) + #if [ "$x" != '' ]; then + ## rm $x; + # for i in $x; do + # if [ -f $i ]; then + # rm $i + # fi + # done + #fi + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + xmlcatbin=/usr/bin/xmlcatalog + CATALOG=docbook-xsl-stylesheets.xml + # file:///usr/share/sgml/docbook/ = %{sgml_mod_dir} map it to + # %{xml_mod_style_prod_dir}/%{version} + $xmlcatbin --noout --create $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/1.77.1" \ + "file:///usr/share/xml/docbook/stylesheet/nwalsh/1.77.1" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/1.77.1" \ + "file:///usr/share/xml/docbook/stylesheet/nwalsh/1.77.1" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "file:///usr/share/xml/docbook/stylesheet/nwalsh/1.77.1" $CATALOG + /usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "file:///usr/share/xml/docbook/stylesheet/nwalsh/1.77.1" $CATALOG + CATALOG=etc/xml/$CATALOG + rm -f for-catalog-docbook-xsl-stylesheets-1.77.1.xml.tmp + $xmlcatbin --noout --create for-catalog-docbook-xsl-stylesheets-1.77.1.xml.tmp + $xmlcatbin --noout --add "delegateSystem" \ + "http://docbook.sourceforge.net/release/xsl/" \ + "file:///$CATALOG" for-catalog-docbook-xsl-stylesheets-1.77.1.xml.tmp + # $xmlcatbin --noout --add "delegatePublic" \ + # "-//OASIS//xxx" \ + # "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp + # Create tag + sed '/ + /<\/catalog/i\ + ' \ + for-catalog-docbook-xsl-stylesheets-1.77.1.xml.tmp > for-catalog-docbook-xsl-stylesheets-1.77.1.xml + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # FIXME: Danger!? + # export NO_BRP_CHECK_BYTECODE_VERSION=true + + # Install scripts + install -d -m755 ${D}/usr/bin + install -m755 fo/pdf2index ${D}/usr/bin + install -m755 epub/bin/dbtoepub ${D}/usr/bin + rm fo/pdf2index + + doc_dir=${D}/usr/share/doc/packages/docbook-xsl-stylesheets + install -d -m755 ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1 + cp -a [[:lower:]]* ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1 + cp -a VERSION.xsl ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1 + find ${D}/usr/share/xml/docbook/stylesheet/nwalsh -type f -name '*.orig' -exec rm -f {} \; + rm -f ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/for-catalog* + : >docbook-xsl-stylesheets_list + { + pushd ${D}/usr/share/xml/docbook/stylesheet/nwalsh >/dev/null + # do not create the current link for snapshots + # if ! echo %{SOURCE0} | grep -q snapshot; then + ln -sf 1.77.1 current + echo /usr/share/xml/docbook/stylesheet/nwalsh/current + # fi + popd >/dev/null + } >docbook-xsl-stylesheets_list + install -d -m755 $doc_dir + # documentation + for f in README BUGS TODO WhatsNew RELEASE-NOTES.html; do + # On snapshots, WhatsNew is missing + [ -f $f ] && install -m644 $f $doc_dir/$f + done + # cp -p README.SuSE $doc_dir/README.SuSE + # + { + LANG=C \ + find ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1 \ + -type d \ + -not -path '${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/latex*' \ + | sed 's|${D}|%dir |' + LANG=C \ + find ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1 \ + -type f \ + -not -path '${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/latex*' \ + | sed 's|${D}||' + } >> ${WORKDIR}/git/docbook-xsl-stylesheets_list + # pushd %{buildroot}%{xml_mod_style_prod_dir} + # rm -f docbook-xsl + # ln -sf docbook-xsl-stylesheets-%{version} docbook-xsl + # rm -f xsl-stylesheets + # ln -sf docbook-xsl-stylesheets-%{version} xsl-stylesheets + # rm -f %{name} + # ln -sf docbook-xsl-stylesheets-%{version} %{name} + # popd + cat_dir=${D}/etc/xml + install -d -m755 $cat_dir + install -m644 for-catalog-docbook-xsl-stylesheets-1.77.1.xml docbook-xsl-stylesheets.xml $cat_dir + # cleanup + rm -f ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/docbook-xsl-stylesheets.xml + cp $cat_dir/for-catalog-docbook-xsl-stylesheets-1.77.1.xml \ + ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/docbook-xsl-stylesheets.xml + chmod +x \ + ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/extensions/docbook.py \ + ${D}/usr/share/xml/docbook/stylesheet/nwalsh/1.77.1/extensions/xslt.py + # %{buildroot}%{xml_mod_style_prod_dir}/%{version}/epub/bin/lib/docbook.rb + # %{buildroot}%{xml_mod_style_prod_dir}/%{version}/epub/bin/spec/spec_helper.rb + + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "docbook-xsl-stylesheets" + +docbook-xsl-stylesheets_files = "" +docbook-xsl-stylesheets_files += "docbook-xsl-stylesheets.manifest" +docbook-xsl-stylesheets_files += "/etc/xml/docbook-xsl-stylesheets.xml" +docbook-xsl-stylesheets_files += "/etc/xml/for-catalog-docbook-xsl-stylesheets-1.77.1.xml" +docbook-xsl-stylesheets_files += "/usr/share/doc/packages/docbook-xsl-stylesheets" +docbook-xsl-stylesheets_files += "/usr/share/xml/docbook/stylesheet" +docbook-xsl-stylesheets_files += "/usr/share/xml/docbook/stylesheet/nwalsh" +docbook-xsl-stylesheets_files += "/usr/bin/*" + +FILES_${PN} = "${docbook-xsl-stylesheets_files}" + +PKG_docbook-xsl-stylesheets= "docbook-xsl-stylesheets" + +require docbook-xsl-stylesheets-extraconf.inc diff --git a/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets_git.bb b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets_git.bb new file mode 100644 index 0000000..8500fbe --- /dev/null +++ b/meta-tizen/recipes-tizen/docbook-xsl-stylesheets/docbook-xsl-stylesheets_git.bb @@ -0,0 +1,8 @@ +require docbook-xsl-stylesheets.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/docbook-xsl-stylesheets;protocol=ssh;tag=e07c2569364af34bf5041083e4cbea08b95937f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dos2unix/dos2unix-extraconf.inc b/meta-tizen/recipes-tizen/dos2unix/dos2unix-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dos2unix/dos2unix-native_git.bb b/meta-tizen/recipes-tizen/dos2unix/dos2unix-native_git.bb new file mode 100644 index 0000000..c42e5c4 --- /dev/null +++ b/meta-tizen/recipes-tizen/dos2unix/dos2unix-native_git.bb @@ -0,0 +1,12 @@ +require dos2unix.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dos2unix;protocol=ssh;tag=0a42b2c1aaae30f4d7be437485364853cb0b30c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dos2unix/dos2unix.inc b/meta-tizen/recipes-tizen/dos2unix/dos2unix.inc new file mode 100644 index 0000000..b2ecbd5 --- /dev/null +++ b/meta-tizen/recipes-tizen/dos2unix/dos2unix.inc @@ -0,0 +1,96 @@ +DESCRIPTION = "Text converters to and from DOS/MAC to UNIX" +HOMEPAGE = "http://waterlan.home.xs4all.nl/dos2unix.html" +SECTION = "Productivity/Text/Convertors" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dos2unix +PROVIDES += "dos2unix" +RPROVIDES_dos2unix += "dos2unix" +# the PROVIDES rules is ignore "unix2dos = 6.0" +PROVIDES += "unix2dos" +RPROVIDES_dos2unix += "unix2dos" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of dos2unix +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dos2unix.manifest . + find . -type f | xargs chmod -x + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export RPM_OPT_FLAGS + make -j16 CC="gcc" HTMLEXT="html" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- docdir=/usr/share/doc/packages/dos2unix + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} dos2unix --all-name --with-man + + +} + +PACKAGES = "" +PACKAGES += "dos2unix" + +dos2unix_files = "" +dos2unix_files += "dos2unix.manifest" +dos2unix_files += "/usr/share/doc/dos2unix-6.0" +dos2unix_files += "/usr/bin/dos2unix" +dos2unix_files += "/usr/bin/mac2unix" +dos2unix_files += "/usr/bin/unix2mac" +dos2unix_files += "/usr/bin/unix2dos" +dos2unix_files += "/usr/share/man/*/dos2unix.1*" +dos2unix_files += "/usr/share/man/*/mac2unix.1*" +dos2unix_files += "/usr/share/man/*/unix2mac.1*" +dos2unix_files += "/usr/share/man/*/unix2dos.1*" +dos2unix_files += "%lang(nl) %dir /usr/share/man/nl" + +FILES_${PN} = "${dos2unix_files}" + +PKG_dos2unix= "dos2unix" + +require dos2unix-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dos2unix/dos2unix_git.bb b/meta-tizen/recipes-tizen/dos2unix/dos2unix_git.bb new file mode 100644 index 0000000..0609047 --- /dev/null +++ b/meta-tizen/recipes-tizen/dos2unix/dos2unix_git.bb @@ -0,0 +1,8 @@ +require dos2unix.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dos2unix;protocol=ssh;tag=0a42b2c1aaae30f4d7be437485364853cb0b30c9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dosfstools/dosfstools-extraconf.inc b/meta-tizen/recipes-tizen/dosfstools/dosfstools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dosfstools/dosfstools-native_git.bb b/meta-tizen/recipes-tizen/dosfstools/dosfstools-native_git.bb new file mode 100644 index 0000000..e4cebd5 --- /dev/null +++ b/meta-tizen/recipes-tizen/dosfstools/dosfstools-native_git.bb @@ -0,0 +1,12 @@ +require dosfstools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dosfstools;protocol=ssh;tag=b156136ea7bd8d6e7a16d89cd6680d8223945679;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dosfstools/dosfstools.inc b/meta-tizen/recipes-tizen/dosfstools/dosfstools.inc new file mode 100644 index 0000000..1a1ea29 --- /dev/null +++ b/meta-tizen/recipes-tizen/dosfstools/dosfstools.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Utilities for Making and Checking MS-DOS FAT File Systems on Linux" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/File Systems" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dosfstools-docs +PROVIDES += "dosfstools-docs " +RPROVIDES_dosfstools-docs += "dosfstools-docs " + +#PROVIDES by dosfstools +PROVIDES += "dosfstools" +RPROVIDES_dosfstools += "dosfstools" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/dosfstools.manifest . + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} PREFIX=/usr + + rm -rf ${D}/usr/share/doc/dosfstools + + + + +} + +PACKAGES = "" +PACKAGES += "dosfstools" +PACKAGES += "dosfstools-docs" + +dosfstools_files = "" +dosfstools_files += "dosfstools.manifest" +dosfstools_files += "dosfstools.manifest" +dosfstools_files += "/usr/sbin/dosfsck" +dosfstools_files += "/usr/sbin/dosfslabel" +dosfstools_files += "/usr/sbin/fsck.msdos" +dosfstools_files += "/usr/sbin/fsck.vfat" +dosfstools_files += "/usr/sbin/mkdosfs" +dosfstools_files += "/usr/sbin/mkfs.msdos" +dosfstools_files += "/usr/sbin/mkfs.vfat" + +dosfstools-docs_files = "" +dosfstools-docs_files += "/usr/share/info" +dosfstools-docs_files += "/usr/share/man" + +FILES_${PN} = "${dosfstools_files}" +FILES_${PN}-docs = "${dosfstools-docs_files}" + +PKG_dosfstools= "dosfstools" +PKG_dosfstools-docs= "dosfstools-docs" + +require dosfstools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dosfstools/dosfstools_git.bb b/meta-tizen/recipes-tizen/dosfstools/dosfstools_git.bb new file mode 100644 index 0000000..2519448 --- /dev/null +++ b/meta-tizen/recipes-tizen/dosfstools/dosfstools_git.bb @@ -0,0 +1,8 @@ +require dosfstools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dosfstools;protocol=ssh;tag=b156136ea7bd8d6e7a16d89cd6680d8223945679;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/download-provider/download-provider-extraconf.inc b/meta-tizen/recipes-tizen/download-provider/download-provider-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/download-provider/download-provider-native_git.bb b/meta-tizen/recipes-tizen/download-provider/download-provider-native_git.bb new file mode 100644 index 0000000..b3f7830 --- /dev/null +++ b/meta-tizen/recipes-tizen/download-provider/download-provider-native_git.bb @@ -0,0 +1,12 @@ +require download-provider.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/download-provider;protocol=ssh;tag=0d3754bc9540db26863fe8ab36df518176dbcf50;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/download-provider/download-provider.inc b/meta-tizen/recipes-tizen/download-provider/download-provider.inc new file mode 100644 index 0000000..ed6e5b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/download-provider/download-provider.inc @@ -0,0 +1,240 @@ +DESCRIPTION = "Download the contents in background" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by download-provider +PROVIDES += "download-provider" +RPROVIDES_download-provider += "download-provider" + +#PROVIDES by download-provider-devel +PROVIDES += "download-provider-devel" +RPROVIDES_download-provider-devel += "download-provider-devel" +RPROVIDES_download-provider-devel += "download-provider-dev" + +RDEPENDS = "" +#RDEPENDS of download-provider (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of download-provider-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "download-provider" + + +DEPENDS = "" +#DEPENDS of download-provider +DEPENDS += "pkgconfig(capi-network-connection)" +DEPENDS += "pkgconfig(capi-appfw-app-manager)" +DEPENDS += "cmake" +DEPENDS += "bundle" +DEPENDS += "pkgconfig(wifi-direct)" +DEPENDS += "app-svc" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(xdgmime)" +DEPENDS += "common" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(notification)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/org.download-provider.conf . + cp ${S}/packaging/download-provider.manifest . + + + + +} + +do_configure() { +} + +do_compile() { + 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} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -fPIC -fvisibility=hidden"; export FFLAGS + LDFLAGS+=" -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS + cmake \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DBIN_INSTALL_DIR:PATH=/usr/bin \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DPKG_NAME=download-provider \ + -DPKG_VERSION=1.0.5 \ + -DPKG_RELEASE=10 \ + -DIMAGE_DIR:PATH=/usr/share/download-provider \ + -DDATABASE_FILE:PATH=/opt/usr/dbspace/.download-provider.db \ + -DDBUS_SERVICE_DIR:PATH=/usr/share/dbus-1/system-services \ + -DLICENSE_DIR:PATH=/usr/share/license \ + -DSUPPORT_DBUS_SYSTEM:BOOL=ON \ + -DSUPPORT_WIFI_DIRECT:BOOL=OFF \ + -DSUPPORT_LOG_MESSAGE:BOOL=ON \ + -DSUPPORT_CHECK_IPC:BOOL=ON \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d -m 755 ${D}/etc/dbus-1/system.d + install -m 644 ${S}/packaging/org.download-provider.conf ${D}/etc/dbus-1/system.d + + mkdir -p ${D}/usr/share/license + mkdir -p ${D}/etc/rc.d/rc3.d + ln -s /etc/rc.d/init.d/download-provider-service ${D}/etc/rc.d/rc3.d/S70download-provider-service + mkdir -p ${D}/etc/rc.d/rc5.d + ln -s /etc/rc.d/init.d/download-provider-service ${D}/etc/rc.d/rc5.d/S70download-provider-service + + mkdir -p ${D}//lib/systemd/system/graphical.target.wants + install ${S}/packaging/download-provider.service ${D}//lib/systemd/system/ + ln -s ../download-provider.service ${D}//lib/systemd/system/graphical.target.wants/ + + mkdir -p ${D}/opt/data/download-provider + mkdir -p ${D}/opt/usr/dbspace + if [ ! -f ${D}/opt/usr/dbspace/.download-provider.db ]; + then + sqlite3 ${D}/opt/usr/dbspace/.download-provider.db 'PRAGMA journal_mode=PERSIST; + PRAGMA foreign_keys=ON; + CREATE TABLE logging + ( + id INTEGER UNIQUE PRIMARY KEY, + state INTEGER DEFAULT 0, + errorcode INTEGER DEFAULT 0, + startcount INTEGER DEFAULT 0, + packagename TEXT DEFAULT NULL, + createtime DATE, + accesstime DATE + ); + + CREATE TABLE requestinfo + ( + id INTEGER UNIQUE PRIMARY KEY, + auto_download BOOLEAN DEFAULT 0, + state_event BOOLEAN DEFAULT 0, + progress_event BOOLEAN DEFAULT 0, + noti_enable BOOLEAN DEFAULT 0, + network_type TINYINT DEFAULT 0, + filename TEXT DEFAULT NULL, + destination TEXT DEFAULT NULL, + url TEXT DEFAULT NULL, + FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE + ); + + CREATE TABLE downloadinfo + ( + id INTEGER UNIQUE PRIMARY KEY, + http_status INTEGER DEFAULT 0, + content_size UNSIGNED BIG INT DEFAULT 0, + mimetype VARCHAR(64) DEFAULT NULL, + content_name TEXT DEFAULT NULL, + saved_path TEXT DEFAULT NULL, + tmp_saved_path TEXT DEFAULT NULL, + etag TEXT DEFAULT NULL, + FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE + ); + + CREATE TABLE httpheaders + ( + id INTEGER NOT NULL, + header_field TEXT DEFAULT NULL, + header_data TEXT DEFAULT NULL, + FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE + ); + + CREATE TABLE notification + ( + id INTEGER NOT NULL, + extra_key TEXT DEFAULT NULL, + extra_data TEXT DEFAULT NULL, + FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE + ); + + CREATE UNIQUE INDEX requests_index ON logging (id, state, errorcode, packagename, createtime, accesstime); + ' + fi + + + +} + +PACKAGES = "" +PACKAGES += "download-provider" +PACKAGES += "download-provider-devel" + +download-provider_files = "" +download-provider_files += "download-provider.manifest" +#Remove rpm attribut "%attr(0775,root,app)" +download-provider_files += "/opt/data/download-provider" +download-provider_files += "/usr/share/download-provider/*.png" +download-provider_files += "/usr/lib/libdownloadagent2.so.0.0.1" +download-provider_files += "/usr/lib/libdownloadagent2.so" +download-provider_files += "/lib/systemd/system/download-provider.service" +download-provider_files += "/lib/systemd/system/graphical.target.wants/download-provider.service" +download-provider_files += "/usr/lib/libdownload-provider-interface.so.1.0.5" +download-provider_files += "/usr/lib/libdownload-provider-interface.so.0" +download-provider_files += "/usr/bin/download-provider" +download-provider_files += "/etc/rc.d/init.d/download-provider-service" +download-provider_files += "/etc/rc.d/rc3.d/S70download-provider-service" +download-provider_files += "/etc/rc.d/rc5.d/S70download-provider-service" +download-provider_files += "/usr/share/license/download-provider" +download-provider_files += "/usr/share/dbus-1/system-services/org.download-provider.service" +download-provider_files += "/etc/dbus-1/system.d/org.download-provider.conf" + +download-provider-devel_files = "" +download-provider-devel_files += "download-provider.manifest" +download-provider-devel_files += "/usr/lib/libdownloadagent2.so" +download-provider-devel_files += "/usr/lib/libdownload-provider-interface.so" +download-provider-devel_files += "/usr/include/download-provider/download-provider-defs.h" +download-provider-devel_files += "/usr/include/download-provider/download-provider-interface.h" +download-provider-devel_files += "/usr/bin/download-provider" +download-provider-devel_files += "/usr/lib/pkgconfig/download-provider.pc" +download-provider-devel_files += "/usr/lib/pkgconfig/download-provider-interface.pc" + +FILES_${PN} = "${download-provider_files}" +FILES_${PN}-devel = "${download-provider-devel_files}" + +PKG_download-provider= "download-provider" +PKG_download-provider-devel= "download-provider-devel" + +require download-provider-extraconf.inc diff --git a/meta-tizen/recipes-tizen/download-provider/download-provider_git.bb b/meta-tizen/recipes-tizen/download-provider/download-provider_git.bb new file mode 100644 index 0000000..1278aa1 --- /dev/null +++ b/meta-tizen/recipes-tizen/download-provider/download-provider_git.bb @@ -0,0 +1,8 @@ +require download-provider.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/download-provider;protocol=ssh;tag=0d3754bc9540db26863fe8ab36df518176dbcf50;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/doxygen/doxygen-extraconf.inc b/meta-tizen/recipes-tizen/doxygen/doxygen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/doxygen/doxygen-native_git.bb b/meta-tizen/recipes-tizen/doxygen/doxygen-native_git.bb new file mode 100644 index 0000000..0f680aa --- /dev/null +++ b/meta-tizen/recipes-tizen/doxygen/doxygen-native_git.bb @@ -0,0 +1,12 @@ +require doxygen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/doxygen;protocol=ssh;tag=90bb82245a271bdc3c9d75c07f3f62043311102b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/doxygen/doxygen.inc b/meta-tizen/recipes-tizen/doxygen/doxygen.inc new file mode 100644 index 0000000..3c2c176 --- /dev/null +++ b/meta-tizen/recipes-tizen/doxygen/doxygen.inc @@ -0,0 +1,100 @@ +DESCRIPTION = "Automated C, C++, and Java Documentation Generator" +HOMEPAGE = "http://www.stack.nl/~dimitri/doxygen/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by doxygen-docs +PROVIDES += "doxygen-docs " +RPROVIDES_doxygen-docs += "doxygen-docs " + +#PROVIDES by doxygen +PROVIDES += "doxygen" +RPROVIDES_doxygen += "doxygen" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of doxygen +DEPENDS += "flex" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "bison-native" +DEPENDS += "gcc-c++" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/doxygen.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + unset QTDIR + ./configure \ + --prefix /usr \ + --shared \ + --release + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "doxygen-docs" +PACKAGES += "doxygen" + +doxygen-docs_files = "" +doxygen-docs_files += "/usr/share/info" +doxygen-docs_files += "/usr/share/man" + +doxygen_files = "" +doxygen_files += "doxygen.manifest" + +FILES_${PN}-docs = "${doxygen-docs_files}" +FILES_${PN} = "${doxygen_files}" + +PKG_doxygen-docs= "doxygen-docs" +PKG_doxygen= "doxygen" + +require doxygen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/doxygen/doxygen_git.bb b/meta-tizen/recipes-tizen/doxygen/doxygen_git.bb new file mode 100644 index 0000000..324bc04 --- /dev/null +++ b/meta-tizen/recipes-tizen/doxygen/doxygen_git.bb @@ -0,0 +1,8 @@ +require doxygen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/doxygen;protocol=ssh;tag=90bb82245a271bdc3c9d75c07f3f62043311102b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dracut/dracut-extraconf.inc b/meta-tizen/recipes-tizen/dracut/dracut-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dracut/dracut-native_git.bb b/meta-tizen/recipes-tizen/dracut/dracut-native_git.bb new file mode 100644 index 0000000..58921bd --- /dev/null +++ b/meta-tizen/recipes-tizen/dracut/dracut-native_git.bb @@ -0,0 +1,12 @@ +require dracut.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dracut;protocol=ssh;tag=fbb17af802906791f508040fd8741dc37e3a4e1a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dracut/dracut.inc b/meta-tizen/recipes-tizen/dracut/dracut.inc new file mode 100644 index 0000000..930e921 --- /dev/null +++ b/meta-tizen/recipes-tizen/dracut/dracut.inc @@ -0,0 +1,273 @@ +DESCRIPTION = "Initramfs generator using udev" +HOMEPAGE = "https://dracut.wiki.kernel.org/" +SECTION = "Base/Startup" +LICENSE = "GPL-2.0+ and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dracut-network +PROVIDES += "dracut-network" +RPROVIDES_dracut-network += "dracut-network" + +#PROVIDES by dracut +PROVIDES += "dracut" +RPROVIDES_dracut += "dracut" + +#PROVIDES by dracut-caps +PROVIDES += "dracut-caps" +RPROVIDES_dracut-caps += "dracut-caps" + +#PROVIDES by dracut-tools +PROVIDES += "dracut-tools" +RPROVIDES_dracut-tools += "dracut-tools" + +RDEPENDS = "" +#RDEPENDS of dracut-network (${PN}-network) +RDEPENDS_${PN}-network += "dracut" + +#RDEPENDS of dracut (${PN}) +RDEPENDS_${PN} += "xz" +RDEPENDS_${PN} += "kmod-compat" +RDEPENDS_${PN} += "grep" +RDEPENDS_${PN} += "kpartx" +RDEPENDS_${PN} += "cpio" +RDEPENDS_${PN} += "kbd" +RDEPENDS_${PN} += "udev" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "hardlink" +RDEPENDS_${PN} += "findutils" +RDEPENDS_${PN} += "file" +RDEPENDS_${PN} += "filesystem" +RDEPENDS_${PN} += "gzip" +RDEPENDS_${PN} += "sed" +RDEPENDS_${PN} += "util-linux" +RDEPENDS_${PN} += "bash" + +#RDEPENDS of dracut-caps (${PN}-caps) +RDEPENDS_${PN}-caps += "libcap" +RDEPENDS_${PN}-caps += "dracut" + +#RDEPENDS of dracut-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "dracut" + + +DEPENDS = "" +#DEPENDS of dracut +DEPENDS += "dash" +DEPENDS += "git" +DEPENDS += "asciidoc" +DEPENDS += "bash" +DEPENDS += "xsltproc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dracut.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} \ + libdir=/usr/lib \ + bindir=/usr/bin \ + systemdsystemunitdir=/lib/systemd/system \ + sysconfdir=/etc mandir=/usr/share/man + + echo "DRACUT_VERSION=032-0" > ${D}//usr/lib/dracut/dracut-version.sh + + rm -fr ${D}//usr/lib/dracut/modules.d/01fips + rm -fr ${D}//usr/lib/dracut/modules.d/02fips-aesni + + + # remove gentoo specific modules + rm -fr ${D}//usr/lib/dracut/modules.d/50gensplash + + # with systemd IMA and selinux modules do not make sense + rm -fr ${D}//usr/lib/dracut/modules.d/96securityfs + rm -fr ${D}//usr/lib/dracut/modules.d/97masterkey + rm -fr ${D}//usr/lib/dracut/modules.d/98integrity + rm -fr ${D}//usr/lib/dracut/modules.d/98selinux + + mkdir -p ${D}/boot/dracut + mkdir -p ${D}/var/lib/dracut/overlay + mkdir -p ${D}/var/log + touch ${D}/var/log/dracut.log + mkdir -p ${D}/usr/com/initramfs + + install -m 0644 dracut.conf.d/suse.conf.example ${D}/etc/dracut.conf.d/01-dist.conf + + + mkdir -p ${D}/etc/logrotate.d + install -m 0644 dracut.logrotate ${D}/etc/logrotate.d/dracut_log + + + +} + +PACKAGES = "" +PACKAGES += "dracut-network" +PACKAGES += "dracut" +PACKAGES += "dracut-caps" +PACKAGES += "dracut-tools" + +dracut-network_files = "" +dracut-network_files += "dracut.manifest" +dracut-network_files += "/usr/lib/dracut/modules.d/40network" +dracut-network_files += "/usr/lib/dracut/modules.d/95fcoe" +dracut-network_files += "/usr/lib/dracut/modules.d/95iscsi" +dracut-network_files += "/usr/lib/dracut/modules.d/90livenet" +dracut-network_files += "/usr/lib/dracut/modules.d/90qemu-net" +dracut-network_files += "/usr/lib/dracut/modules.d/95cifs" +dracut-network_files += "/usr/lib/dracut/modules.d/95nbd" +dracut-network_files += "/usr/lib/dracut/modules.d/95nfs" +dracut-network_files += "/usr/lib/dracut/modules.d/95ssh-client" +dracut-network_files += "/usr/lib/dracut/modules.d/45ifcfg" +dracut-network_files += "/usr/lib/dracut/modules.d/95znet" + +dracut_files = "" +dracut_files += "dracut.manifest" +dracut_files += "/usr/bin/dracut" +dracut_files += "/usr/bin/mkinitrd" +dracut_files += "/usr/bin/lsinitrd" +dracut_files += "/usr/lib/dracut" +dracut_files += "/usr/lib/dracut/modules.d" +dracut_files += "/usr/lib/dracut/dracut-functions.sh" +dracut_files += "/usr/lib/dracut/dracut-functions" +dracut_files += "/usr/lib/dracut/dracut-version.sh" +dracut_files += "/usr/lib/dracut/dracut-logger.sh" +dracut_files += "/usr/lib/dracut/dracut-initramfs-restore" +dracut_files += "/usr/lib/dracut/dracut-install" +dracut_files += "/etc/dracut.conf" +dracut_files += "/etc/dracut.conf.d/01-dist.conf" +dracut_files += "/etc/dracut.conf.d" +dracut_files += "/usr/share/man/man8/dracut.8*" +dracut_files += "/usr/share/man/man8/*service.8*" +dracut_files += "/usr/share/man/man8/mkinitrd.8*" +dracut_files += "/usr/share/man/man1/lsinitrd.1*" +dracut_files += "/usr/share/man/man7/dracut.kernel.7*" +dracut_files += "/usr/share/man/man7/dracut.bootup.7*" +dracut_files += "/usr/share/man/man7/dracut.cmdline.7*" +dracut_files += "/usr/share/man/man5/dracut.conf.5*" +dracut_files += "/usr/lib/dracut/modules.d/00dash" +dracut_files += "/usr/lib/dracut/modules.d/00bootchart" +dracut_files += "/usr/lib/dracut/modules.d/00systemd-bootchart/module-setup.sh" +dracut_files += "/usr/lib/dracut/modules.d/03rescue/module-setup.sh" +dracut_files += "/usr/lib/dracut/modules.d/04watchdog" +dracut_files += "/usr/lib/dracut/modules.d/05busybox" +dracut_files += "/usr/lib/dracut/modules.d/10i18n" +dracut_files += "/usr/lib/dracut/modules.d/30convertfs" +dracut_files += "/usr/lib/dracut/modules.d/45url-lib" +dracut_files += "/usr/lib/dracut/modules.d/50plymouth" +dracut_files += "/usr/lib/dracut/modules.d/50drm/module-setup.sh" +dracut_files += "/usr/lib/dracut/modules.d/80cms" +dracut_files += "/usr/lib/dracut/modules.d/90btrfs" +dracut_files += "/usr/lib/dracut/modules.d/90crypt" +dracut_files += "/usr/lib/dracut/modules.d/90dm" +dracut_files += "/usr/lib/dracut/modules.d/90dmraid" +dracut_files += "/usr/lib/dracut/modules.d/90dmsquash-live" +dracut_files += "/usr/lib/dracut/modules.d/90kernel-modules" +dracut_files += "/usr/lib/dracut/modules.d/90lvm" +dracut_files += "/usr/lib/dracut/modules.d/90mdraid" +dracut_files += "/usr/lib/dracut/modules.d/90multipath" +dracut_files += "/usr/lib/dracut/modules.d/90qemu" +dracut_files += "/usr/lib/dracut/modules.d/91crypt-gpg" +dracut_files += "/usr/lib/dracut/modules.d/91crypt-loop" +dracut_files += "/usr/lib/dracut/modules.d/95debug" +dracut_files += "/usr/lib/dracut/modules.d/95resume" +dracut_files += "/usr/lib/dracut/modules.d/95rootfs-block" +dracut_files += "/usr/lib/dracut/modules.d/95dasd" +dracut_files += "/usr/lib/dracut/modules.d/95dasd_mod" +dracut_files += "/usr/lib/dracut/modules.d/95fstab-sys" +dracut_files += "/usr/lib/dracut/modules.d/95zfcp" +dracut_files += "/usr/lib/dracut/modules.d/95terminfo" +dracut_files += "/usr/lib/dracut/modules.d/95udev-rules" +dracut_files += "/usr/lib/dracut/modules.d/95virtfs" +dracut_files += "/usr/lib/dracut/modules.d/97biosdevname" +dracut_files += "/usr/lib/dracut/modules.d/98ecryptfs" +dracut_files += "/usr/lib/dracut/modules.d/98pollcdrom" +dracut_files += "/usr/lib/dracut/modules.d/98syslog" +dracut_files += "/usr/lib/dracut/modules.d/98systemd" +dracut_files += "/usr/lib/dracut/modules.d/98usrmount" +dracut_files += "/usr/lib/dracut/modules.d/99base" +dracut_files += "/usr/lib/dracut/modules.d/99fs-lib" +dracut_files += "/usr/lib/dracut/modules.d/99img-lib" +dracut_files += "/usr/lib/dracut/modules.d/99shutdown" +dracut_files += "/usr/lib/dracut/modules.d/00bash/module-setup.sh" +dracut_files += "/usr/lib/dracut/modules.d/03modsign/load-modsign-keys.sh" +dracut_files += "/usr/lib/dracut/modules.d/03modsign/module-setup.sh" +dracut_files += "/usr/lib/dracut/modules.d/90bcache/module-setup.sh" +dracut_files += "/etc/logrotate.d/dracut_log" +dracut_files += "/usr/com/initramfs" +dracut_files += "/lib/systemd/system/dracut-shutdown.service" +dracut_files += "/lib/systemd/system/shutdown.target.wants/dracut-shutdown.service" +dracut_files += "/lib/systemd/system/dracut-cmdline.service" +dracut_files += "/lib/systemd/system/dracut-initqueue.service" +dracut_files += "/lib/systemd/system/dracut-mount.service" +dracut_files += "/lib/systemd/system/dracut-pre-mount.service" +dracut_files += "/lib/systemd/system/dracut-pre-pivot.service" +dracut_files += "/lib/systemd/system/dracut-pre-trigger.service" +dracut_files += "/lib/systemd/system/dracut-pre-udev.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-cmdline.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-initqueue.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-mount.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-pre-mount.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-pre-pivot.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-pre-trigger.service" +dracut_files += "/lib/systemd/system/initrd.target.wants/dracut-pre-udev.service" +dracut_files += "/usr/lib/kernel/install.d/50-dracut.install" +dracut_files += "/usr/lib/kernel/install.d/51-dracut-rescue.install" +dracut_files += "/usr/share/bash-completion/completions/dracut" +dracut_files += "/usr/share/bash-completion/completions/lsinitrd" + +dracut-caps_files = "" +dracut-caps_files += "dracut.manifest" +dracut-caps_files += "/usr/lib/dracut/modules.d/02caps" + +dracut-tools_files = "" +dracut-tools_files += "dracut.manifest" +dracut-tools_files += "/usr/share/man/man8/dracut-catimages.8*" +dracut-tools_files += "/usr/bin/dracut-catimages" +dracut-tools_files += "/boot/dracut" +dracut-tools_files += "/var/lib/dracut" +dracut-tools_files += "/var/lib/dracut/overlay" + +FILES_${PN}-network = "${dracut-network_files}" +FILES_${PN} = "${dracut_files}" +FILES_${PN}-caps = "${dracut-caps_files}" +FILES_${PN}-tools = "${dracut-tools_files}" + +PKG_dracut-network= "dracut-network" +PKG_dracut= "dracut" +PKG_dracut-caps= "dracut-caps" +PKG_dracut-tools= "dracut-tools" + +require dracut-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dracut/dracut_git.bb b/meta-tizen/recipes-tizen/dracut/dracut_git.bb new file mode 100644 index 0000000..c9b1cd2 --- /dev/null +++ b/meta-tizen/recipes-tizen/dracut/dracut_git.bb @@ -0,0 +1,8 @@ +require dracut.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dracut;protocol=ssh;tag=fbb17af802906791f508040fd8741dc37e3a4e1a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/draglock/draglock-extraconf.inc b/meta-tizen/recipes-tizen/draglock/draglock-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/draglock/draglock.inc b/meta-tizen/recipes-tizen/draglock/draglock.inc new file mode 100644 index 0000000..b8a6eba --- /dev/null +++ b/meta-tizen/recipes-tizen/draglock/draglock.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Lock screen application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TBD" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.draglock" + +org.tizen.draglock_files = "" +org.tizen.draglock_files += "/opt/apps/org.tizen.draglock/res/locale" +org.tizen.draglock_files += "/opt/apps/org.tizen.draglock/bin/draglock" +org.tizen.draglock_files += "/opt/apps/org.tizen.draglock/res/edje/draglock.edj" +org.tizen.draglock_files += "/opt/share/packages/org.tizen.draglock.xml" + +FILES_${PN} = "${org.tizen.draglock_files}" + +PKG_org.tizen.draglock= "org.tizen.draglock" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require draglock-rdepends.inc +require draglock-depends.inc +require draglock-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dri2proto/dri2proto-extraconf.inc b/meta-tizen/recipes-tizen/dri2proto/dri2proto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dri2proto/dri2proto.inc b/meta-tizen/recipes-tizen/dri2proto/dri2proto.inc new file mode 100644 index 0000000..d151a31 --- /dev/null +++ b/meta-tizen/recipes-tizen/dri2proto/dri2proto.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "X.Org X11 Protocol dri2proto" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "dri2proto" + +dri2proto_files = "" +dri2proto_files += "dri2proto.manifest" +dri2proto_files += "/usr/include/X11/extensions/*.h" +dri2proto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${dri2proto_files}" + +PKG_dri2proto= "dri2proto" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require dri2proto-rdepends.inc +require dri2proto-depends.inc +require dri2proto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/drm-client/drm-client-extraconf.inc b/meta-tizen/recipes-tizen/drm-client/drm-client-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/drm-client/drm-client-native_git.bb b/meta-tizen/recipes-tizen/drm-client/drm-client-native_git.bb new file mode 100644 index 0000000..fc81df4 --- /dev/null +++ b/meta-tizen/recipes-tizen/drm-client/drm-client-native_git.bb @@ -0,0 +1,12 @@ +require drm-client.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/drm-client;protocol=ssh;tag=fe8dfafce86716d18f727492175896a50969923b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/drm-client/drm-client.inc b/meta-tizen/recipes-tizen/drm-client/drm-client.inc new file mode 100644 index 0000000..6c03692 --- /dev/null +++ b/meta-tizen/recipes-tizen/drm-client/drm-client.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "DRM client Package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by drm-client-devel +PROVIDES += "drm-client-devel" +RPROVIDES_drm-client-devel += "drm-client-devel" +RPROVIDES_drm-client-devel += "drm-client-dev" + +#PROVIDES by drm-client +PROVIDES += "drm-client" +RPROVIDES_drm-client += "drm-client" + +RDEPENDS = "" +#RDEPENDS of drm-client-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "drm-client" + + +DEPENDS = "" +#DEPENDS of drm-client +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/drm-client.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "drm-client-devel" +PACKAGES += "drm-client" + +drm-client-devel_files = "" +drm-client-devel_files += "drm-client.manifest" +drm-client-devel_files += "/usr/include/drm-client/*" +drm-client-devel_files += "/usr/lib/*.so" +drm-client-devel_files += "/usr/lib/pkgconfig/drm-client.pc" + +drm-client_files = "" +drm-client_files += "drm-client.manifest" +drm-client_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${drm-client-devel_files}" +FILES_${PN} = "${drm-client_files}" + +PKG_drm-client-devel= "drm-client-devel" +PKG_drm-client= "drm-client" + +require drm-client-extraconf.inc diff --git a/meta-tizen/recipes-tizen/drm-client/drm-client_git.bb b/meta-tizen/recipes-tizen/drm-client/drm-client_git.bb new file mode 100644 index 0000000..2d2efa3 --- /dev/null +++ b/meta-tizen/recipes-tizen/drm-client/drm-client_git.bb @@ -0,0 +1,8 @@ +require drm-client.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/drm-client;protocol=ssh;tag=fe8dfafce86716d18f727492175896a50969923b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dukgenerator/dukgenerator-extraconf.inc b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dukgenerator/dukgenerator-native_git.bb b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator-native_git.bb new file mode 100644 index 0000000..1436f92 --- /dev/null +++ b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator-native_git.bb @@ -0,0 +1,12 @@ +require dukgenerator.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/dukgenerator;protocol=ssh;tag=dba9f75b65f93b0139eb79e634252ce7a7c8d06d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/dukgenerator/dukgenerator.inc b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator.inc new file mode 100644 index 0000000..bdb3ebf --- /dev/null +++ b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Device Unique Key Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by dukgenerator-devel +PROVIDES += "dukgenerator-devel" +RPROVIDES_dukgenerator-devel += "dukgenerator-devel" +RPROVIDES_dukgenerator-devel += "dukgenerator-dev" + +#PROVIDES by dukgenerator +PROVIDES += "dukgenerator" +RPROVIDES_dukgenerator += "dukgenerator" + +RDEPENDS = "" +#RDEPENDS of dukgenerator-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "dukgenerator" + + +DEPENDS = "" +#DEPENDS of dukgenerator +DEPENDS += "pkgconfig(cryptsvc)" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dukgenerator.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 1.0.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DLIB_INSTALL_DIR:PATH=/usr/lib -DFULLVER=1.0.0 -DMAJORVER=${MAJORVER} -DDESCRIPTION="Device Unique Key Library" -DBUILD_SHARED_LIBS:BOOL=OFF + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} INSTALL_ROOT=${D} install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\\.la$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "dukgenerator-devel" +PACKAGES += "dukgenerator" + +dukgenerator-devel_files = "" +dukgenerator-devel_files += "dukgenerator.manifest" +dukgenerator-devel_files += "/usr/include/*" +dukgenerator-devel_files += "/usr/lib/pkgconfig/dukgenerator.pc" + +dukgenerator_files = "" +dukgenerator_files += "dukgenerator.manifest" +dukgenerator_files += "/usr/lib/*.a" + +FILES_${PN}-devel = "${dukgenerator-devel_files}" +FILES_${PN} = "${dukgenerator_files}" + +PKG_dukgenerator-devel= "dukgenerator-devel" +PKG_dukgenerator= "dukgenerator" + +require dukgenerator-extraconf.inc diff --git a/meta-tizen/recipes-tizen/dukgenerator/dukgenerator_git.bb b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator_git.bb new file mode 100644 index 0000000..fe6cc84 --- /dev/null +++ b/meta-tizen/recipes-tizen/dukgenerator/dukgenerator_git.bb @@ -0,0 +1,8 @@ +require dukgenerator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/dukgenerator;protocol=ssh;tag=dba9f75b65f93b0139eb79e634252ce7a7c8d06d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs-extraconf.inc b/meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs.inc b/meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs.inc new file mode 100644 index 0000000..3ddf723 --- /dev/null +++ b/meta-tizen/recipes-tizen/e2fsprogs/e2fsprogs.inc @@ -0,0 +1,246 @@ +DESCRIPTION = "Utilities for the Second Extended File System" +HOMEPAGE = "http://e2fsprogs.sourceforge.net" +SECTION = "System/Filesystems" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libext2fs +PROVIDES += "libext2fs" +RPROVIDES_libext2fs += "libext2fs" + +#PROVIDES by e2fsprogs-devel +PROVIDES += "e2fsprogs-devel" +RPROVIDES_e2fsprogs-devel += "e2fsprogs-devel" +RPROVIDES_e2fsprogs-devel += "e2fsprogs-dev" + +#PROVIDES by e2fsprogs +PROVIDES += "e2fsprogs" +RPROVIDES_e2fsprogs += "e2fsprogs" + +#PROVIDES by e2fsprogs-docs +PROVIDES += "e2fsprogs-docs " +RPROVIDES_e2fsprogs-docs += "e2fsprogs-docs " + +#PROVIDES by libcom_err +PROVIDES += "libcom_err" +RPROVIDES_libcom_err += "libcom_err" + +#PROVIDES by libcom_err-devel +PROVIDES += "libcom_err-devel" +RPROVIDES_libcom_err-devel += "libcom_err-devel" +RPROVIDES_libcom_err-devel += "libcom_err-dev" + +#PROVIDES by libext2fs-devel +PROVIDES += "libext2fs-devel" +RPROVIDES_libext2fs-devel += "libext2fs-devel" +RPROVIDES_libext2fs-devel += "libext2fs-dev" + +RDEPENDS = "" +#RDEPENDS of e2fsprogs-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libuuid-dev" +RDEPENDS_${PN}-devel += "libblkid-dev" +RDEPENDS_${PN}-devel += "libext2fs-dev" + +#RDEPENDS of e2fsprogs (${PN}) +RDEPENDS_${PN} += "libext2fs" +RDEPENDS_${PN} += "libcom_err" + +#RDEPENDS of libcom_err-devel (libcom_err-devel) +RDEPENDS_libcom_err-devel += "glibc-dev" +RDEPENDS_libcom_err-devel += "libcom_err" + +#RDEPENDS of libext2fs-devel (libext2fs-devel) +RDEPENDS_libext2fs-devel += "libext2fs" +RDEPENDS_libext2fs-devel += "libcom_err-dev" + + +DEPENDS = "" +#DEPENDS of e2fsprogs +DEPENDS += "autoconf-native" +DEPENDS += "libuuid-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "libblkid-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/e2fsprogs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-evms \ + --with-root-prefix='' \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-nls \ + --disable-fsck \ + CFLAGS="$RPM_OPT_FLAGS" + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=//usr/lib + find "${D}//usr/lib" -type f -name "*.a" \ + -print -delete + # Let boot continue even if system clock is wrong + install -p -m 644 ${S}/packaging/e2fsck.conf ${D}/etc/e2fsck.conf + + + rm $RPM_BUILD_ROOT/usr/lib/e2initrd_helper + rm -f $RPM_BUILD_ROOT//usr/sbin/mkfs.ext4dev + rm -f $RPM_BUILD_ROOT//usr/sbin/fsck.ext4dev + rm -f $RPM_BUILD_ROOT/usr/share/man/man8/mkfs.ext4dev.8* + rm -f $RPM_BUILD_ROOT/usr/share/man/man8/fsck.ext4dev.8* + rm -v ${D}/usr/include/quota/mkquota.h + rm -v ${D}/usr/lib/pkgconfig/quota.pc + + +} + +PACKAGES = "" +PACKAGES += "libext2fs" +PACKAGES += "e2fsprogs-devel" +PACKAGES += "e2fsprogs" +PACKAGES += "libcom_err" +PACKAGES += "e2fsprogs-docs" +PACKAGES += "libcom_err-devel" +PACKAGES += "libext2fs-devel" + +libext2fs_files = "" +libext2fs_files += "e2fsprogs.manifest" +libext2fs_files += "/usr/lib/libext2fs.so.*" +libext2fs_files += "/usr/lib/libe2p.so.*" + +e2fsprogs-devel_files = "" +e2fsprogs-devel_files += "e2fsprogs.manifest" +e2fsprogs-devel_files += "README" + +e2fsprogs_files = "" +e2fsprogs_files += "e2fsprogs.manifest" +e2fsprogs_files += "MIT COPYING" +e2fsprogs_files += "RELEASE-NOTES README" +e2fsprogs_files += "/etc/e2fsck.conf" +e2fsprogs_files += "/etc/mke2fs.conf" +e2fsprogs_files += "/usr/sbin/badblocks" +e2fsprogs_files += "/usr/sbin/debugfs" +e2fsprogs_files += "/usr/sbin/dumpe2fs" +e2fsprogs_files += "/usr/sbin/e2undo" +e2fsprogs_files += "/usr/sbin/e2fsck" +e2fsprogs_files += "/usr/sbin/e2label" +e2fsprogs_files += "/usr/sbin/fsck.ext2" +e2fsprogs_files += "/usr/sbin/fsck.ext3" +e2fsprogs_files += "/usr/sbin/fsck.ext4" +e2fsprogs_files += "/usr/sbin/mke2fs" +e2fsprogs_files += "/usr/sbin/mkfs.ext2" +e2fsprogs_files += "/usr/sbin/mkfs.ext3" +e2fsprogs_files += "/usr/sbin/mkfs.ext4" +e2fsprogs_files += "/usr/sbin/resize2fs" +e2fsprogs_files += "/usr/sbin/tune2fs" +e2fsprogs_files += "/usr/sbin/e2image" +e2fsprogs_files += "/usr/sbin/logsave" +e2fsprogs_files += "/usr/bin/chattr" +e2fsprogs_files += "/usr/bin/lsattr" +e2fsprogs_files += "/usr/sbin/mklost+found" +e2fsprogs_files += "/usr/sbin/filefrag" +e2fsprogs_files += "/usr/sbin/e2freefrag" +e2fsprogs_files += "/usr/sbin/e4defrag" + +libcom_err_files = "" +libcom_err_files += "e2fsprogs.manifest" +libcom_err_files += "/usr/lib/libcom_err.so.*" +libcom_err_files += "/usr/lib/libss.so.*" + +e2fsprogs-docs_files = "" +e2fsprogs-docs_files += "/usr/share/info" +e2fsprogs-docs_files += "/usr/share/man" + +libcom_err-devel_files = "" +libcom_err-devel_files += "e2fsprogs.manifest" +libcom_err-devel_files += "/usr/bin/compile_et" +libcom_err-devel_files += "/usr/bin/mk_cmds" +libcom_err-devel_files += "/usr/lib/libcom_err.so" +libcom_err-devel_files += "/usr/lib/libss.so" +libcom_err-devel_files += "/usr/lib/pkgconfig/com_err.pc" +libcom_err-devel_files += "/usr/lib/pkgconfig/ss.pc" +libcom_err-devel_files += "/usr/include/com_err.h" +libcom_err-devel_files += "/usr/include/et" +libcom_err-devel_files += "/usr/include/ss" +libcom_err-devel_files += "/usr/share/et" +libcom_err-devel_files += "/usr/share/ss" + +libext2fs-devel_files = "" +libext2fs-devel_files += "e2fsprogs.manifest" +libext2fs-devel_files += "/usr/lib/libext2fs.so" +libext2fs-devel_files += "/usr/lib/libe2p.so" +libext2fs-devel_files += "/usr/include/ext2fs" +libext2fs-devel_files += "/usr/include/e2p" +libext2fs-devel_files += "/usr/lib/pkgconfig/e2p.pc" +libext2fs-devel_files += "/usr/lib/pkgconfig/ext2fs.pc" + +FILES_libext2fs = "${libext2fs_files}" +FILES_${PN}-devel = "${e2fsprogs-devel_files}" +FILES_${PN} = "${e2fsprogs_files}" +FILES_libcom_err = "${libcom_err_files}" +FILES_${PN}-docs = "${e2fsprogs-docs_files}" +FILES_libcom_err-devel = "${libcom_err-devel_files}" +FILES_libext2fs-devel = "${libext2fs-devel_files}" + +PKG_libext2fs= "libext2fs" +PKG_e2fsprogs-devel= "e2fsprogs-devel" +PKG_e2fsprogs= "e2fsprogs" +PKG_libcom_err= "libcom_err" +PKG_e2fsprogs-docs= "e2fsprogs-docs" +PKG_libcom_err-devel= "libcom_err-devel" +PKG_libext2fs-devel= "libext2fs-devel" + +require e2fsprogs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/econnman/econnman-extraconf.inc b/meta-tizen/recipes-tizen/econnman/econnman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/econnman/econnman.inc b/meta-tizen/recipes-tizen/econnman/econnman.inc new file mode 100644 index 0000000..fe9e2ae --- /dev/null +++ b/meta-tizen/recipes-tizen/econnman/econnman.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "EFL user interface for ConnMan" +HOMEPAGE = "http://svn.enlightenment.org/svn/e/trunk/econnman/" +SECTION = "EFL" +LICENSE = "GPL-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "econnman" + +econnman_files = "" +econnman_files += "econnman.manifest" +econnman_files += "/usr/bin/econnman-bin" +econnman_files += "/usr/share/applications/econnman-agent.desktop" +econnman_files += "/usr/share/applications/econnman.desktop" +econnman_files += "/usr/share/econnman/theme/default.edj" + +FILES_${PN} = "${econnman_files}" + +PKG_econnman= "econnman" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require econnman-rdepends.inc +require econnman-depends.inc +require econnman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ecore/ecore-extraconf.inc b/meta-tizen/recipes-tizen/ecore/ecore-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ecore/ecore-native_git.bb b/meta-tizen/recipes-tizen/ecore/ecore-native_git.bb new file mode 100644 index 0000000..7575284 --- /dev/null +++ b/meta-tizen/recipes-tizen/ecore/ecore-native_git.bb @@ -0,0 +1,12 @@ +require ecore.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ecore;protocol=ssh;tag=ce62980ee7ecc690f565a7b4718dc99327dbbbba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ecore/ecore.inc b/meta-tizen/recipes-tizen/ecore/ecore.inc new file mode 100644 index 0000000..078f1d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/ecore/ecore.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "Enlightened Core X interface library" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "Graphics/EFL" +LICENSE = "BSD-2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ecore-locale +PROVIDES += "ecore-locale " +RPROVIDES_ecore-locale += "ecore-locale " +# the PROVIDES rules is ignore "ecore-lang-all = 1.7.8" +PROVIDES += "ecore-lang-all" +RPROVIDES_ecore-locale += "ecore-lang-all" + +#PROVIDES by ecore +PROVIDES += "ecore" +RPROVIDES_ecore += "ecore" + +#PROVIDES by ecore-devel +PROVIDES += "ecore-devel" +RPROVIDES_ecore-devel += "ecore-devel" +RPROVIDES_ecore-devel += "ecore-dev" + +#PROVIDES by ecore-examples +PROVIDES += "ecore-examples" +RPROVIDES_ecore-examples += "ecore-examples" + +RDEPENDS = "" +#RDEPENDS of ecore-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "ecore" + +#RDEPENDS of ecore-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ecore" + +#RDEPENDS of ecore-examples (${PN}-examples) +RDEPENDS_${PN}-examples += "ecore" + + +DEPENDS = "" +#DEPENDS of ecore +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(egl)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(glesv2)" +DEPENDS += "libgcrypt-devel" +DEPENDS += "pkgconfig(pixman-1)" +DEPENDS += "pkgconfig(wayland-egl)" +DEPENDS += "pkgconfig(xkbcommon)" +DEPENDS += "curl" +DEPENDS += "pkgconfig(wayland-cursor)" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ecore.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-build-examples \ + --enable-ecore-wayland \ + --enable-ecore-evas-wayland-egl \ + --disable-ecore-x \ + --enable-glib-integration-always \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} ecore + + +} + +PACKAGES = "" +PACKAGES += "ecore" +PACKAGES += "ecore-devel" +PACKAGES += "ecore-locale" +PACKAGES += "ecore-examples" + +ecore_files = "" +ecore_files += "ecore.manifest" +ecore_files += "/usr/lib/libecore*.so.*" +ecore_files += "/usr/lib/ecore/immodules/*.so" + +ecore-devel_files = "" +ecore-devel_files += "ecore.manifest" +ecore-devel_files += "/usr/include/ecore-1/*.h" +ecore-devel_files += "/usr/lib/libecore*.so" +ecore-devel_files += "/usr/lib/pkgconfig/ecore.pc" +ecore-devel_files += "/usr/lib/pkgconfig/ecore-*.pc" + +ecore-locale_files = "" + +ecore-examples_files = "" +ecore-examples_files += "ecore.manifest" +ecore-examples_files += "/usr/lib/ecore/examples/*" + +FILES_${PN} = "${ecore_files}" +FILES_${PN}-devel = "${ecore-devel_files}" +FILES_${PN}-locale = "${ecore-locale_files}" +FILES_${PN}-examples = "${ecore-examples_files}" + +PKG_ecore= "ecore" +PKG_ecore-devel= "ecore-devel" +PKG_ecore-locale= "ecore-locale" +PKG_ecore-examples= "ecore-examples" + +require ecore-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ecore/ecore_git.bb b/meta-tizen/recipes-tizen/ecore/ecore_git.bb new file mode 100644 index 0000000..e0993c7 --- /dev/null +++ b/meta-tizen/recipes-tizen/ecore/ecore_git.bb @@ -0,0 +1,8 @@ +require ecore.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ecore;protocol=ssh;tag=ce62980ee7ecc690f565a7b4718dc99327dbbbba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ed/ed-extraconf.inc b/meta-tizen/recipes-tizen/ed/ed-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ed/ed-native_git.bb b/meta-tizen/recipes-tizen/ed/ed-native_git.bb new file mode 100644 index 0000000..4f81cc4 --- /dev/null +++ b/meta-tizen/recipes-tizen/ed/ed-native_git.bb @@ -0,0 +1,12 @@ +require ed.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ed;protocol=ssh;tag=2ba5796fce411581d0f0a0b1339e18537a3626b7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ed/ed.inc b/meta-tizen/recipes-tizen/ed/ed.inc new file mode 100644 index 0000000..4f90a5d --- /dev/null +++ b/meta-tizen/recipes-tizen/ed/ed.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Standard UNIX Line Editor" +HOMEPAGE = "http://www.gnu.org/software/ed/" +SECTION = "Productivity/Editors/Other" +LICENSE = "GPL-3.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ed +PROVIDES += "ed" +RPROVIDES_ed += "ed" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ed.manifest . + sed -i \ + -e "s/CFLAGS='.*/CFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'/" \ + -e "s/CXXFLAGS='.*/CXXFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'/" \ + configure + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + + +} + +PACKAGES = "" +PACKAGES += "ed" + +ed_files = "" +ed_files += "ed.manifest" +ed_files += "GPL-3.0+ ; LGPL-2.1+ COPYING" +ed_files += "/usr/bin/ed" +ed_files += "/usr/bin/red" +ed_files += "/usr/share/info/ed.info.gz" +ed_files += "/usr/share/man/man1/ed.1.gz" +ed_files += "/usr/share/man/man1/red.1.gz" + +FILES_${PN} = "${ed_files}" + +PKG_ed= "ed" + +require ed-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ed/ed_git.bb b/meta-tizen/recipes-tizen/ed/ed_git.bb new file mode 100644 index 0000000..9a97374 --- /dev/null +++ b/meta-tizen/recipes-tizen/ed/ed_git.bb @@ -0,0 +1,8 @@ +require ed.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ed;protocol=ssh;tag=2ba5796fce411581d0f0a0b1339e18537a3626b7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc b/meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/edbus/edbus-native_git.bb b/meta-tizen/recipes-tizen/edbus/edbus-native_git.bb new file mode 100644 index 0000000..7a350ab --- /dev/null +++ b/meta-tizen/recipes-tizen/edbus/edbus-native_git.bb @@ -0,0 +1,12 @@ +require edbus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edbus;protocol=ssh;tag=2794ce43563454872e90515c795697773fc44088;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/edbus/edbus.inc b/meta-tizen/recipes-tizen/edbus/edbus.inc new file mode 100644 index 0000000..86dd82a --- /dev/null +++ b/meta-tizen/recipes-tizen/edbus/edbus.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "EFL Wrapper for DBus" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by edbus-devel +PROVIDES += "edbus-devel" +RPROVIDES_edbus-devel += "edbus-devel" +RPROVIDES_edbus-devel += "edbus-dev" + +#PROVIDES by edbus +PROVIDES += "edbus" +RPROVIDES_edbus += "edbus" + +RDEPENDS = "" +#RDEPENDS of edbus-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "edbus" + + +DEPENDS = "" +#DEPENDS of edbus +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "ecore" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(eina)" +DEPENDS += "pkgconfig(evas)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n e_dbus-1.7.8 + cp ${S}/packaging/edbus.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + +} + +PACKAGES = "" +PACKAGES += "edbus-devel" +PACKAGES += "edbus" + +edbus-devel_files = "" +edbus-devel_files += "edbus.manifest" +edbus-devel_files += "/usr/include/e_dbus-1/*.h" +edbus-devel_files += "/usr/lib/*.so" +edbus-devel_files += "/usr/lib/pkgconfig/*.pc" +edbus-devel_files += "/usr/include/e_dbus-1/connman0_7x/E_Connman.h" +edbus-devel_files += "/usr/bin/e-notify-send" + +edbus_files = "" +edbus_files += "edbus.manifest" +edbus_files += "/usr/bin/e_dbus_*" +edbus_files += "/usr/bin/e-notify-send" +edbus_files += "/usr/lib/libe*.so.*" +edbus_files += "/usr/share/e_dbus/logo.png" + +FILES_${PN}-devel = "${edbus-devel_files}" +FILES_${PN} = "${edbus_files}" + +PKG_edbus-devel= "edbus-devel" +PKG_edbus= "edbus" + +require edbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/edbus/edbus_git.bb b/meta-tizen/recipes-tizen/edbus/edbus_git.bb new file mode 100644 index 0000000..5040c70 --- /dev/null +++ b/meta-tizen/recipes-tizen/edbus/edbus_git.bb @@ -0,0 +1,8 @@ +require edbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edbus;protocol=ssh;tag=2794ce43563454872e90515c795697773fc44088;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/edje/edje-extraconf.inc b/meta-tizen/recipes-tizen/edje/edje-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/edje/edje-native_git.bb b/meta-tizen/recipes-tizen/edje/edje-native_git.bb new file mode 100644 index 0000000..8d09ace --- /dev/null +++ b/meta-tizen/recipes-tizen/edje/edje-native_git.bb @@ -0,0 +1,12 @@ +require edje.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edje;protocol=ssh;tag=a7d4e1ec6c0b973431b56b6a92bb960a2ee09693;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/edje/edje.inc b/meta-tizen/recipes-tizen/edje/edje.inc new file mode 100644 index 0000000..4c219f4 --- /dev/null +++ b/meta-tizen/recipes-tizen/edje/edje.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "Complex Graphical Design/Layout Engine" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by edje +PROVIDES += "edje" +RPROVIDES_edje += "edje" + +#PROVIDES by edje-devel +PROVIDES += "edje-devel" +RPROVIDES_edje-devel += "edje-devel" +RPROVIDES_edje-devel += "edje-dev" + +#PROVIDES by edje-tools +PROVIDES += "edje-tools" +RPROVIDES_edje-tools += "edje-tools" +# the PROVIDES rules is ignore "edje-bin " +PROVIDES += "edje-bin" +RPROVIDES_edje-tools += "edje-bin" + +RDEPENDS = "" +#RDEPENDS of edje-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "edje-tools" + +#RDEPENDS of edje-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "edje" + + +DEPENDS = "" +#DEPENDS of edje +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "python-devel" +DEPENDS += "pkgconfig(ecore-evas)" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(lua)" +DEPENDS += "pkgconfig(ecore-imf-evas)" +DEPENDS += "pkgconfig(ecore-imf)" +DEPENDS += "pkgconfig(ecore-file)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" +DEPENDS += "pkgconfig(embryo)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/edje.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "edje" +PACKAGES += "edje-devel" +PACKAGES += "edje-tools" + +edje_files = "" +edje_files += "edje.manifest" +edje_files += "/usr/lib/*.so.*" +edje_files += "/usr/lib/edje/*" +edje_files += "/usr/share/edje/include/edje.inc" +edje_files += "/usr/share/mime/packages/edje.xml" +edje_files += "/usr/bin/inkscape2edc" + +edje-devel_files = "" +edje-devel_files += "edje.manifest" +edje-devel_files += "/usr/include/edje-1/*.h" +edje-devel_files += "/usr/lib/*.so" +edje-devel_files += "/usr/lib/pkgconfig/*.pc" +edje-devel_files += "/usr/share/edje/examples/*" + +edje-tools_files = "" +edje-tools_files += "edje.manifest" +edje-tools_files += "/usr/bin/edje*" + +FILES_${PN} = "${edje_files}" +FILES_${PN}-devel = "${edje-devel_files}" +FILES_${PN}-tools = "${edje-tools_files}" + +PKG_edje= "edje" +PKG_edje-devel= "edje-devel" +PKG_edje-tools= "edje-tools" + +require edje-extraconf.inc diff --git a/meta-tizen/recipes-tizen/edje/edje_git.bb b/meta-tizen/recipes-tizen/edje/edje_git.bb new file mode 100644 index 0000000..49ac9005 --- /dev/null +++ b/meta-tizen/recipes-tizen/edje/edje_git.bb @@ -0,0 +1,8 @@ +require edje.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edje;protocol=ssh;tag=a7d4e1ec6c0b973431b56b6a92bb960a2ee09693;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eet/eet-extraconf.inc b/meta-tizen/recipes-tizen/eet/eet-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/eet/eet-native_git.bb b/meta-tizen/recipes-tizen/eet/eet-native_git.bb new file mode 100644 index 0000000..47c7fb2 --- /dev/null +++ b/meta-tizen/recipes-tizen/eet/eet-native_git.bb @@ -0,0 +1,12 @@ +require eet.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eet;protocol=ssh;tag=4dc68af514f8a8cc9fb4d5c1b32e14731aeb1ce8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eet/eet.inc b/meta-tizen/recipes-tizen/eet/eet.inc new file mode 100644 index 0000000..f2a5f2d --- /dev/null +++ b/meta-tizen/recipes-tizen/eet/eet.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "Library for speedy data storage, retrieval, and compression" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by eet +PROVIDES += "eet" +RPROVIDES_eet += "eet" + +#PROVIDES by eet-devel +PROVIDES += "eet-devel" +RPROVIDES_eet-devel += "eet-devel" +RPROVIDES_eet-devel += "eet-dev" + +#PROVIDES by eet-tools +PROVIDES += "eet-tools" +RPROVIDES_eet-tools += "eet-tools" +# the PROVIDES rules is ignore "eet-bin " +PROVIDES += "eet-bin" +RPROVIDES_eet-tools += "eet-bin" + +RDEPENDS = "" +#RDEPENDS of eet-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "eet" + +#RDEPENDS of eet-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eet" + + +DEPENDS = "" +#DEPENDS of eet +DEPENDS += "doxygen" +DEPENDS += "libjpeg-devel" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "libgcrypt-devel" +DEPENDS += "pkgconfig(gnutls)" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/eet.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "eet-tools" +PACKAGES += "eet-devel" +PACKAGES += "eet" + +eet-tools_files = "" +eet-tools_files += "eet.manifest" +eet-tools_files += "/usr/bin/eet" + +eet-devel_files = "" +eet-devel_files += "eet.manifest" +eet-devel_files += "/usr/include/eet-1/*.h" +eet-devel_files += "/usr/lib/*.so" +eet-devel_files += "/usr/lib/pkgconfig/*.pc" +eet-devel_files += "/usr/share/eet/examples/eet-basic.c" +eet-devel_files += "/usr/share/eet/examples/eet-data-cipher_decipher.c" +eet-devel_files += "/usr/share/eet/examples/eet-data-file_descriptor_01.c" +eet-devel_files += "/usr/share/eet/examples/eet-data-file_descriptor_02.c" +eet-devel_files += "/usr/share/eet/examples/eet-data-nested.c" +eet-devel_files += "/usr/share/eet/examples/eet-data-simple.c" +eet-devel_files += "/usr/share/eet/examples/eet-file.c" + +eet_files = "" +eet_files += "eet.manifest" +eet_files += "/usr/lib/libeet*.so.*" + +FILES_${PN}-tools = "${eet-tools_files}" +FILES_${PN}-devel = "${eet-devel_files}" +FILES_${PN} = "${eet_files}" + +PKG_eet-tools= "eet-tools" +PKG_eet-devel= "eet-devel" +PKG_eet= "eet" + +require eet-extraconf.inc diff --git a/meta-tizen/recipes-tizen/eet/eet_git.bb b/meta-tizen/recipes-tizen/eet/eet_git.bb new file mode 100644 index 0000000..9c0045f --- /dev/null +++ b/meta-tizen/recipes-tizen/eet/eet_git.bb @@ -0,0 +1,8 @@ +require eet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eet;protocol=ssh;tag=4dc68af514f8a8cc9fb4d5c1b32e14731aeb1ce8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eeze/eeze-extraconf.inc b/meta-tizen/recipes-tizen/eeze/eeze-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/eeze/eeze-native_git.bb b/meta-tizen/recipes-tizen/eeze/eeze-native_git.bb new file mode 100644 index 0000000..b7f52f4 --- /dev/null +++ b/meta-tizen/recipes-tizen/eeze/eeze-native_git.bb @@ -0,0 +1,12 @@ +require eeze.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eeze;protocol=ssh;tag=15360449d041680eae7123699818013af809d506;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eeze/eeze.inc b/meta-tizen/recipes-tizen/eeze/eeze.inc new file mode 100644 index 0000000..fccae57 --- /dev/null +++ b/meta-tizen/recipes-tizen/eeze/eeze.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Device Convenience Library" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by eeze-devel +PROVIDES += "eeze-devel" +RPROVIDES_eeze-devel += "eeze-devel" +RPROVIDES_eeze-devel += "eeze-dev" + +#PROVIDES by eeze +PROVIDES += "eeze" +RPROVIDES_eeze += "eeze" + +RDEPENDS = "" +#RDEPENDS of eeze-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eeze" + + +DEPENDS = "" +#DEPENDS of eeze +DEPENDS += "ecore" +DEPENDS += "pkgconfig(libudev)" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(udev)" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/eeze.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + +} + +PACKAGES = "" +PACKAGES += "eeze-devel" +PACKAGES += "eeze" + +eeze-devel_files = "" +eeze-devel_files += "eeze.manifest" +eeze-devel_files += "/usr/include/eeze-1/*.h" +eeze-devel_files += "/usr/lib/*.so" +eeze-devel_files += "/usr/lib/pkgconfig/*.pc" + +eeze_files = "" +eeze_files += "eeze.manifest" +eeze_files += "/usr/lib/libeeze.so.*" + +FILES_${PN}-devel = "${eeze-devel_files}" +FILES_${PN} = "${eeze_files}" + +PKG_eeze-devel= "eeze-devel" +PKG_eeze= "eeze" + +require eeze-extraconf.inc diff --git a/meta-tizen/recipes-tizen/eeze/eeze_git.bb b/meta-tizen/recipes-tizen/eeze/eeze_git.bb new file mode 100644 index 0000000..86ccf69 --- /dev/null +++ b/meta-tizen/recipes-tizen/eeze/eeze_git.bb @@ -0,0 +1,8 @@ +require eeze.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eeze;protocol=ssh;tag=15360449d041680eae7123699818013af809d506;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efi-shell/efi-shell-extraconf.inc b/meta-tizen/recipes-tizen/efi-shell/efi-shell-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/efi-shell/efi-shell-native_git.bb b/meta-tizen/recipes-tizen/efi-shell/efi-shell-native_git.bb new file mode 100644 index 0000000..c3860e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/efi-shell/efi-shell-native_git.bb @@ -0,0 +1,12 @@ +require efi-shell.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efi-shell;protocol=ssh;tag=53b6e6a59db79b6978508f69c6e9712449f38abf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efi-shell/efi-shell.inc b/meta-tizen/recipes-tizen/efi-shell/efi-shell.inc new file mode 100644 index 0000000..5182f36 --- /dev/null +++ b/meta-tizen/recipes-tizen/efi-shell/efi-shell.inc @@ -0,0 +1,66 @@ +DESCRIPTION = "Shell for the firmware" +HOMEPAGE = "http://sourceforge.net/projects/edk2/" +SECTION = "Base/Startup" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by efi-shell +PROVIDES += "efi-shell" +RPROVIDES_efi-shell += "efi-shell" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -fr ${D} + install -D ${S}/packaging/shell.efi ${D}/boot/EFI/shellx64.efi + + +} + +PACKAGES = "" +PACKAGES += "efi-shell" + +efi-shell_files = "" +efi-shell_files += "/boot/EFI/shellx64.efi" + +FILES_${PN} = "${efi-shell_files}" + +PKG_efi-shell= "efi-shell" + +require efi-shell-extraconf.inc diff --git a/meta-tizen/recipes-tizen/efi-shell/efi-shell_git.bb b/meta-tizen/recipes-tizen/efi-shell/efi-shell_git.bb new file mode 100644 index 0000000..72506f8 --- /dev/null +++ b/meta-tizen/recipes-tizen/efi-shell/efi-shell_git.bb @@ -0,0 +1,8 @@ +require efi-shell.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efi-shell;protocol=ssh;tag=53b6e6a59db79b6978508f69c6e9712449f38abf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efl-assist/efl-assist-extraconf.inc b/meta-tizen/recipes-tizen/efl-assist/efl-assist-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/efl-assist/efl-assist-native_git.bb b/meta-tizen/recipes-tizen/efl-assist/efl-assist-native_git.bb new file mode 100644 index 0000000..9abb687 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-assist/efl-assist-native_git.bb @@ -0,0 +1,12 @@ +require efl-assist.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/efl-assist;protocol=ssh;tag=2659fedd5554aa32ddc72c3ff4c7a11c759cfd36;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efl-assist/efl-assist.inc b/meta-tizen/recipes-tizen/efl-assist/efl-assist.inc new file mode 100644 index 0000000..3823c82 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-assist/efl-assist.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "EFL assist library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by efl-assist-devel +PROVIDES += "efl-assist-devel" +RPROVIDES_efl-assist-devel += "efl-assist-devel" +RPROVIDES_efl-assist-devel += "efl-assist-dev" + +#PROVIDES by efl-assist +PROVIDES += "efl-assist" +RPROVIDES_efl-assist += "efl-assist" + +RDEPENDS = "" +#RDEPENDS of efl-assist-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "capi-base-common-dev" +RDEPENDS_${PN}-devel += "efl-assist" + +#RDEPENDS of efl-assist (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of efl-assist +DEPENDS += "pkgconfig(ecore-wayland)" +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(tts)" +DEPENDS += "common" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -fvisibility=hidden" + export LDFLAGS+=" -fvisibility=hidden" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DX11_SUPPORT=Off \ + -DWAYLAND_SUPPORT=On \ + #eol + + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/LICENSE ${D}/usr/share/license/efl-assist + + + +} + +PACKAGES = "" +PACKAGES += "efl-assist-devel" +PACKAGES += "efl-assist" + +efl-assist-devel_files = "" +efl-assist-devel_files += "/usr/include/efl-assist/*.h" +efl-assist-devel_files += "/usr/lib/*.so" +efl-assist-devel_files += "/usr/lib/pkgconfig/efl-assist.pc" + +efl-assist_files = "" +efl-assist_files += "/usr/lib/libefl-assist.so.*" +efl-assist_files += "efl-assist.manifest" + +FILES_${PN}-devel = "${efl-assist-devel_files}" +FILES_${PN} = "${efl-assist_files}" + +PKG_efl-assist-devel= "efl-assist-devel" +PKG_efl-assist= "efl-assist" + +require efl-assist-extraconf.inc diff --git a/meta-tizen/recipes-tizen/efl-assist/efl-assist_git.bb b/meta-tizen/recipes-tizen/efl-assist/efl-assist_git.bb new file mode 100644 index 0000000..7a78e94 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-assist/efl-assist_git.bb @@ -0,0 +1,8 @@ +require efl-assist.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/efl-assist;protocol=ssh;tag=2659fedd5554aa32ddc72c3ff4c7a11c759cfd36;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-native_git.bb b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-native_git.bb new file mode 100644 index 0000000..5929c13 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen-native_git.bb @@ -0,0 +1,12 @@ +require efl-theme-tizen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/efl-theme-tizen;protocol=ssh;tag=7a2cff90629d6553db73175785be55476940fcf3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc new file mode 100644 index 0000000..0a89bc4 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "Tizen theme files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by efl-theme-tizen-devel +PROVIDES += "efl-theme-tizen-devel" +RPROVIDES_efl-theme-tizen-devel += "efl-theme-tizen-devel" +RPROVIDES_efl-theme-tizen-devel += "efl-theme-tizen-dev" + +#PROVIDES by efl-theme-tizen-hd +PROVIDES += "efl-theme-tizen-hd" +RPROVIDES_efl-theme-tizen-hd += "efl-theme-tizen-hd" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of efl-theme-tizen-hd +DEPENDS += "edje" +DEPENDS += "embryo" +DEPENDS += "embryo-bin" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" --fPIC" + export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/LICENSE ${D}/usr/share/license/efl-theme-tizen-hd + cp ${D}/usr/share/elementary/themes/tizen-HD-dark.edj ${D}/usr/share/elementary/themes/tizen-hd.edj + + +} + +PACKAGES = "" +PACKAGES += "efl-theme-tizen-devel" +PACKAGES += "efl-theme-tizen-hd" + +efl-theme-tizen-devel_files = "" +efl-theme-tizen-devel_files += "/opt/var/efl-theme-tizen-edc/*" + +efl-theme-tizen-hd_files = "" +efl-theme-tizen-hd_files += "/usr/share/elementary/themes/tizen-HD-dark.edj" +efl-theme-tizen-hd_files += "/usr/share/elementary/themes/tizen-HD-light.edj" +efl-theme-tizen-hd_files += "/usr/share/elementary/themes/tizen-hd.edj" +efl-theme-tizen-hd_files += "efl-theme-tizen-hd.manifest" +efl-theme-tizen-hd_files += "/usr/share/license/efl-theme-tizen-hd" + +FILES_efl-theme-tizen-devel = "${efl-theme-tizen-devel_files}" +FILES_${PN} = "${efl-theme-tizen-hd_files}" + +PKG_efl-theme-tizen-devel= "efl-theme-tizen-devel" +PKG_efl-theme-tizen-hd= "efl-theme-tizen-hd" + +require efl-theme-tizen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb new file mode 100644 index 0000000..c7ffe53 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb @@ -0,0 +1,8 @@ +require efl-theme-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/efl-theme-tizen;protocol=ssh;tag=7a2cff90629d6553db73175785be55476940fcf3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efl-util/efl-util-extraconf.inc b/meta-tizen/recipes-tizen/efl-util/efl-util-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/efl-util/efl-util.inc b/meta-tizen/recipes-tizen/efl-util/efl-util.inc new file mode 100644 index 0000000..4fcdc4a --- /dev/null +++ b/meta-tizen/recipes-tizen/efl-util/efl-util.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "An EFL utility library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics & UI Framework/API" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-ui-efl-util" +PACKAGES += "capi-ui-efl-util-devel" + +capi-ui-efl-util_files = "" +capi-ui-efl-util_files += "capi-ui-efl-util.manifest" +capi-ui-efl-util_files += "/usr/lib/libcapi-ui-efl-util.so.*" + +capi-ui-efl-util-devel_files = "" +capi-ui-efl-util-devel_files += "capi-ui-efl-util.manifest" +capi-ui-efl-util-devel_files += "/usr/include/ui/*.h" +capi-ui-efl-util-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-ui-efl-util-devel_files += "/usr/lib/libcapi-ui-efl-util.so" + +FILES_${PN} = "${capi-ui-efl-util_files}" +FILES_${PN}-devel = "${capi-ui-efl-util-devel_files}" + +PKG_capi-ui-efl-util= "capi-ui-efl-util" +PKG_capi-ui-efl-util-devel= "capi-ui-efl-util-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require efl-util-rdepends.inc +require efl-util-depends.inc +require efl-util-extraconf.inc diff --git a/meta-tizen/recipes-tizen/efreet/efreet-extraconf.inc b/meta-tizen/recipes-tizen/efreet/efreet-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/efreet/efreet-native_git.bb b/meta-tizen/recipes-tizen/efreet/efreet-native_git.bb new file mode 100644 index 0000000..2a84e55 --- /dev/null +++ b/meta-tizen/recipes-tizen/efreet/efreet-native_git.bb @@ -0,0 +1,12 @@ +require efreet.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efreet;protocol=ssh;tag=89d8152c99df44aa2fd1660de0cd8c5239403dbb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/efreet/efreet.inc b/meta-tizen/recipes-tizen/efreet/efreet.inc new file mode 100644 index 0000000..f6d28c7 --- /dev/null +++ b/meta-tizen/recipes-tizen/efreet/efreet.inc @@ -0,0 +1,144 @@ +DESCRIPTION = "FreeDesktop" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by efreet-locale +PROVIDES += "efreet-locale " +RPROVIDES_efreet-locale += "efreet-locale " +# the PROVIDES rules is ignore "efreet-lang-all = 1.7.8" +PROVIDES += "efreet-lang-all" +RPROVIDES_efreet-locale += "efreet-lang-all" + +#PROVIDES by efreet-devel +PROVIDES += "efreet-devel" +RPROVIDES_efreet-devel += "efreet-devel" +RPROVIDES_efreet-devel += "efreet-dev" + +#PROVIDES by efreet +PROVIDES += "efreet" +RPROVIDES_efreet += "efreet" + +RDEPENDS = "" +#RDEPENDS of efreet-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "efreet" + +#RDEPENDS of efreet-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "efreet" + + +DEPENDS = "" +#DEPENDS of efreet +DEPENDS += "pkgconfig(eina)" +DEPENDS += "ecore" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(ecore-file)" +DEPENDS += "pkgconfig(eet)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/efreet.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-icon-cache + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} efreet + + +} + +PACKAGES = "" +PACKAGES += "efreet-locale" +PACKAGES += "efreet-devel" +PACKAGES += "efreet" + +efreet-locale_files = "" + +efreet-devel_files = "" +efreet-devel_files += "efreet.manifest" +efreet-devel_files += "/usr/include/efreet-1/*.h" +efreet-devel_files += "/usr/lib/*.so" +efreet-devel_files += "/usr/lib/pkgconfig/*.pc" + +efreet_files = "" +efreet_files += "efreet.manifest" +efreet_files += "/usr/bin/efreet_*" +efreet_files += "/usr/lib/efreet/*" +efreet_files += "/usr/lib/libefreet*.so.*" +efreet_files += "/usr/share/efreet/*" + +FILES_${PN}-locale = "${efreet-locale_files}" +FILES_${PN}-devel = "${efreet-devel_files}" +FILES_${PN} = "${efreet_files}" + +PKG_efreet-locale= "efreet-locale" +PKG_efreet-devel= "efreet-devel" +PKG_efreet= "efreet" + +require efreet-extraconf.inc diff --git a/meta-tizen/recipes-tizen/efreet/efreet_git.bb b/meta-tizen/recipes-tizen/efreet/efreet_git.bb new file mode 100644 index 0000000..86e7d80 --- /dev/null +++ b/meta-tizen/recipes-tizen/efreet/efreet_git.bb @@ -0,0 +1,8 @@ +require efreet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efreet;protocol=ssh;tag=89d8152c99df44aa2fd1660de0cd8c5239403dbb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eina/eina-extraconf.inc b/meta-tizen/recipes-tizen/eina/eina-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/eina/eina-native_git.bb b/meta-tizen/recipes-tizen/eina/eina-native_git.bb new file mode 100644 index 0000000..8bd0d25 --- /dev/null +++ b/meta-tizen/recipes-tizen/eina/eina-native_git.bb @@ -0,0 +1,12 @@ +require eina.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eina;protocol=ssh;tag=3f86da98d10de2709e7273cd078c21318907163f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eina/eina.inc b/meta-tizen/recipes-tizen/eina/eina.inc new file mode 100644 index 0000000..ddbec4f --- /dev/null +++ b/meta-tizen/recipes-tizen/eina/eina.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Data Type Library" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by eina +PROVIDES += "eina" +RPROVIDES_eina += "eina" + +#PROVIDES by eina-devel +PROVIDES += "eina-devel" +RPROVIDES_eina-devel += "eina-devel" +RPROVIDES_eina-devel += "eina-dev" + +RDEPENDS = "" +#RDEPENDS of eina-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eina" + + +DEPENDS = "" +#DEPENDS of eina +DEPENDS += "doxygen" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/eina.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "eina" +PACKAGES += "eina-devel" + +eina_files = "" +eina_files += "eina.manifest" +eina_files += "/usr/lib/libeina.so.*" + +eina-devel_files = "" +eina-devel_files += "eina.manifest" +eina-devel_files += "/usr/include/eina-1/*.h" +eina-devel_files += "/usr/include/eina-1/eina/*" +eina-devel_files += "/usr/lib/*.so" +eina-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${eina_files}" +FILES_${PN}-devel = "${eina-devel_files}" + +PKG_eina= "eina" +PKG_eina-devel= "eina-devel" + +require eina-extraconf.inc diff --git a/meta-tizen/recipes-tizen/eina/eina_git.bb b/meta-tizen/recipes-tizen/eina/eina_git.bb new file mode 100644 index 0000000..e221c64 --- /dev/null +++ b/meta-tizen/recipes-tizen/eina/eina_git.bb @@ -0,0 +1,8 @@ +require eina.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eina;protocol=ssh;tag=3f86da98d10de2709e7273cd078c21318907163f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eio/eio-extraconf.inc b/meta-tizen/recipes-tizen/eio/eio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/eio/eio-native_git.bb b/meta-tizen/recipes-tizen/eio/eio-native_git.bb new file mode 100644 index 0000000..d98e739 --- /dev/null +++ b/meta-tizen/recipes-tizen/eio/eio-native_git.bb @@ -0,0 +1,12 @@ +require eio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eio;protocol=ssh;tag=67183878bee3c704aa899bd71b4ed5f0ba1f77a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eio/eio.inc b/meta-tizen/recipes-tizen/eio/eio.inc new file mode 100644 index 0000000..77dddc1 --- /dev/null +++ b/meta-tizen/recipes-tizen/eio/eio.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Enlightenment Input/Output Library" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 3-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by eio-devel +PROVIDES += "eio-devel" +RPROVIDES_eio-devel += "eio-devel" +RPROVIDES_eio-devel += "eio-dev" + +#PROVIDES by eio +PROVIDES += "eio" +RPROVIDES_eio += "eio" + +RDEPENDS = "" +#RDEPENDS of eio-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eio" + + +DEPENDS = "" +#DEPENDS of eio +DEPENDS += "ecore" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/eio.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + +} + +PACKAGES = "" +PACKAGES += "eio-devel" +PACKAGES += "eio" + +eio-devel_files = "" +eio-devel_files += "eio.manifest" +eio-devel_files += "/usr/include/eio-1/*" +eio-devel_files += "/usr/lib/*.so" +eio-devel_files += "/usr/lib/pkgconfig/*" + +eio_files = "" +eio_files += "eio.manifest" +eio_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${eio-devel_files}" +FILES_${PN} = "${eio_files}" + +PKG_eio-devel= "eio-devel" +PKG_eio= "eio" + +require eio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/eio/eio_git.bb b/meta-tizen/recipes-tizen/eio/eio_git.bb new file mode 100644 index 0000000..6ed58e9 --- /dev/null +++ b/meta-tizen/recipes-tizen/eio/eio_git.bb @@ -0,0 +1,8 @@ +require eio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eio;protocol=ssh;tag=67183878bee3c704aa899bd71b4ed5f0ba1f77a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eldbus/eldbus-extraconf.inc b/meta-tizen/recipes-tizen/eldbus/eldbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/eldbus/eldbus-native_git.bb b/meta-tizen/recipes-tizen/eldbus/eldbus-native_git.bb new file mode 100644 index 0000000..fd2b9a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/eldbus/eldbus-native_git.bb @@ -0,0 +1,12 @@ +require eldbus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eldbus;protocol=ssh;tag=c67026808d3ab28c85b93306122f623de07dcb7f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/eldbus/eldbus.inc b/meta-tizen/recipes-tizen/eldbus/eldbus.inc new file mode 100644 index 0000000..921d065 --- /dev/null +++ b/meta-tizen/recipes-tizen/eldbus/eldbus.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Easy access to D-Bus from EFL applications" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by eldbus-devel +PROVIDES += "eldbus-devel" +RPROVIDES_eldbus-devel += "eldbus-devel" +RPROVIDES_eldbus-devel += "eldbus-dev" + +#PROVIDES by eldbus +PROVIDES += "eldbus" +RPROVIDES_eldbus += "eldbus" + +RDEPENDS = "" +#RDEPENDS of eldbus-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eldbus" + +#RDEPENDS of eldbus (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of eldbus +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" +DEPENDS += "dbus-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -fvisibility=hidden -fPIC" + export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/eldbus + + + +} + +PACKAGES = "" +PACKAGES += "eldbus-devel" +PACKAGES += "eldbus" + +eldbus-devel_files = "" +eldbus-devel_files += "/usr/lib/*.so" +eldbus-devel_files += "/usr/lib/pkgconfig/*.pc" +eldbus-devel_files += "/usr/include/eldbus*/" + +eldbus_files = "" +eldbus_files += "/usr/lib/*.so.*" +eldbus_files += "/usr/bin/eldbus*" +eldbus_files += "/usr/share/license/eldbus" + +FILES_${PN}-devel = "${eldbus-devel_files}" +FILES_${PN} = "${eldbus_files}" + +PKG_eldbus-devel= "eldbus-devel" +PKG_eldbus= "eldbus" + +require eldbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/eldbus/eldbus_git.bb b/meta-tizen/recipes-tizen/eldbus/eldbus_git.bb new file mode 100644 index 0000000..c2dbcfa --- /dev/null +++ b/meta-tizen/recipes-tizen/eldbus/eldbus_git.bb @@ -0,0 +1,8 @@ +require eldbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/eldbus;protocol=ssh;tag=c67026808d3ab28c85b93306122f623de07dcb7f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc b/meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/elementary/elementary-native_git.bb b/meta-tizen/recipes-tizen/elementary/elementary-native_git.bb new file mode 100644 index 0000000..eb2c639 --- /dev/null +++ b/meta-tizen/recipes-tizen/elementary/elementary-native_git.bb @@ -0,0 +1,12 @@ +require elementary.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/elementary;protocol=ssh;tag=bd60d9d178224af00e19a9712ad7cec545c42aaa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/elementary/elementary.inc b/meta-tizen/recipes-tizen/elementary/elementary.inc new file mode 100644 index 0000000..e7b278b --- /dev/null +++ b/meta-tizen/recipes-tizen/elementary/elementary.inc @@ -0,0 +1,185 @@ +DESCRIPTION = "EFL toolkit for small touchscreens" +HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Elementary" +SECTION = "Graphics/EFL" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by elementary +PROVIDES += "elementary" +RPROVIDES_elementary += "elementary" + +#PROVIDES by elementary-tools +PROVIDES += "elementary-tools" +RPROVIDES_elementary-tools += "elementary-tools" + +#PROVIDES by elementary-devel +PROVIDES += "elementary-devel" +RPROVIDES_elementary-devel += "elementary-devel" +RPROVIDES_elementary-devel += "elementary-dev" + +#PROVIDES by elementary-examples +PROVIDES += "elementary-examples" +RPROVIDES_elementary-examples += "elementary-examples" + +#PROVIDES by elementary-locale +PROVIDES += "elementary-locale " +RPROVIDES_elementary-locale += "elementary-locale " +# the PROVIDES rules is ignore "elementary-lang-all = 1.7.8" +PROVIDES += "elementary-lang-all" +RPROVIDES_elementary-locale += "elementary-lang-all" + +RDEPENDS = "" +#RDEPENDS of elementary-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "elementary" + +#RDEPENDS of elementary-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "elementary" + + +DEPENDS = "" +#DEPENDS of elementary +DEPENDS += "pkgconfig(ecore-wayland)" +DEPENDS += "pkgconfig(emotion)" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "eet" +DEPENDS += "pkgconfig(ecore-fb)" +DEPENDS += "python-devel" +DEPENDS += "pkgconfig(ecore-evas)" +DEPENDS += "pkgconfig(eet)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(ethumb_client)" +DEPENDS += "pkgconfig(ecore-imf)" +DEPENDS += "pkgconfig(ecore-file)" +DEPENDS += "pkgconfig(efreet)" +DEPENDS += "pkgconfig(edbus)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/elementary.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-ecore-wayland \ + --disable-ecore-x \ + --enable-build-examples + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} elementary + + +} + +PACKAGES = "" +PACKAGES += "elementary-locale" +PACKAGES += "elementary" +PACKAGES += "elementary-tools" +PACKAGES += "elementary-devel" +PACKAGES += "elementary-examples" + +elementary-locale_files = "" + +elementary_files = "" +elementary_files += "elementary.manifest" +elementary_files += "/usr/bin/elementary_quicklaunch" +elementary_files += "/usr/bin/elementary_run" +elementary_files += "/usr/lib/edje/*" +elementary_files += "/usr/lib/elementary/modules/*" +elementary_files += "/usr/lib/*.so.*" +elementary_files += "/usr/share/elementary/*" +elementary_files += "/usr/share/icons/elementary.png" + +elementary-tools_files = "" +elementary-tools_files += "/usr/share/applications/*" +elementary-tools_files += "/usr/bin/elementary_config" +elementary-tools_files += "/usr/bin/elementary_test*" + +elementary-devel_files = "" +elementary-devel_files += "elementary.manifest" +elementary-devel_files += "/usr/include/elementary-1/*.h" +elementary-devel_files += "/usr/lib/*.so" +elementary-devel_files += "/usr/lib/pkgconfig/*.pc" + +elementary-examples_files = "" +elementary-examples_files += "/usr/lib/elementary/examples/*" + +FILES_${PN}-locale = "${elementary-locale_files}" +FILES_${PN} = "${elementary_files}" +FILES_${PN}-tools = "${elementary-tools_files}" +FILES_${PN}-devel = "${elementary-devel_files}" +FILES_${PN}-examples = "${elementary-examples_files}" + +PKG_elementary-locale= "elementary-locale" +PKG_elementary= "elementary" +PKG_elementary-tools= "elementary-tools" +PKG_elementary-devel= "elementary-devel" +PKG_elementary-examples= "elementary-examples" + +require elementary-extraconf.inc diff --git a/meta-tizen/recipes-tizen/elementary/elementary_git.bb b/meta-tizen/recipes-tizen/elementary/elementary_git.bb new file mode 100644 index 0000000..0490bf1 --- /dev/null +++ b/meta-tizen/recipes-tizen/elementary/elementary_git.bb @@ -0,0 +1,8 @@ +require elementary.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/elementary;protocol=ssh;tag=bd60d9d178224af00e19a9712ad7cec545c42aaa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/elfutils/elfutils-extraconf.inc b/meta-tizen/recipes-tizen/elfutils/elfutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/elfutils/elfutils.inc b/meta-tizen/recipes-tizen/elfutils/elfutils.inc new file mode 100644 index 0000000..001edd6 --- /dev/null +++ b/meta-tizen/recipes-tizen/elfutils/elfutils.inc @@ -0,0 +1,246 @@ +DESCRIPTION = "Higher-level library to access ELF" +HOMEPAGE = "http://elfutils.fedorahosted.org" +SECTION = "Base/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libasm +PROVIDES += "libasm" +RPROVIDES_libasm += "libasm" + +#PROVIDES by libasm-devel +PROVIDES += "libasm-devel" +RPROVIDES_libasm-devel += "libasm-devel" +RPROVIDES_libasm-devel += "libasm-dev" + +#PROVIDES by libdw-devel +PROVIDES += "libdw-devel" +RPROVIDES_libdw-devel += "libdw-devel" +RPROVIDES_libdw-devel += "libdw-dev" + +#PROVIDES by libebl-devel +PROVIDES += "libebl-devel" +RPROVIDES_libebl-devel += "libebl-devel" +RPROVIDES_libebl-devel += "libebl-dev" + +#PROVIDES by libelf-devel +PROVIDES += "libelf-devel" +RPROVIDES_libelf-devel += "libelf-devel" +RPROVIDES_libelf-devel += "libelf-dev" + +#PROVIDES by elfutils +PROVIDES += "elfutils" +RPROVIDES_elfutils += "elfutils" + +#PROVIDES by libdw +PROVIDES += "libdw" +RPROVIDES_libdw += "libdw" + +#PROVIDES by libelf +PROVIDES += "libelf" +RPROVIDES_libelf += "libelf" + +#PROVIDES by libebl +PROVIDES += "libebl" +RPROVIDES_libebl += "libebl" + +RDEPENDS = "" +#RDEPENDS of libebl-devel (libebl-devel) +RDEPENDS_libebl-devel += "glibc-dev" +RDEPENDS_libebl-devel += "libdw-dev" +RDEPENDS_libebl-devel += "libebl" + +#RDEPENDS of libdw-devel (libdw-devel) +RDEPENDS_libdw-devel += "glibc-dev" +RDEPENDS_libdw-devel += "libdw" +RDEPENDS_libdw-devel += "libelf-dev" + +#RDEPENDS of libelf-devel (libelf-devel) +RDEPENDS_libelf-devel += "glibc-dev" +RDEPENDS_libelf-devel += "libelf" + +#RDEPENDS of libasm-devel (libasm-devel) +RDEPENDS_libasm-devel += "libasm" +RDEPENDS_libasm-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of elfutils +DEPENDS += "zlib-devel" +DEPENDS += "flex" +DEPENDS += "bzip2" +DEPENDS += "xz-devel" +DEPENDS += "automake-native" +DEPENDS += "bison-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n elfutils-0.155 + cp ${S}/packaging/elfutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + #modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "${S}/packaging//elfutils.changes")" + #DATE="\"$(date -d "${modified}" "+%b %e %Y")\"" + #TIME="\"$(date -d "${modified}" "+%R")\"" + #find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --program-prefix=eu- --disable-werror + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + # remove unneeded files + ls -lR ${D}/usr/lib/libelf* + + +} + +PACKAGES = "" +PACKAGES += "libasm" +PACKAGES += "libasm-devel" +PACKAGES += "libdw-devel" +PACKAGES += "libebl-devel" +PACKAGES += "libelf-devel" +PACKAGES += "elfutils" +PACKAGES += "libdw" +PACKAGES += "libelf" +PACKAGES += "libebl" + +libasm_files = "" +libasm_files += "elfutils.manifest" +libasm_files += "LGPL-3.0+ or GPL-2.0 COPYING" +libasm_files += "/usr/lib/libasm.so.*" +libasm_files += "/usr/lib/libasm-0.155.so" + +libasm-devel_files = "" +libasm-devel_files += "elfutils.manifest" +libasm-devel_files += "/usr/lib/libasm.so" +libasm-devel_files += "/usr/lib/libasm.a" +libasm-devel_files += "/usr/include/elfutils" +libasm-devel_files += "/usr/include/elfutils/libasm.h" + +libdw-devel_files = "" +libdw-devel_files += "elfutils.manifest" +libdw-devel_files += "/usr/lib/libdw.a" +libdw-devel_files += "/usr/lib/libdw.so" +libdw-devel_files += "/usr/include/dwarf.h" +libdw-devel_files += "/usr/include/elfutils" +libdw-devel_files += "/usr/include/elfutils/libdw.h" +libdw-devel_files += "/usr/include/elfutils/libdwfl.h" + +libebl-devel_files = "" +libebl-devel_files += "elfutils.manifest" +libebl-devel_files += "/usr/lib/libebl.a" +libebl-devel_files += "/usr/include/elfutils" +libebl-devel_files += "/usr/include/elfutils/libebl.h" + +libelf-devel_files = "" +libelf-devel_files += "elfutils.manifest" +libelf-devel_files += "/usr/lib/libelf.so" +libelf-devel_files += "/usr/lib/libelf.a" +libelf-devel_files += "/usr/include/libelf.h" +libelf-devel_files += "/usr/include/gelf.h" +libelf-devel_files += "/usr/include/nlist.h" +libelf-devel_files += "/usr/include/elfutils" +libelf-devel_files += "/usr/include/elfutils/elf-knowledge.h" +libelf-devel_files += "/usr/include/elfutils/version.h" + +elfutils_files = "" +elfutils_files += "elfutils.manifest" +elfutils_files += "/usr/bin/*" + +libdw_files = "" +libdw_files += "elfutils.manifest" +libdw_files += "LGPL-3.0+ or GPL-2.0 COPYING" +libdw_files += "/usr/lib/libdw.so.*" +libdw_files += "/usr/lib/libdw-0.155.so" + +libelf_files = "" +libelf_files += "elfutils.manifest" +libelf_files += "LGPL-3.0+ or GPL-2.0 COPYING" +libelf_files += "/usr/lib/libelf.so.*" +libelf_files += "/usr/lib/libelf-0.155.so" + +libebl_files = "" +libebl_files += "elfutils.manifest" +libebl_files += "LGPL-3.0+ or GPL-2.0 COPYING" +libebl_files += "/usr/lib/elfutils" + +FILES_libasm = "${libasm_files}" +FILES_libasm-devel = "${libasm-devel_files}" +FILES_libdw-devel = "${libdw-devel_files}" +FILES_libebl-devel = "${libebl-devel_files}" +FILES_libelf-devel = "${libelf-devel_files}" +FILES_${PN} = "${elfutils_files}" +FILES_libdw = "${libdw_files}" +FILES_libelf = "${libelf_files}" +FILES_libebl = "${libebl_files}" + +PKG_libasm= "libasm" +PKG_libasm-devel= "libasm-devel" +PKG_libdw-devel= "libdw-devel" +PKG_libebl-devel= "libebl-devel" +PKG_libelf-devel= "libelf-devel" +PKG_elfutils= "elfutils" +PKG_libdw= "libdw" +PKG_libelf= "libelf" +PKG_libebl= "libebl" + +require elfutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/elm-misc/elm-misc-extraconf.inc b/meta-tizen/recipes-tizen/elm-misc/elm-misc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/elm-misc/elm-misc-native_git.bb b/meta-tizen/recipes-tizen/elm-misc/elm-misc-native_git.bb new file mode 100644 index 0000000..ec5f934 --- /dev/null +++ b/meta-tizen/recipes-tizen/elm-misc/elm-misc-native_git.bb @@ -0,0 +1,12 @@ +require elm-misc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/elm-misc;protocol=ssh;tag=1d95f6c7f4bff23480458490ca9260518294957f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/elm-misc/elm-misc.inc b/meta-tizen/recipes-tizen/elm-misc/elm-misc.inc new file mode 100644 index 0000000..7e677c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/elm-misc/elm-misc.inc @@ -0,0 +1,76 @@ +DESCRIPTION = "Elementary config files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "LGPLv2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by elm-misc +PROVIDES += "elm-misc" +RPROVIDES_elm-misc += "elm-misc" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/elm-misc.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + /bin/mkdir -p ${D}/etc/profile.d + /bin/cp etc/profile.d/* ${D}/etc/profile.d/ + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/elm-misc + + +} + +PACKAGES = "" +PACKAGES += "elm-misc" + +elm-misc_files = "" +elm-misc_files += "elm-misc.manifest" +elm-misc_files += "/etc/profile.d/*" +elm-misc_files += "/usr/share/license/elm-misc" + +FILES_${PN} = "${elm-misc_files}" + +PKG_elm-misc= "elm-misc" + +require elm-misc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/elm-misc/elm-misc_git.bb b/meta-tizen/recipes-tizen/elm-misc/elm-misc_git.bb new file mode 100644 index 0000000..53a83c4 --- /dev/null +++ b/meta-tizen/recipes-tizen/elm-misc/elm-misc_git.bb @@ -0,0 +1,8 @@ +require elm-misc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/elm-misc;protocol=ssh;tag=1d95f6c7f4bff23480458490ca9260518294957f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/email-service/email-service-extraconf.inc b/meta-tizen/recipes-tizen/email-service/email-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/email-service/email-service-native_git.bb b/meta-tizen/recipes-tizen/email-service/email-service-native_git.bb new file mode 100644 index 0000000..c5f2029 --- /dev/null +++ b/meta-tizen/recipes-tizen/email-service/email-service-native_git.bb @@ -0,0 +1,12 @@ +require email-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/messaging/email-service;protocol=ssh;tag=7e2c216892ac4d1ae8b4ec838f61f6213099b6e8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/email-service/email-service.inc b/meta-tizen/recipes-tizen/email-service/email-service.inc new file mode 100644 index 0000000..9875732 --- /dev/null +++ b/meta-tizen/recipes-tizen/email-service/email-service.inc @@ -0,0 +1,181 @@ +DESCRIPTION = "E-mail Framework Middleware package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Messaging/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by email-service +PROVIDES += "email-service" +RPROVIDES_email-service += "email-service" + +#PROVIDES by email-service-devel +PROVIDES += "email-service-devel" +RPROVIDES_email-service-devel += "email-service-devel" +RPROVIDES_email-service-devel += "email-service-dev" + +#PROVIDES by email-service-tests +PROVIDES += "email-service-tests" +RPROVIDES_email-service-tests += "email-service-tests" + +RDEPENDS = "" +#RDEPENDS of email-service (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/usr/bin/sqlite3" +RDEPENDS_${PN} += "connman" +RDEPENDS_${PN} += "webkit2-efl" + +#RDEPENDS of email-service-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "email-service" + +#RDEPENDS of email-service-tests (${PN}-tests) +RDEPENDS_${PN}-tests += "email-service" + + +DEPENDS = "" +#DEPENDS of email-service +DEPENDS += "pkgconfig(vconf-internal-keys)" +DEPENDS += "pkgconfig(msg-service)" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "pkgconfig(libwbxml2)" +DEPENDS += "contacts-service" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "cmake" +DEPENDS += "drm-client" +DEPENDS += "pkgconfig(accounts-svc)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(gthread-2.0)" +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "badge" +DEPENDS += "pkgconfig(mm-player)" +DEPENDS += "common" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(uw-imap-toolkit)" +DEPENDS += "pkgconfig(secure-storage)" +DEPENDS += "pkgconfig(mm-session)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(feedback)" +DEPENDS += "pkgconfig(cert-svc)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(notification)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/email-service.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + export CFLAGS="${CFLAGS} -fPIC -Wall -g -fvisibility=hidden" + export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g -fvisibility=hidden" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/license + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/user/tizen-middleware.target.wants + install -m 0644 ${S}/packaging/email.service ${D}/usr/lib/systemd/user/ + ln -sf ../email.service ${D}/usr/lib/systemd/user/tizen-middleware.target.wants/ + + + +} + +PACKAGES = "" +PACKAGES += "email-service" +PACKAGES += "email-service-devel" +PACKAGES += "email-service-tests" + +email-service_files = "" +email-service_files += "email-service.manifest" +email-service_files += "/usr/bin/email-service" +email-service_files += "/opt/usr/data/email/res/*" +email-service_files += "/usr/lib/lib*.so.*" +email-service_files += "/usr/lib/systemd/user/email.service" +email-service_files += "/usr/lib/systemd/user/tizen-middleware.target.wants/email.service" +email-service_files += "/usr/share/dbus-1/services/email-service.service" +email-service_files += "/usr/share/license/email-service/LICENSE" +email-service_files += "/opt/etc/smack/accesses.d/email-service.rule" + +email-service-devel_files = "" +email-service-devel_files += "email-service.manifest" +email-service-devel_files += "/usr/include/email-service/*.h" +email-service-devel_files += "/usr/lib/lib*.so" +email-service-devel_files += "/usr/lib/pkgconfig/*.pc" + +email-service-tests_files = "" +email-service-tests_files += "email-service.manifest" +email-service-tests_files += "/usr/bin/email-test-app" + +FILES_${PN} = "${email-service_files}" +FILES_${PN}-devel = "${email-service-devel_files}" +FILES_${PN}-tests = "${email-service-tests_files}" + +PKG_email-service= "email-service" +PKG_email-service-devel= "email-service-devel" +PKG_email-service-tests= "email-service-tests" + +require email-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/email-service/email-service_git.bb b/meta-tizen/recipes-tizen/email-service/email-service_git.bb new file mode 100644 index 0000000..74d15a8 --- /dev/null +++ b/meta-tizen/recipes-tizen/email-service/email-service_git.bb @@ -0,0 +1,8 @@ +require email-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/messaging/email-service;protocol=ssh;tag=7e2c216892ac4d1ae8b4ec838f61f6213099b6e8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/email/email-extraconf.inc b/meta-tizen/recipes-tizen/email/email-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/email/email.inc b/meta-tizen/recipes-tizen/email/email.inc new file mode 100644 index 0000000..b5f4a28 --- /dev/null +++ b/meta-tizen/recipes-tizen/email/email.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Email library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Messaging/API" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-messaging-email" +PACKAGES += "capi-messaging-email-devel" + +capi-messaging-email_files = "" +capi-messaging-email_files += "capi-messaging-email.manifest" +capi-messaging-email_files += "/usr/lib/libcapi-messaging-email.so.*" + +capi-messaging-email-devel_files = "" +capi-messaging-email-devel_files += "capi-messaging-email.manifest" +capi-messaging-email-devel_files += "/usr/include/messaging/*.h" +capi-messaging-email-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-messaging-email-devel_files += "/usr/lib/libcapi-messaging-email.so" + +FILES_${PN} = "${capi-messaging-email_files}" +FILES_${PN}-devel = "${capi-messaging-email-devel_files}" + +PKG_capi-messaging-email= "capi-messaging-email" +PKG_capi-messaging-email-devel= "capi-messaging-email-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require email-rdepends.inc +require email-depends.inc +require email-extraconf.inc diff --git a/meta-tizen/recipes-tizen/embryo/embryo-extraconf.inc b/meta-tizen/recipes-tizen/embryo/embryo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/embryo/embryo-native_git.bb b/meta-tizen/recipes-tizen/embryo/embryo-native_git.bb new file mode 100644 index 0000000..4af1565 --- /dev/null +++ b/meta-tizen/recipes-tizen/embryo/embryo-native_git.bb @@ -0,0 +1,12 @@ +require embryo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/embryo;protocol=ssh;tag=ad9729e9dd342aec310c6a00c79a25bc86ccb4d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/embryo/embryo.inc b/meta-tizen/recipes-tizen/embryo/embryo.inc new file mode 100644 index 0000000..dad09b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/embryo/embryo.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "A small virtual machine engine (in a library) and bytecode compiler" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "Mixed BSD 2/3-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by embryo +PROVIDES += "embryo" +RPROVIDES_embryo += "embryo" +# the PROVIDES rules is ignore "embryo-bin " +PROVIDES += "embryo-bin" +RPROVIDES_embryo += "embryo-bin" + +#PROVIDES by embryo-devel +PROVIDES += "embryo-devel" +RPROVIDES_embryo-devel += "embryo-devel" +RPROVIDES_embryo-devel += "embryo-dev" + +RDEPENDS = "" +#RDEPENDS of embryo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "embryo" + + +DEPENDS = "" +#DEPENDS of embryo +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/embryo.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "embryo" +PACKAGES += "embryo-devel" + +embryo_files = "" +embryo_files += "embryo.manifest" +embryo_files += "/usr/bin/embryo_cc" +embryo_files += "/usr/lib/libembryo.so.*" +embryo_files += "/usr/share/embryo/include/default.inc" + +embryo-devel_files = "" +embryo-devel_files += "embryo.manifest" +embryo-devel_files += "/usr/include/embryo-1/*.h" +embryo-devel_files += "/usr/lib/*.so" +embryo-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${embryo_files}" +FILES_${PN}-devel = "${embryo-devel_files}" + +PKG_embryo= "embryo" +PKG_embryo-devel= "embryo-devel" + +require embryo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/embryo/embryo_git.bb b/meta-tizen/recipes-tizen/embryo/embryo_git.bb new file mode 100644 index 0000000..6bfa03a --- /dev/null +++ b/meta-tizen/recipes-tizen/embryo/embryo_git.bb @@ -0,0 +1,8 @@ +require embryo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/embryo;protocol=ssh;tag=ad9729e9dd342aec310c6a00c79a25bc86ccb4d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/emotion/emotion-extraconf.inc b/meta-tizen/recipes-tizen/emotion/emotion-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/emotion/emotion-native_git.bb b/meta-tizen/recipes-tizen/emotion/emotion-native_git.bb new file mode 100644 index 0000000..12f95dd --- /dev/null +++ b/meta-tizen/recipes-tizen/emotion/emotion-native_git.bb @@ -0,0 +1,12 @@ +require emotion.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/emotion;protocol=ssh;tag=6cd996cd2bfaddc03253285a742d94ec14a2c300;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/emotion/emotion.inc b/meta-tizen/recipes-tizen/emotion/emotion.inc new file mode 100644 index 0000000..f38af45 --- /dev/null +++ b/meta-tizen/recipes-tizen/emotion/emotion.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Emotion" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 3-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by emotion +PROVIDES += "emotion" +RPROVIDES_emotion += "emotion" + +#PROVIDES by emotion-devel +PROVIDES += "emotion-devel" +RPROVIDES_emotion-devel += "emotion-devel" +RPROVIDES_emotion-devel += "emotion-dev" + +RDEPENDS = "" +#RDEPENDS of emotion-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "emotion" + + +DEPENDS = "" +#DEPENDS of emotion +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +DEPENDS += "pkgconfig(ecore-fb)" +DEPENDS += "pkgconfig(ecore-evas)" +DEPENDS += "pkgconfig(evas-fb)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(eio)" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/emotion.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-gstreamer + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "emotion" +PACKAGES += "emotion-devel" + +emotion_files = "" +emotion_files += "emotion.manifest" +emotion_files += "/usr/bin/*" +emotion_files += "/usr/lib/*.so.*" +emotion_files += "/usr/lib/edje/*" +emotion_files += "/usr/lib/emotion/*" +emotion_files += "/usr/share/emotion/*" + +emotion-devel_files = "" +emotion-devel_files += "emotion.manifest" +emotion-devel_files += "/usr/include/emotion-1/*" +emotion-devel_files += "/usr/lib/*.so" +emotion-devel_files += "/usr/lib/pkgconfig/*" + +FILES_${PN} = "${emotion_files}" +FILES_${PN}-devel = "${emotion-devel_files}" + +PKG_emotion= "emotion" +PKG_emotion-devel= "emotion-devel" + +require emotion-extraconf.inc diff --git a/meta-tizen/recipes-tizen/emotion/emotion_git.bb b/meta-tizen/recipes-tizen/emotion/emotion_git.bb new file mode 100644 index 0000000..34788e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/emotion/emotion_git.bb @@ -0,0 +1,8 @@ +require emotion.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/emotion;protocol=ssh;tag=6cd996cd2bfaddc03253285a742d94ec14a2c300;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/emulator-macros/emulator-macros-extraconf.inc b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/emulator-macros/emulator-macros-native_git.bb b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros-native_git.bb new file mode 100644 index 0000000..2cf25d5 --- /dev/null +++ b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros-native_git.bb @@ -0,0 +1,12 @@ +require emulator-macros.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/emulator-macros;protocol=ssh;tag=cfa44635164265eb9a06a9ec13642aadfa3d5b69;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/emulator-macros/emulator-macros.inc b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros.inc new file mode 100644 index 0000000..396acd9 --- /dev/null +++ b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros.inc @@ -0,0 +1,66 @@ +DESCRIPTION = "macros for emulator build" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by emulator-macros +PROVIDES += "emulator-macros" +RPROVIDES_emulator-macros += "emulator-macros" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/etc/rpm + install -m 644 ${S}/packaging/macros.emulator ${D}/etc/rpm + + +} + +PACKAGES = "" +PACKAGES += "emulator-macros" + +emulator-macros_files = "" +emulator-macros_files += "/etc/rpm/macros.emulator" + +FILES_${PN} = "${emulator-macros_files}" + +PKG_emulator-macros= "emulator-macros" + +require emulator-macros-extraconf.inc diff --git a/meta-tizen/recipes-tizen/emulator-macros/emulator-macros_git.bb b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros_git.bb new file mode 100644 index 0000000..d9c7301 --- /dev/null +++ b/meta-tizen/recipes-tizen/emulator-macros/emulator-macros_git.bb @@ -0,0 +1,8 @@ +require emulator-macros.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/emulator-macros;protocol=ssh;tag=cfa44635164265eb9a06a9ec13642aadfa3d5b69;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/enchant/enchant-extraconf.inc b/meta-tizen/recipes-tizen/enchant/enchant-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/enchant/enchant-native_git.bb b/meta-tizen/recipes-tizen/enchant/enchant-native_git.bb new file mode 100644 index 0000000..7e5c88c --- /dev/null +++ b/meta-tizen/recipes-tizen/enchant/enchant-native_git.bb @@ -0,0 +1,12 @@ +require enchant.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/enchant;protocol=ssh;tag=f7290c9bbb4eeca3770e6da076bbb62cb270d9a0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/enchant/enchant.inc b/meta-tizen/recipes-tizen/enchant/enchant.inc new file mode 100644 index 0000000..ef13b69 --- /dev/null +++ b/meta-tizen/recipes-tizen/enchant/enchant.inc @@ -0,0 +1,177 @@ +DESCRIPTION = "Generic Spell Checking Library" +HOMEPAGE = "http://www.abisource.com/" +SECTION = "Productivity/Text/Spell" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by enchant-tools +PROVIDES += "enchant-tools" +RPROVIDES_enchant-tools += "enchant-tools" + +#PROVIDES by enchant-devel +PROVIDES += "enchant-devel" +RPROVIDES_enchant-devel += "enchant-devel" +RPROVIDES_enchant-devel += "enchant-dev" + +#PROVIDES by enchant +PROVIDES += "enchant" +RPROVIDES_enchant += "enchant" + +#PROVIDES by libenchant +PROVIDES += "libenchant" +RPROVIDES_libenchant += "libenchant" +# the PROVIDES rules is ignore "enchant = 1.6.0" +PROVIDES += "enchant" +RPROVIDES_libenchant += "enchant" + +#PROVIDES by enchant-zemberek +PROVIDES += "enchant-zemberek" +RPROVIDES_enchant-zemberek += "enchant-zemberek" +# the PROVIDES rules is ignore "locale(enchant:az) " +PROVIDES += "locale(enchant:az)" +RPROVIDES_enchant-zemberek += "locale(enchant:az)" +# the PROVIDES rules is ignore "locale(enchant:tk) " +PROVIDES += "locale(enchant:tk)" +RPROVIDES_enchant-zemberek += "locale(enchant:tk)" +# the PROVIDES rules is ignore "locale(enchant:tr) " +PROVIDES += "locale(enchant:tr)" +RPROVIDES_enchant-zemberek += "locale(enchant:tr)" +# the PROVIDES rules is ignore "locale(enchant:tt) " +PROVIDES += "locale(enchant:tt)" +RPROVIDES_enchant-zemberek += "locale(enchant:tt)" + +RDEPENDS = "" +#RDEPENDS of enchant-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(glib-2.0)" +RDEPENDS_${PN}-devel += "enchant" +RDEPENDS_${PN}-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of enchant +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "hunspell-devel" +DEPENDS += "aspell" +DEPENDS += "gcc-c++" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/enchant.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic \ + --disable-static \ + --enable-zemberek \ + --with-myspell-dir=/usr/share/myspell \ + --disable-voikko + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "enchant-tools" +PACKAGES += "enchant-devel" +PACKAGES += "libenchant" +PACKAGES += "enchant-zemberek" + +enchant-tools_files = "" +enchant-tools_files += "enchant.manifest" +enchant-tools_files += "/usr/bin/enchant" +enchant-tools_files += "/usr/bin/enchant-lsmod" +enchant-tools_files += "/usr/share/man/man1/enchant.1*" + +enchant-devel_files = "" +enchant-devel_files += "enchant.manifest" +enchant-devel_files += "/usr/include/*" +enchant-devel_files += "/usr/lib/*.so" +enchant-devel_files += "/usr/lib/pkgconfig/*.pc" + +libenchant_files = "" +libenchant_files += "enchant.manifest" +libenchant_files += "COPYING.LIB" +libenchant_files += "/usr/lib/*.so.*" +libenchant_files += "/usr/share/enchant" +libenchant_files += "/usr/lib/enchant" +libenchant_files += "/usr/lib/enchant/libenchant_aspell.so" +libenchant_files += "/usr/lib/enchant/libenchant_ispell.so" +libenchant_files += "/usr/lib/enchant/libenchant_myspell.so" + +enchant-zemberek_files = "" +enchant-zemberek_files += "enchant.manifest" +enchant-zemberek_files += "/usr/lib/enchant/libenchant_zemberek.so" + +FILES_${PN}-tools = "${enchant-tools_files}" +FILES_${PN}-devel = "${enchant-devel_files}" +FILES_lib${PN} = "${libenchant_files}" +FILES_${PN}-zemberek = "${enchant-zemberek_files}" + +PKG_enchant-tools= "enchant-tools" +PKG_enchant-devel= "enchant-devel" +PKG_libenchant= "libenchant" +PKG_enchant-zemberek= "enchant-zemberek" + +require enchant-extraconf.inc diff --git a/meta-tizen/recipes-tizen/enchant/enchant_git.bb b/meta-tizen/recipes-tizen/enchant/enchant_git.bb new file mode 100644 index 0000000..fd67b54 --- /dev/null +++ b/meta-tizen/recipes-tizen/enchant/enchant_git.bb @@ -0,0 +1,8 @@ +require enchant.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/enchant;protocol=ssh;tag=f7290c9bbb4eeca3770e6da076bbb62cb270d9a0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/enlightenment/enlightenment-extraconf.inc b/meta-tizen/recipes-tizen/enlightenment/enlightenment-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/enlightenment/enlightenment.inc b/meta-tizen/recipes-tizen/enlightenment/enlightenment.inc new file mode 100644 index 0000000..dd09ad8 --- /dev/null +++ b/meta-tizen/recipes-tizen/enlightenment/enlightenment.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "The Enlightenment window manager" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "enlightenment-locale" +PACKAGES += "enlightenment" +PACKAGES += "enlightenment-devel" + +enlightenment-locale_files = "" + +enlightenment_files = "" +enlightenment_files += "enlightenment.manifest" +enlightenment_files += "/etc/enlightenment/sysactions.conf" +enlightenment_files += "/usr/bin/enlightenment*" +enlightenment_files += "/usr/lib/enlightenment/*" +enlightenment_files += "/usr/share/enlightenment/*" +enlightenment_files += "/usr/share/xsessions/enlightenment.desktop" +enlightenment_files += "/etc/xdg/menus/enlightenment.menu" +enlightenment_files += "/usr/share/applications/enlightenment_filemanager.desktop" + +enlightenment-devel_files = "" +enlightenment-devel_files += "enlightenment.manifest" +enlightenment-devel_files += "/usr/include/enlightenment/*" +enlightenment-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN}-locale = "${enlightenment-locale_files}" +FILES_${PN} = "${enlightenment_files}" +FILES_${PN}-devel = "${enlightenment-devel_files}" + +PKG_enlightenment-locale= "enlightenment-locale" +PKG_enlightenment= "enlightenment" +PKG_enlightenment-devel= "enlightenment-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require enlightenment-rdepends.inc +require enlightenment-depends.inc +require enlightenment-extraconf.inc diff --git a/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-extraconf.inc b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-native_git.bb b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-native_git.bb new file mode 100644 index 0000000..6f802b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-native_git.bb @@ -0,0 +1,12 @@ +require epson-inkjet-printer-escpr.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/epson-inkjet-printer-escpr;protocol=ssh;tag=9b22142658537888edbf61a547e8401fad1b1a57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.inc b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.inc new file mode 100644 index 0000000..483c706 --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Epson Inkjet Printer Driver (ESC/P-R) for Linux" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "GPL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by epson-inkjet-printer-escpr +PROVIDES += "epson-inkjet-printer-escpr" +RPROVIDES_epson-inkjet-printer-escpr += "epson-inkjet-printer-escpr" + +RDEPENDS = "" +#RDEPENDS of epson-inkjet-printer-escpr (${PN}) +RDEPENDS_${PN} += "cups" + + +DEPENDS = "" +#DEPENDS of epson-inkjet-printer-escpr +DEPENDS += "cups" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/epson-inkjet-printer-escpr.manifest . + cat ${S}/packaging/tizen_bugfix.patch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/tizen_add_job_media_progress.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + cat ${S}/packaging/tizen_report_page_info.patch | patch -s -p1 --fuzz=2 + #patch2 -p1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-cupsfilterdir=/usr/lib/cups/filter \ + --with-cupsppddir=/opt/etc/cups/ppd/Epson \ + --disable-static + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${RPM_BUILD_ROOT} + make install-strip DESTDIR=${RPM_BUILD_ROOT} + + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/epson-inkjet-printer-escpr + + +} + +PACKAGES = "" +PACKAGES += "epson-inkjet-printer-escpr" + +epson-inkjet-printer-escpr_files = "" +epson-inkjet-printer-escpr_files += "epson-inkjet-printer-escpr.manifest" +epson-inkjet-printer-escpr_files += "/usr/share/license/epson-inkjet-printer-escpr" +epson-inkjet-printer-escpr_files += "/usr/lib/cups/filter/epson-escpr" +epson-inkjet-printer-escpr_files += "/usr/lib/cups/filter/epson-escpr-wrapper" + +FILES_${PN} = "${epson-inkjet-printer-escpr_files}" + +PKG_epson-inkjet-printer-escpr= "epson-inkjet-printer-escpr" + +require epson-inkjet-printer-escpr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr_git.bb b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr_git.bb new file mode 100644 index 0000000..0563756 --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr_git.bb @@ -0,0 +1,8 @@ +require epson-inkjet-printer-escpr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/epson-inkjet-printer-escpr;protocol=ssh;tag=9b22142658537888edbf61a547e8401fad1b1a57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-extraconf.inc b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-native_git.bb b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-native_git.bb new file mode 100644 index 0000000..abb2212 --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage-native_git.bb @@ -0,0 +1,12 @@ +require epson-laser-printer-escpage.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/epson-laser-printer-escpage;protocol=ssh;tag=1f33dcf8e17f2cc65eeb5a9f885da88e69345893;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage.inc b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage.inc new file mode 100644 index 0000000..e6a177a --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Epson Laser Printer Driver (ESC/Page) for Linux" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "LGPL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by epson-laser-printer-escpage +PROVIDES += "epson-laser-printer-escpage" +RPROVIDES_epson-laser-printer-escpage += "epson-laser-printer-escpage" + +RDEPENDS = "" +#RDEPENDS of epson-laser-printer-escpage (${PN}) +RDEPENDS_${PN} += "cups" + + +DEPENDS = "" +#DEPENDS of epson-laser-printer-escpage +DEPENDS += "cups" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/epson-laser-printer-escpage.manifest . + cat ${S}/packaging/tizen_disable_unused_value.patch | patch -s -p0 --fuzz=2 + #patch0 + cat ${S}/packaging/tizen_add_job_media_progress.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + cat ${S}/packaging/tizen_report_page_info.patch | patch -s -p1 --fuzz=2 + #patch2 -p1 + cat ${S}/packaging/tizen_fix_ignore_sigpipe.patch | patch -s -p1 --fuzz=2 + #patch3 -p1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-cupsfilterdir=/usr/lib/cups/filter \ + --with-cupsppddir=/opt/etc/cups/ppd/Epson + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${RPM_BUILD_ROOT} + make install-strip DESTDIR=${RPM_BUILD_ROOT} + + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/epson-laser-printer-escpage + + +} + +PACKAGES = "" +PACKAGES += "epson-laser-printer-escpage" + +epson-laser-printer-escpage_files = "" +epson-laser-printer-escpage_files += "epson-laser-printer-escpage.manifest" +epson-laser-printer-escpage_files += "/usr/share/license/epson-laser-printer-escpage" +epson-laser-printer-escpage_files += "/usr/lib/cups/filter/*" + +FILES_${PN} = "${epson-laser-printer-escpage_files}" + +PKG_epson-laser-printer-escpage= "epson-laser-printer-escpage" + +require epson-laser-printer-escpage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage_git.bb b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage_git.bb new file mode 100644 index 0000000..7afc2ac --- /dev/null +++ b/meta-tizen/recipes-tizen/epson-laser-printer-escpage/epson-laser-printer-escpage_git.bb @@ -0,0 +1,8 @@ +require epson-laser-printer-escpage.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/epson-laser-printer-escpage;protocol=ssh;tag=1f33dcf8e17f2cc65eeb5a9f885da88e69345893;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ethumb/ethumb-extraconf.inc b/meta-tizen/recipes-tizen/ethumb/ethumb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ethumb/ethumb-native_git.bb b/meta-tizen/recipes-tizen/ethumb/ethumb-native_git.bb new file mode 100644 index 0000000..097039d --- /dev/null +++ b/meta-tizen/recipes-tizen/ethumb/ethumb-native_git.bb @@ -0,0 +1,12 @@ +require ethumb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ethumb;protocol=ssh;tag=b6e90eaf24d6e70daf3f1ad81e6161f768705d63;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ethumb/ethumb.inc b/meta-tizen/recipes-tizen/ethumb/ethumb.inc new file mode 100644 index 0000000..8f48285 --- /dev/null +++ b/meta-tizen/recipes-tizen/ethumb/ethumb.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Thumbnail Generator Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics/EFL" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ethumb +PROVIDES += "ethumb" +RPROVIDES_ethumb += "ethumb" + +#PROVIDES by ethumb-devel +PROVIDES += "ethumb-devel" +RPROVIDES_ethumb-devel += "ethumb-devel" +RPROVIDES_ethumb-devel += "ethumb-dev" + +RDEPENDS = "" +#RDEPENDS of ethumb-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ethumb" + + +DEPENDS = "" +#DEPENDS of ethumb +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(edbus)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ethumb.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "ethumb" +PACKAGES += "ethumb-devel" + +ethumb_files = "" +ethumb_files += "ethumb.manifest" +ethumb_files += "/usr/lib/libethumb*.so.*" +ethumb_files += "/usr/share/dbus-1/services/org.enlightenment.Ethumb.service" +ethumb_files += "/usr/share/ethumb/data/frames/default.edj" +ethumb_files += "/usr/bin/ethumb" +ethumb_files += "/usr/bin/ethumbd" +ethumb_files += "/usr/bin/ethumbd_client" +ethumb_files += "/usr/libexec/ethumbd_slave" + +ethumb-devel_files = "" +ethumb-devel_files += "ethumb.manifest" +ethumb-devel_files += "/usr/include/ethumb-1/*.h" +ethumb-devel_files += "/usr/lib/libethumb*.so" +ethumb-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${ethumb_files}" +FILES_${PN}-devel = "${ethumb-devel_files}" + +PKG_ethumb= "ethumb" +PKG_ethumb-devel= "ethumb-devel" + +require ethumb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ethumb/ethumb_git.bb b/meta-tizen/recipes-tizen/ethumb/ethumb_git.bb new file mode 100644 index 0000000..8d6eee8 --- /dev/null +++ b/meta-tizen/recipes-tizen/ethumb/ethumb_git.bb @@ -0,0 +1,8 @@ +require ethumb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ethumb;protocol=ssh;tag=b6e90eaf24d6e70daf3f1ad81e6161f768705d63;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/evas/evas-extraconf.inc b/meta-tizen/recipes-tizen/evas/evas-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/evas/evas-native_git.bb b/meta-tizen/recipes-tizen/evas/evas-native_git.bb new file mode 100644 index 0000000..f31921d --- /dev/null +++ b/meta-tizen/recipes-tizen/evas/evas-native_git.bb @@ -0,0 +1,12 @@ +require evas.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/evas;protocol=ssh;tag=249fccf3d182c88b025d60d5d0a9a66fae0e8b7e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/evas/evas.inc b/meta-tizen/recipes-tizen/evas/evas.inc new file mode 100644 index 0000000..215b7a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/evas/evas.inc @@ -0,0 +1,161 @@ +DESCRIPTION = "Multi-platform Canvas Library" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by evas +PROVIDES += "evas" +RPROVIDES_evas += "evas" + +#PROVIDES by evas-examples +PROVIDES += "evas-examples" +RPROVIDES_evas-examples += "evas-examples" + +#PROVIDES by evas-devel +PROVIDES += "evas-devel" +RPROVIDES_evas-devel += "evas-devel" +RPROVIDES_evas-devel += "evas-dev" + +RDEPENDS = "" +#RDEPENDS of evas-examples (${PN}-examples) +RDEPENDS_${PN}-examples += "evas-dev" + +#RDEPENDS of evas-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "evas" + + +DEPENDS = "" +#DEPENDS of evas +DEPENDS += "pkgconfig(xkbcommon)" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(harfbuzz)" +DEPENDS += "pkgconfig(fontconfig)" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "libjpeg-devel" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(wayland-cursor)" +DEPENDS += "pkgconfig(freetype2)" +DEPENDS += "pkgconfig(glesv2)" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "pkgconfig(pixman-1)" +DEPENDS += "pkgconfig(wayland-egl)" +DEPENDS += "pkgconfig(ice)" +DEPENDS += "pkgconfig(fribidi)" +DEPENDS += "pkgconfig(egl)" +DEPENDS += "pkgconfig(libtiff-4)" +DEPENDS += "pkgconfig(eina)" +DEPENDS += "giflib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/evas.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-pthreads \ + --without-x \ + --disable-software-xcb \ + --disable-software-xlib \ + --enable-gl-flavor-gles \ + --enable-gles-variety-sgx \ + --enable-wayland-egl \ + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "evas" +PACKAGES += "evas-devel" +PACKAGES += "evas-examples" + +evas_files = "" +evas_files += "evas.manifest" +evas_files += "/usr/bin/evas_cserve*" +evas_files += "/usr/lib/evas/modules/*/*/*/module.so" +evas_files += "/usr/lib/libevas.so.*" +evas_files += "/usr/lib/evas/cserve2" +evas_files += "/usr/libexec/*" +evas_files += "/usr/share/evas/checkme" + +evas-devel_files = "" +evas-devel_files += "evas.manifest" +evas-devel_files += "/usr/include/evas-1/*.h" +evas-devel_files += "/usr/lib/*.so" +evas-devel_files += "/usr/lib/pkgconfig/*.pc" + +evas-examples_files = "" +evas-examples_files += "evas.manifest" +evas-examples_files += "/usr/share/evas/examples/*" + +FILES_${PN} = "${evas_files}" +FILES_${PN}-devel = "${evas-devel_files}" +FILES_${PN}-examples = "${evas-examples_files}" + +PKG_evas= "evas" +PKG_evas-devel= "evas-devel" +PKG_evas-examples= "evas-examples" + +require evas-extraconf.inc diff --git a/meta-tizen/recipes-tizen/evas/evas_git.bb b/meta-tizen/recipes-tizen/evas/evas_git.bb new file mode 100644 index 0000000..98ef275 --- /dev/null +++ b/meta-tizen/recipes-tizen/evas/evas_git.bb @@ -0,0 +1,8 @@ +require evas.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/evas;protocol=ssh;tag=249fccf3d182c88b025d60d5d0a9a66fae0e8b7e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc b/meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server.inc b/meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server.inc new file mode 100644 index 0000000..a034b36 --- /dev/null +++ b/meta-tizen/recipes-tizen/evolution-data-server/evolution-data-server.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Evolution Data Server" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "typelib-EBook" +PACKAGES += "evolution-data-server" +PACKAGES += "typelib-EDataServer" +PACKAGES += "libedata-cal" +PACKAGES += "libecal" +PACKAGES += "libcamel" +PACKAGES += "libedataserver" +PACKAGES += "evolution-data-server-locale" +PACKAGES += "libebook-contacts" +PACKAGES += "evolution-data-server-devel" +PACKAGES += "libebook" +PACKAGES += "libedata-book" +PACKAGES += "libebackend" +PACKAGES += "typelib-EBookContacts" + +typelib-EBook_files = "" +typelib-EBook_files += "/usr/lib/girepository-1.0/EBook-1.2.typelib" + +evolution-data-server_files = "" +evolution-data-server_files += "/usr/share/GConf/gsettings/evolution-data-server.convert" +evolution-data-server_files += "/usr/share/GConf/gsettings/libedataserver.convert" +evolution-data-server_files += "/usr/share/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml" +evolution-data-server_files += "/usr/share/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml" +evolution-data-server_files += "/usr/share/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml" +evolution-data-server_files += "/usr/share/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml" +evolution-data-server_files += "/usr/share/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml" +evolution-data-server_files += "/usr/share/pixmaps/evolution-data-server/" +evolution-data-server_files += "/usr/share/dbus-1/services/org.gnome.evolution.dataserver.*.service" +evolution-data-server_files += "/usr/lib/evolution-data-server/" +evolution-data-server_files += "/usr/libexec/evolution-data-server/" + +typelib-EDataServer_files = "" +typelib-EDataServer_files += "/usr/lib/girepository-1.0/EDataServer-1.2.typelib" + +libedata-cal_files = "" +libedata-cal_files += "/usr/lib/libedata-cal-1.2.so.20*" + +libecal_files = "" +libecal_files += "/usr/lib/libecal-1.2.so.15*" + +libcamel_files = "" +libcamel_files += "/usr/lib/libcamel-1.2.so.43*" + +libedataserver_files = "" +libedataserver_files += "/usr/lib/libedataserver-1.2.so.17*" + +evolution-data-server-locale_files = "" + +libebook-contacts_files = "" +libebook-contacts_files += "/usr/lib/libebook-contacts-1.2.so.0*" + +evolution-data-server-devel_files = "" +evolution-data-server-devel_files += "/usr/include/evolution-data-server/" +evolution-data-server-devel_files += "/usr/lib/*.so" +evolution-data-server-devel_files += "/usr/lib/pkgconfig/*.pc" +evolution-data-server-devel_files += "/usr/share/gir-1.0/*.gir" +evolution-data-server-devel_files += "/usr/share/vala" +evolution-data-server-devel_files += "/usr/share/vala/vapi" +evolution-data-server-devel_files += "/usr/share/vala/vapi/*.deps" +evolution-data-server-devel_files += "/usr/share/vala/vapi/*.vapi" + +libebook_files = "" +libebook_files += "/usr/lib/libebook-1.2.so.14*" + +libedata-book_files = "" +libedata-book_files += "/usr/lib/libedata-book-1.2.so.17*" + +libebackend_files = "" +libebackend_files += "/usr/lib/libebackend-1.2.so.6*" + +typelib-EBookContacts_files = "" +typelib-EBookContacts_files += "/usr/lib/girepository-1.0/EBookContacts-1.2.typelib" + +FILES_typelib-EBook = "${typelib-EBook_files}" +FILES_${PN} = "${evolution-data-server_files}" +FILES_typelib-EDataServer = "${typelib-EDataServer_files}" +FILES_libedata-cal = "${libedata-cal_files}" +FILES_libecal = "${libecal_files}" +FILES_libcamel = "${libcamel_files}" +FILES_libedataserver = "${libedataserver_files}" +FILES_${PN}-locale = "${evolution-data-server-locale_files}" +FILES_libebook-contacts = "${libebook-contacts_files}" +FILES_${PN}-devel = "${evolution-data-server-devel_files}" +FILES_libebook = "${libebook_files}" +FILES_libedata-book = "${libedata-book_files}" +FILES_libebackend = "${libebackend_files}" +FILES_typelib-EBookContacts = "${typelib-EBookContacts_files}" + +PKG_typelib-EBook= "typelib-EBook" +PKG_evolution-data-server= "evolution-data-server" +PKG_typelib-EDataServer= "typelib-EDataServer" +PKG_libedata-cal= "libedata-cal" +PKG_libecal= "libecal" +PKG_libcamel= "libcamel" +PKG_libedataserver= "libedataserver" +PKG_evolution-data-server-locale= "evolution-data-server-locale" +PKG_libebook-contacts= "libebook-contacts" +PKG_evolution-data-server-devel= "evolution-data-server-devel" +PKG_libebook= "libebook" +PKG_libedata-book= "libedata-book" +PKG_libebackend= "libebackend" +PKG_typelib-EBookContacts= "typelib-EBookContacts" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require evolution-data-server-rdepends.inc +require evolution-data-server-depends.inc +require evolution-data-server-extraconf.inc diff --git a/meta-tizen/recipes-tizen/expat/expat-extraconf.inc b/meta-tizen/recipes-tizen/expat/expat-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/expat/expat-native_git.bb b/meta-tizen/recipes-tizen/expat/expat-native_git.bb new file mode 100644 index 0000000..dd2e093 --- /dev/null +++ b/meta-tizen/recipes-tizen/expat/expat-native_git.bb @@ -0,0 +1,12 @@ +require expat.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/expat;protocol=ssh;tag=98c98e8c26c0b67d5a32bbd3f34d513aa2763049;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/expat/expat.inc b/meta-tizen/recipes-tizen/expat/expat.inc new file mode 100644 index 0000000..7f3c50e --- /dev/null +++ b/meta-tizen/recipes-tizen/expat/expat.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "XML Parser Toolkit" +HOMEPAGE = "http://expat.sourceforge.net/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libexpat +PROVIDES += "libexpat" +RPROVIDES_libexpat += "libexpat" + +#PROVIDES by expat +PROVIDES += "expat" +RPROVIDES_expat += "expat" + +#PROVIDES by libexpat-devel +PROVIDES += "libexpat-devel" +RPROVIDES_libexpat-devel += "libexpat-devel" +RPROVIDES_libexpat-devel += "libexpat-dev" +# the PROVIDES rules is ignore "expat-devel " +PROVIDES += "expat-devel" +RPROVIDES_libexpat-devel += "expat-devel" +RPROVIDES_libexpat-devel += "expat-dev" + +RDEPENDS = "" +#RDEPENDS of libexpat-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "libexpat" + + +DEPENDS = "" +#DEPENDS of expat +DEPENDS += "libtool-cross" +DEPENDS += "gcc-c++" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/expat.manifest . + + rm -f examples/*.dsp + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm doc/xmlwf.1 + + +} + +PACKAGES = "" +PACKAGES += "libexpat" +PACKAGES += "expat" +PACKAGES += "libexpat-devel" + +libexpat_files = "" +libexpat_files += "expat.manifest" +libexpat_files += "/usr/lib/libexpat.so.*" + +expat_files = "" +expat_files += "expat.manifest" +expat_files += "/usr/share/man/man?/*" +expat_files += "/usr/bin/xmlwf" + +libexpat-devel_files = "" +libexpat-devel_files += "expat.manifest" +libexpat-devel_files += "/usr/include/*" +libexpat-devel_files += "/usr/lib/libexpat.so" +libexpat-devel_files += "/usr/lib/pkgconfig/expat.pc" + +FILES_lib${PN} = "${libexpat_files}" +FILES_${PN} = "${expat_files}" +FILES_lib${PN}-devel = "${libexpat-devel_files}" + +PKG_libexpat= "libexpat" +PKG_expat= "expat" +PKG_libexpat-devel= "libexpat-devel" + +require expat-extraconf.inc diff --git a/meta-tizen/recipes-tizen/expect/expect-extraconf.inc b/meta-tizen/recipes-tizen/expect/expect-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/expect/expect-native_git.bb b/meta-tizen/recipes-tizen/expect/expect-native_git.bb new file mode 100644 index 0000000..0e32bec --- /dev/null +++ b/meta-tizen/recipes-tizen/expect/expect-native_git.bb @@ -0,0 +1,12 @@ +require expect.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/expect;protocol=ssh;tag=579d1c972c9603cfc5bdfad2a1397ae1ba4cbb2d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/expect/expect.inc b/meta-tizen/recipes-tizen/expect/expect.inc new file mode 100644 index 0000000..b3aab69 --- /dev/null +++ b/meta-tizen/recipes-tizen/expect/expect.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "A Tool for Automating Interactive Programs" +HOMEPAGE = "http://expect.nist.gov" +SECTION = "Development/Languages/Tcl" +LICENSE = "SUSE-Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by expect-devel +PROVIDES += "expect-devel" +RPROVIDES_expect-devel += "expect-devel" +RPROVIDES_expect-devel += "expect-dev" + +#PROVIDES by expect +PROVIDES += "expect" +RPROVIDES_expect += "expect" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of expect +DEPENDS += "tcl-devel" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n expect5.45 + cp ${S}/packaging/expect.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-tcl=/usr/lib \ + --with-tk=no_tk \ + --with-tclinclude=/usr/include \ + --enable-shared + make -j16 all pkglibdir=/usr/lib/tcl/expect5.45 + + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # set the right path to the expect binary... + sed -i \ + -e '1s,^#![^ ]*expectk,#!/usr/bin/wish\npackage require Expect,' \ + -e '1s,^#![^ ]*expect,#!/usr/bin/expect,' \ + example/* + make install DESTDIR=$RPM_BUILD_ROOT pkglibdir=/usr/lib/tcl/expect5.45 + # Remove some executables and manpages we don't want to ship + rm $RPM_BUILD_ROOT/usr/bin/*passwd + rm $RPM_BUILD_ROOT/usr/share/man/*/*passwd* + + +} + +PACKAGES = "" +PACKAGES += "expect-devel" +PACKAGES += "expect" + +expect-devel_files = "" +expect-devel_files += "expect.manifest" +expect-devel_files += "/usr/include/*" +expect-devel_files += "/usr/share/man/man3/*" + +expect_files = "" +expect_files += "expect.manifest" +expect_files += "/usr/bin/*" +expect_files += "/usr/lib/tcl/*" +expect_files += "/usr/lib/lib*.so" +expect_files += "/usr/share/man/man1/*" + +FILES_${PN}-devel = "${expect-devel_files}" +FILES_${PN} = "${expect_files}" + +PKG_expect-devel= "expect-devel" +PKG_expect= "expect" + +require expect-extraconf.inc diff --git a/meta-tizen/recipes-tizen/expect/expect_git.bb b/meta-tizen/recipes-tizen/expect/expect_git.bb new file mode 100644 index 0000000..4739be9 --- /dev/null +++ b/meta-tizen/recipes-tizen/expect/expect_git.bb @@ -0,0 +1,8 @@ +require expect.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/expect;protocol=ssh;tag=579d1c972c9603cfc5bdfad2a1397ae1ba4cbb2d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/expedite/expedite-extraconf.inc b/meta-tizen/recipes-tizen/expedite/expedite-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/expedite/expedite.inc b/meta-tizen/recipes-tizen/expedite/expedite.inc new file mode 100644 index 0000000..2739701 --- /dev/null +++ b/meta-tizen/recipes-tizen/expedite/expedite.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Evas benchmark/test suite" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "expedite" + +expedite_files = "" +expedite_files += "expedite.manifest" +expedite_files += "/usr/bin/*" +expedite_files += "/usr/share/expedite/*" + +FILES_${PN} = "${expedite_files}" + +PKG_expedite= "expedite" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require expedite-rdepends.inc +require expedite-depends.inc +require expedite-extraconf.inc diff --git a/meta-tizen/recipes-tizen/favorites/favorites-extraconf.inc b/meta-tizen/recipes-tizen/favorites/favorites-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/favorites/favorites-native_git.bb b/meta-tizen/recipes-tizen/favorites/favorites-native_git.bb new file mode 100644 index 0000000..74a0f77 --- /dev/null +++ b/meta-tizen/recipes-tizen/favorites/favorites-native_git.bb @@ -0,0 +1,12 @@ +require favorites.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/favorites;protocol=ssh;tag=b7d3b209e89a68b973cb03f8bf1ea4bc06fff99e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/favorites/favorites.inc b/meta-tizen/recipes-tizen/favorites/favorites.inc new file mode 100644 index 0000000..7817dfc --- /dev/null +++ b/meta-tizen/recipes-tizen/favorites/favorites.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Internet bookmark and history API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Web Framework/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-web-favorites +PROVIDES += "capi-web-favorites" +RPROVIDES_capi-web-favorites += "capi-web-favorites" + +#PROVIDES by capi-web-favorites-devel +PROVIDES += "capi-web-favorites-devel" +RPROVIDES_capi-web-favorites-devel += "capi-web-favorites-devel" +RPROVIDES_capi-web-favorites-devel += "capi-web-favorites-dev" + +RDEPENDS = "" +#RDEPENDS of capi-web-favorites (capi-web-${PN}) +RDEPENDS_capi-web-${PN} += "/sbin/ldconfig" + +#RDEPENDS of capi-web-favorites-devel (capi-web-${PN}-devel) +RDEPENDS_capi-web-${PN}-devel += "capi-web-favorites" + + +DEPENDS = "" +#DEPENDS of capi-web-favorites +DEPENDS += "common" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(evas)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-web-favorites.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-web-favorites" +PACKAGES += "capi-web-favorites-devel" + +capi-web-favorites_files = "" +capi-web-favorites_files += "capi-web-favorites.manifest" +capi-web-favorites_files += "/usr/lib/libcapi-web-favorites.so" + +capi-web-favorites-devel_files = "" +capi-web-favorites-devel_files += "capi-web-favorites.manifest" +capi-web-favorites-devel_files += "/usr/include/web/*.h" +capi-web-favorites-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${capi-web-favorites_files}" +FILES_${PN}-devel = "${capi-web-favorites-devel_files}" + +PKG_capi-web-favorites= "capi-web-favorites" +PKG_capi-web-favorites-devel= "capi-web-favorites-devel" + +require favorites-extraconf.inc diff --git a/meta-tizen/recipes-tizen/favorites/favorites_git.bb b/meta-tizen/recipes-tizen/favorites/favorites_git.bb new file mode 100644 index 0000000..a34604f --- /dev/null +++ b/meta-tizen/recipes-tizen/favorites/favorites_git.bb @@ -0,0 +1,8 @@ +require favorites.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/favorites;protocol=ssh;tag=b7d3b209e89a68b973cb03f8bf1ea4bc06fff99e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fdupes/fdupes-extraconf.inc b/meta-tizen/recipes-tizen/fdupes/fdupes-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fdupes/fdupes-native_git.bb b/meta-tizen/recipes-tizen/fdupes/fdupes-native_git.bb new file mode 100644 index 0000000..da335a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/fdupes/fdupes-native_git.bb @@ -0,0 +1,12 @@ +require fdupes.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fdupes;protocol=ssh;tag=4c6078349ea0047962571e4bf73a669a6af8eea7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fdupes/fdupes.inc b/meta-tizen/recipes-tizen/fdupes/fdupes.inc new file mode 100644 index 0000000..d6fd737 --- /dev/null +++ b/meta-tizen/recipes-tizen/fdupes/fdupes.inc @@ -0,0 +1,75 @@ +DESCRIPTION = "Identifying or deleting duplicate files" +HOMEPAGE = "http://premium.caribe.net/~adrian2/fdupes.html" +SECTION = "Productivity/Archiving/Compression" +LICENSE = "X11/MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fdupes +PROVIDES += "fdupes" +RPROVIDES_fdupes += "fdupes" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fdupes.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -D -m755 fdupes ${D}/usr/bin/fdupes + install -D -m644 fdupes.1 ${D}/usr/share/man/man1/fdupes.1 + install -D -m644 ${S}/packaging/macros.fdupes ${D}/etc/rpm/macros.fdupes + + +} + +PACKAGES = "" +PACKAGES += "fdupes" + +fdupes_files = "" +fdupes_files += "fdupes.manifest" +fdupes_files += "CHANGES" +fdupes_files += "/usr/bin/fdupes" +fdupes_files += "/usr/share/man/*/*" +fdupes_files += "/etc/rpm" + +FILES_${PN} = "${fdupes_files}" + +PKG_fdupes= "fdupes" + +require fdupes-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fdupes/fdupes_git.bb b/meta-tizen/recipes-tizen/fdupes/fdupes_git.bb new file mode 100644 index 0000000..075ddfa --- /dev/null +++ b/meta-tizen/recipes-tizen/fdupes/fdupes_git.bb @@ -0,0 +1,8 @@ +require fdupes.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fdupes;protocol=ssh;tag=4c6078349ea0047962571e4bf73a669a6af8eea7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/file/file-extraconf.inc b/meta-tizen/recipes-tizen/file/file-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/file/file.inc b/meta-tizen/recipes-tizen/file/file.inc new file mode 100644 index 0000000..d94fb0a --- /dev/null +++ b/meta-tizen/recipes-tizen/file/file.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "A Tool to Determine File Types" +HOMEPAGE = "http://www.darwinsys.com/file/" +SECTION = "System/Base" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by file-devel +PROVIDES += "file-devel" +RPROVIDES_file-devel += "file-devel" +RPROVIDES_file-devel += "file-dev" +# the PROVIDES rules is ignore "file:/usr/include/magic.h " +PROVIDES += "file:/usr/include/magic.h" +RPROVIDES_file-devel += "file:/usr/include/magic.h" + +#PROVIDES by libmagic-data +PROVIDES += "libmagic-data" +RPROVIDES_libmagic-data += "libmagic-data" + +#PROVIDES by libmagic +PROVIDES += "libmagic" +RPROVIDES_libmagic += "libmagic" +# the PROVIDES rules is ignore "libfile " +PROVIDES += "libfile" +RPROVIDES_libmagic += "libfile" + +#PROVIDES by file +PROVIDES += "file" +RPROVIDES_file += "file" + +RDEPENDS = "" +#RDEPENDS of file-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libmagic" + +#RDEPENDS of libmagic (libmagic) +RDEPENDS_libmagic += "libmagic-data" + + +DEPENDS = "" +#DEPENDS of file +DEPENDS += "zlib-devel" +DEPENDS += "libtool-cross" +DEPENDS += "findutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n file-5.11 + ### PREP BEGIN ### + cp ${S}/packaging/file.manifest . + ### PREP END ### + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ### BUILD BEGIN ### + export LANG=POSIX + export LC_ALL=POSIX + rm -f Magdir/*,v Magdir/*~ + rm -f ltcf-c.sh ltconfig ltmain.sh + autoreconf -fiv + CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-silent-rules --datadir=/usr/share/misc --disable-static --with-pic --enable-fsect-man5 + oe_runmake -j16 pkgdatadir='$(datadir)' + ### BUILD END ### + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + export LANG=POSIX + export LC_ALL=POSIX + mkdir ${D}/etc + make DESTDIR=${D} install pkgdatadir='$(datadir)' + rm -vf ${D}/etc/magic + echo '# Localstuff: file(1) magic(5) for locally observed files' > ${D}/etc/magic + echo '# global magic file is /usr/share/misc/magic(.mgc)' >> ${D}/etc/magic + + # Check out that the binary does not bail out: + LD_LIBRARY_PATH=${D}/usr/lib + export LD_LIBRARY_PATH + find ${D}/usr/bin/file /usr/bin/ /lib/ /usr/lib/ | \ + xargs ${D}/usr/bin/file -m ${D}/usr/share/misc/magic + unset LD_LIBRARY_PATH + /bin/rm -f ${D}/usr/lib/*.la + + +} + +PACKAGES = "" +PACKAGES += "file-devel" +PACKAGES += "libmagic-data" +PACKAGES += "file" +PACKAGES += "libmagic" + +file-devel_files = "" +file-devel_files += "file.manifest" +file-devel_files += "/usr/lib/lib*.so" +file-devel_files += "/usr/include/magic.h" +file-devel_files += "/usr/share/man/man3/libmagic.3.gz" + +libmagic-data_files = "" +libmagic-data_files += "file.manifest" +libmagic-data_files += "/etc/magic" +libmagic-data_files += "/usr/share/misc/magic.mgc" +libmagic-data_files += "/usr/share/man/man5/magic.5.gz" + +file_files = "" +file_files += "file.manifest" +file_files += "/usr/share/man/man1/file.1.gz" + +libmagic_files = "" +libmagic_files += "file.manifest" +libmagic_files += "/usr/lib/lib*.so.*" + +FILES_${PN}-devel = "${file-devel_files}" +FILES_libmagic-data = "${libmagic-data_files}" +FILES_${PN} = "${file_files}" +FILES_libmagic = "${libmagic_files}" + +PKG_file-devel= "file-devel" +PKG_libmagic-data= "libmagic-data" +PKG_file= "file" +PKG_libmagic= "libmagic" + +require file-extraconf.inc diff --git a/meta-tizen/recipes-tizen/filesystem/filesystem-extraconf.inc b/meta-tizen/recipes-tizen/filesystem/filesystem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/filesystem/filesystem-native_git.bb b/meta-tizen/recipes-tizen/filesystem/filesystem-native_git.bb new file mode 100644 index 0000000..a89c779 --- /dev/null +++ b/meta-tizen/recipes-tizen/filesystem/filesystem-native_git.bb @@ -0,0 +1,12 @@ +require filesystem.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/filesystem;protocol=ssh;tag=4b4d6ad94e7560fd21adfa8fe27173fa8efd1c0d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/filesystem/filesystem.inc b/meta-tizen/recipes-tizen/filesystem/filesystem.inc new file mode 100644 index 0000000..988ff02 --- /dev/null +++ b/meta-tizen/recipes-tizen/filesystem/filesystem.inc @@ -0,0 +1,198 @@ +DESCRIPTION = "The basic directory layout for a Linux system" +HOMEPAGE = "https://fedorahosted.org/filesystem" +SECTION = "Base/Configuration" +LICENSE = "Public Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by filesystem +PROVIDES += "filesystem" +RPROVIDES_filesystem += "filesystem" + +RDEPENDS = "" +#RDEPENDS of filesystem (${PN}) +RDEPENDS_${PN} += "setup" + + +DEPENDS = "" + +do_patch() { + rm -f $RPM_BUILD_DIR/filelist + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + function create_dir () { + local MODE=$1 + case "$MODE" in + \#*) return ;; + esac + local OWNR=$2 + local GRUP=$3 + local NAME=$4 + local XTRA=$5 + local BDIR=`dirname $NAME` + test -d "$RPM_BUILD_ROOT/$NAME" && { echo "dir $NAME does already exist" ; echo "input out of sequence ?" ; exit 1 ; } + test -n "$BDIR" -a ! -d $RPM_BUILD_ROOT$BDIR && create_dir 0755 root root $BDIR + mkdir -m $MODE $RPM_BUILD_ROOT/$NAME + echo "$XTRA%dir %attr($MODE,$OWNR,$GRUP) $NAME" >> $RPM_BUILD_DIR/filelist + } + + cd ${D} + + mkdir -p boot dev \ + etc/{X11/{applnk,fontpath.d},xdg/autostart,ld.so.conf.d,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \ + home media mnt opt/home/{app,developer} proc root run/lock srv sys tmp \ + usr/{bin,etc,games,include,lib/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,lib,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11},src,src/kernels,src/debug} \ + var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp} \ + opt/{dbspace,usr/dbspace} \ + opt/usr/{media,share} \ + usr/apps + + ln -snf ../var/tmp usr/tmp + ln -snf spool/mail var/mail + ln -snf usr/bin bin + ln -snf usr/sbin sbin + ln -snf usr/lib lib + ln -snf usr/lib lib + + # Create the locale directories: + while read LANG ; do + echo "%lang(${LANG}) %ghost %config(missingok) /usr/share/locale/${LANG}" >>$RPM_BUILD_DIR/filelist + create_dir 0755 root root /usr/share/locale/$LANG/LC_MESSAGES + create_dir 0755 root root /usr/share/help/$LANG + done < ${S}/packaging/languages + # Create the locale directories for man: + while read LANG ; do + create_dir 0755 root root /usr/share/man/$LANG + for sec in 1 2 3 4 5 6 7 8 9 n; do + create_dir 0755 root root /usr/share/man/$LANG/man$sec + ##"%lang(${LANG}) %ghost %config(missingok)" + done + done < ${S}/packaging/languages.man + + + +} + +PACKAGES = "" +PACKAGES += "filesystem" + +filesystem_files = "" +#Remove rpm attribut "%attr(555,root,root)" +filesystem_files += "" +filesystem_files += "/bin" +filesystem_files += "/dev" +filesystem_files += "/etc" +filesystem_files += "/etc/X11" +filesystem_files += "/etc/xdg" +filesystem_files += "/etc/opt" +filesystem_files += "/etc/pm" +filesystem_files += "/etc/xinetd.d" +filesystem_files += "/etc/skel" +filesystem_files += "/etc/sysconfig" +filesystem_files += "/etc/pki" +filesystem_files += "/home" +filesystem_files += "/lib" +filesystem_files += "/lib" +filesystem_files += "/media" +filesystem_files += "/mnt" +filesystem_files += "/opt" +#Remove rpm attribut "%attr(755,root,root)" +filesystem_files += "/opt/dbspace" +#Remove rpm attribut "%attr(755,root,root)" +filesystem_files += "/opt/usr" +#Remove rpm attribut "%attr(755,root,app)" +filesystem_files += "/opt/usr/dbspace" +#Remove rpm attribut "%attr(755,app,app)" +filesystem_files += "/opt/usr/media" +#Remove rpm attribut "%attr(755,app,app)" +filesystem_files += "/opt/usr/share" +filesystem_files += "/run" +filesystem_files += "/sbin" +filesystem_files += "/srv" +filesystem_files += "/sys" +filesystem_files += "/usr" +filesystem_files += "/usr/etc" +filesystem_files += "/usr/games" +filesystem_files += "/usr/include" +filesystem_files += "/usr/libexec" +filesystem_files += "/usr/local" +filesystem_files += "/usr/share" +filesystem_files += "/usr/share/aclocal" +filesystem_files += "/usr/share/applications" +filesystem_files += "/usr/share/help/C" +filesystem_files += "/usr/share/augeas" +filesystem_files += "/usr/share/backgrounds" +filesystem_files += "/usr/share/desktop-directories" +filesystem_files += "/usr/share/dict" +filesystem_files += "/usr/share/doc" +filesystem_files += "/usr/share/games" +filesystem_files += "/usr/share/ghostscript" +filesystem_files += "/usr/share/gnome" +filesystem_files += "/usr/share/icons" +filesystem_files += "/usr/share/idl" +filesystem_files += "/usr/share/info" +filesystem_files += "/usr/share/locale" +filesystem_files += "/usr/share/man" +filesystem_files += "/usr/share/mime-info" +filesystem_files += "/usr/share/misc" +filesystem_files += "/usr/share/omf" +filesystem_files += "/usr/share/pixmaps" +filesystem_files += "/usr/share/sounds" +filesystem_files += "/usr/share/themes" +filesystem_files += "/usr/share/xsessions" +filesystem_files += "/usr/share/X11" +filesystem_files += "/usr/src" +filesystem_files += "/usr/tmp" +filesystem_files += "/var" +filesystem_files += "/var/adm" +filesystem_files += "/var/cache" +filesystem_files += "/var/db" +filesystem_files += "/var/empty" +filesystem_files += "/var/games" +filesystem_files += "/var/gopher" +filesystem_files += "/var/lib" +filesystem_files += "/var/local" +filesystem_files += "/var/log" +filesystem_files += "/var/mail" +filesystem_files += "/var/nis" +filesystem_files += "/var/opt" +filesystem_files += "/var/preserve" +filesystem_files += "/var/spool" +filesystem_files += "/var/yp" + +FILES_${PN} = "${filesystem_files}" + +PKG_filesystem= "filesystem" + +require filesystem-extraconf.inc diff --git a/meta-tizen/recipes-tizen/filesystem/filesystem_git.bb b/meta-tizen/recipes-tizen/filesystem/filesystem_git.bb new file mode 100644 index 0000000..fa724b4 --- /dev/null +++ b/meta-tizen/recipes-tizen/filesystem/filesystem_git.bb @@ -0,0 +1,8 @@ +require filesystem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/filesystem;protocol=ssh;tag=4b4d6ad94e7560fd21adfa8fe27173fa8efd1c0d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/findutils/findutils-extraconf.inc b/meta-tizen/recipes-tizen/findutils/findutils-extraconf.inc new file mode 100644 index 0000000..3b7afbf --- /dev/null +++ b/meta-tizen/recipes-tizen/findutils/findutils-extraconf.inc @@ -0,0 +1,5 @@ +SRC_URI += "file://findutils_fix_doc.patch " + +do_patch_append () { + cat ${WORKDIR}/findutils_fix_doc.patch | patch -p1 -b +} diff --git a/meta-tizen/recipes-tizen/findutils/findutils.inc b/meta-tizen/recipes-tizen/findutils/findutils.inc new file mode 100644 index 0000000..3857300 --- /dev/null +++ b/meta-tizen/recipes-tizen/findutils/findutils.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "The GNU versions of find utilities (find and xargs)" +HOMEPAGE = "http://www.gnu.org/software/findutils/" +SECTION = "Base/Tools" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by findutils-docs +PROVIDES += "findutils-docs " +RPROVIDES_findutils-docs += "findutils-docs " + +#PROVIDES by findutils-locale +PROVIDES += "findutils-locale " +RPROVIDES_findutils-locale += "findutils-locale " +# the PROVIDES rules is ignore "findutils-lang-all = 4.5.10" +PROVIDES += "findutils-lang-all" +RPROVIDES_findutils-locale += "findutils-lang-all" + +#PROVIDES by findutils +PROVIDES += "findutils" +RPROVIDES_findutils += "findutils" + +#PROVIDES by findutils-locate +PROVIDES += "findutils-locate" +RPROVIDES_findutils-locate += "findutils-locate" +# the PROVIDES rules is ignore "findutils:/usr/bin/locate " +PROVIDES += "findutils:/usr/bin/locate" +RPROVIDES_findutils-locate += "findutils:/usr/bin/locate" + +RDEPENDS = "" +#RDEPENDS of findutils-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "findutils" + +#RDEPENDS of findutils-locate (${PN}-locate) +RDEPENDS_${PN}-locate += "findutils" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/findutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib/find \ + --localstatedir=/var/lib \ + --without-included-regex \ + --without-fts \ + --enable-d_type-optimisation + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -D -m 644 ${S}/packaging/sysconfig.locate $RPM_BUILD_ROOT/etc/sysconfig/locate + rm -f $RPM_BUILD_ROOT/usr/bin/oldfind + rm -f $RPM_BUILD_ROOT/usr/bin/ftsfind + rm -f $RPM_BUILD_ROOT/usr/share/info/find-maint* + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} findutils + + + +} + +PACKAGES = "" +PACKAGES += "findutils-docs" +PACKAGES += "findutils-locate" +PACKAGES += "findutils" +PACKAGES += "findutils-locale" + +findutils-docs_files = "" +findutils-docs_files += "/usr/share/info" +findutils-docs_files += "/usr/share/man" + +findutils-locate_files = "" +findutils-locate_files += "findutils.manifest" +findutils-locate_files += "/usr/bin/locate" +findutils-locate_files += "/usr/bin/updatedb" +findutils-locate_files += "/usr/lib/find" +findutils-locate_files += "/etc/sysconfig/locate" + +findutils_files = "" +findutils_files += "findutils.manifest" +findutils_files += "/usr/bin/find" +findutils_files += "/usr/bin/xargs" + +findutils-locale_files = "" + +FILES_${PN}-docs = "${findutils-docs_files}" +FILES_${PN}-locate = "${findutils-locate_files}" +FILES_${PN} = "${findutils_files}" +FILES_${PN}-locale = "${findutils-locale_files}" + +PKG_findutils-docs= "findutils-docs" +PKG_findutils-locate= "findutils-locate" +PKG_findutils= "findutils" +PKG_findutils-locale= "findutils-locale" + +require findutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/findutils/findutils/findutils_fix_doc.patch b/meta-tizen/recipes-tizen/findutils/findutils/findutils_fix_doc.patch new file mode 100644 index 0000000..7dc8aac --- /dev/null +++ b/meta-tizen/recipes-tizen/findutils/findutils/findutils_fix_doc.patch @@ -0,0 +1,76 @@ +Fix documentation build errors + +This fixes the following errors building the findutils documentation: +find-maint.texi:45: misplaced { +find-maint.texi:45: misplaced } +find-maint.texi:236: warning: node next `Make the Compiler Find the Bugs' in menu `The File System Is Being Modified' and in sectioning `Factor Out Repeated Code' differ +find-maint.texi:335: warning: node `Debugging is For Users Too' is next for `Factor Out Repeated Code' in sectioning but not in menu +find-maint.texi:335: warning: node prev `Factor Out Repeated Code' in menu `Debugging is For Users Too' and in sectioning `Make the Compiler Find the Bugs' differ +find-maint.texi:378: warning: node next `Debugging is For Users Too' in menu `Factor Out Repeated Code' and in sectioning `Don't Trust the File System Contents' differ +find-maint.texi:378: warning: node prev `Debugging is For Users Too' in menu `Don't Trust the File System Contents' and in sectioning `Factor Out Repeated Code' differ +find-maint.texi:392: warning: node next `Don't Trust the File System Contents' in menu `Debugging is For Users Too' and in sectioning `The File System Is Being Modified' differ +find-maint.texi:392: warning: node prev `Don't Trust the File System Contents' in menu `The File System Is Being Modified' and in sectioning `Debugging is For Users Too' differ +find-maint.texi:417: warning: node `Don't Trust the File System Contents' is next for `The File System Is Being Modified' in menu but not in sectioning +find-maint.texi:417: warning: node prev `The File System Is Being Modified' in menu `Make the Compiler Find the Bugs' and in sectioning `Don't Trust the File System Contents' differ +find.texi:53: misplaced { +find.texi:53: misplaced } +find.texi:1862: warning: node `Formatting Flags' is next for `Time Directives' in menu but not in sectioning +find.texi:1975: warning: node `Formatting Flags' is next for `Combined Time Formats' in sectioning but not in menu +find.texi:2004: warning: node prev `Formatting Flags' in menu `Time Directives' and in sectioning `Combined Time Formats' differ +find.texi:2004: warning: node up `Formatting Flags' in menu `Format Directives' and in sectioning `Time Formats' differ +find.texi:1893: node `Time Formats' lacks menu item for `Formatting Flags' despite being its Up target + +Upstream-Status: Backport +Signed-off-by: Jonathan Liu + +--- a/doc/find-maint.texi ++++ b/doc/find-maint.texi +@@ -42,7 +42,7 @@ Free Documentation License''. + + @page + @vskip 0pt plus 1filll +-@insertcopying{} ++@insertcopying + @end titlepage + + @contents +@@ -227,10 +227,10 @@ circumstances. + + @menu + * Make the Compiler Find the Bugs:: ++* Factor Out Repeated Code:: + * The File System Is Being Modified:: + * Don't Trust the File System Contents:: + * Debugging is For Users Too:: +-* Factor Out Repeated Code:: + @end menu + + @node Make the Compiler Find the Bugs +--- a/doc/find.texi ++++ b/doc/find.texi +@@ -50,7 +50,7 @@ Texts. A copy of the license is included in the section entitled + + @page + @vskip 0pt plus 1filll +-@insertcopying{} ++@insertcopying + @end titlepage + + @contents +@@ -1665,6 +1665,7 @@ no output is ever sent to it. + * Escapes:: + * Format Directives:: + * Time Formats:: ++* Formatting Flags:: + @end menu + + @node Escapes +@@ -2002,7 +2002,7 @@ seconds field includes a fractional part. + @end table + + @node Formatting Flags +-@subsubsection Formatting Flags ++@subsection Formatting Flags + + The @samp{%m} and @samp{%d} directives support the @samp{#}, @samp{0} + and @samp{+} flags, but the other directives do not, even if they diff --git a/meta-tizen/recipes-tizen/fixesproto/fixesproto-extraconf.inc b/meta-tizen/recipes-tizen/fixesproto/fixesproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fixesproto/fixesproto-native_git.bb b/meta-tizen/recipes-tizen/fixesproto/fixesproto-native_git.bb new file mode 100644 index 0000000..4ad5236 --- /dev/null +++ b/meta-tizen/recipes-tizen/fixesproto/fixesproto-native_git.bb @@ -0,0 +1,12 @@ +require fixesproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fixesproto;protocol=ssh;tag=f5b3e23ce67b02f6bdcaba8c94fb947df3b44d27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fixesproto/fixesproto.inc b/meta-tizen/recipes-tizen/fixesproto/fixesproto.inc new file mode 100644 index 0000000..318c98a --- /dev/null +++ b/meta-tizen/recipes-tizen/fixesproto/fixesproto.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fixesproto +PROVIDES += "fixesproto" +RPROVIDES_fixesproto += "fixesproto" + +RDEPENDS = "" +#RDEPENDS of fixesproto (${PN}) +RDEPENDS_${PN} += "xextproto" + + +DEPENDS = "" +#DEPENDS of fixesproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fixesproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/fixesproto + rm -rf ${D}/usr/share/doc/fixesproto-5.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "fixesproto" + +fixesproto_files = "" +fixesproto_files += "fixesproto.manifest" +fixesproto_files += "/usr/include/X11/extensions/*.h" +fixesproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${fixesproto_files}" + +PKG_fixesproto= "fixesproto" + +require fixesproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fixesproto/fixesproto_git.bb b/meta-tizen/recipes-tizen/fixesproto/fixesproto_git.bb new file mode 100644 index 0000000..57412e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/fixesproto/fixesproto_git.bb @@ -0,0 +1,8 @@ +require fixesproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fixesproto;protocol=ssh;tag=f5b3e23ce67b02f6bdcaba8c94fb947df3b44d27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/flac/flac-extraconf.inc b/meta-tizen/recipes-tizen/flac/flac-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/flac/flac-native_git.bb b/meta-tizen/recipes-tizen/flac/flac-native_git.bb new file mode 100644 index 0000000..6a5f341 --- /dev/null +++ b/meta-tizen/recipes-tizen/flac/flac-native_git.bb @@ -0,0 +1,12 @@ +require flac.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/flac;protocol=ssh;tag=cc1d2e5db80c2c5a607176c4dcb5895000d7b5f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/flac/flac.inc b/meta-tizen/recipes-tizen/flac/flac.inc new file mode 100644 index 0000000..843122d --- /dev/null +++ b/meta-tizen/recipes-tizen/flac/flac.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Free Lossless Audio Codec" +HOMEPAGE = "http://flac.sourceforge.net/" +SECTION = "Multimedia/Audio" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libflac++ +PROVIDES += "libflac++" +RPROVIDES_libflac++ += "libflac++" + +#PROVIDES by flac-devel +PROVIDES += "flac-devel" +RPROVIDES_flac-devel += "flac-devel" +RPROVIDES_flac-devel += "flac-dev" + +#PROVIDES by libflac +PROVIDES += "libflac" +RPROVIDES_libflac += "libflac" + +#PROVIDES by flac +PROVIDES += "flac" +RPROVIDES_flac += "flac" + +RDEPENDS = "" +#RDEPENDS of flac-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libflac" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of flac +DEPENDS += "libtool-cross" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "gcc-c++" +DEPENDS += "pkgconfig-native" +DEPENDS += "libogg-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/flac.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O3 -W -Wall -Wstrict-prototypes -Wformat-security" + export CXXFLAGS="$CFLAGS" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-thorough-tests --disable-exhaustive-tests\ + --disable-xmms-plugin \ + --disable-static \ + --disable-rpath \ + --with-pic \ + --enable-sse + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}/usr/share/doc/flac-1.2.1 + + +} + +PACKAGES = "" +PACKAGES += "libflac" +PACKAGES += "libflac++" +PACKAGES += "flac" +PACKAGES += "flac-devel" + +libflac_files = "" +libflac_files += "flac.manifest" +libflac_files += "/usr/lib/libFLAC.so.8*" + +libflac++_files = "" +libflac++_files += "flac.manifest" +libflac++_files += "/usr/lib/libFLAC++.so.6*" + +flac_files = "" +flac_files += "flac.manifest" +flac_files += "/usr/bin/*" +flac_files += "/usr/share/man/man*/*" + +flac-devel_files = "" +flac-devel_files += "flac.manifest" +flac-devel_files += "/usr/lib/lib*.so" +flac-devel_files += "/usr/include/*" +flac-devel_files += "/usr/lib/pkgconfig/*.pc" +flac-devel_files += "/usr/share/aclocal/*.m4" + +FILES_lib${PN} = "${libflac_files}" +FILES_lib${PN}++ = "${libflac++_files}" +FILES_${PN} = "${flac_files}" +FILES_${PN}-devel = "${flac-devel_files}" + +PKG_libflac= "libflac" +PKG_libflac++= "libflac++" +PKG_flac= "flac" +PKG_flac-devel= "flac-devel" + +require flac-extraconf.inc diff --git a/meta-tizen/recipes-tizen/flac/flac_git.bb b/meta-tizen/recipes-tizen/flac/flac_git.bb new file mode 100644 index 0000000..2758d04 --- /dev/null +++ b/meta-tizen/recipes-tizen/flac/flac_git.bb @@ -0,0 +1,8 @@ +require flac.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/flac;protocol=ssh;tag=cc1d2e5db80c2c5a607176c4dcb5895000d7b5f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/flex/flex-extraconf.inc b/meta-tizen/recipes-tizen/flex/flex-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/flex/flex.inc b/meta-tizen/recipes-tizen/flex/flex.inc new file mode 100644 index 0000000..45e5ebc --- /dev/null +++ b/meta-tizen/recipes-tizen/flex/flex.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "Fast Lexical Analyzer Generator" +HOMEPAGE = "http://flex.sourceforge.net/" +SECTION = "Development/Languages/C and C++" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by flex +PROVIDES += "flex" +RPROVIDES_flex += "flex" + +RDEPENDS = "" +#RDEPENDS of flex (${PN}) +RDEPENDS_${PN} += "m4" + + +DEPENDS = "" +#DEPENDS of flex +DEPENDS += "gcc-c++" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "bison-native" +DEPENDS += "makeinfo" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/flex.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + install ${S}/packaging/lex-wrapper.sh ${D}//usr/bin/lex + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/flex + rm -rf ${D}/usr/share/doc/flex-2.5.37 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + +} + +PACKAGES = "" +PACKAGES += "flex" + +flex_files = "" +flex_files += "flex.manifest" +flex_files += "/usr/bin/flex" +flex_files += "/usr/bin/flex++" +flex_files += "/usr/bin/lex" +flex_files += "/usr/include/FlexLexer.h" +flex_files += "/usr/lib/libfl.a" + +FILES_${PN} = "${flex_files}" + +PKG_flex= "flex" + +require flex-extraconf.inc diff --git a/meta-tizen/recipes-tizen/flex/flex_git.bb b/meta-tizen/recipes-tizen/flex/flex_git.bb new file mode 100644 index 0000000..ddb8655 --- /dev/null +++ b/meta-tizen/recipes-tizen/flex/flex_git.bb @@ -0,0 +1,8 @@ +require flex.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/flex;protocol=ssh;tag=0001da24dd8e7380ca964640000f67900944dab9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/folks/folks-extraconf.inc b/meta-tizen/recipes-tizen/folks/folks-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/folks/folks-native_git.bb b/meta-tizen/recipes-tizen/folks/folks-native_git.bb new file mode 100644 index 0000000..3dfdc4a --- /dev/null +++ b/meta-tizen/recipes-tizen/folks/folks-native_git.bb @@ -0,0 +1,12 @@ +require folks.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/folks;protocol=ssh;tag=716e4ef1bbd2b98988ce849a9a6c6b5784d537cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/folks/folks.inc b/meta-tizen/recipes-tizen/folks/folks.inc new file mode 100644 index 0000000..3b1256b --- /dev/null +++ b/meta-tizen/recipes-tizen/folks/folks.inc @@ -0,0 +1,218 @@ +DESCRIPTION = "Library to create metacontacts from multiple sources" +HOMEPAGE = "http://telepathy.freedesktop.org/wiki/Folks" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by folks-tools +PROVIDES += "folks-tools" +RPROVIDES_folks-tools += "folks-tools" + +#PROVIDES by libfolks-eds +PROVIDES += "libfolks-eds" +RPROVIDES_libfolks-eds += "libfolks-eds" + +#PROVIDES by libfolks +PROVIDES += "libfolks" +RPROVIDES_libfolks += "libfolks" + +#PROVIDES by folks-locale +PROVIDES += "folks-locale" +RPROVIDES_folks-locale += "folks-locale" +# the PROVIDES rules is ignore "libfolks-lang-all = 0.9.3" +PROVIDES += "libfolks-lang-all" +RPROVIDES_folks-locale += "libfolks-lang-all" + +#PROVIDES by libfolks-data +PROVIDES += "libfolks-data" +RPROVIDES_libfolks-data += "libfolks-data" + +#PROVIDES by folks-devel +PROVIDES += "folks-devel" +RPROVIDES_folks-devel += "folks-devel" +RPROVIDES_folks-devel += "folks-dev" + +#PROVIDES by folks +PROVIDES += "folks" +RPROVIDES_folks += "folks" + +#PROVIDES by typelib-Folks +PROVIDES += "typelib-Folks" +RPROVIDES_typelib-Folks += "typelib-Folks" + +RDEPENDS = "" +#RDEPENDS of libfolks (lib${PN}) +RDEPENDS_lib${PN} += "libfolks-data" + +#RDEPENDS of folks-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "libfolks" + +#RDEPENDS of libfolks-data (lib${PN}-data) +RDEPENDS_lib${PN}-data += "glib2-tools" + +#RDEPENDS of folks-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libfolks" +RDEPENDS_${PN}-devel += "typelib-Folks" +RDEPENDS_${PN}-devel += "libfolks-eds" + + +DEPENDS = "" +#DEPENDS of folks +DEPENDS += "pkgconfig(libedataserver-1.2)" +DEPENDS += "intltool-native" +DEPENDS += "readline-devel" +DEPENDS += "vala" +DEPENDS += "pkgconfig(gee-0.8)" +DEPENDS += "pkgconfig(gobject-introspection-1.0)" +DEPENDS += "pkgconfig(libebook-1.2)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-vala \ + --disable-static \ + --enable-eds-backend \ + --disable-ofono-backend \ + --disable-telepathy-backend \ + --disable-socialweb-backend \ + --disable-fatal-warnings \ + --disable-tests \ + #eol + + PKG_CONFIG_PATH=`pwd`/folks \ + oe_runmake -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + find ${D}/usr/lib -name '*.la' -type f -delete -print + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} folks --without-C + + +} + +PACKAGES = "" +PACKAGES += "folks-tools" +PACKAGES += "libfolks-eds" +PACKAGES += "libfolks" +PACKAGES += "folks-locale" +PACKAGES += "libfolks-data" +PACKAGES += "folks-devel" +PACKAGES += "typelib-Folks" + +folks-tools_files = "" +folks-tools_files += "/usr/bin/folks-import" +folks-tools_files += "/usr/bin/folks-inspect" + +libfolks-eds_files = "" +libfolks-eds_files += "/usr/lib/libfolks-eds.so.25*" +libfolks-eds_files += "/usr/lib/folks/39/backends/eds" +libfolks-eds_files += "/usr/lib/folks/39/backends/eds/eds.so" + +libfolks_files = "" +libfolks_files += "/usr/lib/libfolks.so.25*" +libfolks_files += "/usr/lib/folks" +libfolks_files += "/usr/lib/folks/39" +libfolks_files += "/usr/lib/folks/39/backends" +libfolks_files += "/usr/lib/folks/39/backends/key-file" +libfolks_files += "/usr/lib/folks/39/backends/key-file/key-file.so" + +folks-locale_files = "" + +libfolks-data_files = "" +libfolks-data_files += "/usr/share/GConf/gsettings/folks.convert" +libfolks-data_files += "/usr/share/glib-2.0/schemas/org.freedesktop.folks.gschema.xml" + +folks-devel_files = "" +folks-devel_files += "/usr/include/folks/" +folks-devel_files += "/usr/lib/*.so" +folks-devel_files += "/usr/lib/pkgconfig/*.pc" +folks-devel_files += "/usr/share/gir-1.0/Folks-0.6.gir" +folks-devel_files += "/usr/share/gir-1.0/FolksEds-0.6.gir" +folks-devel_files += "/usr/share/vala/vapi/folks.*" +folks-devel_files += "/usr/share/vala/vapi/folks-eds.*" + +typelib-Folks_files = "" +typelib-Folks_files += "/usr/lib/girepository-1.0/FolksEds-0.6.typelib" +typelib-Folks_files += "/usr/lib/girepository-1.0/Folks-0.6.typelib" + +FILES_${PN}-tools = "${folks-tools_files}" +FILES_lib${PN}-eds = "${libfolks-eds_files}" +FILES_lib${PN} = "${libfolks_files}" +FILES_${PN}-locale = "${folks-locale_files}" +FILES_lib${PN}-data = "${libfolks-data_files}" +FILES_${PN}-devel = "${folks-devel_files}" +FILES_typelib-Folks = "${typelib-Folks_files}" + +PKG_folks-tools= "folks-tools" +PKG_libfolks-eds= "libfolks-eds" +PKG_libfolks= "libfolks" +PKG_folks-locale= "folks-locale" +PKG_libfolks-data= "libfolks-data" +PKG_folks-devel= "folks-devel" +PKG_typelib-Folks= "typelib-Folks" + +require folks-extraconf.inc diff --git a/meta-tizen/recipes-tizen/folks/folks_git.bb b/meta-tizen/recipes-tizen/folks/folks_git.bb new file mode 100644 index 0000000..f69ff9b --- /dev/null +++ b/meta-tizen/recipes-tizen/folks/folks_git.bb @@ -0,0 +1,8 @@ +require folks.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/folks;protocol=ssh;tag=716e4ef1bbd2b98988ce849a9a6c6b5784d537cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/font-util/font-util-extraconf.inc b/meta-tizen/recipes-tizen/font-util/font-util-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/font-util/font-util-native_git.bb b/meta-tizen/recipes-tizen/font-util/font-util-native_git.bb new file mode 100644 index 0000000..2a50ee3 --- /dev/null +++ b/meta-tizen/recipes-tizen/font-util/font-util-native_git.bb @@ -0,0 +1,12 @@ +require font-util.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/font-util;protocol=ssh;tag=0c7982d298506455d395d999cd0c597aeb3d8a4a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/font-util/font-util.inc b/meta-tizen/recipes-tizen/font-util/font-util.inc new file mode 100644 index 0000000..636befa --- /dev/null +++ b/meta-tizen/recipes-tizen/font-util/font-util.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Fonts" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by font-util +PROVIDES += "font-util" +RPROVIDES_font-util += "font-util" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of font-util +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/font-util.manifest . + # see Bug 194720 for details + cp ${S}/packaging/CP932.TXT map-JISX0201.1976-0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-mapdir=/usr/share/fonts/util + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "font-util" + +font-util_files = "" +font-util_files += "font-util.manifest" +font-util_files += "COPYING" +font-util_files += "/usr/bin/bdftruncate" +font-util_files += "/usr/bin/ucs2any" +font-util_files += "/usr/share/man/man1/bdftruncate.1.gz" +font-util_files += "/usr/share/man/man1/ucs2any.1.gz" +font-util_files += "/usr/share/aclocal/fontutil.m4" +font-util_files += "/usr/share/fonts/util/" +font-util_files += "/usr/lib/pkgconfig/fontutil.pc" + +FILES_${PN} = "${font-util_files}" + +PKG_font-util= "font-util" + +require font-util-extraconf.inc diff --git a/meta-tizen/recipes-tizen/font-util/font-util_git.bb b/meta-tizen/recipes-tizen/font-util/font-util_git.bb new file mode 100644 index 0000000..60fb817 --- /dev/null +++ b/meta-tizen/recipes-tizen/font-util/font-util_git.bb @@ -0,0 +1,8 @@ +require font-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/font-util;protocol=ssh;tag=0c7982d298506455d395d999cd0c597aeb3d8a4a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-extraconf.inc b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-native_git.bb b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-native_git.bb new file mode 100644 index 0000000..b2100e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto-native_git.bb @@ -0,0 +1,12 @@ +require fontcacheproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontcacheproto;protocol=ssh;tag=3acafd658400a22bd5ae515eb612e72f170303f4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto.inc b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto.inc new file mode 100644 index 0000000..acac3c3 --- /dev/null +++ b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X.org FontcacheProto protocol headers" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/X11 Protocols" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fontcacheproto +PROVIDES += "fontcacheproto" +RPROVIDES_fontcacheproto += "fontcacheproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of fontcacheproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fontcacheproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/fontcacheproto + rm -rf ${D}/usr/share/doc/fontcacheproto-0.1.3 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "fontcacheproto" + +fontcacheproto_files = "" +fontcacheproto_files += "fontcacheproto.manifest" +fontcacheproto_files += "/usr/include/X11/extensions/*.h" +fontcacheproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${fontcacheproto_files}" + +PKG_fontcacheproto= "fontcacheproto" + +require fontcacheproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto_git.bb b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto_git.bb new file mode 100644 index 0000000..2a5d548 --- /dev/null +++ b/meta-tizen/recipes-tizen/fontcacheproto/fontcacheproto_git.bb @@ -0,0 +1,8 @@ +require fontcacheproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontcacheproto;protocol=ssh;tag=3acafd658400a22bd5ae515eb612e72f170303f4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontconfig/fontconfig-extraconf.inc b/meta-tizen/recipes-tizen/fontconfig/fontconfig-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fontconfig/fontconfig-native_git.bb b/meta-tizen/recipes-tizen/fontconfig/fontconfig-native_git.bb new file mode 100644 index 0000000..707a28d --- /dev/null +++ b/meta-tizen/recipes-tizen/fontconfig/fontconfig-native_git.bb @@ -0,0 +1,12 @@ +require fontconfig.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontconfig;protocol=ssh;tag=19f646b562a7c2ea7fa5a90d7ec7768a2a81d986;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontconfig/fontconfig.inc b/meta-tizen/recipes-tizen/fontconfig/fontconfig.inc new file mode 100644 index 0000000..114227b --- /dev/null +++ b/meta-tizen/recipes-tizen/fontconfig/fontconfig.inc @@ -0,0 +1,155 @@ +DESCRIPTION = "Font configuration and customization library" +HOMEPAGE = "http://fontconfig.org" +SECTION = "Graphics/Font Management" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fontconfig-devel +PROVIDES += "fontconfig-devel" +RPROVIDES_fontconfig-devel += "fontconfig-devel" +RPROVIDES_fontconfig-devel += "fontconfig-dev" + +#PROVIDES by fontconfig +PROVIDES += "fontconfig" +RPROVIDES_fontconfig += "fontconfig" + +RDEPENDS = "" +#RDEPENDS of fontconfig-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig" +RDEPENDS_${PN}-devel += "freetype-dev" +RDEPENDS_${PN}-devel += "fontconfig" + +#RDEPENDS of fontconfig (${PN}) +RDEPENDS_${PN} += "/usr/bin/rm" +RDEPENDS_${PN} += "/usr/bin/fc-cache" +RDEPENDS_${PN} += "/usr/bin/grep" +RDEPENDS_${PN} += "/usr/bin/mkdir" + + +DEPENDS = "" +#DEPENDS of fontconfig +DEPENDS += "expat" +DEPENDS += "pkgconfig(freetype2)" +DEPENDS += "gawk" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fontconfig.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # We don't want to rebuild the docs, but we want to install the included ones. + export HASDOCBOOK=no + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --with-expat=/usr \ + --with-expat-include=/usr/include \ + --with-expat-lib=/usr/lib \ + --with-freetype-config=/usr/bin/freetype-config \ + --with-add-fonts=/usr/share/fonts,/usr/share/app_fonts,/usr/share/fallback_fonts \ + --with-cache-dir=/var/cache/fontconfig \ + --with-confdir=/etc/fonts \ + --with-templatedir=/etc/fonts/conf.avail \ + --disable-docs + + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/fonts + + +} + +PACKAGES = "" +PACKAGES += "fontconfig-devel" +PACKAGES += "fontconfig" + +fontconfig-devel_files = "" +fontconfig-devel_files += "fontconfig.manifest" +fontconfig-devel_files += "/usr/lib/libfontconfig.so" +fontconfig-devel_files += "/usr/lib/pkgconfig/*" +fontconfig-devel_files += "/usr/include/fontconfig" + +fontconfig_files = "" +fontconfig_files += "fontconfig.manifest" +fontconfig_files += "/usr/lib/libfontconfig.so.*" +fontconfig_files += "/usr/bin/fc-*" +fontconfig_files += "/etc/fonts/*" +fontconfig_files += "/usr/share/fonts" +fontconfig_files += "/etc/fonts/conf.d/README" +fontconfig_files += "/etc/fonts/conf.avail/*.conf" +fontconfig_files += "/etc/fonts/conf.d/*.conf" +fontconfig_files += "/var/cache/fontconfig" +fontconfig_files += "/usr/share/xml/fontconfig/fonts.dtd" + +FILES_${PN}-devel = "${fontconfig-devel_files}" +FILES_${PN} = "${fontconfig_files}" + +PKG_fontconfig-devel= "fontconfig-devel" +PKG_fontconfig= "fontconfig" + +require fontconfig-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fontconfig/fontconfig_git.bb b/meta-tizen/recipes-tizen/fontconfig/fontconfig_git.bb new file mode 100644 index 0000000..7fda9f3 --- /dev/null +++ b/meta-tizen/recipes-tizen/fontconfig/fontconfig_git.bb @@ -0,0 +1,8 @@ +require fontconfig.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontconfig;protocol=ssh;tag=19f646b562a7c2ea7fa5a90d7ec7768a2a81d986;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontsproto/fontsproto-extraconf.inc b/meta-tizen/recipes-tizen/fontsproto/fontsproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fontsproto/fontsproto-native_git.bb b/meta-tizen/recipes-tizen/fontsproto/fontsproto-native_git.bb new file mode 100644 index 0000000..cfd1770 --- /dev/null +++ b/meta-tizen/recipes-tizen/fontsproto/fontsproto-native_git.bb @@ -0,0 +1,12 @@ +require fontsproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontsproto;protocol=ssh;tag=548254d9e32659f3ce4b8bd71923dc1682f156f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fontsproto/fontsproto.inc b/meta-tizen/recipes-tizen/fontsproto/fontsproto.inc new file mode 100644 index 0000000..958c23a --- /dev/null +++ b/meta-tizen/recipes-tizen/fontsproto/fontsproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fontsproto +PROVIDES += "fontsproto" +RPROVIDES_fontsproto += "fontsproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of fontsproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fontsproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/fontsproto + rm -rf ${D}/usr/share/doc/fontsproto-2.1.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "fontsproto" + +fontsproto_files = "" +fontsproto_files += "fontsproto.manifest" +fontsproto_files += "/usr/include/X11/fonts/*.h" +fontsproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${fontsproto_files}" + +PKG_fontsproto= "fontsproto" + +require fontsproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fontsproto/fontsproto_git.bb b/meta-tizen/recipes-tizen/fontsproto/fontsproto_git.bb new file mode 100644 index 0000000..80cc80f --- /dev/null +++ b/meta-tizen/recipes-tizen/fontsproto/fontsproto_git.bb @@ -0,0 +1,8 @@ +require fontsproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fontsproto;protocol=ssh;tag=548254d9e32659f3ce4b8bd71923dc1682f156f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/freealut/freealut-extraconf.inc b/meta-tizen/recipes-tizen/freealut/freealut-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/freealut/freealut-native_git.bb b/meta-tizen/recipes-tizen/freealut/freealut-native_git.bb new file mode 100644 index 0000000..774e7bc --- /dev/null +++ b/meta-tizen/recipes-tizen/freealut/freealut-native_git.bb @@ -0,0 +1,12 @@ +require freealut.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/freealut;protocol=ssh;tag=add09c7d4378122b97259e660029f9104b52a172;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/freealut/freealut.inc b/meta-tizen/recipes-tizen/freealut/freealut.inc new file mode 100644 index 0000000..adc2f22 --- /dev/null +++ b/meta-tizen/recipes-tizen/freealut/freealut.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "OpenAL User Toolkit library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "TO BE FILLED IN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by freealut-devel +PROVIDES += "freealut-devel" +RPROVIDES_freealut-devel += "freealut-devel" +RPROVIDES_freealut-devel += "freealut-dev" + +#PROVIDES by freealut +PROVIDES += "freealut" +RPROVIDES_freealut += "freealut" + +RDEPENDS = "" +#RDEPENDS of freealut-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "freealut" + +#RDEPENDS of freealut (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of freealut +DEPENDS += "pkgconfig(openal)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/freealut.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "freealut-devel" +PACKAGES += "freealut" + +freealut-devel_files = "" +freealut-devel_files += "freealut.manifest" +freealut-devel_files += "/usr/include/AL/alut.h" +freealut-devel_files += "/usr/lib/libalut.so" +freealut-devel_files += "/usr/lib/pkgconfig/freealut.pc" + +freealut_files = "" +freealut_files += "freealut.manifest" +freealut_files += "/usr/bin/freealut-config" +freealut_files += "/usr/lib/libalut.so.*" + +FILES_${PN}-devel = "${freealut-devel_files}" +FILES_${PN} = "${freealut_files}" + +PKG_freealut-devel= "freealut-devel" +PKG_freealut= "freealut" + +require freealut-extraconf.inc diff --git a/meta-tizen/recipes-tizen/freealut/freealut_git.bb b/meta-tizen/recipes-tizen/freealut/freealut_git.bb new file mode 100644 index 0000000..1952b00 --- /dev/null +++ b/meta-tizen/recipes-tizen/freealut/freealut_git.bb @@ -0,0 +1,8 @@ +require freealut.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/freealut;protocol=ssh;tag=add09c7d4378122b97259e660029f9104b52a172;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/freeglut/freeglut-extraconf.inc b/meta-tizen/recipes-tizen/freeglut/freeglut-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/freeglut/freeglut.inc b/meta-tizen/recipes-tizen/freeglut/freeglut.inc new file mode 100644 index 0000000..c9b04a9 --- /dev/null +++ b/meta-tizen/recipes-tizen/freeglut/freeglut.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Freely licensed alternative to the GLUT library" +HOMEPAGE = "http://freeglut.sourceforge.net/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libglut" +PACKAGES += "freeglut-devel" + +libglut_files = "" +libglut_files += "freeglut.manifest" +libglut_files += "COPYING" +libglut_files += "/usr/lib/libglut.so.*" + +freeglut-devel_files = "" +freeglut-devel_files += "freeglut.manifest" +freeglut-devel_files += "/usr/include/GL" +freeglut-devel_files += "/usr/lib/libglut.so" + +FILES_libglut = "${libglut_files}" +FILES_${PN}-devel = "${freeglut-devel_files}" + +PKG_libglut= "libglut" +PKG_freeglut-devel= "freeglut-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require freeglut-rdepends.inc +require freeglut-depends.inc +require freeglut-extraconf.inc diff --git a/meta-tizen/recipes-tizen/freetype2/freetype2-extraconf.inc b/meta-tizen/recipes-tizen/freetype2/freetype2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/freetype2/freetype2-native_git.bb b/meta-tizen/recipes-tizen/freetype2/freetype2-native_git.bb new file mode 100644 index 0000000..128aa04 --- /dev/null +++ b/meta-tizen/recipes-tizen/freetype2/freetype2-native_git.bb @@ -0,0 +1,12 @@ +require freetype2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/freetype2;protocol=ssh;tag=b91f3b65f17e59c4331f19be052056e06aa97a96;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/freetype2/freetype2.inc b/meta-tizen/recipes-tizen/freetype2/freetype2.inc new file mode 100644 index 0000000..e34f545 --- /dev/null +++ b/meta-tizen/recipes-tizen/freetype2/freetype2.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "A TrueType Font Library" +HOMEPAGE = "http://www.freetype.org" +SECTION = "Graphics/Font Management" +LICENSE = "Freetype or GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libfreetype +PROVIDES += "libfreetype" +RPROVIDES_libfreetype += "libfreetype" + +#PROVIDES by freetype2 +PROVIDES += "freetype2" +RPROVIDES_freetype2 += "freetype2" + +#PROVIDES by freetype2-devel +PROVIDES += "freetype2-devel" +RPROVIDES_freetype2-devel += "freetype2-devel" +RPROVIDES_freetype2-devel += "freetype2-dev" +# the PROVIDES rules is ignore "freetype-devel " +PROVIDES += "freetype-devel" +RPROVIDES_freetype2-devel += "freetype-devel" +RPROVIDES_freetype2-devel += "freetype-dev" + +RDEPENDS = "" +#RDEPENDS of freetype2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "libfreetype" + + +DEPENDS = "" +#DEPENDS of freetype2 +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n freetype-2.4.9 + cp ${S}/packaging/freetype2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=gnu99 -D_GNU_SOURCE" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --without-bzip2 \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm docs/INSTALL* + + +} + +PACKAGES = "" +PACKAGES += "libfreetype" +PACKAGES += "freetype2-devel" + +libfreetype_files = "" +libfreetype_files += "freetype2.manifest" +libfreetype_files += "/usr/lib/libfreetype.so.*" + +freetype2-devel_files = "" +freetype2-devel_files += "freetype2.manifest" +freetype2-devel_files += "/usr/include/*" +freetype2-devel_files += "/usr/lib/libfreetype.so" +freetype2-devel_files += "/usr/lib/pkgconfig/freetype2.pc" +freetype2-devel_files += "/usr/bin/*" +freetype2-devel_files += "/usr/share/aclocal" + +FILES_libfreetype = "${libfreetype_files}" +FILES_${PN}-devel = "${freetype2-devel_files}" + +PKG_libfreetype= "libfreetype" +PKG_freetype2-devel= "freetype2-devel" + +require freetype2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/freetype2/freetype2_git.bb b/meta-tizen/recipes-tizen/freetype2/freetype2_git.bb new file mode 100644 index 0000000..5be8aeb --- /dev/null +++ b/meta-tizen/recipes-tizen/freetype2/freetype2_git.bb @@ -0,0 +1,8 @@ +require freetype2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/freetype2;protocol=ssh;tag=b91f3b65f17e59c4331f19be052056e06aa97a96;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fribidi/fribidi-extraconf.inc b/meta-tizen/recipes-tizen/fribidi/fribidi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fribidi/fribidi-native_git.bb b/meta-tizen/recipes-tizen/fribidi/fribidi-native_git.bb new file mode 100644 index 0000000..3e56486 --- /dev/null +++ b/meta-tizen/recipes-tizen/fribidi/fribidi-native_git.bb @@ -0,0 +1,12 @@ +require fribidi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fribidi;protocol=ssh;tag=d96da0b6aa6593b118b22d59a242c4feb5ff4927;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fribidi/fribidi.inc b/meta-tizen/recipes-tizen/fribidi/fribidi.inc new file mode 100644 index 0000000..706d259 --- /dev/null +++ b/meta-tizen/recipes-tizen/fribidi/fribidi.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "Free Implementation of BiDi Algorithm" +HOMEPAGE = "http://fribidi.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fribidi +PROVIDES += "fribidi" +RPROVIDES_fribidi += "fribidi" +# the PROVIDES rules is ignore "locale(ar;he) " +PROVIDES += "locale(ar;he)" +RPROVIDES_fribidi += "locale(ar;he)" + +#PROVIDES by fribidi-devel +PROVIDES += "fribidi-devel" +RPROVIDES_fribidi-devel += "fribidi-devel" +RPROVIDES_fribidi-devel += "fribidi-dev" + +RDEPENDS = "" +#RDEPENDS of fribidi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "fribidi" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of fribidi +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fribidi.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + oe_runmake -j16 + + exit 0 + oe_runmake check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "fribidi" +PACKAGES += "fribidi-devel" + +fribidi_files = "" +fribidi_files += "fribidi.manifest" +fribidi_files += "/usr/bin/fribidi" +fribidi_files += "/usr/lib/libfribidi.so.*" + +fribidi-devel_files = "" +fribidi-devel_files += "fribidi.manifest" +fribidi-devel_files += "/usr/include/fribidi" +fribidi-devel_files += "/usr/include/fribidi/*" +fribidi-devel_files += "/usr/lib/libfribidi.so" +fribidi-devel_files += "/usr/lib/pkgconfig/fribidi.pc" +fribidi-devel_files += "/usr/share/man/man3/fribidi_*" + +FILES_${PN} = "${fribidi_files}" +FILES_${PN}-devel = "${fribidi-devel_files}" + +PKG_fribidi= "fribidi" +PKG_fribidi-devel= "fribidi-devel" + +require fribidi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fribidi/fribidi_git.bb b/meta-tizen/recipes-tizen/fribidi/fribidi_git.bb new file mode 100644 index 0000000..cf57137 --- /dev/null +++ b/meta-tizen/recipes-tizen/fribidi/fribidi_git.bb @@ -0,0 +1,8 @@ +require fribidi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fribidi;protocol=ssh;tag=d96da0b6aa6593b118b22d59a242c4feb5ff4927;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fsync/fsync-extraconf.inc b/meta-tizen/recipes-tizen/fsync/fsync-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fsync/fsync-native_git.bb b/meta-tizen/recipes-tizen/fsync/fsync-native_git.bb new file mode 100644 index 0000000..3711bb8 --- /dev/null +++ b/meta-tizen/recipes-tizen/fsync/fsync-native_git.bb @@ -0,0 +1,12 @@ +require fsync.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fsync;protocol=ssh;tag=5e0c503d103760edc57f83f3f1e88c60a075bb2e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fsync/fsync.inc b/meta-tizen/recipes-tizen/fsync/fsync.inc new file mode 100644 index 0000000..ee12f80 --- /dev/null +++ b/meta-tizen/recipes-tizen/fsync/fsync.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "synchronize file's in-core state with storage device" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "GPL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fsync +PROVIDES += "fsync" +RPROVIDES_fsync += "fsync" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of fsync +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/fsync.manifest . + autoconf + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT/usr VERSION=1.1 install + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/fsync + rm -rf ${D}/usr/share/doc/fsync-1.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + +} + +PACKAGES = "" +PACKAGES += "fsync" + +fsync_files = "" +fsync_files += "fsync.manifest" +fsync_files += "fsync.manifest" +fsync_files += "/usr/bin/fsync" +fsync_files += "License" + +FILES_${PN} = "${fsync_files}" + +PKG_fsync= "fsync" + +require fsync-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fsync/fsync_git.bb b/meta-tizen/recipes-tizen/fsync/fsync_git.bb new file mode 100644 index 0000000..f1e41a8 --- /dev/null +++ b/meta-tizen/recipes-tizen/fsync/fsync_git.bb @@ -0,0 +1,8 @@ +require fsync.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fsync;protocol=ssh;tag=5e0c503d103760edc57f83f3f1e88c60a075bb2e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fuse/fuse-extraconf.inc b/meta-tizen/recipes-tizen/fuse/fuse-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/fuse/fuse-native_git.bb b/meta-tizen/recipes-tizen/fuse/fuse-native_git.bb new file mode 100644 index 0000000..d558633 --- /dev/null +++ b/meta-tizen/recipes-tizen/fuse/fuse-native_git.bb @@ -0,0 +1,12 @@ +require fuse.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fuse;protocol=ssh;tag=d30427eee40565e61f83c05fdc31e0857b144152;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/fuse/fuse.inc b/meta-tizen/recipes-tizen/fuse/fuse.inc new file mode 100644 index 0000000..43350eb --- /dev/null +++ b/meta-tizen/recipes-tizen/fuse/fuse.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "User space File System" +HOMEPAGE = "http://fuse.sourceforge.net" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+ and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by fuse-devel +PROVIDES += "fuse-devel" +RPROVIDES_fuse-devel += "fuse-devel" +RPROVIDES_fuse-devel += "fuse-dev" + +#PROVIDES by libfuse +PROVIDES += "libfuse" +RPROVIDES_libfuse += "libfuse" + +#PROVIDES by fuse +PROVIDES += "fuse" +RPROVIDES_fuse += "fuse" + +#PROVIDES by fuse-docs +PROVIDES += "fuse-docs " +RPROVIDES_fuse-docs += "fuse-docs " + +#PROVIDES by libulockmgr +PROVIDES += "libulockmgr" +RPROVIDES_libulockmgr += "libulockmgr" + +RDEPENDS = "" +#RDEPENDS of fuse-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libulockmgr" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "fuse" +RDEPENDS_${PN}-devel += "libfuse" + +#RDEPENDS of fuse (${PN}) +RDEPENDS_${PN} += "util-linux" +RDEPENDS_${PN} += "which" + + +DEPENDS = "" +#DEPENDS of fuse +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fuse.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing" + export MOUNT_FUSE_PATH=/usr/sbin + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic \ + --with-pkgconfigdir=/usr/lib/pkgconfig \ + --enable-lib \ + --disable-example \ + --enable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf $RPM_BUILD_ROOT//etc/init.d + + +} + +PACKAGES = "" +PACKAGES += "libulockmgr" +PACKAGES += "libfuse" +PACKAGES += "fuse" +PACKAGES += "fuse-docs" +PACKAGES += "fuse-devel" + +libulockmgr_files = "" +libulockmgr_files += "fuse.manifest" +libulockmgr_files += "/usr/lib/libulockmgr.so.*" + +libfuse_files = "" +libfuse_files += "fuse.manifest" +libfuse_files += "/usr/lib/libfuse.so.2*" + +fuse_files = "" +fuse_files += "fuse.manifest" +fuse_files += "/usr/sbin/mount.fuse" +fuse_files += "/usr/bin/ulockmgr_server" +fuse_files += "/etc/udev/rules.d/99-fuse.rules" + +fuse-docs_files = "" +fuse-docs_files += "/usr/share/info" +fuse-docs_files += "/usr/share/man" + +fuse-devel_files = "" +fuse-devel_files += "fuse.manifest" +fuse-devel_files += "/usr/lib/libfuse.so" +fuse-devel_files += "/usr/lib/libulockmgr.so" +fuse-devel_files += "/usr/include/fuse.h" +fuse-devel_files += "/usr/include/fuse" +fuse-devel_files += "/usr/lib/pkgconfig/*.pc" +fuse-devel_files += "/usr/include/ulockmgr.h" + +FILES_libulockmgr = "${libulockmgr_files}" +FILES_lib${PN} = "${libfuse_files}" +FILES_${PN} = "${fuse_files}" +FILES_${PN}-docs = "${fuse-docs_files}" +FILES_${PN}-devel = "${fuse-devel_files}" + +PKG_libulockmgr= "libulockmgr" +PKG_libfuse= "libfuse" +PKG_fuse= "fuse" +PKG_fuse-docs= "fuse-docs" +PKG_fuse-devel= "fuse-devel" + +require fuse-extraconf.inc diff --git a/meta-tizen/recipes-tizen/fuse/fuse_git.bb b/meta-tizen/recipes-tizen/fuse/fuse_git.bb new file mode 100644 index 0000000..302d43e --- /dev/null +++ b/meta-tizen/recipes-tizen/fuse/fuse_git.bb @@ -0,0 +1,8 @@ +require fuse.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fuse;protocol=ssh;tag=d30427eee40565e61f83c05fdc31e0857b144152;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gawk/gawk-extraconf.inc b/meta-tizen/recipes-tizen/gawk/gawk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gawk/gawk-native_git.bb b/meta-tizen/recipes-tizen/gawk/gawk-native_git.bb new file mode 100644 index 0000000..3a96664 --- /dev/null +++ b/meta-tizen/recipes-tizen/gawk/gawk-native_git.bb @@ -0,0 +1,12 @@ +require gawk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gawk;protocol=ssh;tag=a8df67d2d809a55c9335337cebe42fe785714308;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gawk/gawk.inc b/meta-tizen/recipes-tizen/gawk/gawk.inc new file mode 100644 index 0000000..4d1ca43 --- /dev/null +++ b/meta-tizen/recipes-tizen/gawk/gawk.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "GNU awk" +HOMEPAGE = "http://www.gnu.org/software/gawk/" +SECTION = "Base/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gawk-devel +PROVIDES += "gawk-devel" +RPROVIDES_gawk-devel += "gawk-devel" +RPROVIDES_gawk-devel += "gawk-dev" + +#PROVIDES by gawk-docs +PROVIDES += "gawk-docs " +RPROVIDES_gawk-docs += "gawk-docs " + +#PROVIDES by gawk-extras +PROVIDES += "gawk-extras" +RPROVIDES_gawk-extras += "gawk-extras" + +#PROVIDES by gawk +PROVIDES += "gawk" +RPROVIDES_gawk += "gawk" +# the PROVIDES rules is ignore "awk " +PROVIDES += "awk" +RPROVIDES_gawk += "awk" +# the PROVIDES rules is ignore "/bin/awk " +PROVIDES += "/bin/awk" +RPROVIDES_gawk += "/bin/awk" +# the PROVIDES rules is ignore "/bin/gawk " +PROVIDES += "/bin/gawk" +RPROVIDES_gawk += "/bin/gawk" + +RDEPENDS = "" +#RDEPENDS of gawk-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gawk" + +#RDEPENDS of gawk-extras (${PN}-extras) +RDEPENDS_${PN}-extras += "gawk" + + +DEPENDS = "" +#DEPENDS of gawk +DEPENDS += "makeinfo" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gawk.manifest . + chmod -x COPYING + # force rebuild with non-broken makeinfo + rm -f doc/*.info + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + AUTOPOINT=true autoreconf --force --install + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --libexecdir=/usr/lib --disable-nls + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "gawk-devel" +PACKAGES += "gawk-docs" +PACKAGES += "gawk-extras" +PACKAGES += "gawk" + +gawk-devel_files = "" +gawk-devel_files += "/usr/bin/dgawk" +gawk-devel_files += "/usr/bin/pgawk*" + +gawk-docs_files = "" +gawk-docs_files += "/usr/share/info" +gawk-docs_files += "/usr/share/man" + +gawk-extras_files = "" +gawk-extras_files += "/usr/bin/igawk" +gawk-extras_files += "/usr/lib/awk" +gawk-extras_files += "/usr/share/awk" + +gawk_files = "" +gawk_files += "gawk.manifest" +gawk_files += "TIZEN-Public-Domain COPYING" +gawk_files += "/usr/bin/awk" +gawk_files += "/usr/bin/gawk*" + +FILES_${PN}-devel = "${gawk-devel_files}" +FILES_${PN}-docs = "${gawk-docs_files}" +FILES_${PN}-extras = "${gawk-extras_files}" +FILES_${PN} = "${gawk_files}" + +PKG_gawk-devel= "gawk-devel" +PKG_gawk-docs= "gawk-docs" +PKG_gawk-extras= "gawk-extras" +PKG_gawk= "gawk" + +require gawk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gawk/gawk_git.bb b/meta-tizen/recipes-tizen/gawk/gawk_git.bb new file mode 100644 index 0000000..daed61c --- /dev/null +++ b/meta-tizen/recipes-tizen/gawk/gawk_git.bb @@ -0,0 +1,8 @@ +require gawk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gawk;protocol=ssh;tag=a8df67d2d809a55c9335337cebe42fe785714308;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gcc/gcc-extraconf.inc b/meta-tizen/recipes-tizen/gcc/gcc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gcc/gcc.inc b/meta-tizen/recipes-tizen/gcc/gcc.inc new file mode 100644 index 0000000..2c2016a --- /dev/null +++ b/meta-tizen/recipes-tizen/gcc/gcc.inc @@ -0,0 +1,463 @@ +DESCRIPTION = "The system GNU C Compiler" +HOMEPAGE = "http://gcc.gnu.org/" +SECTION = "Development/Toolchain" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gcc-gij +PROVIDES += "gcc-gij" +RPROVIDES_gcc-gij += "gcc-gij" + +#PROVIDES by gcc-gij-32bit +PROVIDES += "gcc-gij-32bit" +RPROVIDES_gcc-gij-32bit += "gcc-gij-32bit" + +#PROVIDES by gcc-obj-c++ +PROVIDES += "gcc-obj-c++" +RPROVIDES_gcc-obj-c++ += "gcc-obj-c++" + +#PROVIDES by gcc-fortran-32bit +PROVIDES += "gcc-fortran-32bit" +RPROVIDES_gcc-fortran-32bit += "gcc-fortran-32bit" + +#PROVIDES by gcc-info +PROVIDES += "gcc-info" +RPROVIDES_gcc-info += "gcc-info" + +#PROVIDES by gcc +PROVIDES += "gcc" +RPROVIDES_gcc += "gcc" +# the PROVIDES rules is ignore "c_compiler " +PROVIDES += "c_compiler" +RPROVIDES_gcc += "c_compiler" + +#PROVIDES by libstdc++-devel +PROVIDES += "libstdc++-devel" +RPROVIDES_libstdc++-devel += "libstdc++-devel" +RPROVIDES_libstdc++-devel += "libstdc++-dev" + +#PROVIDES by gcc-64bit +PROVIDES += "gcc-64bit" +RPROVIDES_gcc-64bit += "gcc-64bit" + +#PROVIDES by gcc-locale +PROVIDES += "gcc-locale" +RPROVIDES_gcc-locale += "gcc-locale" + +#PROVIDES by gcc-objc-64bit +PROVIDES += "gcc-objc-64bit" +RPROVIDES_gcc-objc-64bit += "gcc-objc-64bit" + +#PROVIDES by gcc-c++ +PROVIDES += "gcc-c++" +RPROVIDES_gcc-c++ += "gcc-c++" +# the PROVIDES rules is ignore "c++_compiler " +PROVIDES += "c++_compiler" +RPROVIDES_gcc-c++ += "c++_compiler" + +#PROVIDES by gcc-fortran +PROVIDES += "gcc-fortran" +RPROVIDES_gcc-fortran += "gcc-fortran" + +#PROVIDES by gcc-c++-64bit +PROVIDES += "gcc-c++-64bit" +RPROVIDES_gcc-c++-64bit += "gcc-c++-64bit" + +#PROVIDES by gcc-z9 +PROVIDES += "gcc-z9" +RPROVIDES_gcc-z9 += "gcc-z9" + +#PROVIDES by gcc-objc-32bit +PROVIDES += "gcc-objc-32bit" +RPROVIDES_gcc-objc-32bit += "gcc-objc-32bit" + +#PROVIDES by gcc-java +PROVIDES += "gcc-java" +RPROVIDES_gcc-java += "gcc-java" + +#PROVIDES by libgcj-devel +PROVIDES += "libgcj-devel" +RPROVIDES_libgcj-devel += "libgcj-devel" +RPROVIDES_libgcj-devel += "libgcj-dev" + +#PROVIDES by gcc-c++-32bit +PROVIDES += "gcc-c++-32bit" +RPROVIDES_gcc-c++-32bit += "gcc-c++-32bit" + +#PROVIDES by gcc-ada +PROVIDES += "gcc-ada" +RPROVIDES_gcc-ada += "gcc-ada" + +#PROVIDES by gcc-32bit +PROVIDES += "gcc-32bit" +RPROVIDES_gcc-32bit += "gcc-32bit" + +#PROVIDES by gcc-objc +PROVIDES += "gcc-objc" +RPROVIDES_gcc-objc += "gcc-objc" + +#PROVIDES by gcc-fortran-64bit +PROVIDES += "gcc-fortran-64bit" +RPROVIDES_gcc-fortran-64bit += "gcc-fortran-64bit" + +#PROVIDES by cpp +PROVIDES += "cpp" +RPROVIDES_cpp += "cpp" + +#PROVIDES by gcc-gij-64bit +PROVIDES += "gcc-gij-64bit" +RPROVIDES_gcc-gij-64bit += "gcc-gij-64bit" + +RDEPENDS = "" +#RDEPENDS of gcc-gij (${PN}-gij) +RDEPENDS_${PN}-gij += "gcc48-gij" + +#RDEPENDS of gcc-gij-32bit (${PN}-gij-32bit) +RDEPENDS_${PN}-gij-32bit += "gcc48-gij-32bit" + +#RDEPENDS of gcc-obj-c++ (${PN}-obj-c++) +RDEPENDS_${PN}-obj-c++ += "gcc-objc" +RDEPENDS_${PN}-obj-c++ += "gcc48-obj-c++" + +#RDEPENDS of gcc-fortran-32bit (${PN}-fortran-32bit) +RDEPENDS_${PN}-fortran-32bit += "gcc48-fortran-32bit" +RDEPENDS_${PN}-fortran-32bit += "gcc-fortran" + +#RDEPENDS of gcc-info (${PN}-info) +RDEPENDS_${PN}-info += "gcc48-info" + +#RDEPENDS of gcc (${PN}) +RDEPENDS_${PN} += "cpp" +RDEPENDS_${PN} += "gcc48" + +#RDEPENDS of libstdc++-devel (libstdc++-devel) +RDEPENDS_libstdc++-devel += "libstdc++48-dev" + +#RDEPENDS of gcc-64bit (${PN}-64bit) +RDEPENDS_${PN}-64bit += "gcc" +RDEPENDS_${PN}-64bit += "gcc48-64bit" + +#RDEPENDS of gcc-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "gcc48-locale" + +#RDEPENDS of gcc-objc-64bit (${PN}-objc-64bit) +RDEPENDS_${PN}-objc-64bit += "gcc48-objc-64bit" +RDEPENDS_${PN}-objc-64bit += "gcc-objc" + +#RDEPENDS of gcc-c++ (${PN}-c++) +RDEPENDS_${PN}-c++ += "gcc" +RDEPENDS_${PN}-c++ += "gcc48-c++" + +#RDEPENDS of gcc-fortran (${PN}-fortran) +RDEPENDS_${PN}-fortran += "gcc" +RDEPENDS_${PN}-fortran += "gcc48-fortran" + +#RDEPENDS of gcc-c++-64bit (${PN}-c++-64bit) +RDEPENDS_${PN}-c++-64bit += "gcc-64bit" +RDEPENDS_${PN}-c++-64bit += "libstdc++48-dev" +RDEPENDS_${PN}-c++-64bit += "gcc-c++" + +#RDEPENDS of gcc-z9 (${PN}-z9) +RDEPENDS_${PN}-z9 += "gcc" + +#RDEPENDS of gcc-objc-32bit (${PN}-objc-32bit) +RDEPENDS_${PN}-objc-32bit += "gcc-objc" +RDEPENDS_${PN}-objc-32bit += "gcc48-objc-32bit" + +#RDEPENDS of gcc-java (${PN}-java) +RDEPENDS_${PN}-java += "gcc48-java" +RDEPENDS_${PN}-java += "libgcj-dev" +RDEPENDS_${PN}-java += "gcc" + +#RDEPENDS of libgcj-devel (libgcj-devel) +RDEPENDS_libgcj-devel += "libgcj48-dev" + +#RDEPENDS of gcc-c++-32bit (${PN}-c++-32bit) +RDEPENDS_${PN}-c++-32bit += "libstdc++48-dev" +RDEPENDS_${PN}-c++-32bit += "gcc-32bit" +RDEPENDS_${PN}-c++-32bit += "gcc-c++" + +#RDEPENDS of gcc-ada (${PN}-ada) +RDEPENDS_${PN}-ada += "gcc" +RDEPENDS_${PN}-ada += "gcc48-ada" + +#RDEPENDS of gcc-32bit (${PN}-32bit) +RDEPENDS_${PN}-32bit += "gcc" +RDEPENDS_${PN}-32bit += "gcc48-32bit" + +#RDEPENDS of gcc-objc (${PN}-objc) +RDEPENDS_${PN}-objc += "gcc" +RDEPENDS_${PN}-objc += "gcc48-objc" + +#RDEPENDS of gcc-fortran-64bit (${PN}-fortran-64bit) +RDEPENDS_${PN}-fortran-64bit += "gcc48-fortran-64bit" +RDEPENDS_${PN}-fortran-64bit += "gcc-fortran" + +#RDEPENDS of cpp (cpp) +RDEPENDS_cpp += "cpp48" + +#RDEPENDS of gcc-gij-64bit (${PN}-gij-64bit) +RDEPENDS_${PN}-gij-64bit += "gcc48-gij-64bit" + + +DEPENDS = "" + +do_patch() { + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + echo "This is a dummy package to provide a dependency on the system compiler." > README + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/lib + mkdir -p $RPM_BUILD_ROOT/usr/bin + mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 + mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/gcc-objc/ + mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/gcc-obj-c++/ + # Link all the binaries + for program in \ + gcc gcov \ + g++ \ + cpp \ + gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \ + gij \ + gappletviewer \ + gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \ + grmid grmiregistry gserialver gtnameserv \ + grmiregistry32 \ + gij32 \ + gfortran \ + gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \ + gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \ + ; do + ln -sf $program-4.8 $RPM_BUILD_ROOT/usr/bin/$program + done + # Link section 1 manpages + for man1 in \ + gcc gcov \ + g++ \ + cpp \ + gfortran \ + gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \ + gij \ + gappletviewer gjar gjarsigner gjavah \ + gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \ + gtnameserv \ + ; do + ln -sf $man1-4.8.1.gz $RPM_BUILD_ROOT/usr/share/man/man1/$man1.1.gz + done + # Provide the traditional /lib/cpp that only handles C + cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/ + chmod 755 $RPM_BUILD_ROOT/lib/cpp + # Provide extra symlinks + ln -sf g++-4.8 $RPM_BUILD_ROOT/usr/bin/c++ + ln -sf gcc-4.8 $RPM_BUILD_ROOT/usr/bin/cc + ln -sf g++-4.8.1.gz $RPM_BUILD_ROOT/usr/share/man/man1/c++.1.gz + ln -sf gcc-4.8.1.gz $RPM_BUILD_ROOT/usr/share/man/man1/cc.1.gz + + +} + +PACKAGES = "" +PACKAGES += "gcc" +PACKAGES += "gcc-fortran-32bit" +PACKAGES += "libstdc++-devel" +PACKAGES += "gcc-ada" +PACKAGES += "gcc-gij-32bit" +PACKAGES += "gcc-32bit" +PACKAGES += "gcc-gij" +PACKAGES += "gcc-objc" +PACKAGES += "gcc-info" +PACKAGES += "gcc-obj-c++" +PACKAGES += "gcc-objc-32bit" +PACKAGES += "gcc-java" +PACKAGES += "cpp" +PACKAGES += "libgcj-devel" +PACKAGES += "gcc-c++" +PACKAGES += "gcc-c++-32bit" +PACKAGES += "gcc-locale" +PACKAGES += "gcc-fortran" + +gcc_files = "" +gcc_files += "/usr/bin/gcc" +gcc_files += "/usr/bin/cc" +gcc_files += "/usr/bin/gcov" +gcc_files += "/usr/share/man/man1/gcc.1.gz" +gcc_files += "/usr/share/man/man1/cc.1.gz" +gcc_files += "/usr/share/man/man1/gcov.1.gz" + +gcc-fortran-32bit_files = "" +gcc-fortran-32bit_files += "README" + +libstdc++-devel_files = "" +libstdc++-devel_files += "README" + +gcc-ada_files = "" +gcc-ada_files += "/usr/bin/gnat" +gcc-ada_files += "/usr/bin/gnatbind" +gcc-ada_files += "/usr/bin/gnatbl" +gcc-ada_files += "/usr/bin/gnatchop" +gcc-ada_files += "/usr/bin/gnatclean" +gcc-ada_files += "/usr/bin/gnatfind" +gcc-ada_files += "/usr/bin/gnatkr" +gcc-ada_files += "/usr/bin/gnatlink" +gcc-ada_files += "/usr/bin/gnatls" +gcc-ada_files += "/usr/bin/gnatmake" +gcc-ada_files += "/usr/bin/gnatname" +gcc-ada_files += "/usr/bin/gnatprep" +gcc-ada_files += "/usr/bin/gnatxref" +gcc-ada_files += "/usr/bin/gprmake" + +gcc-gij-32bit_files = "" +gcc-gij-32bit_files += "/usr/bin/gij32" +gcc-gij-32bit_files += "/usr/bin/grmiregistry32" + +gcc-32bit_files = "" +gcc-32bit_files += "README" + +gcc-gij_files = "" +gcc-gij_files += "/usr/bin/gij" +gcc-gij_files += "/usr/bin/gappletviewer" +gcc-gij_files += "/usr/bin/gjar" +gcc-gij_files += "/usr/bin/gjarsigner" +gcc-gij_files += "/usr/bin/gjavah" +gcc-gij_files += "/usr/bin/gkeytool" +gcc-gij_files += "/usr/bin/gnative2ascii" +gcc-gij_files += "/usr/bin/gorbd" +gcc-gij_files += "/usr/bin/grmic" +gcc-gij_files += "/usr/bin/grmid" +gcc-gij_files += "/usr/bin/grmiregistry" +gcc-gij_files += "/usr/bin/gserialver" +gcc-gij_files += "/usr/bin/gtnameserv" +gcc-gij_files += "/usr/share/man/man1/gij.1.gz" +gcc-gij_files += "/usr/share/man/man1/gappletviewer.1.gz" +gcc-gij_files += "/usr/share/man/man1/gjar.1.gz" +gcc-gij_files += "/usr/share/man/man1/gjarsigner.1.gz" +gcc-gij_files += "/usr/share/man/man1/gjavah.1.gz" +gcc-gij_files += "/usr/share/man/man1/gkeytool.1.gz" +gcc-gij_files += "/usr/share/man/man1/gnative2ascii.1.gz" +gcc-gij_files += "/usr/share/man/man1/gorbd.1.gz" +gcc-gij_files += "/usr/share/man/man1/grmic.1.gz" +gcc-gij_files += "/usr/share/man/man1/grmid.1.gz" +gcc-gij_files += "/usr/share/man/man1/grmiregistry.1.gz" +gcc-gij_files += "/usr/share/man/man1/gserialver.1.gz" +gcc-gij_files += "/usr/share/man/man1/gtnameserv.1.gz" + +gcc-objc_files = "" +gcc-objc_files += "README" + +gcc-info_files = "" +gcc-info_files += "README" + +gcc-obj-c++_files = "" +gcc-obj-c++_files += "README" + +gcc-objc-32bit_files = "" +gcc-objc-32bit_files += "README" + +gcc-java_files = "" +gcc-java_files += "/usr/bin/gcj" +gcc-java_files += "/usr/bin/gcjh" +gcc-java_files += "/usr/bin/gcj-dbtool" +gcc-java_files += "/usr/bin/jcf-dump" +gcc-java_files += "/usr/bin/jv-convert" +gcc-java_files += "/usr/bin/gc-analyze" +gcc-java_files += "/usr/share/man/man1/gcj.1.gz" +gcc-java_files += "/usr/share/man/man1/gcjh.1.gz" +gcc-java_files += "/usr/share/man/man1/gcj-dbtool.1.gz" +gcc-java_files += "/usr/share/man/man1/jcf-dump.1.gz" +gcc-java_files += "/usr/share/man/man1/jv-convert.1.gz" +gcc-java_files += "/usr/share/man/man1/gc-analyze.1.gz" + +cpp_files = "" +cpp_files += "/lib/cpp" +cpp_files += "/usr/bin/cpp" +cpp_files += "/usr/share/man/man1/cpp.1.gz" + +libgcj-devel_files = "" +libgcj-devel_files += "README" + +gcc-c++_files = "" +gcc-c++_files += "/usr/bin/g++" +gcc-c++_files += "/usr/bin/c++" +gcc-c++_files += "/usr/share/man/man1/g++.1.gz" +gcc-c++_files += "/usr/share/man/man1/c++.1.gz" + +gcc-c++-32bit_files = "" +gcc-c++-32bit_files += "README" + +gcc-locale_files = "" +gcc-locale_files += "README" + +gcc-fortran_files = "" +gcc-fortran_files += "/usr/bin/gfortran" +gcc-fortran_files += "/usr/share/man/man1/gfortran.1.gz" + +FILES_${PN} = "${gcc_files}" +FILES_${PN}-fortran-32bit = "${gcc-fortran-32bit_files}" +FILES_libstdc++-devel = "${libstdc++-devel_files}" +FILES_${PN}-ada = "${gcc-ada_files}" +FILES_${PN}-gij-32bit = "${gcc-gij-32bit_files}" +FILES_${PN}-32bit = "${gcc-32bit_files}" +FILES_${PN}-gij = "${gcc-gij_files}" +FILES_${PN}-objc = "${gcc-objc_files}" +FILES_${PN}-info = "${gcc-info_files}" +FILES_${PN}-obj-c++ = "${gcc-obj-c++_files}" +FILES_${PN}-objc-32bit = "${gcc-objc-32bit_files}" +FILES_${PN}-java = "${gcc-java_files}" +FILES_cpp = "${cpp_files}" +FILES_libgcj-devel = "${libgcj-devel_files}" +FILES_${PN}-c++ = "${gcc-c++_files}" +FILES_${PN}-c++-32bit = "${gcc-c++-32bit_files}" +FILES_${PN}-locale = "${gcc-locale_files}" +FILES_${PN}-fortran = "${gcc-fortran_files}" + +PKG_gcc= "gcc" +PKG_gcc-fortran-32bit= "gcc-fortran-32bit" +PKG_libstdc++-devel= "libstdc++-devel" +PKG_gcc-ada= "gcc-ada" +PKG_gcc-gij-32bit= "gcc-gij-32bit" +PKG_gcc-32bit= "gcc-32bit" +PKG_gcc-gij= "gcc-gij" +PKG_gcc-objc= "gcc-objc" +PKG_gcc-info= "gcc-info" +PKG_gcc-obj-c++= "gcc-obj-c++" +PKG_gcc-objc-32bit= "gcc-objc-32bit" +PKG_gcc-java= "gcc-java" +PKG_cpp= "cpp" +PKG_libgcj-devel= "libgcj-devel" +PKG_gcc-c++= "gcc-c++" +PKG_gcc-c++-32bit= "gcc-c++-32bit" +PKG_gcc-locale= "gcc-locale" +PKG_gcc-fortran= "gcc-fortran" + +require gcc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gcc48/gcc48-extraconf.inc b/meta-tizen/recipes-tizen/gcc48/gcc48-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gcc48/gcc48-native_git.bb b/meta-tizen/recipes-tizen/gcc48/gcc48-native_git.bb new file mode 100644 index 0000000..7d7b448 --- /dev/null +++ b/meta-tizen/recipes-tizen/gcc48/gcc48-native_git.bb @@ -0,0 +1,12 @@ +require gcc48.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcc48;protocol=ssh;tag=135d550e26f7e477fff0c48f94ddc38cfa8d3028;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gcc48/gcc48.inc b/meta-tizen/recipes-tizen/gcc48/gcc48.inc new file mode 100644 index 0000000..8c931de --- /dev/null +++ b/meta-tizen/recipes-tizen/gcc48/gcc48.inc @@ -0,0 +1,1115 @@ +DESCRIPTION = "The GNU C Compiler and Support Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Toolchain" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gcc48-info +PROVIDES += "gcc48-info" +RPROVIDES_gcc48-info += "gcc48-info" + +#PROVIDES by libquadmath-64bit +PROVIDES += "libquadmath-64bit" +RPROVIDES_libquadmath-64bit += "libquadmath-64bit" +# the PROVIDES rules is ignore "libquadmath-64bit = 4.8.2-1" +PROVIDES += "libquadmath-64bit" +RPROVIDES_libquadmath-64bit += "libquadmath-64bit" + +#PROVIDES by libstdc++48-devel +PROVIDES += "libstdc++48-devel" +RPROVIDES_libstdc++48-devel += "libstdc++48-devel" +RPROVIDES_libstdc++48-devel += "libstdc++48-dev" + +#PROVIDES by libffi-32bit +PROVIDES += "libffi-32bit" +RPROVIDES_libffi-32bit += "libffi-32bit" + +#PROVIDES by libatomic-32bit +PROVIDES += "libatomic-32bit" +RPROVIDES_libatomic-32bit += "libatomic-32bit" + +#PROVIDES by libasan-32bit +PROVIDES += "libasan-32bit" +RPROVIDES_libasan-32bit += "libasan-32bit" + +#PROVIDES by libffi-64bit +PROVIDES += "libffi-64bit" +RPROVIDES_libffi-64bit += "libffi-64bit" + +#PROVIDES by libatomic +PROVIDES += "libatomic" +RPROVIDES_libatomic += "libatomic" + +#PROVIDES by gcc48-locale +PROVIDES += "gcc48-locale" +RPROVIDES_gcc48-locale += "gcc48-locale" + +#PROVIDES by libgcc_s1-64bit +PROVIDES += "libgcc_s1-64bit" +RPROVIDES_libgcc_s1-64bit += "libgcc_s1-64bit" +# the PROVIDES rules is ignore "libgcc_s1-64bit = 4.8.2-1" +PROVIDES += "libgcc_s1-64bit" +RPROVIDES_libgcc_s1-64bit += "libgcc_s1-64bit" + +#PROVIDES by libstdc++ +PROVIDES += "libstdc++" +RPROVIDES_libstdc++ += "libstdc++" +# the PROVIDES rules is ignore "libstdc++ = 4.8.2-1" +PROVIDES += "libstdc++" +RPROVIDES_libstdc++ += "libstdc++" + +#PROVIDES by gcc48-java +PROVIDES += "gcc48-java" +RPROVIDES_gcc48-java += "gcc48-java" + +#PROVIDES by gcc48-ada +PROVIDES += "gcc48-ada" +RPROVIDES_gcc48-ada += "gcc48-ada" + +#PROVIDES by libgomp-64bit +PROVIDES += "libgomp-64bit" +RPROVIDES_libgomp-64bit += "libgomp-64bit" +# the PROVIDES rules is ignore "libgomp-64bit = 4.8.2-1" +PROVIDES += "libgomp-64bit" +RPROVIDES_libgomp-64bit += "libgomp-64bit" + +#PROVIDES by libstdc++48-doc +PROVIDES += "libstdc++48-doc" +RPROVIDES_libstdc++48-doc += "libstdc++48-doc" + +#PROVIDES by libitm +PROVIDES += "libitm" +RPROVIDES_libitm += "libitm" + +#PROVIDES by libffi48-devel-64bit +PROVIDES += "libffi48-devel-64bit" +RPROVIDES_libffi48-devel-64bit += "libffi48-devel-64bit" +RPROVIDES_libffi48-devel-64bit += "libffi48-dev" + +#PROVIDES by libmudflap48 +PROVIDES += "libmudflap48" +RPROVIDES_libmudflap48 += "libmudflap48" + +#PROVIDES by libgcj48 +PROVIDES += "libgcj48" +RPROVIDES_libgcj48 += "libgcj48" + +#PROVIDES by libgfortran +PROVIDES += "libgfortran" +RPROVIDES_libgfortran += "libgfortran" +# the PROVIDES rules is ignore "libgfortran = 4.8.2-1" +PROVIDES += "libgfortran" +RPROVIDES_libgfortran += "libgfortran" + +#PROVIDES by libobjc-32bit +PROVIDES += "libobjc-32bit" +RPROVIDES_libobjc-32bit += "libobjc-32bit" +# the PROVIDES rules is ignore "libobjc-32bit = 4.8.2-1" +PROVIDES += "libobjc-32bit" +RPROVIDES_libobjc-32bit += "libobjc-32bit" + +#PROVIDES by libada48-32bit +PROVIDES += "libada48-32bit" +RPROVIDES_libada48-32bit += "libada48-32bit" + +#PROVIDES by libquadmath-32bit +PROVIDES += "libquadmath-32bit" +RPROVIDES_libquadmath-32bit += "libquadmath-32bit" +# the PROVIDES rules is ignore "libquadmath-32bit = 4.8.2-1" +PROVIDES += "libquadmath-32bit" +RPROVIDES_libquadmath-32bit += "libquadmath-32bit" + +#PROVIDES by libmudflap48-32bit +PROVIDES += "libmudflap48-32bit" +RPROVIDES_libmudflap48-32bit += "libmudflap48-32bit" + +#PROVIDES by gcc48-c++ +PROVIDES += "gcc48-c++" +RPROVIDES_gcc48-c++ += "gcc48-c++" + +#PROVIDES by libitm-32bit +PROVIDES += "libitm-32bit" +RPROVIDES_libitm-32bit += "libitm-32bit" + +#PROVIDES by gcc48-fortran-32bit +PROVIDES += "gcc48-fortran-32bit" +RPROVIDES_gcc48-fortran-32bit += "gcc48-fortran-32bit" + +#PROVIDES by gcc48-fortran-64bit +PROVIDES += "gcc48-fortran-64bit" +RPROVIDES_gcc48-fortran-64bit += "gcc48-fortran-64bit" + +#PROVIDES by cpp48 +PROVIDES += "cpp48" +RPROVIDES_cpp48 += "cpp48" + +#PROVIDES by gcc48-ada-64bit +PROVIDES += "gcc48-ada-64bit" +RPROVIDES_gcc48-ada-64bit += "gcc48-ada-64bit" + +#PROVIDES by libmudflap48-64bit +PROVIDES += "libmudflap48-64bit" +RPROVIDES_libmudflap48-64bit += "libmudflap48-64bit" + +#PROVIDES by libstdc++-64bit +PROVIDES += "libstdc++-64bit" +RPROVIDES_libstdc++-64bit += "libstdc++-64bit" +# the PROVIDES rules is ignore "libstdc++-64bit = 4.8.2-1" +PROVIDES += "libstdc++-64bit" +RPROVIDES_libstdc++-64bit += "libstdc++-64bit" + +#PROVIDES by libatomic-64bit +PROVIDES += "libatomic-64bit" +RPROVIDES_libatomic-64bit += "libatomic-64bit" + +#PROVIDES by gcc48 +PROVIDES += "gcc48" +RPROVIDES_gcc48 += "gcc48" + +#PROVIDES by libgcj48-jar +PROVIDES += "libgcj48-jar" +RPROVIDES_libgcj48-jar += "libgcj48-jar" + +#PROVIDES by libgcj48-devel +PROVIDES += "libgcj48-devel" +RPROVIDES_libgcj48-devel += "libgcj48-devel" +RPROVIDES_libgcj48-devel += "libgcj48-dev" + +#PROVIDES by libobjc-64bit +PROVIDES += "libobjc-64bit" +RPROVIDES_libobjc-64bit += "libobjc-64bit" +# the PROVIDES rules is ignore "libobjc-64bit = 4.8.2-1" +PROVIDES += "libobjc-64bit" +RPROVIDES_libobjc-64bit += "libobjc-64bit" + +#PROVIDES by gcc48-obj-c++ +PROVIDES += "gcc48-obj-c++" +RPROVIDES_gcc48-obj-c++ += "gcc48-obj-c++" + +#PROVIDES by gcc48-32bit +PROVIDES += "gcc48-32bit" +RPROVIDES_gcc48-32bit += "gcc48-32bit" + +#PROVIDES by libobjc +PROVIDES += "libobjc" +RPROVIDES_libobjc += "libobjc" +# the PROVIDES rules is ignore "libobjc = 4.8.2-1" +PROVIDES += "libobjc" +RPROVIDES_libobjc += "libobjc" + +#PROVIDES by libgcc_s1 +PROVIDES += "libgcc_s1" +RPROVIDES_libgcc_s1 += "libgcc_s1" +# the PROVIDES rules is ignore "libgcc_s1 = 4.8.2-1" +PROVIDES += "libgcc_s1" +RPROVIDES_libgcc_s1 += "libgcc_s1" + +#PROVIDES by libstdc++48-devel-64bit +PROVIDES += "libstdc++48-devel-64bit" +RPROVIDES_libstdc++48-devel-64bit += "libstdc++48-devel-64bit" +RPROVIDES_libstdc++48-devel-64bit += "libstdc++48-dev" + +#PROVIDES by libgcc_s1-32bit +PROVIDES += "libgcc_s1-32bit" +RPROVIDES_libgcc_s1-32bit += "libgcc_s1-32bit" +# the PROVIDES rules is ignore "libgcc_s1-32bit = 4.8.2-1" +PROVIDES += "libgcc_s1-32bit" +RPROVIDES_libgcc_s1-32bit += "libgcc_s1-32bit" + +#PROVIDES by libtsan-64bit +PROVIDES += "libtsan-64bit" +RPROVIDES_libtsan-64bit += "libtsan-64bit" + +#PROVIDES by libstdc++-locale +PROVIDES += "libstdc++-locale" +RPROVIDES_libstdc++-locale += "libstdc++-locale" +# the PROVIDES rules is ignore "libstdc++-locale = 4.8.2-1" +PROVIDES += "libstdc++-locale" +RPROVIDES_libstdc++-locale += "libstdc++-locale" + +#PROVIDES by gcc48-testresults +PROVIDES += "gcc48-testresults" +RPROVIDES_gcc48-testresults += "gcc48-testresults" + +#PROVIDES by libffi48-devel +PROVIDES += "libffi48-devel" +RPROVIDES_libffi48-devel += "libffi48-devel" +RPROVIDES_libffi48-devel += "libffi48-dev" + +#PROVIDES by libada48 +PROVIDES += "libada48" +RPROVIDES_libada48 += "libada48" + +#PROVIDES by libada48-64bit +PROVIDES += "libada48-64bit" +RPROVIDES_libada48-64bit += "libada48-64bit" + +#PROVIDES by gcc48-objc-64bit +PROVIDES += "gcc48-objc-64bit" +RPROVIDES_gcc48-objc-64bit += "gcc48-objc-64bit" + +#PROVIDES by gcc48-objc +PROVIDES += "gcc48-objc" +RPROVIDES_gcc48-objc += "gcc48-objc" + +#PROVIDES by libitm-64bit +PROVIDES += "libitm-64bit" +RPROVIDES_libitm-64bit += "libitm-64bit" + +#PROVIDES by libffi48-devel-32bit +PROVIDES += "libffi48-devel-32bit" +RPROVIDES_libffi48-devel-32bit += "libffi48-devel-32bit" +RPROVIDES_libffi48-devel-32bit += "libffi48-dev" + +#PROVIDES by gcc48-gij +PROVIDES += "gcc48-gij" +RPROVIDES_gcc48-gij += "gcc48-gij" + +#PROVIDES by libasan +PROVIDES += "libasan" +RPROVIDES_libasan += "libasan" + +#PROVIDES by libffi +PROVIDES += "libffi" +RPROVIDES_libffi += "libffi" + +#PROVIDES by libtsan-32bit +PROVIDES += "libtsan-32bit" +RPROVIDES_libtsan-32bit += "libtsan-32bit" + +#PROVIDES by gcc48-64bit +PROVIDES += "gcc48-64bit" +RPROVIDES_gcc48-64bit += "gcc48-64bit" + +#PROVIDES by gcc48-objc-32bit +PROVIDES += "gcc48-objc-32bit" +RPROVIDES_gcc48-objc-32bit += "gcc48-objc-32bit" + +#PROVIDES by libgomp-32bit +PROVIDES += "libgomp-32bit" +RPROVIDES_libgomp-32bit += "libgomp-32bit" +# the PROVIDES rules is ignore "libgomp-32bit = 4.8.2-1" +PROVIDES += "libgomp-32bit" +RPROVIDES_libgomp-32bit += "libgomp-32bit" + +#PROVIDES by libquadmath +PROVIDES += "libquadmath" +RPROVIDES_libquadmath += "libquadmath" +# the PROVIDES rules is ignore "libquadmath = 4.8.2-1" +PROVIDES += "libquadmath" +RPROVIDES_libquadmath += "libquadmath" + +#PROVIDES by libgfortran-32bit +PROVIDES += "libgfortran-32bit" +RPROVIDES_libgfortran-32bit += "libgfortran-32bit" +# the PROVIDES rules is ignore "libgfortran-32bit = 4.8.2-1" +PROVIDES += "libgfortran-32bit" +RPROVIDES_libgfortran-32bit += "libgfortran-32bit" + +#PROVIDES by libtsan +PROVIDES += "libtsan" +RPROVIDES_libtsan += "libtsan" + +#PROVIDES by libgfortran-64bit +PROVIDES += "libgfortran-64bit" +RPROVIDES_libgfortran-64bit += "libgfortran-64bit" +# the PROVIDES rules is ignore "libgfortran-64bit = 4.8.2-1" +PROVIDES += "libgfortran-64bit" +RPROVIDES_libgfortran-64bit += "libgfortran-64bit" + +#PROVIDES by libstdc++48-devel-32bit +PROVIDES += "libstdc++48-devel-32bit" +RPROVIDES_libstdc++48-devel-32bit += "libstdc++48-devel-32bit" +RPROVIDES_libstdc++48-devel-32bit += "libstdc++48-dev" + +#PROVIDES by libasan-64bit +PROVIDES += "libasan-64bit" +RPROVIDES_libasan-64bit += "libasan-64bit" + +#PROVIDES by libgomp +PROVIDES += "libgomp" +RPROVIDES_libgomp += "libgomp" +# the PROVIDES rules is ignore "libgomp = 4.8.2-1" +PROVIDES += "libgomp" +RPROVIDES_libgomp += "libgomp" + +#PROVIDES by libgcj_bc +PROVIDES += "libgcj_bc" +RPROVIDES_libgcj_bc += "libgcj_bc" +# the PROVIDES rules is ignore "libgcj_bc.so.()(64bit) " +PROVIDES += "libgcj_bc.so.()(64bit)" +RPROVIDES_libgcj_bc += "libgcj_bc.so.()(64bit)" + +#PROVIDES by gcc48-fortran +PROVIDES += "gcc48-fortran" +RPROVIDES_gcc48-fortran += "gcc48-fortran" + +#PROVIDES by gcc48-ada-32bit +PROVIDES += "gcc48-ada-32bit" +RPROVIDES_gcc48-ada-32bit += "gcc48-ada-32bit" + +#PROVIDES by libstdc++-32bit +PROVIDES += "libstdc++-32bit" +RPROVIDES_libstdc++-32bit += "libstdc++-32bit" +# the PROVIDES rules is ignore "libstdc++-32bit = 4.8.2-1" +PROVIDES += "libstdc++-32bit" +RPROVIDES_libstdc++-32bit += "libstdc++-32bit" + +RDEPENDS = "" +#RDEPENDS of gcc48-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "gcc48" + +#RDEPENDS of gcc48-java (${PN}-java) +RDEPENDS_${PN}-java += "gcc48" +RDEPENDS_${PN}-java += "libgcj48-dev" + +#RDEPENDS of gcc48-ada (${PN}-ada) +RDEPENDS_${PN}-ada += "gcc48" +RDEPENDS_${PN}-ada += "libada48" + +#RDEPENDS of libstdc++48-devel (libstdc++48-devel) +RDEPENDS_libstdc++48-devel += "libstdc++" +RDEPENDS_libstdc++48-devel += "glibc-dev" + +#RDEPENDS of libffi48-devel-64bit (libffi48-devel-64bit) +RDEPENDS_libffi48-devel-64bit += "libffi-64bit" + +#RDEPENDS of libgfortran (libgfortran) +RDEPENDS_libgfortran += "libquadmath" + +#RDEPENDS of gcc48-c++ (${PN}-c++) +RDEPENDS_${PN}-c++ += "gcc48" +RDEPENDS_${PN}-c++ += "libstdc++48-dev" + +#RDEPENDS of gcc48-fortran-32bit (${PN}-fortran-32bit) +RDEPENDS_${PN}-fortran-32bit += "gcc48" +RDEPENDS_${PN}-fortran-32bit += "libgfortran-32bit" +RDEPENDS_${PN}-fortran-32bit += "libquadmath-32bit" + +#RDEPENDS of gcc48-fortran-64bit (${PN}-fortran-64bit) +RDEPENDS_${PN}-fortran-64bit += "gcc48" +RDEPENDS_${PN}-fortran-64bit += "libquadmath-64bit" +RDEPENDS_${PN}-fortran-64bit += "libgfortran-64bit" + +#RDEPENDS of gcc48-ada-64bit (${PN}-ada-64bit) +RDEPENDS_${PN}-ada-64bit += "libada48-64bit" +RDEPENDS_${PN}-ada-64bit += "gcc48-64bit" + +#RDEPENDS of gcc48-objc-64bit (${PN}-objc-64bit) +RDEPENDS_${PN}-objc-64bit += "gcc48" +RDEPENDS_${PN}-objc-64bit += "libobjc-64bit" + +#RDEPENDS of gcc48-obj-c++ (${PN}-obj-c++) +RDEPENDS_${PN}-obj-c++ += "gcc48-objc" +RDEPENDS_${PN}-obj-c++ += "gcc48-c++" + +#RDEPENDS of gcc48-32bit (${PN}-32bit) +RDEPENDS_${PN}-32bit += "gcc48" +RDEPENDS_${PN}-32bit += "libgomp-32bit" +RDEPENDS_${PN}-32bit += "glibc-dev" +RDEPENDS_${PN}-32bit += "libgcc_s1-32bit" + +#RDEPENDS of libstdc++48-devel-64bit (libstdc++48-devel-64bit) +RDEPENDS_libstdc++48-devel-64bit += "glibc-dev" +RDEPENDS_libstdc++48-devel-64bit += "libstdc++-64bit" + +#RDEPENDS of libffi48-devel (libffi48-devel) +RDEPENDS_libffi48-devel += "libffi" + +#RDEPENDS of gcc48-objc (${PN}-objc) +RDEPENDS_${PN}-objc += "gcc48" +RDEPENDS_${PN}-objc += "libobjc" + +#RDEPENDS of libffi48-devel-32bit (libffi48-devel-32bit) +RDEPENDS_libffi48-devel-32bit += "libffi-32bit" + +#RDEPENDS of gcc48-gij (${PN}-gij) +RDEPENDS_${PN}-gij += "libgcj" + +#RDEPENDS of gcc48 (${PN}) +RDEPENDS_${PN} += "libgcc_s1" +RDEPENDS_${PN} += "glibc-dev" +RDEPENDS_${PN} += "libatomic" +RDEPENDS_${PN} += "libgomp" +RDEPENDS_${PN} += "cpp48" +RDEPENDS_${PN} += "libasan" +RDEPENDS_${PN} += "libitm" +RDEPENDS_${PN} += "libtsan" +RDEPENDS_${PN} += "binutils" + +#RDEPENDS of gcc48-64bit (${PN}-64bit) +RDEPENDS_${PN}-64bit += "gcc48" +RDEPENDS_${PN}-64bit += "glibc-dev" +RDEPENDS_${PN}-64bit += "libgomp-64bit" +RDEPENDS_${PN}-64bit += "libgcc_s1-64bit" + +#RDEPENDS of gcc48-objc-32bit (${PN}-objc-32bit) +RDEPENDS_${PN}-objc-32bit += "gcc48" +RDEPENDS_${PN}-objc-32bit += "libobjc-32bit" + +#RDEPENDS of libgfortran-64bit (libgfortran-64bit) +RDEPENDS_libgfortran-64bit += "libquadmath-64bit" + +#RDEPENDS of libgfortran-32bit (libgfortran-32bit) +RDEPENDS_libgfortran-32bit += "libquadmath-32bit" + +#RDEPENDS of libgcj48-devel (libgcj48-devel) +RDEPENDS_libgcj48-devel += "zlib-dev" +RDEPENDS_libgcj48-devel += "glibc-dev" +RDEPENDS_libgcj48-devel += "gtk2-dev" +RDEPENDS_libgcj48-devel += "libart_lgpl-dev" +RDEPENDS_libgcj48-devel += "libgcj_bc" +RDEPENDS_libgcj48-devel += "libstdc++48-dev" +RDEPENDS_libgcj48-devel += "libgcj48-jar" +RDEPENDS_libgcj48-devel += "libgcj" + +#RDEPENDS of libstdc++48-devel-32bit (libstdc++48-devel-32bit) +RDEPENDS_libstdc++48-devel-32bit += "glibc-dev" +RDEPENDS_libstdc++48-devel-32bit += "libstdc++-32bit" + +#RDEPENDS of libgcj_bc (libgcj_bc) +RDEPENDS_libgcj_bc += "libgcj" + +#RDEPENDS of gcc48-fortran (${PN}-fortran) +RDEPENDS_${PN}-fortran += "gcc48" +RDEPENDS_${PN}-fortran += "libquadmath" +RDEPENDS_${PN}-fortran += "libgfortran" + +#RDEPENDS of gcc48-ada-32bit (${PN}-ada-32bit) +RDEPENDS_${PN}-ada-32bit += "libada48-32bit" +RDEPENDS_${PN}-ada-32bit += "gcc48-32bit" + + +DEPENDS = "" +#DEPENDS of gcc48 +DEPENDS += "zlib-devel" +DEPENDS += "flex" +DEPENDS += "gcc-cross" +DEPENDS += "cloog-isl" +inherit perlnative +DEPENDS += "isl-devel" +DEPENDS += "bison-native" +DEPENDS += "mpc-devel" +DEPENDS += "mpfr-devel" +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gcc-4.8.2 + + + # We are configuring ppc as ppc64 but with switched multilibs. Adjust + # the libstdc++ abi testsuite baseline files accordingly + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Avoid rebuilding of generated files + contrib/gcc_update --touch + # Avoid fucking up testsuite results with Java and indirect dispatch + export LD_AS_NEEDED=0 + # Split version file into version used for directories (X.Y) and + # version to report with --version (X.Y.Z). + # See also gcc-dir-version.patch. + # Also decrement the patchlevel version by one + if test `cat gcc/DEV-PHASE` == "prerelease"; then + ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER + else + mv gcc/BASE-VER gcc/FULL-VER + fi + cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER + + rm -rf obj-i586-tizen-linux + mkdir obj-i586-tizen-linux + cd obj-i586-tizen-linux + RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE" + RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'` + # Replace 2 spaces by one finally + RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'` + + languages=c + languages=$languages,c++ + + J=16 + if test -z "$J"; then + J=$(getconf _NPROCESSORS_CONF) + JL=$(($J * 2)) + else + test 1 -gt "$J" && J=1 + JL=$(($(getconf _NPROCESSORS_CONF)*2)) + fi + if test "$J" == "0"; then + J=1 + fi + if test "$JL" == "0"; then + JL=1 + fi + PARALLEL="-j$J -l$JL" + + # we don't want some miscompiles in the testsuite, or some fault in + # the compiler to kill the machine. Hence we limit the amount of memory + # by the physical RAM plus half of swap + #MEM=$(free -m | awk '/^Mem:/ {print $2}') + #SWAP=$(free -m | awk '/^Swap:/ {print $2}') + #ulimit -v $(((MEM + SWAP/2)*1024)) + + # In general we want to ship release checking enabled compilers + # and run BETA with checking enabled. + #ENABLE_CHECKING="--enable-checking=yes" + ENABLE_CHECKING="--enable-checking=release" + + # Work around tail/head -1 changes + export _POSIX2_VERSION=199209 + + # configure tries to parse include/features.h to detect + # if glibc supports SSP. When cross compiling we would need + # to install a cross glibc, which we don't, or make the whole + # thing point to the native glibc, which is in /, hence the + # --with-build-sysroot=/ + + #%if 0 && 01 + #%else + # --enable-threads=posix \ + #%endif + # --enable-shared \ + CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \ + TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ + ../configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --disable-bootstrap \ + --enable-languages=$languages \ + $ENABLE_CHECKING \ + --with-gxx-include-dir=/usr/include/c++/4.8 \ + --enable-ssp \ + --disable-libssp \ + --disable-plugin \ + --with-bugurl="http://bugs.tizen.org/" \ + --with-pkgversion="Tizen" \ + --disable-libquadmath \ + --disable-libgcj \ + --disable-libmudflap \ + --with-slibdir=/lib \ + --with-system-zlib \ + --enable-__cxa_atexit \ + --enable-libstdcxx-allocator=new \ + --disable-libstdcxx-pch \ + --enable-version-specific-runtime-libs \ + --enable-linker-build-id \ + --program-suffix=-4.8 \ + --enable-linux-futex \ + --without-system-libunwind \ + --with-arch-32=i586 \ + --with-tune=generic \ + --build=i586-tizen-linux + + + STAGE1_FLAGS="-g" + # Only run profiled bootstrap on archs where it works + #%ifarch i386 i486 i586 i686 pentium3 pentium4 athlon geode x86_64 ppc ppc64 ia64 + #make profiledbootstrap-lean STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL + #%else + #make bootstrap-lean STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL + make STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL + #%endif + #make -C gcc proto + make info + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + export NO_BRP_CHECK_BYTECODE_VERSION=true + cd obj-i586-tizen-linux + # Work around tail/head -1 changes + export _POSIX2_VERSION=199209 + export LIBRARY_PATH=$RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8:$RPM_BUILD_ROOT/usr/lib + make install DESTDIR=$RPM_BUILD_ROOT + + # Remove libffi installed files if we did not want to build it + rm -f $RPM_BUILD_ROOT/usr/lib/libffi.* + rm -f $RPM_BUILD_ROOT/usr/lib/libffi.* + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include/ffi.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include/ffitarget.h + rm -f $RPM_BUILD_ROOT/usr/share/man/man3/ffi-4.8.3* + rm -f $RPM_BUILD_ROOT/usr/share/man/man3/ffi_call-4.8.3* + rm -f $RPM_BUILD_ROOT/usr/share/man/man3/ffi_prep_cif-4.8.3* + rm -f $RPM_BUILD_ROOT/usr/share/man/man3/ffi_prep_cif_var-4.8.3* + + # Remove some useless .la files + for lib in libobjc libgfortran libgfortranbegin libquadmath libcaf_single \ + libmudflap libmudflapth libgomp libstdc++ libsupc++ libgcj-tools libgij \ + libasan libatomic libitm libtsan; do + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/$lib.la + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/$lib.la + done + + mkdir -p $RPM_BUILD_ROOT/usr/lib + mkdir -p $RPM_BUILD_ROOT/usr/lib + + # Merge multilib c++config.h to allow omitting the duplicate and + # identical other arch specific headers + dir_ml= + cxxconfig="`find i586-tizen-linux/libstdc++-v3/include -name c++config.h`" + for i in `find i586-tizen-linux/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do + if ! diff -up $cxxconfig $i; then + file_32=x + file_64=x + case $i in + i586-tizen-linux/32/*) + file_32=$i + file_64=$cxxconfig + dir_ml=32 + ;; + i586-tizen-linux/64/*) + file_32=$cxxconfig + file_64=$i + dir_ml=64 + ;; + esac + if ! ( test -f "$file_32" && test -f "$file_64" ); then + echo "Urgs?" + exit 1 + fi + + cat > $RPM_BUILD_ROOT/usr/include/c++/4.8/i586-tizen-linux/bits/c++config.h < + #if __WORDSIZE == 32 + `cat $file_32` + #else + `cat $file_64` + #endif + #endif + EOF + break + fi + done + rm -rf $RPM_BUILD_ROOT/usr/include/c++/4.8/i586-tizen-linux/[36]* + if ! test -z "$dir_ml"; then + ln -s . $RPM_BUILD_ROOT/usr/include/c++/4.8/i586-tizen-linux/$dir_ml + fi + + # move shared libs from versionspecific dir to main libdir + for libname in \ + libstdc++ \ + libgomp \ + libatomic \ + libitm \ + libasan \ + libtsan \ + ; do + for lib in `find $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8 -maxdepth 1 -name $libname.so.*`; do + mv $lib $RPM_BUILD_ROOT/usr/lib/ + done + ln -sf /usr/lib/`readlink $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \ + $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/$libname.so + if test -d $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32; then + for lib in `find $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32 -maxdepth 1 -name "$libname.so.*"`; do + mv $lib $RPM_BUILD_ROOT/usr/lib/ + done + ln -sf /usr/lib/`readlink $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \ + $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/$libname.so + fi + done + # FIXME, tsan is not multilib + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/libtsan.so + # And we want to move the shlib gdb pretty printers to a more sane + # place so ldconfig does not complain + mkdir -p $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib + mv $RPM_BUILD_ROOT/usr/lib/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib/ + sed -i -e '/^libdir/s/\/gcc\/i586-tizen-linux\/4.8//g' $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib/libstdc++.so.*-gdb.py + if test -d $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32; then + mkdir -p $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib + mv $RPM_BUILD_ROOT/usr/lib/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib/ + sed -i -e '/^libdir/s/\/gcc\/i586-tizen-linux\/4.8//g' $RPM_BUILD_ROOT/usr/share/gdb/auto-load/usr/lib/libstdc++.so.*-gdb.py + fi + + # Move libgcc_s around + if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so + ln -sf /lib/libgcc_s.so.1 $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/libgcc_s.so + else + mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/ + fi + chmod a+x $RPM_BUILD_ROOT/lib/libgcc_s.so.1 + if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so + ln -sf /lib/libgcc_s.so.1 $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/libgcc_s.so + else + mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/ + fi + ln -sf /usr/lib/gcc/i586-tizen-linux/4.8/32/libgcc_s.so $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/libgcc_s_32.so + chmod a+x $RPM_BUILD_ROOT/lib/libgcc_s.so.1 + + + + rm -f $RPM_BUILD_ROOT/usr/bin/c++-4.8 + + # Remove some crap from the .la files: + for l in `find $RPM_BUILD_ROOT -name '*.la'`; do + echo "changing $l" + # -e '/^dependency_libs/s|/usr/lib/gcc/i586-tizen-linux/4.8/\([^.]*\)\.la |/usr/lib/\1\.la |g' + sed -e '/^dependency_libs/s| -L${WORKDIR}/[^ ]*||g' \ + -e '/^dependency_libs/s| -L/usr/i586-tizen-linux/bin||g' \ + -e '/^dependency_libs/s|-lm \(-lm \)*|-lm |' \ + -e '/^dependency_libs/s|-L[^ ]* ||g' \ + -e '/^libdir/s|/usr/lib/32|/usr/lib|' \ + -e '/^libdir/s|lib64/\.\./||' \ + < $l > $l.new + mv $l.new $l + done + + # Find C++ and Java headers + find $RPM_BUILD_ROOT/usr/include/c++ \ + -regex ".*/\(org\|gcj\|gnu\|java\|javax\)" -prune \ + -o \( -type d -printf "%%dir " , \ + -printf "/usr/include/c++/%P\n" \) > ../c++-headers + # Remove files that we do not need to clean up filelist + rm -f $RPM_BUILD_ROOT/usr/bin/i586-tizen-linux-* + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/install-tools + #rm -rf $RPM_BUILD_ROOT/usr/lib/pkgconfig/libgcj-4.8.pc + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/root + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/curses.h + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/asm-* + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/linux + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/sound + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/features.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/ncurses.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/stdio.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/zutil.h + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/X11 + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/bits + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/obstack.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/spe.h + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/tgmath.h + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/bits + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/sys + # no plugins + rm -rf $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/plugin + rm -f $RPM_BUILD_ROOT/usr/share/info/dir + rm -f $RPM_BUILD_ROOT/usr/bin/gccbug-4.8 + + # delete compile flag tracking from crt files + crt_list=$RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/crt*.o + crt32_list=$RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/32/crt*.o + for o in $crt_list $crt32_list $crt64_list; do + objcopy -R ".comment.SUSE.OPTs" $o + done + + + + rm -f $RPM_BUILD_ROOT/usr/share/man/man7/fsf-funding.7 + rm -f $RPM_BUILD_ROOT/usr/share/man/man7/gfdl.7 + rm -f $RPM_BUILD_ROOT/usr/share/man/man7/gpl.7 + rm -f $RPM_BUILD_ROOT/usr/lib/libiberty.a + rm -f $RPM_BUILD_ROOT/usr/lib/libiberty.a + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/liblto_plugin.a + rm -f $RPM_BUILD_ROOT/usr/lib/gcc/i586-tizen-linux/4.8/liblto_plugin.la + + # For regular build, some info files do not get renamed properly. + # Do so here. + mv $RPM_BUILD_ROOT/usr/share/info/libgomp.info $RPM_BUILD_ROOT/usr/share/info/libgomp-4.8.info + mv $RPM_BUILD_ROOT/usr/share/info/libitm.info $RPM_BUILD_ROOT/usr/share/info/libitm-4.8.info + + cd .. + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} cpplib-4.8 + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gcc-4.8 + cat cpplib-4.8.lang gcc-4.8.lang > gcc48-locale.lang + + + +} + +PACKAGES = "" +PACKAGES += "libatomic-32bit" +PACKAGES += "libatomic" +PACKAGES += "gcc48-locale" +PACKAGES += "libstdc++" +PACKAGES += "libstdc++48-devel" +PACKAGES += "libstdc++48-doc" +PACKAGES += "libitm" +PACKAGES += "libgcc_s1" +PACKAGES += "gcc48-c++" +PACKAGES += "libitm-32bit" +PACKAGES += "gcc48-32bit" +PACKAGES += "gcc48" +PACKAGES += "libtsan" +PACKAGES += "gcc48-info" +PACKAGES += "libgcc_s1-32bit" +PACKAGES += "libstdc++-locale" +PACKAGES += "libstdc++-32bit" +PACKAGES += "libasan" +PACKAGES += "libgomp-32bit" +PACKAGES += "libstdc++48-devel-32bit" +PACKAGES += "libgomp" +PACKAGES += "cpp48" +PACKAGES += "libasan-32bit" + +libatomic-32bit_files = "" +libatomic-32bit_files += "/usr/lib/libatomic.so.*" + +libatomic_files = "" +libatomic_files += "/usr/lib/libatomic.so.*" + +gcc48-locale_files = "" + +libstdc++_files = "" +libstdc++_files += "/usr/lib/libstdc++.so.*" + +libstdc++48-devel_files = "" +libstdc++48-devel_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libstdc++.a" +libstdc++48-devel_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libstdc++.so" +libstdc++48-devel_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libsupc++.a" +libstdc++48-devel_files += "/usr/share/gdb" +libstdc++48-devel_files += "/usr/share/gdb/auto-load" +libstdc++48-devel_files += "/usr/share/gdb/auto-load/usr" +libstdc++48-devel_files += "/usr/share/gdb/auto-load/usr/lib" +libstdc++48-devel_files += "/usr/share/gdb/auto-load/usr/lib/libstdc++.so.*-gdb.py" +libstdc++48-devel_files += "/usr/share/gcc-4.8" + +libstdc++48-doc_files = "" +libstdc++48-doc_files += "libstdc++-v3/doc/html" + +libitm_files = "" +libitm_files += "/usr/lib/libitm.so.*" + +libgcc_s1_files = "" +libgcc_s1_files += "/lib/libgcc_s.so.1" + +gcc48-c++_files = "" +gcc48-c++_files += "/usr/lib/gcc" +gcc48-c++_files += "/usr/lib/gcc/i586-tizen-linux" +gcc48-c++_files += "/usr/lib/gcc/i586-tizen-linux/4.8" +gcc48-c++_files += "/usr/bin/g++-4.8" +gcc48-c++_files += "/usr/share/man/man1/g++-4.8.1.gz" +gcc48-c++_files += "/usr/lib/gcc/i586-tizen-linux/4.8/cc1plus" + +libitm-32bit_files = "" +libitm-32bit_files += "/usr/lib/libitm.so.*" + +gcc48-32bit_files = "" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/*crt*.o" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgcc*.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgcov.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgcc_s*.so" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgomp.so" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgomp.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libgomp.spec" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libitm.so" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libitm.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libitm.spec" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libatomic.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libatomic.so" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libasan.a" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libasan.so" +gcc48-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libasan_preinit.o" + +gcc48_files = "" +gcc48_files += "/usr/lib/gcc" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32" +gcc48_files += "/usr/bin/gcc-4.8" +gcc48_files += "/usr/bin/gcov-4.8" +gcc48_files += "/usr/bin/gcc-ar-4.8" +gcc48_files += "/usr/bin/gcc-nm-4.8" +gcc48_files += "/usr/bin/gcc-ranlib-4.8" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/collect2" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/lto1" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/lto-wrapper" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/liblto_plugin.so*" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/README" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/limits.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include-fixed/syslimits.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/omp.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/float.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/iso646.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdarg.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdbool.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdfix.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stddef.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/unwind.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/varargs.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdint.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdint-gcc.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdnoreturn.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/stdalign.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/cross-stdarg.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/cpuid.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/mm3dnow.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/mmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/ammintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/bmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/emmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/immintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/avxintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/pmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/xmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/tmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/nmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/smmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/wmmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/x86intrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/ia32intrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/mm_malloc.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/fma4intrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/xopintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/lwpintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/popcntintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/bmiintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/tbmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/avx2intrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/bmi2intrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/fmaintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/lzcntintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/f16cintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/adxintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/fxsrintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/prfchwintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/rdseedintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/rtmintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/xsaveintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/xsaveoptintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/include/xtestintrin.h" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/*crt*.o" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgcc*.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgcov.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgcc_s*.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgomp.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgomp.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libgomp.spec" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libitm.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libitm.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libitm.spec" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libatomic.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libatomic.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libasan.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libasan.a" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libasan_preinit.o" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libtsan.so" +gcc48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/libtsan.a" +gcc48_files += "/usr/share/man/man1/gcc-4.8.1.gz" +gcc48_files += "/usr/share/man/man1/gcov-4.8.1.gz" + +libtsan_files = "" +libtsan_files += "/usr/lib/libtsan.so.*" + +gcc48-info_files = "" +gcc48-info_files += "/usr/share/info/*.gz" + +libgcc_s1-32bit_files = "" +libgcc_s1-32bit_files += "/lib/libgcc_s.so.1" + +libstdc++-locale_files = "" + +libstdc++-32bit_files = "" +libstdc++-32bit_files += "/usr/lib/libstdc++.so.*" + +libasan_files = "" +libasan_files += "/usr/lib/libasan.so.*" + +libgomp-32bit_files = "" +libgomp-32bit_files += "/usr/lib/libgomp.so.*" + +libstdc++48-devel-32bit_files = "" +libstdc++48-devel-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libstdc++.a" +libstdc++48-devel-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libstdc++.so" +libstdc++48-devel-32bit_files += "/usr/lib/gcc/i586-tizen-linux/4.8/32/libsupc++.a" +libstdc++48-devel-32bit_files += "/usr/share/gdb/auto-load/usr/lib" +libstdc++48-devel-32bit_files += "/usr/share/gdb/auto-load/usr/lib/libstdc++.so.*-gdb.py" + +libgomp_files = "" +libgomp_files += "/usr/lib/libgomp.so.*" + +cpp48_files = "" +cpp48_files += "/usr/lib/gcc" +cpp48_files += "/usr/lib/gcc/i586-tizen-linux" +cpp48_files += "/usr/lib/gcc/i586-tizen-linux/4.8" +cpp48_files += "/usr/bin/cpp-4.8" +cpp48_files += "/usr/lib/gcc/i586-tizen-linux/4.8/cc1" +cpp48_files += "/usr/share/man/man1/cpp-4.8.1.gz" + +libasan-32bit_files = "" +libasan-32bit_files += "/usr/lib/libasan.so.*" + +FILES_libatomic-32bit = "${libatomic-32bit_files}" +FILES_libatomic = "${libatomic_files}" +FILES_${PN}-locale = "${gcc48-locale_files}" +FILES_libstdc++ = "${libstdc++_files}" +FILES_libstdc++48-devel = "${libstdc++48-devel_files}" +FILES_libstdc++48-doc = "${libstdc++48-doc_files}" +FILES_libitm = "${libitm_files}" +FILES_libgcc_s1 = "${libgcc_s1_files}" +FILES_${PN}-c++ = "${gcc48-c++_files}" +FILES_libitm-32bit = "${libitm-32bit_files}" +FILES_${PN}-32bit = "${gcc48-32bit_files}" +FILES_${PN} = "${gcc48_files}" +FILES_libtsan = "${libtsan_files}" +FILES_${PN}-info = "${gcc48-info_files}" +FILES_libgcc_s1-32bit = "${libgcc_s1-32bit_files}" +FILES_libstdc++-locale = "${libstdc++-locale_files}" +FILES_libstdc++-32bit = "${libstdc++-32bit_files}" +FILES_libasan = "${libasan_files}" +FILES_libgomp-32bit = "${libgomp-32bit_files}" +FILES_libstdc++48-devel-32bit = "${libstdc++48-devel-32bit_files}" +FILES_libgomp = "${libgomp_files}" +FILES_cpp48 = "${cpp48_files}" +FILES_libasan-32bit = "${libasan-32bit_files}" + +PKG_libatomic-32bit= "libatomic-32bit" +PKG_libatomic= "libatomic" +PKG_gcc48-locale= "gcc48-locale" +PKG_libstdc++= "libstdc++" +PKG_libstdc++48-devel= "libstdc++48-devel" +PKG_libstdc++48-doc= "libstdc++48-doc" +PKG_libitm= "libitm" +PKG_libgcc_s1= "libgcc_s1" +PKG_gcc48-c++= "gcc48-c++" +PKG_libitm-32bit= "libitm-32bit" +PKG_gcc48-32bit= "gcc48-32bit" +PKG_gcc48= "gcc48" +PKG_libtsan= "libtsan" +PKG_gcc48-info= "gcc48-info" +PKG_libgcc_s1-32bit= "libgcc_s1-32bit" +PKG_libstdc++-locale= "libstdc++-locale" +PKG_libstdc++-32bit= "libstdc++-32bit" +PKG_libasan= "libasan" +PKG_libgomp-32bit= "libgomp-32bit" +PKG_libstdc++48-devel-32bit= "libstdc++48-devel-32bit" +PKG_libgomp= "libgomp" +PKG_cpp48= "cpp48" +PKG_libasan-32bit= "libasan-32bit" + +require gcc48-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gcc48/gcc48_git.bb b/meta-tizen/recipes-tizen/gcc48/gcc48_git.bb new file mode 100644 index 0000000..3e7baa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/gcc48/gcc48_git.bb @@ -0,0 +1,8 @@ +require gcc48.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcc48;protocol=ssh;tag=135d550e26f7e477fff0c48f94ddc38cfa8d3028;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gccmakedep/gccmakedep-extraconf.inc b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gccmakedep/gccmakedep-native_git.bb b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep-native_git.bb new file mode 100644 index 0000000..d323aed --- /dev/null +++ b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep-native_git.bb @@ -0,0 +1,12 @@ +require gccmakedep.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gccmakedep;protocol=ssh;tag=9c7ebd9444b1c12e27cef6c7e7d4566a05488de2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gccmakedep/gccmakedep.inc b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep.inc new file mode 100644 index 0000000..ef90777 --- /dev/null +++ b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Utility to list the resource database of an X application" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Tools" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gccmakedep +PROVIDES += "gccmakedep" +RPROVIDES_gccmakedep += "gccmakedep" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "gccmakedep" + +gccmakedep_files = "" +gccmakedep_files += "/usr/bin/gccmakedep" +gccmakedep_files += "/usr/share/man/man1/gccmakedep.1x.gz" + +FILES_${PN} = "${gccmakedep_files}" + +PKG_gccmakedep= "gccmakedep" + +require gccmakedep-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gccmakedep/gccmakedep_git.bb b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep_git.bb new file mode 100644 index 0000000..1f82ed6 --- /dev/null +++ b/meta-tizen/recipes-tizen/gccmakedep/gccmakedep_git.bb @@ -0,0 +1,8 @@ +require gccmakedep.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gccmakedep;protocol=ssh;tag=9c7ebd9444b1c12e27cef6c7e7d4566a05488de2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-extraconf.inc b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-native_git.bb b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-native_git.bb new file mode 100644 index 0000000..ea980e8 --- /dev/null +++ b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus-native_git.bb @@ -0,0 +1,12 @@ +require gconf-dbus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/gconf-dbus;protocol=ssh;tag=434a129379da8e8afb892cf5498466cf34ff9d18;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus.inc b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus.inc new file mode 100644 index 0000000..55799a9 --- /dev/null +++ b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus.inc @@ -0,0 +1,178 @@ +DESCRIPTION = "A process-transparent configuration system" +HOMEPAGE = "http://www.gnome.org" +SECTION = "System/Base" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gconf-dbus-utils +PROVIDES += "gconf-dbus-utils" +RPROVIDES_gconf-dbus-utils += "gconf-dbus-utils" + +#PROVIDES by gconf-dbus +PROVIDES += "gconf-dbus" +RPROVIDES_gconf-dbus += "gconf-dbus" + +#PROVIDES by gconf-dbus-devel +PROVIDES += "gconf-dbus-devel" +RPROVIDES_gconf-dbus-devel += "gconf-dbus-devel" +RPROVIDES_gconf-dbus-devel += "gconf-dbus-dev" + +RDEPENDS = "" +#RDEPENDS of gconf-dbus-utils (${PN}-utils) +RDEPENDS_${PN}-utils += "gconf-dbus" +RDEPENDS_${PN}-utils += "dbus" + +#RDEPENDS of gconf-dbus (${PN}) +RDEPENDS_${PN} += "gconf-dbus" +RDEPENDS_${PN} += "dbus" + +#RDEPENDS of gconf-dbus-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(libxml-2.0)" +RDEPENDS_${PN}-devel += "pkgconfig(dbus-1)" +RDEPENDS_${PN}-devel += "automake" +RDEPENDS_${PN}-devel += "pkgconfig(dbus-glib-1)" +RDEPENDS_${PN}-devel += "gconf-dbus" +RDEPENDS_${PN}-devel += "pkgconfig(glib-2.0)" + + +DEPENDS = "" +#DEPENDS of gconf-dbus +DEPENDS += "autoconf-native" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "automake-native" +DEPENDS += "intltool-native" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gconf-dbus.manifest . + cat ${S}/packaging/01_removePopt.dpatch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/02_poweroff.dpatch | patch -s -p1 --fuzz=2 + #patch1 -p1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --disable-gtk-doc --disable-defaults-service --disable-gtk --disable-nls --enable-system-bus + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -fr ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + install COPYING ${D}/usr/share/license/gconf-dbus + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} GConf2 + + +} + +PACKAGES = "" +PACKAGES += "gconf-dbus-utils" +PACKAGES += "gconf-dbus" +PACKAGES += "gconf-dbus-devel" + +gconf-dbus-utils_files = "" +gconf-dbus-utils_files += "gconf-dbus.manifest" +gconf-dbus-utils_files += "/usr/bin/gconf-merge-tree" +gconf-dbus-utils_files += "/usr/bin/gconftool-2" +gconf-dbus-utils_files += "gconf-dbus.manifest" + +gconf-dbus_files = "" +gconf-dbus_files += "gconf-dbus.manifest" +gconf-dbus_files += "COPYING" +gconf-dbus_files += "/usr/share/sgml/gconf/*" +gconf-dbus_files += "/etc/gconf/2/path" +gconf-dbus_files += "/etc/gconf" +gconf-dbus_files += "/etc/gconf/2" +gconf-dbus_files += "/etc/gconf/gconf.xml.defaults" +gconf-dbus_files += "/etc/gconf/gconf.xml.mandatory" +gconf-dbus_files += "/usr/libexec/*" +gconf-dbus_files += "/usr/lib/*.so.*" +gconf-dbus_files += "/usr/lib/GConf-dbus" +gconf-dbus_files += "/usr/lib/GConf-dbus/2" +gconf-dbus_files += "/usr/lib/GConf-dbus/2/*.so" +gconf-dbus_files += "/usr/share/dbus-1/services/gconf.service" +gconf-dbus_files += "/etc/dbus-1/system.d/gconfd.conf" +gconf-dbus_files += "gconf-dbus.manifest" +gconf-dbus_files += "/usr/share/license/gconf-dbus" + +gconf-dbus-devel_files = "" +gconf-dbus-devel_files += "gconf-dbus.manifest" +gconf-dbus-devel_files += "/usr/share/gtk-doc/html/gconf/*" +gconf-dbus-devel_files += "/usr/share/man/man1/*" +gconf-dbus-devel_files += "/usr/lib/*.so" +gconf-dbus-devel_files += "/usr/include/gconf" +gconf-dbus-devel_files += "/usr/share/aclocal/*.m4" +gconf-dbus-devel_files += "/usr/lib/pkgconfig/*" + +FILES_${PN}-utils = "${gconf-dbus-utils_files}" +FILES_${PN} = "${gconf-dbus_files}" +FILES_${PN}-devel = "${gconf-dbus-devel_files}" + +PKG_gconf-dbus-utils= "gconf-dbus-utils" +PKG_gconf-dbus= "gconf-dbus" +PKG_gconf-dbus-devel= "gconf-dbus-devel" + +require gconf-dbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus_git.bb b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus_git.bb new file mode 100644 index 0000000..de6b106 --- /dev/null +++ b/meta-tizen/recipes-tizen/gconf-dbus/gconf-dbus_git.bb @@ -0,0 +1,8 @@ +require gconf-dbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/gconf-dbus;protocol=ssh;tag=434a129379da8e8afb892cf5498466cf34ff9d18;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gcr/gcr-extraconf.inc b/meta-tizen/recipes-tizen/gcr/gcr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gcr/gcr-native_git.bb b/meta-tizen/recipes-tizen/gcr/gcr-native_git.bb new file mode 100644 index 0000000..311fb60 --- /dev/null +++ b/meta-tizen/recipes-tizen/gcr/gcr-native_git.bb @@ -0,0 +1,12 @@ +require gcr.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcr;protocol=ssh;tag=3d139a70d06ebf222b786a00cd6d3af2f473f4d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gcr/gcr.inc b/meta-tizen/recipes-tizen/gcr/gcr.inc new file mode 100644 index 0000000..2d41170 --- /dev/null +++ b/meta-tizen/recipes-tizen/gcr/gcr.inc @@ -0,0 +1,229 @@ +DESCRIPTION = "Library for Crypto UI related task" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by typelib-Gcr +PROVIDES += "typelib-Gcr" +RPROVIDES_typelib-Gcr += "typelib-Gcr" + +#PROVIDES by libgcr +PROVIDES += "libgcr" +RPROVIDES_libgcr += "libgcr" + +#PROVIDES by libgcr-locale +PROVIDES += "libgcr-locale" +RPROVIDES_libgcr-locale += "libgcr-locale" +# the PROVIDES rules is ignore "libgcr-lang-all = 3.8.2" +PROVIDES += "libgcr-lang-all" +RPROVIDES_libgcr-locale += "libgcr-lang-all" + +#PROVIDES by libgcr-devel +PROVIDES += "libgcr-devel" +RPROVIDES_libgcr-devel += "libgcr-devel" +RPROVIDES_libgcr-devel += "libgcr-dev" + +#PROVIDES by gcr +PROVIDES += "gcr" +RPROVIDES_gcr += "gcr" + +#PROVIDES by typelib-Gck +PROVIDES += "typelib-Gck" +RPROVIDES_typelib-Gck += "typelib-Gck" + +#PROVIDES by libgck +PROVIDES += "libgck" +RPROVIDES_libgck += "libgck" +# the PROVIDES rules is ignore "gck = 3.8.2" +PROVIDES += "gck" +RPROVIDES_libgck += "gck" + +#PROVIDES by gcr-data +PROVIDES += "gcr-data" +RPROVIDES_gcr-data += "gcr-data" + +#PROVIDES by libgck-devel +PROVIDES += "libgck-devel" +RPROVIDES_libgck-devel += "libgck-devel" +RPROVIDES_libgck-devel += "libgck-dev" + +RDEPENDS = "" +#RDEPENDS of libgcr (lib${PN}) +RDEPENDS_lib${PN} += "gcr-data" + +#RDEPENDS of libgcr-locale (lib${PN}-locale) +RDEPENDS_lib${PN}-locale += "libgcr" + +#RDEPENDS of libgcr-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "typelib-Gcr" +RDEPENDS_lib${PN}-devel += "libgcr" + +#RDEPENDS of gcr-data (${PN}-data) +RDEPENDS_${PN}-data += "glib2-tools" + +#RDEPENDS of libgck-devel (libgck-devel) +RDEPENDS_libgck-devel += "typelib-Gck" +RDEPENDS_libgck-devel += "libgck" + + +DEPENDS = "" +#DEPENDS of gcr +DEPENDS += "pkgconfig(p11-kit-1)" +DEPENDS += "shared-mime-info" +DEPENDS += "intltool-native" +DEPENDS += "gnome-common" +DEPENDS += "libtasn1-devel" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(gobject-introspection-1.0)" +DEPENDS += "gpg2" +DEPENDS += "pkgconfig(gthread-2.0)" +DEPENDS += "pkgconfig(gmodule-no-export-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "update-desktop-files" +DEPENDS += "libgcrypt-devel" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(libtasn1)" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "pkgconfig(gio-unix-2.0)" +DEPENDS += "gtk-doc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-gtk=no \ + --disable-gtk-doc-html + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gcr + + + +} + +PACKAGES = "" +PACKAGES += "typelib-Gcr" +PACKAGES += "libgcr" +PACKAGES += "libgcr-locale" +PACKAGES += "libgcr-devel" +PACKAGES += "typelib-Gck" +PACKAGES += "libgck" +PACKAGES += "gcr-data" +PACKAGES += "libgck-devel" + +typelib-Gcr_files = "" +typelib-Gcr_files += "/usr/lib/girepository-1.0/Gcr-3.typelib" + +libgcr_files = "" +libgcr_files += "/usr/lib/libgcr-base-3.so.*" + +libgcr-locale_files = "" + +libgcr-devel_files = "" +libgcr-devel_files += "/usr/lib/libgcr-base-3.so" +libgcr-devel_files += "/usr/lib/pkgconfig/gcr-base-3.pc" +libgcr-devel_files += "/usr/include/gcr-3/" + +typelib-Gck_files = "" +typelib-Gck_files += "/usr/lib/girepository-1.0/Gck-1.typelib" + +libgck_files = "" +libgck_files += "/usr/lib/libgck-1.so.*" + +gcr-data_files = "" +gcr-data_files += "/usr/share/GConf" +gcr-data_files += "/usr/share/GConf/gsettings" +gcr-data_files += "/usr/share/GConf/gsettings/org.gnome.crypto.pgp.convert" +gcr-data_files += "/usr/share/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert" +gcr-data_files += "/usr/share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml" + +libgck-devel_files = "" +libgck-devel_files += "/usr/lib/libgck-1.so" +libgck-devel_files += "/usr/lib/pkgconfig/gck-1.pc" +libgck-devel_files += "/usr/include/gck-1/" +libgck-devel_files += "/usr/share/gir-1.0/Gck-1.gir" +libgck-devel_files += "/usr/share/gir-1.0/Gcr-3.gir" + +FILES_typelib-Gcr = "${typelib-Gcr_files}" +FILES_lib${PN} = "${libgcr_files}" +FILES_lib${PN}-locale = "${libgcr-locale_files}" +FILES_lib${PN}-devel = "${libgcr-devel_files}" +FILES_typelib-Gck = "${typelib-Gck_files}" +FILES_libgck = "${libgck_files}" +FILES_${PN}-data = "${gcr-data_files}" +FILES_libgck-devel = "${libgck-devel_files}" + +PKG_typelib-Gcr= "typelib-Gcr" +PKG_libgcr= "libgcr" +PKG_libgcr-locale= "libgcr-locale" +PKG_libgcr-devel= "libgcr-devel" +PKG_typelib-Gck= "typelib-Gck" +PKG_libgck= "libgck" +PKG_gcr-data= "gcr-data" +PKG_libgck-devel= "libgck-devel" + +require gcr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gcr/gcr_git.bb b/meta-tizen/recipes-tizen/gcr/gcr_git.bb new file mode 100644 index 0000000..55cb2f7 --- /dev/null +++ b/meta-tizen/recipes-tizen/gcr/gcr_git.bb @@ -0,0 +1,8 @@ +require gcr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcr;protocol=ssh;tag=3d139a70d06ebf222b786a00cd6d3af2f473f4d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gdb/gdb-extraconf.inc b/meta-tizen/recipes-tizen/gdb/gdb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gdb/gdb-native_git.bb b/meta-tizen/recipes-tizen/gdb/gdb-native_git.bb new file mode 100644 index 0000000..7225a5d --- /dev/null +++ b/meta-tizen/recipes-tizen/gdb/gdb-native_git.bb @@ -0,0 +1,12 @@ +require gdb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gdb;protocol=ssh;tag=02e2d9b41d107eba4e491ec4e5053d6b16b8ebd0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gdb/gdb.inc b/meta-tizen/recipes-tizen/gdb/gdb.inc new file mode 100644 index 0000000..29359a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/gdb/gdb.inc @@ -0,0 +1,187 @@ +DESCRIPTION = "A GNU source-level debugger for C, C++, Java and other languages" +HOMEPAGE = "http://gnu.org/software/gdb/" +SECTION = "Development/Toolchain" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gdb-devel +PROVIDES += "gdb-devel" +RPROVIDES_gdb-devel += "gdb-devel" +RPROVIDES_gdb-devel += "gdb-dev" + +#PROVIDES by gdb +PROVIDES += "gdb" +RPROVIDES_gdb += "gdb" + +#PROVIDES by gdb-docs +PROVIDES += "gdb-docs " +RPROVIDES_gdb-docs += "gdb-docs " + +#PROVIDES by gdb-server +PROVIDES += "gdb-server" +RPROVIDES_gdb-server += "gdb-server" + +#PROVIDES by gdb-locale +PROVIDES += "gdb-locale " +RPROVIDES_gdb-locale += "gdb-locale " +# the PROVIDES rules is ignore "gdb-lang-all = 7.5.1" +PROVIDES += "gdb-lang-all" +RPROVIDES_gdb-locale += "gdb-lang-all" + +RDEPENDS = "" +#RDEPENDS of gdb-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "gdb" + + +DEPENDS = "" +#DEPENDS of gdb +DEPENDS += "flex" +DEPENDS += "gcc-cross" +DEPENDS += "python-devel" +DEPENDS += "ncurses-devel" +DEPENDS += "expat" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "rpm-devel" +DEPENDS += "bison-native" +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gdb.manifest . + + # Remove the info and other generated files added by the FSF release + # process. + rm -f libdecnumber/gstdint.h + rm -f bfd/doc/*.info + rm -f bfd/doc/*.info-* + rm -f gdb/doc/*.info + rm -f gdb/doc/*.info-* + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-gdb-datadir=/usr/share/gdb \ + --enable-gdb-build-warnings=,-Wno-unused \ + --disable-werror \ + --with-separate-debug-dir=/usr/lib/debug \ + --disable-sim \ + --disable-rpath \ + --with-expat \ + --enable-64-bit-bfd \ + --enable-static --disable-shared --enable-debug + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} opcodes + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} bfd + mv opcodes.lang gdb.lang + cat bfd.lang >> gdb.lang + + + +} + +PACKAGES = "" +PACKAGES += "gdb-devel" +PACKAGES += "gdb" +PACKAGES += "gdb-server" +PACKAGES += "gdb-locale" +PACKAGES += "gdb-docs" + +gdb-devel_files = "" +gdb-devel_files += "gdb.manifest" +gdb-devel_files += "/usr/include/*.h" +gdb-devel_files += "/usr/include/gdb/*.h" + +gdb_files = "" +gdb_files += "gdb.manifest" +gdb_files += "/usr/bin/*" +gdb_files += "/usr/share/gdb" + +gdb-server_files = "" +gdb-server_files += "gdb.manifest" +gdb-server_files += "/usr/bin/gdbserver" +gdb-server_files += "/usr/share/man/*/gdbserver.1*" +gdb-server_files += "/usr/lib/libinproctrace.so" + +gdb-locale_files = "" + +gdb-docs_files = "" +gdb-docs_files += "/usr/share/info" +gdb-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${gdb-devel_files}" +FILES_${PN} = "${gdb_files}" +FILES_${PN}-server = "${gdb-server_files}" +FILES_${PN}-locale = "${gdb-locale_files}" +FILES_${PN}-docs = "${gdb-docs_files}" + +PKG_gdb-devel= "gdb-devel" +PKG_gdb= "gdb" +PKG_gdb-server= "gdb-server" +PKG_gdb-locale= "gdb-locale" +PKG_gdb-docs= "gdb-docs" + +require gdb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gdb/gdb_git.bb b/meta-tizen/recipes-tizen/gdb/gdb_git.bb new file mode 100644 index 0000000..cb14db66 --- /dev/null +++ b/meta-tizen/recipes-tizen/gdb/gdb_git.bb @@ -0,0 +1,8 @@ +require gdb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gdb;protocol=ssh;tag=02e2d9b41d107eba4e491ec4e5053d6b16b8ebd0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gdbm/gdbm-extraconf.inc b/meta-tizen/recipes-tizen/gdbm/gdbm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gdbm/gdbm.inc b/meta-tizen/recipes-tizen/gdbm/gdbm.inc new file mode 100644 index 0000000..3046dff --- /dev/null +++ b/meta-tizen/recipes-tizen/gdbm/gdbm.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "GNU dbm key/data database" +HOMEPAGE = "http://directory.fsf.org/GNU/gdbm.html" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libgdbm +PROVIDES += "libgdbm" +RPROVIDES_libgdbm += "libgdbm" +# the PROVIDES rules is ignore "gdbm = 1.10-0" +PROVIDES += "gdbm" +RPROVIDES_libgdbm += "gdbm" + +#PROVIDES by gdbm +PROVIDES += "gdbm" +RPROVIDES_gdbm += "gdbm" + +#PROVIDES by gdbm-devel +PROVIDES += "gdbm-devel" +RPROVIDES_gdbm-devel += "gdbm-devel" +RPROVIDES_gdbm-devel += "gdbm-dev" +# the PROVIDES rules is ignore "gdbm:/usr/lib/libgdbm.so " +PROVIDES += "gdbm:/usr/lib/libgdbm.so" +RPROVIDES_gdbm-devel += "gdbm:/usr/lib/libgdbm.so" + +RDEPENDS = "" +#RDEPENDS of gdbm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gdbm" + + +DEPENDS = "" +#DEPENDS of gdbm +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gdbm.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wa,--noexecstack" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-libgdbm-compat --disable-nls + make -j16; + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ + GROUP ( /usr/lib/libgdbm.so /usr/lib/libgdbm_compat.so )" > ${D}//usr/lib/libndbm.so + echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ + GROUP ( /usr/lib/libgdbm.a /usr/lib/libgdbm_compat.a )" > ${D}//usr/lib/libndbm.a + + +} + +PACKAGES = "" +PACKAGES += "libgdbm" +PACKAGES += "gdbm-devel" + +libgdbm_files = "" +libgdbm_files += "gdbm.manifest" +libgdbm_files += "COPYING" +libgdbm_files += "/usr/lib/libgdbm.so.4" +libgdbm_files += "/usr/lib/libgdbm.so.4.0.0" +libgdbm_files += "/usr/lib/libgdbm_compat.so.4" +libgdbm_files += "/usr/lib/libgdbm_compat.so.4.0.0" + +gdbm-devel_files = "" +gdbm-devel_files += "gdbm.manifest" +gdbm-devel_files += "/usr/bin/testgdbm" +gdbm-devel_files += "/usr/include/dbm.h" +gdbm-devel_files += "/usr/include/gdbm.h" +gdbm-devel_files += "/usr/include/ndbm.h" +gdbm-devel_files += "/usr/share/info/gdbm.info.gz" +gdbm-devel_files += "/usr/lib/libgdbm.a" +gdbm-devel_files += "/usr/lib/libgdbm.so" +gdbm-devel_files += "/usr/lib/libgdbm_compat.a" +gdbm-devel_files += "/usr/lib/libgdbm_compat.so" +gdbm-devel_files += "/usr/lib/libndbm.a" +gdbm-devel_files += "/usr/lib/libndbm.so" +gdbm-devel_files += "/usr/share/man/man3/gdbm.3.gz" + +FILES_lib${PN} = "${libgdbm_files}" +FILES_${PN}-devel = "${gdbm-devel_files}" + +PKG_libgdbm= "libgdbm" +PKG_gdbm-devel= "gdbm-devel" + +require gdbm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-extraconf.inc b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-native_git.bb b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-native_git.bb new file mode 100644 index 0000000..163a30c --- /dev/null +++ b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf-native_git.bb @@ -0,0 +1,12 @@ +require gdk-pixbuf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gdk-pixbuf;protocol=ssh;tag=aa91bf36c120e8b9d53a220584d3958b756d810e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf.inc b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf.inc new file mode 100644 index 0000000..013c9ab --- /dev/null +++ b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf.inc @@ -0,0 +1,182 @@ +DESCRIPTION = "An image loading library" +HOMEPAGE = "http://developer.gnome.org/" +SECTION = "Multimedia/Image Library" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gdk-pixbuf +PROVIDES += "gdk-pixbuf" +RPROVIDES_gdk-pixbuf += "gdk-pixbuf" + +#PROVIDES by gdk-pixbuf-query-loaders +PROVIDES += "gdk-pixbuf-query-loaders" +RPROVIDES_gdk-pixbuf-query-loaders += "gdk-pixbuf-query-loaders" + +#PROVIDES by gdk-pixbuf-locale +PROVIDES += "gdk-pixbuf-locale " +RPROVIDES_gdk-pixbuf-locale += "gdk-pixbuf-locale " +# the PROVIDES rules is ignore "gdk-pixbuf-lang-all = 2.28.1" +PROVIDES += "gdk-pixbuf-lang-all" +RPROVIDES_gdk-pixbuf-locale += "gdk-pixbuf-lang-all" + +#PROVIDES by gdk-pixbuf-devel +PROVIDES += "gdk-pixbuf-devel" +RPROVIDES_gdk-pixbuf-devel += "gdk-pixbuf-devel" +RPROVIDES_gdk-pixbuf-devel += "gdk-pixbuf-dev" + +#PROVIDES by typelib-GdkPixbuf +PROVIDES += "typelib-GdkPixbuf" +RPROVIDES_typelib-GdkPixbuf += "typelib-GdkPixbuf" + +RDEPENDS = "" +#RDEPENDS of gdk-pixbuf-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "gdk-pixbuf" + +#RDEPENDS of gdk-pixbuf (${PN}) +RDEPENDS_${PN} += "gdk-pixbuf-query-loaders" + +#RDEPENDS of gdk-pixbuf-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gdk-pixbuf" + + +DEPENDS = "" +#DEPENDS of gdk-pixbuf +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libjpeg-devel" +DEPENDS += "libjasper-devel" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libtiff-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gdk-pixbuf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-libjasper \ + + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gdk-pixbuf + touch ${D}/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache + # Install rpm macros + mkdir -p ${D}/etc/rpm + cp ${S}/packaging/macros.gdk-pixbuf ${D}/etc/rpm + + ########################################################################### + # Note: when updating scriptlets, don't forget to also update baselibs.conf + ########################################################################### + + # Convenient define for the scriplets + + + +} + +PACKAGES = "" +PACKAGES += "gdk-pixbuf" +PACKAGES += "gdk-pixbuf-locale" +PACKAGES += "gdk-pixbuf-devel" +PACKAGES += "gdk-pixbuf-query-loaders" + +gdk-pixbuf_files = "" +gdk-pixbuf_files += "gdk-pixbuf.manifest" +gdk-pixbuf_files += "/usr/lib/libgdk_pixbuf-2.0.so.0*" +gdk-pixbuf_files += "/usr/lib/gdk-pixbuf-2.0" +gdk-pixbuf_files += "/usr/lib/gdk-pixbuf-2.0/2.10.0" +gdk-pixbuf_files += "/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders" +gdk-pixbuf_files += "/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so" + +gdk-pixbuf-locale_files = "" + +gdk-pixbuf-devel_files = "" +gdk-pixbuf-devel_files += "gdk-pixbuf.manifest" +gdk-pixbuf-devel_files += "/usr/bin/gdk-pixbuf-csource" +gdk-pixbuf-devel_files += "/usr/bin/gdk-pixbuf-pixdata" +gdk-pixbuf-devel_files += "/usr/share/man/man1/gdk-pixbuf-csource.1*" +gdk-pixbuf-devel_files += "/usr/include/gdk-pixbuf-2.0" +gdk-pixbuf-devel_files += "/usr/lib/pkgconfig/*.pc" +gdk-pixbuf-devel_files += "/usr/lib/*.so" +gdk-pixbuf-devel_files += "/usr/share/gtk-doc/html/gdk-pixbuf" +gdk-pixbuf-devel_files += "/etc/rpm/macros.gdk-pixbuf" + +gdk-pixbuf-query-loaders_files = "" +gdk-pixbuf-query-loaders_files += "gdk-pixbuf.manifest" +gdk-pixbuf-query-loaders_files += "/usr/bin/gdk-pixbuf-query-loaders*" +gdk-pixbuf-query-loaders_files += "/usr/share/man/man1/gdk-pixbuf-query-loaders*.1*" + +FILES_${PN} = "${gdk-pixbuf_files}" +FILES_${PN}-locale = "${gdk-pixbuf-locale_files}" +FILES_${PN}-devel = "${gdk-pixbuf-devel_files}" +FILES_${PN}-query-loaders = "${gdk-pixbuf-query-loaders_files}" + +PKG_gdk-pixbuf= "gdk-pixbuf" +PKG_gdk-pixbuf-locale= "gdk-pixbuf-locale" +PKG_gdk-pixbuf-devel= "gdk-pixbuf-devel" +PKG_gdk-pixbuf-query-loaders= "gdk-pixbuf-query-loaders" + +require gdk-pixbuf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf_git.bb b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf_git.bb new file mode 100644 index 0000000..2d05101 --- /dev/null +++ b/meta-tizen/recipes-tizen/gdk-pixbuf/gdk-pixbuf_git.bb @@ -0,0 +1,8 @@ +require gdk-pixbuf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gdk-pixbuf;protocol=ssh;tag=aa91bf36c120e8b9d53a220584d3958b756d810e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/geocoder/geocoder-extraconf.inc b/meta-tizen/recipes-tizen/geocoder/geocoder-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/geocoder/geocoder-native_git.bb b/meta-tizen/recipes-tizen/geocoder/geocoder-native_git.bb new file mode 100644 index 0000000..4416cde --- /dev/null +++ b/meta-tizen/recipes-tizen/geocoder/geocoder-native_git.bb @@ -0,0 +1,12 @@ +require geocoder.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/geocoder;protocol=ssh;tag=f3ab5ec7eb99416b34710c421ff60dd6bc90f89f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/geocoder/geocoder.inc b/meta-tizen/recipes-tizen/geocoder/geocoder.inc new file mode 100644 index 0000000..9dc086e --- /dev/null +++ b/meta-tizen/recipes-tizen/geocoder/geocoder.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "A Geocoder library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-location-geocoder +PROVIDES += "capi-location-geocoder" +RPROVIDES_capi-location-geocoder += "capi-location-geocoder" + +#PROVIDES by capi-location-geocoder-devel +PROVIDES += "capi-location-geocoder-devel" +RPROVIDES_capi-location-geocoder-devel += "capi-location-geocoder-devel" +RPROVIDES_capi-location-geocoder-devel += "capi-location-geocoder-dev" + +RDEPENDS = "" +#RDEPENDS of capi-location-geocoder-devel (capi-location-${PN}-devel) +RDEPENDS_capi-location-${PN}-devel += "capi-location-geocoder" + + +DEPENDS = "" +#DEPENDS of capi-location-geocoder +DEPENDS += "pkgconfig(location)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-location-geocoder.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.2 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.2 -DMAJORVER=${MAJORVER} + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-location-geocoder" +PACKAGES += "capi-location-geocoder-devel" + +capi-location-geocoder_files = "" +capi-location-geocoder_files += "capi-location-geocoder.manifest" +capi-location-geocoder_files += "/usr/lib/libcapi-location-geocoder.so*" +capi-location-geocoder_files += "capi-location-geocoder.manifest" + +capi-location-geocoder-devel_files = "" +capi-location-geocoder-devel_files += "capi-location-geocoder.manifest" +capi-location-geocoder-devel_files += "/usr/include/location/geocoder.h" +capi-location-geocoder-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${capi-location-geocoder_files}" +FILES_${PN}-devel = "${capi-location-geocoder-devel_files}" + +PKG_capi-location-geocoder= "capi-location-geocoder" +PKG_capi-location-geocoder-devel= "capi-location-geocoder-devel" + +require geocoder-extraconf.inc diff --git a/meta-tizen/recipes-tizen/geocoder/geocoder_git.bb b/meta-tizen/recipes-tizen/geocoder/geocoder_git.bb new file mode 100644 index 0000000..ad9c685 --- /dev/null +++ b/meta-tizen/recipes-tizen/geocoder/geocoder_git.bb @@ -0,0 +1,8 @@ +require geocoder.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/geocoder;protocol=ssh;tag=f3ab5ec7eb99416b34710c421ff60dd6bc90f89f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gettext/gettext-extraconf.inc b/meta-tizen/recipes-tizen/gettext/gettext-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gettext/gettext.inc b/meta-tizen/recipes-tizen/gettext/gettext.inc new file mode 100644 index 0000000..13cae7a --- /dev/null +++ b/meta-tizen/recipes-tizen/gettext/gettext.inc @@ -0,0 +1,223 @@ +DESCRIPTION = "GNU libraries and utilities for producing multi-lingual messages" +HOMEPAGE = "http://www.gnu.org/software/gettext/" +SECTION = "Development/Tools" +LICENSE = "GPL-3.0+ and LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gettext-docs +PROVIDES += "gettext-docs " +RPROVIDES_gettext-docs += "gettext-docs " + +#PROVIDES by gettext-runtime +PROVIDES += "gettext-runtime" +RPROVIDES_gettext-runtime += "gettext-runtime" +# the PROVIDES rules is ignore "gettext-libs " +PROVIDES += "gettext-libs" +RPROVIDES_gettext-runtime += "gettext-libs" + +#PROVIDES by gettext-tools +PROVIDES += "gettext-tools" +RPROVIDES_gettext-tools += "gettext-tools" +# the PROVIDES rules is ignore "gettext-devel " +PROVIDES += "gettext-devel" +RPROVIDES_gettext-tools += "gettext-devel" +RPROVIDES_gettext-tools += "gettext-dev" + +#PROVIDES by gettext +PROVIDES += "gettext" +RPROVIDES_gettext += "gettext" + +RDEPENDS = "" +#RDEPENDS of gettext-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "gettext-runtime" + + +DEPENDS = "" +#DEPENDS of gettext +DEPENDS += "gcc-cross" +DEPENDS += "libunistring" +DEPENDS += "eglibc-locale" +DEPENDS += "expat" +DEPENDS += "libtool-cross" +DEPENDS += "bison-native" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/gettext.manifest . + [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . + + + mkdir -p gettext-tools/intl + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --without-included-gettext --enable-nls --disable-static \ + --enable-shared --with-pic-=yes --disable-csharp --without-libpth-prefix --disable-openmp + make -j16 GCJFLAGS="-findirect-dispatch" + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} INSTALL="install -p" \ + lispdir=/usr/share/emacs/site-lisp \ + aclocaldir=/usr/share/aclocal EXAMPLESFILES="" + + install -pm 755 ${S}/packaging/msghack.py ${D}/usr/bin/msghack + + # make preloadable_libintl.so executable + chmod 755 ${D}/usr/lib/preloadable_libintl.so + + rm -f ${D}/usr/share/info/dir + + # doc relocations + for i in gettext-runtime/man/*.html; do + rm ${D}/usr/share/doc/gettext/`basename $i` + done + rm -r ${D}/usr/share/doc/gettext/javadoc* + + rm -rf ${D}/usr/share/doc/gettext/examples + + rm -rf htmldoc + mkdir htmldoc + mv ${D}/usr/share/doc/gettext/* ${D}/usr/share/doc/libasprintf/* htmldoc + rm -r ${D}/usr/share/doc/libasprintf + rm -r ${D}/usr/share/doc/gettext + + # remove unpackaged files from the buildroot + rm -rf ${D}/usr/share/emacs + rm ${D}/usr/lib/lib*.la + + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gettext-runtime + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gettext-tools + cat gettext-*.lang > gettext.lang + + + +} + +PACKAGES = "" +PACKAGES += "gettext-runtime" +PACKAGES += "gettext-tools" +PACKAGES += "gettext-docs" + +gettext-runtime_files = "" +gettext-runtime_files += "gettext.manifest" +gettext-runtime_files += "LGPL-2.0+ gettext-runtime/intl/COPYING*" +gettext-runtime_files += "/usr/share/gettext/ABOUT-NLS" +gettext-runtime_files += "/usr/bin/gettext" +gettext-runtime_files += "/usr/bin/ngettext" +gettext-runtime_files += "/usr/bin/envsubst" +gettext-runtime_files += "/usr/bin/gettext.sh" +gettext-runtime_files += "/usr/lib/libasprintf.so.*" + +gettext-tools_files = "" +gettext-tools_files += "gettext.manifest" +gettext-tools_files += "LGPL-2.0+ COPYING" +gettext-tools_files += "/usr/share/gettext/projects/*" +gettext-tools_files += "/usr/share/gettext/config.rpath" +gettext-tools_files += "/usr/share/gettext/*.h" +gettext-tools_files += "/usr/share/gettext/intl" +gettext-tools_files += "/usr/share/gettext/po" +gettext-tools_files += "/usr/share/gettext/msgunfmt.tcl" +gettext-tools_files += "/usr/share/aclocal/*" +gettext-tools_files += "/usr/include/*" +gettext-tools_files += "/usr/lib/libasprintf.so" +gettext-tools_files += "/usr/lib/libgettextpo.so" +gettext-tools_files += "/usr/lib/libgettextlib*.so" +gettext-tools_files += "/usr/lib/libgettextsrc*.so" +gettext-tools_files += "/usr/lib/preloadable_libintl.so" +gettext-tools_files += "/usr/lib/gettext/hostname" +gettext-tools_files += "/usr/lib/gettext/project-id" +gettext-tools_files += "/usr/lib/gettext/urlget" +gettext-tools_files += "/usr/lib/gettext/user-email" +gettext-tools_files += "/usr/lib/libgettextpo.so.*" +gettext-tools_files += "/usr/share/gettext/javaversion.class" +gettext-tools_files += "/usr/share/gettext/archive*.tar.xz" +gettext-tools_files += "/usr/share/gettext/styles" +gettext-tools_files += "/usr/bin/autopoint" +gettext-tools_files += "/usr/bin/gettextize" +gettext-tools_files += "/usr/bin/msgattrib" +gettext-tools_files += "/usr/bin/msgcat" +gettext-tools_files += "/usr/bin/msgcmp" +gettext-tools_files += "/usr/bin/msgcomm" +gettext-tools_files += "/usr/bin/msgconv" +gettext-tools_files += "/usr/bin/msgen" +gettext-tools_files += "/usr/bin/msgexec" +gettext-tools_files += "/usr/bin/msgfilter" +gettext-tools_files += "/usr/bin/msgfmt" +gettext-tools_files += "/usr/bin/msggrep" +gettext-tools_files += "/usr/bin/msghack" +gettext-tools_files += "/usr/bin/msginit" +gettext-tools_files += "/usr/bin/msgmerge" +gettext-tools_files += "/usr/bin/msgunfmt" +gettext-tools_files += "/usr/bin/msguniq" +gettext-tools_files += "/usr/bin/recode-sr-latin" +gettext-tools_files += "/usr/bin/xgettext" + +gettext-docs_files = "" +gettext-docs_files += "/usr/share/info" +gettext-docs_files += "/usr/share/man" + +FILES_${PN}-runtime = "${gettext-runtime_files}" +FILES_${PN}-tools = "${gettext-tools_files}" +FILES_${PN}-docs = "${gettext-docs_files}" + +PKG_gettext-runtime= "gettext-runtime" +PKG_gettext-tools= "gettext-tools" +PKG_gettext-docs= "gettext-docs" + +require gettext-extraconf.inc diff --git a/meta-tizen/recipes-tizen/giflib/giflib-extraconf.inc b/meta-tizen/recipes-tizen/giflib/giflib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/giflib/giflib-native_git.bb b/meta-tizen/recipes-tizen/giflib/giflib-native_git.bb new file mode 100644 index 0000000..6c88765 --- /dev/null +++ b/meta-tizen/recipes-tizen/giflib/giflib-native_git.bb @@ -0,0 +1,12 @@ +require giflib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/giflib;protocol=ssh;tag=e9c36cad490cec9af8089ec0b913c617e67ba524;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/giflib/giflib.inc b/meta-tizen/recipes-tizen/giflib/giflib.inc new file mode 100644 index 0000000..37bcb20 --- /dev/null +++ b/meta-tizen/recipes-tizen/giflib/giflib.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Library for manipulating GIF format image files" +HOMEPAGE = "http://sourceforge.net/projects/giflib/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by giflib +PROVIDES += "giflib" +RPROVIDES_giflib += "giflib" + +#PROVIDES by giflib-utils +PROVIDES += "giflib-utils" +RPROVIDES_giflib-utils += "giflib-utils" + +#PROVIDES by giflib-devel +PROVIDES += "giflib-devel" +RPROVIDES_giflib-devel += "giflib-devel" +RPROVIDES_giflib-devel += "giflib-dev" + +RDEPENDS = "" +#RDEPENDS of giflib-utils (${PN}-utils) +RDEPENDS_${PN}-utils += "giflib" + +#RDEPENDS of giflib-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "giflib" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/giflib.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-x11 + + make -j16 all + + MAJOR=`echo '4.1.6' | sed 's/\([0-9]\+\)\..*/\1/'` + gcc -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.4.1.6 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -m 0755 -p libungif.so.4.1.6 ${D}/usr/lib + ln -sf libungif.so.4.1.6 ${D}/usr/lib/libungif.so.4 + ln -sf libungif.so.4 ${D}/usr/lib/libungif.so + + + +} + +PACKAGES = "" +PACKAGES += "giflib" +PACKAGES += "giflib-utils" +PACKAGES += "giflib-devel" + +giflib_files = "" +giflib_files += "giflib.manifest" +giflib_files += "/usr/lib/lib*.so.*" + +giflib-utils_files = "" +giflib-utils_files += "giflib.manifest" +giflib-utils_files += "/usr/bin/*" + +giflib-devel_files = "" +giflib-devel_files += "giflib.manifest" +giflib-devel_files += "/usr/lib/lib*.so" +giflib-devel_files += "/usr/include/*.h" + +FILES_${PN} = "${giflib_files}" +FILES_${PN}-utils = "${giflib-utils_files}" +FILES_${PN}-devel = "${giflib-devel_files}" + +PKG_giflib= "giflib" +PKG_giflib-utils= "giflib-utils" +PKG_giflib-devel= "giflib-devel" + +require giflib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/giflib/giflib_git.bb b/meta-tizen/recipes-tizen/giflib/giflib_git.bb new file mode 100644 index 0000000..1274830 --- /dev/null +++ b/meta-tizen/recipes-tizen/giflib/giflib_git.bb @@ -0,0 +1,8 @@ +require giflib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/giflib;protocol=ssh;tag=e9c36cad490cec9af8089ec0b913c617e67ba524;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/git/git-extraconf.inc b/meta-tizen/recipes-tizen/git/git-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/git/git-native_git.bb b/meta-tizen/recipes-tizen/git/git-native_git.bb new file mode 100644 index 0000000..19c8b36 --- /dev/null +++ b/meta-tizen/recipes-tizen/git/git-native_git.bb @@ -0,0 +1,12 @@ +require git.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/git;protocol=ssh;tag=12d34008f6a5041ad5256b5ce6568f49c6544cab;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/git/git.inc b/meta-tizen/recipes-tizen/git/git.inc new file mode 100644 index 0000000..eaf3801 --- /dev/null +++ b/meta-tizen/recipes-tizen/git/git.inc @@ -0,0 +1,312 @@ +DESCRIPTION = "Fast, scalable, distributed revision control system" +HOMEPAGE = "http://git-scm.com" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by git +PROVIDES += "git" +RPROVIDES_git += "git" + +#PROVIDES by git-daemon +PROVIDES += "git-daemon" +RPROVIDES_git-daemon += "git-daemon" + +#PROVIDES by git-arch +PROVIDES += "git-arch" +RPROVIDES_git-arch += "git-arch" + +#PROVIDES by gitk +PROVIDES += "gitk" +RPROVIDES_gitk += "gitk" + +#PROVIDES by git-gui +PROVIDES += "git-gui" +RPROVIDES_git-gui += "git-gui" + +#PROVIDES by git-svn +PROVIDES += "git-svn" +RPROVIDES_git-svn += "git-svn" + +#PROVIDES by git-remote-helpers +PROVIDES += "git-remote-helpers" +RPROVIDES_git-remote-helpers += "git-remote-helpers" + +#PROVIDES by git-cvs +PROVIDES += "git-cvs" +RPROVIDES_git-cvs += "git-cvs" + +#PROVIDES by git-core +PROVIDES += "git-core" +RPROVIDES_git-core += "git-core" + +#PROVIDES by git-web +PROVIDES += "git-web" +RPROVIDES_git-web += "git-web" + +#PROVIDES by git-email +PROVIDES += "git-email" +RPROVIDES_git-email += "git-email" + +RDEPENDS = "" +#RDEPENDS of git (${PN}) +RDEPENDS_${PN} += "git-core" + +#RDEPENDS of git-daemon (${PN}-daemon) +RDEPENDS_${PN}-daemon += "/usr/sbin/useradd" +RDEPENDS_${PN}-daemon += "git-core" + +#RDEPENDS of git-arch (${PN}-arch) +RDEPENDS_${PN}-arch += "git-core" + +#RDEPENDS of gitk (${PN}k) +RDEPENDS_${PN}k += "git-core" + +#RDEPENDS of git-gui (${PN}-gui) +RDEPENDS_${PN}-gui += "git-core" + +#RDEPENDS of git-svn (${PN}-svn) +RDEPENDS_${PN}-svn += "subversion" +RDEPENDS_${PN}-svn += "git-core" + +#RDEPENDS of git-remote-helpers (${PN}-remote-helpers) +RDEPENDS_${PN}-remote-helpers += "python" +RDEPENDS_${PN}-remote-helpers += "git-core" + +#RDEPENDS of git-cvs (${PN}-cvs) +RDEPENDS_${PN}-cvs += "git-core" + +#RDEPENDS of git-core (${PN}-core) +RDEPENDS_${PN}-core += "openssh" +RDEPENDS_${PN}-core += "rsync" +RDEPENDS_${PN}-core += "perl" +RDEPENDS_${PN}-core += "perl-Error" +RDEPENDS_${PN}-core += "less" + +#RDEPENDS of git-web (${PN}-web) +RDEPENDS_${PN}-web += "git-core" + +#RDEPENDS of git-email (${PN}-email) +RDEPENDS_${PN}-email += "git-core" + + +DEPENDS = "" +#DEPENDS of git +DEPENDS += "libopenssl-devel" +inherit pythonnative +DEPENDS += "expat" +DEPENDS += "asciidoc" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "curl" +DEPENDS += "fdupes-native" +DEPENDS += "perl-Error" +DEPENDS += "xmlto" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/git.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cat > .make <<'EOF' + #!/bin/bash + make -j16 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" \ + GITWEB_CONFIG="/etc/gitweb.conf" \ + GITWEB_PROJECTROOT="/srv/git" \ + WITH_OWN_SUBPROCESS_PY=YesPlease \ + DESTDIR=${D} \ + NO_CROSS_DIRECTORY_HARDLINKS=1 \ + V=1 \ + prefix=/usr mandir=/usr/share/man \ + gitexecdir=/usr/libexec/git \ + htmldir=/usr/share/doc/packages/git-core \ + "$@" + EOF + # + chmod 755 .make + ./.make all -j16 + ./.make doc + + exit 0 + make -j16 test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + ./.make install install-doc + ### + (find ${D}/usr/bin -type f | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^${D}@@) > bin-man-doc-files + (find ${D}/usr/libexec/git -mindepth 1 | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^${D}@@) >> bin-man-doc-files + (find ${D}/usr/share/man ${D}/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|daemon|gui" | sed -e s@^${D}@@ -e 's/$/*/' ) >> bin-man-doc-files + ( pushd perl + perl Makefile.PL + make -f perl.mak DESTDIR=${D} install_vendor + ) + rm -rf ${D}/usr/lib/perl5/site_perl + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + find ${D}//usr/share/man -type f -print0 | xargs -0 chmod 644 + find ${D}//usr/lib/python2.7/site-packages/ -type f -name *.pyc -print0 | xargs -0 rm + install -m 644 -D contrib/completion/git-completion.bash ${D}/etc/bash_completion.d/git.sh + sed -i "s#$RPM_BUILD_ROOT##g" ${D}//usr/libexec/git/git-remote-testgit + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} git + cat git.lang >>bin-man-doc-files + # use symlinks instead of hardlinks in sub-commands + + + rm -rf ${D}//usr/share/gitweb + rm -rf ${D}/Documentation/*.html + rm -rf ${D}/Documentation/*.txt + + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "git" +PACKAGES += "git-daemon" +PACKAGES += "git-arch" +PACKAGES += "gitk" +PACKAGES += "git-gui" +PACKAGES += "git-svn" +PACKAGES += "git-remote-helpers" +PACKAGES += "git-cvs" +PACKAGES += "git-core" +PACKAGES += "git-email" + +git_files = "" +git_files += "git.manifest" +git_files += "README" + +git-daemon_files = "" +git-daemon_files += "git.manifest" +git-daemon_files += "/usr/libexec/git/*daemon*" +git-daemon_files += "/usr/share/man/man1/*daemon*.1*" + +git-arch_files = "" +git-arch_files += "git.manifest" +git-arch_files += "/usr/libexec/git/git-archimport" +git-arch_files += "/usr/share/man/man1/git-archimport.1*" + +gitk_files = "" +gitk_files += "git.manifest" +gitk_files += "/usr/bin/gitk" +gitk_files += "/usr/share/gitk" +gitk_files += "/usr/share/man/man1/*gitk*.1*" + +git-gui_files = "" +git-gui_files += "git.manifest" +git-gui_files += "/usr/libexec/git/git-gui*" +git-gui_files += "/usr/share/git-gui" +git-gui_files += "/usr/share/man/man1/*gui*.1*" + +git-svn_files = "" +git-svn_files += "git.manifest" +git-svn_files += "/usr/libexec/git/*svn*" +git-svn_files += "/usr/share/man/man1/*svn*.1*" + +git-remote-helpers_files = "" +git-remote-helpers_files += "git.manifest" +git-remote-helpers_files += "/usr/lib/python2.7/site-packages/*" + +git-cvs_files = "" +git-cvs_files += "git.manifest" +git-cvs_files += "/usr/bin/git-cvs*" +git-cvs_files += "/usr/libexec/git/*cvs*" +git-cvs_files += "/usr/share/man/man1/*cvs*.1*" + +git-core_files = "" +git-core_files += "git.manifest" +git-core_files += "/usr/bin/git" +git-core_files += "/usr/share/git-core/" +git-core_files += "/usr/libexec/git" +git-core_files += "/usr/lib/perl/5.14.3/Git.pm" +git-core_files += "/usr/lib/perl/5.14.3/Git/" +git-core_files += "/usr/lib/perl/5.14.3/Git/*.pm" +git-core_files += "/usr/lib/perl/5.14.3/auto/Git/" + +git-email_files = "" +git-email_files += "git.manifest" +git-email_files += "/usr/libexec/git/*email*" +git-email_files += "/usr/share/man/man1/*email*.1*" + +FILES_${PN} = "${git_files}" +FILES_${PN}-daemon = "${git-daemon_files}" +FILES_${PN}-arch = "${git-arch_files}" +FILES_${PN}k = "${gitk_files}" +FILES_${PN}-gui = "${git-gui_files}" +FILES_${PN}-svn = "${git-svn_files}" +FILES_${PN}-remote-helpers = "${git-remote-helpers_files}" +FILES_${PN}-cvs = "${git-cvs_files}" +FILES_${PN}-core = "${git-core_files}" +FILES_${PN}-email = "${git-email_files}" + +PKG_git= "git" +PKG_git-daemon= "git-daemon" +PKG_git-arch= "git-arch" +PKG_gitk= "gitk" +PKG_git-gui= "git-gui" +PKG_git-svn= "git-svn" +PKG_git-remote-helpers= "git-remote-helpers" +PKG_git-cvs= "git-cvs" +PKG_git-core= "git-core" +PKG_git-email= "git-email" + +require git-extraconf.inc diff --git a/meta-tizen/recipes-tizen/git/git_git.bb b/meta-tizen/recipes-tizen/git/git_git.bb new file mode 100644 index 0000000..a33c1fd --- /dev/null +++ b/meta-tizen/recipes-tizen/git/git_git.bb @@ -0,0 +1,8 @@ +require git.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/git;protocol=ssh;tag=12d34008f6a5041ad5256b5ce6568f49c6544cab;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/glib-networking/glib-networking-extraconf.inc b/meta-tizen/recipes-tizen/glib-networking/glib-networking-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/glib-networking/glib-networking-native_git.bb b/meta-tizen/recipes-tizen/glib-networking/glib-networking-native_git.bb new file mode 100644 index 0000000..baf4793 --- /dev/null +++ b/meta-tizen/recipes-tizen/glib-networking/glib-networking-native_git.bb @@ -0,0 +1,12 @@ +require glib-networking.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/glib-networking;protocol=ssh;tag=ca71a38a3b0282467302eab653d92fa4f49e94e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/glib-networking/glib-networking.inc b/meta-tizen/recipes-tizen/glib-networking/glib-networking.inc new file mode 100644 index 0000000..ccc65ce --- /dev/null +++ b/meta-tizen/recipes-tizen/glib-networking/glib-networking.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Network-related GIO modules for glib" +HOMEPAGE = "http://www.gnome.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by glib-networking +PROVIDES += "glib-networking" +RPROVIDES_glib-networking += "glib-networking" + +#PROVIDES by glib-networking-locale +PROVIDES += "glib-networking-locale" +RPROVIDES_glib-networking-locale += "glib-networking-locale" +# the PROVIDES rules is ignore "glib-networking-lang-all = 2.36.2" +PROVIDES += "glib-networking-lang-all" +RPROVIDES_glib-networking-locale += "glib-networking-lang-all" + +RDEPENDS = "" +#RDEPENDS of glib-networking-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "glib-networking" + + +DEPENDS = "" +#DEPENDS of glib-networking +DEPENDS += "pkgconfig(p11-kit-1)" +DEPENDS += "intltool-native" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(gnutls)" +DEPENDS += "libgcrypt-devel" +DEPENDS += "pkgconfig(gio-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/glib-networking.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-ca-certificates=/etc/ssl/ca-bundle.pem + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} glib-networking + + +} + +PACKAGES = "" +PACKAGES += "glib-networking-locale" +PACKAGES += "glib-networking" + +glib-networking-locale_files = "" + +glib-networking_files = "" +glib-networking_files += "glib-networking.manifest" +glib-networking_files += "/usr/lib/gio/modules/libgiognutls.so" + +FILES_${PN}-locale = "${glib-networking-locale_files}" +FILES_${PN} = "${glib-networking_files}" + +PKG_glib-networking-locale= "glib-networking-locale" +PKG_glib-networking= "glib-networking" + +require glib-networking-extraconf.inc diff --git a/meta-tizen/recipes-tizen/glib-networking/glib-networking_git.bb b/meta-tizen/recipes-tizen/glib-networking/glib-networking_git.bb new file mode 100644 index 0000000..5f69afc --- /dev/null +++ b/meta-tizen/recipes-tizen/glib-networking/glib-networking_git.bb @@ -0,0 +1,8 @@ +require glib-networking.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/glib-networking;protocol=ssh;tag=ca71a38a3b0282467302eab653d92fa4f49e94e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/glib/glib-extraconf.inc b/meta-tizen/recipes-tizen/glib/glib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/glib/glib-native_git.bb b/meta-tizen/recipes-tizen/glib/glib-native_git.bb new file mode 100644 index 0000000..7e52e7f --- /dev/null +++ b/meta-tizen/recipes-tizen/glib/glib-native_git.bb @@ -0,0 +1,12 @@ +require glib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/glib;protocol=ssh;tag=af29557a5b50d302aab306d11a5c61099266c822;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/glib/glib.inc b/meta-tizen/recipes-tizen/glib/glib.inc new file mode 100644 index 0000000..0bb85dc --- /dev/null +++ b/meta-tizen/recipes-tizen/glib/glib.inc @@ -0,0 +1,353 @@ +DESCRIPTION = "General-Purpose Utility Library" +HOMEPAGE = "http://www.gtk.org/" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libgmodule +PROVIDES += "libgmodule" +RPROVIDES_libgmodule += "libgmodule" + +#PROVIDES by glib2-locale +PROVIDES += "glib2-locale " +RPROVIDES_glib2-locale += "glib2-locale " +# the PROVIDES rules is ignore "glib2-lang-all = 2.36.4" +PROVIDES += "glib2-lang-all" +RPROVIDES_glib2-locale += "glib2-lang-all" + +#PROVIDES by gio-branding-upstream +PROVIDES += "gio-branding-upstream" +RPROVIDES_gio-branding-upstream += "gio-branding-upstream" +# the PROVIDES rules is ignore "glib2-branding-upstream = 2.36.4" +PROVIDES += "glib2-branding-upstream" +RPROVIDES_gio-branding-upstream += "glib2-branding-upstream" +# the PROVIDES rules is ignore "gio-branding = 2.36.4" +PROVIDES += "gio-branding" +RPROVIDES_gio-branding-upstream += "gio-branding" + +#PROVIDES by glib2-tools +PROVIDES += "glib2-tools" +RPROVIDES_glib2-tools += "glib2-tools" + +#PROVIDES by libgthread +PROVIDES += "libgthread" +RPROVIDES_libgthread += "libgthread" + +#PROVIDES by glib2-devel-static +PROVIDES += "glib2-devel-static" +RPROVIDES_glib2-devel-static += "glib2-devel-static" +RPROVIDES_glib2-devel-static += "glib2-dev" + +#PROVIDES by libglib +PROVIDES += "libglib" +RPROVIDES_libglib += "libglib" +# the PROVIDES rules is ignore "glib2 = 2.36.4" +PROVIDES += "glib2" +RPROVIDES_libglib += "glib2" + +#PROVIDES by glib2 +PROVIDES += "glib2" +RPROVIDES_glib2 += "glib2" + +#PROVIDES by glib2-devel +PROVIDES += "glib2-devel" +RPROVIDES_glib2-devel += "glib2-devel" +RPROVIDES_glib2-devel += "glib2-dev" +# the PROVIDES rules is ignore "glib2-doc = 2.19.6" +PROVIDES += "glib2-doc" +RPROVIDES_glib2-devel += "glib2-doc" + +#PROVIDES by libgio +PROVIDES += "libgio" +RPROVIDES_libgio += "libgio" +# the PROVIDES rules is ignore "gio = 2.36.4" +PROVIDES += "gio" +RPROVIDES_libgio += "gio" + +#PROVIDES by libgobject +PROVIDES += "libgobject" +RPROVIDES_libgobject += "libgobject" + +RDEPENDS = "" +#RDEPENDS of glib2-locale (${PN}2-locale ) +RDEPENDS_${PN}2-locale += "glib2" + +#RDEPENDS of gio-branding-upstream (gio-branding-upstream) +RDEPENDS_gio-branding-upstream += "libgio" + +#RDEPENDS of glib2-devel-static (${PN}2-devel-static) +RDEPENDS_${PN}2-devel-static += "glib2-dev" + +#RDEPENDS of glib2-devel (${PN}2-devel) +RDEPENDS_${PN}2-devel += "glibc-dev" +RDEPENDS_${PN}2-devel += "libgmodule" +RDEPENDS_${PN}2-devel += "pkgconfig" +RDEPENDS_${PN}2-devel += "glib2-tools" +RDEPENDS_${PN}2-devel += "libgthread" +RDEPENDS_${PN}2-devel += "python-xml" +RDEPENDS_${PN}2-devel += "libgio" +RDEPENDS_${PN}2-devel += "glib2" +RDEPENDS_${PN}2-devel += "libglib" +RDEPENDS_${PN}2-devel += "libgobject" + +#RDEPENDS of libgio (libgio) +RDEPENDS_libgio += "gio-branding" +RDEPENDS_libgio += "shared-mime-info" + + +DEPENDS = "" +#DEPENDS of glib2 +DEPENDS += "pkgconfig(libpcre)" +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(libelf)" +DEPENDS += "pkgconfig(libffi)" +inherit pythonnative +DEPENDS += "pkgconfig-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "python-xml" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n glib2-2.36.4 + cp ${S}/packaging/glib2.manifest . + cp -a ${S}/packaging/glib2.sh ${S}/packaging/glib2.csh . + cp -a ${S}/packaging/glib2-upstream-gnome_defaults.conf gnome_defaults.conf + if ! test -f /usr/share/aclocal/gtk-doc.m4 ; then + cp -a ${S}/packaging/gtk-doc.m4 m4macros/ + fi + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-static \ + --with-pcre=system + + oe_runmake -j16 V=1 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} glib20 --without-C + + mkdir -p ${D}/etc/profile.d + install -D -m0644 glib2.sh ${D}/etc/profile.d/zzz-glib2.sh + install -D -m0644 glib2.csh ${D}/etc/profile.d/zzz-glib2.csh + install -D -m0644 gnome_defaults.conf ${D}/etc/gnome_defaults.conf + # default apps magic + mkdir -p ${D}/var/cache/gio-2.0 ${D}/usr/share/applications + touch ${D}/var/cache/gio-2.0/gnome-defaults.list + touch ${D}/var/cache/gio-2.0/xfce-defaults.list + touch ${D}/var/cache/gio-2.0/lxde-defaults.list + ln -s /var/cache/gio-2.0/gnome-defaults.list ${D}/usr/share/applications/defaults.list + # gio-querymodules magic + touch ${D}/usr/lib/gio/modules/giomodule.cache + # gsettings magic + touch ${D}/usr/share/glib-2.0/schemas/gschemas.compiled + # remove files we don't care about + find ${D}/usr/lib -name '*.la' -type f -delete -print + # Install rpm macros + mkdir -p ${D}/etc/rpm + cp ${S}/packaging/macros.glib2 ${D}/etc/rpm + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "glib2-locale" +PACKAGES += "libgmodule" +PACKAGES += "gio-branding-upstream" +PACKAGES += "glib2-tools" +PACKAGES += "libgthread" +PACKAGES += "glib2-devel-static" +PACKAGES += "libgio" +PACKAGES += "glib2-devel" +PACKAGES += "libglib" +PACKAGES += "libgobject" + +glib2-locale_files = "" + +libgmodule_files = "" +libgmodule_files += "glib2.manifest" +libgmodule_files += "/usr/lib/libgmodule*.so.*" + +gio-branding-upstream_files = "" +gio-branding-upstream_files += "glib2.manifest" +gio-branding-upstream_files += "(noreplace) /etc/gnome_defaults.conf" + +glib2-tools_files = "" +glib2-tools_files += "glib2.manifest" +glib2-tools_files += "/usr/share/bash-completion" +glib2-tools_files += "/usr/share/bash-completion/completions" +glib2-tools_files += "/usr/share/bash-completion/completions/gresource" +glib2-tools_files += "/usr/share/bash-completion/completions/gsettings" +glib2-tools_files += "/usr/bin/gdbus" +glib2-tools_files += "/usr/bin/gio-querymodules*" +glib2-tools_files += "/usr/bin/glib-compile-schemas" +glib2-tools_files += "/usr/bin/gresource" +glib2-tools_files += "/usr/bin/gsettings" +glib2-tools_files += "/etc/profile.d/zzz-glib2.*" + +libgthread_files = "" +libgthread_files += "glib2.manifest" +libgthread_files += "/usr/lib/libgthread*.so.*" + +glib2-devel-static_files = "" +glib2-devel-static_files += "glib2.manifest" +glib2-devel-static_files += "/usr/lib/lib*.a" + +libgio_files = "" +libgio_files += "glib2.manifest" +libgio_files += "/usr/lib/libgio*.so.*" +libgio_files += "/usr/lib/gio" +libgio_files += "/usr/lib/gio/modules" +libgio_files += "/usr/share/glib-2.0/" +libgio_files += "/usr/share/glib-2.0/schemas/" +libgio_files += "/usr/share/applications/defaults.list" +libgio_files += "/var/cache/gio-2.0" + +glib2-devel_files = "" +glib2-devel_files += "glib2.manifest" +glib2-devel_files += "/usr/bin/gdbus-codegen" +glib2-devel_files += "/usr/share/bash-completion/completions/*" +glib2-devel_files += "/usr/share/glib-2.0/codegen" +glib2-devel_files += "/usr/bin/glib-compile-resources" +glib2-devel_files += "/usr/bin/glib-genmarshal" +glib2-devel_files += "/usr/bin/glib-gettextize" +glib2-devel_files += "/usr/bin/glib-mkenums" +glib2-devel_files += "/usr/bin/gobject-query" +glib2-devel_files += "/usr/bin/gtester" +glib2-devel_files += "/usr/bin/gtester-report" +glib2-devel_files += "/usr/share/aclocal" +glib2-devel_files += "/usr/share/aclocal/glib-2.0.m4" +glib2-devel_files += "/usr/share/aclocal/glib-gettext.m4" +glib2-devel_files += "/usr/share/aclocal/gsettings.m4" +glib2-devel_files += "/usr/share/glib-2.0/" +glib2-devel_files += "/usr/share/glib-2.0/gdb/" +glib2-devel_files += "/usr/share/glib-2.0/gettext/" +glib2-devel_files += "/usr/share/glib-2.0/schemas/gschema.dtd" +glib2-devel_files += "/usr/include/glib-2.0" +glib2-devel_files += "/usr/include/gio-unix-2.0" +glib2-devel_files += "/usr/lib/lib*.so" +glib2-devel_files += "/usr/lib/glib-2.0/" +glib2-devel_files += "/usr/lib/glib-2.0/include/" +glib2-devel_files += "/usr/lib/pkgconfig/*.pc" +glib2-devel_files += "/usr/share/gdb/auto-load/usr/lib/*-gdb.py" +glib2-devel_files += "/etc/rpm/macros.glib2" +glib2-devel_files += "/usr/share/gdb" +glib2-devel_files += "/usr/share/gdb/auto-load" +glib2-devel_files += "/usr/share/gdb/auto-load/usr" +glib2-devel_files += "/usr/share/gdb/auto-load/usr/lib" + +libglib_files = "" +libglib_files += "glib2.manifest" +libglib_files += "/usr/lib/libglib*.so.*" + +libgobject_files = "" +libgobject_files += "glib2.manifest" +libgobject_files += "/usr/lib/libgobject*.so.*" + +FILES_${PN}-locale = "${glib2-locale_files}" +FILES_libgmodule = "${libgmodule_files}" +FILES_gio-branding-upstream = "${gio-branding-upstream_files}" +FILES_${PN}-tools = "${glib2-tools_files}" +FILES_libgthread = "${libgthread_files}" +FILES_${PN}-devel-static = "${glib2-devel-static_files}" +FILES_libgio = "${libgio_files}" +FILES_${PN}-devel = "${glib2-devel_files}" +FILES_libglib = "${libglib_files}" +FILES_libgobject = "${libgobject_files}" + +PKG_glib2-locale= "glib2-locale" +PKG_libgmodule= "libgmodule" +PKG_gio-branding-upstream= "gio-branding-upstream" +PKG_glib2-tools= "glib2-tools" +PKG_libgthread= "libgthread" +PKG_glib2-devel-static= "glib2-devel-static" +PKG_libgio= "libgio" +PKG_glib2-devel= "glib2-devel" +PKG_libglib= "libglib" +PKG_libgobject= "libgobject" + +require glib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/glib/glib_git.bb b/meta-tizen/recipes-tizen/glib/glib_git.bb new file mode 100644 index 0000000..06fd756 --- /dev/null +++ b/meta-tizen/recipes-tizen/glib/glib_git.bb @@ -0,0 +1,8 @@ +require glib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/glib;protocol=ssh;tag=af29557a5b50d302aab306d11a5c61099266c822;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/glibc/glibc-extraconf.inc b/meta-tizen/recipes-tizen/glibc/glibc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/glibc/glibc.inc b/meta-tizen/recipes-tizen/glibc/glibc.inc new file mode 100644 index 0000000..7b2eb36 --- /dev/null +++ b/meta-tizen/recipes-tizen/glibc/glibc.inc @@ -0,0 +1,612 @@ +DESCRIPTION = "Standard Shared Libraries (from the GNU C Library)" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by glibc-devel +PROVIDES += "glibc-devel" +RPROVIDES_glibc-devel += "glibc-devel" +RPROVIDES_glibc-devel += "glibc-dev" + +#PROVIDES by glibc-locale +PROVIDES += "glibc-locale" +RPROVIDES_glibc-locale += "glibc-locale" + +#PROVIDES by glibc-devel-static +PROVIDES += "glibc-devel-static" +RPROVIDES_glibc-devel-static += "glibc-devel-static" +RPROVIDES_glibc-devel-static += "glibc-dev" +# the PROVIDES rules is ignore "glibc-static = 2.18" +PROVIDES += "glibc-static" +RPROVIDES_glibc-devel-static += "glibc-static" + +#PROVIDES by glibc-extra +PROVIDES += "glibc-extra" +RPROVIDES_glibc-extra += "glibc-extra" + +#PROVIDES by glibc +PROVIDES += "glibc" +RPROVIDES_glibc += "glibc" +# the PROVIDES rules is ignore "rtld(GNU_HASH) " +PROVIDES += "rtld(GNU_HASH)" +RPROVIDES_glibc += "rtld(GNU_HASH)" + +#PROVIDES by glibc-obsolete +PROVIDES += "glibc-obsolete" +RPROVIDES_glibc-obsolete += "glibc-obsolete" + +#PROVIDES by glibc-docs +PROVIDES += "glibc-docs " +RPROVIDES_glibc-docs += "glibc-docs " + +#PROVIDES by glibc-info +PROVIDES += "glibc-info" +RPROVIDES_glibc-info += "glibc-info" + +#PROVIDES by glibc-devel-utils +PROVIDES += "glibc-devel-utils" +RPROVIDES_glibc-devel-utils += "glibc-devel-utils" +RPROVIDES_glibc-devel-utils += "glibc-dev" + +#PROVIDES by nscd +PROVIDES += "nscd" +RPROVIDES_nscd += "nscd" +# the PROVIDES rules is ignore "glibc:/usr/sbin/nscd " +PROVIDES += "glibc:/usr/sbin/nscd" +RPROVIDES_nscd += "glibc:/usr/sbin/nscd" + +#PROVIDES by glibc-i18ndata +PROVIDES += "glibc-i18ndata" +RPROVIDES_glibc-i18ndata += "glibc-i18ndata" + +#PROVIDES by glibc-html +PROVIDES += "glibc-html" +RPROVIDES_glibc-html += "glibc-html" + +#PROVIDES by glibc-profile +PROVIDES += "glibc-profile" +RPROVIDES_glibc-profile += "glibc-profile" + +RDEPENDS = "" +#RDEPENDS of glibc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "eglibc" + +#RDEPENDS of glibc-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "/usr/bin/cat" +RDEPENDS_${PN}-locale += "eglibc" + +#RDEPENDS of glibc-devel-static (${PN}-devel-static) +RDEPENDS_${PN}-devel-static += "glibc-dev" + +#RDEPENDS of glibc-extra (${PN}-extra) +RDEPENDS_${PN}-extra += "eglibc" + +#RDEPENDS of glibc-profile (${PN}-profile) +RDEPENDS_${PN}-profile += "eglibc" + +#RDEPENDS of glibc-obsolete (${PN}-obsolete) +RDEPENDS_${PN}-obsolete += "eglibc" + +#RDEPENDS of glibc-devel-utils (${PN}-devel-utils) +RDEPENDS_${PN}-devel-utils += "eglibc" + +#RDEPENDS of nscd (nscd) +RDEPENDS_nscd += "eglibc" + +#RDEPENDS of glibc (${PN}) +RDEPENDS_${PN} += "filesystem" + + +DEPENDS = "" +#DEPENDS of glibc +DEPENDS += "xz" +DEPENDS += "gcc-cross" +DEPENDS += "fdupes-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n glibc-2.18 -q + cp ${S}/packaging/glibc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + if [ -x /bin/uname.bin ]; then + /bin/uname.bin -a + else + uname -a + fi + uptime || : + ulimit -a + nice + # We do not want configure to figure out the system its building one + # to support a common ground and thus set build and host to the + # target_cpu. + # Don't use as-needed, it breaks glibc assumptions + # Before enabling it, run the testsuite and verify that it + # passes completely + export LD_AS_NEEDED=0 + # Adjust glibc version.h + echo "#define CONFHOST \"x86_64-tizen-linux\"" >> version.h + echo "#define GITID \"eefa3be8e4c2\"" >> version.h + # + # Default CFLAGS and Compiler + # + BuildFlags=$(echo -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables | sed -e "s/-Wp,-D_FORTIFY_SOURCE=2//g" | sed -e "s/-ffast-math//" | sed -e "s/atom/i686/g" | sed -e "s/-mthumb//" | sed -e "s/-fexceptions//" ) + BuildFlags="$BuildFlags -O2 -g -U_FORTIFY_SOURCE" + BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector##' -e 's#-ffortify=[0-9]*##')" + BuildCC="${HOST_SYS}-gcc" + BuildCCplus="${HOST_SYS}-g++" + add_ons=",libidn" + + + BuildFlags="$BuildFlags -g" + + configure_and_build_glibc() { + local dirname="$1"; shift + local cflags="$1"; shift + local addons="$1"; shift + mkdir "cc-$dirname" + cd "cc-$dirname" + conf_cflags="$cflags" + + profile="--disable-profile" + if [ "$dirname" = "base" ] ; then + profile="--enable-profile" + fi + CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \ + CC="$BuildCC" CXX="$BuildCCplus" ../configure \ + --prefix=/usr \ + --libexecdir=/usr/libexec --infodir=/usr/share/info \ + --enable-add-ons=nptl$addons \ + $profile \ + "$@" \ + --enable-stackguard-randomization \ + --build=x86_64-tizen-linux --host=x86_64-tizen-linux \ + --enable-multi-arch \ + --enable-kernel=2.6.16 \ + --enable-bind-now --enable-obsolete-rpc + # explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure) + make -j16 #CFLAGS="$cflags" BUILD_CFLAGS="$cflags" + cd .. + } + + # + # Build base glibc + # + configure_and_build_glibc base "$BuildFlags" "$add_ons" + + # + # Build html documentation + # + make -C cc-base html + + # + # Build glibc_post_upgrade binary + # + $BuildCC -static -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgrade \ + -Lcc-base -Bcc-base/csu \ + '-DREMOVE_TLS_DIRS' '-DREMOVE_PPC_OPTIMIZE_POWER5' \ + '-DLIBDIR="/lib"' '-DGCONV_MODULES_DIR="/usr/lib/gconv"' + + + ####################################################################### + ### + ### CHECK + ### + ####################################################################### + + exit 0 + # The testsuite will fail if asneeded is used + export LD_AS_NEEDED=0 + # This has to pass on all platforms! + # Exceptions: + # None! + make -j16 -C cc-base check-abi + + ####################################################################### + ### + ### INSTALL + ### + ####################################################################### + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # We don't want to strip the .symtab from our libraries in find-debuginfo.sh, + # certainly not from libpthread.so.* because it is used by libthread_db to find + # some non-exported symbols in order to detect if threading support + # should be enabled. These symbols are _not_ exported, and we can't easily + # export them retroactively without changing the ABI. So we have to + # continue to "export" them via .symtab, instead of .dynsym :-( + # But we also want to keep .symtab and .strtab of other libraries since some + # debugging tools currently require these sections directly inside the main + # files - specifically valgrind and PurifyPlus. + export STRIP_KEEP_SYMTAB=*.so* + + # Make sure we will create the gconv-modules.cache + mkdir -p ${D}/usr/lib/gconv + touch ${D}/usr/lib/gconv/gconv-modules.cache + + # Install base glibc + make -j16 install_root=${D} install -C cc-base + + install_optimized_variant() { + local dirname="$1"; shift + local subdir="$1"; shift + local subdir_up="$1"; shift + + cd "cc-$dirname" + destdir=$RPM_BUILD_ROOT/lib/$subdir + mkdir -p $destdir + # Don't run a complete make install, we know which libraries + # we want + for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db + do + libbase=${lib#*/} + libbaseso=$(basename $RPM_BUILD_ROOT/lib/${libbase}-*.so) + # Only install if different from base lib + if cmp -s ${lib}.so ../cc-base/${lib}.so; then + ln -sf $subdir_up/$libbaseso $destdir/$libbaseso + else + cp -a ${lib}.so $destdir/$libbaseso + fi + # Emulate ldconfig + ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/lib/${libbase}.so.*) + done + cd .. + } + + + # Install locales + # XXX Do not install locales in parallel! + cd cc-base + # localedef creates hardlinks to other locales if possible + # this will not work if we generate them in parallel. + # thus we need to run fdupes on /usr/lib/locale/ + # Still, on my system this is a speed advantage: + # non-parallel build for install-locales: 9:34mins + # parallel build with fdupes: 7:08mins + make -j16 install_root=${D} localedata/install-locales + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib/locale | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + cd .. + # Create file list for glibc-locale package + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libc + + # Prepare obsolete/, used only on some architectures: + export RPM_BUILD_ROOT + + # NPTL is not usable outside of glibc, so include + # the generic one (RH#162634) + cp -av bits/stdio-lock.h ${D}/usr/include/bits/stdio-lock.h + + + # Miscelanna: + + install -m 0700 glibc_post_upgrade ${D}/usr/sbin + + install -m 644 ${S}/packaging/bindresvport.blacklist ${D}/etc + install -m 644 ${S}/packaging/nsswitch.conf ${D}/etc + install -m 644 posix/gai.conf ${D}/etc + + mkdir -p ${D}/etc/default + install -m 644 nis/nss ${D}/etc/default/ + + mkdir -p ${D}/usr/include/resolv + install -m 0644 resolv/mapv4v6addr.h ${D}/usr/include/resolv/ + install -m 0644 resolv/mapv4v6hostent.h ${D}/usr/include/resolv/ + + mkdir -p ${D}/usr/share/doc/glibc + cp -p cc-base/manual/libc/*.html ${D}/usr/share/doc/glibc + + + # nscd tools: + + cp nscd/nscd.conf ${D}/etc + mkdir -p ${D}/etc/init.d + ln -sf /sbin/service ${D}/usr/sbin/rcnscd + mkdir -p ${D}/var/run/nscd + touch ${D}/var/run/nscd/{passwd,group,hosts} + touch ${D}/var/run/nscd/{socket,nscd.pid} + + # + # Create ld.so.conf + # + cat > ${D}/etc/ld.so.conf < +2012/05/02 + +Index: gmp-4.2.1/configure.in +=================================================================== +--- gmp-4.2.1.orig/configure.in ++++ gmp-4.2.1/configure.in +@@ -67,7 +67,7 @@ dnl + dnl Note that there's a copy of these options in the top-level Makefile.am, + dnl so update there too if changing anything. + dnl +-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr]) ++AM_INIT_AUTOMAKE([1.8 gnu no-dependencies]) + AM_CONFIG_HEADER(config.h:config.in) + AM_MAINTAINER_MODE + +@@ -2228,8 +2228,6 @@ fi + echo " MPN_PATH=\"$path\"" + + +-# Automake ansi2knr support. +-AM_C_PROTOTYPES + + CL_AS_NOEXECSTACK + + +Index: gmp-4.2.1/Makefile.am +=================================================================== +--- gmp-4.2.1.orig/Makefile.am ++++ gmp-4.2.1/Makefile.am +@@ -27,7 +27,7 @@ + # Makefiles in subdirectories, but here we must omit it so automake gives + # the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr". + # +-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr ++AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies + + + # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the diff --git a/meta-tizen/recipes-tizen/gnome-common/gnome-common-extraconf.inc b/meta-tizen/recipes-tizen/gnome-common/gnome-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gnome-common/gnome-common-native_git.bb b/meta-tizen/recipes-tizen/gnome-common/gnome-common-native_git.bb new file mode 100644 index 0000000..87d014f --- /dev/null +++ b/meta-tizen/recipes-tizen/gnome-common/gnome-common-native_git.bb @@ -0,0 +1,12 @@ +require gnome-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnome-common;protocol=ssh;tag=a3988cb22c3494014516ca9b4cacb8ee3eb03b11;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gnome-common/gnome-common.inc b/meta-tizen/recipes-tizen/gnome-common/gnome-common.inc new file mode 100644 index 0000000..f83b0b1 --- /dev/null +++ b/meta-tizen/recipes-tizen/gnome-common/gnome-common.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Common Files to Build GNOME" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/GUI/GNOME" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gnome-common +PROVIDES += "gnome-common" +RPROVIDES_gnome-common += "gnome-common" + +RDEPENDS = "" +#RDEPENDS of gnome-common (${PN}) +RDEPENDS_${PN} += "gettext-tools" +RDEPENDS_${PN} += "intltool" +RDEPENDS_${PN} += "pkgconfig" +RDEPENDS_${PN} += "automake" +RDEPENDS_${PN} += "libtool" +RDEPENDS_${PN} += "autoconf" +RDEPENDS_${PN} += "glib2-dev" + + +DEPENDS = "" +#DEPENDS of gnome-common +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gnome-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "gnome-common" + +gnome-common_files = "" +gnome-common_files += "gnome-common.manifest" +gnome-common_files += "/usr/bin/gnome-autogen.sh" +gnome-common_files += "/usr/bin/gnome-doc-common" +gnome-common_files += "/usr/share/aclocal" +gnome-common_files += "/usr/share/aclocal/gnome-common.m4" +gnome-common_files += "/usr/share/aclocal/gnome-compiler-flags.m4" +gnome-common_files += "/usr/share/aclocal/gnome-code-coverage.m4" +gnome-common_files += "/usr/share/gnome-common/" + +FILES_${PN} = "${gnome-common_files}" + +PKG_gnome-common= "gnome-common" + +require gnome-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gnome-common/gnome-common_git.bb b/meta-tizen/recipes-tizen/gnome-common/gnome-common_git.bb new file mode 100644 index 0000000..5d68e7e --- /dev/null +++ b/meta-tizen/recipes-tizen/gnome-common/gnome-common_git.bb @@ -0,0 +1,8 @@ +require gnome-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnome-common;protocol=ssh;tag=a3988cb22c3494014516ca9b4cacb8ee3eb03b11;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gnu-efi/gnu-efi-extraconf.inc b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gnu-efi/gnu-efi-native_git.bb b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi-native_git.bb new file mode 100644 index 0000000..4117ecb --- /dev/null +++ b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi-native_git.bb @@ -0,0 +1,12 @@ +require gnu-efi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnu-efi;protocol=ssh;tag=f6c0f11ff9d9c2427b94c78a37cc9f7dc47de138;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gnu-efi/gnu-efi.inc b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi.inc new file mode 100644 index 0000000..ac41536 --- /dev/null +++ b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "EFI development environment" +HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/" +SECTION = "System/Boot" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gnu-efi +PROVIDES += "gnu-efi" +RPROVIDES_gnu-efi += "gnu-efi" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gnu-efi +DEPENDS += "pciutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gnu-efi-3.0 + cp ${S}/packaging/gnu-efi.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install PREFIX=/usr INSTALLROOT=${D} + + +} + +PACKAGES = "" +PACKAGES += "gnu-efi" + +gnu-efi_files = "" +gnu-efi_files += "gnu-efi.manifest" +gnu-efi_files += "/usr/include/efi/*" +gnu-efi_files += "/usr/lib/*" + +FILES_${PN} = "${gnu-efi_files}" + +PKG_gnu-efi= "gnu-efi" + +require gnu-efi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gnu-efi/gnu-efi_git.bb b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi_git.bb new file mode 100644 index 0000000..acf0ba1 --- /dev/null +++ b/meta-tizen/recipes-tizen/gnu-efi/gnu-efi_git.bb @@ -0,0 +1,8 @@ +require gnu-efi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnu-efi;protocol=ssh;tag=f6c0f11ff9d9c2427b94c78a37cc9f7dc47de138;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gnutls/gnutls-extraconf.inc b/meta-tizen/recipes-tizen/gnutls/gnutls-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gnutls/gnutls-native_git.bb b/meta-tizen/recipes-tizen/gnutls/gnutls-native_git.bb new file mode 100644 index 0000000..c001dcb --- /dev/null +++ b/meta-tizen/recipes-tizen/gnutls/gnutls-native_git.bb @@ -0,0 +1,12 @@ +require gnutls.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnutls;protocol=ssh;tag=b3c129db29e4b4d6bdeb6980872a5c4a14a24ae8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gnutls/gnutls.inc b/meta-tizen/recipes-tizen/gnutls/gnutls.inc new file mode 100644 index 0000000..50ac62f --- /dev/null +++ b/meta-tizen/recipes-tizen/gnutls/gnutls.inc @@ -0,0 +1,245 @@ +DESCRIPTION = "The GNU Transport Layer Security Library" +HOMEPAGE = "http://www.gnutls.org/" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-3.0+ and GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libgnutlsxx +PROVIDES += "libgnutlsxx" +RPROVIDES_libgnutlsxx += "libgnutlsxx" + +#PROVIDES by libgnutls +PROVIDES += "libgnutls" +RPROVIDES_libgnutls += "libgnutls" + +#PROVIDES by libgnutls-devel +PROVIDES += "libgnutls-devel" +RPROVIDES_libgnutls-devel += "libgnutls-devel" +RPROVIDES_libgnutls-devel += "libgnutls-dev" +# the PROVIDES rules is ignore "gnutls-devel = 3.0.30-0" +PROVIDES += "gnutls-devel" +RPROVIDES_libgnutls-devel += "gnutls-devel" +RPROVIDES_libgnutls-devel += "gnutls-dev" + +#PROVIDES by libgnutls-openssl-devel +PROVIDES += "libgnutls-openssl-devel" +RPROVIDES_libgnutls-openssl-devel += "libgnutls-openssl-devel" +RPROVIDES_libgnutls-openssl-devel += "libgnutls-openssl-dev" + +#PROVIDES by libgnutlsxx-devel +PROVIDES += "libgnutlsxx-devel" +RPROVIDES_libgnutlsxx-devel += "libgnutlsxx-devel" +RPROVIDES_libgnutlsxx-devel += "libgnutlsxx-dev" + +#PROVIDES by gnutls +PROVIDES += "gnutls" +RPROVIDES_gnutls += "gnutls" + +#PROVIDES by libgnutls-openssl +PROVIDES += "libgnutls-openssl" +RPROVIDES_libgnutls-openssl += "libgnutls-openssl" + +RDEPENDS = "" +#RDEPENDS of libgnutls-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "libgnutls" + +#RDEPENDS of libgnutls-openssl-devel (lib${PN}-openssl-devel) +RDEPENDS_lib${PN}-openssl-devel += "libgnutls-dev" +RDEPENDS_lib${PN}-openssl-devel += "libgnutls-openssl" + +#RDEPENDS of libgnutlsxx-devel (lib${PN}xx-devel) +RDEPENDS_lib${PN}xx-devel += "libgnutls-dev" +RDEPENDS_lib${PN}xx-devel += "libgnutlsxx" +RDEPENDS_lib${PN}xx-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of gnutls +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(nettle)" +DEPENDS += "libtasn1-devel" +DEPENDS += "pkgconfig-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "xz" +DEPENDS += "libtool-cross" +DEPENDS += "libidn-devel" +DEPENDS += "p11-kit-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gnutls.manifest . + echo /usr/include/gnutls/abstract.h + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -if + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-pic \ + --disable-rpath \ + --disable-silent-rules \ + --with-default-trust-store-dir=/etc/ssl/certs \ + --with-sysroot=/ + make -j16 + + # 17-ago-2011, Test suite passes in factory, just not + #in the build system due to some broken code requiring both networking + #and fixes. + #make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf doc/examples/.deps doc/examples/.libs doc/examples/*.{o,lo,la} doc/examples/Makefile{,.in} + find doc/examples -perm -111 -exec rm {} \; + rm -rf ${D}/usr/share/locale/en@{,bold}quot + # Do not package static libs and libtool files + rm -f ${D}/usr/lib/*.la + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libgnutls --all-name + + +} + +PACKAGES = "" +PACKAGES += "libgnutlsxx" +PACKAGES += "libgnutls" +PACKAGES += "libgnutls-devel" +PACKAGES += "libgnutls-openssl-devel" +PACKAGES += "libgnutlsxx-devel" +PACKAGES += "gnutls" +PACKAGES += "libgnutls-openssl" + +libgnutlsxx_files = "" +libgnutlsxx_files += "gnutls.manifest" +libgnutlsxx_files += "/usr/lib/libgnutlsxx.so.*" + +libgnutls_files = "" +libgnutls_files += "gnutls.manifest" +libgnutls_files += "/usr/lib/libgnutls.so.*" + +libgnutls-devel_files = "" +libgnutls-devel_files += "gnutls.manifest" +libgnutls-devel_files += "/usr/include/gnutls" +libgnutls-devel_files += "/usr/include/gnutls/abstract.h" +libgnutls-devel_files += "/usr/include/gnutls/crypto.h" +libgnutls-devel_files += "/usr/include/gnutls/compat.h" +libgnutls-devel_files += "/usr/include/gnutls/dtls.h" +libgnutls-devel_files += "/usr/include/gnutls/gnutls.h" +libgnutls-devel_files += "/usr/include/gnutls/openpgp.h" +libgnutls-devel_files += "/usr/include/gnutls/ocsp.h" +libgnutls-devel_files += "/usr/include/gnutls/pkcs11.h" +libgnutls-devel_files += "/usr/include/gnutls/pkcs12.h" +libgnutls-devel_files += "/usr/include/gnutls/x509.h" +libgnutls-devel_files += "/usr/lib/libgnutls.so" +libgnutls-devel_files += "/usr/lib/pkgconfig/gnutls.pc" +libgnutls-devel_files += "/usr/share/man/man3/*" +libgnutls-devel_files += "/usr/share/info/*.*" +libgnutls-devel_files += "doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/*" + +libgnutls-openssl-devel_files = "" +libgnutls-openssl-devel_files += "gnutls.manifest" +libgnutls-openssl-devel_files += "/usr/lib/libgnutls-openssl.so" +libgnutls-openssl-devel_files += "/usr/include/gnutls" +libgnutls-openssl-devel_files += "/usr/include/gnutls/openssl.h" + +libgnutlsxx-devel_files = "" +libgnutlsxx-devel_files += "gnutls.manifest" +libgnutlsxx-devel_files += "/usr/lib/libgnutlsxx.so" +libgnutlsxx-devel_files += "/usr/include/gnutls" +libgnutlsxx-devel_files += "/usr/include/gnutls/gnutlsxx.h" + +gnutls_files = "" +gnutls_files += "gnutls.manifest" +gnutls_files += "GPL-3.0+ COPYING" +gnutls_files += "/usr/bin/certtool" +gnutls_files += "/usr/bin/crywrap" +gnutls_files += "/usr/bin/gnutls-cli" +gnutls_files += "/usr/bin/gnutls-cli-debug" +gnutls_files += "/usr/bin/gnutls-serv" +gnutls_files += "/usr/bin/ocsptool" +gnutls_files += "/usr/bin/psktool" +gnutls_files += "/usr/bin/p11tool" +gnutls_files += "/usr/bin/srptool" +gnutls_files += "/usr/share/man/man1/*" + +libgnutls-openssl_files = "" +libgnutls-openssl_files += "gnutls.manifest" +libgnutls-openssl_files += "/usr/lib/libgnutls-openssl.so.*" + +FILES_lib${PN}xx = "${libgnutlsxx_files}" +FILES_lib${PN} = "${libgnutls_files}" +FILES_lib${PN}-devel = "${libgnutls-devel_files}" +FILES_lib${PN}-openssl-devel = "${libgnutls-openssl-devel_files}" +FILES_lib${PN}xx-devel = "${libgnutlsxx-devel_files}" +FILES_${PN} = "${gnutls_files}" +FILES_lib${PN}-openssl = "${libgnutls-openssl_files}" + +PKG_libgnutlsxx= "libgnutlsxx" +PKG_libgnutls= "libgnutls" +PKG_libgnutls-devel= "libgnutls-devel" +PKG_libgnutls-openssl-devel= "libgnutls-openssl-devel" +PKG_libgnutlsxx-devel= "libgnutlsxx-devel" +PKG_gnutls= "gnutls" +PKG_libgnutls-openssl= "libgnutls-openssl" + +require gnutls-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gnutls/gnutls_git.bb b/meta-tizen/recipes-tizen/gnutls/gnutls_git.bb new file mode 100644 index 0000000..0d17fb0 --- /dev/null +++ b/meta-tizen/recipes-tizen/gnutls/gnutls_git.bb @@ -0,0 +1,8 @@ +require gnutls.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gnutls;protocol=ssh;tag=b3c129db29e4b4d6bdeb6980872a5c4a14a24ae8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-native_git.bb b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-native_git.bb new file mode 100644 index 0000000..2857050 --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-native_git.bb @@ -0,0 +1,12 @@ +require gobject-introspection.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gobject-introspection;protocol=ssh;tag=6c15fe2f7415421fd1d38d03d8865c0e3e4c9967;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc new file mode 100644 index 0000000..81a7f14 --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc @@ -0,0 +1,218 @@ +DESCRIPTION = "GObject Introspection Tools" +HOMEPAGE = "http://live.gnome.org/GObjectIntrospection" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gobject-introspection +PROVIDES += "gobject-introspection" +RPROVIDES_gobject-introspection += "gobject-introspection" + +#PROVIDES by gobject-introspection-devel +PROVIDES += "gobject-introspection-devel" +RPROVIDES_gobject-introspection-devel += "gobject-introspection-devel" +RPROVIDES_gobject-introspection-devel += "gobject-introspection-dev" + +#PROVIDES by girepository +PROVIDES += "girepository" +RPROVIDES_girepository += "girepository" + +#PROVIDES by libgirepository +PROVIDES += "libgirepository" +RPROVIDES_libgirepository += "libgirepository" + +#PROVIDES by gobject-introspection-docs +PROVIDES += "gobject-introspection-docs " +RPROVIDES_gobject-introspection-docs += "gobject-introspection-docs " + +RDEPENDS = "" +#RDEPENDS of gobject-introspection (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "libgirepository" + +#RDEPENDS of gobject-introspection-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gobject-introspection" +RDEPENDS_${PN}-devel += "libffi-dev" + +#RDEPENDS of girepository (girepository) +RDEPENDS_girepository += "libgirepository" + +#RDEPENDS of libgirepository (libgirepository) +RDEPENDS_libgirepository += "girepository" + + +DEPENDS = "" +#DEPENDS of gobject-introspection +DEPENDS += "flex" +DEPENDS += "fdupes-native" +DEPENDS += "pkgconfig(cairo-gobject)" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "python-devel" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "libtool-cross" +DEPENDS += "python-xml" +DEPENDS += "bison-native" +DEPENDS += "libffi-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gobject-introspection.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh + #autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-gtk-doc + oe_runmake -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D ${S}/packaging/gi-find-deps.sh ${D}/usr/share/spec2yocto/macro/gi-find-deps.sh + install -D ${S}/packaging/gobjectintrospection.attr -m 0644 ${D}/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr + # comparing, if we provide all the symbols expected. + ls ${D}/usr/lib/girepository-1.0/*.typelib | sh ${S}/packaging/gi-find-deps.sh -P > gobject-introspection-typelib.installed + diff -s ${S}/packaging/gobject-introspection-typelib.template gobject-introspection-typelib.installed + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "gobject-introspection" +PACKAGES += "gobject-introspection-devel" +PACKAGES += "girepository" +PACKAGES += "libgirepository" +PACKAGES += "gobject-introspection-docs" + +gobject-introspection_files = "" +gobject-introspection_files += "gobject-introspection.manifest" +gobject-introspection_files += "LGPL-2.1+ COPYING COPYING.GPL" +gobject-introspection_files += "/usr/bin/g-ir-annotation-tool" +gobject-introspection_files += "/usr/bin/g-ir-compiler" +gobject-introspection_files += "/usr/bin/g-ir-dep-tool" +gobject-introspection_files += "/usr/bin/g-ir-generate" +gobject-introspection_files += "/usr/bin/g-ir-scanner" +gobject-introspection_files += "/usr/share/aclocal/introspection.m4" +gobject-introspection_files += "/usr/share/gir-1.0/*.gir" +gobject-introspection_files += "/usr/lib/gobject-introspection" +gobject-introspection_files += "/usr/lib/gobject-introspection/giscanner/" +gobject-introspection_files += "/usr/share/gobject-introspection-1.0" +gobject-introspection_files += "/usr/share/gobject-introspection-1.0/Makefile.introspection" +gobject-introspection_files += "/usr/share/gobject-introspection-1.0/tests/" +gobject-introspection_files += "/usr/share/gobject-introspection-1.0/gdump.c" +gobject-introspection_files += "/usr/share/spec2yocto/macro/gi-find-deps.sh" +gobject-introspection_files += "/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr" + +gobject-introspection-devel_files = "" +gobject-introspection-devel_files += "gobject-introspection.manifest" +gobject-introspection-devel_files += "/usr/include/gobject-introspection-1.0/" +gobject-introspection-devel_files += "/usr/lib/libgirepository-1.0.so" +gobject-introspection-devel_files += "/usr/lib/pkgconfig/gobject-introspection-1.0.pc" +gobject-introspection-devel_files += "/usr/lib/pkgconfig/gobject-introspection-no-export-1.0.pc" + +girepository_files = "" +girepository_files += "gobject-introspection.manifest" +girepository_files += "/usr/lib/girepository-1.0/*.typelib" + +libgirepository_files = "" +libgirepository_files += "gobject-introspection.manifest" +libgirepository_files += "COPYING.LGPL" +libgirepository_files += "/usr/share/gir-1.0" +libgirepository_files += "/usr/lib/libgirepository-1.0.so.*" +libgirepository_files += "/usr/lib/girepository-1.0" + +gobject-introspection-docs_files = "" +gobject-introspection-docs_files += "/usr/share/info" +gobject-introspection-docs_files += "/usr/share/man" + +FILES_${PN} = "${gobject-introspection_files}" +FILES_${PN}-devel = "${gobject-introspection-devel_files}" +FILES_girepository = "${girepository_files}" +FILES_libgirepository = "${libgirepository_files}" +FILES_${PN}-docs = "${gobject-introspection-docs_files}" + +PKG_gobject-introspection= "gobject-introspection" +PKG_gobject-introspection-devel= "gobject-introspection-devel" +PKG_girepository= "girepository" +PKG_libgirepository= "libgirepository" +PKG_gobject-introspection-docs= "gobject-introspection-docs" + +require gobject-introspection-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb new file mode 100644 index 0000000..e3c4da4 --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb @@ -0,0 +1,8 @@ +require gobject-introspection.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gobject-introspection;protocol=ssh;tag=6c15fe2f7415421fd1d38d03d8865c0e3e4c9967;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-extraconf.inc b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-native_git.bb b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-native_git.bb new file mode 100644 index 0000000..ed14b3f --- /dev/null +++ b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts-native_git.bb @@ -0,0 +1,12 @@ +require google-droid-fonts.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/google-droid-fonts;protocol=ssh;tag=39019d5e1ff564fb63ea9fbd1e40609efc9e9635;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts.inc b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts.inc new file mode 100644 index 0000000..4a05494 --- /dev/null +++ b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Fonts With Extensive Style and Language Support Developed for Android" +HOMEPAGE = "http://www.ascendercorp.com/pr/2007-11-12/" +SECTION = "System/Fonts" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by google-droid-fonts +PROVIDES += "google-droid-fonts" +RPROVIDES_google-droid-fonts += "google-droid-fonts" + +RDEPENDS = "" +#RDEPENDS of google-droid-fonts (${PN}) +RDEPENDS_${PN} += "/usr/bin/fc-cache" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/google-droid-fonts.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/fonts/truetype + install -m 0644 *.ttf ${D}/usr/share/fonts/truetype/ + + +} + +PACKAGES = "" +PACKAGES += "google-droid-fonts" + +google-droid-fonts_files = "" +google-droid-fonts_files += "google-droid-fonts.manifest" +google-droid-fonts_files += "/usr/share/fonts/truetype" + +FILES_${PN} = "${google-droid-fonts_files}" + +PKG_google-droid-fonts= "google-droid-fonts" + +require google-droid-fonts-extraconf.inc diff --git a/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts_git.bb b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts_git.bb new file mode 100644 index 0000000..6cd0773 --- /dev/null +++ b/meta-tizen/recipes-tizen/google-droid-fonts/google-droid-fonts_git.bb @@ -0,0 +1,8 @@ +require google-droid-fonts.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/google-droid-fonts;protocol=ssh;tag=39019d5e1ff564fb63ea9fbd1e40609efc9e9635;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gperf/gperf-extraconf.inc b/meta-tizen/recipes-tizen/gperf/gperf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gperf/gperf.inc b/meta-tizen/recipes-tizen/gperf/gperf.inc new file mode 100644 index 0000000..45da7a3 --- /dev/null +++ b/meta-tizen/recipes-tizen/gperf/gperf.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "A perfect hash function generator" +HOMEPAGE = "http://www.gnu.org/software/gperf/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gperf +PROVIDES += "gperf" +RPROVIDES_gperf += "gperf" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gperf +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gperf.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -f ${D}/usr/share/doc/gperf.html + + + + + + + +} + +PACKAGES = "" +PACKAGES += "gperf" + +gperf_files = "" +gperf_files += "gperf.manifest" +gperf_files += "NEWS README doc/gperf.html" +gperf_files += "/usr/share/man/man1/gperf.1*" +gperf_files += "/usr/share/info/gperf.info*" +gperf_files += "/usr/bin/gperf" + +FILES_${PN} = "${gperf_files}" + +PKG_gperf= "gperf" + +require gperf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gpg2/gpg2-extraconf.inc b/meta-tizen/recipes-tizen/gpg2/gpg2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gpg2/gpg2-native_git.bb b/meta-tizen/recipes-tizen/gpg2/gpg2-native_git.bb new file mode 100644 index 0000000..6b2694b --- /dev/null +++ b/meta-tizen/recipes-tizen/gpg2/gpg2-native_git.bb @@ -0,0 +1,12 @@ +require gpg2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gpg2;protocol=ssh;tag=0d5860e8035a1c2577ffa72a5a004e48471d27a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gpg2/gpg2.inc b/meta-tizen/recipes-tizen/gpg2/gpg2.inc new file mode 100644 index 0000000..ab80c83 --- /dev/null +++ b/meta-tizen/recipes-tizen/gpg2/gpg2.inc @@ -0,0 +1,190 @@ +DESCRIPTION = "GnuPG 2" +HOMEPAGE = "http://www.gnupg.org/aegypten2/" +SECTION = "Security/Certificate Management" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gpg2 +PROVIDES += "gpg2" +RPROVIDES_gpg2 += "gpg2" +# the PROVIDES rules is ignore "gnupg = 2.0.19" +PROVIDES += "gnupg" +RPROVIDES_gpg2 += "gnupg" +# the PROVIDES rules is ignore "gpg = 1.4.9" +PROVIDES += "gpg" +RPROVIDES_gpg2 += "gpg" +# the PROVIDES rules is ignore "newpg " +PROVIDES += "newpg" +RPROVIDES_gpg2 += "newpg" +# the PROVIDES rules is ignore "gpg2_signd_support " +PROVIDES += "gpg2_signd_support" +RPROVIDES_gpg2 += "gpg2_signd_support" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gpg2 +DEPENDS += "zlib-devel" +DEPENDS += "libpth-devel" +DEPENDS += "readline-devel" +DEPENDS += "adns" +DEPENDS += "libgpg-error-devel" +DEPENDS += "libksba-devel" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "pkgconfig(libusb-1.0)" +DEPENDS += "expect" +DEPENDS += "libgcrypt-devel" +DEPENDS += "curl" +DEPENDS += "fdupes-native" +DEPENDS += "libassuan-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gnupg-2.0.19 + cp ${S}/packaging/gpg2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + # build PIEs (position independent executables) for address space randomisation: + PIE="-fpie" + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ${PIE}" + export LDFLAGS=-pie + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib \ + --docdir=/usr/share/doc/packages/gpg2 \ + --with-agent-pgm=/usr/bin/gpg-agent \ + --with-scdaemon-pgm=/usr/bin/scdaemon \ + --enable-gpgsm=yes \ + --enable-gpg \ + --with-gnu-ld + + make -j16 + + exit 0 + make check + ${D}/usr/bin/gpgsplit -v -p pubsplit- --uncompress groff-files + + ln -sf doc.tmac ${D}/usr/share/groff/1.21/tmac/docj.tmac + # installed, but not packaged in rpm + mkdir -p ${D}/usr/share/groff/1.21/groffer/ + chmod 755 ${D}/usr/lib/groff/groffer/version.sh + mv ${D}/usr/lib/groff/groffer/* ${D}//usr/share/groff/1.21/groffer/ + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/groff + rm -rf ${D}/usr/share/doc/groff-1.21 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "groff-perl" +PACKAGES += "groff" + +groff-perl_files = "" +groff-perl_files += "groff.manifest" +groff-perl_files += "/usr/bin/grog" +groff-perl_files += "/usr/bin/mmroff" +groff-perl_files += "/usr/bin/afmtodit" + +groff_files = "" +groff_files += "groff.manifest" +groff_files += "/usr/share/groff" + +FILES_${PN}-perl = "${groff-perl_files}" +FILES_${PN} = "${groff_files}" + +PKG_groff-perl= "groff-perl" +PKG_groff= "groff" + +require groff-extraconf.inc diff --git a/meta-tizen/recipes-tizen/groff/groff_git.bb b/meta-tizen/recipes-tizen/groff/groff_git.bb new file mode 100644 index 0000000..258e290 --- /dev/null +++ b/meta-tizen/recipes-tizen/groff/groff_git.bb @@ -0,0 +1,8 @@ +require groff.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/groff;protocol=ssh;tag=cc8f01dac8fe7d0228f912ccb7f44ced0cc2990f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-common/gst-common-extraconf.inc b/meta-tizen/recipes-tizen/gst-common/gst-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-common/gst-common-native_git.bb b/meta-tizen/recipes-tizen/gst-common/gst-common-native_git.bb new file mode 100644 index 0000000..19d6760 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-common/gst-common-native_git.bb @@ -0,0 +1,12 @@ +require gst-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-common;protocol=ssh;tag=4c9bfc97fbfcdd17eb2dc3fa2138df35af0da49a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-common/gst-common.inc b/meta-tizen/recipes-tizen/gst-common/gst-common.inc new file mode 100644 index 0000000..fa45bb7 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-common/gst-common.inc @@ -0,0 +1,71 @@ +DESCRIPTION = "Gstreamer Common Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Development" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gst-common +PROVIDES += "gst-common" +RPROVIDES_gst-common += "gst-common" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gst-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + rm -rf .gitignore + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}//usr/share/gst-common + cp -a . ${D}//usr/share/gst-common + + +} + +PACKAGES = "" +PACKAGES += "gst-common" + +gst-common_files = "" +gst-common_files += "gst-common.manifest" +gst-common_files += "/usr/share/gst-common" + +FILES_${PN} = "${gst-common_files}" + +PKG_gst-common= "gst-common" + +require gst-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-common/gst-common_git.bb b/meta-tizen/recipes-tizen/gst-common/gst-common_git.bb new file mode 100644 index 0000000..1c6f25d --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-common/gst-common_git.bb @@ -0,0 +1,8 @@ +require gst-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-common;protocol=ssh;tag=4c9bfc97fbfcdd17eb2dc3fa2138df35af0da49a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-libav/gst-libav-extraconf.inc b/meta-tizen/recipes-tizen/gst-libav/gst-libav-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-libav/gst-libav-native_git.bb b/meta-tizen/recipes-tizen/gst-libav/gst-libav-native_git.bb new file mode 100644 index 0000000..084d043 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-libav/gst-libav-native_git.bb @@ -0,0 +1,12 @@ +require gst-libav.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-libav;protocol=ssh;tag=59b24acf50350f49fea6354aa5b445d70c3d8253;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-libav/gst-libav.inc b/meta-tizen/recipes-tizen/gst-libav/gst-libav.inc new file mode 100644 index 0000000..5db83c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-libav/gst-libav.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Libav plugin for GStreamer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gst-libav +PROVIDES += "gst-libav" +RPROVIDES_gst-libav += "gst-libav" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gst-libav +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +DEPENDS += "pkgconfig(orc-0.4)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(vorbis)" +DEPENDS += "yasm" +DEPENDS += "which" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(theora)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + #extracte source 100 + pushd ${S} + unp ${S}/packaging/common.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 100 + #extracte source 101 + pushd ${S} + unp ${S}/packaging/libav.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 101 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + chmod +x gst-libs/ext/libav/configure + ./autogen.sh + + export CFLAGS+=" -Wall -g -fPIC\ + -DLIBAV_RANK_MODIFICATION" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --prefix=/usr \ + --with-html-dir=/tmp/dump + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "gst-libav" + +gst-libav_files = "" +gst-libav_files += "/usr/lib/gstreamer-1.0/libgstlibav.so" + +FILES_${PN} = "${gst-libav_files}" + +PKG_gst-libav= "gst-libav" + +require gst-libav-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-libav/gst-libav_git.bb b/meta-tizen/recipes-tizen/gst-libav/gst-libav_git.bb new file mode 100644 index 0000000..369504e --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-libav/gst-libav_git.bb @@ -0,0 +1,8 @@ +require gst-libav.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-libav;protocol=ssh;tag=59b24acf50350f49fea6354aa5b445d70c3d8253;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-extraconf.inc b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-native_git.bb b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-native_git.bb new file mode 100644 index 0000000..2e3d8c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad-native_git.bb @@ -0,0 +1,12 @@ +require gst-plugins-bad.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-plugins-bad;protocol=ssh;tag=9b3984d43c1d3b6ba3dc07cd2f651c08900be690;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad.inc b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad.inc new file mode 100644 index 0000000..a2591e8 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad.inc @@ -0,0 +1,317 @@ +DESCRIPTION = "GStreamer Streaming-Media Framework Plug-Ins" +HOMEPAGE = "http://gstreamer.freedesktop.org/" +SECTION = "Multimedia/Audio" +LICENSE = "GPL-2.0+ and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gst-plugins-bad +PROVIDES += "gst-plugins-bad" +RPROVIDES_gst-plugins-bad += "gst-plugins-bad" + +#PROVIDES by libgsturidownloader +PROVIDES += "libgsturidownloader" +RPROVIDES_libgsturidownloader += "libgsturidownloader" + +#PROVIDES by libgstvdp +PROVIDES += "libgstvdp" +RPROVIDES_libgstvdp += "libgstvdp" + +#PROVIDES by libgstmpegts +PROVIDES += "libgstmpegts" +RPROVIDES_libgstmpegts += "libgstmpegts" + +#PROVIDES by libgstbasecamerabinsrc +PROVIDES += "libgstbasecamerabinsrc" +RPROVIDES_libgstbasecamerabinsrc += "libgstbasecamerabinsrc" + +#PROVIDES by libgstphotography +PROVIDES += "libgstphotography" +RPROVIDES_libgstphotography += "libgstphotography" + +#PROVIDES by libgstinsertbin +PROVIDES += "libgstinsertbin" +RPROVIDES_libgstinsertbin += "libgstinsertbin" + +#PROVIDES by libgstcodecparsers +PROVIDES += "libgstcodecparsers" +RPROVIDES_libgstcodecparsers += "libgstcodecparsers" + +#PROVIDES by gst-plugins-bad-locale +PROVIDES += "gst-plugins-bad-locale " +RPROVIDES_gst-plugins-bad-locale += "gst-plugins-bad-locale " +# the PROVIDES rules is ignore "gst-plugins-bad-lang-all = 1.2.0" +PROVIDES += "gst-plugins-bad-lang-all" +RPROVIDES_gst-plugins-bad-locale += "gst-plugins-bad-lang-all" + +#PROVIDES by libgstegl +PROVIDES += "libgstegl" +RPROVIDES_libgstegl += "libgstegl" + +#PROVIDES by gst-plugins-bad-devel +PROVIDES += "gst-plugins-bad-devel" +RPROVIDES_gst-plugins-bad-devel += "gst-plugins-bad-devel" +RPROVIDES_gst-plugins-bad-devel += "gst-plugins-bad-dev" + +RDEPENDS = "" +#RDEPENDS of gst-plugins-bad (${PN}) +RDEPENDS_${PN} += "gstreamer" +RDEPENDS_${PN} += "glib2-tools" + +#RDEPENDS of gst-plugins-bad-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "gst-plugins-bad" + +#RDEPENDS of gst-plugins-bad-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libgstphotography" +RDEPENDS_${PN}-devel += "libgstmpegts" +RDEPENDS_${PN}-devel += "libgstinsertbin" +RDEPENDS_${PN}-devel += "libgsturidownloader" +RDEPENDS_${PN}-devel += "gstreamer-dev" +RDEPENDS_${PN}-devel += "libgstbasecamerabinsrc" +RDEPENDS_${PN}-devel += "libgstcodecparsers" +RDEPENDS_${PN}-devel += "libgstegl" + + +DEPENDS = "" +#DEPENDS of gst-plugins-bad +DEPENDS += "glib" +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "xsltproc" +inherit pythonnative +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(libcrypto)" +DEPENDS += "pkgconfig(orc-0.4)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(sndfile)" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "gstreamer-devel" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "SDL" +DEPENDS += "gst-plugins-base-devel" +DEPENDS += "autoconf-native" +DEPENDS += "pkgconfig(wayland-client)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gst-plugins-bad-1.2.0 + #extracte source 100 + pushd ${S} + unp ${S}/packaging/common.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 100 + cp ${S}/packaging/gst-plugins-bad.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export V=1 + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --disable-static\ + --disable-examples\ + --enable-experimental\ + --disable-gtk-doc + oe_runmake -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gst-plugins-bad-1.0 + mv gst-plugins-bad-1.0.lang gst-plugins-bad.lang + + + +} + +PACKAGES = "" +PACKAGES += "gst-plugins-bad" +PACKAGES += "libgstphotography" +PACKAGES += "libgstmpegts" +PACKAGES += "libgstinsertbin" +PACKAGES += "libgsturidownloader" +PACKAGES += "libgstbasecamerabinsrc" +PACKAGES += "gst-plugins-bad-locale" +PACKAGES += "libgstcodecparsers" +PACKAGES += "libgstegl" +PACKAGES += "gst-plugins-bad-devel" + +gst-plugins-bad_files = "" +gst-plugins-bad_files += "gst-plugins-bad.manifest" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstadpcmdec.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstadpcmenc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstasfmux.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstaudiovisualizers.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstautoconvert.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstbayer.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstcamerabin2.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstcoloreffects.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstcurl.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdataurisrc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdebugutilsbad.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdvb.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdvbsuboverlay.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstfestival.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstgaudieffects.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstgdp.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstgeometrictransform.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstid3tag.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstinter.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstinterlace.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstjpegformat.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstliveadder.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmpegpsdemux.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmpegtsdemux.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmpegtsmux.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstpcapparse.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstpnm.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstrawparse.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstremovesilence.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstsdpelem.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstsegmentclip.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstshm.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstsmooth.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstspeed.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstvideoparsersbad.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgsty4mdec.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdvdspu.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstfieldanalysis.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstfrei0r.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstsiren.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstsubenc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmpegpsmux.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstdecklink.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgsteglglessink.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstaccurip.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstaiff.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstaudiofxbad.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstfbdevsink.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstfreeverb.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstivtc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmfc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmidi.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstmxf.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstrfbsrc.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstvideofiltersbad.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstyadif.so" +gst-plugins-bad_files += "/usr/lib/gstreamer-1.0/libgstwaylandsink.so" + +libgstphotography_files = "" +libgstphotography_files += "gst-plugins-bad.manifest" +libgstphotography_files += "/usr/lib/libgstphotography-1.0.so.0*" + +libgstmpegts_files = "" +libgstmpegts_files += "gst-plugins-bad.manifest" +libgstmpegts_files += "/usr/lib/libgstmpegts-1.0.so.0*" + +libgstinsertbin_files = "" +libgstinsertbin_files += "gst-plugins-bad.manifest" +libgstinsertbin_files += "/usr/lib/libgstinsertbin-1.0.so.0*" + +libgsturidownloader_files = "" +libgsturidownloader_files += "gst-plugins-bad.manifest" +libgsturidownloader_files += "/usr/lib/libgsturidownloader-1.0.so.0*" + +libgstbasecamerabinsrc_files = "" +libgstbasecamerabinsrc_files += "gst-plugins-bad.manifest" +libgstbasecamerabinsrc_files += "/usr/lib/libgstbasecamerabinsrc-1.0.so.0*" + +gst-plugins-bad-locale_files = "" + +libgstcodecparsers_files = "" +libgstcodecparsers_files += "gst-plugins-bad.manifest" +libgstcodecparsers_files += "/usr/lib/libgstcodecparsers-1.0.so.0*" + +libgstegl_files = "" +libgstegl_files += "gst-plugins-bad.manifest" +libgstegl_files += "/usr/lib/libgstegl-1.0.so.0*" + +gst-plugins-bad-devel_files = "" +gst-plugins-bad-devel_files += "gst-plugins-bad.manifest" +gst-plugins-bad-devel_files += "/usr/include/gstreamer-1.0" +gst-plugins-bad-devel_files += "/usr/lib/*.so" +gst-plugins-bad-devel_files += "/usr/lib/pkgconfig/gstreamer-codecparsers-1.0.pc" +gst-plugins-bad-devel_files += "/usr/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc" +gst-plugins-bad-devel_files += "/usr/lib/pkgconfig/gstreamer-egl-1.0.pc" +gst-plugins-bad-devel_files += "/usr/lib/pkgconfig/gstreamer-insertbin-1.0.pc" + +FILES_${PN} = "${gst-plugins-bad_files}" +FILES_libgstphotography = "${libgstphotography_files}" +FILES_libgstmpegts = "${libgstmpegts_files}" +FILES_libgstinsertbin = "${libgstinsertbin_files}" +FILES_libgsturidownloader = "${libgsturidownloader_files}" +FILES_libgstbasecamerabinsrc = "${libgstbasecamerabinsrc_files}" +FILES_${PN}-locale = "${gst-plugins-bad-locale_files}" +FILES_libgstcodecparsers = "${libgstcodecparsers_files}" +FILES_libgstegl = "${libgstegl_files}" +FILES_${PN}-devel = "${gst-plugins-bad-devel_files}" + +PKG_gst-plugins-bad= "gst-plugins-bad" +PKG_libgstphotography= "libgstphotography" +PKG_libgstmpegts= "libgstmpegts" +PKG_libgstinsertbin= "libgstinsertbin" +PKG_libgsturidownloader= "libgsturidownloader" +PKG_libgstbasecamerabinsrc= "libgstbasecamerabinsrc" +PKG_gst-plugins-bad-locale= "gst-plugins-bad-locale" +PKG_libgstcodecparsers= "libgstcodecparsers" +PKG_libgstegl= "libgstegl" +PKG_gst-plugins-bad-devel= "gst-plugins-bad-devel" + +require gst-plugins-bad-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad_git.bb b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad_git.bb new file mode 100644 index 0000000..906cfb5 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-bad/gst-plugins-bad_git.bb @@ -0,0 +1,8 @@ +require gst-plugins-bad.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-plugins-bad;protocol=ssh;tag=9b3984d43c1d3b6ba3dc07cd2f651c08900be690;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base-extraconf.inc b/meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base.inc b/meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base.inc new file mode 100644 index 0000000..56cc1d5 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-base/gst-plugins-base.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "GStreamer Streaming-Media Framework Plug-Ins" +HOMEPAGE = "http://gstreamer.freedesktop.org/" +SECTION = "Multimedia/Audio" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libgstrtp" +PACKAGES += "libgstrtsp" +PACKAGES += "gst-plugins-base" +PACKAGES += "libgstapp" +PACKAGES += "libgstriff" +PACKAGES += "gst-plugins-base-locale" +PACKAGES += "libgsttag" +PACKAGES += "libgstvideo" +PACKAGES += "libgstaudio" +PACKAGES += "libgstsdp" +PACKAGES += "gst-plugins-base-devel" +PACKAGES += "libgstpbutils" +PACKAGES += "libgstfft" + +libgstrtp_files = "" +libgstrtp_files += "gst-plugins-base.manifest" +libgstrtp_files += "/usr/lib/libgstrtp*.so.*" + +libgstrtsp_files = "" +libgstrtsp_files += "gst-plugins-base.manifest" +libgstrtsp_files += "/usr/lib/libgstrtsp*.so.*" + +gst-plugins-base_files = "" +gst-plugins-base_files += "gst-plugins-base.manifest" +gst-plugins-base_files += "/usr/bin/gst-discoverer-1.0" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstadder.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstalsa.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstapp.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstaudioconvert.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstaudioresample.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstaudiotestsrc.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstaudiorate.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstgio.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstogg.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstplayback.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstsubparse.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgsttcp.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgsttheora.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgsttypefindfunctions.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvideoconvert.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvideorate.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvideoscale.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvideotestsrc.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvolume.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstvorbis.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstencodebin.so" +gst-plugins-base_files += "/usr/share/man/man1/gst-discoverer-*" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstpango.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstximagesink.so" +gst-plugins-base_files += "/usr/lib/gstreamer-1.0/libgstxvimagesink.so" + +libgstapp_files = "" +libgstapp_files += "gst-plugins-base.manifest" +libgstapp_files += "/usr/lib/libgstapp*.so.*" + +libgstriff_files = "" +libgstriff_files += "gst-plugins-base.manifest" +libgstriff_files += "/usr/lib/libgstriff*.so.*" + +gst-plugins-base-locale_files = "" + +libgsttag_files = "" +libgsttag_files += "gst-plugins-base.manifest" +libgsttag_files += "/usr/lib/libgsttag*.so.*" +libgsttag_files += "/usr/share/gst-plugins-base/" +libgsttag_files += "/usr/share/gst-plugins-base/1.0/" +libgsttag_files += "/usr/share/gst-plugins-base/1.0/license-translations.dict" + +libgstvideo_files = "" +libgstvideo_files += "gst-plugins-base.manifest" +libgstvideo_files += "/usr/lib/libgstvideo*.so.*" + +libgstaudio_files = "" +libgstaudio_files += "gst-plugins-base.manifest" +libgstaudio_files += "/usr/lib/libgstaudio*.so.*" + +libgstsdp_files = "" +libgstsdp_files += "gst-plugins-base.manifest" +libgstsdp_files += "/usr/lib/libgstsdp*.so.*" + +gst-plugins-base-devel_files = "" +gst-plugins-base-devel_files += "gst-plugins-base.manifest" +gst-plugins-base-devel_files += "/usr/include/gstreamer-1.0/*" +gst-plugins-base-devel_files += "/usr/lib/*.so" +gst-plugins-base-devel_files += "/usr/lib/pkgconfig/*.pc" + +libgstpbutils_files = "" +libgstpbutils_files += "gst-plugins-base.manifest" +libgstpbutils_files += "/usr/lib/libgstpbutils*.so.*" + +libgstfft_files = "" +libgstfft_files += "gst-plugins-base.manifest" +libgstfft_files += "/usr/lib/libgstfft*.so.*" + +FILES_libgstrtp = "${libgstrtp_files}" +FILES_libgstrtsp = "${libgstrtsp_files}" +FILES_${PN} = "${gst-plugins-base_files}" +FILES_libgstapp = "${libgstapp_files}" +FILES_libgstriff = "${libgstriff_files}" +FILES_${PN}-locale = "${gst-plugins-base-locale_files}" +FILES_libgsttag = "${libgsttag_files}" +FILES_libgstvideo = "${libgstvideo_files}" +FILES_libgstaudio = "${libgstaudio_files}" +FILES_libgstsdp = "${libgstsdp_files}" +FILES_${PN}-devel = "${gst-plugins-base-devel_files}" +FILES_libgstpbutils = "${libgstpbutils_files}" +FILES_libgstfft = "${libgstfft_files}" + +PKG_libgstrtp= "libgstrtp" +PKG_libgstrtsp= "libgstrtsp" +PKG_gst-plugins-base= "gst-plugins-base" +PKG_libgstapp= "libgstapp" +PKG_libgstriff= "libgstriff" +PKG_gst-plugins-base-locale= "gst-plugins-base-locale" +PKG_libgsttag= "libgsttag" +PKG_libgstvideo= "libgstvideo" +PKG_libgstaudio= "libgstaudio" +PKG_libgstsdp= "libgstsdp" +PKG_gst-plugins-base-devel= "gst-plugins-base-devel" +PKG_libgstpbutils= "libgstpbutils" +PKG_libgstfft= "libgstfft" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require gst-plugins-base-rdepends.inc +require gst-plugins-base-depends.inc +require gst-plugins-base-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good-extraconf.inc b/meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good.inc b/meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good.inc new file mode 100644 index 0000000..d90c8ab --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-good/gst-plugins-good.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "GStreamer Streaming-Media Framework Plug-Ins" +HOMEPAGE = "http://gstreamer.freedesktop.org/" +SECTION = "Multimedia/Audio" +LICENSE = "LGPL-2.1+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "gst-plugins-good" +PACKAGES += "gst-plugins-good-locale" + +gst-plugins-good_files = "" +gst-plugins-good_files += "gst-plugins-good.manifest" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstalaw.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstalpha.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstalphacolor.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstapetag.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstaudiofx.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstaudioparsers.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstauparse.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstautodetect.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstavi.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstcutter.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstdebug.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstdeinterlace.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgsteffectv.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstequalizer.so" +gst-plugins-good_files += "/usr/share/gstreamer-1.0/presets/GstIirEqualizer10Bands.prs" +gst-plugins-good_files += "/usr/share/gstreamer-1.0/presets/GstIirEqualizer3Bands.prs" +gst-plugins-good_files += "/usr/share/gstreamer-1.0/presets/GstVP8Enc.prs" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstflv.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstflxdec.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstgdkpixbuf.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstgoom.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstgoom2k1.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgsticydemux.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstid3demux.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstimagefreeze.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstinterleave.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstisomp4.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstjpeg.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstlevel.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstmatroska.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstmonoscope.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstmulaw.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstmultifile.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstmultipart.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstnavigationtest.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstoss4audio.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstossaudio.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstpng.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstpulse.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstreplaygain.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstrtp.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstrtpmanager.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstrtsp.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstshapewipe.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstsmpte.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstspectrum.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstspeex.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstudp.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvideobox.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvideocrop.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvideofilter.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvideomixer.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstwavenc.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstwavparse.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstximagesrc.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgsty4menc.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstcairo.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstsouphttpsrc.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstflac.so" +gst-plugins-good_files += "/usr/lib/gstreamer-1.0/libgstvpx.so" + +gst-plugins-good-locale_files = "" + +FILES_${PN} = "${gst-plugins-good_files}" +FILES_${PN}-locale = "${gst-plugins-good-locale_files}" + +PKG_gst-plugins-good= "gst-plugins-good" +PKG_gst-plugins-good-locale= "gst-plugins-good-locale" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require gst-plugins-good-rdepends.inc +require gst-plugins-good-depends.inc +require gst-plugins-good-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-extraconf.inc b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-native_git.bb b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-native_git.bb new file mode 100644 index 0000000..391e78b --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly-native_git.bb @@ -0,0 +1,12 @@ +require gst-plugins-ugly.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-plugins-ugly;protocol=ssh;tag=2844c1aeb429bad9d1c29d48402892bcd692d499;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly.inc b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly.inc new file mode 100644 index 0000000..ddbdd99 --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "GStreamer plugins from the "ugly" set" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Audio" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gst-plugins-ugly +PROVIDES += "gst-plugins-ugly" +RPROVIDES_gst-plugins-ugly += "gst-plugins-ugly" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gst-plugins-ugly +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(opencore-amrwb)" +DEPENDS += "which" +DEPENDS += "pkgconfig(opencore-amrnb)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + #extracte source 100 + pushd ${S} + unp ${S}/packaging/common.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 100 + cp ${S}/packaging/gst-plugins-ugly.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export V=1 + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static\ + --disable-nls\ + --with-html-dir=/tmp/dump\ + --disable-examples\ + --disable-dvdlpcmdec\ + --disable-dvdsub\ + --disable-iec958\ + --disable-mpegstream\ + --disable-synaesthesia\ + --disable-a52dec\ + --disable-cdio\ + --disable-dvdread\ + --disable-dvdnav\ + --disable-mad\ + --disable-mpeg2dec\ + --disable-sidplay\ + --disable-twolame\ + --disable-x264 + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "gst-plugins-ugly" + +gst-plugins-ugly_files = "" +gst-plugins-ugly_files += "gst-plugins-ugly.manifest" +gst-plugins-ugly_files += "/usr/lib/gstreamer-1.0/libgstasf.so" +gst-plugins-ugly_files += "/usr/lib/gstreamer-1.0/libgstxingmux.so" +gst-plugins-ugly_files += "/usr/lib/gstreamer-1.0/libgstamrnb.so" +gst-plugins-ugly_files += "/usr/lib/gstreamer-1.0/libgstamrwbdec.so" +gst-plugins-ugly_files += "/usr/lib/gstreamer-1.0/libgstrmdemux.so" + +FILES_${PN} = "${gst-plugins-ugly_files}" + +PKG_gst-plugins-ugly= "gst-plugins-ugly" + +require gst-plugins-ugly-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly_git.bb b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly_git.bb new file mode 100644 index 0000000..604589c --- /dev/null +++ b/meta-tizen/recipes-tizen/gst-plugins-ugly/gst-plugins-ugly_git.bb @@ -0,0 +1,8 @@ +require gst-plugins-ugly.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gst-plugins-ugly;protocol=ssh;tag=2844c1aeb429bad9d1c29d48402892bcd692d499;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-extraconf.inc b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-native_git.bb b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-native_git.bb new file mode 100644 index 0000000..b60cc5a --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi-native_git.bb @@ -0,0 +1,12 @@ +require gstreamer-vaapi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gstreamer-vaapi;protocol=ssh;tag=79fb24fd932f92fdc802e1fd74fe5a25d0510912;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi.inc b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi.inc new file mode 100644 index 0000000..acb3f43 --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "VA-API based plugins for GStreamer and helper libraries" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Multimedia Framework" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gstreamer-vaapi +PROVIDES += "gstreamer-vaapi" +RPROVIDES_gstreamer-vaapi += "gstreamer-vaapi" + +#PROVIDES by gstreamer-vaapi-devel +PROVIDES += "gstreamer-vaapi-devel" +RPROVIDES_gstreamer-vaapi-devel += "gstreamer-vaapi-devel" +RPROVIDES_gstreamer-vaapi-devel += "gstreamer-vaapi-dev" + +RDEPENDS = "" +#RDEPENDS of gstreamer-vaapi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gstreamer-vaapi" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of gstreamer-vaapi +DEPENDS += "git" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "which" +DEPENDS += "pkgconfig(libva)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + #extracte source 2001 + pushd ${S} + unp ${S}/packaging/codecparsers.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 2001 + #extracte source 2002 + pushd ${S} + unp ${S}/packaging/videoutils.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 2002 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/gstreamer-vaapi.manifest . + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-encoders --with-gstreamer-api=1.2 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "gstreamer-vaapi" +PACKAGES += "gstreamer-vaapi-devel" + +gstreamer-vaapi_files = "" +gstreamer-vaapi_files += "gstreamer-vaapi.manifest" +gstreamer-vaapi_files += "/usr/lib/*.so.*" +gstreamer-vaapi_files += "/usr/lib/gstreamer-1.0/*.so" + +gstreamer-vaapi-devel_files = "" +gstreamer-vaapi-devel_files += "gstreamer-vaapi.manifest" +gstreamer-vaapi-devel_files += "/usr/include/gstreamer-1.2/gst/vaapi" +gstreamer-vaapi-devel_files += "/usr/include/gstreamer-1.2/gst/vaapi/*.h" +gstreamer-vaapi-devel_files += "/usr/lib/*.so" +gstreamer-vaapi-devel_files += "/usr/lib/pkgconfig/gstreamer-vaapi*.pc" + +FILES_${PN} = "${gstreamer-vaapi_files}" +FILES_${PN}-devel = "${gstreamer-vaapi-devel_files}" + +PKG_gstreamer-vaapi= "gstreamer-vaapi" +PKG_gstreamer-vaapi-devel= "gstreamer-vaapi-devel" + +require gstreamer-vaapi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi_git.bb b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi_git.bb new file mode 100644 index 0000000..4d31f7f --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer-vaapi/gstreamer-vaapi_git.bb @@ -0,0 +1,8 @@ +require gstreamer-vaapi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gstreamer-vaapi;protocol=ssh;tag=79fb24fd932f92fdc802e1fd74fe5a25d0510912;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gstreamer/gstreamer-extraconf.inc b/meta-tizen/recipes-tizen/gstreamer/gstreamer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gstreamer/gstreamer-native_git.bb b/meta-tizen/recipes-tizen/gstreamer/gstreamer-native_git.bb new file mode 100644 index 0000000..c8db2ec --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer/gstreamer-native_git.bb @@ -0,0 +1,12 @@ +require gstreamer.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gstreamer;protocol=ssh;tag=dff390db6605ad8f42b75b34ca0575e82144ca94;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gstreamer/gstreamer.inc b/meta-tizen/recipes-tizen/gstreamer/gstreamer.inc new file mode 100644 index 0000000..45668f9 --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer/gstreamer.inc @@ -0,0 +1,233 @@ +DESCRIPTION = "Streaming-Media Framework Runtime" +HOMEPAGE = "http://gstreamer.freedesktop.org/" +SECTION = "Multimedia/Framework" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gstreamer-utils +PROVIDES += "gstreamer-utils" +RPROVIDES_gstreamer-utils += "gstreamer-utils" +# the PROVIDES rules is ignore "gstreamer:/usr/bin/gst-launch-1.0 = 1.2.0" +PROVIDES += "gstreamer:/usr/bin/gst-launch-1.0" +RPROVIDES_gstreamer-utils += "gstreamer:/usr/bin/gst-launch-1.0" +# the PROVIDES rules is ignore "gstreamer-utils_versioned = 1.2.0" +PROVIDES += "gstreamer-utils_versioned" +RPROVIDES_gstreamer-utils += "gstreamer-utils_versioned" + +#PROVIDES by gstreamer-locale +PROVIDES += "gstreamer-locale" +RPROVIDES_gstreamer-locale += "gstreamer-locale" +# the PROVIDES rules is ignore "gstreamer-lang-all = 1.2.0" +PROVIDES += "gstreamer-lang-all" +RPROVIDES_gstreamer-locale += "gstreamer-lang-all" + +#PROVIDES by gstreamer +PROVIDES += "gstreamer" +RPROVIDES_gstreamer += "gstreamer" + +#PROVIDES by gstreamer-devel +PROVIDES += "gstreamer-devel" +RPROVIDES_gstreamer-devel += "gstreamer-devel" +RPROVIDES_gstreamer-devel += "gstreamer-dev" + +#PROVIDES by typelib-Gst +PROVIDES += "typelib-Gst" +RPROVIDES_typelib-Gst += "typelib-Gst" + +#PROVIDES by libgstreamer +PROVIDES += "libgstreamer" +RPROVIDES_libgstreamer += "libgstreamer" + +RDEPENDS = "" +#RDEPENDS of gstreamer-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "gstreamer" + +#RDEPENDS of gstreamer (${PN}) +RDEPENDS_${PN} += "libgstreamer" + +#RDEPENDS of gstreamer-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gstreamer-utils" +RDEPENDS_${PN}-devel += "gstreamer" +RDEPENDS_${PN}-devel += "libgstreamer" + +#RDEPENDS of libgstreamer (lib${PN}) +RDEPENDS_lib${PN} += "gstreamer" + + +DEPENDS = "" +#DEPENDS of gstreamer +DEPENDS += "glib" +DEPENDS += "flex" +DEPENDS += "libxml2-devel" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "bison-native" +DEPENDS += "libtool-cross" +DEPENDS += "fdupes-native" +DEPENDS += "check" +DEPENDS += "gst-common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gstreamer-1.2.0 + #extracte source 100 + pushd ${S} + unp ${S}/packaging/common.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -D -a 100 + cp ${S}/packaging/gstreamer.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS: + # Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS. + export V=1 + NOCONFIGURE=1 ./autogen.sh + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/gstreamer-1.0/presets + mkdir -p ${D}/usr/share/doc/packages/gstreamer + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} gstreamer-1.0 + mv gstreamer-1.0.lang gstreamer.lang + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc/packages/gstreamer/manual + rm -rf ${D}/usr/share/doc/packages/gstreamer/pwg + mkdir -p ${D}/usr/share/gstreamer-1.0/presets + /bin/install -m644 -D ${S}/packaging/gstreamer.macros ${D}/usr/libexec/rpm/fileattrs/gstreamer.attr + /bin/install -m755 -D ${S}/packaging/gstreamer.prov ${D}/usr/libexec/rpm/gstreamer-provides + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "libgstreamer" +PACKAGES += "gstreamer-locale" +PACKAGES += "gstreamer-devel" +PACKAGES += "gstreamer" +PACKAGES += "gstreamer-utils" + +libgstreamer_files = "" +libgstreamer_files += "gstreamer.manifest" +libgstreamer_files += "/usr/lib/*.so.*" + +gstreamer-locale_files = "" + +gstreamer-devel_files = "" +gstreamer-devel_files += "gstreamer.manifest" +gstreamer-devel_files += "/usr/share/aclocal/*.m4" +gstreamer-devel_files += "/usr/include/*" +gstreamer-devel_files += "/usr/lib/*.so" +gstreamer-devel_files += "/usr/lib/pkgconfig/*.pc" +gstreamer-devel_files += "/usr/libexec/rpm/gstreamer-provides" +gstreamer-devel_files += "/usr/libexec/rpm/fileattrs/gstreamer.attr" + +gstreamer_files = "" +gstreamer_files += "gstreamer.manifest" +gstreamer_files += "/usr/share/gstreamer-1.0" +gstreamer_files += "/usr/share/gstreamer-1.0/presets" +gstreamer_files += "/usr/lib/gstreamer-1.0" +gstreamer_files += "/usr/lib/gstreamer-1.0/*.so" +gstreamer_files += "/usr/libexec/gstreamer-1.0" +gstreamer_files += "/usr/libexec/gstreamer-1.0/gst-plugin-scanner" + +gstreamer-utils_files = "" +gstreamer-utils_files += "gstreamer.manifest" +gstreamer-utils_files += "/usr/bin/*-1.0" +gstreamer-utils_files += "/usr/share/man/man?/*-1.0.*" + +FILES_lib${PN} = "${libgstreamer_files}" +FILES_${PN}-locale = "${gstreamer-locale_files}" +FILES_${PN}-devel = "${gstreamer-devel_files}" +FILES_${PN} = "${gstreamer_files}" +FILES_${PN}-utils = "${gstreamer-utils_files}" + +PKG_libgstreamer= "libgstreamer" +PKG_gstreamer-locale= "gstreamer-locale" +PKG_gstreamer-devel= "gstreamer-devel" +PKG_gstreamer= "gstreamer" +PKG_gstreamer-utils= "gstreamer-utils" + +require gstreamer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gstreamer/gstreamer_git.bb b/meta-tizen/recipes-tizen/gstreamer/gstreamer_git.bb new file mode 100644 index 0000000..b9fc4ac --- /dev/null +++ b/meta-tizen/recipes-tizen/gstreamer/gstreamer_git.bb @@ -0,0 +1,8 @@ +require gstreamer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gstreamer;protocol=ssh;tag=dff390db6605ad8f42b75b34ca0575e82144ca94;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gtest/gtest-extraconf.inc b/meta-tizen/recipes-tizen/gtest/gtest-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gtest/gtest-native_git.bb b/meta-tizen/recipes-tizen/gtest/gtest-native_git.bb new file mode 100644 index 0000000..84d8f95 --- /dev/null +++ b/meta-tizen/recipes-tizen/gtest/gtest-native_git.bb @@ -0,0 +1,12 @@ +require gtest.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gtest;protocol=ssh;tag=37ed6afbded4e31c715d517f135e0c538911b30c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gtest/gtest.inc b/meta-tizen/recipes-tizen/gtest/gtest.inc new file mode 100644 index 0000000..a9e50be --- /dev/null +++ b/meta-tizen/recipes-tizen/gtest/gtest.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Google Test Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gtest-devel +PROVIDES += "gtest-devel" +RPROVIDES_gtest-devel += "gtest-devel" +RPROVIDES_gtest-devel += "gtest-dev" + +#PROVIDES by gtest +PROVIDES += "gtest" +RPROVIDES_gtest += "gtest" +# the PROVIDES rules is ignore "libgtest_main.so.0 " +PROVIDES += "libgtest_main.so.0" +RPROVIDES_gtest += "libgtest_main.so.0" +# the PROVIDES rules is ignore "libgtest.so.0 " +PROVIDES += "libgtest.so.0" +RPROVIDES_gtest += "libgtest.so.0" + +RDEPENDS = "" +#RDEPENDS of gtest-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "gtest" + + +DEPENDS = "" +#DEPENDS of gtest +DEPENDS += "pkgconfig(python)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gtest.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./configure --prefix=/usr + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install + + +} + +PACKAGES = "" +PACKAGES += "gtest-devel" +PACKAGES += "gtest" + +gtest-devel_files = "" +gtest-devel_files += "gtest.manifest" +gtest-devel_files += "/usr/include/gtest/*.h" +gtest-devel_files += "/usr/include/gtest/internal/*.h" +gtest-devel_files += "/usr/lib/libgtest_main.so" +gtest-devel_files += "/usr/lib/libgtest.so" +gtest-devel_files += "/usr/lib/libgtest_main.la" +gtest-devel_files += "/usr/lib/libgtest_main.a" +gtest-devel_files += "/usr/lib/libgtest.la" +gtest-devel_files += "/usr/lib/libgtest.a" +gtest-devel_files += "/usr/share/aclocal/gtest.m4" + +gtest_files = "" +gtest_files += "gtest.manifest" +gtest_files += "/usr/lib/libgtest_main.so.*" +gtest_files += "/usr/lib/libgtest.so.*" + +FILES_${PN}-devel = "${gtest-devel_files}" +FILES_${PN} = "${gtest_files}" + +PKG_gtest-devel= "gtest-devel" +PKG_gtest= "gtest" + +require gtest-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gtest/gtest_git.bb b/meta-tizen/recipes-tizen/gtest/gtest_git.bb new file mode 100644 index 0000000..8f7c991 --- /dev/null +++ b/meta-tizen/recipes-tizen/gtest/gtest_git.bb @@ -0,0 +1,8 @@ +require gtest.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gtest;protocol=ssh;tag=37ed6afbded4e31c715d517f135e0c538911b30c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gtk-doc/gtk-doc-extraconf.inc b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gtk-doc/gtk-doc-native_git.bb b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc-native_git.bb new file mode 100644 index 0000000..dddc27f --- /dev/null +++ b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc-native_git.bb @@ -0,0 +1,12 @@ +require gtk-doc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gtk-doc;protocol=ssh;tag=280210cae6389e64b42a43bf70eafc1c6a490084;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gtk-doc/gtk-doc.inc b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc.inc new file mode 100644 index 0000000..7da46b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "GTK+ DocBook Documentation Generator" +HOMEPAGE = "http://www.gtk.org/gtk-doc/" +SECTION = "Productivity/Publishing/SGML" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gtk-doc +PROVIDES += "gtk-doc" +RPROVIDES_gtk-doc += "gtk-doc" + +RDEPENDS = "" +#RDEPENDS of gtk-doc (${PN}) +RDEPENDS_${PN} += "docbook-xsl-stylesheets" +RDEPENDS_${PN} += "docbook_4" +RDEPENDS_${PN} += "libxslt" +RDEPENDS_${PN} += "libxslt-tools" +RDEPENDS_${PN} += "libxml2-tools" + + +DEPENDS = "" +#DEPENDS of gtk-doc +DEPENDS += "sgml-skel" +DEPENDS += "xsltproc" +inherit pythonnative +DEPENDS += "pkgconfig-native" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "libxslt" +DEPENDS += "libxml2-tools" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-scrollkeeper + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/gtk-doc/html + mv -v doc/README doc/doc.README + + +} + +PACKAGES = "" +PACKAGES += "gtk-doc" + +gtk-doc_files = "" +gtk-doc_files += "AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README TODO doc/*" +gtk-doc_files += "/usr/bin/gtkdoc-*" +gtk-doc_files += "/usr/bin/gtkdocize" +gtk-doc_files += "/usr/share/aclocal" +gtk-doc_files += "/usr/share/aclocal/gtk-doc.m4" +gtk-doc_files += "/usr/share/gtk-doc/" +gtk-doc_files += "/usr/share/pkgconfig/gtk-doc.pc" +gtk-doc_files += "/usr/share/sgml/gtk-doc/" + +FILES_${PN} = "${gtk-doc_files}" + +PKG_gtk-doc= "gtk-doc" + +require gtk-doc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gtk-doc/gtk-doc_git.bb b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc_git.bb new file mode 100644 index 0000000..c0f188d --- /dev/null +++ b/meta-tizen/recipes-tizen/gtk-doc/gtk-doc_git.bb @@ -0,0 +1,8 @@ +require gtk-doc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gtk-doc;protocol=ssh;tag=280210cae6389e64b42a43bf70eafc1c6a490084;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gumd/gumd-extraconf.inc b/meta-tizen/recipes-tizen/gumd/gumd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gumd/gumd.inc b/meta-tizen/recipes-tizen/gumd/gumd.inc new file mode 100644 index 0000000..94fcc4d --- /dev/null +++ b/meta-tizen/recipes-tizen/gumd/gumd.inc @@ -0,0 +1,78 @@ +DESCRIPTION = "User management daemon and client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libgum-common-devel" +PACKAGES += "gumd" +PACKAGES += "libgum" +PACKAGES += "libgum-common" +PACKAGES += "gumd-doc" +PACKAGES += "libgum-devel" +PACKAGES += "gumd-devel" + +libgum-common-devel_files = "" +libgum-common-devel_files += "/usr/include/gum/common/*" +libgum-common-devel_files += "/usr/lib/libgum-common*.so" +libgum-common-devel_files += "/usr/lib/pkgconfig/libgum-common.pc" +libgum-common-devel_files += "/etc/gum.conf" +libgum-common-devel_files += "/usr/share/dbus-1/interfaces/*UserManagement*.xml" + +gumd_files = "" +gumd_files += "/usr/share/gumd.manifest" +gumd_files += "AUTHORS COPYING.LIB INSTALL NEWS README" +gumd_files += "/usr/bin/gumd" +gumd_files += "/usr/share/dbus-1/system-services" +gumd_files += "/usr/share/dbus-1/system-services/*UserManagement*.service" +gumd_files += "/etc/dbus-1" +gumd_files += "/etc/dbus-1/system.d" +gumd_files += "/etc/dbus-1/system.d/gumd-dbus.conf" + +libgum_files = "" +libgum_files += "/usr/share/libgum.manifest" +libgum_files += "/usr/lib/libgum.so.*" + +libgum-common_files = "" +libgum-common_files += "/usr/share/libgum-common.manifest" +libgum-common_files += "/usr/lib/libgum-common*.so.*" + +gumd-doc_files = "" +gumd-doc_files += "/usr/share/gtk-doc/html/gumd/*" + +libgum-devel_files = "" +libgum-devel_files += "/usr/include/gum/*.h" +libgum-devel_files += "/usr/lib/libgum.so" +libgum-devel_files += "/usr/lib/pkgconfig/libgum.pc" +libgum-devel_files += "/usr/bin/gum-example" + +gumd-devel_files = "" +gumd-devel_files += "/usr/lib/pkgconfig/gumd.pc" + +FILES_libgum-common-devel = "${libgum-common-devel_files}" +FILES_${PN} = "${gumd_files}" +FILES_libgum = "${libgum_files}" +FILES_libgum-common = "${libgum-common_files}" +FILES_${PN}-doc = "${gumd-doc_files}" +FILES_libgum-devel = "${libgum-devel_files}" +FILES_${PN}-devel = "${gumd-devel_files}" + +PKG_libgum-common-devel= "libgum-common-devel" +PKG_gumd= "gumd" +PKG_libgum= "libgum" +PKG_libgum-common= "libgum-common" +PKG_gumd-doc= "gumd-doc" +PKG_libgum-devel= "libgum-devel" +PKG_gumd-devel= "gumd-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require gumd-rdepends.inc +require gumd-depends.inc +require gumd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gummiboot/gummiboot-extraconf.inc b/meta-tizen/recipes-tizen/gummiboot/gummiboot-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gummiboot/gummiboot-native_git.bb b/meta-tizen/recipes-tizen/gummiboot/gummiboot-native_git.bb new file mode 100644 index 0000000..5498378 --- /dev/null +++ b/meta-tizen/recipes-tizen/gummiboot/gummiboot-native_git.bb @@ -0,0 +1,12 @@ +require gummiboot.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gummiboot;protocol=ssh;tag=64eee6dd93de8bcfe4ae79c8b5bfd39126a86716;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gummiboot/gummiboot.inc b/meta-tizen/recipes-tizen/gummiboot/gummiboot.inc new file mode 100644 index 0000000..9c6b660 --- /dev/null +++ b/meta-tizen/recipes-tizen/gummiboot/gummiboot.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "EFI Kernel loader" +HOMEPAGE = "http://cgit.freedesktop.org/gummiboot/" +SECTION = "Base/Startup" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gummiboot-splash +PROVIDES += "gummiboot-splash" +RPROVIDES_gummiboot-splash += "gummiboot-splash" + +#PROVIDES by gummiboot +PROVIDES += "gummiboot" +RPROVIDES_gummiboot += "gummiboot" + +RDEPENDS = "" +#RDEPENDS of gummiboot-splash (${PN}-splash) +RDEPENDS_${PN}-splash += "gummiboot" + + +DEPENDS = "" +#DEPENDS of gummiboot +DEPENDS += "gnu-efi" +DEPENDS += "pkgconfig(blkid)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gummiboot-43 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/gummiboot.manifest . + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-efi-libdir=/usr/lib --with-efi-ldsdir=/usr/lib + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -fr ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}//usr/share/gummiboot + cp test/splash.bmp ${D}//usr/share/gummiboot + + +} + +PACKAGES = "" +PACKAGES += "gummiboot-splash" +PACKAGES += "gummiboot" + +gummiboot-splash_files = "" +gummiboot-splash_files += "/usr/share/gummiboot/splash.bmp" + +gummiboot_files = "" +gummiboot_files += "gummiboot.manifest" +gummiboot_files += "gummiboot.manifest" +gummiboot_files += "/usr/bin/gummiboot" +gummiboot_files += "/usr/lib/gummiboot/gummibootx64.efi" + +FILES_${PN}-splash = "${gummiboot-splash_files}" +FILES_${PN} = "${gummiboot_files}" + +PKG_gummiboot-splash= "gummiboot-splash" +PKG_gummiboot= "gummiboot" + +require gummiboot-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gummiboot/gummiboot_git.bb b/meta-tizen/recipes-tizen/gummiboot/gummiboot_git.bb new file mode 100644 index 0000000..818639d --- /dev/null +++ b/meta-tizen/recipes-tizen/gummiboot/gummiboot_git.bb @@ -0,0 +1,8 @@ +require gummiboot.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gummiboot;protocol=ssh;tag=64eee6dd93de8bcfe4ae79c8b5bfd39126a86716;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gzip/gzip-extraconf.inc b/meta-tizen/recipes-tizen/gzip/gzip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/gzip/gzip-native_git.bb b/meta-tizen/recipes-tizen/gzip/gzip-native_git.bb new file mode 100644 index 0000000..2fc5756 --- /dev/null +++ b/meta-tizen/recipes-tizen/gzip/gzip-native_git.bb @@ -0,0 +1,12 @@ +require gzip.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gzip;protocol=ssh;tag=f6b2c04d88d9b8111eaa953b1d3166d521fcb6c3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/gzip/gzip.inc b/meta-tizen/recipes-tizen/gzip/gzip.inc new file mode 100644 index 0000000..b28e4d6 --- /dev/null +++ b/meta-tizen/recipes-tizen/gzip/gzip.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "The GNU data compression program" +HOMEPAGE = "http://www.gnu.org/software/gzip/" +SECTION = "Base/Compression" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by gzip +PROVIDES += "gzip" +RPROVIDES_gzip += "gzip" + +#PROVIDES by gzip-docs +PROVIDES += "gzip-docs " +RPROVIDES_gzip-docs += "gzip-docs " + +RDEPENDS = "" +#RDEPENDS of gzip (${PN}) +RDEPENDS_${PN} += "/usr/bin/mktemp" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gzip.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --bindir=/usr/bin + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "gzip" +PACKAGES += "gzip-docs" + +gzip_files = "" +gzip_files += "gzip.manifest" +gzip_files += "/usr/bin/gzip" +gzip_files += "/usr/bin/gunzip" +gzip_files += "/usr/bin/zcmp" +gzip_files += "/usr/bin/zegrep" +gzip_files += "/usr/bin/zforce" +gzip_files += "/usr/bin/znew" +gzip_files += "/usr/bin/gzexe" +gzip_files += "/usr/bin/zdiff" +gzip_files += "/usr/bin/zfgrep" +gzip_files += "/usr/bin/zgrep" +gzip_files += "/usr/bin/zmore" +gzip_files += "/usr/bin/zcat" +gzip_files += "/usr/bin/uncompress" +gzip_files += "/usr/bin/zless" + +gzip-docs_files = "" +gzip-docs_files += "/usr/share/info" +gzip-docs_files += "/usr/share/man" + +FILES_${PN} = "${gzip_files}" +FILES_${PN}-docs = "${gzip-docs_files}" + +PKG_gzip= "gzip" +PKG_gzip-docs= "gzip-docs" + +require gzip-extraconf.inc diff --git a/meta-tizen/recipes-tizen/gzip/gzip_git.bb b/meta-tizen/recipes-tizen/gzip/gzip_git.bb new file mode 100644 index 0000000..9d73388 --- /dev/null +++ b/meta-tizen/recipes-tizen/gzip/gzip_git.bb @@ -0,0 +1,8 @@ +require gzip.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gzip;protocol=ssh;tag=f6b2c04d88d9b8111eaa953b1d3166d521fcb6c3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-extraconf.inc b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-native_git.bb b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-native_git.bb new file mode 100644 index 0000000..e652191 --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen-native_git.bb @@ -0,0 +1,12 @@ +require haptic-module-tizen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/haptic-module-tizen;protocol=ssh;tag=e17885f65fdc41573e6755f442e3a5a951040627;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen.inc b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen.inc new file mode 100644 index 0000000..6d04b9c --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Haptic Module library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "APLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by haptic-module-tizen +PROVIDES += "haptic-module-tizen" +RPROVIDES_haptic-module-tizen += "haptic-module-tizen" + +RDEPENDS = "" +#RDEPENDS of haptic-module-tizen (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of haptic-module-tizen +DEPENDS += "pkgconfig(haptic-plugin)" +DEPENDS += "pkgconfig(device-node)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/haptic-module-tizen.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DSIMULATOR=no + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "haptic-module-tizen" + +haptic-module-tizen_files = "" +haptic-module-tizen_files += "haptic-module-tizen.manifest" +haptic-module-tizen_files += "/usr/lib/libhaptic-module.so" + +FILES_${PN} = "${haptic-module-tizen_files}" + +PKG_haptic-module-tizen= "haptic-module-tizen" + +require haptic-module-tizen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen_git.bb b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen_git.bb new file mode 100644 index 0000000..8f8c3bd --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic-module-tizen/haptic-module-tizen_git.bb @@ -0,0 +1,8 @@ +require haptic-module-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/haptic-module-tizen;protocol=ssh;tag=e17885f65fdc41573e6755f442e3a5a951040627;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/haptic/haptic-extraconf.inc b/meta-tizen/recipes-tizen/haptic/haptic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/haptic/haptic-native_git.bb b/meta-tizen/recipes-tizen/haptic/haptic-native_git.bb new file mode 100644 index 0000000..c91c368 --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic/haptic-native_git.bb @@ -0,0 +1,12 @@ +require haptic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/haptic;protocol=ssh;tag=1925844b52867a8aa7f9c171048a053dc14b1b16;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/haptic/haptic.inc b/meta-tizen/recipes-tizen/haptic/haptic.inc new file mode 100644 index 0000000..cae4389 --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic/haptic.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A Haptic library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-haptic +PROVIDES += "capi-system-haptic" +RPROVIDES_capi-system-haptic += "capi-system-haptic" + +#PROVIDES by capi-system-haptic-devel +PROVIDES += "capi-system-haptic-devel" +RPROVIDES_capi-system-haptic-devel += "capi-system-haptic-devel" +RPROVIDES_capi-system-haptic-devel += "capi-system-haptic-dev" + +RDEPENDS = "" +#RDEPENDS of capi-system-haptic-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "capi-system-haptic" + + +DEPENDS = "" +#DEPENDS of capi-system-haptic +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "devman" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/capi-system-haptic.manifest . + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-system-haptic" +PACKAGES += "capi-system-haptic-devel" + +capi-system-haptic_files = "" +capi-system-haptic_files += "capi-system-haptic.manifest" +capi-system-haptic_files += "capi-system-haptic.manifest" +capi-system-haptic_files += "/usr/lib/libcapi-system-haptic.so.*" + +capi-system-haptic-devel_files = "" +capi-system-haptic-devel_files += "capi-system-haptic.manifest" +capi-system-haptic-devel_files += "/usr/include/system/*.h" +capi-system-haptic-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-haptic-devel_files += "/usr/lib/libcapi-system-haptic.so" + +FILES_${PN} = "${capi-system-haptic_files}" +FILES_${PN}-devel = "${capi-system-haptic-devel_files}" + +PKG_capi-system-haptic= "capi-system-haptic" +PKG_capi-system-haptic-devel= "capi-system-haptic-devel" + +require haptic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/haptic/haptic_git.bb b/meta-tizen/recipes-tizen/haptic/haptic_git.bb new file mode 100644 index 0000000..22f1a28 --- /dev/null +++ b/meta-tizen/recipes-tizen/haptic/haptic_git.bb @@ -0,0 +1,8 @@ +require haptic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/haptic;protocol=ssh;tag=1925844b52867a8aa7f9c171048a053dc14b1b16;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hardlink/hardlink-extraconf.inc b/meta-tizen/recipes-tizen/hardlink/hardlink-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hardlink/hardlink-native_git.bb b/meta-tizen/recipes-tizen/hardlink/hardlink-native_git.bb new file mode 100644 index 0000000..3cd719d --- /dev/null +++ b/meta-tizen/recipes-tizen/hardlink/hardlink-native_git.bb @@ -0,0 +1,12 @@ +require hardlink.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hardlink;protocol=ssh;tag=c2f4fbf2d17d9b2467ae1d015505490c3df92d3d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hardlink/hardlink.inc b/meta-tizen/recipes-tizen/hardlink/hardlink.inc new file mode 100644 index 0000000..38a4508 --- /dev/null +++ b/meta-tizen/recipes-tizen/hardlink/hardlink.inc @@ -0,0 +1,75 @@ +DESCRIPTION = "Create a tree of hardlinks" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Tools" +LICENSE = "GPL+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by hardlink +PROVIDES += "hardlink" +RPROVIDES_hardlink += "hardlink" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -c -T + cp ${S}/packaging/hardlink.manifest . + install -pm 644 ${S}/packaging/hardlink.c hardlink.c + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + gcc $RPM_OPT_FLAGS hardlink.c -o hardlink + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + install -D -m 644 ${S}/packaging/hardlink.1 $RPM_BUILD_ROOT/usr/share/man/man1/hardlink.1 + install -D -m 755 hardlink $RPM_BUILD_ROOT/usr/sbin/hardlink + + +} + +PACKAGES = "" +PACKAGES += "hardlink" + +hardlink_files = "" +hardlink_files += "hardlink.manifest" +hardlink_files += "/usr/sbin/hardlink" +hardlink_files += "/usr/share/man/man1/hardlink.1*" +hardlink_files += "" + +FILES_${PN} = "${hardlink_files}" + +PKG_hardlink= "hardlink" + +require hardlink-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hardlink/hardlink_git.bb b/meta-tizen/recipes-tizen/hardlink/hardlink_git.bb new file mode 100644 index 0000000..9b39d13 --- /dev/null +++ b/meta-tizen/recipes-tizen/hardlink/hardlink_git.bb @@ -0,0 +1,8 @@ +require hardlink.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hardlink;protocol=ssh;tag=c2f4fbf2d17d9b2467ae1d015505490c3df92d3d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/harfbuzz/harfbuzz-extraconf.inc b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/harfbuzz/harfbuzz-native_git.bb b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz-native_git.bb new file mode 100644 index 0000000..2a04e4a --- /dev/null +++ b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz-native_git.bb @@ -0,0 +1,12 @@ +require harfbuzz.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/harfbuzz;protocol=ssh;tag=58f0b94aebd4220cd073ec7931e2066baa9ba8d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/harfbuzz/harfbuzz.inc b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz.inc new file mode 100644 index 0000000..aa096c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "An OpenType text shaping engine" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/HarfBuzz" +SECTION = "Graphics/Font Management" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by harfbuzz-devel +PROVIDES += "harfbuzz-devel" +RPROVIDES_harfbuzz-devel += "harfbuzz-devel" +RPROVIDES_harfbuzz-devel += "harfbuzz-dev" + +#PROVIDES by harfbuzz-tools +PROVIDES += "harfbuzz-tools" +RPROVIDES_harfbuzz-tools += "harfbuzz-tools" + +#PROVIDES by libharfbuzz +PROVIDES += "libharfbuzz" +RPROVIDES_libharfbuzz += "libharfbuzz" + +#PROVIDES by harfbuzz +PROVIDES += "harfbuzz" +RPROVIDES_harfbuzz += "harfbuzz" + +RDEPENDS = "" +#RDEPENDS of harfbuzz-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libharfbuzz" + + +DEPENDS = "" +#DEPENDS of harfbuzz +DEPENDS += "gcc-cross" +DEPENDS += "freetype2" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "pkgconfig(cairo-ft)" +DEPENDS += "pkgconfig(gthread-2.0)" +DEPENDS += "pkgconfig(icu-uc)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/harfbuzz.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "harfbuzz-devel" +PACKAGES += "harfbuzz-tools" +PACKAGES += "libharfbuzz" + +harfbuzz-devel_files = "" +harfbuzz-devel_files += "harfbuzz.manifest" +harfbuzz-devel_files += "/usr/include/harfbuzz/" +harfbuzz-devel_files += "/usr/lib/*.so" +harfbuzz-devel_files += "/usr/lib/pkgconfig/harfbuzz.pc" + +harfbuzz-tools_files = "" +harfbuzz-tools_files += "harfbuzz.manifest" +harfbuzz-tools_files += "/usr/bin/hb-ot-shape-closure" +harfbuzz-tools_files += "/usr/bin/hb-shape" +harfbuzz-tools_files += "/usr/bin/hb-view" + +libharfbuzz_files = "" +libharfbuzz_files += "harfbuzz.manifest" +libharfbuzz_files += "/usr/lib/libharfbuzz.so.0*" + +FILES_${PN}-devel = "${harfbuzz-devel_files}" +FILES_${PN}-tools = "${harfbuzz-tools_files}" +FILES_lib${PN} = "${libharfbuzz_files}" + +PKG_harfbuzz-devel= "harfbuzz-devel" +PKG_harfbuzz-tools= "harfbuzz-tools" +PKG_libharfbuzz= "libharfbuzz" + +require harfbuzz-extraconf.inc diff --git a/meta-tizen/recipes-tizen/harfbuzz/harfbuzz_git.bb b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz_git.bb new file mode 100644 index 0000000..8703a27 --- /dev/null +++ b/meta-tizen/recipes-tizen/harfbuzz/harfbuzz_git.bb @@ -0,0 +1,8 @@ +require harfbuzz.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/harfbuzz;protocol=ssh;tag=58f0b94aebd4220cd073ec7931e2066baa9ba8d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hash-signer/hash-signer-extraconf.inc b/meta-tizen/recipes-tizen/hash-signer/hash-signer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hash-signer/hash-signer-native_git.bb b/meta-tizen/recipes-tizen/hash-signer/hash-signer-native_git.bb new file mode 100644 index 0000000..be8399e --- /dev/null +++ b/meta-tizen/recipes-tizen/hash-signer/hash-signer-native_git.bb @@ -0,0 +1,12 @@ +require hash-signer.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/hash-signer;protocol=ssh;tag=47a806b102c1337869f1ac04315945755785a65f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hash-signer/hash-signer.inc b/meta-tizen/recipes-tizen/hash-signer/hash-signer.inc new file mode 100644 index 0000000..89d8a5c --- /dev/null +++ b/meta-tizen/recipes-tizen/hash-signer/hash-signer.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "Commandline tool for Tizen Signing" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Productivity/Security" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by hash-signer +PROVIDES += "hash-signer" +RPROVIDES_hash-signer += "hash-signer" + +RDEPENDS = "" +#RDEPENDS of hash-signer (${PN}) +RDEPENDS_${PN} += "xmlsec1" +RDEPENDS_${PN} += "unzip" +RDEPENDS_${PN} += "xmlstarlet" +RDEPENDS_${PN} += "zip" + + +DEPENDS = "" +#DEPENDS of hash-signer +DEPENDS += "xmlsec1" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + mkdir -p ${D}/opt/usr/share/certs/signer + cp -arf certificates/* ${D}/opt/usr/share/certs/signer/ + mkdir -p ${D}/usr/bin + cp -arf tools/* ${D}/usr/bin/ + mkdir -p ${D}/etc/rpm + cp -arf macros/* ${D}/etc/rpm/ + + +} + +PACKAGES = "" +PACKAGES += "hash-signer" + +hash-signer_files = "" +hash-signer_files += "/opt/usr/share/certs/signer/*" +hash-signer_files += "/usr/bin/*" +hash-signer_files += "/etc/rpm/*" + +FILES_${PN} = "${hash-signer_files}" + +PKG_hash-signer= "hash-signer" + +require hash-signer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hash-signer/hash-signer_git.bb b/meta-tizen/recipes-tizen/hash-signer/hash-signer_git.bb new file mode 100644 index 0000000..86888fc --- /dev/null +++ b/meta-tizen/recipes-tizen/hash-signer/hash-signer_git.bb @@ -0,0 +1,8 @@ +require hash-signer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/hash-signer;protocol=ssh;tag=47a806b102c1337869f1ac04315945755785a65f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/heap-monitor/heap-monitor-extraconf.inc b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/heap-monitor/heap-monitor-native_git.bb b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor-native_git.bb new file mode 100644 index 0000000..f2e101e --- /dev/null +++ b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor-native_git.bb @@ -0,0 +1,12 @@ +require heap-monitor.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/heap-monitor;protocol=ssh;tag=d41e35de4036c319289f2dc34262ab7f37ccfbfd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/heap-monitor/heap-monitor.inc b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor.inc new file mode 100644 index 0000000..a0731ad --- /dev/null +++ b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Library for monitoring the heap usage" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libheap-monitor +PROVIDES += "libheap-monitor" +RPROVIDES_libheap-monitor += "libheap-monitor" + +#PROVIDES by libheap-monitor-devel +PROVIDES += "libheap-monitor-devel" +RPROVIDES_libheap-monitor-devel += "libheap-monitor-devel" +RPROVIDES_libheap-monitor-devel += "libheap-monitor-dev" + +RDEPENDS = "" +#RDEPENDS of libheap-monitor-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libheap-monitor" + + +DEPENDS = "" +#DEPENDS of libheap-monitor +DEPENDS += "cmake" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libheap-monitor.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DCMAKE_INSTALL_PREFIX=/usr + CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -Werror -Winline -fno-builtin-malloc" make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}//usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "libheap-monitor" +PACKAGES += "libheap-monitor-devel" + +libheap-monitor_files = "" +libheap-monitor_files += "libheap-monitor.manifest" +libheap-monitor_files += "/usr/lib/*.so*" +libheap-monitor_files += "/usr/share/license/*" + +libheap-monitor-devel_files = "" +libheap-monitor-devel_files += "libheap-monitor.manifest" +libheap-monitor-devel_files += "/usr/include/heap-monitor/heap-monitor.h" +libheap-monitor-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libheap-monitor_files}" +FILES_${PN}-devel = "${libheap-monitor-devel_files}" + +PKG_libheap-monitor= "libheap-monitor" +PKG_libheap-monitor-devel= "libheap-monitor-devel" + +require heap-monitor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/heap-monitor/heap-monitor_git.bb b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor_git.bb new file mode 100644 index 0000000..2514479 --- /dev/null +++ b/meta-tizen/recipes-tizen/heap-monitor/heap-monitor_git.bb @@ -0,0 +1,8 @@ +require heap-monitor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/heap-monitor;protocol=ssh;tag=d41e35de4036c319289f2dc34262ab7f37ccfbfd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/help2man/help2man-extraconf.inc b/meta-tizen/recipes-tizen/help2man/help2man-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/help2man/help2man.inc b/meta-tizen/recipes-tizen/help2man/help2man.inc new file mode 100644 index 0000000..1d331b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/help2man/help2man.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "Create Simple Man Pages from --help Output" +HOMEPAGE = "http://www.gnu.org/software/help2man/" +SECTION = "Development/Tools/Doc Generators" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by help2man +PROVIDES += "help2man" +RPROVIDES_help2man += "help2man" + +RDEPENDS = "" +#RDEPENDS of help2man (${PN}) +RDEPENDS_${PN} += "perl-gettext" + + +DEPENDS = "" +#DEPENDS of help2man +DEPENDS += "perl-gettext" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/help2man.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-nls + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} help2man --with-man + + + +} + +PACKAGES = "" +PACKAGES += "help2man" + +help2man_files = "" +help2man_files += "help2man.manifest" +help2man_files += "COPYING" +help2man_files += "/usr/bin/help2man" +help2man_files += "/usr/lib/help2man/" +help2man_files += "/usr/share/info/help2man.info.gz" +help2man_files += "/usr/share/man/man1/help2man.1.gz" +help2man_files += "/usr/share/man/??" +help2man_files += "/usr/share/man/??/man1" + +FILES_${PN} = "${help2man_files}" + +PKG_help2man= "help2man" + +require help2man-extraconf.inc diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc b/meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti-native_git.bb b/meta-tizen/recipes-tizen/heynoti/heynoti-native_git.bb new file mode 100644 index 0000000..06b521a --- /dev/null +++ b/meta-tizen/recipes-tizen/heynoti/heynoti-native_git.bb @@ -0,0 +1,12 @@ +require heynoti.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/heynoti;protocol=ssh;tag=0392b03dc6aa9300440ccc1ba3c204968f738501;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti.inc b/meta-tizen/recipes-tizen/heynoti/heynoti.inc new file mode 100644 index 0000000..74df001 --- /dev/null +++ b/meta-tizen/recipes-tizen/heynoti/heynoti.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "HEY (ligHt Easy speedy) notification library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by heynoti +PROVIDES += "heynoti" +RPROVIDES_heynoti += "heynoti" + +#PROVIDES by heynoti-devel +PROVIDES += "heynoti-devel" +RPROVIDES_heynoti-devel += "heynoti-devel" +RPROVIDES_heynoti-devel += "heynoti-dev" + +RDEPENDS = "" +#RDEPENDS of heynoti-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "heynoti" + + +DEPENDS = "" +#DEPENDS of heynoti +DEPENDS += "ecore" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/heynoti.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DCMAKE_BUILD_TYPE="Debug" + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/opt/share/noti + + +} + +PACKAGES = "" +PACKAGES += "heynoti" +PACKAGES += "heynoti-devel" + +heynoti_files = "" +heynoti_files += "heynoti.manifest" +heynoti_files += "/usr/lib/libheynoti.so.0" +heynoti_files += "/usr/lib/libheynoti.so.0.0.2" +heynoti_files += "/usr/bin/heynotitool" + +heynoti-devel_files = "" +heynoti-devel_files += "heynoti.manifest" +heynoti-devel_files += "/usr/include/heynoti/SLP_Heynoti_PG.h" +heynoti-devel_files += "/usr/include/heynoti/heynoti.h" +heynoti-devel_files += "/usr/lib/pkgconfig/heynoti.pc" +heynoti-devel_files += "/usr/lib/libheynoti.so" + +FILES_${PN} = "${heynoti_files}" +FILES_${PN}-devel = "${heynoti-devel_files}" + +PKG_heynoti= "heynoti" +PKG_heynoti-devel= "heynoti-devel" + +require heynoti-extraconf.inc diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb b/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb new file mode 100644 index 0000000..a8ec0a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/heynoti/heynoti_git.bb @@ -0,0 +1,8 @@ +require heynoti.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/heynoti;protocol=ssh;tag=0392b03dc6aa9300440ccc1ba3c204968f738501;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hostname/hostname-extraconf.inc b/meta-tizen/recipes-tizen/hostname/hostname-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hostname/hostname-native_git.bb b/meta-tizen/recipes-tizen/hostname/hostname-native_git.bb new file mode 100644 index 0000000..7377c38 --- /dev/null +++ b/meta-tizen/recipes-tizen/hostname/hostname-native_git.bb @@ -0,0 +1,12 @@ +require hostname.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hostname;protocol=ssh;tag=f9639fe7b32dddb132ae57f460239ca49cc1cc71;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hostname/hostname.inc b/meta-tizen/recipes-tizen/hostname/hostname.inc new file mode 100644 index 0000000..2ddcbf5 --- /dev/null +++ b/meta-tizen/recipes-tizen/hostname/hostname.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Utility to set/show the host name or domain name" +HOMEPAGE = "http://packages.qa.debian.org/h/hostname.html" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by hostname +PROVIDES += "hostname" +RPROVIDES_hostname += "hostname" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n hostname + cp ${S}/packaging/hostname.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables $CFLAGS" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make BASEDIR=${D} install + # english is enough + rm -rf ${D}/usr/share/man/fr + + +} + +PACKAGES = "" +PACKAGES += "hostname" + +hostname_files = "" +hostname_files += "hostname.manifest" +hostname_files += "/bin/*" +hostname_files += "/usr/share/man/man1/*" + +FILES_${PN} = "${hostname_files}" + +PKG_hostname= "hostname" + +require hostname-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hostname/hostname_git.bb b/meta-tizen/recipes-tizen/hostname/hostname_git.bb new file mode 100644 index 0000000..1b1cadb --- /dev/null +++ b/meta-tizen/recipes-tizen/hostname/hostname_git.bb @@ -0,0 +1,8 @@ +require hostname.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hostname;protocol=ssh;tag=f9639fe7b32dddb132ae57f460239ca49cc1cc71;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hplip/hplip-extraconf.inc b/meta-tizen/recipes-tizen/hplip/hplip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hplip/hplip.inc b/meta-tizen/recipes-tizen/hplip/hplip.inc new file mode 100644 index 0000000..406fdfa --- /dev/null +++ b/meta-tizen/recipes-tizen/hplip/hplip.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "HP's Printing, Scanning, and Faxing Software" +HOMEPAGE = "http://hplipopensource.com" +SECTION = "Hardware/Printing" +LICENSE = "BSD-3-Clause GPL-2.0+ MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "hplip" + +hplip_files = "" +hplip_files += "hplip.manifest" +hplip_files += "/usr/share/license/hplip" +hplip_files += "/usr/lib/cups/filter" +hplip_files += "/usr/lib/cups/filter/hpcups" + +FILES_${PN} = "${hplip_files}" + +PKG_hplip= "hplip" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require hplip-rdepends.inc +require hplip-depends.inc +require hplip-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hunspell/hunspell-extraconf.inc b/meta-tizen/recipes-tizen/hunspell/hunspell-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/hunspell/hunspell-native_git.bb b/meta-tizen/recipes-tizen/hunspell/hunspell-native_git.bb new file mode 100644 index 0000000..1207fc1 --- /dev/null +++ b/meta-tizen/recipes-tizen/hunspell/hunspell-native_git.bb @@ -0,0 +1,12 @@ +require hunspell.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hunspell;protocol=ssh;tag=4da2785cfefb5db2c38fc83b75f581289690bab2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hunspell/hunspell.inc b/meta-tizen/recipes-tizen/hunspell/hunspell.inc new file mode 100644 index 0000000..fee8238 --- /dev/null +++ b/meta-tizen/recipes-tizen/hunspell/hunspell.inc @@ -0,0 +1,166 @@ +DESCRIPTION = "Hunspell - a spell checker and morphological analyzer library" +HOMEPAGE = "http://hunspell.sourceforge.net/" +SECTION = "System/Libraries" +LICENSE = "(GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by hunspell-docs +PROVIDES += "hunspell-docs " +RPROVIDES_hunspell-docs += "hunspell-docs " + +#PROVIDES by hunspell-devel +PROVIDES += "hunspell-devel" +RPROVIDES_hunspell-devel += "hunspell-devel" +RPROVIDES_hunspell-devel += "hunspell-dev" + +#PROVIDES by hunspell-static +PROVIDES += "hunspell-static" +RPROVIDES_hunspell-static += "hunspell-static" + +#PROVIDES by hunspell +PROVIDES += "hunspell" +RPROVIDES_hunspell += "hunspell" + +#PROVIDES by hunspell-tools +PROVIDES += "hunspell-tools" +RPROVIDES_hunspell-tools += "hunspell-tools" + +RDEPENDS = "" +#RDEPENDS of hunspell-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig" +RDEPENDS_${PN}-devel += "hunspell" +RDEPENDS_${PN}-devel += "libstdc++-dev" + +#RDEPENDS of hunspell-static (${PN}-static) +RDEPENDS_${PN}-static += "hunspell-dev" + +#RDEPENDS of hunspell-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "hunspell" + + +DEPENDS = "" +#DEPENDS of hunspell +DEPENDS += "gcc-cross" +DEPENDS += "readline-devel" +DEPENDS += "ncurses-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "automake-native" +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/hunspell.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-ui \ + --with-readline + make -j16 + + exit 0 + make check + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}/usr/bin/example + install -m 644 src/tools/{,un}munch.h ${D}/usr/include + rm -rf ${D}/usr/share/man/hu + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} hunspell + + + +} + +PACKAGES = "" +PACKAGES += "hunspell-devel" +PACKAGES += "hunspell" +PACKAGES += "hunspell-docs" +PACKAGES += "hunspell-tools" + +hunspell-devel_files = "" +hunspell-devel_files += "hunspell.manifest" +hunspell-devel_files += "/usr/include/hunspell" +hunspell-devel_files += "/usr/include/munch.h" +hunspell-devel_files += "/usr/include/unmunch.h" +hunspell-devel_files += "/usr/lib/pkgconfig/hunspell.pc" + +hunspell_files = "" +hunspell_files += "hunspell.manifest" +hunspell_files += "COPYING license.hunspell license.myspell" + +hunspell-docs_files = "" +hunspell-docs_files += "/usr/share/info" +hunspell-docs_files += "/usr/share/man" + +hunspell-tools_files = "" +hunspell-tools_files += "hunspell.manifest" + +FILES_${PN}-devel = "${hunspell-devel_files}" +FILES_${PN} = "${hunspell_files}" +FILES_${PN}-docs = "${hunspell-docs_files}" +FILES_${PN}-tools = "${hunspell-tools_files}" + +PKG_hunspell-devel= "hunspell-devel" +PKG_hunspell= "hunspell" +PKG_hunspell-docs= "hunspell-docs" +PKG_hunspell-tools= "hunspell-tools" + +require hunspell-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hunspell/hunspell_git.bb b/meta-tizen/recipes-tizen/hunspell/hunspell_git.bb new file mode 100644 index 0000000..c0bea9b --- /dev/null +++ b/meta-tizen/recipes-tizen/hunspell/hunspell_git.bb @@ -0,0 +1,8 @@ +require hunspell.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hunspell;protocol=ssh;tag=4da2785cfefb5db2c38fc83b75f581289690bab2;nobranch=1" + 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-native_git.bb b/meta-tizen/recipes-tizen/hwdata/hwdata-native_git.bb new file mode 100644 index 0000000..07e7079 --- /dev/null +++ b/meta-tizen/recipes-tizen/hwdata/hwdata-native_git.bb @@ -0,0 +1,12 @@ +require hwdata.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hwdata;protocol=ssh;tag=25a3c12cf379105ca90f836ec9eda4a9d5eac3b2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/hwdata/hwdata.inc b/meta-tizen/recipes-tizen/hwdata/hwdata.inc new file mode 100644 index 0000000..897b743 --- /dev/null +++ b/meta-tizen/recipes-tizen/hwdata/hwdata.inc @@ -0,0 +1,107 @@ +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" + +PROVIDES = "" + +#PROVIDES by hwdata +PROVIDES += "hwdata" +RPROVIDES_hwdata += "hwdata" +# the PROVIDES rules is ignore "pciutils-ids " +PROVIDES += "pciutils-ids" +RPROVIDES_hwdata += "pciutils-ids" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + cp ${S}/packaging/hwdata.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /bin/mkdir -p ${D}/etc/modprobe.d + mv ${D}/usr/lib/modprobe.d/dist-blacklist.conf \ + ${D}/etc/modprobe.d/blacklist.conf + rm -rf ${D}/usr/lib + + +} + +PACKAGES = "" +PACKAGES += "hwdata" + +hwdata_files = "" +hwdata_files += "hwdata.manifest" +hwdata_files += "/etc/modprobe.d/blacklist.conf" +hwdata_files += "/usr/share/hwdata" +hwdata_files += "/usr/share/hwdata/*" + +FILES_${PN} = "${hwdata_files}" + +PKG_hwdata= "hwdata" + +require hwdata-extraconf.inc diff --git a/meta-tizen/recipes-tizen/hwdata/hwdata_git.bb b/meta-tizen/recipes-tizen/hwdata/hwdata_git.bb new file mode 100644 index 0000000..9dee2e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/hwdata/hwdata_git.bb @@ -0,0 +1,8 @@ +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/hwdata;protocol=ssh;tag=25a3c12cf379105ca90f836ec9eda4a9d5eac3b2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul-extraconf.inc b/meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul.inc b/meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul.inc new file mode 100644 index 0000000..7d1c34b --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus-hangul/ibus-hangul.inc @@ -0,0 +1,34 @@ +DESCRIPTION = "The Hangul engine for IBus input platform" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Libraries" +LICENSE = "GPLv2+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "ibus-hangul" + +ibus-hangul_files = "" +ibus-hangul_files += "ibus-hangul.manifest" +ibus-hangul_files += "AUTHORS COPYING README" +ibus-hangul_files += "/usr/libexec/ibus-engine-hangul" +ibus-hangul_files += "/usr/libexec/ibus-setup-hangul" +ibus-hangul_files += "/usr/share/ibus-hangul" +ibus-hangul_files += "/usr/share/ibus/component/*" +ibus-hangul_files += "/usr/lib/ibus-hangul/setup/*" +ibus-hangul_files += "/usr/share/applications/ibus-setup-hangul.desktop" +ibus-hangul_files += "/usr/share/icons/hicolor/*/apps/*" + +FILES_${PN} = "${ibus-hangul_files}" + +PKG_ibus-hangul= "ibus-hangul" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require ibus-hangul-rdepends.inc +require ibus-hangul-depends.inc +require ibus-hangul-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-extraconf.inc b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-native_git.bb b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-native_git.bb new file mode 100644 index 0000000..55196b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin-native_git.bb @@ -0,0 +1,12 @@ +require ibus-libpinyin.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus-libpinyin;protocol=ssh;tag=688886f093b5f0c7df174b8734b8b2dc43cc4815;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin.inc b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin.inc new file mode 100644 index 0000000..848711b --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "Intelligent Pinyin engine based on libpinyin for IBus" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ibus-libpinyin +PROVIDES += "ibus-libpinyin" +RPROVIDES_ibus-libpinyin += "ibus-libpinyin" + +RDEPENDS = "" +#RDEPENDS of ibus-libpinyin (${PN}) +RDEPENDS_${PN} += "libpinyin" +RDEPENDS_${PN} += "ibus" + + +DEPENDS = "" +#DEPENDS of ibus-libpinyin +DEPENDS += "lua-devel" +DEPENDS += "intltool-native" +DEPENDS += "sqlite-devel" +DEPENDS += "pkgconfig-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "ibus" +DEPENDS += "libtool-cross" +DEPENDS += "libpinyin-devel" +DEPENDS += "libuuid-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ibus-libpinyin.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --disable-boost + + # make -C po update-gmo + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + make DESTDIR=${RPM_BUILD_ROOT} install + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} ibus-libpinyin + + +} + +PACKAGES = "" +PACKAGES += "ibus-libpinyin" + +ibus-libpinyin_files = "" +ibus-libpinyin_files += "ibus-libpinyin.manifest" +ibus-libpinyin_files += "AUTHORS COPYING README" +ibus-libpinyin_files += "/usr/share/applications/*.desktop" +ibus-libpinyin_files += "/usr/libexec/ibus-engine-libpinyin" +ibus-libpinyin_files += "/usr/libexec/ibus-setup-libpinyin" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/phrases.txt" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/icons" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/setup" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/*.lua" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/db/*.db" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin" +ibus-libpinyin_files += "/usr/share/ibus-libpinyin/db" +ibus-libpinyin_files += "/usr/share/ibus/component/*" + +FILES_${PN} = "${ibus-libpinyin_files}" + +PKG_ibus-libpinyin= "ibus-libpinyin" + +require ibus-libpinyin-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin_git.bb b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin_git.bb new file mode 100644 index 0000000..93821f1 --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus-libpinyin/ibus-libpinyin_git.bb @@ -0,0 +1,8 @@ +require ibus-libpinyin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus-libpinyin;protocol=ssh;tag=688886f093b5f0c7df174b8734b8b2dc43cc4815;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc b/meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ibus/ibus-native_git.bb b/meta-tizen/recipes-tizen/ibus/ibus-native_git.bb new file mode 100644 index 0000000..789b18e --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus-native_git.bb @@ -0,0 +1,12 @@ +require ibus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus;protocol=ssh;tag=4042ff31e9aa25da3f6f606baea2f51fc608c1ee;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ibus/ibus.inc b/meta-tizen/recipes-tizen/ibus/ibus.inc new file mode 100644 index 0000000..09a5a6f --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus.inc @@ -0,0 +1,198 @@ +DESCRIPTION = "Intelligent Input Bus for Linux OS" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ibus-devel +PROVIDES += "ibus-devel" +RPROVIDES_ibus-devel += "ibus-devel" +RPROVIDES_ibus-devel += "ibus-dev" + +#PROVIDES by ibus-libs +PROVIDES += "ibus-libs" +RPROVIDES_ibus-libs += "ibus-libs" + +#PROVIDES by ibus +PROVIDES += "ibus" +RPROVIDES_ibus += "ibus" + +#PROVIDES by ibus-devel-docs +PROVIDES += "ibus-devel-docs" +RPROVIDES_ibus-devel-docs += "ibus-devel-docs" +RPROVIDES_ibus-devel-docs += "ibus-dev" + +RDEPENDS = "" +#RDEPENDS of ibus-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ibus-libs" +RDEPENDS_${PN}-devel += "glib2-dev" +RDEPENDS_${PN}-devel += "ibus" +RDEPENDS_${PN}-devel += "dbus-dev" + +#RDEPENDS of ibus-libs (${PN}-libs) +RDEPENDS_${PN}-libs += "dbus" + +#RDEPENDS of ibus (${PN}) +RDEPENDS_${PN} += "pygobject" +RDEPENDS_${PN} += "ibus-libs" +RDEPENDS_${PN} += "dbus-python" +RDEPENDS_${PN} += "iso-codes" + +#RDEPENDS of ibus-devel-docs (${PN}-devel-docs) +RDEPENDS_${PN}-devel-docs += "ibus" +RDEPENDS_${PN}-devel-docs += "gtk-doc" + + +DEPENDS = "" +#DEPENDS of ibus +DEPENDS += "gobject-introspection" +DEPENDS += "intltool-native" +DEPENDS += "iso-codes-devel" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "python-devel" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pygobject-devel" +DEPENDS += "libtool-cross" +DEPENDS += "dbus-python" +DEPENDS += "pkgconfig(xkbcommon)" +DEPENDS += "vala" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ibus.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + OPTIONS="--disable-static \ + --disable-tests \ + --disable-gtk2 \ + --disable-gtk3 \ + --disable-xim \ + --enable-wayland \ + --disable-vala \ + --disable-gtk-doc \ + --disable-gconf \ + --disable-setup \ + --disable-dconf \ + --enable-python-library \ + --disable-ui \ + --disable-libnotify \ + --enable-introspection" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info $OPTIONS + + # make -C po update-gmo + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + make DESTDIR=$RPM_BUILD_ROOT install + rm -f $RPM_BUILD_ROOT/usr/lib/libibus-1.0.la + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} ibus10 + + +} + +PACKAGES = "" +PACKAGES += "ibus-devel" +PACKAGES += "ibus-libs" +PACKAGES += "ibus" +PACKAGES += "ibus-devel-docs" + +ibus-devel_files = "" +ibus-devel_files += "ibus.manifest" +ibus-devel_files += "/usr/lib/lib*.so" +ibus-devel_files += "/usr/lib/pkgconfig/*" +ibus-devel_files += "/usr/include/*" +ibus-devel_files += "/usr/share/gir-1.0/IBus-1.0.gir" + +ibus-libs_files = "" +ibus-libs_files += "ibus.manifest" +ibus-libs_files += "/usr/lib/libibus-1.0.so.*" +ibus-libs_files += "/usr/lib/girepository-1.0/IBus-1.0.typelib" + +ibus_files = "" +ibus_files += "ibus.manifest" +ibus_files += "AUTHORS COPYING README" +ibus_files += "/usr/lib/python2.7/site-packages/ibus" +ibus_files += "/usr/lib/python2.7/site-packages/ibus/*" +ibus_files += "/usr/share/ibus/" +ibus_files += "/usr/bin/ibus" +ibus_files += "/usr/bin/ibus-daemon" +ibus_files += "/usr/share/ibus/keymaps/*" +ibus_files += "/usr/share/icons/hicolor/*/apps/*" +ibus_files += "/usr/libexec/*" +ibus_files += "/usr/share/ibus/component/simple.xml" +ibus_files += "/usr/share/bash-completion/completions/ibus.bash" +ibus_files += "/usr/share/man/man1/*" + +ibus-devel-docs_files = "" +ibus-devel-docs_files += "/usr/share/info" +ibus-devel-docs_files += "/usr/share/man" +ibus-devel-docs_files += "/usr/share/gtk-doc/html/*" + +FILES_${PN}-devel = "${ibus-devel_files}" +FILES_${PN}-libs = "${ibus-libs_files}" +FILES_${PN} = "${ibus_files}" +FILES_${PN}-devel-docs = "${ibus-devel-docs_files}" + +PKG_ibus-devel= "ibus-devel" +PKG_ibus-libs= "ibus-libs" +PKG_ibus= "ibus" +PKG_ibus-devel-docs= "ibus-devel-docs" + +require ibus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ibus/ibus_git.bb b/meta-tizen/recipes-tizen/ibus/ibus_git.bb new file mode 100644 index 0000000..af7eab2 --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus_git.bb @@ -0,0 +1,8 @@ +require ibus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus;protocol=ssh;tag=4042ff31e9aa25da3f6f606baea2f51fc608c1ee;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/icecream/icecream-extraconf.inc b/meta-tizen/recipes-tizen/icecream/icecream-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/icecream/icecream-native_git.bb b/meta-tizen/recipes-tizen/icecream/icecream-native_git.bb new file mode 100644 index 0000000..ec633b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/icecream/icecream-native_git.bb @@ -0,0 +1,12 @@ +require icecream.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/icecream;protocol=ssh;tag=f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/icecream/icecream.inc b/meta-tizen/recipes-tizen/icecream/icecream.inc new file mode 100644 index 0000000..843b8d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/icecream/icecream.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "For Distributed Compile in the Network" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools/Building" +LICENSE = "GPLv2+ LGPLv2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libicecream-devel +PROVIDES += "libicecream-devel" +RPROVIDES_libicecream-devel += "libicecream-devel" +RPROVIDES_libicecream-devel += "libicecream-dev" + +#PROVIDES by icecream +PROVIDES += "icecream" +RPROVIDES_icecream += "icecream" + +RDEPENDS = "" +#RDEPENDS of libicecream-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libstdc++-dev" + +#RDEPENDS of icecream (${PN}) +RDEPENDS_${PN} += "/usr/bin/bzip2" +RDEPENDS_${PN} += "gcc-c++" +RDEPENDS_${PN} += "/bin/tar" + + +DEPENDS = "" +#DEPENDS of icecream +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n icecc-0.9.7 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS" + export CXXFLAGS="$RPM_OPT_FLAGS" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j 16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install + mkdir -p $RPM_BUILD_ROOT/opt/icecream/bin + for i in g++ gcc cc c++; do + ln -s /usr/bin/icecc $RPM_BUILD_ROOT/opt/icecream/bin/$i + rm -f $RPM_BUILD_ROOT/usr/bin/$i + done + # + # Install icecream init script + mkdir -p $RPM_BUILD_ROOT/etc/init.d/ + install -m 755 suse/init.icecream $RPM_BUILD_ROOT/etc/init.d/icecream + ln -sf /etc/init.d/icecream $RPM_BUILD_ROOT/usr/sbin/rcicecream + mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates + install -m 644 suse/sysconfig.icecream $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.icecream + mkdir -p $RPM_BUILD_ROOT/var/cache/icecream + mkdir -p $RPM_BUILD_ROOT/usr/share/man/man{1,7} + for i in mans/*.1 mans/*.7; do + install -m 644 $i $RPM_BUILD_ROOT/usr/share/man/man`echo $i | sed -e 's,.*\(.\)$,\1,'`/`basename $i` + done + install -m 644 -D suse/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/icecream + + +} + +PACKAGES = "" +PACKAGES += "libicecream-devel" +PACKAGES += "icecream" + +libicecream-devel_files = "" +libicecream-devel_files += "/usr/include/icecc" +libicecream-devel_files += "/usr/lib/libicecc.*" +libicecream-devel_files += "/usr/lib/pkgconfig/icecc.pc" + +icecream_files = "" +icecream_files += "/etc/logrotate.d/icecream" +icecream_files += "/etc/init.d/icecream" +icecream_files += "/usr/bin/icecc" +icecream_files += "/usr/bin/icerun" +icecream_files += "/usr/sbin/scheduler" +icecream_files += "/usr/lib/icecc" +icecream_files += "/usr/sbin/iceccd" +icecream_files += "/usr/sbin/rcicecream" +icecream_files += "/usr/share/man/man*/*" +icecream_files += "/opt/icecream" +icecream_files += "/var/adm/fillup-templates/sysconfig.icecream" + +FILES_lib${PN}-devel = "${libicecream-devel_files}" +FILES_${PN} = "${icecream_files}" + +PKG_libicecream-devel= "libicecream-devel" +PKG_icecream= "icecream" + +require icecream-extraconf.inc diff --git a/meta-tizen/recipes-tizen/icecream/icecream_git.bb b/meta-tizen/recipes-tizen/icecream/icecream_git.bb new file mode 100644 index 0000000..596bbe5 --- /dev/null +++ b/meta-tizen/recipes-tizen/icecream/icecream_git.bb @@ -0,0 +1,8 @@ +require icecream.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/icecream;protocol=ssh;tag=f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/icu/icu-extraconf.inc b/meta-tizen/recipes-tizen/icu/icu-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/icu/icu-native_git.bb b/meta-tizen/recipes-tizen/icu/icu-native_git.bb new file mode 100644 index 0000000..49472d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/icu/icu-native_git.bb @@ -0,0 +1,12 @@ +require icu.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/icu;protocol=ssh;tag=9e09552e2a134315a28da632c56531afa9a2b3ae;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/icu/icu.inc b/meta-tizen/recipes-tizen/icu/icu.inc new file mode 100644 index 0000000..0e9fe87 --- /dev/null +++ b/meta-tizen/recipes-tizen/icu/icu.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "International Components for Unicode" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "ICU" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libicu +PROVIDES += "libicu" +RPROVIDES_libicu += "libicu" + +#PROVIDES by libicu-devel +PROVIDES += "libicu-devel" +RPROVIDES_libicu-devel += "libicu-devel" +RPROVIDES_libicu-devel += "libicu-dev" + +#PROVIDES by icu +PROVIDES += "icu" +RPROVIDES_icu += "icu" + +RDEPENDS = "" +#RDEPENDS of libicu-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libicu" +RDEPENDS_lib${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of icu +DEPENDS += "autoconf-native" +DEPENDS += "doxygen" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n icu + cp ${S}/packaging/icu.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd source + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --disable-renaming \ + --enable-shared \ + --disable-samples + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd source + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # bugs of rpmdeps + chmod +x ${D}//usr/lib/lib*.so.* + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/icu + rm -rf ${D}/usr/share/doc/icu-4.8.1.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libicu" +PACKAGES += "libicu-devel" +PACKAGES += "icu" + +libicu_files = "" +libicu_files += "icu.manifest" +libicu_files += "/usr/lib/*.so*" +libicu_files += "/usr/bin/derb" +libicu_files += "/usr/bin/genbrk" +libicu_files += "/usr/bin/gencfu" +libicu_files += "/usr/bin/gencnval" +libicu_files += "/usr/bin/genctd" +libicu_files += "/usr/bin/genrb" +libicu_files += "/usr/bin/makeconv" +libicu_files += "/usr/bin/pkgdata" +libicu_files += "/usr/bin/uconv" +libicu_files += "/usr/bin/icuinfo" +libicu_files += "/usr/bin/icu-config" +libicu_files += "/usr/sbin/*" +libicu_files += "/usr/share/icu/4.8.1.1" +libicu_files += "/usr/share/icu/4.8.1.1/config/mh-linux" +libicu_files += "/usr/share/icu/4.8.1.1/install-sh" +libicu_files += "/usr/share/icu/4.8.1.1/license.html" +libicu_files += "/usr/share/icu/4.8.1.1/mkinstalldirs" + +libicu-devel_files = "" +libicu-devel_files += "icu.manifest" +libicu-devel_files += "/usr/include/layout" +libicu-devel_files += "/usr/include/unicode" +libicu-devel_files += "/usr/lib/*.so" +libicu-devel_files += "/usr/lib/pkgconfig/icu-*.pc" +libicu-devel_files += "/usr/lib/icu" + +icu_files = "" +icu_files += "icu.manifest" + +FILES_lib${PN} = "${libicu_files}" +FILES_lib${PN}-devel = "${libicu-devel_files}" +FILES_${PN} = "${icu_files}" + +PKG_libicu= "libicu" +PKG_libicu-devel= "libicu-devel" +PKG_icu= "icu" + +require icu-extraconf.inc diff --git a/meta-tizen/recipes-tizen/icu/icu_git.bb b/meta-tizen/recipes-tizen/icu/icu_git.bb new file mode 100644 index 0000000..86ec8ee --- /dev/null +++ b/meta-tizen/recipes-tizen/icu/icu_git.bb @@ -0,0 +1,8 @@ +require icu.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/icu;protocol=ssh;tag=9e09552e2a134315a28da632c56531afa9a2b3ae;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/image-configurations/image-configurations-extraconf.inc b/meta-tizen/recipes-tizen/image-configurations/image-configurations-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/image-configurations/image-configurations.inc b/meta-tizen/recipes-tizen/image-configurations/image-configurations.inc new file mode 100644 index 0000000..c5c0f53 --- /dev/null +++ b/meta-tizen/recipes-tizen/image-configurations/image-configurations.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Create kickstart files for Tizen images" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "image-configurations" + +image-configurations_files = "" +image-configurations_files += "image-configurations.manifest" +image-configurations_files += "/usr/share/image-configurations/*.ks" +image-configurations_files += "/usr/share/image-configurations/image-configs.xml" + +FILES_${PN} = "${image-configurations_files}" + +PKG_image-configurations= "image-configurations" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require image-configurations-rdepends.inc +require image-configurations-depends.inc +require image-configurations-extraconf.inc diff --git a/meta-tizen/recipes-tizen/image-util/image-util-extraconf.inc b/meta-tizen/recipes-tizen/image-util/image-util-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/image-util/image-util-native_git.bb b/meta-tizen/recipes-tizen/image-util/image-util-native_git.bb new file mode 100644 index 0000000..387b39d --- /dev/null +++ b/meta-tizen/recipes-tizen/image-util/image-util-native_git.bb @@ -0,0 +1,12 @@ +require image-util.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/image-util;protocol=ssh;tag=432537b5920787bdf4290c5eb202e3a48e3f435b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/image-util/image-util.inc b/meta-tizen/recipes-tizen/image-util/image-util.inc new file mode 100644 index 0000000..fe9b32d --- /dev/null +++ b/meta-tizen/recipes-tizen/image-util/image-util.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "A Image Utility library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-image-util-devel +PROVIDES += "capi-media-image-util-devel" +RPROVIDES_capi-media-image-util-devel += "capi-media-image-util-devel" +RPROVIDES_capi-media-image-util-devel += "capi-media-image-util-dev" + +#PROVIDES by capi-media-image-util +PROVIDES += "capi-media-image-util" +RPROVIDES_capi-media-image-util += "capi-media-image-util" + +RDEPENDS = "" +#RDEPENDS of capi-media-image-util-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-image-util" +RDEPENDS_capi-media-${PN}-devel += "pkgconfig(capi-base-common)" +RDEPENDS_capi-media-${PN}-devel += "pkgconfig(mmutil-imgp)" +RDEPENDS_capi-media-${PN}-devel += "pkgconfig(mmutil-jpeg)" +RDEPENDS_capi-media-${PN}-devel += "pkgconfig(mm-common)" +RDEPENDS_capi-media-${PN}-devel += "pkgconfig(dlog)" + + +DEPENDS = "" +#DEPENDS of capi-media-image-util +DEPENDS += "cmake" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "dlog" +DEPENDS += "pkgconfig(mmutil-imgp)" +DEPENDS += "common" +DEPENDS += "pkgconfig(mmutil-jpeg)" +DEPENDS += "pkgconfig(mm-common)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-image-util.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-media-image-util-devel" +PACKAGES += "capi-media-image-util" + +capi-media-image-util-devel_files = "" +capi-media-image-util-devel_files += "capi-media-image-util.manifest" +capi-media-image-util-devel_files += "/usr/lib/lib*.so" +capi-media-image-util-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-image-util-devel_files += "/usr/include/media/*.h" + +capi-media-image-util_files = "" +capi-media-image-util_files += "capi-media-image-util.manifest" +capi-media-image-util_files += "capi-media-image-util.manifest" +capi-media-image-util_files += "/usr/lib/lib*.so.*" + +FILES_${PN}-devel = "${capi-media-image-util-devel_files}" +FILES_${PN} = "${capi-media-image-util_files}" + +PKG_capi-media-image-util-devel= "capi-media-image-util-devel" +PKG_capi-media-image-util= "capi-media-image-util" + +require image-util-extraconf.inc diff --git a/meta-tizen/recipes-tizen/image-util/image-util_git.bb b/meta-tizen/recipes-tizen/image-util/image-util_git.bb new file mode 100644 index 0000000..83dd555 --- /dev/null +++ b/meta-tizen/recipes-tizen/image-util/image-util_git.bb @@ -0,0 +1,8 @@ +require image-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/image-util;protocol=ssh;tag=432537b5920787bdf4290c5eb202e3a48e3f435b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/image-viewer/image-viewer-extraconf.inc b/meta-tizen/recipes-tizen/image-viewer/image-viewer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/image-viewer/image-viewer.inc b/meta-tizen/recipes-tizen/image-viewer/image-viewer.inc new file mode 100644 index 0000000..e4a4cc6 --- /dev/null +++ b/meta-tizen/recipes-tizen/image-viewer/image-viewer.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Image Viewer Application v1.0" +HOMEPAGE = "http://nohomepage.org" +SECTION = "misc" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.image-viewer" + +org.tizen.image-viewer_files = "" +org.tizen.image-viewer_files += "org.tizen.image-viewer.manifest" +org.tizen.image-viewer_files += "org.tizen.image-viewer.manifest" +org.tizen.image-viewer_files += "/opt/etc/smack/accesses.d/org.tizen.image-viewer.rule" +org.tizen.image-viewer_files += "/usr/apps/org.tizen.image-viewer/*" +org.tizen.image-viewer_files += "/usr/share/icons/default/small/org.tizen.image-viewer.png" +org.tizen.image-viewer_files += "/usr/share/packages/org.tizen.image-viewer.xml" +org.tizen.image-viewer_files += "/usr/share/license/org.tizen.image-viewer" + +FILES_${PN} = "${org.tizen.image-viewer_files}" + +PKG_org.tizen.image-viewer= "org.tizen.image-viewer" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require image-viewer-rdepends.inc +require image-viewer-depends.inc +require image-viewer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/imake/imake-extraconf.inc b/meta-tizen/recipes-tizen/imake/imake-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/imake/imake-native_git.bb b/meta-tizen/recipes-tizen/imake/imake-native_git.bb new file mode 100644 index 0000000..eae32f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/imake/imake-native_git.bb @@ -0,0 +1,12 @@ +require imake.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/imake;protocol=ssh;tag=bfd0f368cc71b494078511644b838596eb00b5a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/imake/imake.inc b/meta-tizen/recipes-tizen/imake/imake.inc new file mode 100644 index 0000000..04d508d --- /dev/null +++ b/meta-tizen/recipes-tizen/imake/imake.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "C preprocessor interface to the make utility" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Tools/Building" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by imake-docs +PROVIDES += "imake-docs " +RPROVIDES_imake-docs += "imake-docs " + +#PROVIDES by imake +PROVIDES += "imake" +RPROVIDES_imake += "imake" + +RDEPENDS = "" +#RDEPENDS of imake (${PN}) +RDEPENDS_${PN} += "xorg-cf-files" + + +DEPENDS = "" +#DEPENDS of imake +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/imake.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-config-dir=/usr/share/X11/config + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "imake-docs" +PACKAGES += "imake" + +imake-docs_files = "" +imake-docs_files += "/usr/share/info" +imake-docs_files += "/usr/share/man" + +imake_files = "" +imake_files += "imake.manifest" +imake_files += "COPYING README" +imake_files += "/usr/bin/ccmakedep" +imake_files += "/usr/bin/cleanlinks" +imake_files += "/usr/bin/imake" +imake_files += "/usr/bin/makeg" +imake_files += "/usr/bin/mergelib" +imake_files += "/usr/bin/mkdirhier" +imake_files += "/usr/bin/mkhtmlindex" +imake_files += "/usr/bin/revpath" +imake_files += "/usr/bin/xmkmf" + +FILES_${PN}-docs = "${imake-docs_files}" +FILES_${PN} = "${imake_files}" + +PKG_imake-docs= "imake-docs" +PKG_imake= "imake" + +require imake-extraconf.inc diff --git a/meta-tizen/recipes-tizen/imake/imake_git.bb b/meta-tizen/recipes-tizen/imake/imake_git.bb new file mode 100644 index 0000000..f2d377a --- /dev/null +++ b/meta-tizen/recipes-tizen/imake/imake_git.bb @@ -0,0 +1,8 @@ +require imake.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/imake;protocol=ssh;tag=bfd0f368cc71b494078511644b838596eb00b5a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/iniparser/iniparser-extraconf.inc b/meta-tizen/recipes-tizen/iniparser/iniparser-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/iniparser/iniparser-native_git.bb b/meta-tizen/recipes-tizen/iniparser/iniparser-native_git.bb new file mode 100644 index 0000000..ad3cf94 --- /dev/null +++ b/meta-tizen/recipes-tizen/iniparser/iniparser-native_git.bb @@ -0,0 +1,12 @@ +require iniparser.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/iniparser;protocol=ssh;tag=42358b2425b18976b324e773bd780342f6f57fcd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/iniparser/iniparser.inc b/meta-tizen/recipes-tizen/iniparser/iniparser.inc new file mode 100644 index 0000000..2d1ae98 --- /dev/null +++ b/meta-tizen/recipes-tizen/iniparser/iniparser.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Stand-alone ini file parsing library" +HOMEPAGE = "http://ndevilla.free.fr/iniparser/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by iniparser-devel +PROVIDES += "iniparser-devel" +RPROVIDES_iniparser-devel += "iniparser-devel" +RPROVIDES_iniparser-devel += "iniparser-dev" + +#PROVIDES by iniparser +PROVIDES += "iniparser" +RPROVIDES_iniparser += "iniparser" + +RDEPENDS = "" +#RDEPENDS of iniparser-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "iniparser" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/iniparser.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make prefix=/usr -j16 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}//usr/lib + install -m 755 libiniparser.so.0 ${D}//usr/lib + ln -s libiniparser.so.0 ${D}//usr/lib/libiniparser.so + mkdir -p ${D}//usr/include + install -m 644 src/*.h ${D}//usr/include + install -m 644 src/*.h ${D}//usr/include + mkdir -p ${D}//usr/lib/pkgconfig + cat > ${D}//usr/lib/pkgconfig/iniparser.pc </dev/null + ln -s ../../iso-ent/ISOamsa Added_Math_Symbols:_Arrow_Relations + ln -s ../../iso-ent/ISOamsb Added_Math_Symbols:_Binary_Operators + ln -s ../../iso-ent/ISOamsc Added_Math_Symbols:_Delimiters + ln -s ../../iso-ent/ISOamsn Added_Math_Symbols:_Negated_Relations + ln -s ../../iso-ent/ISOamso Added_Math_Symbols:_Ordinary + ln -s ../../iso-ent/ISOamsr Added_Math_Symbols:_Relations + ln -s ../../iso-ent/ISObox Box_and_Line_Drawing + ln -s ../../iso-ent/ISOcyr1 Russian_Cyrillic + ln -s ../../iso-ent/ISOcyr2 Non-Russian_Cyrillic + ln -s ../../iso-ent/ISOdia Diacritical_Marks + ln -s ../../iso-ent/ISOgrk1 Greek_Letters + ln -s ../../iso-ent/ISOgrk2 Monotoniko_Greek + ln -s ../../iso-ent/ISOgrk3 Greek_Symbols + ln -s ../../iso-ent/ISOgrk4 Alternative_Greek_Symbols + ln -s ../../iso-ent/ISOlat1 Added_Latin_1 + ln -s ../../iso-ent/ISOlat2 Added_Latin_2 + ln -s ../../iso-ent/ISOnum Numeric_and_Special_Graphic + ln -s ../../iso-ent/ISOpub Publishing + ln -s ../../iso-ent/ISOtech General_Technical + popd + pushd $RPM_BUILD_ROOT/usr/share/sgml + rm -f ISO_9573-15-1993 + ln -s ISO_9573-15:1993 ISO_9573-15-1993 + popd + pushd $RPM_BUILD_ROOT/usr/share/sgml/ISO_9573-15:1993/entities + rm -f * 2>/dev/null + ln -s ../../iso-ent/ISOgrk5 Extra_Classical_Greek_Letters + popd + + +} + +PACKAGES = "" +PACKAGES += "iso_ent" + +iso_ent_files = "" +iso_ent_files += "iso_ent.manifest" +iso_ent_files += "/var/lib/sgml/CATALOG.iso_ent" +iso_ent_files += "/usr/share/sgml/CATALOG.iso_ent" +iso_ent_files += "/usr/share/sgml/iso-ent" +iso_ent_files += "/usr/share/sgml/ISO_8879-1986" +iso_ent_files += "/usr/share/sgml/ISO_8879:1986" +iso_ent_files += "/usr/share/sgml/ISO_9573-15:1993" +iso_ent_files += "/usr/share/sgml/ISO_9573-15-1993" + +FILES_${PN} = "${iso_ent_files}" + +PKG_iso_ent= "iso_ent" + +require iso-ent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/iso-ent/iso-ent_git.bb b/meta-tizen/recipes-tizen/iso-ent/iso-ent_git.bb new file mode 100644 index 0000000..1125f12 --- /dev/null +++ b/meta-tizen/recipes-tizen/iso-ent/iso-ent_git.bb @@ -0,0 +1,8 @@ +require iso-ent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/iso_ent;protocol=ssh;tag=40109c53959c87ebd0d1be7859080468e655c204;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/jasper/jasper-extraconf.inc b/meta-tizen/recipes-tizen/jasper/jasper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/jasper/jasper-native_git.bb b/meta-tizen/recipes-tizen/jasper/jasper-native_git.bb new file mode 100644 index 0000000..7623a08 --- /dev/null +++ b/meta-tizen/recipes-tizen/jasper/jasper-native_git.bb @@ -0,0 +1,12 @@ +require jasper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/jasper;protocol=ssh;tag=59b126c0d3c1e35645a26e686d4d61a9c8987b2f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/jasper/jasper.inc b/meta-tizen/recipes-tizen/jasper/jasper.inc new file mode 100644 index 0000000..09013d2 --- /dev/null +++ b/meta-tizen/recipes-tizen/jasper/jasper.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "An Implementation of the JPEG-2000 Standard, Part 1" +HOMEPAGE = "http://www.ece.uvic.ca/~mdadams/jasper/" +SECTION = "Productivity/Graphics/Convertors" +LICENSE = "SUSE-Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libjasper-devel +PROVIDES += "libjasper-devel" +RPROVIDES_libjasper-devel += "libjasper-devel" +RPROVIDES_libjasper-devel += "libjasper-dev" + +#PROVIDES by jasper-docs +PROVIDES += "jasper-docs " +RPROVIDES_jasper-docs += "jasper-docs " + +#PROVIDES by jasper +PROVIDES += "jasper" +RPROVIDES_jasper += "jasper" + +#PROVIDES by libjasper +PROVIDES += "libjasper" +RPROVIDES_libjasper += "libjasper" + +RDEPENDS = "" +#RDEPENDS of libjasper-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libjpeg-dev" +RDEPENDS_lib${PN}-devel += "libjasper" + + +DEPENDS = "" +#DEPENDS of jasper +DEPENDS += "gcc-cross" +DEPENDS += "libtool-cross" +DEPENDS += "libdrm-devel" +DEPENDS += "libjpeg-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/jasper.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -i -f + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr --enable-shared --disable-static --libdir=/usr/lib + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm ${D}/usr/bin/tmrdemo + # compatibility link, there was no interface change + ln -s libjasper.so.1.0.0 ${D}/usr/lib/libjasper-1.701.so.1 + + +} + +PACKAGES = "" +PACKAGES += "libjasper-devel" +PACKAGES += "jasper-docs" +PACKAGES += "jasper" +PACKAGES += "libjasper" + +libjasper-devel_files = "" +libjasper-devel_files += "jasper.manifest" +libjasper-devel_files += "/usr/include/jasper" +libjasper-devel_files += "/usr/lib/libjasper.so" + +jasper-docs_files = "" +jasper-docs_files += "/usr/share/info" +jasper-docs_files += "/usr/share/man" + +jasper_files = "" +jasper_files += "jasper.manifest" +jasper_files += "COPYRIGHT" +jasper_files += "/usr/bin/imgcmp" +jasper_files += "/usr/bin/imginfo" +jasper_files += "/usr/bin/jasper" + +libjasper_files = "" +libjasper_files += "jasper.manifest" +libjasper_files += "/usr/lib/libjasper*.so.*" + +FILES_lib${PN}-devel = "${libjasper-devel_files}" +FILES_${PN}-docs = "${jasper-docs_files}" +FILES_${PN} = "${jasper_files}" +FILES_lib${PN} = "${libjasper_files}" + +PKG_libjasper-devel= "libjasper-devel" +PKG_jasper-docs= "jasper-docs" +PKG_jasper= "jasper" +PKG_libjasper= "libjasper" + +require jasper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/jasper/jasper_git.bb b/meta-tizen/recipes-tizen/jasper/jasper_git.bb new file mode 100644 index 0000000..dbc8837 --- /dev/null +++ b/meta-tizen/recipes-tizen/jasper/jasper_git.bb @@ -0,0 +1,8 @@ +require jasper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/jasper;protocol=ssh;tag=59b126c0d3c1e35645a26e686d4d61a9c8987b2f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/js/js-extraconf.inc b/meta-tizen/recipes-tizen/js/js-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/js/js-native_git.bb b/meta-tizen/recipes-tizen/js/js-native_git.bb new file mode 100644 index 0000000..8f29151 --- /dev/null +++ b/meta-tizen/recipes-tizen/js/js-native_git.bb @@ -0,0 +1,12 @@ +require js.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/js;protocol=ssh;tag=51aad82a2b47cf252946883bf0d04894b283a823;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/js/js.inc b/meta-tizen/recipes-tizen/js/js.inc new file mode 100644 index 0000000..f6a71b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/js/js.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "JavaScript interpreter" +HOMEPAGE = "http://www.mozilla.org/js/" +SECTION = "Development/Languages/Other" +LICENSE = "MPL-1.1 or GPL-2.0+ or LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmozjs185 +PROVIDES += "libmozjs185" +RPROVIDES_libmozjs185 += "libmozjs185" + +#PROVIDES by js-devel +PROVIDES += "js-devel" +RPROVIDES_js-devel += "js-devel" +RPROVIDES_js-devel += "js-dev" +# the PROVIDES rules is ignore "libjs-devel = 1.0.0-0" +PROVIDES += "libjs-devel" +RPROVIDES_js-devel += "libjs-devel" +RPROVIDES_js-devel += "libjs-dev" +# the PROVIDES rules is ignore "mozjs185-devel " +PROVIDES += "mozjs185-devel" +RPROVIDES_js-devel += "mozjs185-devel" +RPROVIDES_js-devel += "mozjs185-dev" + +#PROVIDES by js +PROVIDES += "js" +RPROVIDES_js += "js" +# the PROVIDES rules is ignore "mozjs185 " +PROVIDES += "mozjs185" +RPROVIDES_js += "mozjs185" + +RDEPENDS = "" +#RDEPENDS of js-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig" +RDEPENDS_${PN}-devel += "libmozjs185" + + +DEPENDS = "" +#DEPENDS of js +DEPENDS += "gcc-cross" +DEPENDS += "zip" +DEPENDS += "autoconf213" +DEPENDS += "pkgconfig-native" +inherit pythonnative +DEPENDS += "nspr-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n js-1.0.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export MOZILLA_VERSION=1.0.0 + cd js + pushd src + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-system-nspr --enable-threadsafe + popd + export BUILD_OPT=1 + oe_runmake -j16 -C src \ + JS_THREADSAFE="1" \ + XCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC " \ + BUILD_OPT="1" \ + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd js/src + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /bin/rm -rf ${D}/usr/lib/libmozjs185-1.0.a + # SO links are created wrong, fixing them + /bin/rm -rf ${D}/usr/lib/libmozjs185.so.1.0 + /bin/rm -rf ${D}/usr/lib/libmozjs185.so + ln -s libmozjs185.so.1.0.0 ${D}/usr/lib/libmozjs185.so.1.0 + ln -s libmozjs185.so.1.0.0 ${D}/usr/lib/libmozjs185.so + # JS shell + /bin/install -m 0755 shell/js ${D}/usr/bin/ + # headers are installed with executable permissions + chmod 644 ${D}/usr/include/js/* + + +} + +PACKAGES = "" +PACKAGES += "js" +PACKAGES += "js-devel" +PACKAGES += "libmozjs185" + +js_files = "" +js_files += "js/src/README.html" +js_files += "/usr/bin/js" + +js-devel_files = "" +js-devel_files += "/usr/bin/js-config" +js-devel_files += "/usr/lib/pkgconfig/*.pc" +js-devel_files += "/usr/lib/*.so" +js-devel_files += "/usr/include/js/" + +libmozjs185_files = "" +libmozjs185_files += "/usr/lib/*.so.*" + +FILES_${PN} = "${js_files}" +FILES_${PN}-devel = "${js-devel_files}" +FILES_libmoz${PN}185 = "${libmozjs185_files}" + +PKG_js= "js" +PKG_js-devel= "js-devel" +PKG_libmozjs185= "libmozjs185" + +require js-extraconf.inc diff --git a/meta-tizen/recipes-tizen/js/js_git.bb b/meta-tizen/recipes-tizen/js/js_git.bb new file mode 100644 index 0000000..326fde6 --- /dev/null +++ b/meta-tizen/recipes-tizen/js/js_git.bb @@ -0,0 +1,8 @@ +require js.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/js;protocol=ssh;tag=51aad82a2b47cf252946883bf0d04894b283a823;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/json-c/json-c-extraconf.inc b/meta-tizen/recipes-tizen/json-c/json-c-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/json-c/json-c-native_git.bb b/meta-tizen/recipes-tizen/json-c/json-c-native_git.bb new file mode 100644 index 0000000..aa33dca --- /dev/null +++ b/meta-tizen/recipes-tizen/json-c/json-c-native_git.bb @@ -0,0 +1,12 @@ +require json-c.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/json-c;protocol=ssh;tag=c76aaf4b022ce447dfe1cc6424141dd9cd2d9c17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/json-c/json-c.inc b/meta-tizen/recipes-tizen/json-c/json-c.inc new file mode 100644 index 0000000..c11b829 --- /dev/null +++ b/meta-tizen/recipes-tizen/json-c/json-c.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "JSON implementation in C" +HOMEPAGE = "http://oss.metaparadigm.com/json-c" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by json-c +PROVIDES += "json-c" +RPROVIDES_json-c += "json-c" + +#PROVIDES by libjson +PROVIDES += "libjson" +RPROVIDES_libjson += "libjson" + +#PROVIDES by libjson-devel +PROVIDES += "libjson-devel" +RPROVIDES_libjson-devel += "libjson-devel" +RPROVIDES_libjson-devel += "libjson-dev" + +RDEPENDS = "" +#RDEPENDS of libjson-devel (libjson-devel) +RDEPENDS_libjson-devel += "libjson" + + +DEPENDS = "" +#DEPENDS of json-c +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/json-c.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + exit 0 + make -j16 check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libjson" +PACKAGES += "libjson-devel" + +libjson_files = "" +libjson_files += "json-c.manifest" +libjson_files += "/usr/lib/libjson.so.*" + +libjson-devel_files = "" +libjson-devel_files += "json-c.manifest" +libjson-devel_files += "/usr/lib/libjson.so" +libjson-devel_files += "/usr/include/json" +libjson-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_libjson = "${libjson_files}" +FILES_libjson-devel = "${libjson-devel_files}" + +PKG_libjson= "libjson" +PKG_libjson-devel= "libjson-devel" + +require json-c-extraconf.inc diff --git a/meta-tizen/recipes-tizen/json-c/json-c_git.bb b/meta-tizen/recipes-tizen/json-c/json-c_git.bb new file mode 100644 index 0000000..16bd06e --- /dev/null +++ b/meta-tizen/recipes-tizen/json-c/json-c_git.bb @@ -0,0 +1,8 @@ +require json-c.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/json-c;protocol=ssh;tag=c76aaf4b022ce447dfe1cc6424141dd9cd2d9c17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/json-glib/json-glib-extraconf.inc b/meta-tizen/recipes-tizen/json-glib/json-glib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/json-glib/json-glib-native_git.bb b/meta-tizen/recipes-tizen/json-glib/json-glib-native_git.bb new file mode 100644 index 0000000..03bb8a5 --- /dev/null +++ b/meta-tizen/recipes-tizen/json-glib/json-glib-native_git.bb @@ -0,0 +1,12 @@ +require json-glib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/json-glib;protocol=ssh;tag=da80e8a48ecd0ab5580b895a29dff889b87090a8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/json-glib/json-glib.inc b/meta-tizen/recipes-tizen/json-glib/json-glib.inc new file mode 100644 index 0000000..ee0c774 --- /dev/null +++ b/meta-tizen/recipes-tizen/json-glib/json-glib.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "Library for JavaScript Object Notation format" +HOMEPAGE = "http://live.gnome.org/JsonGlib" +SECTION = "Development/Libraries/C and C++" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libjson-glib +PROVIDES += "libjson-glib" +RPROVIDES_libjson-glib += "libjson-glib" +# the PROVIDES rules is ignore "json-glib = 0.16.0" +PROVIDES += "json-glib" +RPROVIDES_libjson-glib += "json-glib" + +#PROVIDES by typelib-Json +PROVIDES += "typelib-Json" +RPROVIDES_typelib-Json += "typelib-Json" + +#PROVIDES by json-glib-devel +PROVIDES += "json-glib-devel" +RPROVIDES_json-glib-devel += "json-glib-devel" +RPROVIDES_json-glib-devel += "json-glib-dev" + +#PROVIDES by json-glib +PROVIDES += "json-glib" +RPROVIDES_json-glib += "json-glib" + +#PROVIDES by json-glib-locale +PROVIDES += "json-glib-locale" +RPROVIDES_json-glib-locale += "json-glib-locale" +# the PROVIDES rules is ignore "json-glib-lang-all = 0.16.0" +PROVIDES += "json-glib-lang-all" +RPROVIDES_json-glib-locale += "json-glib-lang-all" + +RDEPENDS = "" +#RDEPENDS of json-glib-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libjson-glib" + +#RDEPENDS of json-glib-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "json-glib" + + +DEPENDS = "" +#DEPENDS of json-glib +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/json-glib.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} json-glib-1.0 + + mv json-glib-1.0.lang json-glib.lang + + +} + +PACKAGES = "" +PACKAGES += "libjson-glib" +PACKAGES += "json-glib-devel" +PACKAGES += "json-glib-locale" + +libjson-glib_files = "" +libjson-glib_files += "json-glib.manifest" +libjson-glib_files += "/usr/lib/*.so.*" + +json-glib-devel_files = "" +json-glib-devel_files += "json-glib.manifest" +json-glib-devel_files += "/usr/include/json-glib-1.0" +json-glib-devel_files += "/usr/lib/*.so" +json-glib-devel_files += "/usr/lib/pkgconfig/*.pc" +json-glib-devel_files += "/usr/share/gtk-doc" +json-glib-devel_files += "/usr/share/gtk-doc/html" +json-glib-devel_files += "/usr/share/gtk-doc/html/json-glib" + +json-glib-locale_files = "" + +FILES_lib${PN} = "${libjson-glib_files}" +FILES_${PN}-devel = "${json-glib-devel_files}" +FILES_${PN}-locale = "${json-glib-locale_files}" + +PKG_libjson-glib= "libjson-glib" +PKG_json-glib-devel= "json-glib-devel" +PKG_json-glib-locale= "json-glib-locale" + +require json-glib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/json-glib/json-glib_git.bb b/meta-tizen/recipes-tizen/json-glib/json-glib_git.bb new file mode 100644 index 0000000..b2b55fa --- /dev/null +++ b/meta-tizen/recipes-tizen/json-glib/json-glib_git.bb @@ -0,0 +1,8 @@ +require json-glib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/json-glib;protocol=ssh;tag=da80e8a48ecd0ab5580b895a29dff889b87090a8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kbd/kbd-extraconf.inc b/meta-tizen/recipes-tizen/kbd/kbd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/kbd/kbd-native_git.bb b/meta-tizen/recipes-tizen/kbd/kbd-native_git.bb new file mode 100644 index 0000000..878a2a0 --- /dev/null +++ b/meta-tizen/recipes-tizen/kbd/kbd-native_git.bb @@ -0,0 +1,12 @@ +require kbd.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kbd;protocol=ssh;tag=6061c1d7ebaa7698f68cf3fd945b4073e54759a0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kbd/kbd.inc b/meta-tizen/recipes-tizen/kbd/kbd.inc new file mode 100644 index 0000000..bc8d473 --- /dev/null +++ b/meta-tizen/recipes-tizen/kbd/kbd.inc @@ -0,0 +1,192 @@ +DESCRIPTION = "Tools for configuring the console (keyboard, virtual terminals, etc" +HOMEPAGE = "http://ftp.altlinux.org/pub/people/legion/kbd" +SECTION = "Base/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by kbd-docs +PROVIDES += "kbd-docs " +RPROVIDES_kbd-docs += "kbd-docs " + +#PROVIDES by kbd-misc +PROVIDES += "kbd-misc" +RPROVIDES_kbd-misc += "kbd-misc" + +#PROVIDES by kbd +PROVIDES += "kbd" +RPROVIDES_kbd += "kbd" + +RDEPENDS = "" +#RDEPENDS of kbd (${PN}) +RDEPENDS_${PN} += "kbd-misc" + + +DEPENDS = "" +#DEPENDS of kbd +DEPENDS += "flex" +DEPENDS += "bison-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + #extracte source 2 + pushd ${S} + unp ${S}/packaging/kbd-latsun-fonts.tar.bz2 + popd + #extracte source 3 + pushd ${S} + unp ${S}/packaging/kbd-latarcyrheb-16-fixed.tar.bz2 + popd + #extracte source 4 + pushd ${S} + unp ${S}/packaging/fr-dvorak.tar.bz2 + popd + #extracte source 5 + pushd ${S} + unp ${S}/packaging/kbd-latarcyrheb-32.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -a 2 -a 3 -a 4 -a 5 + cp ${S}/packaging/kbd.manifest . + + # 7-bit maps are obsolete; so are non-euro maps + pushd data/keymaps/i386 + mv qwerty/fi.map qwerty/fi-old.map + cp qwerty/fi-latin9.map qwerty/fi.map + cp qwerty/pt-latin9.map qwerty/pt.map + cp qwerty/sv-latin1.map qwerty/se-latin1.map + + mv azerty/fr.map azerty/fr-old.map + cp azerty/fr-latin9.map azerty/fr.map + + cp azerty/fr-latin9.map azerty/fr-latin0.map # legacy alias + + # Rename conflicting keymaps + mv dvorak/no.map dvorak/no-dvorak.map + mv fgGIod/trf.map fgGIod/trf-fgGIod.map + mv olpc/es.map olpc/es-olpc.map + mv olpc/pt.map olpc/pt-olpc.map + mv qwerty/cz.map qwerty/cz-qwerty.map + popd + + # remove obsolete "gr" translation + pushd po + rm -f gr.po gr.gmo + popd + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr --datadir=/usr/lib/kbd --mandir=/usr/share/man --localedir=/usr/share/locale --disable-nls + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # ro_win.map.gz is useless + rm -f ${D}//usr/lib/kbd/keymaps/i386/qwerty/ro_win.map.gz + + # Create additional name for Serbian latin keyboard + ln -s sr-cy.map.gz ${D}//usr/lib/kbd/keymaps/i386/qwerty/sr-latin.map.gz + + # The rhpl keyboard layout table is indexed by kbd layout names, so we need a + # Korean keyboard + ln -s us.map.gz ${D}//usr/lib/kbd/keymaps/i386/qwerty/ko.map.gz + + # Some microoptimization + sed -i -e 's,\,/usr/bin/kbd_mode,g;s,\,/usr/bin/setfont,g' \ + ${D}//usr/bin/unicode_start + + # Link open to openvt + ln -s openvt ${D}/usr/bin/open + + ## Move locale files to correct place + #cp -r ${D}/lib/kbd/locale/ ${D}/usr/share/locale + #rm -rf ${D}/lib/kbd/locale + + + +} + +PACKAGES = "" +PACKAGES += "kbd-misc" +PACKAGES += "kbd-docs" +PACKAGES += "kbd" + +kbd-misc_files = "" +kbd-misc_files += "kbd.manifest" +kbd-misc_files += "/usr/lib/kbd" + +kbd-docs_files = "" +kbd-docs_files += "/usr/share/info" +kbd-docs_files += "/usr/share/man" + +kbd_files = "" +kbd_files += "kbd.manifest" +kbd_files += "/usr/bin/*" + +FILES_${PN}-misc = "${kbd-misc_files}" +FILES_${PN}-docs = "${kbd-docs_files}" +FILES_${PN} = "${kbd_files}" + +PKG_kbd-misc= "kbd-misc" +PKG_kbd-docs= "kbd-docs" +PKG_kbd= "kbd" + +require kbd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/kbd/kbd_git.bb b/meta-tizen/recipes-tizen/kbd/kbd_git.bb new file mode 100644 index 0000000..9bef57f --- /dev/null +++ b/meta-tizen/recipes-tizen/kbd/kbd_git.bb @@ -0,0 +1,8 @@ +require kbd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kbd;protocol=ssh;tag=6061c1d7ebaa7698f68cf3fd945b4073e54759a0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kbproto/kbproto-extraconf.inc b/meta-tizen/recipes-tizen/kbproto/kbproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/kbproto/kbproto-native_git.bb b/meta-tizen/recipes-tizen/kbproto/kbproto-native_git.bb new file mode 100644 index 0000000..bcfe0e1 --- /dev/null +++ b/meta-tizen/recipes-tizen/kbproto/kbproto-native_git.bb @@ -0,0 +1,12 @@ +require kbproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kbproto;protocol=ssh;tag=2d1c9b944736dbbbc22facdbc2886566369c490d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kbproto/kbproto.inc b/meta-tizen/recipes-tizen/kbproto/kbproto.inc new file mode 100644 index 0000000..249b188 --- /dev/null +++ b/meta-tizen/recipes-tizen/kbproto/kbproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by kbproto +PROVIDES += "kbproto" +RPROVIDES_kbproto += "kbproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of kbproto +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/kbproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/kbproto + rm -rf ${D}/usr/share/doc/kbproto-1.0.6 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "kbproto" + +kbproto_files = "" +kbproto_files += "kbproto.manifest" +kbproto_files += "/usr/include/X11/extensions/*.h" +kbproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${kbproto_files}" + +PKG_kbproto= "kbproto" + +require kbproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/kbproto/kbproto_git.bb b/meta-tizen/recipes-tizen/kbproto/kbproto_git.bb new file mode 100644 index 0000000..f9db7fd --- /dev/null +++ b/meta-tizen/recipes-tizen/kbproto/kbproto_git.bb @@ -0,0 +1,8 @@ +require kbproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kbproto;protocol=ssh;tag=2d1c9b944736dbbbc22facdbc2886566369c490d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kernel-generic/kernel-generic-extraconf.inc b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/kernel-generic/kernel-generic-native_git.bb b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic-native_git.bb new file mode 100644 index 0000000..860baf4 --- /dev/null +++ b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic-native_git.bb @@ -0,0 +1,12 @@ +require kernel-generic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/kernel/kernel-generic;protocol=ssh;tag=6cc2114127cb4780e36e951e10b987699be158a8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kernel-generic/kernel-generic.inc b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic.inc new file mode 100644 index 0000000..7d17471 --- /dev/null +++ b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic.inc @@ -0,0 +1,242 @@ +DESCRIPTION = "The Linux kernel" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Kernel" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by kernel-x86-generic +PROVIDES += "kernel-x86-generic" +RPROVIDES_kernel-x86-generic += "kernel-x86-generic" +# the PROVIDES rules is ignore "kernel = 3.12.4-1" +PROVIDES += "kernel" +RPROVIDES_kernel-x86-generic += "kernel" +# the PROVIDES rules is ignore "kernel-uname-r = 3.12.4-1-x86-generic" +PROVIDES += "kernel-uname-r" +RPROVIDES_kernel-x86-generic += "kernel-uname-r" + +#PROVIDES by perf +PROVIDES += "perf" +RPROVIDES_perf += "perf" +# the PROVIDES rules is ignore "perf = 3.12.4-1-x86-generic" +PROVIDES += "perf" +RPROVIDES_perf += "perf" + +#PROVIDES by kernel-x86-generic-devel +PROVIDES += "kernel-x86-generic-devel" +RPROVIDES_kernel-x86-generic-devel += "kernel-x86-generic-devel" +RPROVIDES_kernel-x86-generic-devel += "kernel-x86-generic-dev" +# the PROVIDES rules is ignore "kernel-devel = 3.12.4-1-x86-generic" +PROVIDES += "kernel-devel" +RPROVIDES_kernel-x86-generic-devel += "kernel-devel" +RPROVIDES_kernel-x86-generic-devel += "kernel-dev" +# the PROVIDES rules is ignore "kernel-devel-uname-r = 3.12.4-1-x86-generic" +PROVIDES += "kernel-devel-uname-r" +RPROVIDES_kernel-x86-generic-devel += "kernel-devel-uname-r" +RPROVIDES_kernel-x86-generic-devel += "kernel-dev" + +RDEPENDS = "" +#RDEPENDS of kernel-x86-generic (kernel-x86-generic) +RDEPENDS_kernel-x86-generic += "/usr/bin/ln" +RDEPENDS_kernel-x86-generic += "/usr/sbin/depmod" +RDEPENDS_kernel-x86-generic += "/usr/bin/kmod" +RDEPENDS_kernel-x86-generic += "/usr/bin/sort" +RDEPENDS_kernel-x86-generic += "/usr/bin/dracut" +RDEPENDS_kernel-x86-generic += "/usr/bin/sed" +RDEPENDS_kernel-x86-generic += "rpm" + +#RDEPENDS of perf (perf) +RDEPENDS_perf += "kernel-x86-generic" + +#RDEPENDS of kernel-x86-generic-devel (kernel-x86-generic-devel) +RDEPENDS_kernel-x86-generic-devel += "kernel-x86-generic" +RDEPENDS_kernel-x86-generic-devel += "/usr/bin/find" + + +DEPENDS = "" +#DEPENDS of kernel-x86-generic +DEPENDS += "flex" +DEPENDS += "net-tools" +DEPENDS += "bc" +DEPENDS += "elfutils" +DEPENDS += "python-devel" +DEPENDS += "module-init-tools" +DEPENDS += "findutils" +DEPENDS += "which" +DEPENDS += "bison-native" +DEPENDS += "binutils" + +do_patch() { + # Unpack the kernel tarbal + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n kernel-x86-generic-3.12.4 + + + + ### + ### BUILD + ### + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Make sure EXTRAVERSION says what we want it to say + sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -1-x86-generic/" Makefile + + # Build perf + make -s -C tools/lib/traceevent ARCH=x86_64 -j16 + make -s -C tools/perf WERROR=0 ARCH=x86_64 + + # Build kernel and modules + + make -s ARCH=x86_64 generic_x86_64_defconfig + + make -s ARCH=x86_64 -j16 bzImage + make -s ARCH=x86_64 -j16 modules + + + + ### + ### INSTALL + ### + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}/boot + + install -m 644 .config ${D}/boot/config-3.12.4-1-x86-generic + install -m 644 System.map ${D}/boot/System.map-3.12.4-1-x86-generic + install -m 755 arch/x86/boot/bzImage ${D}/boot/vmlinuz-3.12.4-1-x86-generic + # Dummy initrd, will not be included in the actual package but needed for files + touch ${D}/boot/initrd-3.12.4-1-x86-generic.img + + make -s ARCH=x86_64 INSTALL_MOD_PATH=${D} modules_install KERNELRELEASE=3.12.4-1-x86-generic + make -s ARCH=x86_64 INSTALL_MOD_PATH=${D} vdso_install KERNELRELEASE=3.12.4-1-x86-generic + rm -rf ${D}/lib/firmware + + # And save the headers/makefiles etc for building modules against + # + # This all looks scary, but the end result is supposed to be: + # * all arch relevant include/ files + # * all Makefile/Kconfig files + # * all script/ files + + # Remove existing build/source links and create pristine dirs + rm ${D}/lib/modules/3.12.4-1-x86-generic/build + rm ${D}/lib/modules/3.12.4-1-x86-generic/source + install -d ${D}/lib/modules/3.12.4-1-x86-generic/build + ln -s build ${D}/lib/modules/3.12.4-1-x86-generic/source + + # First, copy all dirs containing Makefile of Kconfig files + cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` ${D}/lib/modules/3.12.4-1-x86-generic/build + install Module.symvers ${D}/lib/modules/3.12.4-1-x86-generic/build/ + install System.map ${D}/lib/modules/3.12.4-1-x86-generic/build/ + + # Then, drop all but the needed Makefiles/Kconfig files + rm -rf ${D}/lib/modules/3.12.4-1-x86-generic/build/Documentation + rm -rf ${D}/lib/modules/3.12.4-1-x86-generic/build/scripts + rm -rf ${D}/lib/modules/3.12.4-1-x86-generic/build/include + + # Copy config and scripts + install .config ${D}/lib/modules/3.12.4-1-x86-generic/build/ + cp -a scripts ${D}/lib/modules/3.12.4-1-x86-generic/build + if [ -d arch/x86/scripts ]; then + cp -a arch/x86/scripts ${D}/lib/modules/3.12.4-1-x86-generic/build/arch/x86/ || : + fi + if [ -f arch/x86/*lds ]; then + cp -a arch/x86/*lds ${D}/lib/modules/3.12.4-1-x86-generic/build/arch/x86/ || : + fi + rm -f ${D}/lib/modules/3.12.4-1-x86-generic/build/scripts/*.o + rm -f ${D}/lib/modules/3.12.4-1-x86-generic/build/scripts/*/*.o + cp -a --parents arch/x86/include ${D}/lib/modules/3.12.4-1-x86-generic/build + + # Copy include files + mkdir -p ${D}/lib/modules/3.12.4-1-x86-generic/build/include + find include/ -mindepth 1 -maxdepth 1 -type d | xargs -I{} cp -a {} ${D}/lib/modules/3.12.4-1-x86-generic/build/include + + # Save the vmlinux file for kernel debugging into the devel package + cp vmlinux ${D}/lib/modules/3.12.4-1-x86-generic + + # Mark modules executable so that strip-to-file can strip them + find ${D}/lib/modules/3.12.4-1-x86-generic -name "*.ko" -type f | xargs --no-run-if-empty chmod 755 + + # Move the devel headers out of the root file system + install -d ${D}/usr/src/kernels + mv ${D}/lib/modules/3.12.4-1-x86-generic/build ${D}/usr/src/kernels/3.12.4-1-x86-generic + + ln -sf /usr/src/kernels/3.12.4-1-x86-generic ${D}/lib/modules/3.12.4-1-x86-generic/build + + # Install perf + install -d ${D} + make -s -C tools/perf DESTDIR=${D} install + install -d ${D}/usr/bin + install -d ${D}/usr/libexec + mv ${D}/bin/* ${D}/usr/bin/ + mv ${D}/libexec/* ${D}/usr/libexec/ + rm ${D}/etc/bash_completion.d/perf + + + + ### + ### SCRIPTS + ### + + +} + +PACKAGES = "" +PACKAGES += "kernel-x86-generic" +PACKAGES += "perf" +PACKAGES += "kernel-x86-generic-devel" + +kernel-x86-generic_files = "" +kernel-x86-generic_files += "/boot/vmlinuz-3.12.4-1-x86-generic" +kernel-x86-generic_files += "/boot/System.map-3.12.4-1-x86-generic" +kernel-x86-generic_files += "/boot/config-3.12.4-1-x86-generic" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic/kernel" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic/build" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic/source" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic/vdso" +kernel-x86-generic_files += "/lib/modules/3.12.4-1-x86-generic/modules.*" + +perf_files = "" +perf_files += "/usr/bin/perf" +perf_files += "/usr/libexec/perf-core" + +kernel-x86-generic-devel_files = "" +kernel-x86-generic-devel_files += "/lib/modules/3.12.4-1-x86-generic/vmlinux" + +FILES_${PN} = "${kernel-x86-generic_files}" +FILES_perf = "${perf_files}" +FILES_${PN}-devel = "${kernel-x86-generic-devel_files}" + +PKG_kernel-x86-generic= "kernel-x86-generic" +PKG_perf= "perf" +PKG_kernel-x86-generic-devel= "kernel-x86-generic-devel" + +require kernel-generic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/kernel-generic/kernel-generic_git.bb b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic_git.bb new file mode 100644 index 0000000..0dc50a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/kernel-generic/kernel-generic_git.bb @@ -0,0 +1,8 @@ +require kernel-generic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/kernel/kernel-generic;protocol=ssh;tag=6cc2114127cb4780e36e951e10b987699be158a8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/keyutils/keyutils-extraconf.inc b/meta-tizen/recipes-tizen/keyutils/keyutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/keyutils/keyutils-native_git.bb b/meta-tizen/recipes-tizen/keyutils/keyutils-native_git.bb new file mode 100644 index 0000000..37f9af1 --- /dev/null +++ b/meta-tizen/recipes-tizen/keyutils/keyutils-native_git.bb @@ -0,0 +1,12 @@ +require keyutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/keyutils;protocol=ssh;tag=0a66e7614aa2dead8af0e490b1bec71d8b895749;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/keyutils/keyutils.inc b/meta-tizen/recipes-tizen/keyutils/keyutils.inc new file mode 100644 index 0000000..20a00b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/keyutils/keyutils.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "Linux Key Management Utilities" +HOMEPAGE = "http://people.redhat.com/~dhowells/keyutils/" +SECTION = "System/Kernel" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by keyutils +PROVIDES += "keyutils" +RPROVIDES_keyutils += "keyutils" + +#PROVIDES by libkeyutils +PROVIDES += "libkeyutils" +RPROVIDES_libkeyutils += "libkeyutils" + +#PROVIDES by keyutils-devel +PROVIDES += "keyutils-devel" +RPROVIDES_keyutils-devel += "keyutils-devel" +RPROVIDES_keyutils-devel += "keyutils-dev" + +RDEPENDS = "" +#RDEPENDS of keyutils-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libkeyutils" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/keyutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS" CC="${HOST_SYS}-gcc" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/lib USRLIBDIR=/usr/lib + + +} + +PACKAGES = "" +PACKAGES += "keyutils" +PACKAGES += "libkeyutils" +PACKAGES += "keyutils-devel" + +keyutils_files = "" +keyutils_files += "keyutils.manifest" +keyutils_files += "GPL-2.0+ ; LGPL-2.1+ LICENCE.GPL" +keyutils_files += "/sbin/*" +keyutils_files += "/bin/*" +keyutils_files += "/usr/share/keyutils" +keyutils_files += "/usr/share/man/*/*" +keyutils_files += "/etc/*" + +libkeyutils_files = "" +libkeyutils_files += "keyutils.manifest" +libkeyutils_files += "GPL-2.0+ ; LGPL-2.1+ LICENCE.LGPL" +libkeyutils_files += "/lib/libkeyutils.so.*" + +keyutils-devel_files = "" +keyutils-devel_files += "keyutils.manifest" +keyutils-devel_files += "/usr/lib/libkeyutils.so" +keyutils-devel_files += "/usr/include/*" + +FILES_${PN} = "${keyutils_files}" +FILES_lib${PN} = "${libkeyutils_files}" +FILES_${PN}-devel = "${keyutils-devel_files}" + +PKG_keyutils= "keyutils" +PKG_libkeyutils= "libkeyutils" +PKG_keyutils-devel= "keyutils-devel" + +require keyutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/keyutils/keyutils_git.bb b/meta-tizen/recipes-tizen/keyutils/keyutils_git.bb new file mode 100644 index 0000000..cb5b16f --- /dev/null +++ b/meta-tizen/recipes-tizen/keyutils/keyutils_git.bb @@ -0,0 +1,8 @@ +require keyutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/keyutils;protocol=ssh;tag=0a66e7614aa2dead8af0e490b1bec71d8b895749;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kickstarter/kickstarter-extraconf.inc b/meta-tizen/recipes-tizen/kickstarter/kickstarter-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/kickstarter/kickstarter-native_git.bb b/meta-tizen/recipes-tizen/kickstarter/kickstarter-native_git.bb new file mode 100644 index 0000000..3974074 --- /dev/null +++ b/meta-tizen/recipes-tizen/kickstarter/kickstarter-native_git.bb @@ -0,0 +1,12 @@ +require kickstarter.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kickstarter;protocol=ssh;tag=4b01601cd2d404d4d72a2399909fb8de5f5bc8e9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kickstarter/kickstarter.inc b/meta-tizen/recipes-tizen/kickstarter/kickstarter.inc new file mode 100644 index 0000000..657c8ea --- /dev/null +++ b/meta-tizen/recipes-tizen/kickstarter/kickstarter.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "Create kickstart files for image creation" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by kickstarter +PROVIDES += "kickstarter" +RPROVIDES_kickstarter += "kickstarter" + +RDEPENDS = "" +#RDEPENDS of kickstarter (${PN}) +RDEPENDS_${PN} += "python-yaml" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "python-cheetah" + + +DEPENDS = "" +#DEPENDS of kickstarter +DEPENDS += "python-devel" +DEPENDS += "python-cheetah" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n kickstarter-0.17 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/kickstarter.manifest . + make tmpls + + CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + /usr/bin/python setup.py install --root=$RPM_BUILD_ROOT -O1 --prefix=/usr + + + +} + +PACKAGES = "" +PACKAGES += "kickstarter" + +kickstarter_files = "" +kickstarter_files += "kickstarter.manifest" +kickstarter_files += "/usr/bin/*" +kickstarter_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${kickstarter_files}" + +PKG_kickstarter= "kickstarter" + +require kickstarter-extraconf.inc diff --git a/meta-tizen/recipes-tizen/kickstarter/kickstarter_git.bb b/meta-tizen/recipes-tizen/kickstarter/kickstarter_git.bb new file mode 100644 index 0000000..ec45f7a --- /dev/null +++ b/meta-tizen/recipes-tizen/kickstarter/kickstarter_git.bb @@ -0,0 +1,8 @@ +require kickstarter.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kickstarter;protocol=ssh;tag=4b01601cd2d404d4d72a2399909fb8de5f5bc8e9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kmod/kmod-extraconf.inc b/meta-tizen/recipes-tizen/kmod/kmod-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/kmod/kmod-native_git.bb b/meta-tizen/recipes-tizen/kmod/kmod-native_git.bb new file mode 100644 index 0000000..b251d34 --- /dev/null +++ b/meta-tizen/recipes-tizen/kmod/kmod-native_git.bb @@ -0,0 +1,12 @@ +require kmod.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kmod;protocol=ssh;tag=4dbc9bf5e38ddbc103b14142ba91377a1b393679;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/kmod/kmod.inc b/meta-tizen/recipes-tizen/kmod/kmod.inc new file mode 100644 index 0000000..98dd67e --- /dev/null +++ b/meta-tizen/recipes-tizen/kmod/kmod.inc @@ -0,0 +1,192 @@ +DESCRIPTION = "Utilities to load modules into the kernel" +HOMEPAGE = "http://www.politreco.com/2011/12/announce-kmod-2/" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libkmod-devel +PROVIDES += "libkmod-devel" +RPROVIDES_libkmod-devel += "libkmod-devel" +RPROVIDES_libkmod-devel += "libkmod-dev" + +#PROVIDES by kmod +PROVIDES += "kmod" +RPROVIDES_kmod += "kmod" + +#PROVIDES by kmod-compat +PROVIDES += "kmod-compat" +RPROVIDES_kmod-compat += "kmod-compat" +# the PROVIDES rules is ignore "module-init-tools " +PROVIDES += "module-init-tools" +RPROVIDES_kmod-compat += "module-init-tools" + +#PROVIDES by kmod-docs +PROVIDES += "kmod-docs " +RPROVIDES_kmod-docs += "kmod-docs " + +#PROVIDES by libkmod +PROVIDES += "libkmod" +RPROVIDES_libkmod += "libkmod" + +RDEPENDS = "" +#RDEPENDS of libkmod-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libkmod" + +#RDEPENDS of kmod-compat (${PN}-compat) +RDEPENDS_${PN}-compat += "kmod" +RDEPENDS_${PN}-compat += "filesystem" + + +DEPENDS = "" +#DEPENDS of kmod +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "automake-native" +DEPENDS += "xz" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(liblzma)" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/kmod.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + # The extra --includedir gives us the possibility to detect dependent + # packages which fail to properly use pkgconfig. + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-xz \ + --disable-manpages \ + --with-zlib \ + --includedir=/usr/include/kmod-15 \ + --with-rootlibdir=/usr/lib \ + --bindir=/usr/bin + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # kmod-compat + mkdir -p ${D}//usr/sbin + ln -s /usr/bin/kmod ${D}//usr/bin/lsmod + for i in depmod insmod lsmod modinfo modprobe rmmod; do + ln -s /usr/bin/kmod ${D}//usr/sbin/$i + done; + + + +} + +PACKAGES = "" +PACKAGES += "libkmod-devel" +PACKAGES += "kmod" +PACKAGES += "kmod-docs" +PACKAGES += "kmod-compat" +PACKAGES += "libkmod" + +libkmod-devel_files = "" +libkmod-devel_files += "kmod.manifest" +libkmod-devel_files += "/usr/include/*" +libkmod-devel_files += "/usr/lib/pkgconfig/libkmod.pc" +libkmod-devel_files += "/usr/lib/libkmod.so" + +kmod_files = "" +kmod_files += "kmod.manifest" +kmod_files += "LGPL-2.1+ COPYING" +kmod_files += "/usr/bin/kmod" +kmod_files += "/usr/share/bash-completion/completions" +kmod_files += "/usr/share/bash-completion/completions/kmod" + +kmod-docs_files = "" +kmod-docs_files += "/usr/share/info" +kmod-docs_files += "/usr/share/man" + +kmod-compat_files = "" +kmod-compat_files += "kmod.manifest" +kmod-compat_files += "/usr/bin/lsmod" +kmod-compat_files += "/usr/sbin/depmod" +kmod-compat_files += "/usr/sbin/insmod" +kmod-compat_files += "/usr/sbin/lsmod" +kmod-compat_files += "/usr/sbin/modinfo" +kmod-compat_files += "/usr/sbin/modprobe" +kmod-compat_files += "/usr/sbin/rmmod" + +libkmod_files = "" +libkmod_files += "kmod.manifest" +libkmod_files += "/usr/lib/libkmod.so.2*" + +FILES_lib${PN}-devel = "${libkmod-devel_files}" +FILES_${PN} = "${kmod_files}" +FILES_${PN}-docs = "${kmod-docs_files}" +FILES_${PN}-compat = "${kmod-compat_files}" +FILES_lib${PN} = "${libkmod_files}" + +PKG_libkmod-devel= "libkmod-devel" +PKG_kmod= "kmod" +PKG_kmod-docs= "kmod-docs" +PKG_kmod-compat= "kmod-compat" +PKG_libkmod= "libkmod" + +require kmod-extraconf.inc diff --git a/meta-tizen/recipes-tizen/kmod/kmod_git.bb b/meta-tizen/recipes-tizen/kmod/kmod_git.bb new file mode 100644 index 0000000..3dc21ea --- /dev/null +++ b/meta-tizen/recipes-tizen/kmod/kmod_git.bb @@ -0,0 +1,8 @@ +require kmod.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/kmod;protocol=ssh;tag=4dbc9bf5e38ddbc103b14142ba91377a1b393679;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/krb5/krb5-extraconf.inc b/meta-tizen/recipes-tizen/krb5/krb5-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/krb5/krb5-native_git.bb b/meta-tizen/recipes-tizen/krb5/krb5-native_git.bb new file mode 100644 index 0000000..c1bddbd --- /dev/null +++ b/meta-tizen/recipes-tizen/krb5/krb5-native_git.bb @@ -0,0 +1,12 @@ +require krb5.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/krb5;protocol=ssh;tag=a98efd0c8f97aba9d71c2130c048f1adc242772e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/krb5/krb5.inc b/meta-tizen/recipes-tizen/krb5/krb5.inc new file mode 100644 index 0000000..770625c --- /dev/null +++ b/meta-tizen/recipes-tizen/krb5/krb5.inc @@ -0,0 +1,246 @@ +DESCRIPTION = "MIT Kerberos5 Implementation--Libraries" +HOMEPAGE = "http://web.mit.edu/kerberos/www/" +SECTION = "Productivity/Networking/Security" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by krb5 +PROVIDES += "krb5" +RPROVIDES_krb5 += "krb5" + +#PROVIDES by krb5-devel +PROVIDES += "krb5-devel" +RPROVIDES_krb5-devel += "krb5-devel" +RPROVIDES_krb5-devel += "krb5-dev" + +RDEPENDS = "" +#RDEPENDS of krb5-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "krb5" +RDEPENDS_${PN}-devel += "keyutils-dev" +RDEPENDS_${PN}-devel += "libcom_err-dev" + + +DEPENDS = "" +#DEPENDS of krb5 +DEPENDS += "keyutils" +DEPENDS += "autoconf-native" +DEPENDS += "bison-native" +DEPENDS += "e2fsprogs" +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n krb5-1.10.2 + cp ${S}/packaging/krb5.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # needs to be re-generated + rm -f src/lib/krb5/krb/deltat.c + cd src + ./util/reconf + CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC " \ + ./configure \ + --prefix=/usr/lib/mit \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib/mit/sbin \ + --libdir=/usr/lib \ + --includedir=/usr/include \ + --localstatedir=/var/lib/kerberos \ + --enable-shared \ + --disable-static \ + --enable-kdc-replay-cache \ + --enable-dns-for-realm \ + --disable-rpath \ + --disable-pkinit \ + --without-pam \ + --with-system-et \ + --with-system-ss + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd src + make DESTDIR=${D} install + cd .. + # Munge the krb5-config script to remove rpaths and CFLAGS. + sed "s|^CC_LINK=.*|CC_LINK='\$(CC) \$(PROG_LIBPATH)'|g" src/krb5-config > $RPM_BUILD_ROOT/usr/lib/mit/bin/krb5-config + # install autoconf macro + mkdir -p ${D}//usr/share/aclocal + install -m 644 src/util/ac_check_krb5.m4 ${D}/usr/share/aclocal/ + # install sample config files + # I'll probably do something about this later on + mkdir -p ${D}/etc ${D}/var/lib/kerberos/krb5kdc + mkdir -p ${D}/etc + mkdir -p ${D}/etc/profile.d/ + mkdir -p ${D}/var/log/krb5 + mkdir -p ${D}/etc/sysconfig/SuSEfirewall2.d/services/ + # create plugin directories + mkdir -p ${D}//usr/lib/krb5/plugins/kdb + mkdir -p ${D}//usr/lib/krb5/plugins/preauth + mkdir -p ${D}//usr/lib/krb5/plugins/libkrb5 + # all libs must have permissions 0755 + for lib in `find ${D}//usr/lib/ -type f -name "*.so*"` + do + chmod 0755 ${lib} + done + # and binaries too + chmod 0755 ${D}/usr/lib/mit/bin/ksu + find . -type f -name '*.ps' -exec gzip -9 {} \; + # create rc* links + # create links for kinit and klist, because of the java ones + #ln -sf ../../usr/lib/mit/bin/kinit ${D}/usr/bin/kinit + #ln -sf ../../usr/lib/mit/bin/klist ${D}/usr/bin/klist + + + mkdir -p ${D}/usr/bin + ln -sf ../../usr/lib/mit/bin/krb5-config ${D}/usr/bin/krb5-config + # install doc + install -d -m 755 ${D}//usr/share/doc/packages/krb5 + install -m 644 ${WORKDIR}/krb5-1.10.2/README ${D}//usr/share/doc/packages/krb5/README + # cleanup + rm -f ${D}/usr/share/man/man1/tmac.doc* + rm -f /usr/share/man/man1/tmac.doc* + rm -rf ${D}/usr/lib/mit/share/examples + rm -rf ${D}/usr/lib/mit/share/locale + ##################################################### + # krb5(-mini) pre/post/postun + ##################################################### + + +} + +PACKAGES = "" +PACKAGES += "krb5" +PACKAGES += "krb5-devel" + +krb5_files = "" +krb5_files += "krb5.manifest" +krb5_files += "/usr/share/doc/packages/krb5" +krb5_files += "/usr/lib/krb5" +krb5_files += "/usr/lib/krb5/plugins" +krb5_files += "/usr/lib/krb5/plugins/kdb" +krb5_files += "/usr/lib/krb5/plugins/preauth" +krb5_files += "/usr/lib/krb5/plugins/libkrb5" +krb5_files += "/var/lib/kerberos/" +krb5_files += "/var/lib/kerberos/krb5kdc" +krb5_files += "/usr/lib/mit" +krb5_files += "/usr/lib/mit/sbin" +krb5_files += "/usr/lib/mit/bin" +krb5_files += "/usr/share/doc/packages/krb5/README" +krb5_files += "/usr/lib/libgssapi_krb5.*" +krb5_files += "/usr/lib/libgssrpc.so.*" +krb5_files += "/usr/lib/libk5crypto.so.*" +krb5_files += "/usr/lib/libkadm5clnt_mit.so.*" +krb5_files += "/usr/lib/libkadm5srv_mit.so.*" +krb5_files += "/usr/lib/libkdb5.so.*" +krb5_files += "/usr/lib/libkrb5.so.*" +krb5_files += "/usr/lib/libkrb5support.so.*" +krb5_files += "/usr/lib/libverto.so.*" +krb5_files += "/usr/lib/libverto-k5ev.so.*" +krb5_files += "/usr/lib/krb5/plugins/kdb/*" +krb5_files += "/usr/lib/mit/sbin/kadmin.local" +krb5_files += "/usr/lib/mit/sbin/kadmind" +krb5_files += "/usr/lib/mit/sbin/kpropd" +krb5_files += "/usr/lib/mit/sbin/kproplog" +krb5_files += "/usr/lib/mit/sbin/kprop" +krb5_files += "/usr/lib/mit/sbin/kdb5_util" +krb5_files += "/usr/lib/mit/sbin/krb5kdc" +krb5_files += "/usr/lib/mit/sbin/uuserver" +krb5_files += "/usr/lib/mit/sbin/sserver" +krb5_files += "/usr/lib/mit/sbin/gss-server" +krb5_files += "/usr/lib/mit/sbin/sim_server" +krb5_files += "/usr/lib/mit/bin/k5srvutil" +krb5_files += "/usr/lib/mit/bin/kvno" +krb5_files += "/usr/lib/mit/bin/kinit" +krb5_files += "/usr/lib/mit/bin/kdestroy" +krb5_files += "/usr/lib/mit/bin/kpasswd" +krb5_files += "/usr/lib/mit/bin/klist" +krb5_files += "/usr/lib/mit/bin/kadmin" +krb5_files += "/usr/lib/mit/bin/ktutil" +krb5_files += "/usr/lib/mit/bin/kswitch" +krb5_files += "/usr/lib/mit/bin/uuclient" +krb5_files += "/usr/lib/mit/bin/sclient" +krb5_files += "/usr/lib/mit/bin/gss-client" +krb5_files += "/usr/lib/mit/bin/sim_client" +krb5_files += "/usr/share/man/man1/kvno.1*" +krb5_files += "/usr/share/man/man1/kinit.1*" +krb5_files += "/usr/share/man/man1/kdestroy.1*" +krb5_files += "/usr/share/man/man1/kpasswd.1*" +krb5_files += "/usr/share/man/man1/klist.1*" +krb5_files += "/usr/share/man/man1/kerberos.1*" +krb5_files += "/usr/share/man/man1/ksu.1*" +krb5_files += "/usr/share/man/man1/sclient.1*" +krb5_files += "/usr/share/man/man1/kadmin.1*" +krb5_files += "/usr/share/man/man1/ktutil.1*" +krb5_files += "/usr/share/man/man1/k5srvutil.1*" +krb5_files += "/usr/share/man/man1/kswitch.1*" +krb5_files += "/usr/share/man/man5/*" +krb5_files += "/usr/share/man/man5/.k5login.5.gz" +krb5_files += "/usr/share/man/man5/.k5identity.5*" +krb5_files += "/usr/share/man/man8/*" + +krb5-devel_files = "" +krb5-devel_files += "krb5.manifest" +krb5-devel_files += "/usr/bin/krb5-config" +krb5-devel_files += "/usr/lib/mit" +krb5-devel_files += "/usr/lib/mit/bin" +krb5-devel_files += "/usr/lib/mit/sbin" +krb5-devel_files += "/usr/lib/mit/share" +krb5-devel_files += "/usr/share/aclocal" +krb5-devel_files += "/usr/lib/libgssrpc.so" +krb5-devel_files += "/usr/lib/libk5crypto.so" +krb5-devel_files += "/usr/lib/libkadm5clnt_mit.so" +krb5-devel_files += "/usr/lib/libkadm5clnt.so" +krb5-devel_files += "/usr/lib/libkadm5srv_mit.so" +krb5-devel_files += "/usr/lib/libkadm5srv.so" +krb5-devel_files += "/usr/lib/libkdb5.so" +krb5-devel_files += "/usr/lib/libkrb5.so" +krb5-devel_files += "/usr/lib/libkrb5support.so" +krb5-devel_files += "/usr/lib/libverto.so" +krb5-devel_files += "/usr/lib/libverto-k5ev.so" +krb5-devel_files += "/usr/include/*" +krb5-devel_files += "/usr/lib/mit/bin/krb5-config" +krb5-devel_files += "/usr/lib/mit/sbin/krb5-send-pr" +krb5-devel_files += "/usr/lib/mit/share/gnats" +krb5-devel_files += "/usr/share/man/man1/krb5-send-pr.1*" +krb5-devel_files += "/usr/share/man/man1/krb5-config.1*" +krb5-devel_files += "/usr/share/aclocal/ac_check_krb5.m4" + +FILES_${PN} = "${krb5_files}" +FILES_${PN}-devel = "${krb5-devel_files}" + +PKG_krb5= "krb5" +PKG_krb5-devel= "krb5-devel" + +require krb5-extraconf.inc diff --git a/meta-tizen/recipes-tizen/krb5/krb5_git.bb b/meta-tizen/recipes-tizen/krb5/krb5_git.bb new file mode 100644 index 0000000..78c4ce8 --- /dev/null +++ b/meta-tizen/recipes-tizen/krb5/krb5_git.bb @@ -0,0 +1,8 @@ +require krb5.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/krb5;protocol=ssh;tag=a98efd0c8f97aba9d71c2130c048f1adc242772e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-extraconf.inc b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-native_git.bb b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-native_git.bb new file mode 100644 index 0000000..b69ff8e --- /dev/null +++ b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus-native_git.bb @@ -0,0 +1,12 @@ +require lbs-dbus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/lbs-dbus;protocol=ssh;tag=219010f23de1dcc5e57c9c314a241d8ab8840fd0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus.inc b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus.inc new file mode 100644 index 0000000..0efd76d --- /dev/null +++ b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "Dbus interface for Location based service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lbs-dbus +PROVIDES += "lbs-dbus" +RPROVIDES_lbs-dbus += "lbs-dbus" + +#PROVIDES by liblbs-dbus-devel +PROVIDES += "liblbs-dbus-devel" +RPROVIDES_liblbs-dbus-devel += "liblbs-dbus-devel" +RPROVIDES_liblbs-dbus-devel += "liblbs-dbus-dev" + +#PROVIDES by liblbs-dbus +PROVIDES += "liblbs-dbus" +RPROVIDES_liblbs-dbus += "liblbs-dbus" + +RDEPENDS = "" +#RDEPENDS of liblbs-dbus-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "liblbs-dbus" + + +DEPENDS = "" +#DEPENDS of lbs-dbus +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "cmake" +inherit pythonnative +DEPENDS += "dlog" +DEPENDS += "python-xml" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(gio-unix-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/lbs-dbus.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "liblbs-dbus-devel" +PACKAGES += "liblbs-dbus" + +liblbs-dbus-devel_files = "" +liblbs-dbus-devel_files += "lbs-dbus.manifest" +liblbs-dbus-devel_files += "/usr/include/lbs-dbus/*.h" +liblbs-dbus-devel_files += "/usr/lib/pkgconfig/*.pc" +liblbs-dbus-devel_files += "/usr/lib/*.so" + +liblbs-dbus_files = "" +liblbs-dbus_files += "lbs-dbus.manifest" +liblbs-dbus_files += "/usr/lib/*.so.*" +liblbs-dbus_files += "/etc/dbus-1/system.d/*" + +FILES_lib${PN}-devel = "${liblbs-dbus-devel_files}" +FILES_lib${PN} = "${liblbs-dbus_files}" + +PKG_liblbs-dbus-devel= "liblbs-dbus-devel" +PKG_liblbs-dbus= "liblbs-dbus" + +require lbs-dbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus_git.bb b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus_git.bb new file mode 100644 index 0000000..f283a9a --- /dev/null +++ b/meta-tizen/recipes-tizen/lbs-dbus/lbs-dbus_git.bb @@ -0,0 +1,8 @@ +require lbs-dbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/lbs-dbus;protocol=ssh;tag=219010f23de1dcc5e57c9c314a241d8ab8840fd0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lcms2/lcms2-extraconf.inc b/meta-tizen/recipes-tizen/lcms2/lcms2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lcms2/lcms2-native_git.bb b/meta-tizen/recipes-tizen/lcms2/lcms2-native_git.bb new file mode 100644 index 0000000..9cdf7c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/lcms2/lcms2-native_git.bb @@ -0,0 +1,12 @@ +require lcms2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lcms2;protocol=ssh;tag=d8c610099fe10862394b5fece5df227df9be1ca0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lcms2/lcms2.inc b/meta-tizen/recipes-tizen/lcms2/lcms2.inc new file mode 100644 index 0000000..9ed7c6a --- /dev/null +++ b/meta-tizen/recipes-tizen/lcms2/lcms2.inc @@ -0,0 +1,145 @@ +DESCRIPTION = "Little CMS Engine - A color managment library and tools" +HOMEPAGE = "http://www.littlecms.com/" +SECTION = "Graphics/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lcms2-docs +PROVIDES += "lcms2-docs " +RPROVIDES_lcms2-docs += "lcms2-docs " + +#PROVIDES by libcms2 +PROVIDES += "libcms2" +RPROVIDES_libcms2 += "libcms2" + +#PROVIDES by lcms2 +PROVIDES += "lcms2" +RPROVIDES_lcms2 += "lcms2" + +#PROVIDES by liblcms2-devel +PROVIDES += "liblcms2-devel" +RPROVIDES_liblcms2-devel += "liblcms2-devel" +RPROVIDES_liblcms2-devel += "liblcms2-dev" + +RDEPENDS = "" +#RDEPENDS of liblcms2-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "libcms2" + + +DEPENDS = "" +#DEPENDS of lcms2 +DEPENDS += "zlib-devel" +DEPENDS += "libtiff-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "libjpeg-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/lcms2.manifest . + + chmod a-x doc/* COPYING AUTHORS + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "lcms2-docs" +PACKAGES += "libcms2" +PACKAGES += "lcms2" +PACKAGES += "liblcms2-devel" + +lcms2-docs_files = "" +lcms2-docs_files += "/usr/share/info" +lcms2-docs_files += "/usr/share/man" + +libcms2_files = "" +libcms2_files += "lcms2.manifest" +libcms2_files += "/usr/lib/liblcms2.so.2*" + +lcms2_files = "" +lcms2_files += "lcms2.manifest" +lcms2_files += "/usr/bin/*" + +liblcms2-devel_files = "" +liblcms2-devel_files += "lcms2.manifest" +liblcms2-devel_files += "/usr/include/*.h" +liblcms2-devel_files += "/usr/lib/*.so" +liblcms2-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN}-docs = "${lcms2-docs_files}" +FILES_libcms2 = "${libcms2_files}" +FILES_${PN} = "${lcms2_files}" +FILES_lib${PN}-devel = "${liblcms2-devel_files}" + +PKG_lcms2-docs= "lcms2-docs" +PKG_libcms2= "libcms2" +PKG_lcms2= "lcms2" +PKG_liblcms2-devel= "liblcms2-devel" + +require lcms2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lcms2/lcms2_git.bb b/meta-tizen/recipes-tizen/lcms2/lcms2_git.bb new file mode 100644 index 0000000..1ad7321 --- /dev/null +++ b/meta-tizen/recipes-tizen/lcms2/lcms2_git.bb @@ -0,0 +1,8 @@ +require lcms2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lcms2;protocol=ssh;tag=d8c610099fe10862394b5fece5df227df9be1ca0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/less/less-extraconf.inc b/meta-tizen/recipes-tizen/less/less-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/less/less-native_git.bb b/meta-tizen/recipes-tizen/less/less-native_git.bb new file mode 100644 index 0000000..30127bc --- /dev/null +++ b/meta-tizen/recipes-tizen/less/less-native_git.bb @@ -0,0 +1,12 @@ +require less.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/less;protocol=ssh;tag=b15e4e4697c92885433b7bf711ef9b815baa0a5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/less/less.inc b/meta-tizen/recipes-tizen/less/less.inc new file mode 100644 index 0000000..5e5abcc --- /dev/null +++ b/meta-tizen/recipes-tizen/less/less.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "A text file browser similar to more, but better" +HOMEPAGE = "http://www.greenwoodsoftware.com/less/" +SECTION = "System/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by less-docs +PROVIDES += "less-docs " +RPROVIDES_less-docs += "less-docs " + +#PROVIDES by less +PROVIDES += "less" +RPROVIDES_less += "less" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of less +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/less.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "less-docs" +PACKAGES += "less" + +less-docs_files = "" +less-docs_files += "/usr/share/info" +less-docs_files += "/usr/share/man" + +less_files = "" +less_files += "less.manifest" +less_files += "/usr/bin/*" + +FILES_${PN}-docs = "${less-docs_files}" +FILES_${PN} = "${less_files}" + +PKG_less-docs= "less-docs" +PKG_less= "less" + +require less-extraconf.inc diff --git a/meta-tizen/recipes-tizen/less/less_git.bb b/meta-tizen/recipes-tizen/less/less_git.bb new file mode 100644 index 0000000..fa9a799 --- /dev/null +++ b/meta-tizen/recipes-tizen/less/less_git.bb @@ -0,0 +1,8 @@ +require less.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/less;protocol=ssh;tag=b15e4e4697c92885433b7bf711ef9b815baa0a5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/leveldb/leveldb-extraconf.inc b/meta-tizen/recipes-tizen/leveldb/leveldb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/leveldb/leveldb-native_git.bb b/meta-tizen/recipes-tizen/leveldb/leveldb-native_git.bb new file mode 100644 index 0000000..49df15e --- /dev/null +++ b/meta-tizen/recipes-tizen/leveldb/leveldb-native_git.bb @@ -0,0 +1,12 @@ +require leveldb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/leveldb;protocol=ssh;tag=b0fd1960d95f15f4517449a66087203242797b5f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/leveldb/leveldb.inc b/meta-tizen/recipes-tizen/leveldb/leveldb.inc new file mode 100644 index 0000000..69c7b0d --- /dev/null +++ b/meta-tizen/recipes-tizen/leveldb/leveldb.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "A fast key-value storage library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libleveldb +PROVIDES += "libleveldb" +RPROVIDES_libleveldb += "libleveldb" + +#PROVIDES by leveldb +PROVIDES += "leveldb" +RPROVIDES_leveldb += "leveldb" + +#PROVIDES by leveldb-devel +PROVIDES += "leveldb-devel" +RPROVIDES_leveldb-devel += "leveldb-devel" +RPROVIDES_leveldb-devel += "leveldb-dev" + +RDEPENDS = "" +#RDEPENDS of leveldb-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libleveldb" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/leveldb.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make libdir=/usr/lib -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} libdir=/usr/lib + + + +} + +PACKAGES = "" +PACKAGES += "libleveldb" +PACKAGES += "leveldb-devel" + +libleveldb_files = "" +libleveldb_files += "leveldb.manifest" +libleveldb_files += "/usr/lib/libleveldb.so.0" +libleveldb_files += "/usr/lib/libleveldb.so.1.1.0" +libleveldb_files += "/usr/lib/libmemenv.so.0" +libleveldb_files += "/usr/lib/libmemenv.so.1.1.0" + +leveldb-devel_files = "" +leveldb-devel_files += "leveldb.manifest" +leveldb-devel_files += "/usr/lib/libmemenv.so" +leveldb-devel_files += "/usr/lib/pkgconfig/leveldb.pc" +leveldb-devel_files += "/usr/lib/pkgconfig/memenv.pc" +leveldb-devel_files += "/usr/include/leveldb/*.h" +leveldb-devel_files += "/usr/include/helpers/memenv/*.h" +leveldb-devel_files += "/usr/lib/libleveldb.so" + +FILES_lib${PN} = "${libleveldb_files}" +FILES_${PN}-devel = "${leveldb-devel_files}" + +PKG_libleveldb= "libleveldb" +PKG_leveldb-devel= "leveldb-devel" + +require leveldb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/leveldb/leveldb_git.bb b/meta-tizen/recipes-tizen/leveldb/leveldb_git.bb new file mode 100644 index 0000000..39d49db --- /dev/null +++ b/meta-tizen/recipes-tizen/leveldb/leveldb_git.bb @@ -0,0 +1,8 @@ +require leveldb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/leveldb;protocol=ssh;tag=b0fd1960d95f15f4517449a66087203242797b5f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libGLU/libGLU-extraconf.inc b/meta-tizen/recipes-tizen/libGLU/libGLU-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libGLU/libGLU.inc b/meta-tizen/recipes-tizen/libGLU/libGLU.inc new file mode 100644 index 0000000..8080b3c --- /dev/null +++ b/meta-tizen/recipes-tizen/libGLU/libGLU.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Graphics Library Utilities (GLU)" +HOMEPAGE = "http://www.mesa3d.org" +SECTION = "Development/Libraries/C and C++" +LICENSE = "SGI Free B" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libGLU-devel" +PACKAGES += "libGLU" + +libGLU-devel_files = "" +libGLU-devel_files += "libGLU.manifest" +libGLU-devel_files += "/usr/include/GL" +libGLU-devel_files += "/usr/lib/pkgconfig/glu.pc" +libGLU-devel_files += "/usr/lib/libGLU.so" + +libGLU_files = "" +libGLU_files += "libGLU.manifest" +libGLU_files += "/usr/lib/libGLU.so.1*" + +FILES_${PN}-devel = "${libGLU-devel_files}" +FILES_${PN} = "${libGLU_files}" + +PKG_libGLU-devel= "libGLU-devel" +PKG_libGLU= "libGLU" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libGLU-rdepends.inc +require libGLU-depends.inc +require libGLU-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libICE/libICE-extraconf.inc b/meta-tizen/recipes-tizen/libICE/libICE-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libICE/libICE-native_git.bb b/meta-tizen/recipes-tizen/libICE/libICE-native_git.bb new file mode 100644 index 0000000..7888d28 --- /dev/null +++ b/meta-tizen/recipes-tizen/libICE/libICE-native_git.bb @@ -0,0 +1,12 @@ +require libICE.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libICE;protocol=ssh;tag=754a5288034a779667c0f8216a3b1402a20bff54;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libICE/libICE.inc b/meta-tizen/recipes-tizen/libICE/libICE.inc new file mode 100644 index 0000000..4663b3a --- /dev/null +++ b/meta-tizen/recipes-tizen/libICE/libICE.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "X11 Inter-Client Exchange Library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libICE +PROVIDES += "libICE" +RPROVIDES_libICE += "libICE" + +#PROVIDES by libICE-devel +PROVIDES += "libICE-devel" +RPROVIDES_libICE-devel += "libICE-devel" +RPROVIDES_libICE-devel += "libICE-dev" + +RDEPENDS = "" +#RDEPENDS of libICE-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libICE" + + +DEPENDS = "" +#DEPENDS of libICE +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xtrans)" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libICE.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --docdir=/usr/share/doc/packages/libICE --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libICE" +PACKAGES += "libICE-devel" + +libICE_files = "" +libICE_files += "libICE.manifest" +libICE_files += "/usr/lib/libICE.so.6*" + +libICE-devel_files = "" +libICE-devel_files += "libICE.manifest" +libICE-devel_files += "/usr/include/X11/*" +libICE-devel_files += "/usr/lib/libICE.so" +libICE-devel_files += "/usr/lib/pkgconfig/ice.pc" +libICE-devel_files += "/usr/share/doc/packages/libICE" + +FILES_${PN} = "${libICE_files}" +FILES_${PN}-devel = "${libICE-devel_files}" + +PKG_libICE= "libICE" +PKG_libICE-devel= "libICE-devel" + +require libICE-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libICE/libICE_git.bb b/meta-tizen/recipes-tizen/libICE/libICE_git.bb new file mode 100644 index 0000000..6ad0b88 --- /dev/null +++ b/meta-tizen/recipes-tizen/libICE/libICE_git.bb @@ -0,0 +1,8 @@ +require libICE.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libICE;protocol=ssh;tag=754a5288034a779667c0f8216a3b1402a20bff54;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libSM/libSM-extraconf.inc b/meta-tizen/recipes-tizen/libSM/libSM-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libSM/libSM-native_git.bb b/meta-tizen/recipes-tizen/libSM/libSM-native_git.bb new file mode 100644 index 0000000..328b43c --- /dev/null +++ b/meta-tizen/recipes-tizen/libSM/libSM-native_git.bb @@ -0,0 +1,12 @@ +require libSM.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libSM;protocol=ssh;tag=b5df5f309d12616c47edc40c2c6e852ec20f88fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libSM/libSM.inc b/meta-tizen/recipes-tizen/libSM/libSM.inc new file mode 100644 index 0000000..a2263e2 --- /dev/null +++ b/meta-tizen/recipes-tizen/libSM/libSM.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "X Session Management library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libSM-devel +PROVIDES += "libSM-devel" +RPROVIDES_libSM-devel += "libSM-devel" +RPROVIDES_libSM-devel += "libSM-dev" + +#PROVIDES by libSM +PROVIDES += "libSM" +RPROVIDES_libSM += "libSM" + +RDEPENDS = "" +#RDEPENDS of libSM-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libSM" + + +DEPENDS = "" +#DEPENDS of libSM +DEPENDS += "pkgconfig(xtrans)" +DEPENDS += "pkgconfig(xorg-macros)" +DEPENDS += "pkgconfig-native" +DEPENDS += "libICE" +DEPENDS += "pkgconfig(uuid)" +DEPENDS += "pkgconfig(xproto)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libSM.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-libuuid --docdir=/usr/share/doc/packages/libSM --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libSM-devel" +PACKAGES += "libSM" + +libSM-devel_files = "" +libSM-devel_files += "libSM.manifest" +libSM-devel_files += "/usr/include/X11/*" +libSM-devel_files += "/usr/lib/libSM.so" +libSM-devel_files += "/usr/lib/pkgconfig/sm.pc" +libSM-devel_files += "/usr/share/doc/packages/libSM" + +libSM_files = "" +libSM_files += "libSM.manifest" +libSM_files += "/usr/lib/libSM.so.6*" + +FILES_${PN}-devel = "${libSM-devel_files}" +FILES_${PN} = "${libSM_files}" + +PKG_libSM-devel= "libSM-devel" +PKG_libSM= "libSM" + +require libSM-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libSM/libSM_git.bb b/meta-tizen/recipes-tizen/libSM/libSM_git.bb new file mode 100644 index 0000000..bc6cc79 --- /dev/null +++ b/meta-tizen/recipes-tizen/libSM/libSM_git.bb @@ -0,0 +1,8 @@ +require libSM.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libSM;protocol=ssh;tag=b5df5f309d12616c47edc40c2c6e852ec20f88fb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libX11/libX11-extraconf.inc b/meta-tizen/recipes-tizen/libX11/libX11-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libX11/libX11.inc b/meta-tizen/recipes-tizen/libX11/libX11.inc new file mode 100644 index 0000000..a7a7851 --- /dev/null +++ b/meta-tizen/recipes-tizen/libX11/libX11.inc @@ -0,0 +1,58 @@ +DESCRIPTION = "Core X11 protocol client library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libX11-docs" +PACKAGES += "libX11-data" +PACKAGES += "libX11-xcb" +PACKAGES += "libX11" +PACKAGES += "libX11-devel" + +libX11-docs_files = "" +libX11-docs_files += "/usr/share/info" +libX11-docs_files += "/usr/share/man" + +libX11-data_files = "" +libX11-data_files += "libX11.manifest" +libX11-data_files += "/usr/share/X11" + +libX11-xcb_files = "" +libX11-xcb_files += "libX11.manifest" +libX11-xcb_files += "/usr/lib/libX11-xcb.so.1*" + +libX11_files = "" +libX11_files += "libX11.manifest" +libX11_files += "/usr/lib/libX11.so.6*" + +libX11-devel_files = "" +libX11-devel_files += "libX11.manifest" +libX11-devel_files += "/usr/include/X11/*" +libX11-devel_files += "/usr/lib/*.so" +libX11-devel_files += "/usr/lib/pkgconfig/*.pc" +libX11-devel_files += "/usr/share/doc/packages/libX11" + +FILES_${PN}-docs = "${libX11-docs_files}" +FILES_${PN}-data = "${libX11-data_files}" +FILES_${PN}-xcb = "${libX11-xcb_files}" +FILES_${PN} = "${libX11_files}" +FILES_${PN}-devel = "${libX11-devel_files}" + +PKG_libX11-docs= "libX11-docs" +PKG_libX11-data= "libX11-data" +PKG_libX11-xcb= "libX11-xcb" +PKG_libX11= "libX11" +PKG_libX11-devel= "libX11-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libX11-rdepends.inc +require libX11-depends.inc +require libX11-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver-extraconf.inc b/meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver.inc b/meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver.inc new file mode 100644 index 0000000..d52a876 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXScrnSaver/libXScrnSaver.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X11 Screen Saver extension client library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXScrnSaver-devel" +PACKAGES += "libXss" + +libXScrnSaver-devel_files = "" +libXScrnSaver-devel_files += "libXScrnSaver.manifest" +libXScrnSaver-devel_files += "/usr/include/X11/*" +libXScrnSaver-devel_files += "/usr/lib/libXss.so" +libXScrnSaver-devel_files += "/usr/lib/pkgconfig/xscrnsaver.pc" +libXScrnSaver-devel_files += "/usr/share/man/man3/*" + +libXss_files = "" +libXss_files += "libXScrnSaver.manifest" +libXss_files += "/usr/lib/libXss.so.1*" + +FILES_${PN}-devel = "${libXScrnSaver-devel_files}" +FILES_libXss = "${libXss_files}" + +PKG_libXScrnSaver-devel= "libXScrnSaver-devel" +PKG_libXss= "libXss" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXScrnSaver-rdepends.inc +require libXScrnSaver-depends.inc +require libXScrnSaver-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXau/libXau-extraconf.inc b/meta-tizen/recipes-tizen/libXau/libXau-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXau/libXau-native_git.bb b/meta-tizen/recipes-tizen/libXau/libXau-native_git.bb new file mode 100644 index 0000000..645e10c --- /dev/null +++ b/meta-tizen/recipes-tizen/libXau/libXau-native_git.bb @@ -0,0 +1,12 @@ +require libXau.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXau;protocol=ssh;tag=1009aced5f13c9fd1f2436bad897dc54ca735fde;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXau/libXau.inc b/meta-tizen/recipes-tizen/libXau/libXau.inc new file mode 100644 index 0000000..e78f0a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXau/libXau.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "X Authorization routines" +HOMEPAGE = "http://www.x.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libXau-devel +PROVIDES += "libXau-devel" +RPROVIDES_libXau-devel += "libXau-devel" +RPROVIDES_libXau-devel += "libXau-dev" + +#PROVIDES by libXau +PROVIDES += "libXau" +RPROVIDES_libXau += "libXau" + +RDEPENDS = "" +#RDEPENDS of libXau-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libXau" + + +DEPENDS = "" +#DEPENDS of libXau +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libXau.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libXau + rm -rf ${D}/usr/share/doc/libXau-1.0.7 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libXau-devel" +PACKAGES += "libXau" + +libXau-devel_files = "" +libXau-devel_files += "libXau.manifest" +libXau-devel_files += "/usr/include/X11" +libXau-devel_files += "/usr/include/X11/*.h" +libXau-devel_files += "/usr/lib/*.so" +libXau-devel_files += "/usr/lib/pkgconfig/*.pc" + +libXau_files = "" +libXau_files += "libXau.manifest" +libXau_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${libXau-devel_files}" +FILES_${PN} = "${libXau_files}" + +PKG_libXau-devel= "libXau-devel" +PKG_libXau= "libXau" + +require libXau-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXau/libXau_git.bb b/meta-tizen/recipes-tizen/libXau/libXau_git.bb new file mode 100644 index 0000000..37c09b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXau/libXau_git.bb @@ -0,0 +1,8 @@ +require libXau.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXau;protocol=ssh;tag=1009aced5f13c9fd1f2436bad897dc54ca735fde;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXaw/libXaw-extraconf.inc b/meta-tizen/recipes-tizen/libXaw/libXaw-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXaw/libXaw.inc b/meta-tizen/recipes-tizen/libXaw/libXaw.inc new file mode 100644 index 0000000..a3ef2bf --- /dev/null +++ b/meta-tizen/recipes-tizen/libXaw/libXaw.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "X Athena Widget Set" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXaw-devel" +PACKAGES += "libXaw" + +libXaw-devel_files = "" +libXaw-devel_files += "libXaw.manifest" +libXaw-devel_files += "/usr/include/X11/Xaw" +libXaw-devel_files += "/usr/include/X11/Xaw/*.h" +libXaw-devel_files += "/usr/include/X11/Xaw/Template.c" +libXaw-devel_files += "/usr/lib/libXaw.so" +libXaw-devel_files += "/usr/lib/libXaw7.so" +libXaw-devel_files += "/usr/lib/pkgconfig/xaw7.pc" + +libXaw_files = "" +libXaw_files += "libXaw.manifest" +libXaw_files += "/usr/lib/libXaw.so.7" +libXaw_files += "/usr/lib/libXaw7.so.7" +libXaw_files += "/usr/lib/libXaw7.so.7.0.0" + +FILES_${PN}-devel = "${libXaw-devel_files}" +FILES_${PN} = "${libXaw_files}" + +PKG_libXaw-devel= "libXaw-devel" +PKG_libXaw= "libXaw" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXaw-rdepends.inc +require libXaw-depends.inc +require libXaw-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXcomposite/libXcomposite-extraconf.inc b/meta-tizen/recipes-tizen/libXcomposite/libXcomposite-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXcomposite/libXcomposite.inc b/meta-tizen/recipes-tizen/libXcomposite/libXcomposite.inc new file mode 100644 index 0000000..7b85ced --- /dev/null +++ b/meta-tizen/recipes-tizen/libXcomposite/libXcomposite.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X Composite Extension library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXcomposite" +PACKAGES += "libXcomposite-devel" + +libXcomposite_files = "" +libXcomposite_files += "libXcomposite.manifest" +libXcomposite_files += "/usr/lib/libXcomposite.so.1" +libXcomposite_files += "/usr/lib/libXcomposite.so.1.0.0" + +libXcomposite-devel_files = "" +libXcomposite-devel_files += "libXcomposite.manifest" +libXcomposite-devel_files += "/usr/include/X11/extensions/Xcomposite.h" +libXcomposite-devel_files += "/usr/lib/libXcomposite.so" +libXcomposite-devel_files += "/usr/lib/pkgconfig/xcomposite.pc" + +FILES_${PN} = "${libXcomposite_files}" +FILES_${PN}-devel = "${libXcomposite-devel_files}" + +PKG_libXcomposite= "libXcomposite" +PKG_libXcomposite-devel= "libXcomposite-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXcomposite-rdepends.inc +require libXcomposite-depends.inc +require libXcomposite-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXcursor/libXcursor-extraconf.inc b/meta-tizen/recipes-tizen/libXcursor/libXcursor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXcursor/libXcursor.inc b/meta-tizen/recipes-tizen/libXcursor/libXcursor.inc new file mode 100644 index 0000000..2587709 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXcursor/libXcursor.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "Cursor management library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXcursor-devel" +PACKAGES += "libXcursor" + +libXcursor-devel_files = "" +libXcursor-devel_files += "libXcursor.manifest" +libXcursor-devel_files += "/usr/include/X11/Xcursor" +libXcursor-devel_files += "/usr/include/X11/Xcursor/Xcursor.h" +libXcursor-devel_files += "/usr/lib/libXcursor.so" +libXcursor-devel_files += "/usr/lib/pkgconfig/xcursor.pc" + +libXcursor_files = "" +libXcursor_files += "libXcursor.manifest" +libXcursor_files += "/usr/lib/libXcursor.so.1" +libXcursor_files += "/usr/lib/libXcursor.so.1.0.2" +libXcursor_files += "/usr/share/icons/default" + +FILES_${PN}-devel = "${libXcursor-devel_files}" +FILES_${PN} = "${libXcursor_files}" + +PKG_libXcursor-devel= "libXcursor-devel" +PKG_libXcursor= "libXcursor" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXcursor-rdepends.inc +require libXcursor-depends.inc +require libXcursor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXdamage/libXdamage-extraconf.inc b/meta-tizen/recipes-tizen/libXdamage/libXdamage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXdamage/libXdamage.inc b/meta-tizen/recipes-tizen/libXdamage/libXdamage.inc new file mode 100644 index 0000000..a8e844b --- /dev/null +++ b/meta-tizen/recipes-tizen/libXdamage/libXdamage.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X Damage extension library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXdamage" +PACKAGES += "libXdamage-devel" + +libXdamage_files = "" +libXdamage_files += "libXdamage.manifest" +libXdamage_files += "/usr/lib/libXdamage.so.1" +libXdamage_files += "/usr/lib/libXdamage.so.1.1.0" + +libXdamage-devel_files = "" +libXdamage-devel_files += "libXdamage.manifest" +libXdamage-devel_files += "/usr/include/X11/extensions/Xdamage.h" +libXdamage-devel_files += "/usr/lib/libXdamage.so" +libXdamage-devel_files += "/usr/lib/pkgconfig/xdamage.pc" + +FILES_${PN} = "${libXdamage_files}" +FILES_${PN}-devel = "${libXdamage-devel_files}" + +PKG_libXdamage= "libXdamage" +PKG_libXdamage-devel= "libXdamage-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXdamage-rdepends.inc +require libXdamage-depends.inc +require libXdamage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXdmcp/libXdmcp-extraconf.inc b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXdmcp/libXdmcp-native_git.bb b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp-native_git.bb new file mode 100644 index 0000000..207bf23 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp-native_git.bb @@ -0,0 +1,12 @@ +require libXdmcp.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXdmcp;protocol=ssh;tag=02b885828d77900578190c299a2be81af3c86cf9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXdmcp/libXdmcp.inc b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp.inc new file mode 100644 index 0000000..666d5b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "X Display Manager Control Protocol library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libXdmcp-devel +PROVIDES += "libXdmcp-devel" +RPROVIDES_libXdmcp-devel += "libXdmcp-devel" +RPROVIDES_libXdmcp-devel += "libXdmcp-dev" + +#PROVIDES by libXdmcp +PROVIDES += "libXdmcp" +RPROVIDES_libXdmcp += "libXdmcp" + +RDEPENDS = "" +#RDEPENDS of libXdmcp-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libXdmcp" + + +DEPENDS = "" +#DEPENDS of libXdmcp +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libXdmcp.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libXdmcp + rm -rf ${D}/usr/share/doc/libXdmcp-1.1.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libXdmcp-devel" +PACKAGES += "libXdmcp" + +libXdmcp-devel_files = "" +libXdmcp-devel_files += "libXdmcp.manifest" +libXdmcp-devel_files += "/usr/include/X11/Xdmcp.h" +libXdmcp-devel_files += "/usr/lib/libXdmcp.so" +libXdmcp-devel_files += "/usr/lib/pkgconfig/xdmcp.pc" + +libXdmcp_files = "" +libXdmcp_files += "libXdmcp.manifest" +libXdmcp_files += "/usr/lib/libXdmcp.so.6" +libXdmcp_files += "/usr/lib/libXdmcp.so.6.0.0" + +FILES_${PN}-devel = "${libXdmcp-devel_files}" +FILES_${PN} = "${libXdmcp_files}" + +PKG_libXdmcp-devel= "libXdmcp-devel" +PKG_libXdmcp= "libXdmcp" + +require libXdmcp-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXdmcp/libXdmcp_git.bb b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp_git.bb new file mode 100644 index 0000000..d122fd1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXdmcp/libXdmcp_git.bb @@ -0,0 +1,8 @@ +require libXdmcp.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXdmcp;protocol=ssh;tag=02b885828d77900578190c299a2be81af3c86cf9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXext/libXext-extraconf.inc b/meta-tizen/recipes-tizen/libXext/libXext-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXext/libXext.inc b/meta-tizen/recipes-tizen/libXext/libXext.inc new file mode 100644 index 0000000..20a13bc --- /dev/null +++ b/meta-tizen/recipes-tizen/libXext/libXext.inc @@ -0,0 +1,53 @@ +DESCRIPTION = "Common X Extensions library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXext" +PACKAGES += "libXext-devel" + +libXext_files = "" +libXext_files += "libXext.manifest" +libXext_files += "COPYING" +libXext_files += "/usr/lib/libXext.so.6" +libXext_files += "/usr/lib/libXext.so.6.4.0" + +libXext-devel_files = "" +libXext-devel_files += "libXext.manifest" +libXext-devel_files += "/usr/include/X11/extensions/MITMisc.h" +libXext-devel_files += "/usr/include/X11/extensions/XEVI.h" +libXext-devel_files += "/usr/include/X11/extensions/XLbx.h" +libXext-devel_files += "/usr/include/X11/extensions/XShm.h" +libXext-devel_files += "/usr/include/X11/extensions/Xag.h" +libXext-devel_files += "/usr/include/X11/extensions/Xcup.h" +libXext-devel_files += "/usr/include/X11/extensions/Xdbe.h" +libXext-devel_files += "/usr/include/X11/extensions/Xext.h" +libXext-devel_files += "/usr/include/X11/extensions/Xge.h" +libXext-devel_files += "/usr/include/X11/extensions/dpms.h" +libXext-devel_files += "/usr/include/X11/extensions/extutil.h" +libXext-devel_files += "/usr/include/X11/extensions/multibuf.h" +libXext-devel_files += "/usr/include/X11/extensions/security.h" +libXext-devel_files += "/usr/include/X11/extensions/shape.h" +libXext-devel_files += "/usr/include/X11/extensions/sync.h" +libXext-devel_files += "/usr/include/X11/extensions/xtestext1.h" +libXext-devel_files += "/usr/lib/libXext.so" +libXext-devel_files += "/usr/lib/pkgconfig/xext.pc" + +FILES_${PN} = "${libXext_files}" +FILES_${PN}-devel = "${libXext-devel_files}" + +PKG_libXext= "libXext" +PKG_libXext-devel= "libXext-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXext-rdepends.inc +require libXext-depends.inc +require libXext-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXfixes/libXfixes-extraconf.inc b/meta-tizen/recipes-tizen/libXfixes/libXfixes-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXfixes/libXfixes.inc b/meta-tizen/recipes-tizen/libXfixes/libXfixes.inc new file mode 100644 index 0000000..da82e36 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXfixes/libXfixes.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X Fixes library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXfixes" +PACKAGES += "libXfixes-devel" + +libXfixes_files = "" +libXfixes_files += "libXfixes.manifest" +libXfixes_files += "/usr/lib/libXfixes.so.3" +libXfixes_files += "/usr/lib/libXfixes.so.3.1.0" + +libXfixes-devel_files = "" +libXfixes-devel_files += "libXfixes.manifest" +libXfixes-devel_files += "/usr/include/X11/extensions/Xfixes.h" +libXfixes-devel_files += "/usr/lib/libXfixes.so" +libXfixes-devel_files += "/usr/lib/pkgconfig/xfixes.pc" + +FILES_${PN} = "${libXfixes_files}" +FILES_${PN}-devel = "${libXfixes-devel_files}" + +PKG_libXfixes= "libXfixes" +PKG_libXfixes-devel= "libXfixes-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXfixes-rdepends.inc +require libXfixes-depends.inc +require libXfixes-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXfont/libXfont-extraconf.inc b/meta-tizen/recipes-tizen/libXfont/libXfont-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXfont/libXfont-native_git.bb b/meta-tizen/recipes-tizen/libXfont/libXfont-native_git.bb new file mode 100644 index 0000000..ef42941 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXfont/libXfont-native_git.bb @@ -0,0 +1,12 @@ +require libXfont.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXfont;protocol=ssh;tag=61bd1c9662de2a43d07d2def2d22545a1b442857;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXfont/libXfont.inc b/meta-tizen/recipes-tizen/libXfont/libXfont.inc new file mode 100644 index 0000000..247ee2b --- /dev/null +++ b/meta-tizen/recipes-tizen/libXfont/libXfont.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "X font handling library for server and utilities" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libXfont +PROVIDES += "libXfont" +RPROVIDES_libXfont += "libXfont" + +#PROVIDES by libXfont-devel +PROVIDES += "libXfont-devel" +RPROVIDES_libXfont-devel += "libXfont-devel" +RPROVIDES_libXfont-devel += "libXfont-dev" + +RDEPENDS = "" +#RDEPENDS of libXfont-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libXfont" + + +DEPENDS = "" +#DEPENDS of libXfont +DEPENDS += "zlib-devel" +DEPENDS += "freetype2" +DEPENDS += "pkgconfig(xtrans)" +DEPENDS += "pkgconfig(xorg-macros)" +DEPENDS += "pkgconfig(fontsproto)" +DEPENDS += "pkgconfig(fontenc)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xproto)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libXfont.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-fc --enable-builtins --enable-pcfformat --enable-bdfformat --without-bzip2 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libXfont" +PACKAGES += "libXfont-devel" + +libXfont_files = "" +libXfont_files += "libXfont.manifest" +libXfont_files += "/usr/lib/libXfont.so.1*" + +libXfont-devel_files = "" +libXfont-devel_files += "libXfont.manifest" +libXfont-devel_files += "/usr/include/X11/*" +libXfont-devel_files += "/usr/lib/libXfont.so" +libXfont-devel_files += "/usr/lib/pkgconfig/xfont.pc" + +FILES_${PN} = "${libXfont_files}" +FILES_${PN}-devel = "${libXfont-devel_files}" + +PKG_libXfont= "libXfont" +PKG_libXfont-devel= "libXfont-devel" + +require libXfont-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXfont/libXfont_git.bb b/meta-tizen/recipes-tizen/libXfont/libXfont_git.bb new file mode 100644 index 0000000..49646ee --- /dev/null +++ b/meta-tizen/recipes-tizen/libXfont/libXfont_git.bb @@ -0,0 +1,8 @@ +require libXfont.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libXfont;protocol=ssh;tag=61bd1c9662de2a43d07d2def2d22545a1b442857;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libXfontcache/libXfontcache-extraconf.inc b/meta-tizen/recipes-tizen/libXfontcache/libXfontcache-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXfontcache/libXfontcache.inc b/meta-tizen/recipes-tizen/libXfontcache/libXfontcache.inc new file mode 100644 index 0000000..d859239 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXfontcache/libXfontcache.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "X TrueType font cache extension client library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXfontcache" +PACKAGES += "libXfontcache-devel" + +libXfontcache_files = "" +libXfontcache_files += "libXfontcache.manifest" +libXfontcache_files += "/usr/lib/libXfontcache.so.1*" + +libXfontcache-devel_files = "" +libXfontcache-devel_files += "libXfontcache.manifest" +libXfontcache-devel_files += "/usr/lib/libXfontcache.so" +libXfontcache-devel_files += "/usr/lib/pkgconfig/xfontcache.pc" +libXfontcache-devel_files += "/usr/share/man/man3/*" + +FILES_${PN} = "${libXfontcache_files}" +FILES_${PN}-devel = "${libXfontcache-devel_files}" + +PKG_libXfontcache= "libXfontcache" +PKG_libXfontcache-devel= "libXfontcache-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXfontcache-rdepends.inc +require libXfontcache-depends.inc +require libXfontcache-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXft/libXft-extraconf.inc b/meta-tizen/recipes-tizen/libXft/libXft-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXft/libXft.inc b/meta-tizen/recipes-tizen/libXft/libXft.inc new file mode 100644 index 0000000..2c8cb50 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXft/libXft.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X FreeType library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXft-devel" +PACKAGES += "libXft" + +libXft-devel_files = "" +libXft-devel_files += "libXft.manifest" +libXft-devel_files += "/usr/include/X11/Xft" +libXft-devel_files += "/usr/lib/libXft.so" +libXft-devel_files += "/usr/lib/pkgconfig/xft.pc" +libXft-devel_files += "/usr/share/man/man3/*" + +libXft_files = "" +libXft_files += "libXft.manifest" +libXft_files += "/usr/lib/libXft.so.2*" + +FILES_${PN}-devel = "${libXft-devel_files}" +FILES_${PN} = "${libXft_files}" + +PKG_libXft-devel= "libXft-devel" +PKG_libXft= "libXft" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXft-rdepends.inc +require libXft-depends.inc +require libXft-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXgesture/libXgesture-extraconf.inc b/meta-tizen/recipes-tizen/libXgesture/libXgesture-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXgesture/libXgesture.inc b/meta-tizen/recipes-tizen/libXgesture/libXgesture.inc new file mode 100644 index 0000000..c335231 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXgesture/libXgesture.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "X11 Gesture Extension library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXgesture-devel" +PACKAGES += "libXgesture" + +libXgesture-devel_files = "" +libXgesture-devel_files += "libXgesture.manifest" +libXgesture-devel_files += "/usr/include/X11/extensions/*" +libXgesture-devel_files += "/usr/lib/libXgesture.so" +libXgesture-devel_files += "/usr/lib/pkgconfig/xgesture.pc" + +libXgesture_files = "" +libXgesture_files += "libXgesture.manifest" +libXgesture_files += "/usr/lib/libXgesture.so.*" + +FILES_${PN}-devel = "${libXgesture-devel_files}" +FILES_${PN} = "${libXgesture_files}" + +PKG_libXgesture-devel= "libXgesture-devel" +PKG_libXgesture= "libXgesture" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXgesture-rdepends.inc +require libXgesture-depends.inc +require libXgesture-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXi/libXi-extraconf.inc b/meta-tizen/recipes-tizen/libXi/libXi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXi/libXi.inc b/meta-tizen/recipes-tizen/libXi/libXi.inc new file mode 100644 index 0000000..ec6af84 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXi/libXi.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "X.org libXi Client library for XInput." +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXi" +PACKAGES += "libXi-devel" + +libXi_files = "" +libXi_files += "libXi.manifest" +libXi_files += "/usr/lib/libXi.so.6" +libXi_files += "/usr/lib/libXi.so.6.1.0" + +libXi-devel_files = "" +libXi-devel_files += "libXi.manifest" +libXi-devel_files += "/usr/include/X11/extensions/XInput.h" +libXi-devel_files += "/usr/include/X11/extensions/XInput2.h" +libXi-devel_files += "/usr/lib/libXi.so" +libXi-devel_files += "/usr/lib/pkgconfig/xi.pc" + +FILES_${PN} = "${libXi_files}" +FILES_${PN}-devel = "${libXi-devel_files}" + +PKG_libXi= "libXi" +PKG_libXi-devel= "libXi-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXi-rdepends.inc +require libXi-depends.inc +require libXi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXinerama/libXinerama-extraconf.inc b/meta-tizen/recipes-tizen/libXinerama/libXinerama-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXinerama/libXinerama.inc b/meta-tizen/recipes-tizen/libXinerama/libXinerama.inc new file mode 100644 index 0000000..d14f299 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXinerama/libXinerama.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Xinerama protocol library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXinerama" +PACKAGES += "libXinerama-devel" + +libXinerama_files = "" +libXinerama_files += "libXinerama.manifest" +libXinerama_files += "/usr/lib/libXinerama.so.1" +libXinerama_files += "/usr/lib/libXinerama.so.1.0.0" + +libXinerama-devel_files = "" +libXinerama-devel_files += "libXinerama.manifest" +libXinerama-devel_files += "/usr/lib/libXinerama.so" +libXinerama-devel_files += "/usr/lib/pkgconfig/xinerama.pc" +libXinerama-devel_files += "/usr/include/X11/extensions/Xinerama.h" +libXinerama-devel_files += "/usr/include/X11/extensions/panoramiXext.h" + +FILES_${PN} = "${libXinerama_files}" +FILES_${PN}-devel = "${libXinerama-devel_files}" + +PKG_libXinerama= "libXinerama" +PKG_libXinerama-devel= "libXinerama-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXinerama-rdepends.inc +require libXinerama-depends.inc +require libXinerama-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXmu/libXmu-extraconf.inc b/meta-tizen/recipes-tizen/libXmu/libXmu-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXmu/libXmu.inc b/meta-tizen/recipes-tizen/libXmu/libXmu.inc new file mode 100644 index 0000000..79706b6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXmu/libXmu.inc @@ -0,0 +1,64 @@ +DESCRIPTION = "X.org Xmu library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXmu-devel" +PACKAGES += "libXmu" + +libXmu-devel_files = "" +libXmu-devel_files += "libXmu.manifest" +libXmu-devel_files += "/usr/include/X11/Xmu" +libXmu-devel_files += "/usr/include/X11/Xmu/Atoms.h" +libXmu-devel_files += "/usr/include/X11/Xmu/CharSet.h" +libXmu-devel_files += "/usr/include/X11/Xmu/CloseHook.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Converters.h" +libXmu-devel_files += "/usr/include/X11/Xmu/CurUtil.h" +libXmu-devel_files += "/usr/include/X11/Xmu/CvtCache.h" +libXmu-devel_files += "/usr/include/X11/Xmu/DisplayQue.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Drawing.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Editres.h" +libXmu-devel_files += "/usr/include/X11/Xmu/EditresP.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Error.h" +libXmu-devel_files += "/usr/include/X11/Xmu/ExtAgent.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Initer.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Lookup.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Misc.h" +libXmu-devel_files += "/usr/include/X11/Xmu/StdCmap.h" +libXmu-devel_files += "/usr/include/X11/Xmu/StdSel.h" +libXmu-devel_files += "/usr/include/X11/Xmu/SysUtil.h" +libXmu-devel_files += "/usr/include/X11/Xmu/WhitePoint.h" +libXmu-devel_files += "/usr/include/X11/Xmu/WidgetNode.h" +libXmu-devel_files += "/usr/include/X11/Xmu/WinUtil.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Xct.h" +libXmu-devel_files += "/usr/include/X11/Xmu/Xmu.h" +libXmu-devel_files += "/usr/lib/libXmu.so" +libXmu-devel_files += "/usr/lib/libXmuu.so" +libXmu-devel_files += "/usr/lib/pkgconfig/xmu.pc" +libXmu-devel_files += "/usr/lib/pkgconfig/xmuu.pc" + +libXmu_files = "" +libXmu_files += "libXmu.manifest" +libXmu_files += "/usr/lib/libXmu.so.6" +libXmu_files += "/usr/lib/libXmu.so.6.2.0" +libXmu_files += "/usr/lib/libXmuu.so.1" +libXmu_files += "/usr/lib/libXmuu.so.1.0.0" + +FILES_${PN}-devel = "${libXmu-devel_files}" +FILES_${PN} = "${libXmu_files}" + +PKG_libXmu-devel= "libXmu-devel" +PKG_libXmu= "libXmu" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXmu-rdepends.inc +require libXmu-depends.inc +require libXmu-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXpm/libXpm-extraconf.inc b/meta-tizen/recipes-tizen/libXpm/libXpm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXpm/libXpm.inc b/meta-tizen/recipes-tizen/libXpm/libXpm.inc new file mode 100644 index 0000000..cd15017 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXpm/libXpm.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "XPM format pixmap library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXpm" +PACKAGES += "libXpm-devel" + +libXpm_files = "" +libXpm_files += "libXpm.manifest" +libXpm_files += "/usr/lib/libXpm.so.4" +libXpm_files += "/usr/lib/libXpm.so.4.11.0" + +libXpm-devel_files = "" +libXpm-devel_files += "libXpm.manifest" +libXpm-devel_files += "/usr/bin/cxpm" +libXpm-devel_files += "/usr/bin/sxpm" +libXpm-devel_files += "/usr/include/X11/xpm.h" +libXpm-devel_files += "/usr/lib/libXpm.so" +libXpm-devel_files += "/usr/lib/pkgconfig/xpm.pc" + +FILES_${PN} = "${libXpm_files}" +FILES_${PN}-devel = "${libXpm-devel_files}" + +PKG_libXpm= "libXpm" +PKG_libXpm-devel= "libXpm-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXpm-rdepends.inc +require libXpm-depends.inc +require libXpm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXrandr/libXrandr-extraconf.inc b/meta-tizen/recipes-tizen/libXrandr/libXrandr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXrandr/libXrandr.inc b/meta-tizen/recipes-tizen/libXrandr/libXrandr.inc new file mode 100644 index 0000000..a91ca5a --- /dev/null +++ b/meta-tizen/recipes-tizen/libXrandr/libXrandr.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X Resize and Rotate Extension C Library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXrandr" +PACKAGES += "libXrandr-devel" + +libXrandr_files = "" +libXrandr_files += "libXrandr.manifest" +libXrandr_files += "/usr/lib/libXrandr.so.2" +libXrandr_files += "/usr/lib/libXrandr.so.2.2.0" + +libXrandr-devel_files = "" +libXrandr-devel_files += "libXrandr.manifest" +libXrandr-devel_files += "/usr/include/X11/extensions/Xrandr.h" +libXrandr-devel_files += "/usr/lib/libXrandr.so" +libXrandr-devel_files += "/usr/lib/pkgconfig/xrandr.pc" + +FILES_${PN} = "${libXrandr_files}" +FILES_${PN}-devel = "${libXrandr-devel_files}" + +PKG_libXrandr= "libXrandr" +PKG_libXrandr-devel= "libXrandr-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXrandr-rdepends.inc +require libXrandr-depends.inc +require libXrandr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXrender/libXrender-extraconf.inc b/meta-tizen/recipes-tizen/libXrender/libXrender-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXrender/libXrender.inc b/meta-tizen/recipes-tizen/libXrender/libXrender.inc new file mode 100644 index 0000000..7e7db32 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXrender/libXrender.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X Rendering Extension library" +HOMEPAGE = "http://cgit.freedesktop.org/xorg/lib/libXrender/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXrender-devel" +PACKAGES += "libXrender" + +libXrender-devel_files = "" +libXrender-devel_files += "libXrender.manifest" +libXrender-devel_files += "/usr/include/X11/*" +libXrender-devel_files += "/usr/lib/libXrender.so" +libXrender-devel_files += "/usr/lib/pkgconfig/xrender.pc" +libXrender-devel_files += "/usr/share/doc/packages/libXrender" + +libXrender_files = "" +libXrender_files += "libXrender.manifest" +libXrender_files += "/usr/lib/libXrender.so.1*" + +FILES_${PN}-devel = "${libXrender-devel_files}" +FILES_${PN} = "${libXrender_files}" + +PKG_libXrender-devel= "libXrender-devel" +PKG_libXrender= "libXrender" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXrender-rdepends.inc +require libXrender-depends.inc +require libXrender-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXres/libXres-extraconf.inc b/meta-tizen/recipes-tizen/libXres/libXres-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXres/libXres.inc b/meta-tizen/recipes-tizen/libXres/libXres.inc new file mode 100644 index 0000000..a4f5fd9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXres/libXres.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X-Resource extension client library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXres-devel" +PACKAGES += "libXres" + +libXres-devel_files = "" +libXres-devel_files += "libXres.manifest" +libXres-devel_files += "/usr/include/X11/extensions/XRes.h" +libXres-devel_files += "/usr/lib/libXRes.so" +libXres-devel_files += "/usr/lib/pkgconfig/xres.pc" + +libXres_files = "" +libXres_files += "libXres.manifest" +libXres_files += "/usr/lib/libXRes.so.1" +libXres_files += "/usr/lib/libXRes.so.1.0.0" + +FILES_${PN}-devel = "${libXres-devel_files}" +FILES_${PN} = "${libXres_files}" + +PKG_libXres-devel= "libXres-devel" +PKG_libXres= "libXres" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXres-rdepends.inc +require libXres-depends.inc +require libXres-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXt/libXt-extraconf.inc b/meta-tizen/recipes-tizen/libXt/libXt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXt/libXt.inc b/meta-tizen/recipes-tizen/libXt/libXt.inc new file mode 100644 index 0000000..5e05704 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXt/libXt.inc @@ -0,0 +1,70 @@ +DESCRIPTION = "X Toolkit Intrinsics library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXt-devel" +PACKAGES += "libXt" + +libXt-devel_files = "" +libXt-devel_files += "libXt.manifest" +libXt-devel_files += "/usr/include/X11/CallbackI.h" +libXt-devel_files += "/usr/include/X11/Composite.h" +libXt-devel_files += "/usr/include/X11/CompositeP.h" +libXt-devel_files += "/usr/include/X11/ConstrainP.h" +libXt-devel_files += "/usr/include/X11/Constraint.h" +libXt-devel_files += "/usr/include/X11/ConvertI.h" +libXt-devel_files += "/usr/include/X11/Core.h" +libXt-devel_files += "/usr/include/X11/CoreP.h" +libXt-devel_files += "/usr/include/X11/CreateI.h" +libXt-devel_files += "/usr/include/X11/EventI.h" +libXt-devel_files += "/usr/include/X11/HookObjI.h" +libXt-devel_files += "/usr/include/X11/InitialI.h" +libXt-devel_files += "/usr/include/X11/Intrinsic.h" +libXt-devel_files += "/usr/include/X11/IntrinsicI.h" +libXt-devel_files += "/usr/include/X11/IntrinsicP.h" +libXt-devel_files += "/usr/include/X11/Object.h" +libXt-devel_files += "/usr/include/X11/ObjectP.h" +libXt-devel_files += "/usr/include/X11/PassivGraI.h" +libXt-devel_files += "/usr/include/X11/RectObj.h" +libXt-devel_files += "/usr/include/X11/RectObjP.h" +libXt-devel_files += "/usr/include/X11/ResConfigP.h" +libXt-devel_files += "/usr/include/X11/ResourceI.h" +libXt-devel_files += "/usr/include/X11/SelectionI.h" +libXt-devel_files += "/usr/include/X11/Shell.h" +libXt-devel_files += "/usr/include/X11/ShellI.h" +libXt-devel_files += "/usr/include/X11/ShellP.h" +libXt-devel_files += "/usr/include/X11/StringDefs.h" +libXt-devel_files += "/usr/include/X11/ThreadsI.h" +libXt-devel_files += "/usr/include/X11/TranslateI.h" +libXt-devel_files += "/usr/include/X11/VarargsI.h" +libXt-devel_files += "/usr/include/X11/Vendor.h" +libXt-devel_files += "/usr/include/X11/VendorP.h" +libXt-devel_files += "/usr/include/X11/Xtos.h" +libXt-devel_files += "/usr/lib/libXt.so" +libXt-devel_files += "/usr/lib/pkgconfig/xt.pc" + +libXt_files = "" +libXt_files += "libXt.manifest" +libXt_files += "/usr/lib/libXt.so.6" +libXt_files += "/usr/lib/libXt.so.6.0.0" +libXt_files += "/usr/share/X11/app-defaults" + +FILES_${PN}-devel = "${libXt-devel_files}" +FILES_${PN} = "${libXt_files}" + +PKG_libXt-devel= "libXt-devel" +PKG_libXt= "libXt" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXt-rdepends.inc +require libXt-depends.inc +require libXt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXtst/libXtst-extraconf.inc b/meta-tizen/recipes-tizen/libXtst/libXtst-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXtst/libXtst.inc b/meta-tizen/recipes-tizen/libXtst/libXtst.inc new file mode 100644 index 0000000..1255472 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXtst/libXtst.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Xlib-based client API for the XTEST and RECORD extensions" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXtst" +PACKAGES += "libXtst-devel" + +libXtst_files = "" +libXtst_files += "libXtst.manifest" +libXtst_files += "/usr/lib/libXtst.so.6*" + +libXtst-devel_files = "" +libXtst-devel_files += "libXtst.manifest" +libXtst-devel_files += "/usr/include/X11/*" +libXtst-devel_files += "/usr/lib/libXtst.so" +libXtst-devel_files += "/usr/lib/pkgconfig/xtst.pc" + +FILES_${PN} = "${libXtst_files}" +FILES_${PN}-devel = "${libXtst-devel_files}" + +PKG_libXtst= "libXtst" +PKG_libXtst-devel= "libXtst-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXtst-rdepends.inc +require libXtst-depends.inc +require libXtst-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXv/libXv-extraconf.inc b/meta-tizen/recipes-tizen/libXv/libXv-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXv/libXv.inc b/meta-tizen/recipes-tizen/libXv/libXv.inc new file mode 100644 index 0000000..03a996d --- /dev/null +++ b/meta-tizen/recipes-tizen/libXv/libXv.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Xvideo extension library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXv-devel" +PACKAGES += "libXv" + +libXv-devel_files = "" +libXv-devel_files += "libXv.manifest" +libXv-devel_files += "man/xv-library-v2.2.txt" +libXv-devel_files += "/usr/include/X11/extensions/Xvlib.h" +libXv-devel_files += "/usr/lib/libXv.so" +libXv-devel_files += "/usr/lib/pkgconfig/xv.pc" + +libXv_files = "" +libXv_files += "libXv.manifest" +libXv_files += "/usr/lib/libXv.so.1" +libXv_files += "/usr/lib/libXv.so.1.0.0" + +FILES_${PN}-devel = "${libXv-devel_files}" +FILES_${PN} = "${libXv_files}" + +PKG_libXv-devel= "libXv-devel" +PKG_libXv= "libXv" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXv-rdepends.inc +require libXv-depends.inc +require libXv-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXvMC/libXvMC-extraconf.inc b/meta-tizen/recipes-tizen/libXvMC/libXvMC-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXvMC/libXvMC.inc b/meta-tizen/recipes-tizen/libXvMC/libXvMC.inc new file mode 100644 index 0000000..6107796 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXvMC/libXvMC.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "X-Video Motion Compensation library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXvMC" +PACKAGES += "libXvMC-devel" + +libXvMC_files = "" +libXvMC_files += "libXvMC.manifest" +libXvMC_files += "/usr/lib/libXvMC*.so.1*" + +libXvMC-devel_files = "" +libXvMC-devel_files += "libXvMC.manifest" +libXvMC-devel_files += "/usr/include/X11/*" +libXvMC-devel_files += "/usr/lib/libXvMC*.so" +libXvMC-devel_files += "/usr/lib/pkgconfig/xvmc.pc" + +FILES_${PN} = "${libXvMC_files}" +FILES_${PN}-devel = "${libXvMC-devel_files}" + +PKG_libXvMC= "libXvMC" +PKG_libXvMC-devel= "libXvMC-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXvMC-rdepends.inc +require libXvMC-depends.inc +require libXvMC-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga-extraconf.inc b/meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga.inc b/meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga.inc new file mode 100644 index 0000000..bd41aed --- /dev/null +++ b/meta-tizen/recipes-tizen/libXxf86dga/libXxf86dga.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "X.Org X11 libXxf86dga runtime library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXxf86dga-devel" +PACKAGES += "libXxf86dga" + +libXxf86dga-devel_files = "" +libXxf86dga-devel_files += "libXxf86dga.manifest" +libXxf86dga-devel_files += "/usr/lib/libXxf86dga.so" +libXxf86dga-devel_files += "/usr/lib/pkgconfig/xxf86dga.pc" +libXxf86dga-devel_files += "/usr/include/X11/extensions/xf86dga1.h" +libXxf86dga-devel_files += "/usr/include/X11/extensions/Xxf86dga.h" + +libXxf86dga_files = "" +libXxf86dga_files += "libXxf86dga.manifest" +libXxf86dga_files += "/usr/lib/libXxf86dga.so.1" +libXxf86dga_files += "/usr/lib/libXxf86dga.so.1.0.0" + +FILES_${PN}-devel = "${libXxf86dga-devel_files}" +FILES_${PN} = "${libXxf86dga_files}" + +PKG_libXxf86dga-devel= "libXxf86dga-devel" +PKG_libXxf86dga= "libXxf86dga" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXxf86dga-rdepends.inc +require libXxf86dga-depends.inc +require libXxf86dga-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc-extraconf.inc b/meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc.inc b/meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc.inc new file mode 100644 index 0000000..ac3e2a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXxf86misc/libXxf86misc.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X11 XFree86 miscellaneous extension library" +HOMEPAGE = "http://www.x.org/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXxf86misc-devel" +PACKAGES += "libXxf86misc" + +libXxf86misc-devel_files = "" +libXxf86misc-devel_files += "libXxf86misc.manifest" +libXxf86misc-devel_files += "/usr/lib/libXxf86misc.so" +libXxf86misc-devel_files += "/usr/lib/pkgconfig/xxf86misc.pc" +libXxf86misc-devel_files += "/usr/share/man/man3/*.3*" + +libXxf86misc_files = "" +libXxf86misc_files += "libXxf86misc.manifest" +libXxf86misc_files += "/usr/lib/libXxf86misc.so.1" +libXxf86misc_files += "/usr/lib/libXxf86misc.so.1.1.0" + +FILES_${PN}-devel = "${libXxf86misc-devel_files}" +FILES_${PN} = "${libXxf86misc_files}" + +PKG_libXxf86misc-devel= "libXxf86misc-devel" +PKG_libXxf86misc= "libXxf86misc" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXxf86misc-rdepends.inc +require libXxf86misc-depends.inc +require libXxf86misc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm-extraconf.inc b/meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm.inc b/meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm.inc new file mode 100644 index 0000000..d3de6a5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libXxf86vm/libXxf86vm.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X.org libXxf86vm library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libXxf86vm-devel" +PACKAGES += "libXxf86vm" + +libXxf86vm-devel_files = "" +libXxf86vm-devel_files += "libXxf86vm.manifest" +libXxf86vm-devel_files += "/usr/lib/libXxf86vm.so" +libXxf86vm-devel_files += "/usr/lib/pkgconfig/xxf86vm.pc" +libXxf86vm-devel_files += "/usr/include/X11/extensions/xf86vmode.h" + +libXxf86vm_files = "" +libXxf86vm_files += "libXxf86vm.manifest" +libXxf86vm_files += "/usr/lib/libXxf86vm.so.1" +libXxf86vm_files += "/usr/lib/libXxf86vm.so.1.0.0" + +FILES_${PN}-devel = "${libXxf86vm-devel_files}" +FILES_${PN} = "${libXxf86vm_files}" + +PKG_libXxf86vm-devel= "libXxf86vm-devel" +PKG_libXxf86vm= "libXxf86vm" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libXxf86vm-rdepends.inc +require libXxf86vm-depends.inc +require libXxf86vm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-native_git.bb b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-native_git.bb new file mode 100644 index 0000000..75e559d --- /dev/null +++ b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc-native_git.bb @@ -0,0 +1,12 @@ +require libaccounts-svc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/libaccounts-svc;protocol=ssh;tag=61b98be83d118af2bcfc25c6e16f2e7dbcf77720;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc.inc b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc.inc new file mode 100644 index 0000000..a50287c --- /dev/null +++ b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Account DB library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libaccounts-svc +PROVIDES += "libaccounts-svc" +RPROVIDES_libaccounts-svc += "libaccounts-svc" + +#PROVIDES by libaccounts-svc-devel +PROVIDES += "libaccounts-svc-devel" +RPROVIDES_libaccounts-svc-devel += "libaccounts-svc-devel" +RPROVIDES_libaccounts-svc-devel += "libaccounts-svc-dev" + +RDEPENDS = "" +#RDEPENDS of libaccounts-svc (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of libaccounts-svc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libaccounts-svc" + + +DEPENDS = "" +#DEPENDS of libaccounts-svc +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(db-util)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libaccounts-svc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/lib/accounts-svc + + +} + +PACKAGES = "" +PACKAGES += "libaccounts-svc" +PACKAGES += "libaccounts-svc-devel" + +libaccounts-svc_files = "" +libaccounts-svc_files += "libaccounts-svc.manifest" +libaccounts-svc_files += "/usr/lib/*.so.*" +libaccounts-svc_files += "/usr/bin/account-xml-verify" + +libaccounts-svc-devel_files = "" +libaccounts-svc-devel_files += "libaccounts-svc.manifest" +libaccounts-svc-devel_files += "/usr/lib/*.so" +libaccounts-svc-devel_files += "/usr/lib/pkgconfig/accounts-svc.pc" +libaccounts-svc-devel_files += "/usr/include/*.h" +libaccounts-svc-devel_files += "/usr/bin/account-xml-verify" + +FILES_${PN} = "${libaccounts-svc_files}" +FILES_${PN}-devel = "${libaccounts-svc-devel_files}" + +PKG_libaccounts-svc= "libaccounts-svc" +PKG_libaccounts-svc-devel= "libaccounts-svc-devel" + +require libaccounts-svc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb new file mode 100644 index 0000000..b21d67e --- /dev/null +++ b/meta-tizen/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb @@ -0,0 +1,8 @@ +require libaccounts-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/libaccounts-svc;protocol=ssh;tag=61b98be83d118af2bcfc25c6e16f2e7dbcf77720;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libaio/libaio-extraconf.inc b/meta-tizen/recipes-tizen/libaio/libaio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libaio/libaio-native_git.bb b/meta-tizen/recipes-tizen/libaio/libaio-native_git.bb new file mode 100644 index 0000000..1726916 --- /dev/null +++ b/meta-tizen/recipes-tizen/libaio/libaio-native_git.bb @@ -0,0 +1,12 @@ +require libaio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libaio;protocol=ssh;tag=1e88bacb553998d2c3cc95e6916a55cb88c3ff56;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libaio/libaio.inc b/meta-tizen/recipes-tizen/libaio/libaio.inc new file mode 100644 index 0000000..09274be --- /dev/null +++ b/meta-tizen/recipes-tizen/libaio/libaio.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Linux-Native Asynchronous I/O Access Library" +HOMEPAGE = "http://kernel.org/pub/linux/libs/aio/" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libaio +PROVIDES += "libaio" +RPROVIDES_libaio += "libaio" + +#PROVIDES by libaio-devel +PROVIDES += "libaio-devel" +RPROVIDES_libaio-devel += "libaio-devel" +RPROVIDES_libaio-devel += "libaio-dev" + +RDEPENDS = "" +#RDEPENDS of libaio-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libaio" +RDEPENDS_${PN}-devel += "glibc-dev" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libaio.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 CC="${HOST_SYS}-gcc" OPTFLAGS="$RPM_OPT_FLAGS" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install prefix=${D}/usr libdir=${D}/lib + rm -f "${D}//usr/lib"/*.a + # Strip dumb /usr/src/... off + t=$(readlink -f "${D}/lib/libaio.so.1") + ln -fs "${t##*/}" "${D}/lib/libaio.so.1" + t=$(readlink -f "${D}//usr/lib/libaio.so") + ln -fs "${t#${D}}" "${D}//usr/lib/libaio.so" + + +} + +PACKAGES = "" +PACKAGES += "libaio" +PACKAGES += "libaio-devel" + +libaio_files = "" +libaio_files += "libaio.manifest" + +libaio-devel_files = "" +libaio-devel_files += "libaio.manifest" +libaio-devel_files += "/usr/include/libaio.h" +libaio-devel_files += "/usr/lib/libaio.so" + +FILES_${PN} = "${libaio_files}" +FILES_${PN}-devel = "${libaio-devel_files}" + +PKG_libaio= "libaio" +PKG_libaio-devel= "libaio-devel" + +require libaio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libaio/libaio_git.bb b/meta-tizen/recipes-tizen/libaio/libaio_git.bb new file mode 100644 index 0000000..c0f911e --- /dev/null +++ b/meta-tizen/recipes-tizen/libaio/libaio_git.bb @@ -0,0 +1,8 @@ +require libaio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libaio;protocol=ssh;tag=1e88bacb553998d2c3cc95e6916a55cb88c3ff56;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libarchive/libarchive-extraconf.inc b/meta-tizen/recipes-tizen/libarchive/libarchive-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libarchive/libarchive-native_git.bb b/meta-tizen/recipes-tizen/libarchive/libarchive-native_git.bb new file mode 100644 index 0000000..834af1a --- /dev/null +++ b/meta-tizen/recipes-tizen/libarchive/libarchive-native_git.bb @@ -0,0 +1,12 @@ +require libarchive.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libarchive;protocol=ssh;tag=ba2e8d039bc53e80ac9ea8ee6415b8277c9e3796;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libarchive/libarchive.inc b/meta-tizen/recipes-tizen/libarchive/libarchive.inc new file mode 100644 index 0000000..bd02563 --- /dev/null +++ b/meta-tizen/recipes-tizen/libarchive/libarchive.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "A library for handling streaming archive formats" +HOMEPAGE = "http://code.google.com/p/libarchive/" +SECTION = "System/Libraries" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libarchive-tools +PROVIDES += "libarchive-tools" +RPROVIDES_libarchive-tools += "libarchive-tools" + +#PROVIDES by libarchive-devel +PROVIDES += "libarchive-devel" +RPROVIDES_libarchive-devel += "libarchive-devel" +RPROVIDES_libarchive-devel += "libarchive-dev" + +#PROVIDES by libarchive +PROVIDES += "libarchive" +RPROVIDES_libarchive += "libarchive" + +RDEPENDS = "" +#RDEPENDS of libarchive-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libarchive" + +#RDEPENDS of libarchive-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libarchive" + + +DEPENDS = "" +#DEPENDS of libarchive +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "attr" +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "e2fsprogs" +DEPENDS += "acl" +DEPENDS += "bison-native" +DEPENDS += "pkgconfig(liblzma)" +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" +DEPENDS += "automake-native" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libarchive.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 -D_REENTRANT -pipe}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_REENTRANT -pipe}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_REENTRANT -pipe -I%_fmoddir}" ; export FFLAGS ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-bsdcpio + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + find ${D} -name cpio.5 -exec rm -f {} ';' + find ${D} -name mtree.5 -exec rm -f {} ';' + find ${D} -name tar.5 -exec rm -f {} ';' + + +} + +PACKAGES = "" +PACKAGES += "libarchive-tools" +PACKAGES += "libarchive-devel" +PACKAGES += "libarchive" + +libarchive-tools_files = "" +libarchive-tools_files += "/usr/bin/bsdcpio" +libarchive-tools_files += "/usr/bin/bsdtar" + +libarchive-devel_files = "" +libarchive-devel_files += "libarchive.manifest" +libarchive-devel_files += "/usr/include/*" +libarchive-devel_files += "/usr/share/man/*/*" +libarchive-devel_files += "/usr/lib/*.so" +libarchive-devel_files += "/usr/lib/pkgconfig/*" + +libarchive_files = "" +libarchive_files += "libarchive.manifest" +libarchive_files += "/usr/lib/*.so.*" + +FILES_${PN}-tools = "${libarchive-tools_files}" +FILES_${PN}-devel = "${libarchive-devel_files}" +FILES_${PN} = "${libarchive_files}" + +PKG_libarchive-tools= "libarchive-tools" +PKG_libarchive-devel= "libarchive-devel" +PKG_libarchive= "libarchive" + +require libarchive-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libarchive/libarchive_git.bb b/meta-tizen/recipes-tizen/libarchive/libarchive_git.bb new file mode 100644 index 0000000..aaf07dd --- /dev/null +++ b/meta-tizen/recipes-tizen/libarchive/libarchive_git.bb @@ -0,0 +1,8 @@ +require libarchive.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libarchive;protocol=ssh;tag=ba2e8d039bc53e80ac9ea8ee6415b8277c9e3796;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libassuan/libassuan-extraconf.inc b/meta-tizen/recipes-tizen/libassuan/libassuan-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libassuan/libassuan-native_git.bb b/meta-tizen/recipes-tizen/libassuan/libassuan-native_git.bb new file mode 100644 index 0000000..b85b79d --- /dev/null +++ b/meta-tizen/recipes-tizen/libassuan/libassuan-native_git.bb @@ -0,0 +1,12 @@ +require libassuan.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libassuan;protocol=ssh;tag=c6911a3533869997b3e030787e4749dc0508f52f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libassuan/libassuan.inc b/meta-tizen/recipes-tizen/libassuan/libassuan.inc new file mode 100644 index 0000000..bc405b4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libassuan/libassuan.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "IPC library used by GnuPG version 2" +HOMEPAGE = "http://www.gnupg.org/aegypten2/index.html" +SECTION = "Security/Libraries" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libassuan +PROVIDES += "libassuan" +RPROVIDES_libassuan += "libassuan" + +#PROVIDES by libassuan-devel +PROVIDES += "libassuan-devel" +RPROVIDES_libassuan-devel += "libassuan-devel" +RPROVIDES_libassuan-devel += "libassuan-dev" + +RDEPENDS = "" +#RDEPENDS of libassuan-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libgpg-error-dev" +RDEPENDS_${PN}-devel += "libassuan" + + +DEPENDS = "" +#DEPENDS of libassuan +DEPENDS += "libgpg-error-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libassuan.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Compile with PIC, library is linked into shared libraries: + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + export LDFLAGS="-fPIC" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libassuan" +PACKAGES += "libassuan-devel" + +libassuan_files = "" +libassuan_files += "libassuan.manifest" +libassuan_files += "GPL-2.0+ ; LGPL-2.1+ COPYING" +libassuan_files += "/usr/lib/libassuan.so.*" + +libassuan-devel_files = "" +libassuan-devel_files += "libassuan.manifest" +libassuan-devel_files += "/usr/share/info/assuan*" +libassuan-devel_files += "/usr/include/*.h" +libassuan-devel_files += "/usr/bin/*-config" +libassuan-devel_files += "/usr/share/aclocal" +libassuan-devel_files += "/usr/share/aclocal/*.m4" +libassuan-devel_files += "/usr/lib/libassuan.so" + +FILES_${PN} = "${libassuan_files}" +FILES_${PN}-devel = "${libassuan-devel_files}" + +PKG_libassuan= "libassuan" +PKG_libassuan-devel= "libassuan-devel" + +require libassuan-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libassuan/libassuan_git.bb b/meta-tizen/recipes-tizen/libassuan/libassuan_git.bb new file mode 100644 index 0000000..9a9c572 --- /dev/null +++ b/meta-tizen/recipes-tizen/libassuan/libassuan_git.bb @@ -0,0 +1,8 @@ +require libassuan.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libassuan;protocol=ssh;tag=c6911a3533869997b3e030787e4749dc0508f52f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libasyncns/libasyncns-extraconf.inc b/meta-tizen/recipes-tizen/libasyncns/libasyncns-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libasyncns/libasyncns-native_git.bb b/meta-tizen/recipes-tizen/libasyncns/libasyncns-native_git.bb new file mode 100644 index 0000000..2df3ed2 --- /dev/null +++ b/meta-tizen/recipes-tizen/libasyncns/libasyncns-native_git.bb @@ -0,0 +1,12 @@ +require libasyncns.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libasyncns;protocol=ssh;tag=383115e0a8ad9456e9a1f08e6fb1b9d33740b055;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libasyncns/libasyncns.inc b/meta-tizen/recipes-tizen/libasyncns/libasyncns.inc new file mode 100644 index 0000000..677f7d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libasyncns/libasyncns.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "A C library for executing name service queries asynchronously" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libasyncns +PROVIDES += "libasyncns" +RPROVIDES_libasyncns += "libasyncns" + +#PROVIDES by libasyncns-devel +PROVIDES += "libasyncns-devel" +RPROVIDES_libasyncns-devel += "libasyncns-devel" +RPROVIDES_libasyncns-devel += "libasyncns-dev" + +RDEPENDS = "" +#RDEPENDS of libasyncns-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libasyncns" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libasyncns.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/share/doc + + + +} + +PACKAGES = "" +PACKAGES += "libasyncns" +PACKAGES += "libasyncns-devel" + +libasyncns_files = "" +libasyncns_files += "libasyncns.manifest" +libasyncns_files += "/usr/lib/libasyncns.so.*" + +libasyncns-devel_files = "" +libasyncns-devel_files += "libasyncns.manifest" +libasyncns-devel_files += "/usr/include/asyncns.h" +libasyncns-devel_files += "/usr/lib/libasyncns.so" +libasyncns-devel_files += "/usr/lib/pkgconfig/libasyncns.pc" + +FILES_${PN} = "${libasyncns_files}" +FILES_${PN}-devel = "${libasyncns-devel_files}" + +PKG_libasyncns= "libasyncns" +PKG_libasyncns-devel= "libasyncns-devel" + +require libasyncns-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libasyncns/libasyncns_git.bb b/meta-tizen/recipes-tizen/libasyncns/libasyncns_git.bb new file mode 100644 index 0000000..2e1c0b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libasyncns/libasyncns_git.bb @@ -0,0 +1,8 @@ +require libasyncns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libasyncns;protocol=ssh;tag=383115e0a8ad9456e9a1f08e6fb1b9d33740b055;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libatasmart/libatasmart-extraconf.inc b/meta-tizen/recipes-tizen/libatasmart/libatasmart-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libatasmart/libatasmart-native_git.bb b/meta-tizen/recipes-tizen/libatasmart/libatasmart-native_git.bb new file mode 100644 index 0000000..6fcc80f --- /dev/null +++ b/meta-tizen/recipes-tizen/libatasmart/libatasmart-native_git.bb @@ -0,0 +1,12 @@ +require libatasmart.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libatasmart;protocol=ssh;tag=346dfa704bda725ca20e1d79943471e5ac88e028;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libatasmart/libatasmart.inc b/meta-tizen/recipes-tizen/libatasmart/libatasmart.inc new file mode 100644 index 0000000..058aa71 --- /dev/null +++ b/meta-tizen/recipes-tizen/libatasmart/libatasmart.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "The libatasmart" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libatasmart +PROVIDES += "libatasmart" +RPROVIDES_libatasmart += "libatasmart" + +#PROVIDES by libatasmart-devel +PROVIDES += "libatasmart-devel" +RPROVIDES_libatasmart-devel += "libatasmart-devel" +RPROVIDES_libatasmart-devel += "libatasmart-dev" + +RDEPENDS = "" +#RDEPENDS of libatasmart (${PN}) +RDEPENDS_${PN} += "libdevmapper" + +#RDEPENDS of libatasmart-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libatasmart" + + +DEPENDS = "" +#DEPENDS of libatasmart +DEPENDS += "pkgconfig(systemd)" +DEPENDS += "pkgconfig(libudev)" +DEPENDS += "device-mapper" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --libexecdir=/usr/lib + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libatasmart" +PACKAGES += "libatasmart-devel" + +libatasmart_files = "" +libatasmart_files += "/usr/lib/libatasmart.so" +libatasmart_files += "/usr/lib/libatasmart.so.4" +libatasmart_files += "/usr/lib/libatasmart.so.4.0.5" +libatasmart_files += "/usr/sbin/skdump" +libatasmart_files += "/usr/sbin/sktest" +libatasmart_files += "/usr/share/doc/libatasmart/README" +libatasmart_files += "/usr/share/vala/vapi/atasmart.vapi" + +libatasmart-devel_files = "" +libatasmart-devel_files += "/usr/include/atasmart.h" +libatasmart-devel_files += "/usr/lib/libatasmart.so" +libatasmart-devel_files += "/usr/lib/pkgconfig/libatasmart.pc" + +FILES_${PN} = "${libatasmart_files}" +FILES_${PN}-devel = "${libatasmart-devel_files}" + +PKG_libatasmart= "libatasmart" +PKG_libatasmart-devel= "libatasmart-devel" + +require libatasmart-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libatasmart/libatasmart_git.bb b/meta-tizen/recipes-tizen/libatasmart/libatasmart_git.bb new file mode 100644 index 0000000..0444cc0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libatasmart/libatasmart_git.bb @@ -0,0 +1,8 @@ +require libatasmart.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libatasmart;protocol=ssh;tag=346dfa704bda725ca20e1d79943471e5ac88e028;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libav/libav-extraconf.inc b/meta-tizen/recipes-tizen/libav/libav-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libav/libav-native_git.bb b/meta-tizen/recipes-tizen/libav/libav-native_git.bb new file mode 100644 index 0000000..8133597 --- /dev/null +++ b/meta-tizen/recipes-tizen/libav/libav-native_git.bb @@ -0,0 +1,12 @@ +require libav.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libav;protocol=ssh;tag=154d97151efd5bb405b2b3cce41b278c78e99ebb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libav/libav.inc b/meta-tizen/recipes-tizen/libav/libav.inc new file mode 100644 index 0000000..ded41f1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libav/libav.inc @@ -0,0 +1,271 @@ +DESCRIPTION = "AV codec lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libavutil +PROVIDES += "libavutil" +RPROVIDES_libavutil += "libavutil" + +#PROVIDES by libavfilter-devel +PROVIDES += "libavfilter-devel" +RPROVIDES_libavfilter-devel += "libavfilter-devel" +RPROVIDES_libavfilter-devel += "libavfilter-dev" + +#PROVIDES by libavformat +PROVIDES += "libavformat" +RPROVIDES_libavformat += "libavformat" + +#PROVIDES by libavtools +PROVIDES += "libavtools" +RPROVIDES_libavtools += "libavtools" + +#PROVIDES by libavcodec +PROVIDES += "libavcodec" +RPROVIDES_libavcodec += "libavcodec" + +#PROVIDES by libavfilter +PROVIDES += "libavfilter" +RPROVIDES_libavfilter += "libavfilter" + +#PROVIDES by libswscale-devel +PROVIDES += "libswscale-devel" +RPROVIDES_libswscale-devel += "libswscale-devel" +RPROVIDES_libswscale-devel += "libswscale-dev" + +#PROVIDES by libavcodec-devel +PROVIDES += "libavcodec-devel" +RPROVIDES_libavcodec-devel += "libavcodec-devel" +RPROVIDES_libavcodec-devel += "libavcodec-dev" + +#PROVIDES by libavutil-devel +PROVIDES += "libavutil-devel" +RPROVIDES_libavutil-devel += "libavutil-devel" +RPROVIDES_libavutil-devel += "libavutil-dev" + +#PROVIDES by libswscale +PROVIDES += "libswscale" +RPROVIDES_libswscale += "libswscale" + +#PROVIDES by libav +PROVIDES += "libav" +RPROVIDES_libav += "libav" + +#PROVIDES by libavformat-devel +PROVIDES += "libavformat-devel" +RPROVIDES_libavformat-devel += "libavformat-devel" +RPROVIDES_libavformat-devel += "libavformat-dev" + +RDEPENDS = "" +#RDEPENDS of libavfilter-devel (${PN}filter-devel) +RDEPENDS_${PN}filter-devel += "libavfilter" + +#RDEPENDS of libswscale-devel (libswscale-devel) +RDEPENDS_libswscale-devel += "libswscale" + +#RDEPENDS of libavcodec-devel (${PN}codec-devel) +RDEPENDS_${PN}codec-devel += "libavcodec" + +#RDEPENDS of libavutil-devel (${PN}util-devel) +RDEPENDS_${PN}util-devel += "libavutil" + +#RDEPENDS of libavformat-devel (${PN}format-devel) +RDEPENDS_${PN}format-devel += "libavformat" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + export CONFIGURE_OPTIONS="--enable-shared --disable-static \ + --disable-version3 --disable-devices --disable-nonfree --disable-gpl --disable-doc \ + --disable-zlib --disable-network \ + --disable-avdevice \ + --disable-bsfs --disable-filters \ + --enable-filter=buffer --enable-filter=buffersink --enable-filter=crop \ + --enable-filter=hflip --enable-filter=lut --enable-filter=lutyuv \ + --enable-filter=lutrgb --enable-filter=overlay --enable-filter=scale \ + --enable-filter=transpose --enable-filter=unsharp --enable-filter=vflip \ + --disable-protocols \ + --disable-avresample \ + --enable-protocol=file \ + --disable-encoders \ + --disable-muxers \ + --disable-parsers \ + --enable-parser=aac --enable-parser=h264 --enable-parser=mpegaudio \ + --enable-parser=h263 --enable-parser=mpeg4video --enable-parser=mpegvideo \ + --disable-demuxers \ + --enable-demuxer=aac --enable-demuxer=h264 --enable-demuxer=mpegts \ + --enable-demuxer=amr --enable-demuxer=m4v --enable-demuxer=mpegtsraw \ + --enable-demuxer=asf --enable-demuxer=mmf --enable-demuxer=mpegvideo \ + --enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=ogg \ + --enable-demuxer=flac --enable-demuxer=mp3 --enable-demuxer=wav \ + --enable-demuxer=h263 --enable-demuxer=mpegps --enable-demuxer=matroska \ + --enable-demuxer=dv --enable-demuxer=flv \ + --disable-decoders \ + --enable-decoder=alac --enable-decoder=h264 --enable-decoder=wmv1 \ + --enable-decoder=flac --enable-decoder=mpeg4 --enable-decoder=wmv2 \ + --enable-decoder=h263 --enable-decoder=mpegvideo --enable-decoder=wmv3 \ + --enable-decoder=vc1 --enable-decoder=flv \ + --enable-decoder=h263i --enable-decoder=theora \ + --enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw \ + --enable-encoder=h263 --enable-encoder=h263p --enable-encoder=mpeg4 \ + --enable-decoder=bmp --enable-encoder=bmp \ + --enable-decoder=tiff \ + --enable-decoder=mp3 --enable-decoder=amrnb \ + --enable-encoder=aac --enable-decoder=aac \ + --enable-swscale --disable-yasm \ + --enable-fft --enable-rdft --enable-mdct --enable-neon \ + " + + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS + + ./configure --prefix=/usr --shlibdir=/usr/lib --libdir=/usr/lib $CONFIGURE_OPTIONS + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}//usr/share/license + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}//usr/share/license/libavcodec + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}//usr/share/license/libavformat + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}//usr/share/license/libavutil + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}//usr/share/license/libavfilter + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}//usr/share/license/libswscale + + + +} + +PACKAGES = "" +PACKAGES += "libavutil" +PACKAGES += "libavfilter-devel" +PACKAGES += "libavformat" +PACKAGES += "libavtools" +PACKAGES += "libavcodec" +PACKAGES += "libavfilter" +PACKAGES += "libswscale-devel" +PACKAGES += "libavcodec-devel" +PACKAGES += "libavutil-devel" +PACKAGES += "libswscale" +PACKAGES += "libavformat-devel" + +libavutil_files = "" +libavutil_files += "/usr/lib/libavutil.so.*" +libavutil_files += "/usr/share/license/libavutil" + +libavfilter-devel_files = "" +libavfilter-devel_files += "/usr/include/libavfilter/*" +libavfilter-devel_files += "/usr/lib/libavfilter.so" +libavfilter-devel_files += "/usr/lib/pkgconfig/libavfilter.pc" + +libavformat_files = "" +libavformat_files += "/usr/lib/libavformat.so.*" +libavformat_files += "/usr/share/license/libavformat" + +libavtools_files = "" +libavtools_files += "/usr/bin/av*" +libavtools_files += "/usr/share/avconv/*.avpreset" + +libavcodec_files = "" +libavcodec_files += "/usr/lib/libavcodec.so.*" +libavcodec_files += "/usr/share/license/libavcodec" + +libavfilter_files = "" +libavfilter_files += "/usr/lib/libavfilter.so.*" +libavfilter_files += "/usr/share/license/libavfilter" + +libswscale-devel_files = "" +libswscale-devel_files += "/usr/include/libswscale/*" +libswscale-devel_files += "/usr/lib/libswscale.so" +libswscale-devel_files += "/usr/lib/pkgconfig/libswscale.pc" + +libavcodec-devel_files = "" +libavcodec-devel_files += "/usr/include/libavcodec/*" +libavcodec-devel_files += "/usr/lib/libavcodec.so" +libavcodec-devel_files += "/usr/lib/pkgconfig/libavcodec.pc" + +libavutil-devel_files = "" +libavutil-devel_files += "/usr/include/libavutil/*" +libavutil-devel_files += "/usr/lib/libavutil.so" +libavutil-devel_files += "/usr/lib/pkgconfig/libavutil.pc" + +libswscale_files = "" +libswscale_files += "/usr/lib/libswscale.so.*" +libswscale_files += "/usr/share/license/libswscale" + +libavformat-devel_files = "" +libavformat-devel_files += "/usr/include/libavformat/*" +libavformat-devel_files += "/usr/lib/libavformat.so" +libavformat-devel_files += "/usr/lib/pkgconfig/libavformat.pc" + +FILES_${PN}util = "${libavutil_files}" +FILES_${PN}filter-devel = "${libavfilter-devel_files}" +FILES_${PN}format = "${libavformat_files}" +FILES_${PN}tools = "${libavtools_files}" +FILES_${PN}codec = "${libavcodec_files}" +FILES_${PN}filter = "${libavfilter_files}" +FILES_libswscale-devel = "${libswscale-devel_files}" +FILES_${PN}codec-devel = "${libavcodec-devel_files}" +FILES_${PN}util-devel = "${libavutil-devel_files}" +FILES_libswscale = "${libswscale_files}" +FILES_${PN}format-devel = "${libavformat-devel_files}" + +PKG_libavutil= "libavutil" +PKG_libavfilter-devel= "libavfilter-devel" +PKG_libavformat= "libavformat" +PKG_libavtools= "libavtools" +PKG_libavcodec= "libavcodec" +PKG_libavfilter= "libavfilter" +PKG_libswscale-devel= "libswscale-devel" +PKG_libavcodec-devel= "libavcodec-devel" +PKG_libavutil-devel= "libavutil-devel" +PKG_libswscale= "libswscale" +PKG_libavformat-devel= "libavformat-devel" + +require libav-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libav/libav_git.bb b/meta-tizen/recipes-tizen/libav/libav_git.bb new file mode 100644 index 0000000..d897301 --- /dev/null +++ b/meta-tizen/recipes-tizen/libav/libav_git.bb @@ -0,0 +1,8 @@ +require libav.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libav;protocol=ssh;tag=154d97151efd5bb405b2b3cce41b278c78e99ebb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc b/meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet-native_git.bb b/meta-tizen/recipes-tizen/libbullet/libbullet-native_git.bb new file mode 100644 index 0000000..ad2b69a --- /dev/null +++ b/meta-tizen/recipes-tizen/libbullet/libbullet-native_git.bb @@ -0,0 +1,12 @@ +require libbullet.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libbullet;protocol=ssh;tag=03875b02d03ae029f38cb35dc90ee3ff6d5fe696;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet.inc b/meta-tizen/recipes-tizen/libbullet/libbullet.inc new file mode 100644 index 0000000..bb71db7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libbullet/libbullet.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Bullet Continuous Collision Detection and Physics Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by bullet-devel +PROVIDES += "bullet-devel" +RPROVIDES_bullet-devel += "bullet-devel" +RPROVIDES_bullet-devel += "bullet-dev" + +#PROVIDES by libbullet +PROVIDES += "libbullet" +RPROVIDES_libbullet += "libbullet" + +#PROVIDES by bullet +PROVIDES += "bullet" +RPROVIDES_bullet += "bullet" + +RDEPENDS = "" +#RDEPENDS of bullet-devel (bullet-devel) +RDEPENDS_bullet-devel += "libbullet" + + +DEPENDS = "" +#DEPENDS of bullet +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bullet.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "bullet-devel" +PACKAGES += "libbullet" + +bullet-devel_files = "" +bullet-devel_files += "bullet.manifest" +bullet-devel_files += "/usr/include/*" +bullet-devel_files += "/usr/lib/*.so" +bullet-devel_files += "/usr/lib/pkgconfig/*" + +libbullet_files = "" +libbullet_files += "bullet.manifest" +libbullet_files += "/usr/lib/*.so.2.81" +libbullet_files += "" + +FILES_${PN}-devel = "${bullet-devel_files}" +FILES_lib${PN} = "${libbullet_files}" + +PKG_bullet-devel= "bullet-devel" +PKG_libbullet= "libbullet" + +require libbullet-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb b/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb new file mode 100644 index 0000000..63b1b8a --- /dev/null +++ b/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb @@ -0,0 +1,8 @@ +require libbullet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libbullet;protocol=ssh;tag=03875b02d03ae029f38cb35dc90ee3ff6d5fe696;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-extraconf.inc b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-native_git.bb b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-native_git.bb new file mode 100644 index 0000000..ff184b9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg-native_git.bb @@ -0,0 +1,12 @@ +require libcamsrcjpegenc-sw-libjpeg.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libcamsrcjpegenc-sw-libjpeg;protocol=ssh;tag=24a642db5962e1fd91573eaea766fbf23f42fd1d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg.inc b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg.inc new file mode 100644 index 0000000..5b82041 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Multimedia Framework Camera Src Jpeg Encoder Library (libjpeg)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "libdevel" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcamsrcjpegenc-sw-libjpeg +PROVIDES += "libcamsrcjpegenc-sw-libjpeg" +RPROVIDES_libcamsrcjpegenc-sw-libjpeg += "libcamsrcjpegenc-sw-libjpeg" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of libcamsrcjpegenc-sw-libjpeg +DEPENDS += "libcamsrcjpegenc" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libjpeg-turbo-devel" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(mmutil-imgp)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libcamsrcjpegenc-sw-libjpeg-0.1.6 + cp ${S}/packaging/libcamsrcjpegenc-sw-libjpeg.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-dlog + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/libcamsrcjpegenc-sw-libjpeg + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libcamsrcjpegenc-sw-libjpeg" + +libcamsrcjpegenc-sw-libjpeg_files = "" +libcamsrcjpegenc-sw-libjpeg_files += "libcamsrcjpegenc-sw-libjpeg.manifest" +libcamsrcjpegenc-sw-libjpeg_files += "/usr/lib/libcamsrcjpegenc-sw.so*" +libcamsrcjpegenc-sw-libjpeg_files += "/usr/share/license/libcamsrcjpegenc-sw-libjpeg" + +FILES_${PN} = "${libcamsrcjpegenc-sw-libjpeg_files}" + +PKG_libcamsrcjpegenc-sw-libjpeg= "libcamsrcjpegenc-sw-libjpeg" + +require libcamsrcjpegenc-sw-libjpeg-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg_git.bb b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg_git.bb new file mode 100644 index 0000000..3b27db0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc-sw-libjpeg/libcamsrcjpegenc-sw-libjpeg_git.bb @@ -0,0 +1,8 @@ +require libcamsrcjpegenc-sw-libjpeg.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libcamsrcjpegenc-sw-libjpeg;protocol=ssh;tag=24a642db5962e1fd91573eaea766fbf23f42fd1d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-extraconf.inc b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-native_git.bb b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-native_git.bb new file mode 100644 index 0000000..34fa8a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc-native_git.bb @@ -0,0 +1,12 @@ +require libcamsrcjpegenc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libcamsrcjpegenc;protocol=ssh;tag=8978d60f7056ec5b45a89814346c54b576dcc52c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc.inc b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc.inc new file mode 100644 index 0000000..e5b0efd --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "camerasrc JPEG encoder Development library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "libdevel" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcamsrcjpegenc +PROVIDES += "libcamsrcjpegenc" +RPROVIDES_libcamsrcjpegenc += "libcamsrcjpegenc" + +#PROVIDES by libcamsrcjpegenc-devel +PROVIDES += "libcamsrcjpegenc-devel" +RPROVIDES_libcamsrcjpegenc-devel += "libcamsrcjpegenc-devel" +RPROVIDES_libcamsrcjpegenc-devel += "libcamsrcjpegenc-dev" + +RDEPENDS = "" +#RDEPENDS of libcamsrcjpegenc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcamsrcjpegenc" + + +DEPENDS = "" +#DEPENDS of libcamsrcjpegenc +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libcamsrcjpegenc-0.1.4 + cp ${S}/packaging/libcamsrcjpegenc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-dlog + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/libcamsrcjpegenc + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libcamsrcjpegenc" +PACKAGES += "libcamsrcjpegenc-devel" + +libcamsrcjpegenc_files = "" +libcamsrcjpegenc_files += "libcamsrcjpegenc.manifest" +libcamsrcjpegenc_files += "/usr/lib/libcamsrcjpegenc.so.*" +libcamsrcjpegenc_files += "/usr/share/license/libcamsrcjpegenc" + +libcamsrcjpegenc-devel_files = "" +libcamsrcjpegenc-devel_files += "libcamsrcjpegenc.manifest" +libcamsrcjpegenc-devel_files += "/usr/lib/libcamsrcjpegenc.so" +libcamsrcjpegenc-devel_files += "/usr/lib/pkgconfig/camsrcjpegenc.pc" +libcamsrcjpegenc-devel_files += "/usr/include/camsrcjpegenc.h" +libcamsrcjpegenc-devel_files += "/usr/include/camsrcjpegenc_sub.h" +libcamsrcjpegenc-devel_files += "/usr/include/camsrcjpegenc_type.h" + +FILES_${PN} = "${libcamsrcjpegenc_files}" +FILES_${PN}-devel = "${libcamsrcjpegenc-devel_files}" + +PKG_libcamsrcjpegenc= "libcamsrcjpegenc" +PKG_libcamsrcjpegenc-devel= "libcamsrcjpegenc-devel" + +require libcamsrcjpegenc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc_git.bb b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc_git.bb new file mode 100644 index 0000000..513b0aa --- /dev/null +++ b/meta-tizen/recipes-tizen/libcamsrcjpegenc/libcamsrcjpegenc_git.bb @@ -0,0 +1,8 @@ +require libcamsrcjpegenc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libcamsrcjpegenc;protocol=ssh;tag=8978d60f7056ec5b45a89814346c54b576dcc52c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcap-ng/libcap-ng-extraconf.inc b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libcap-ng/libcap-ng-native_git.bb b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng-native_git.bb new file mode 100644 index 0000000..3ba59cc --- /dev/null +++ b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng-native_git.bb @@ -0,0 +1,12 @@ +require libcap-ng.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libcap-ng;protocol=ssh;tag=f78c1fda9fbc4dff23280b0f1c5be9b997340892;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcap-ng/libcap-ng.inc b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng.inc new file mode 100644 index 0000000..f8a68a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "An alternate POSIX capabilities library" +HOMEPAGE = "http://people.redhat.com/sgrubb/libcap-ng" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcap-ng-devel +PROVIDES += "libcap-ng-devel" +RPROVIDES_libcap-ng-devel += "libcap-ng-devel" +RPROVIDES_libcap-ng-devel += "libcap-ng-dev" + +#PROVIDES by libcap-ng +PROVIDES += "libcap-ng" +RPROVIDES_libcap-ng += "libcap-ng" + +#PROVIDES by libcap-ng-utils +PROVIDES += "libcap-ng-utils" +RPROVIDES_libcap-ng-utils += "libcap-ng-utils" + +RDEPENDS = "" +#RDEPENDS of libcap-ng-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcap-ng" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of libcap-ng +inherit pythonnative +DEPENDS += "attr" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libcap-ng-0.6.6 + cp ${S}/packaging/libcap-ng.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic --with-python=no + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libcap-ng-devel" +PACKAGES += "libcap-ng" +PACKAGES += "libcap-ng-utils" + +libcap-ng-devel_files = "" +libcap-ng-devel_files += "libcap-ng.manifest" +libcap-ng-devel_files += "/usr/lib/pkgconfig/libcap-ng.pc" + +libcap-ng_files = "" +libcap-ng_files += "libcap-ng.manifest" +libcap-ng_files += "GPL-2.0+ COPYING.LIB" + +libcap-ng-utils_files = "" +libcap-ng-utils_files += "libcap-ng.manifest" +libcap-ng-utils_files += "GPL-2.0+ COPYING" + +FILES_${PN}-devel = "${libcap-ng-devel_files}" +FILES_${PN} = "${libcap-ng_files}" +FILES_${PN}-utils = "${libcap-ng-utils_files}" + +PKG_libcap-ng-devel= "libcap-ng-devel" +PKG_libcap-ng= "libcap-ng" +PKG_libcap-ng-utils= "libcap-ng-utils" + +require libcap-ng-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libcap-ng/libcap-ng_git.bb b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng_git.bb new file mode 100644 index 0000000..ed33ec9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcap-ng/libcap-ng_git.bb @@ -0,0 +1,8 @@ +require libcap-ng.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libcap-ng;protocol=ssh;tag=f78c1fda9fbc4dff23280b0f1c5be9b997340892;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcap/libcap-extraconf.inc b/meta-tizen/recipes-tizen/libcap/libcap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libcap/libcap.inc b/meta-tizen/recipes-tizen/libcap/libcap.inc new file mode 100644 index 0000000..ed94e94 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcap/libcap.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Library for Capabilities (linux-privs) Support" +HOMEPAGE = "https://sites.google.com/site/fullycapable/" +SECTION = "Base/Libraries" +LICENSE = "BSD-3-Clause and GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcap +PROVIDES += "libcap" +RPROVIDES_libcap += "libcap" + +#PROVIDES by libcap-tools +PROVIDES += "libcap-tools" +RPROVIDES_libcap-tools += "libcap-tools" +# the PROVIDES rules is ignore "libcap-progs " +PROVIDES += "libcap-progs" +RPROVIDES_libcap-tools += "libcap-progs" + +#PROVIDES by libcap-devel +PROVIDES += "libcap-devel" +RPROVIDES_libcap-devel += "libcap-devel" +RPROVIDES_libcap-devel += "libcap-dev" + +RDEPENDS = "" +#RDEPENDS of libcap-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libcap" + + +DEPENDS = "" +#DEPENDS of libcap +DEPENDS += "fdupes-native" +DEPENDS += "attr" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libcap.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + lib=lib make -j16 DEBUG="-g -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} LIBDIR=${D}/lib MANDIR=${D}/usr/share/man PKGCONFIGDIR=${D}/usr/lib/pkgconfig RAISE_SETFCAP=no + # remove unneeded files + rm -f ${D}/lib/*.*a + # move *.so file to libdir and relink + rm -f ${D}/lib/*.so + mkdir -p ${D}/usr/lib + ln -s /lib/libcap.so.2 ${D}/usr/lib/libcap.so + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "libcap" +PACKAGES += "libcap-tools" +PACKAGES += "libcap-devel" + +libcap_files = "" +libcap_files += "libcap.manifest" + +libcap-tools_files = "" +libcap-tools_files += "libcap.manifest" +libcap-tools_files += "/usr/share/man/man1/*" +libcap-tools_files += "/usr/share/man/man8/*" +libcap-tools_files += "/sbin/*" + +libcap-devel_files = "" +libcap-devel_files += "libcap.manifest" +libcap-devel_files += "/usr/include/sys/capability.h" +libcap-devel_files += "/usr/lib/*.so" +libcap-devel_files += "/usr/lib/pkgconfig/*.pc" +libcap-devel_files += "/usr/share/man/man3/*" + +FILES_${PN} = "${libcap_files}" +FILES_${PN}-tools = "${libcap-tools_files}" +FILES_${PN}-devel = "${libcap-devel_files}" + +PKG_libcap= "libcap" +PKG_libcap-tools= "libcap-tools" +PKG_libcap-devel= "libcap-devel" + +require libcap-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-extraconf.inc b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-native_git.bb b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-native_git.bb new file mode 100644 index 0000000..9d88b83 --- /dev/null +++ b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc-native_git.bb @@ -0,0 +1,12 @@ +require libcryptsvc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/libcryptsvc;protocol=ssh;tag=1266a27e7741b4325b9b16c33508073fedd6a052;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc.inc b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc.inc new file mode 100644 index 0000000..65b4c5f --- /dev/null +++ b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Crypto Service Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0 and Flora" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libcryptsvc-devel +PROVIDES += "libcryptsvc-devel" +RPROVIDES_libcryptsvc-devel += "libcryptsvc-devel" +RPROVIDES_libcryptsvc-devel += "libcryptsvc-dev" + +#PROVIDES by libcryptsvc +PROVIDES += "libcryptsvc" +RPROVIDES_libcryptsvc += "libcryptsvc" + +RDEPENDS = "" +#RDEPENDS of libcryptsvc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libcryptsvc" + + +DEPENDS = "" +#DEPENDS of libcryptsvc +DEPENDS += "pkgconfig(openssl)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libcryptsvc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.0.1 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DARCH=x86 -DFULLVER=0.0.1 -DMAJORVER=${MAJORVER} -DDESCRIPTION="Crypto Service Library (Development)" + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libcryptsvc-devel" +PACKAGES += "libcryptsvc" + +libcryptsvc-devel_files = "" +libcryptsvc-devel_files += "libcryptsvc.manifest" +libcryptsvc-devel_files += "/usr/include/*" +libcryptsvc-devel_files += "/usr/lib/pkgconfig/cryptsvc.pc" + +libcryptsvc_files = "" +libcryptsvc_files += "libcryptsvc.manifest" +libcryptsvc_files += "/usr/lib/*.so*" + +FILES_${PN}-devel = "${libcryptsvc-devel_files}" +FILES_${PN} = "${libcryptsvc_files}" + +PKG_libcryptsvc-devel= "libcryptsvc-devel" +PKG_libcryptsvc= "libcryptsvc" + +require libcryptsvc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc_git.bb b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc_git.bb new file mode 100644 index 0000000..360c2bc --- /dev/null +++ b/meta-tizen/recipes-tizen/libcryptsvc/libcryptsvc_git.bb @@ -0,0 +1,8 @@ +require libcryptsvc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/libcryptsvc;protocol=ssh;tag=1266a27e7741b4325b9b16c33508073fedd6a052;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdaemon/libdaemon-extraconf.inc b/meta-tizen/recipes-tizen/libdaemon/libdaemon-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdaemon/libdaemon-native_git.bb b/meta-tizen/recipes-tizen/libdaemon/libdaemon-native_git.bb new file mode 100644 index 0000000..86a1fc6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdaemon/libdaemon-native_git.bb @@ -0,0 +1,12 @@ +require libdaemon.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdaemon;protocol=ssh;tag=7bc845d5036f91acbf65ce5c1f57974295cf22b4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdaemon/libdaemon.inc b/meta-tizen/recipes-tizen/libdaemon/libdaemon.inc new file mode 100644 index 0000000..4c8aece --- /dev/null +++ b/meta-tizen/recipes-tizen/libdaemon/libdaemon.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Lightweight C library That Eases the Writing of UNIX Daemons" +HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdaemon-devel +PROVIDES += "libdaemon-devel" +RPROVIDES_libdaemon-devel += "libdaemon-devel" +RPROVIDES_libdaemon-devel += "libdaemon-dev" + +#PROVIDES by libdaemon +PROVIDES += "libdaemon" +RPROVIDES_libdaemon += "libdaemon" + +RDEPENDS = "" +#RDEPENDS of libdaemon-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libdaemon" + + +DEPENDS = "" +#DEPENDS of libdaemon +DEPENDS += "doxygen" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libdaemon.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static --with-pic \ + --disable-lynx + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # We don't care about the HTML README + rm ${D}/usr/share/doc/libdaemon/{README.html,style.css} + + +} + +PACKAGES = "" +PACKAGES += "libdaemon-devel" +PACKAGES += "libdaemon" + +libdaemon-devel_files = "" +libdaemon-devel_files += "libdaemon.manifest" +libdaemon-devel_files += "/usr/lib/libdaemon.so" +libdaemon-devel_files += "/usr/lib/pkgconfig/libdaemon.pc" +libdaemon-devel_files += "/usr/include/libdaemon" +libdaemon-devel_files += "/usr/include/libdaemon/*.h" + +libdaemon_files = "" +libdaemon_files += "libdaemon.manifest" +libdaemon_files += "LICENSE" +libdaemon_files += "/usr/lib/libdaemon.so.0*" + +FILES_${PN}-devel = "${libdaemon-devel_files}" +FILES_${PN} = "${libdaemon_files}" + +PKG_libdaemon-devel= "libdaemon-devel" +PKG_libdaemon= "libdaemon" + +require libdaemon-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdaemon/libdaemon_git.bb b/meta-tizen/recipes-tizen/libdaemon/libdaemon_git.bb new file mode 100644 index 0000000..9172d5a --- /dev/null +++ b/meta-tizen/recipes-tizen/libdaemon/libdaemon_git.bb @@ -0,0 +1,8 @@ +require libdaemon.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdaemon;protocol=ssh;tag=7bc845d5036f91acbf65ce5c1f57974295cf22b4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdatrie/libdatrie-extraconf.inc b/meta-tizen/recipes-tizen/libdatrie/libdatrie-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdatrie/libdatrie-native_git.bb b/meta-tizen/recipes-tizen/libdatrie/libdatrie-native_git.bb new file mode 100644 index 0000000..89e0f75 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdatrie/libdatrie-native_git.bb @@ -0,0 +1,12 @@ +require libdatrie.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdatrie;protocol=ssh;tag=4abf32a6e72e18fc6e9cf459825ff39cd5b29305;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdatrie/libdatrie.inc b/meta-tizen/recipes-tizen/libdatrie/libdatrie.inc new file mode 100644 index 0000000..f1d944e --- /dev/null +++ b/meta-tizen/recipes-tizen/libdatrie/libdatrie.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Double-Array Trie Library" +HOMEPAGE = "http://linux.thai.net/~thep/datrie/datrie.html" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdatrie +PROVIDES += "libdatrie" +RPROVIDES_libdatrie += "libdatrie" + +#PROVIDES by libdatrie-devel +PROVIDES += "libdatrie-devel" +RPROVIDES_libdatrie-devel += "libdatrie-devel" +RPROVIDES_libdatrie-devel += "libdatrie-dev" + +RDEPENDS = "" +#RDEPENDS of libdatrie-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libdatrie" + + +DEPENDS = "" +#DEPENDS of libdatrie +DEPENDS += "doxygen" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libdatrie.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static --with-pic \ + --with-html-docdir=/usr/share/doc/packages/libdatrie/html + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # This is not installed where it should + mv ${D}/usr/share/doc/libdatrie/README.migration ${D}/usr/share/doc/packages/libdatrie/ + + +} + +PACKAGES = "" +PACKAGES += "libdatrie" +PACKAGES += "libdatrie-devel" + +libdatrie_files = "" +libdatrie_files += "libdatrie.manifest" +libdatrie_files += "COPYING" +libdatrie_files += "/usr/lib/libdatrie.so.1*" + +libdatrie-devel_files = "" +libdatrie-devel_files += "libdatrie.manifest" +libdatrie-devel_files += "/usr/bin/trietool-0.2" +libdatrie-devel_files += "/usr/share/man/man*/trietool-0.2.*" +libdatrie-devel_files += "/usr/include/datrie/" +libdatrie-devel_files += "/usr/lib/libdatrie.so" +libdatrie-devel_files += "/usr/lib/pkgconfig/datrie-0.2.pc" +libdatrie-devel_files += "/usr/share/doc/packages/libdatrie/" + +FILES_${PN} = "${libdatrie_files}" +FILES_${PN}-devel = "${libdatrie-devel_files}" + +PKG_libdatrie= "libdatrie" +PKG_libdatrie-devel= "libdatrie-devel" + +require libdatrie-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdatrie/libdatrie_git.bb b/meta-tizen/recipes-tizen/libdatrie/libdatrie_git.bb new file mode 100644 index 0000000..c421319 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdatrie/libdatrie_git.bb @@ -0,0 +1,8 @@ +require libdatrie.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdatrie;protocol=ssh;tag=4abf32a6e72e18fc6e9cf459825ff39cd5b29305;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node-extraconf.inc b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node-native_git.bb b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node-native_git.bb new file mode 100644 index 0000000..ab4f65f --- /dev/null +++ b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node-native_git.bb @@ -0,0 +1,12 @@ +require libdevice-node.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libdevice-node;protocol=ssh;tag=d65efaf311abaf22ffd0d9bc22c28182e003304a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc new file mode 100644 index 0000000..c1ad2ba --- /dev/null +++ b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "Library to control OAL APIs" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdevice-node +PROVIDES += "libdevice-node" +RPROVIDES_libdevice-node += "libdevice-node" + +#PROVIDES by libdevice-node-devel +PROVIDES += "libdevice-node-devel" +RPROVIDES_libdevice-node-devel += "libdevice-node-devel" +RPROVIDES_libdevice-node-devel += "libdevice-node-dev" + +RDEPENDS = "" +#RDEPENDS of libdevice-node-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libdevice-node" + + +DEPENDS = "" +#DEPENDS of libdevice-node +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libdevice-node.manifest . + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libdevice-node" +PACKAGES += "libdevice-node-devel" + +libdevice-node_files = "" +libdevice-node_files += "/usr/lib/*.so.*" +libdevice-node_files += "libdevice-node.manifest" + +libdevice-node-devel_files = "" +libdevice-node-devel_files += "/usr/include/device-node/*.h" +libdevice-node-devel_files += "/usr/lib/*.so" +libdevice-node-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libdevice-node_files}" +FILES_${PN}-devel = "${libdevice-node-devel_files}" + +PKG_libdevice-node= "libdevice-node" +PKG_libdevice-node-devel= "libdevice-node-devel" + +require libdevice-node-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node_git.bb b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node_git.bb new file mode 100644 index 0000000..477a1b1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node_git.bb @@ -0,0 +1,8 @@ +require libdevice-node.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libdevice-node;protocol=ssh;tag=d65efaf311abaf22ffd0d9bc22c28182e003304a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdmx/libdmx-extraconf.inc b/meta-tizen/recipes-tizen/libdmx/libdmx-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdmx/libdmx.inc b/meta-tizen/recipes-tizen/libdmx/libdmx.inc new file mode 100644 index 0000000..19da3c7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdmx/libdmx.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "X.Org X11 DMX runtime library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libdmx" +PACKAGES += "libdmx-devel" + +libdmx_files = "" +libdmx_files += "libdmx.manifest" +libdmx_files += "/usr/share/license/libdmx" +libdmx_files += "/usr/lib/libdmx.so.1" +libdmx_files += "/usr/lib/libdmx.so.1.0.0" + +libdmx-devel_files = "" +libdmx-devel_files += "libdmx.manifest" +libdmx-devel_files += "/usr/lib/libdmx.so" +libdmx-devel_files += "/usr/lib/pkgconfig/dmx.pc" +libdmx-devel_files += "/usr/include/X11/extensions/dmxext.h" + +FILES_${PN} = "${libdmx_files}" +FILES_${PN}-devel = "${libdmx-devel_files}" + +PKG_libdmx= "libdmx" +PKG_libdmx-devel= "libdmx-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libdmx-rdepends.inc +require libdmx-depends.inc +require libdmx-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdri2/libdri2-extraconf.inc b/meta-tizen/recipes-tizen/libdri2/libdri2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdri2/libdri2.inc b/meta-tizen/recipes-tizen/libdri2/libdri2.inc new file mode 100644 index 0000000..50afdad --- /dev/null +++ b/meta-tizen/recipes-tizen/libdri2/libdri2.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "X.Org DRI2 Extension client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libdri2" +PACKAGES += "libdri2-devel" + +libdri2_files = "" +libdri2_files += "libdri2.manifest" +libdri2_files += "/usr/share/license/libdri2" +libdri2_files += "/usr/lib/libdri2.so.*" + +libdri2-devel_files = "" +libdri2-devel_files += "libdri2.manifest" +libdri2-devel_files += "/usr/lib/libdri2.so" +libdri2-devel_files += "/usr/include/dri2/*" +libdri2-devel_files += "/usr/lib/pkgconfig/*" + +FILES_${PN} = "${libdri2_files}" +FILES_${PN}-devel = "${libdri2-devel_files}" + +PKG_libdri2= "libdri2" +PKG_libdri2-devel= "libdri2-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libdri2-rdepends.inc +require libdri2-depends.inc +require libdri2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdrm/libdrm-extraconf.inc b/meta-tizen/recipes-tizen/libdrm/libdrm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libdrm/libdrm-native_git.bb b/meta-tizen/recipes-tizen/libdrm/libdrm-native_git.bb new file mode 100644 index 0000000..61ed765 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdrm/libdrm-native_git.bb @@ -0,0 +1,12 @@ +require libdrm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdrm;protocol=ssh;tag=95be3fff22e2d6083a36d0eb1c5a6bd0d685d408;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libdrm/libdrm.inc b/meta-tizen/recipes-tizen/libdrm/libdrm.inc new file mode 100644 index 0000000..6c1d320 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdrm/libdrm.inc @@ -0,0 +1,164 @@ +DESCRIPTION = "Userspace interface to kernel DRM services" +HOMEPAGE = "http://cgit.freedesktop.org/mesa/drm" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libdrm +PROVIDES += "libdrm" +RPROVIDES_libdrm += "libdrm" + +#PROVIDES by libdrm-intel +PROVIDES += "libdrm-intel" +RPROVIDES_libdrm-intel += "libdrm-intel" + +#PROVIDES by libdrm-devel +PROVIDES += "libdrm-devel" +RPROVIDES_libdrm-devel += "libdrm-devel" +RPROVIDES_libdrm-devel += "libdrm-dev" + +#PROVIDES by libkms +PROVIDES += "libkms" +RPROVIDES_libkms += "libkms" + +RDEPENDS = "" +#RDEPENDS of libdrm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libdrm" +RDEPENDS_${PN}-devel += "libdrm-intel" +RDEPENDS_${PN}-devel += "libkms" + + +DEPENDS = "" +#DEPENDS of libdrm +DEPENDS += "pkgconfig(pthread-stubs)" +DEPENDS += "pkgconfig(pciaccess)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/libdrm.manifest . + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-static=yes \ + --enable-udev \ + --enable-libkms \ + --disable-nouveau-experimental-api \ + --disable-radeon \ + --disable-nouveau \ + --enable-exynos-experimental-api + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libdrm" +PACKAGES += "libdrm-intel" +PACKAGES += "libdrm-devel" +PACKAGES += "libkms" + +libdrm_files = "" +libdrm_files += "libdrm.manifest" +libdrm_files += "/usr/lib/libdrm.so.*" +libdrm_files += "/usr/lib/libdrm_exynos.so.*" +libdrm_files += "/usr/lib/libdrm_vigs.so.*" + +libdrm-intel_files = "" +libdrm-intel_files += "libdrm.manifest" +libdrm-intel_files += "/usr/lib/libdrm_intel.so.*" + +libdrm-devel_files = "" +libdrm-devel_files += "libdrm.manifest" +libdrm-devel_files += "/usr/include/libdrm" +libdrm-devel_files += "/usr/include/libdrm/*.h" +libdrm-devel_files += "/usr/include/libkms" +libdrm-devel_files += "/usr/include/libkms/*.h" +libdrm-devel_files += "/usr/include/exynos" +libdrm-devel_files += "/usr/include/exynos/*.h" +libdrm-devel_files += "/usr/include/*.h" +libdrm-devel_files += "/usr/lib/libdrm.so" +libdrm-devel_files += "/usr/lib/libdrm_intel.so" +libdrm-devel_files += "/usr/lib/libkms.so" +libdrm-devel_files += "/usr/lib/libdrm_exynos.so" +libdrm-devel_files += "/usr/lib/libdrm_vigs.so" +libdrm-devel_files += "/usr/lib/pkgconfig/*" + +libkms_files = "" +libkms_files += "libdrm.manifest" +libkms_files += "/usr/lib/libkms.so.*" + +FILES_${PN} = "${libdrm_files}" +FILES_${PN}-intel = "${libdrm-intel_files}" +FILES_${PN}-devel = "${libdrm-devel_files}" +FILES_libkms = "${libkms_files}" + +PKG_libdrm= "libdrm" +PKG_libdrm-intel= "libdrm-intel" +PKG_libdrm-devel= "libdrm-devel" +PKG_libkms= "libkms" + +require libdrm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libdrm/libdrm_git.bb b/meta-tizen/recipes-tizen/libdrm/libdrm_git.bb new file mode 100644 index 0000000..0c9daa4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libdrm/libdrm_git.bb @@ -0,0 +1,8 @@ +require libdrm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdrm;protocol=ssh;tag=95be3fff22e2d6083a36d0eb1c5a6bd0d685d408;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libedit/libedit-extraconf.inc b/meta-tizen/recipes-tizen/libedit/libedit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libedit/libedit-native_git.bb b/meta-tizen/recipes-tizen/libedit/libedit-native_git.bb new file mode 100644 index 0000000..c3ed15e --- /dev/null +++ b/meta-tizen/recipes-tizen/libedit/libedit-native_git.bb @@ -0,0 +1,12 @@ +require libedit.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libedit;protocol=ssh;tag=8943aab506406b69a5ce16bd2292741d61b46804;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libedit/libedit.inc b/meta-tizen/recipes-tizen/libedit/libedit.inc new file mode 100644 index 0000000..65ae24d --- /dev/null +++ b/meta-tizen/recipes-tizen/libedit/libedit.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Command Line Editing and History Library" +HOMEPAGE = "http://www.thrysoee.dk/editline/" +SECTION = "Development/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libedit-devel +PROVIDES += "libedit-devel" +RPROVIDES_libedit-devel += "libedit-devel" +RPROVIDES_libedit-devel += "libedit-dev" + +#PROVIDES by libedit +PROVIDES += "libedit" +RPROVIDES_libedit += "libedit" + +RDEPENDS = "" +#RDEPENDS of libedit-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libedit" + + +DEPENDS = "" +#DEPENDS of libedit +DEPENDS += "gcc-cross" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libedit-20130712-3.1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + NOCONFIGURE=1 autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic \ + --disable-silent-rules \ + --enable-widec + + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libedit-devel" +PACKAGES += "libedit" + +libedit-devel_files = "" +libedit-devel_files += "/usr/lib/libedit.so" +libedit-devel_files += "/usr/include/histedit.h" +libedit-devel_files += "/usr/include/editline/" +libedit-devel_files += "/usr/share/man/man3/*.3.gz" +libedit-devel_files += "/usr/lib/pkgconfig/libedit.pc" + +libedit_files = "" +libedit_files += "/usr/lib/libedit.so.*" +libedit_files += "/usr/share/man/man5/editrc.5*" + +FILES_${PN}-devel = "${libedit-devel_files}" +FILES_${PN} = "${libedit_files}" + +PKG_libedit-devel= "libedit-devel" +PKG_libedit= "libedit" + +require libedit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libedit/libedit_git.bb b/meta-tizen/recipes-tizen/libedit/libedit_git.bb new file mode 100644 index 0000000..d0eb71d --- /dev/null +++ b/meta-tizen/recipes-tizen/libedit/libedit_git.bb @@ -0,0 +1,8 @@ +require libedit.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libedit;protocol=ssh;tag=8943aab506406b69a5ce16bd2292741d61b46804;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libelf0/libelf0-extraconf.inc b/meta-tizen/recipes-tizen/libelf0/libelf0-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libelf0/libelf0-native_git.bb b/meta-tizen/recipes-tizen/libelf0/libelf0-native_git.bb new file mode 100644 index 0000000..c7ceb36 --- /dev/null +++ b/meta-tizen/recipes-tizen/libelf0/libelf0-native_git.bb @@ -0,0 +1,12 @@ +require libelf0.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libelf0;protocol=ssh;tag=f074ad917fb2e8717cb0e985a7a93049c38c783e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libelf0/libelf0.inc b/meta-tizen/recipes-tizen/libelf0/libelf0.inc new file mode 100644 index 0000000..46d1425 --- /dev/null +++ b/meta-tizen/recipes-tizen/libelf0/libelf0.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "An ELF Object File Access Library" +HOMEPAGE = "http://www.mr511.de/software/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libelf0-devel +PROVIDES += "libelf0-devel" +RPROVIDES_libelf0-devel += "libelf0-devel" +RPROVIDES_libelf0-devel += "libelf0-dev" + +#PROVIDES by libelf0 +PROVIDES += "libelf0" +RPROVIDES_libelf0 += "libelf0" + +RDEPENDS = "" +#RDEPENDS of libelf0-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libelf0" + + +DEPENDS = "" +#DEPENDS of libelf0 +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libelf-0.8.13 + cp ${S}/packaging/libelf0.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install instroot=${D} + # remove the wrapper includes + rm -f ${D}/usr/include/*.h + # remove unneeded *.la and *.a files + rm -f ${D}/usr/lib/*.la + + +} + +PACKAGES = "" +PACKAGES += "libelf0-devel" +PACKAGES += "libelf0" + +libelf0-devel_files = "" +libelf0-devel_files += "libelf0.manifest" +libelf0-devel_files += "/usr/lib/libelf.so" +libelf0-devel_files += "/usr/lib/libelf.a" +libelf0-devel_files += "/usr/lib/pkgconfig/libelf.pc" +libelf0-devel_files += "/usr/include/libelf" + +libelf0_files = "" +libelf0_files += "libelf0.manifest" +libelf0_files += "/usr/lib/libelf.so.*" + +FILES_${PN}-devel = "${libelf0-devel_files}" +FILES_${PN} = "${libelf0_files}" + +PKG_libelf0-devel= "libelf0-devel" +PKG_libelf0= "libelf0" + +require libelf0-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libelf0/libelf0_git.bb b/meta-tizen/recipes-tizen/libelf0/libelf0_git.bb new file mode 100644 index 0000000..68cf041 --- /dev/null +++ b/meta-tizen/recipes-tizen/libelf0/libelf0_git.bb @@ -0,0 +1,8 @@ +require libelf0.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libelf0;protocol=ssh;tag=f074ad917fb2e8717cb0e985a7a93049c38c783e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libevent/libevent-extraconf.inc b/meta-tizen/recipes-tizen/libevent/libevent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libevent/libevent-native_git.bb b/meta-tizen/recipes-tizen/libevent/libevent-native_git.bb new file mode 100644 index 0000000..603b10f --- /dev/null +++ b/meta-tizen/recipes-tizen/libevent/libevent-native_git.bb @@ -0,0 +1,12 @@ +require libevent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libevent;protocol=ssh;tag=b566dbae5a43d99861a93e4c8c7a7356a0fcaea5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libevent/libevent.inc b/meta-tizen/recipes-tizen/libevent/libevent.inc new file mode 100644 index 0000000..3e3a20e --- /dev/null +++ b/meta-tizen/recipes-tizen/libevent/libevent.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Library Providing an Event Handling API" +HOMEPAGE = "http://monkey.org/~provos/libevent/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libevent-devel +PROVIDES += "libevent-devel" +RPROVIDES_libevent-devel += "libevent-devel" +RPROVIDES_libevent-devel += "libevent-dev" +# the PROVIDES rules is ignore "libevent:/usr/include/event.h " +PROVIDES += "libevent:/usr/include/event.h" +RPROVIDES_libevent-devel += "libevent:/usr/include/event.h" + +#PROVIDES by libevent +PROVIDES += "libevent" +RPROVIDES_libevent += "libevent" + +RDEPENDS = "" +#RDEPENDS of libevent-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libevent" + + +DEPENDS = "" +#DEPENDS of libevent +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libevent-2.0.20-stable + cp ${S}/packaging/libevent.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libevent-devel" +PACKAGES += "libevent" + +libevent-devel_files = "" +libevent-devel_files += "libevent.manifest" +libevent-devel_files += "/usr/bin/event_rpcgen.py" +libevent-devel_files += "/usr/include/*.h" +libevent-devel_files += "/usr/include/event2" +libevent-devel_files += "/usr/lib/libevent.so" +libevent-devel_files += "/usr/lib/libevent_core.so" +libevent-devel_files += "/usr/lib/libevent_extra.so" +libevent-devel_files += "/usr/lib/libevent_pthreads.so" +libevent-devel_files += "/usr/lib/pkgconfig/libevent.pc" +libevent-devel_files += "/usr/lib/pkgconfig/libevent_pthreads.pc" + +libevent_files = "" +libevent_files += "libevent.manifest" +libevent_files += "/usr/lib/libevent-2.0.so.5*" +libevent_files += "/usr/lib/libevent_core-2.0.so.5*" +libevent_files += "/usr/lib/libevent_extra-2.0.so.5*" +libevent_files += "/usr/lib/libevent_pthreads-2.0.so.5*" + +FILES_${PN}-devel = "${libevent-devel_files}" +FILES_${PN} = "${libevent_files}" + +PKG_libevent-devel= "libevent-devel" +PKG_libevent= "libevent" + +require libevent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libevent/libevent_git.bb b/meta-tizen/recipes-tizen/libevent/libevent_git.bb new file mode 100644 index 0000000..6c372b9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libevent/libevent_git.bb @@ -0,0 +1,8 @@ +require libevent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libevent;protocol=ssh;tag=b566dbae5a43d99861a93e4c8c7a7356a0fcaea5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libexif/libexif-extraconf.inc b/meta-tizen/recipes-tizen/libexif/libexif-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libexif/libexif-native_git.bb b/meta-tizen/recipes-tizen/libexif/libexif-native_git.bb new file mode 100644 index 0000000..582f8a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libexif/libexif-native_git.bb @@ -0,0 +1,12 @@ +require libexif.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libexif;protocol=ssh;tag=c648945fce720d35b6fd35f7ac0db4cbe6dd9e55;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libexif/libexif.inc b/meta-tizen/recipes-tizen/libexif/libexif.inc new file mode 100644 index 0000000..2f78453 --- /dev/null +++ b/meta-tizen/recipes-tizen/libexif/libexif.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "An EXIF Tag Parsing Library for Digital Cameras" +HOMEPAGE = "http://libexif.sourceforge.net" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libexif +PROVIDES += "libexif" +RPROVIDES_libexif += "libexif" + +#PROVIDES by libexif-devel +PROVIDES += "libexif-devel" +RPROVIDES_libexif-devel += "libexif-devel" +RPROVIDES_libexif-devel += "libexif-dev" + +RDEPENDS = "" +#RDEPENDS of libexif-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libexif" +RDEPENDS_${PN}-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of libexif +DEPENDS += "doxygen" +DEPENDS += "pkgconfig-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libexif.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic \ + --disable-static \ + --with-doc-dir=/usr/share/doc/packages/libexif + make + ### -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libexif-12 + + +} + +PACKAGES = "" +PACKAGES += "libexif" +PACKAGES += "libexif-devel" + +libexif_files = "" +libexif_files += "libexif.manifest" +libexif_files += "/usr/lib/*.so.*" + +libexif-devel_files = "" +libexif-devel_files += "libexif.manifest" +libexif-devel_files += "/usr/share/doc/packages/libexif" +libexif-devel_files += "/usr/lib/*.so" +libexif-devel_files += "/usr/lib/pkgconfig/*.pc" +libexif-devel_files += "/usr/include/*" + +FILES_${PN} = "${libexif_files}" +FILES_${PN}-devel = "${libexif-devel_files}" + +PKG_libexif= "libexif" +PKG_libexif-devel= "libexif-devel" + +require libexif-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libexif/libexif_git.bb b/meta-tizen/recipes-tizen/libexif/libexif_git.bb new file mode 100644 index 0000000..51818c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libexif/libexif_git.bb @@ -0,0 +1,8 @@ +require libexif.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libexif;protocol=ssh;tag=c648945fce720d35b6fd35f7ac0db4cbe6dd9e55;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libffi/libffi-extraconf.inc b/meta-tizen/recipes-tizen/libffi/libffi-extraconf.inc new file mode 100644 index 0000000..f79febf --- /dev/null +++ b/meta-tizen/recipes-tizen/libffi/libffi-extraconf.inc @@ -0,0 +1,8 @@ +do_install_append () { + for sub_man in $(seq 1 9) 0p 1p 3p 3pm n ;do + DATA_DIR=${D}/usr/share/man/man${sub_man} + if [ -d ${DATA_DIR} ]; then + find ${DATA_DIR} -name \*.${sub_man} -exec gzip {} \; + fi + done +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/libffi/libffi-native_git.bb b/meta-tizen/recipes-tizen/libffi/libffi-native_git.bb new file mode 100644 index 0000000..3822f7a --- /dev/null +++ b/meta-tizen/recipes-tizen/libffi/libffi-native_git.bb @@ -0,0 +1,12 @@ +require libffi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libffi;protocol=ssh;tag=9afe851c146c40a137b5cf099d1e16658c3a38a3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libffi/libffi.inc b/meta-tizen/recipes-tizen/libffi/libffi.inc new file mode 100644 index 0000000..0a765fb --- /dev/null +++ b/meta-tizen/recipes-tizen/libffi/libffi.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "A portable foreign function interface library" +HOMEPAGE = "http://sourceware.org/libffi" +SECTION = "Base/Toolchain" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libffi +PROVIDES += "libffi" +RPROVIDES_libffi += "libffi" + +#PROVIDES by libffi-devel +PROVIDES += "libffi-devel" +RPROVIDES_libffi-devel += "libffi-devel" +RPROVIDES_libffi-devel += "libffi-dev" + +RDEPENDS = "" +#RDEPENDS of libffi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libffi" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Determine generic arch target name for multilib wrapper + basearch=x86_64 + + # Do header file switcheroo to avoid file conflicts on systems where you + # can have both a 32- and 64-bit version of the library, and they each need + # their own correct-but-different versions of the headers to be usable. + for i in ffi ffitarget; do + mv ${D}/usr/include/$i.h ${D}/usr/include/$i-${basearch}.h + done + install -m644 ${S}/packaging/ffi-multilib.h ${D}/usr/include/ffi.h + install -m644 ${S}/packaging/ffitarget-multilib.h ${D}/usr/include/ffitarget.h + + + +} + +PACKAGES = "" +PACKAGES += "libffi" +PACKAGES += "libffi-devel" + +libffi_files = "" +libffi_files += "/usr/lib/*.so.*" + +libffi-devel_files = "" +libffi-devel_files += "/usr/lib/pkgconfig/*.pc" +libffi-devel_files += "/usr/include/ffi*.h" +libffi-devel_files += "/usr/lib/*.so" +libffi-devel_files += "/usr/share/man/man3/*.gz" +libffi-devel_files += "/usr/share/info/libffi.info.gz" + +FILES_${PN} = "${libffi_files}" +FILES_${PN}-devel = "${libffi-devel_files}" + +PKG_libffi= "libffi" +PKG_libffi-devel= "libffi-devel" + +require libffi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libffi/libffi_git.bb b/meta-tizen/recipes-tizen/libffi/libffi_git.bb new file mode 100644 index 0000000..d9840f9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libffi/libffi_git.bb @@ -0,0 +1,8 @@ +require libffi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libffi;protocol=ssh;tag=9afe851c146c40a137b5cf099d1e16658c3a38a3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libfontenc/libfontenc-extraconf.inc b/meta-tizen/recipes-tizen/libfontenc/libfontenc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libfontenc/libfontenc-native_git.bb b/meta-tizen/recipes-tizen/libfontenc/libfontenc-native_git.bb new file mode 100644 index 0000000..f712aba --- /dev/null +++ b/meta-tizen/recipes-tizen/libfontenc/libfontenc-native_git.bb @@ -0,0 +1,12 @@ +require libfontenc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libfontenc;protocol=ssh;tag=acbf8e04c66b765acd5f1a79fef457de7f7cbb0f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libfontenc/libfontenc.inc b/meta-tizen/recipes-tizen/libfontenc/libfontenc.inc new file mode 100644 index 0000000..8339278 --- /dev/null +++ b/meta-tizen/recipes-tizen/libfontenc/libfontenc.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libfontenc +PROVIDES += "libfontenc" +RPROVIDES_libfontenc += "libfontenc" + +#PROVIDES by libfontenc-devel +PROVIDES += "libfontenc-devel" +RPROVIDES_libfontenc-devel += "libfontenc-devel" +RPROVIDES_libfontenc-devel += "libfontenc-dev" + +RDEPENDS = "" +#RDEPENDS of libfontenc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libfontenc" + + +DEPENDS = "" +#DEPENDS of libfontenc +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "autoconf-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libfontenc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --with-encodingsdir=/usr/share/fonts/X11/encodings + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libfontenc" +PACKAGES += "libfontenc-devel" + +libfontenc_files = "" +libfontenc_files += "libfontenc.manifest" +libfontenc_files += "COPYING" +libfontenc_files += "/usr/lib/libfontenc.so.1" +libfontenc_files += "/usr/lib/libfontenc.so.1.0.0" + +libfontenc-devel_files = "" +libfontenc-devel_files += "libfontenc.manifest" +libfontenc-devel_files += "/usr/include/X11" +libfontenc-devel_files += "/usr/include/X11/fonts" +libfontenc-devel_files += "/usr/include/X11/fonts/fontenc.h" +libfontenc-devel_files += "/usr/lib/libfontenc.so" +libfontenc-devel_files += "/usr/lib/pkgconfig/fontenc.pc" + +FILES_${PN} = "${libfontenc_files}" +FILES_${PN}-devel = "${libfontenc-devel_files}" + +PKG_libfontenc= "libfontenc" +PKG_libfontenc-devel= "libfontenc-devel" + +require libfontenc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libfontenc/libfontenc_git.bb b/meta-tizen/recipes-tizen/libfontenc/libfontenc_git.bb new file mode 100644 index 0000000..69777c5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libfontenc/libfontenc_git.bb @@ -0,0 +1,8 @@ +require libfontenc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libfontenc;protocol=ssh;tag=acbf8e04c66b765acd5f1a79fef457de7f7cbb0f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgcrypt/libgcrypt-extraconf.inc b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libgcrypt/libgcrypt-native_git.bb b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt-native_git.bb new file mode 100644 index 0000000..885e4c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt-native_git.bb @@ -0,0 +1,12 @@ +require libgcrypt.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgcrypt;protocol=ssh;tag=0a783dc5999fbf8ded0da5e16b4c39ce88dfc978;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgcrypt/libgcrypt.inc b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt.inc new file mode 100644 index 0000000..7c553e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "The GNU Crypto Library" +HOMEPAGE = "http://directory.fsf.org/wiki/Libgcrypt" +SECTION = "Security/Crypto Libraries" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libgcrypt +PROVIDES += "libgcrypt" +RPROVIDES_libgcrypt += "libgcrypt" + +#PROVIDES by libgcrypt-devel +PROVIDES += "libgcrypt-devel" +RPROVIDES_libgcrypt-devel += "libgcrypt-devel" +RPROVIDES_libgcrypt-devel += "libgcrypt-dev" + +RDEPENDS = "" +#RDEPENDS of libgcrypt-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libgcrypt" +RDEPENDS_${PN}-devel += "libgpg-error-dev" + + +DEPENDS = "" +#DEPENDS of libgcrypt +DEPENDS += "libgpg-error-devel" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libgcrypt.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # define ciphers to build + ENABLE_CIPHER="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia" + ENABLE_PUBKEY="dsa elgamal rsa ecc" + ENABLE_DIGEST="crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool" + # + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic \ + --enable-noexecstack \ + --disable-static \ + --enable-ciphers="$ENABLE_CIPHER" \ + --enable-pubkey-ciphers="$ENABLE_PUBKEY" \ + --enable-digests="$ENABLE_DIGEST" + make -j16 + + exit 0 + # Nice idea. however this uses /dev/random, which hangs + # on hardware without random feeds. + #make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libgcrypt" +PACKAGES += "libgcrypt-devel" + +libgcrypt_files = "" +libgcrypt_files += "libgcrypt.manifest" +libgcrypt_files += "GFDL-1.1 ; GPL-2.0+ ; LGPL-2.1+ ; MIT COPYING COPYING.LIB" +libgcrypt_files += "/usr/lib/libgcrypt.so.11*" + +libgcrypt-devel_files = "" +libgcrypt-devel_files += "libgcrypt.manifest" +libgcrypt-devel_files += "/usr/share/info/gcrypt.info.gz" +libgcrypt-devel_files += "/usr/share/info/gcrypt.info-1.gz" +libgcrypt-devel_files += "/usr/bin/dumpsexp" +libgcrypt-devel_files += "/usr/bin/hmac256" +libgcrypt-devel_files += "/usr/bin/libgcrypt-config" +libgcrypt-devel_files += "/usr/lib/libgcrypt.so" +libgcrypt-devel_files += "/usr/include/gcrypt*.h" +libgcrypt-devel_files += "/usr/share/aclocal/libgcrypt.m4" + +FILES_${PN} = "${libgcrypt_files}" +FILES_${PN}-devel = "${libgcrypt-devel_files}" + +PKG_libgcrypt= "libgcrypt" +PKG_libgcrypt-devel= "libgcrypt-devel" + +require libgcrypt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libgcrypt/libgcrypt_git.bb b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt_git.bb new file mode 100644 index 0000000..ff7ff08 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgcrypt/libgcrypt_git.bb @@ -0,0 +1,8 @@ +require libgcrypt.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgcrypt;protocol=ssh;tag=0a783dc5999fbf8ded0da5e16b4c39ce88dfc978;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgee/libgee-extraconf.inc b/meta-tizen/recipes-tizen/libgee/libgee-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libgee/libgee-native_git.bb b/meta-tizen/recipes-tizen/libgee/libgee-native_git.bb new file mode 100644 index 0000000..3b932a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgee/libgee-native_git.bb @@ -0,0 +1,12 @@ +require libgee.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgee;protocol=ssh;tag=24bb6db9d4111a80493e5658b746c34ab80f4dbc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgee/libgee.inc b/meta-tizen/recipes-tizen/libgee/libgee.inc new file mode 100644 index 0000000..2933f0f --- /dev/null +++ b/meta-tizen/recipes-tizen/libgee/libgee.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "GObject-based library providing commonly used data structures" +HOMEPAGE = "http://live.gnome.org/Libgee" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by typelib-Gee +PROVIDES += "typelib-Gee" +RPROVIDES_typelib-Gee += "typelib-Gee" + +#PROVIDES by libgee +PROVIDES += "libgee" +RPROVIDES_libgee += "libgee" + +#PROVIDES by libgee-devel +PROVIDES += "libgee-devel" +RPROVIDES_libgee-devel += "libgee-devel" +RPROVIDES_libgee-devel += "libgee-dev" + +RDEPENDS = "" +#RDEPENDS of libgee (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of libgee-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "typelib-Gee" +RDEPENDS_${PN}-devel += "libgee" + + +DEPENDS = "" +#DEPENDS of libgee +DEPENDS += "gobject-introspection" +DEPENDS += "vala" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "gnome-common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "typelib-Gee" +PACKAGES += "libgee" +PACKAGES += "libgee-devel" + +typelib-Gee_files = "" +typelib-Gee_files += "/usr/lib/girepository-1.0/Gee-0.8.typelib" + +libgee_files = "" +libgee_files += "/usr/lib/*.so.*" + +libgee-devel_files = "" +libgee-devel_files += "/usr/include/gee-0.8/" +libgee-devel_files += "/usr/lib/*.so" +libgee-devel_files += "/usr/lib/pkgconfig/*.pc" +libgee-devel_files += "/usr/share/gir-1.0/*.gir" +libgee-devel_files += "/usr/share/vala" +libgee-devel_files += "/usr/share/vala/vapi" +libgee-devel_files += "/usr/share/vala/vapi/*.vapi" + +FILES_typelib-Gee = "${typelib-Gee_files}" +FILES_${PN} = "${libgee_files}" +FILES_${PN}-devel = "${libgee-devel_files}" + +PKG_typelib-Gee= "typelib-Gee" +PKG_libgee= "libgee" +PKG_libgee-devel= "libgee-devel" + +require libgee-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libgee/libgee_git.bb b/meta-tizen/recipes-tizen/libgee/libgee_git.bb new file mode 100644 index 0000000..7ef0695 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgee/libgee_git.bb @@ -0,0 +1,8 @@ +require libgee.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgee;protocol=ssh;tag=24bb6db9d4111a80493e5658b746c34ab80f4dbc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgpg-error/libgpg-error-extraconf.inc b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libgpg-error/libgpg-error-native_git.bb b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error-native_git.bb new file mode 100644 index 0000000..0f957d4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error-native_git.bb @@ -0,0 +1,12 @@ +require libgpg-error.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgpg-error;protocol=ssh;tag=3f2c55d70c10885af673d45e2acc85445578978a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libgpg-error/libgpg-error.inc b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error.inc new file mode 100644 index 0000000..960c410 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Library That Defines Common Error Values for All GnuPG Components" +HOMEPAGE = "http://www.gnupg.org/" +SECTION = "Security/Crypto Libraries" +LICENSE = "GPL-2.0+ LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libgpg-error-devel +PROVIDES += "libgpg-error-devel" +RPROVIDES_libgpg-error-devel += "libgpg-error-devel" +RPROVIDES_libgpg-error-devel += "libgpg-error-dev" + +#PROVIDES by libgpg-error +PROVIDES += "libgpg-error" +RPROVIDES_libgpg-error += "libgpg-error" + +#PROVIDES by libgpg-error-locale +PROVIDES += "libgpg-error-locale " +RPROVIDES_libgpg-error-locale += "libgpg-error-locale " +# the PROVIDES rules is ignore "libgpg-error-lang-all = 1.10" +PROVIDES += "libgpg-error-lang-all" +RPROVIDES_libgpg-error-locale += "libgpg-error-lang-all" + +RDEPENDS = "" +#RDEPENDS of libgpg-error-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libgpg-error" + +#RDEPENDS of libgpg-error-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "libgpg-error" + + +DEPENDS = "" +#DEPENDS of libgpg-error +DEPENDS += "libtool-cross" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libgpg-error-1.10 + cp ${S}/packaging/libgpg-error.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -r ${D}/usr/share/common-lisp + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libgpg-error + + +} + +PACKAGES = "" +PACKAGES += "libgpg-error-devel" +PACKAGES += "libgpg-error-locale" +PACKAGES += "libgpg-error" + +libgpg-error-devel_files = "" +libgpg-error-devel_files += "libgpg-error.manifest" +libgpg-error-devel_files += "/usr/share/aclocal/gpg-error.m4" +libgpg-error-devel_files += "/usr/include/*" +libgpg-error-devel_files += "/usr/bin/*" +libgpg-error-devel_files += "/usr/lib/libgpg-error*.so" + +libgpg-error-locale_files = "" + +libgpg-error_files = "" +libgpg-error_files += "libgpg-error.manifest" +libgpg-error_files += "GPL-2.0+ ; LGPL-2.1+ ; MIT COPYING.LIB COPYING" +libgpg-error_files += "/usr/lib/libgpg-error*.so.*" + +FILES_${PN}-devel = "${libgpg-error-devel_files}" +FILES_${PN}-locale = "${libgpg-error-locale_files}" +FILES_${PN} = "${libgpg-error_files}" + +PKG_libgpg-error-devel= "libgpg-error-devel" +PKG_libgpg-error-locale= "libgpg-error-locale" +PKG_libgpg-error= "libgpg-error" + +require libgpg-error-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libgpg-error/libgpg-error_git.bb b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error_git.bb new file mode 100644 index 0000000..89833e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libgpg-error/libgpg-error_git.bb @@ -0,0 +1,8 @@ +require libgpg-error.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgpg-error;protocol=ssh;tag=3f2c55d70c10885af673d45e2acc85445578978a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libhangul/libhangul-extraconf.inc b/meta-tizen/recipes-tizen/libhangul/libhangul-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libhangul/libhangul-native_git.bb b/meta-tizen/recipes-tizen/libhangul/libhangul-native_git.bb new file mode 100644 index 0000000..b0eb63f --- /dev/null +++ b/meta-tizen/recipes-tizen/libhangul/libhangul-native_git.bb @@ -0,0 +1,12 @@ +require libhangul.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libhangul;protocol=ssh;tag=695c1b4aa87245304c7aec31ab830ee0d0d05783;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libhangul/libhangul.inc b/meta-tizen/recipes-tizen/libhangul/libhangul.inc new file mode 100644 index 0000000..991ac6b --- /dev/null +++ b/meta-tizen/recipes-tizen/libhangul/libhangul.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Hangul input library used by scim-hangul and ibus-hangul" +HOMEPAGE = "http://code.google.com/p/libhangul" +SECTION = "System/I18n/Korean" +LICENSE = "LGPLv2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libhangul-devel +PROVIDES += "libhangul-devel" +RPROVIDES_libhangul-devel += "libhangul-devel" +RPROVIDES_libhangul-devel += "libhangul-dev" + +#PROVIDES by libhangul +PROVIDES += "libhangul" +RPROVIDES_libhangul += "libhangul" + +RDEPENDS = "" +#RDEPENDS of libhangul-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libhangul" + + +DEPENDS = "" +#DEPENDS of libhangul +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libhangul.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${RPM_BUILD_ROOT} install + /bin/rm -f ${D}/usr/lib/*.la + + +} + +PACKAGES = "" +PACKAGES += "libhangul-devel" +PACKAGES += "libhangul" + +libhangul-devel_files = "" +libhangul-devel_files += "libhangul.manifest" +libhangul-devel_files += "/usr/include/hangul-1.0/" +libhangul-devel_files += "/usr/include/hangul-1.0/*" +libhangul-devel_files += "/usr/lib/lib*.so" +libhangul-devel_files += "/usr/lib/pkgconfig/libhangul.pc" + +libhangul_files = "" +libhangul_files += "libhangul.manifest" +libhangul_files += "AUTHORS COPYING NEWS README ChangeLog" +libhangul_files += "/usr/lib/lib*.so.*" +libhangul_files += "/usr/share/libhangul/" +libhangul_files += "/usr/share/libhangul/hanja/" +libhangul_files += "/usr/share/libhangul/hanja/hanja.txt" +libhangul_files += "/usr/bin/hangul" +libhangul_files += "/usr/share/locale/ko/LC_MESSAGES/libhangul.mo" + +FILES_${PN}-devel = "${libhangul-devel_files}" +FILES_${PN} = "${libhangul_files}" + +PKG_libhangul-devel= "libhangul-devel" +PKG_libhangul= "libhangul" + +require libhangul-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libhangul/libhangul_git.bb b/meta-tizen/recipes-tizen/libhangul/libhangul_git.bb new file mode 100644 index 0000000..7ef3128 --- /dev/null +++ b/meta-tizen/recipes-tizen/libhangul/libhangul_git.bb @@ -0,0 +1,8 @@ +require libhangul.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libhangul;protocol=ssh;tag=695c1b4aa87245304c7aec31ab830ee0d0d05783;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic-extraconf.inc b/meta-tizen/recipes-tizen/libhaptic/libhaptic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic-native_git.bb b/meta-tizen/recipes-tizen/libhaptic/libhaptic-native_git.bb new file mode 100644 index 0000000..31af357 --- /dev/null +++ b/meta-tizen/recipes-tizen/libhaptic/libhaptic-native_git.bb @@ -0,0 +1,12 @@ +require libhaptic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libhaptic;protocol=ssh;tag=f231283973654cf74742eb4f27e9baca5cb575ac;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc new file mode 100644 index 0000000..7774203 --- /dev/null +++ b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Haptic library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libhaptic +PROVIDES += "libhaptic" +RPROVIDES_libhaptic += "libhaptic" + +#PROVIDES by libhaptic-devel +PROVIDES += "libhaptic-devel" +RPROVIDES_libhaptic-devel += "libhaptic-devel" +RPROVIDES_libhaptic-devel += "libhaptic-dev" + +#PROVIDES by libhaptic-plugin-devel +PROVIDES += "libhaptic-plugin-devel" +RPROVIDES_libhaptic-plugin-devel += "libhaptic-plugin-devel" +RPROVIDES_libhaptic-plugin-devel += "libhaptic-plugin-dev" + +RDEPENDS = "" +#RDEPENDS of libhaptic-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libhaptic" + + +DEPENDS = "" +#DEPENDS of libhaptic +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/libhaptic.manifest . + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "libhaptic" +PACKAGES += "libhaptic-devel" +PACKAGES += "libhaptic-plugin-devel" + +libhaptic_files = "" +libhaptic_files += "libhaptic.manifest" +libhaptic_files += "/usr/lib/libhaptic.so.*" +libhaptic_files += "/usr/share/license/haptic" + +libhaptic-devel_files = "" +libhaptic-devel_files += "libhaptic.manifest" +libhaptic-devel_files += "/usr/include/haptic/haptic.h" +libhaptic-devel_files += "/usr/include/haptic/SLP_HAPTIC_PG.h" +libhaptic-devel_files += "/usr/lib/libhaptic.so" +libhaptic-devel_files += "/usr/lib/pkgconfig/haptic.pc" + +libhaptic-plugin-devel_files = "" +libhaptic-plugin-devel_files += "libhaptic.manifest" +libhaptic-plugin-devel_files += "/usr/include/haptic/haptic_module.h" +libhaptic-plugin-devel_files += "/usr/include/haptic/haptic_plugin_intf.h" +libhaptic-plugin-devel_files += "/usr/lib/pkgconfig/haptic-plugin.pc" + +FILES_${PN} = "${libhaptic_files}" +FILES_${PN}-devel = "${libhaptic-devel_files}" +FILES_${PN}-plugin-devel = "${libhaptic-plugin-devel_files}" + +PKG_libhaptic= "libhaptic" +PKG_libhaptic-devel= "libhaptic-devel" +PKG_libhaptic-plugin-devel= "libhaptic-plugin-devel" + +require libhaptic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic_git.bb b/meta-tizen/recipes-tizen/libhaptic/libhaptic_git.bb new file mode 100644 index 0000000..31d623d --- /dev/null +++ b/meta-tizen/recipes-tizen/libhaptic/libhaptic_git.bb @@ -0,0 +1,8 @@ +require libhaptic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libhaptic;protocol=ssh;tag=f231283973654cf74742eb4f27e9baca5cb575ac;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libical/libical-extraconf.inc b/meta-tizen/recipes-tizen/libical/libical-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libical/libical-native_git.bb b/meta-tizen/recipes-tizen/libical/libical-native_git.bb new file mode 100644 index 0000000..bd5c267 --- /dev/null +++ b/meta-tizen/recipes-tizen/libical/libical-native_git.bb @@ -0,0 +1,12 @@ +require libical.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libical;protocol=ssh;tag=8081d095046034ea2697c07518abe91ab4dbbcb8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libical/libical.inc b/meta-tizen/recipes-tizen/libical/libical.inc new file mode 100644 index 0000000..3674999 --- /dev/null +++ b/meta-tizen/recipes-tizen/libical/libical.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "An Implementation of Basic iCAL Protocols" +HOMEPAGE = "http://sourceforge.net/projects/freeassociation/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MPL-1.1 or LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libical-doc +PROVIDES += "libical-doc" +RPROVIDES_libical-doc += "libical-doc" + +#PROVIDES by libical +PROVIDES += "libical" +RPROVIDES_libical += "libical" + +#PROVIDES by libical-devel +PROVIDES += "libical-devel" +RPROVIDES_libical-devel += "libical-devel" +RPROVIDES_libical-devel += "libical-dev" + +RDEPENDS = "" +#RDEPENDS of libical-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "libical" + +#RDEPENDS of libical-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libical" + + +DEPENDS = "" +#DEPENDS of libical +DEPENDS += "python-devel" +DEPENDS += "libtool-cross" +DEPENDS += "db4" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libical.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # triger autoreconf since the 0.46 tarball is missing autotools bootstrap files + autoreconf -f -i + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-bdb4 \ + --with-bdb4-dir=/usr \ + --without-builtintz \ + --enable-shared \ + --disable-static + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /bin/rm doc/Makefile* + /bin/rm -rf examples/.deps + /bin/rm -rf examples/.libs + /bin/rm examples/*.o + /bin/rm examples/doesnothing + /bin/rm scripts/Makefile* + /bin/sed -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl + + +} + +PACKAGES = "" +PACKAGES += "libical-doc" +PACKAGES += "libical" +PACKAGES += "libical-devel" + +libical-doc_files = "" +libical-doc_files += "libical.manifest" +libical-doc_files += "doc examples scripts" + +libical_files = "" +libical_files += "libical.manifest" +libical_files += "/usr/lib/*.so.*" + +libical-devel_files = "" +libical-devel_files += "libical.manifest" +libical-devel_files += "/usr/lib/*.so" +libical-devel_files += "/usr/lib/pkgconfig/libical.pc" +libical-devel_files += "/usr/include/ical.h" +libical-devel_files += "/usr/include/libical" + +FILES_${PN}-doc = "${libical-doc_files}" +FILES_${PN} = "${libical_files}" +FILES_${PN}-devel = "${libical-devel_files}" + +PKG_libical-doc= "libical-doc" +PKG_libical= "libical" +PKG_libical-devel= "libical-devel" + +require libical-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libical/libical_git.bb b/meta-tizen/recipes-tizen/libical/libical_git.bb new file mode 100644 index 0000000..c6219eb --- /dev/null +++ b/meta-tizen/recipes-tizen/libical/libical_git.bb @@ -0,0 +1,8 @@ +require libical.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libical;protocol=ssh;tag=8081d095046034ea2697c07518abe91ab4dbbcb8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libidn/libidn-extraconf.inc b/meta-tizen/recipes-tizen/libidn/libidn-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libidn/libidn-native_git.bb b/meta-tizen/recipes-tizen/libidn/libidn-native_git.bb new file mode 100644 index 0000000..1199413 --- /dev/null +++ b/meta-tizen/recipes-tizen/libidn/libidn-native_git.bb @@ -0,0 +1,12 @@ +require libidn.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libidn;protocol=ssh;tag=74e8b53e1da2f136d54f937a7a81ee87417943d3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libidn/libidn.inc b/meta-tizen/recipes-tizen/libidn/libidn.inc new file mode 100644 index 0000000..683fe5e --- /dev/null +++ b/meta-tizen/recipes-tizen/libidn/libidn.inc @@ -0,0 +1,156 @@ +DESCRIPTION = "Support for Internationalized Domain Names (IDN)" +HOMEPAGE = "http://www.gnu.org/software/libidn/" +SECTION = "System/Libraries" +LICENSE = "(GPL-2.0+ or LGPL-3.0+) and GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libidn-docs +PROVIDES += "libidn-docs " +RPROVIDES_libidn-docs += "libidn-docs " + +#PROVIDES by libidn +PROVIDES += "libidn" +RPROVIDES_libidn += "libidn" + +#PROVIDES by libidn-locale +PROVIDES += "libidn-locale " +RPROVIDES_libidn-locale += "libidn-locale " +# the PROVIDES rules is ignore "libidn-lang-all = 1.25" +PROVIDES += "libidn-lang-all" +RPROVIDES_libidn-locale += "libidn-lang-all" + +#PROVIDES by libidn-devel +PROVIDES += "libidn-devel" +RPROVIDES_libidn-devel += "libidn-devel" +RPROVIDES_libidn-devel += "libidn-dev" + +RDEPENDS = "" +#RDEPENDS of libidn-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "libidn" + +#RDEPENDS of libidn-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libidn" + + +DEPENDS = "" +#DEPENDS of libidn +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libidn.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic --disable-static --disable-gtk-doc + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}//usr/share/info/dir + rm -f ${D}/usr/lib/libidn.la + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libidn + + + +} + +PACKAGES = "" +PACKAGES += "libidn-locale" +PACKAGES += "libidn-devel" +PACKAGES += "libidn" +PACKAGES += "libidn-docs" + +libidn-locale_files = "" + +libidn-devel_files = "" +libidn-devel_files += "libidn.manifest" +libidn-devel_files += "/usr/lib/libidn.so" +libidn-devel_files += "/usr/include/*.h" +libidn-devel_files += "/usr/lib/pkgconfig/libidn.pc" + +libidn_files = "" +libidn_files += "libidn.manifest" +libidn_files += "LGPL-2.1+ COPYING" +libidn_files += "/usr/lib/libidn.so.*" +libidn_files += "/usr/share/info/libidn*" +libidn_files += "/usr/bin/idn" +libidn_files += "/usr/share/emacs/site-lisp/idna.el" +libidn_files += "/usr/share/emacs/site-lisp/punycode.el" + +libidn-docs_files = "" +libidn-docs_files += "/usr/share/info" +libidn-docs_files += "/usr/share/man" + +FILES_${PN}-locale = "${libidn-locale_files}" +FILES_${PN}-devel = "${libidn-devel_files}" +FILES_${PN} = "${libidn_files}" +FILES_${PN}-docs = "${libidn-docs_files}" + +PKG_libidn-locale= "libidn-locale" +PKG_libidn-devel= "libidn-devel" +PKG_libidn= "libidn" +PKG_libidn-docs= "libidn-docs" + +require libidn-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libidn/libidn_git.bb b/meta-tizen/recipes-tizen/libidn/libidn_git.bb new file mode 100644 index 0000000..472a438 --- /dev/null +++ b/meta-tizen/recipes-tizen/libidn/libidn_git.bb @@ -0,0 +1,8 @@ +require libidn.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libidn;protocol=ssh;tag=74e8b53e1da2f136d54f937a7a81ee87417943d3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libijs/libijs-extraconf.inc b/meta-tizen/recipes-tizen/libijs/libijs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libijs/libijs-native_git.bb b/meta-tizen/recipes-tizen/libijs/libijs-native_git.bb new file mode 100644 index 0000000..b7c2902 --- /dev/null +++ b/meta-tizen/recipes-tizen/libijs/libijs-native_git.bb @@ -0,0 +1,12 @@ +require libijs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libijs;protocol=ssh;tag=94d81079cc3cee8d4424d9f1984313ce79109eed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libijs/libijs.inc b/meta-tizen/recipes-tizen/libijs/libijs.inc new file mode 100644 index 0000000..40799be --- /dev/null +++ b/meta-tizen/recipes-tizen/libijs/libijs.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "IJS raster image transport protocol library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libijs-devel +PROVIDES += "libijs-devel" +RPROVIDES_libijs-devel += "libijs-devel" +RPROVIDES_libijs-devel += "libijs-dev" + +#PROVIDES by libijs +PROVIDES += "libijs" +RPROVIDES_libijs += "libijs" + +RDEPENDS = "" +#RDEPENDS of libijs-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libijs" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libijs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS" + export CXXFLAGS="$RPM_OPT_FLAGS" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-shared + + make CFLAGS="$CFLAGS" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libijs-devel" +PACKAGES += "libijs" + +libijs-devel_files = "" +libijs-devel_files += "libijs.manifest" +libijs-devel_files += "/usr/include/ijs/*.h" +libijs-devel_files += "/usr/lib/*.so" +libijs-devel_files += "/usr/lib/pkgconfig/ijs.pc" +libijs-devel_files += "/usr/bin/*" +libijs-devel_files += "/usr/share/man/man1/ijs-config.1.gz" + +libijs_files = "" +libijs_files += "libijs.manifest" +libijs_files += "/usr/lib/libijs-0.35.so" + +FILES_${PN}-devel = "${libijs-devel_files}" +FILES_${PN} = "${libijs_files}" + +PKG_libijs-devel= "libijs-devel" +PKG_libijs= "libijs" + +require libijs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libijs/libijs_git.bb b/meta-tizen/recipes-tizen/libijs/libijs_git.bb new file mode 100644 index 0000000..fac953a --- /dev/null +++ b/meta-tizen/recipes-tizen/libijs/libijs_git.bb @@ -0,0 +1,8 @@ +require libijs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libijs;protocol=ssh;tag=94d81079cc3cee8d4424d9f1984313ce79109eed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libiri/libiri-extraconf.inc b/meta-tizen/recipes-tizen/libiri/libiri-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libiri/libiri-native_git.bb b/meta-tizen/recipes-tizen/libiri/libiri-native_git.bb new file mode 100644 index 0000000..c22c530 --- /dev/null +++ b/meta-tizen/recipes-tizen/libiri/libiri-native_git.bb @@ -0,0 +1,12 @@ +require libiri.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libiri;protocol=ssh;tag=363e9b8662c93c826fa1c33b8737d161b9491234;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libiri/libiri.inc b/meta-tizen/recipes-tizen/libiri/libiri.inc new file mode 100644 index 0000000..11ecb16 --- /dev/null +++ b/meta-tizen/recipes-tizen/libiri/libiri.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "An IRI parsing library" +HOMEPAGE = "http://code.google.com/p/libiri/" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libiri-devel +PROVIDES += "libiri-devel" +RPROVIDES_libiri-devel += "libiri-devel" +RPROVIDES_libiri-devel += "libiri-dev" + +#PROVIDES by libiri +PROVIDES += "libiri" +RPROVIDES_libiri += "libiri" + +RDEPENDS = "" +#RDEPENDS of libiri-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libiri" + + +DEPENDS = "" +#DEPENDS of libiri +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libiri.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + sh ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "libiri-devel" +PACKAGES += "libiri" + +libiri-devel_files = "" +libiri-devel_files += "libiri.manifest" +libiri-devel_files += "/usr/lib/pkgconfig/*.pc" +libiri-devel_files += "/usr/include/*.h" +libiri-devel_files += "/usr/bin/iri-config" + +libiri_files = "" +libiri_files += "libiri.manifest" +libiri_files += "/usr/lib/*.so" + +FILES_${PN}-devel = "${libiri-devel_files}" +FILES_${PN} = "${libiri_files}" + +PKG_libiri-devel= "libiri-devel" +PKG_libiri= "libiri" + +require libiri-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libiri/libiri_git.bb b/meta-tizen/recipes-tizen/libiri/libiri_git.bb new file mode 100644 index 0000000..32a067c --- /dev/null +++ b/meta-tizen/recipes-tizen/libiri/libiri_git.bb @@ -0,0 +1,8 @@ +require libiri.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libiri;protocol=ssh;tag=363e9b8662c93c826fa1c33b8737d161b9491234;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-native_git.bb b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-native_git.bb new file mode 100644 index 0000000..4523e4f --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-native_git.bb @@ -0,0 +1,12 @@ +require libjpeg-turbo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libjpeg-turbo;protocol=ssh;tag=92e0ae092a0cb7d193d58e7f2904571669214dc5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc new file mode 100644 index 0000000..967cff7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc @@ -0,0 +1,186 @@ +DESCRIPTION = "A MMX/SSE2 accelerated library for manipulating JPEG image files" +HOMEPAGE = "http://sourceforge.net/projects/libjpeg-turbo" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libjpeg +PROVIDES += "libjpeg" +RPROVIDES_libjpeg += "libjpeg" +# the PROVIDES rules is ignore "libjpeg = 8.0.2" +PROVIDES += "libjpeg" +RPROVIDES_libjpeg += "libjpeg" +# the PROVIDES rules is ignore "libjpeg8 " +PROVIDES += "libjpeg8" +RPROVIDES_libjpeg += "libjpeg8" + +#PROVIDES by libjpeg-turbo +PROVIDES += "libjpeg-turbo" +RPROVIDES_libjpeg-turbo += "libjpeg-turbo" + +#PROVIDES by libjpeg-devel +PROVIDES += "libjpeg-devel" +RPROVIDES_libjpeg-devel += "libjpeg-devel" +RPROVIDES_libjpeg-devel += "libjpeg-dev" +# the PROVIDES rules is ignore "libjpeg-turbo-devel " +PROVIDES += "libjpeg-turbo-devel" +RPROVIDES_libjpeg-devel += "libjpeg-turbo-devel" +RPROVIDES_libjpeg-devel += "libjpeg-turbo-dev" +# the PROVIDES rules is ignore "libjpeg-devel = 8.0.2" +PROVIDES += "libjpeg-devel" +RPROVIDES_libjpeg-devel += "libjpeg-devel" +RPROVIDES_libjpeg-devel += "libjpeg-dev" +# the PROVIDES rules is ignore "libjpeg8-devel " +PROVIDES += "libjpeg8-devel" +RPROVIDES_libjpeg-devel += "libjpeg8-devel" +RPROVIDES_libjpeg-devel += "libjpeg8-dev" + +#PROVIDES by libjpeg-turbo-docs +PROVIDES += "libjpeg-turbo-docs " +RPROVIDES_libjpeg-turbo-docs += "libjpeg-turbo-docs " + +RDEPENDS = "" +#RDEPENDS of libjpeg-devel (libjpeg-devel) +RDEPENDS_libjpeg-devel += "libjpeg" + + +DEPENDS = "" +#DEPENDS of libjpeg-turbo +DEPENDS += "gcc-cross" +DEPENDS += "libtool-cross" +DEPENDS += "yasm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libjpeg-turbo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --with-jpeg8 + make -j16 + + exit 0 + make test libdir=/usr/lib + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + + # Fix perms + chmod -x README-turbo.txt release/copyright + + # Remove unwanted files + rm -f ${D}/usr/lib/lib{,turbo}jpeg.la + + rm ${D}/usr/bin/tjbench + + # Remove docs, we'll select docs manually + rm -rf ${D}/usr/share/doc/ + + +} + +PACKAGES = "" +PACKAGES += "libjpeg" +PACKAGES += "libjpeg-turbo" +PACKAGES += "libjpeg-turbo-docs" +PACKAGES += "libjpeg-devel" + +libjpeg_files = "" +libjpeg_files += "libjpeg-turbo.manifest" +libjpeg_files += "/usr/lib/libturbojpeg.so" +libjpeg_files += "/usr/lib/libjpeg.so.8.0.2" +libjpeg_files += "/usr/lib/libjpeg.so.8" + +libjpeg-turbo_files = "" +libjpeg-turbo_files += "libjpeg-turbo.manifest" +libjpeg-turbo_files += "/usr/bin/*" + +libjpeg-turbo-docs_files = "" +libjpeg-turbo-docs_files += "/usr/share/info" +libjpeg-turbo-docs_files += "/usr/share/man" + +libjpeg-devel_files = "" +libjpeg-devel_files += "libjpeg-turbo.manifest" +libjpeg-devel_files += "/usr/include/*.h" +libjpeg-devel_files += "/usr/lib/libjpeg.so" +libjpeg-devel_files += "coderules.txt jconfig.txt libjpeg.txt structure.txt example.c" + +FILES_libjpeg = "${libjpeg_files}" +FILES_${PN} = "${libjpeg-turbo_files}" +FILES_${PN}-docs = "${libjpeg-turbo-docs_files}" +FILES_libjpeg-devel = "${libjpeg-devel_files}" + +PKG_libjpeg= "libjpeg" +PKG_libjpeg-turbo= "libjpeg-turbo" +PKG_libjpeg-turbo-docs= "libjpeg-turbo-docs" +PKG_libjpeg-devel= "libjpeg-devel" + +require libjpeg-turbo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb new file mode 100644 index 0000000..61ed0c3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb @@ -0,0 +1,8 @@ +require libjpeg-turbo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libjpeg-turbo;protocol=ssh;tag=92e0ae092a0cb7d193d58e7f2904571669214dc5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libjpeg6/libjpeg6-extraconf.inc b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libjpeg6/libjpeg6-native_git.bb b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6-native_git.bb new file mode 100644 index 0000000..7be3ee8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6-native_git.bb @@ -0,0 +1,12 @@ +require libjpeg6.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libjpeg6;protocol=ssh;tag=c24fd1478fcb5dc13fda8400dbf50a52e009db94;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libjpeg6/libjpeg6.inc b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6.inc new file mode 100644 index 0000000..d91b2e8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "A library for manipulating JPEG image format files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "IJG" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libjpeg6-devel +PROVIDES += "libjpeg6-devel" +RPROVIDES_libjpeg6-devel += "libjpeg6-devel" +RPROVIDES_libjpeg6-devel += "libjpeg6-dev" + +#PROVIDES by libjpeg6 +PROVIDES += "libjpeg6" +RPROVIDES_libjpeg6 += "libjpeg6" + +#PROVIDES by libjpeg6-docs +PROVIDES += "libjpeg6-docs " +RPROVIDES_libjpeg6-docs += "libjpeg6-docs " + +RDEPENDS = "" +#RDEPENDS of libjpeg6-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libjpeg6" + + +DEPENDS = "" +#DEPENDS of libjpeg6 +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n jpeg-6b + cp ${S}/packaging/libjpeg6.manifest . + + # libjpeg 6b includes a horribly obsolete version of libtool. + # Blow it away and replace with build system's version. + rm -f ltmain.sh ltconfig aclocal.m4 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-shared --disable-static + + make libdir=/usr/lib -j16 + + exit 0 + LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make test libdir=/usr/lib + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + mkdir -p ${D}/usr/include + mkdir -p ${D}/usr/lib + mkdir -p ${D}/usr/share/man/man1 + + # The make_install macro doesn't work here... + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + + # Work around the broken makefiles... + mv ${D}/usr/share/man/*.1 ${D}/usr/share/man/man1 + rm -f ${D}/usr/lib/libjpeg.la + + + +} + +PACKAGES = "" +PACKAGES += "libjpeg6-devel" +PACKAGES += "libjpeg6" +PACKAGES += "libjpeg6-docs" + +libjpeg6-devel_files = "" +libjpeg6-devel_files += "libjpeg6.manifest" +libjpeg6-devel_files += "/usr/bin/*" +libjpeg6-devel_files += "/usr/include/*.h" +libjpeg6-devel_files += "/usr/lib/*.so" + +libjpeg6_files = "" +libjpeg6_files += "libjpeg6.manifest" +libjpeg6_files += "/usr/lib/libjpeg.so.*" + +libjpeg6-docs_files = "" +libjpeg6-docs_files += "/usr/share/info" +libjpeg6-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${libjpeg6-devel_files}" +FILES_${PN} = "${libjpeg6_files}" +FILES_${PN}-docs = "${libjpeg6-docs_files}" + +PKG_libjpeg6-devel= "libjpeg6-devel" +PKG_libjpeg6= "libjpeg6" +PKG_libjpeg6-docs= "libjpeg6-docs" + +require libjpeg6-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libjpeg6/libjpeg6_git.bb b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6_git.bb new file mode 100644 index 0000000..cb8490b --- /dev/null +++ b/meta-tizen/recipes-tizen/libjpeg6/libjpeg6_git.bb @@ -0,0 +1,8 @@ +require libjpeg6.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libjpeg6;protocol=ssh;tag=c24fd1478fcb5dc13fda8400dbf50a52e009db94;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libksba/libksba-extraconf.inc b/meta-tizen/recipes-tizen/libksba/libksba-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libksba/libksba-native_git.bb b/meta-tizen/recipes-tizen/libksba/libksba-native_git.bb new file mode 100644 index 0000000..b006e84 --- /dev/null +++ b/meta-tizen/recipes-tizen/libksba/libksba-native_git.bb @@ -0,0 +1,12 @@ +require libksba.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libksba;protocol=ssh;tag=4723075a84c2296e9526dcc94c9e221c7bf2a821;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libksba/libksba.inc b/meta-tizen/recipes-tizen/libksba/libksba.inc new file mode 100644 index 0000000..d34492d --- /dev/null +++ b/meta-tizen/recipes-tizen/libksba/libksba.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "KSBA Library" +HOMEPAGE = "http://www.gnupg.org/aegypten/" +SECTION = "Security/Libraries" +LICENSE = "GPL-3.0+ and LGPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libksba +PROVIDES += "libksba" +RPROVIDES_libksba += "libksba" + +#PROVIDES by libksba-devel +PROVIDES += "libksba-devel" +RPROVIDES_libksba-devel += "libksba-devel" +RPROVIDES_libksba-devel += "libksba-dev" +# the PROVIDES rules is ignore "libksba:/usr/include/ksba.h " +PROVIDES += "libksba:/usr/include/ksba.h" +RPROVIDES_libksba-devel += "libksba:/usr/include/ksba.h" + +RDEPENDS = "" +#RDEPENDS of libksba-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libgpg-error-dev" +RDEPENDS_${PN}-devel += "libksba" + + +DEPENDS = "" +#DEPENDS of libksba +DEPENDS += "libtool-cross" +DEPENDS += "libgpg-error" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libksba-1.3.0 + cp ${S}/packaging/libksba.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libksba" +PACKAGES += "libksba-devel" + +libksba_files = "" +libksba_files += "libksba.manifest" +libksba_files += "/usr/lib/libksba*.so.*" + +libksba-devel_files = "" +libksba-devel_files += "libksba.manifest" +libksba-devel_files += "/usr/bin/*" +libksba-devel_files += "/usr/lib/libksba*.so" +libksba-devel_files += "/usr/include/*" +libksba-devel_files += "/usr/share/info/ksba*" +libksba-devel_files += "/usr/share/aclocal/*" + +FILES_${PN} = "${libksba_files}" +FILES_${PN}-devel = "${libksba-devel_files}" + +PKG_libksba= "libksba" +PKG_libksba-devel= "libksba-devel" + +require libksba-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libksba/libksba_git.bb b/meta-tizen/recipes-tizen/libksba/libksba_git.bb new file mode 100644 index 0000000..58d120c --- /dev/null +++ b/meta-tizen/recipes-tizen/libksba/libksba_git.bb @@ -0,0 +1,8 @@ +require libksba.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libksba;protocol=ssh;tag=4723075a84c2296e9526dcc94c9e221c7bf2a821;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-extraconf.inc b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-native_git.bb b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-native_git.bb new file mode 100644 index 0000000..a44d848 --- /dev/null +++ b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman-native_git.bb @@ -0,0 +1,12 @@ +require liblocation-appman.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/liblocation-appman;protocol=ssh;tag=0ebce4e1b4bf76e3b78b71d558a570dbeae17d18;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman.inc b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman.inc new file mode 100644 index 0000000..c1c82eb --- /dev/null +++ b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Location DB controler" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "TBD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by liblocation-appman +PROVIDES += "liblocation-appman" +RPROVIDES_liblocation-appman += "liblocation-appman" + +#PROVIDES by liblocation-appman-devel +PROVIDES += "liblocation-appman-devel" +RPROVIDES_liblocation-appman-devel += "liblocation-appman-devel" +RPROVIDES_liblocation-appman-devel += "liblocation-appman-dev" + +RDEPENDS = "" +#RDEPENDS of liblocation-appman (${PN}) +RDEPENDS_${PN} += "sqlite" + +#RDEPENDS of liblocation-appman-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "liblocation-appman" + + +DEPENDS = "" +#DEPENDS of liblocation-appman +DEPENDS += "pkgconfig(capi-appfw-app-manager)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libgcrypt" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n liblocation-appman-0.1.6 + cp ${S}/packaging/liblocation-appman.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + # Call make instruction with smp support + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "liblocation-appman" +PACKAGES += "liblocation-appman-devel" + +liblocation-appman_files = "" +liblocation-appman_files += "liblocation-appman.manifest" +liblocation-appman_files += "/usr/lib/liblocation-appman.so*" +liblocation-appman_files += "/opt/dbspace/.location-appman.db*" + +liblocation-appman-devel_files = "" +liblocation-appman-devel_files += "liblocation-appman.manifest" +liblocation-appman-devel_files += "/usr/include/location-appman/*.h" +liblocation-appman-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${liblocation-appman_files}" +FILES_${PN}-devel = "${liblocation-appman-devel_files}" + +PKG_liblocation-appman= "liblocation-appman" +PKG_liblocation-appman-devel= "liblocation-appman-devel" + +require liblocation-appman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman_git.bb b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman_git.bb new file mode 100644 index 0000000..bda4a58 --- /dev/null +++ b/meta-tizen/recipes-tizen/liblocation-appman/liblocation-appman_git.bb @@ -0,0 +1,8 @@ +require liblocation-appman.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/liblocation-appman;protocol=ssh;tag=0ebce4e1b4bf76e3b78b71d558a570dbeae17d18;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service-extraconf.inc b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service-native_git.bb b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service-native_git.bb new file mode 100644 index 0000000..d9bb000 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service-native_git.bb @@ -0,0 +1,12 @@ +require libmedia-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-service;protocol=ssh;tag=dda06886f96aed5eaf779635e7a6d7c804d52117;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc new file mode 100644 index 0000000..159e061 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Media information service library for multimedia applications" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmedia-service-devel +PROVIDES += "libmedia-service-devel" +RPROVIDES_libmedia-service-devel += "libmedia-service-devel" +RPROVIDES_libmedia-service-devel += "libmedia-service-dev" + +#PROVIDES by libmedia-service +PROVIDES += "libmedia-service" +RPROVIDES_libmedia-service += "libmedia-service" + +RDEPENDS = "" +#RDEPENDS of libmedia-service-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmedia-service" + +#RDEPENDS of libmedia-service (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libmedia-service +DEPENDS += "cmake" +DEPENDS += "drm-client" +DEPENDS += "pkgconfig(mm-fileinfo)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(libmedia-utils)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(media-thumbnail)" +DEPENDS += "pkgconfig(mm-common)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(db-util)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmedia-service.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}//usr/share/license + cp -rf ${WORKDIR}/libmedia-service-0.2.43/LICENSE ${D}//usr/share/license/libmedia-service + + +} + +PACKAGES = "" +PACKAGES += "libmedia-service-devel" +PACKAGES += "libmedia-service" + +libmedia-service-devel_files = "" +libmedia-service-devel_files += "libmedia-service.manifest" +libmedia-service-devel_files += "/usr/lib/pkgconfig/libmedia-service.pc" +libmedia-service-devel_files += "/usr/include/media-service/*.h" + +libmedia-service_files = "" +libmedia-service_files += "libmedia-service.manifest" +libmedia-service_files += "/usr/lib/libmedia-service.so" +libmedia-service_files += "/usr/lib/libmedia-service.so.1" +libmedia-service_files += "/usr/lib/libmedia-service.so.1.0.0" +libmedia-service_files += "/usr/lib/libmedia-svc-hash.so" +libmedia-service_files += "/usr/lib/libmedia-svc-hash.so.1" +libmedia-service_files += "/usr/lib/libmedia-svc-hash.so.1.0.0" +libmedia-service_files += "/usr/lib/libmedia-content-plugin.so" +libmedia-service_files += "/usr/lib/libmedia-content-plugin.so.1" +libmedia-service_files += "/usr/lib/libmedia-content-plugin.so.1.0.0" +libmedia-service_files += "/usr/share/license/libmedia-service" + +FILES_${PN}-devel = "${libmedia-service-devel_files}" +FILES_${PN} = "${libmedia-service_files}" + +PKG_libmedia-service-devel= "libmedia-service-devel" +PKG_libmedia-service= "libmedia-service" + +require libmedia-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service_git.bb b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service_git.bb new file mode 100644 index 0000000..6c01f0f --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service_git.bb @@ -0,0 +1,8 @@ +require libmedia-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-service;protocol=ssh;tag=dda06886f96aed5eaf779635e7a6d7c804d52117;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-extraconf.inc b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-native_git.bb b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-native_git.bb new file mode 100644 index 0000000..d618de0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail-native_git.bb @@ -0,0 +1,12 @@ +require libmedia-thumbnail.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-thumbnail;protocol=ssh;tag=5501705ca2088e4fea1d5387b252a61cacfd530b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc new file mode 100644 index 0000000..6ca74ab --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Media thumbnail service Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmedia-thumbnail +PROVIDES += "libmedia-thumbnail" +RPROVIDES_libmedia-thumbnail += "libmedia-thumbnail" + +#PROVIDES by media-thumbnail-server +PROVIDES += "media-thumbnail-server" +RPROVIDES_media-thumbnail-server += "media-thumbnail-server" + +#PROVIDES by libmedia-thumbnail-devel +PROVIDES += "libmedia-thumbnail-devel" +RPROVIDES_libmedia-thumbnail-devel += "libmedia-thumbnail-devel" +RPROVIDES_libmedia-thumbnail-devel += "libmedia-thumbnail-dev" + +#PROVIDES by libmedia-thumbnail-test +PROVIDES += "libmedia-thumbnail-test" +RPROVIDES_libmedia-thumbnail-test += "libmedia-thumbnail-test" + +RDEPENDS = "" +#RDEPENDS of libmedia-thumbnail (${PN}) +RDEPENDS_${PN} += "media-server" + +#RDEPENDS of media-thumbnail-server (media-thumbnail-server) +RDEPENDS_media-thumbnail-server += "libmedia-thumbnail" + +#RDEPENDS of libmedia-thumbnail-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmedia-thumbnail" + +#RDEPENDS of libmedia-thumbnail-test (${PN}-test) +RDEPENDS_${PN}-test += "libmedia-thumbnail" + + +DEPENDS = "" +#DEPENDS of libmedia-thumbnail +DEPENDS += "cmake" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "drm-client" +DEPENDS += "pkgconfig(mm-fileinfo)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "pkgconfig(libexif)" +DEPENDS += "pkgconfig(libmedia-utils)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(mmutil-imgp)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "heynoti" +DEPENDS += "pkgconfig(mmutil-jpeg)" +DEPENDS += "ecore" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmedia-thumbnail.manifest ${S}/packaging/libmedia-thumbnail-devel.manifest ${S}/packaging/media-thumbnail-server.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libmedia-thumbnail" +PACKAGES += "media-thumbnail-server" +PACKAGES += "libmedia-thumbnail-devel" +PACKAGES += "libmedia-thumbnail-test" + +libmedia-thumbnail_files = "" +libmedia-thumbnail_files += "libmedia-thumbnail.manifest" +libmedia-thumbnail_files += "/usr/lib/libmedia-thumbnail.so" +libmedia-thumbnail_files += "/usr/lib/libmedia-thumbnail.so.*" +libmedia-thumbnail_files += "/usr/lib/libmedia-hash.so" +libmedia-thumbnail_files += "/usr/lib/libmedia-hash.so.1" +libmedia-thumbnail_files += "/usr/lib/libmedia-hash.so.1.0.0" + +media-thumbnail-server_files = "" +media-thumbnail-server_files += "media-thumbnail-server.manifest" +media-thumbnail-server_files += "/usr/bin/media-thumbnail-server" + +libmedia-thumbnail-devel_files = "" +libmedia-thumbnail-devel_files += "libmedia-thumbnail-devel.manifest" +libmedia-thumbnail-devel_files += "/usr/lib/pkgconfig/media-thumbnail.pc" +libmedia-thumbnail-devel_files += "/usr/include/media-thumbnail/*.h" + +libmedia-thumbnail-test_files = "" +libmedia-thumbnail-test_files += "/usr/bin/test-thumb" + +FILES_${PN} = "${libmedia-thumbnail_files}" +FILES_media-thumbnail-server = "${media-thumbnail-server_files}" +FILES_${PN}-devel = "${libmedia-thumbnail-devel_files}" +FILES_${PN}-test = "${libmedia-thumbnail-test_files}" + +PKG_libmedia-thumbnail= "libmedia-thumbnail" +PKG_media-thumbnail-server= "media-thumbnail-server" +PKG_libmedia-thumbnail-devel= "libmedia-thumbnail-devel" +PKG_libmedia-thumbnail-test= "libmedia-thumbnail-test" + +require libmedia-thumbnail-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail_git.bb b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail_git.bb new file mode 100644 index 0000000..8e62980 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail_git.bb @@ -0,0 +1,8 @@ +require libmedia-thumbnail.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-thumbnail;protocol=ssh;tag=5501705ca2088e4fea1d5387b252a61cacfd530b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common-extraconf.inc b/meta-tizen/recipes-tizen/libmm-common/libmm-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common-native_git.bb b/meta-tizen/recipes-tizen/libmm-common/libmm-common-native_git.bb new file mode 100644 index 0000000..77b940a --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-common/libmm-common-native_git.bb @@ -0,0 +1,12 @@ +require libmm-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-common;protocol=ssh;tag=d7abefd924b8cbe245425b70a0c0911ec5e73115;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc new file mode 100644 index 0000000..49a8b79 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "Multimedia Framework Common Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-common-devel +PROVIDES += "libmm-common-devel" +RPROVIDES_libmm-common-devel += "libmm-common-devel" +RPROVIDES_libmm-common-devel += "libmm-common-dev" + +#PROVIDES by libmm-common +PROVIDES += "libmm-common" +RPROVIDES_libmm-common += "libmm-common" + +RDEPENDS = "" +#RDEPENDS of libmm-common-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-common" + + +DEPENDS = "" +#DEPENDS of libmm-common +DEPENDS += "pkgconfig(mm-log)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ./autogen.sh + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libmm-common-devel" +PACKAGES += "libmm-common" + +libmm-common-devel_files = "" +libmm-common-devel_files += "libmm-common.manifest" +libmm-common-devel_files += "/usr/include/mmf/SLP_MultimediaFW_PG.h" +libmm-common-devel_files += "/usr/include/mmf/mm_types.h" +libmm-common-devel_files += "/usr/include/mmf/mm_error.h" +libmm-common-devel_files += "/usr/include/mmf/mm_message.h" +libmm-common-devel_files += "/usr/include/mmf/mm_attrs.h" +libmm-common-devel_files += "/usr/include/mmf/mm_attrs_private.h" +libmm-common-devel_files += "/usr/include/mmf/mm_debug.h" +libmm-common-devel_files += "/usr/include/mmf/mm.h" +libmm-common-devel_files += "/usr/lib/pkgconfig/mm-common.pc" +libmm-common-devel_files += "/usr/lib/libmmfcommon.so" + +libmm-common_files = "" +libmm-common_files += "libmm-common.manifest" +libmm-common_files += "/usr/lib/libmmfcommon.so.*" + +FILES_${PN}-devel = "${libmm-common-devel_files}" +FILES_${PN} = "${libmm-common_files}" + +PKG_libmm-common-devel= "libmm-common-devel" +PKG_libmm-common= "libmm-common" + +require libmm-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common_git.bb b/meta-tizen/recipes-tizen/libmm-common/libmm-common_git.bb new file mode 100644 index 0000000..b7bcc9f --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-common/libmm-common_git.bb @@ -0,0 +1,8 @@ +require libmm-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-common;protocol=ssh;tag=d7abefd924b8cbe245425b70a0c0911ec5e73115;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-extraconf.inc b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-native_git.bb b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-native_git.bb new file mode 100644 index 0000000..b212115 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo-native_git.bb @@ -0,0 +1,12 @@ +require libmm-fileinfo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;protocol=ssh;tag=c7a42a98cb129f69556eb18d032f20cd8fdb0fbb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc new file mode 100644 index 0000000..7ab5d6f --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "Media Fileinfo" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-fileinfo +PROVIDES += "libmm-fileinfo" +RPROVIDES_libmm-fileinfo += "libmm-fileinfo" + +#PROVIDES by libmm-fileinfo-devel +PROVIDES += "libmm-fileinfo-devel" +RPROVIDES_libmm-fileinfo-devel += "libmm-fileinfo-devel" +RPROVIDES_libmm-fileinfo-devel += "libmm-fileinfo-dev" + +RDEPENDS = "" +#RDEPENDS of libmm-fileinfo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-fileinfo" + + +DEPENDS = "" +#DEPENDS of libmm-fileinfo +DEPENDS += "pkgconfig(mm-log)" +DEPENDS += "libmm-common" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libav" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-fileinfo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " + export CFLAGS + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-testmode --disable-dump --enable-dyn --disable-iommap --disable-drm --disable-gtk + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}//usr/share/license + cp -rf ${WORKDIR}/libmm-fileinfo-0.6.0/LICENSE.APLv2.0 ${D}//usr/share/license/libmm-fileinfo + + + +} + +PACKAGES = "" +PACKAGES += "libmm-fileinfo" +PACKAGES += "libmm-fileinfo-devel" + +libmm-fileinfo_files = "" +libmm-fileinfo_files += "libmm-fileinfo.manifest" +libmm-fileinfo_files += "/usr/bin/memtrace_reader" +libmm-fileinfo_files += "/usr/bin/mm_file_test" +libmm-fileinfo_files += "/usr/lib/libmmffile.so.*" +libmm-fileinfo_files += "/usr/lib/libmmfile_codecs.so.*" +libmm-fileinfo_files += "/usr/lib/libmmfile_formats.so.*" +libmm-fileinfo_files += "/usr/lib/libmmfile_utils.so.*" +libmm-fileinfo_files += "/usr/lib/libmmffile.so" +libmm-fileinfo_files += "/usr/lib/libmmfile_codecs.so" +libmm-fileinfo_files += "/usr/lib/libmmfile_formats.so" +libmm-fileinfo_files += "/usr/lib/libmmfile_utils.so" +libmm-fileinfo_files += "/usr/share/license/libmm-fileinfo" + +libmm-fileinfo-devel_files = "" +libmm-fileinfo-devel_files += "libmm-fileinfo.manifest" +libmm-fileinfo-devel_files += "/usr/include/mmf/mm_file.h" +libmm-fileinfo-devel_files += "/usr/lib/pkgconfig/mm-fileinfo.pc" + +FILES_${PN} = "${libmm-fileinfo_files}" +FILES_${PN}-devel = "${libmm-fileinfo-devel_files}" + +PKG_libmm-fileinfo= "libmm-fileinfo" +PKG_libmm-fileinfo-devel= "libmm-fileinfo-devel" + +require libmm-fileinfo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb new file mode 100644 index 0000000..9340b9e --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb @@ -0,0 +1,8 @@ +require libmm-fileinfo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;protocol=ssh;tag=c7a42a98cb129f69556eb18d032f20cd8fdb0fbb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-log/libmm-log-extraconf.inc b/meta-tizen/recipes-tizen/libmm-log/libmm-log-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-log/libmm-log-native_git.bb b/meta-tizen/recipes-tizen/libmm-log/libmm-log-native_git.bb new file mode 100644 index 0000000..f2b1194 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-log/libmm-log-native_git.bb @@ -0,0 +1,12 @@ +require libmm-log.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-log;protocol=ssh;tag=a62f929c6e3c7e83e53d401cfd082b60d5af42cd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc b/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc new file mode 100644 index 0000000..fe348c6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-log/libmm-log.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Multimedia Framework LOG Lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Multimedia Framework" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-log +PROVIDES += "libmm-log" +RPROVIDES_libmm-log += "libmm-log" + +#PROVIDES by libmm-log-devel +PROVIDES += "libmm-log-devel" +RPROVIDES_libmm-log-devel += "libmm-log-devel" +RPROVIDES_libmm-log-devel += "libmm-log-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of libmm-log +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libmm-log-0.1.5 + cp ${S}/packaging/libmm-log.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -DUSE_DLOG" + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-dlog + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libmm-log-devel" + +libmm-log-devel_files = "" +libmm-log-devel_files += "libmm-log.manifest" +libmm-log-devel_files += "/usr/include/mm_log/mm_log.h" +libmm-log-devel_files += "/usr/lib/pkgconfig/mm-log.pc" + +FILES_${PN}-devel = "${libmm-log-devel_files}" + +PKG_libmm-log-devel= "libmm-log-devel" + +require libmm-log-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-log/libmm-log_git.bb b/meta-tizen/recipes-tizen/libmm-log/libmm-log_git.bb new file mode 100644 index 0000000..f850fd7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-log/libmm-log_git.bb @@ -0,0 +1,8 @@ +require libmm-log.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-log;protocol=ssh;tag=a62f929c6e3c7e83e53d401cfd082b60d5af42cd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-player/libmm-player-extraconf.inc b/meta-tizen/recipes-tizen/libmm-player/libmm-player-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-player/libmm-player-native_git.bb b/meta-tizen/recipes-tizen/libmm-player/libmm-player-native_git.bb new file mode 100644 index 0000000..dc352ee --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-player/libmm-player-native_git.bb @@ -0,0 +1,12 @@ +require libmm-player.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-player;protocol=ssh;tag=6443c613c01d95a4f30dd27a871752cd1744a0a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-player/libmm-player.inc b/meta-tizen/recipes-tizen/libmm-player/libmm-player.inc new file mode 100644 index 0000000..351198d --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-player/libmm-player.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "Multimedia Framework Player Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-player-devel +PROVIDES += "libmm-player-devel" +RPROVIDES_libmm-player-devel += "libmm-player-devel" +RPROVIDES_libmm-player-devel += "libmm-player-dev" + +#PROVIDES by libmm-player +PROVIDES += "libmm-player" +RPROVIDES_libmm-player += "libmm-player" + +RDEPENDS = "" +#RDEPENDS of libmm-player-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-player" + + +DEPENDS = "" +#DEPENDS of libmm-player +DEPENDS += "pkgconfig(mm-session)" +DEPENDS += "pkgconfig(gstreamer-app-1.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-common" +DEPENDS += "pkgconfig(mm-sound)" +DEPENDS += "pkgconfig(mmutil-imgp)" +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(mm-ta)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-player.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + export GSTREAMER_API="-DGST_API_VERSION_1=1" + export use_gstreamer_1=1 + + CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API" ; export CFLAGS + LDFLAGS+="-Wl,--rpath=/usr/lib -lgstvideo-1.0 -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + + make -j1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libmm-player-devel" +PACKAGES += "libmm-player" + +libmm-player-devel_files = "" +libmm-player-devel_files += "libmm-player.manifest" +libmm-player-devel_files += "/usr/lib/*.so" +libmm-player-devel_files += "/usr/include/mmf/*.h" +libmm-player-devel_files += "/usr/lib/pkgconfig/*" + +libmm-player_files = "" +libmm-player_files += "libmm-player.manifest" +libmm-player_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${libmm-player-devel_files}" +FILES_${PN} = "${libmm-player_files}" + +PKG_libmm-player-devel= "libmm-player-devel" +PKG_libmm-player= "libmm-player" + +require libmm-player-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-player/libmm-player_git.bb b/meta-tizen/recipes-tizen/libmm-player/libmm-player_git.bb new file mode 100644 index 0000000..41c4b0c --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-player/libmm-player_git.bb @@ -0,0 +1,8 @@ +require libmm-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-player;protocol=ssh;tag=6443c613c01d95a4f30dd27a871752cd1744a0a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-radio/libmm-radio-extraconf.inc b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-radio/libmm-radio-native_git.bb b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio-native_git.bb new file mode 100644 index 0000000..94ef707 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio-native_git.bb @@ -0,0 +1,12 @@ +require libmm-radio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-radio;protocol=ssh;tag=d75abc84503d38da38685501dd449090cde1c3e9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-radio/libmm-radio.inc b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio.inc new file mode 100644 index 0000000..1568be7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "Multimedia Framework Radio Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-radio-test +PROVIDES += "libmm-radio-test" +RPROVIDES_libmm-radio-test += "libmm-radio-test" + +#PROVIDES by libmm-radio-devel +PROVIDES += "libmm-radio-devel" +RPROVIDES_libmm-radio-devel += "libmm-radio-devel" +RPROVIDES_libmm-radio-devel += "libmm-radio-dev" + +#PROVIDES by libmm-radio +PROVIDES += "libmm-radio" +RPROVIDES_libmm-radio += "libmm-radio" + +RDEPENDS = "" +#RDEPENDS of libmm-radio-test (${PN}-test) +RDEPENDS_${PN}-test += "libmm-radio" + +#RDEPENDS of libmm-radio-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-radio" + + +DEPENDS = "" +#DEPENDS of libmm-radio +DEPENDS += "libmm-common" +DEPENDS += "pkgconfig(gstreamer-1.0)" +DEPENDS += "pkgconfig(gstreamer-plugins-base-1.0)" +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-log" +DEPENDS += "pkgconfig(mm-sound)" +DEPENDS += "pkgconfig(mm-session)" +DEPENDS += "pkgconfig(mm-ta)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-radio.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + export GSTREAMER_API="-DGST_API_VERSION_1=1" + export use_gstreamer_1=1 + + CFLAGS=" -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API"; export CFLAGS; + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --prefix=/usr + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libmm-radio-test" +PACKAGES += "libmm-radio-devel" +PACKAGES += "libmm-radio" + +libmm-radio-test_files = "" +libmm-radio-test_files += "libmm-radio.manifest" +libmm-radio-test_files += "/usr/bin/mm_radio_testsuite" + +libmm-radio-devel_files = "" +libmm-radio-devel_files += "libmm-radio.manifest" +libmm-radio-devel_files += "/usr/lib/libmmfradio.so" +libmm-radio-devel_files += "/usr/lib/pkgconfig/mm-radio.pc" +libmm-radio-devel_files += "/usr/include/mmf/mm_radio.h" + +libmm-radio_files = "" +libmm-radio_files += "libmm-radio.manifest" +libmm-radio_files += "/usr/lib/libmmfradio.so.*" + +FILES_${PN}-test = "${libmm-radio-test_files}" +FILES_${PN}-devel = "${libmm-radio-devel_files}" +FILES_${PN} = "${libmm-radio_files}" + +PKG_libmm-radio-test= "libmm-radio-test" +PKG_libmm-radio-devel= "libmm-radio-devel" +PKG_libmm-radio= "libmm-radio" + +require libmm-radio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-radio/libmm-radio_git.bb b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio_git.bb new file mode 100644 index 0000000..2c5ed53 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-radio/libmm-radio_git.bb @@ -0,0 +1,8 @@ +require libmm-radio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-radio;protocol=ssh;tag=d75abc84503d38da38685501dd449090cde1c3e9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session-extraconf.inc b/meta-tizen/recipes-tizen/libmm-session/libmm-session-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session-native_git.bb b/meta-tizen/recipes-tizen/libmm-session/libmm-session-native_git.bb new file mode 100644 index 0000000..58f9504 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-session/libmm-session-native_git.bb @@ -0,0 +1,12 @@ +require libmm-session.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-session;protocol=ssh;tag=cfbc912e50461f204a2ba519ab40a84a45c03bf6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc new file mode 100644 index 0000000..aa4541f --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Multimedia Session Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-session +PROVIDES += "libmm-session" +RPROVIDES_libmm-session += "libmm-session" + +#PROVIDES by libmm-session-devel +PROVIDES += "libmm-session-devel" +RPROVIDES_libmm-session-devel += "libmm-session-devel" +RPROVIDES_libmm-session-devel += "libmm-session-dev" + +RDEPENDS = "" +#RDEPENDS of libmm-session-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-session" + + +DEPENDS = "" +#DEPENDS of libmm-session +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-session.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libmm-session" +PACKAGES += "libmm-session-devel" + +libmm-session_files = "" +libmm-session_files += "libmm-session.manifest" +libmm-session_files += "/usr/lib/libmmfsession.so.*" + +libmm-session-devel_files = "" +libmm-session-devel_files += "libmm-session.manifest" +libmm-session-devel_files += "/usr/include/mmf/*.h" +libmm-session-devel_files += "/usr/lib/libmmfsession.so" +libmm-session-devel_files += "/usr/lib/pkgconfig/mm-session.pc" + +FILES_${PN} = "${libmm-session_files}" +FILES_${PN}-devel = "${libmm-session-devel_files}" + +PKG_libmm-session= "libmm-session" +PKG_libmm-session-devel= "libmm-session-devel" + +require libmm-session-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session_git.bb b/meta-tizen/recipes-tizen/libmm-session/libmm-session_git.bb new file mode 100644 index 0000000..aa0c471 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-session/libmm-session_git.bb @@ -0,0 +1,8 @@ +require libmm-session.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-session;protocol=ssh;tag=cfbc912e50461f204a2ba519ab40a84a45c03bf6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-native_git.bb b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-native_git.bb new file mode 100644 index 0000000..e35cd6e --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-native_git.bb @@ -0,0 +1,12 @@ +require libmm-sound.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-sound;protocol=ssh;tag=99bffa1e41ae7cb369865ccfd8e6475d00bd04c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc new file mode 100644 index 0000000..78d06e8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc @@ -0,0 +1,195 @@ +DESCRIPTION = "MMSound Package contains client lib and sound_server binary" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-sound-devel +PROVIDES += "libmm-sound-devel" +RPROVIDES_libmm-sound-devel += "libmm-sound-devel" +RPROVIDES_libmm-sound-devel += "libmm-sound-dev" + +#PROVIDES by libmm-sound +PROVIDES += "libmm-sound" +RPROVIDES_libmm-sound += "libmm-sound" + +#PROVIDES by libmm-sound-tool +PROVIDES += "libmm-sound-tool" +RPROVIDES_libmm-sound-tool += "libmm-sound-tool" + +#PROVIDES by libmm-sound-sdk-devel +PROVIDES += "libmm-sound-sdk-devel" +RPROVIDES_libmm-sound-sdk-devel += "libmm-sound-sdk-devel" +RPROVIDES_libmm-sound-sdk-devel += "libmm-sound-sdk-dev" + +RDEPENDS = "" +#RDEPENDS of libmm-sound-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-sound" + +#RDEPENDS of libmm-sound-sdk-devel (${PN}-sdk-devel) +RDEPENDS_${PN}-sdk-devel += "libmm-sound-dev" + +#RDEPENDS of libmm-sound-tool (${PN}-tool) +RDEPENDS_${PN}-tool += "libmm-sound" + +#RDEPENDS of libmm-sound (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libmm-sound +DEPENDS += "pkgconfig(avsystem)" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "libmm-log" +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-common" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "heynoti" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libmm-session" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-sound.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fvisibility=hidden -DMM_DEBUG_FLAG -DSEPARATE_SPEAKER_AND_WIRED_ACCESSORY -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr --enable-pulse --enable-security + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m0644 ${S}/packaging/sound-server.service ${D}/usr/lib/systemd/system/ + install -m0644 ${S}/packaging/sound-server.path ${D}/usr/lib/systemd/system/ + ln -sf ../sound-server.path ${D}/usr/lib/systemd/system/multi-user.target.wants/sound-server.path + + # FIXME: remove after systemd is in + mkdir -p ${D}/etc/rc.d/rc3.d + mkdir -p ${D}/etc/rc.d/rc4.d + mkdir -p ${D}/etc/rc.d/rc5.d + ln -s /etc/rc.d/init.d/soundserver ${D}/etc/rc.d/rc3.d/S23soundserver + ln -s /etc/rc.d/init.d/soundserver ${D}/etc/rc.d/rc4.d/S23soundserver + + + + +} + +PACKAGES = "" +PACKAGES += "libmm-sound-devel" +PACKAGES += "libmm-sound" +PACKAGES += "libmm-sound-tool" +PACKAGES += "libmm-sound-sdk-devel" + +libmm-sound-devel_files = "" +libmm-sound-devel_files += "libmm-sound.manifest" +libmm-sound-devel_files += "/usr/lib/libmmfkeysound.so" +libmm-sound-devel_files += "/usr/lib/libmmfsound.so" +libmm-sound-devel_files += "/usr/lib/libmmfsoundcommon.so" +libmm-sound-devel_files += "/usr/include/mmf/mm_sound_private.h" +libmm-sound-devel_files += "/usr/include/mmf/mm_sound_plugin.h" +libmm-sound-devel_files += "/usr/include/mmf/mm_sound_plugin_hal.h" + +libmm-sound_files = "" +libmm-sound_files += "libmm-sound.manifest" +libmm-sound_files += "/usr/bin/sound_server" +libmm-sound_files += "/usr/lib/libmmfsound.so.*" +libmm-sound_files += "/usr/lib/libmmfsoundcommon.so.*" +libmm-sound_files += "/usr/lib/libmmfkeysound.so.*" +libmm-sound_files += "/usr/lib/libsoundplugintone.so*" +libmm-sound_files += "/usr/lib/libsoundpluginwave.so*" +libmm-sound_files += "/usr/lib/libsoundpluginkeytone.so*" +libmm-sound_files += "/usr/lib/soundplugins/libsoundplugintone.so" +libmm-sound_files += "/usr/lib/soundplugins/libsoundpluginwave.so" +libmm-sound_files += "/usr/lib/soundplugins/libsoundpluginkeytone.so" +libmm-sound_files += "/etc/rc.d/rc3.d/S23soundserver" +libmm-sound_files += "/etc/rc.d/rc4.d/S23soundserver" +libmm-sound_files += "/usr/share/sounds/sound-server/*" +libmm-sound_files += "/usr/lib/systemd/system/multi-user.target.wants/sound-server.path" +libmm-sound_files += "/usr/lib/systemd/system/sound-server.service" +libmm-sound_files += "/usr/lib/systemd/system/sound-server.path" + +libmm-sound-tool_files = "" +libmm-sound-tool_files += "libmm-sound.manifest" +libmm-sound-tool_files += "/usr/bin/mm_sound_testsuite" + +libmm-sound-sdk-devel_files = "" +libmm-sound-sdk-devel_files += "libmm-sound.manifest" +libmm-sound-sdk-devel_files += "/usr/include/mmf/mm_sound.h" +libmm-sound-sdk-devel_files += "/usr/lib/pkgconfig/mm-keysound.pc" +libmm-sound-sdk-devel_files += "/usr/lib/pkgconfig/mm-sound.pc" + +FILES_${PN}-devel = "${libmm-sound-devel_files}" +FILES_${PN} = "${libmm-sound_files}" +FILES_${PN}-tool = "${libmm-sound-tool_files}" +FILES_${PN}-sdk-devel = "${libmm-sound-sdk-devel_files}" + +PKG_libmm-sound-devel= "libmm-sound-devel" +PKG_libmm-sound= "libmm-sound" +PKG_libmm-sound-tool= "libmm-sound-tool" +PKG_libmm-sound-sdk-devel= "libmm-sound-sdk-devel" + +require libmm-sound-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound_git.bb b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound_git.bb new file mode 100644 index 0000000..0cb2d2a --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound_git.bb @@ -0,0 +1,8 @@ +require libmm-sound.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-sound;protocol=ssh;tag=99bffa1e41ae7cb369865ccfd8e6475d00bd04c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta-extraconf.inc b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta-native_git.bb b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta-native_git.bb new file mode 100644 index 0000000..94d8610 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta-native_git.bb @@ -0,0 +1,12 @@ +require libmm-ta.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-ta;protocol=ssh;tag=bcf31b1706fa01175709015adfef70332df68496;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc new file mode 100644 index 0000000..715976a --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "Multimedia Framework Time Analysis Lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-ta +PROVIDES += "libmm-ta" +RPROVIDES_libmm-ta += "libmm-ta" + +#PROVIDES by libmm-ta-devel +PROVIDES += "libmm-ta-devel" +RPROVIDES_libmm-ta-devel += "libmm-ta-devel" +RPROVIDES_libmm-ta-devel += "libmm-ta-dev" + +RDEPENDS = "" +#RDEPENDS of libmm-ta-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-ta" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-ta.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + +} + +PACKAGES = "" +PACKAGES += "libmm-ta" +PACKAGES += "libmm-ta-devel" + +libmm-ta_files = "" +libmm-ta_files += "libmm-ta.manifest" +libmm-ta_files += "/usr/lib/libmm_ta.so.*" + +libmm-ta-devel_files = "" +libmm-ta-devel_files += "libmm-ta.manifest" +libmm-ta-devel_files += "/usr/include/mm_ta/*.h" +libmm-ta-devel_files += "/usr/lib/*.so" +libmm-ta-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libmm-ta_files}" +FILES_${PN}-devel = "${libmm-ta-devel_files}" + +PKG_libmm-ta= "libmm-ta" +PKG_libmm-ta-devel= "libmm-ta-devel" + +require libmm-ta-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta_git.bb b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta_git.bb new file mode 100644 index 0000000..1dca45f --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta_git.bb @@ -0,0 +1,8 @@ +require libmm-ta.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-ta;protocol=ssh;tag=bcf31b1706fa01175709015adfef70332df68496;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility-extraconf.inc b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility-native_git.bb b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility-native_git.bb new file mode 100644 index 0000000..ce1e67b --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility-native_git.bb @@ -0,0 +1,12 @@ +require libmm-utility.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-utility;protocol=ssh;tag=aea52664931f550c4d590ef1c005011b7caedf61;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc new file mode 100644 index 0000000..0054b09 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "Multimedia Framework Utility Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmm-utility +PROVIDES += "libmm-utility" +RPROVIDES_libmm-utility += "libmm-utility" + +#PROVIDES by libmm-utility-devel +PROVIDES += "libmm-utility-devel" +RPROVIDES_libmm-utility-devel += "libmm-utility-devel" +RPROVIDES_libmm-utility-devel += "libmm-utility-dev" + +#PROVIDES by libmm-utility-tool +PROVIDES += "libmm-utility-tool" +RPROVIDES_libmm-utility-tool += "libmm-utility-tool" + +RDEPENDS = "" +#RDEPENDS of libmm-utility (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of libmm-utility-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmm-utility" + +#RDEPENDS of libmm-utility-tool (${PN}-tool) +RDEPENDS_${PN}-tool += "libmm-utility" + + +DEPENDS = "" +#DEPENDS of libmm-utility +DEPENDS += "libmm-common" +DEPENDS += "libjpeg-turbo" +DEPENDS += "libmm-log" +DEPENDS += "pkgconfig(gmodule-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(mm-ta)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-utility.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \ + LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--hash-style=both -Wl,--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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc + sed -i -e "s#@JPEG_REQPKG@#$JPEG_REQPKG#g" jpeg/mmutil-jpeg.pc + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/libmm-utility + + +} + +PACKAGES = "" +PACKAGES += "libmm-utility" +PACKAGES += "libmm-utility-devel" +PACKAGES += "libmm-utility-tool" + +libmm-utility_files = "" +libmm-utility_files += "libmm-utility.manifest" +libmm-utility_files += "/usr/share/license/libmm-utility" +libmm-utility_files += "libmm-utility.manifest" +libmm-utility_files += "/usr/lib/*.so*" + +libmm-utility-devel_files = "" +libmm-utility-devel_files += "libmm-utility.manifest" +libmm-utility-devel_files += "/usr/include/*" +libmm-utility-devel_files += "/usr/lib/pkgconfig/*" + +libmm-utility-tool_files = "" +libmm-utility-tool_files += "libmm-utility.manifest" +libmm-utility-tool_files += "/usr/bin/*_testsuite" + +FILES_${PN} = "${libmm-utility_files}" +FILES_${PN}-devel = "${libmm-utility-devel_files}" +FILES_${PN}-tool = "${libmm-utility-tool_files}" + +PKG_libmm-utility= "libmm-utility" +PKG_libmm-utility-devel= "libmm-utility-devel" +PKG_libmm-utility-tool= "libmm-utility-tool" + +require libmm-utility-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility_git.bb b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility_git.bb new file mode 100644 index 0000000..adaeed4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility_git.bb @@ -0,0 +1,8 @@ +require libmm-utility.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-utility;protocol=ssh;tag=aea52664931f550c4d590ef1c005011b7caedf61;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmnl/libmnl-extraconf.inc b/meta-tizen/recipes-tizen/libmnl/libmnl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmnl/libmnl-native_git.bb b/meta-tizen/recipes-tizen/libmnl/libmnl-native_git.bb new file mode 100644 index 0000000..83b7626 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmnl/libmnl-native_git.bb @@ -0,0 +1,12 @@ +require libmnl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libmnl;protocol=ssh;tag=c40ac5e9c3588cf4d542cc04948cc9aff4068783;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmnl/libmnl.inc b/meta-tizen/recipes-tizen/libmnl/libmnl.inc new file mode 100644 index 0000000..b648675 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmnl/libmnl.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Minimalistic Netlink communication library" +HOMEPAGE = "http://netfilter.org/projects/libmnl/" +SECTION = "Productivity/Networking/Security" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmnl +PROVIDES += "libmnl" +RPROVIDES_libmnl += "libmnl" + +#PROVIDES by libmnl-devel +PROVIDES += "libmnl-devel" +RPROVIDES_libmnl-devel += "libmnl-devel" +RPROVIDES_libmnl-devel += "libmnl-dev" + +RDEPENDS = "" +#RDEPENDS of libmnl-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmnl" + + +DEPENDS = "" +#DEPENDS of libmnl +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmnl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + if [ ! -e configure ]; then + autoreconf -fi; + fi; + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --includedir=/usr/include/libmnl-1.0.3 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libmnl" +PACKAGES += "libmnl-devel" + +libmnl_files = "" +libmnl_files += "libmnl.manifest" +libmnl_files += "/usr/lib/libmnl.so.0*" + +libmnl-devel_files = "" +libmnl-devel_files += "libmnl.manifest" +libmnl-devel_files += "/usr/include/libmnl*" +libmnl-devel_files += "/usr/lib/libmnl.so" +libmnl-devel_files += "/usr/lib/pkgconfig/libmnl.pc" + +FILES_${PN} = "${libmnl_files}" +FILES_${PN}-devel = "${libmnl-devel_files}" + +PKG_libmnl= "libmnl" +PKG_libmnl-devel= "libmnl-devel" + +require libmnl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmnl/libmnl_git.bb b/meta-tizen/recipes-tizen/libmnl/libmnl_git.bb new file mode 100644 index 0000000..b6fe597 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmnl/libmnl_git.bb @@ -0,0 +1,8 @@ +require libmnl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libmnl;protocol=ssh;tag=c40ac5e9c3588cf4d542cc04948cc9aff4068783;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmp4v2/libmp4v2-extraconf.inc b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libmp4v2/libmp4v2-native_git.bb b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2-native_git.bb new file mode 100644 index 0000000..1694eb5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2-native_git.bb @@ -0,0 +1,12 @@ +require libmp4v2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libmp4v2;protocol=ssh;tag=d9279388ce4345e18ca0e25748c7eddda48d1fc7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libmp4v2/libmp4v2.inc b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2.inc new file mode 100644 index 0000000..bf7c85c --- /dev/null +++ b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "MPEG-4 library" +HOMEPAGE = "http://code.google.com/p/mp4v2/" +SECTION = "Multimedia/Libraries" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmp4v2-devel +PROVIDES += "libmp4v2-devel" +RPROVIDES_libmp4v2-devel += "libmp4v2-devel" +RPROVIDES_libmp4v2-devel += "libmp4v2-dev" + +#PROVIDES by libmp4v2 +PROVIDES += "libmp4v2" +RPROVIDES_libmp4v2 += "libmp4v2" + +RDEPENDS = "" +#RDEPENDS of libmp4v2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmp4v2" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libmp4v2-2.0.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libmp4v2-devel" +PACKAGES += "libmp4v2" + +libmp4v2-devel_files = "" +libmp4v2-devel_files += "/usr/include/*" +libmp4v2-devel_files += "/usr/lib/*.so" + +libmp4v2_files = "" +libmp4v2_files += "README" +libmp4v2_files += "/usr/lib/*.so.*" +libmp4v2_files += "/usr/bin/*" +libmp4v2_files += "/usr/share/man/man1/*" + +FILES_${PN}-devel = "${libmp4v2-devel_files}" +FILES_${PN} = "${libmp4v2_files}" + +PKG_libmp4v2-devel= "libmp4v2-devel" +PKG_libmp4v2= "libmp4v2" + +require libmp4v2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libmp4v2/libmp4v2_git.bb b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2_git.bb new file mode 100644 index 0000000..97ebb97 --- /dev/null +++ b/meta-tizen/recipes-tizen/libmp4v2/libmp4v2_git.bb @@ -0,0 +1,8 @@ +require libmp4v2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libmp4v2;protocol=ssh;tag=d9279388ce4345e18ca0e25748c7eddda48d1fc7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnet-client/libnet-client-extraconf.inc b/meta-tizen/recipes-tizen/libnet-client/libnet-client-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnet-client/libnet-client-native_git.bb b/meta-tizen/recipes-tizen/libnet-client/libnet-client-native_git.bb new file mode 100644 index 0000000..4b4cb01 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnet-client/libnet-client-native_git.bb @@ -0,0 +1,12 @@ +require libnet-client.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libnet-client;protocol=ssh;tag=12b461472e8e1b6abec86752735f6d55e098862b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc b/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc new file mode 100644 index 0000000..26c1762 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc @@ -0,0 +1,161 @@ +DESCRIPTION = "Network Client library (Shared library)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Flora License" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnet-client-devel +PROVIDES += "libnet-client-devel" +RPROVIDES_libnet-client-devel += "libnet-client-devel" +RPROVIDES_libnet-client-devel += "libnet-client-dev" + +#PROVIDES by libnet-client +PROVIDES += "libnet-client" +RPROVIDES_libnet-client += "libnet-client" + +RDEPENDS = "" +#RDEPENDS of libnet-client-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libnet-client" + +#RDEPENDS of libnet-client (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libnet-client +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(gthread-2.0)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnet-client.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}/usr/share/license + cp LICENSE.Flora ${D}/usr/share/license/libnet-client + + #Make test app + cd test + mkdir ./lib + cp -rf ${D}/usr/lib/* ./lib/ + ./build.sh + cd .. + + +} + +PACKAGES = "" +PACKAGES += "libnet-client-devel" +PACKAGES += "libnet-client" + +libnet-client-devel_files = "" +libnet-client-devel_files += "libnet-client.manifest" +libnet-client-devel_files += "/usr/include/network/*.h" +libnet-client-devel_files += "/usr/lib/pkgconfig/network.pc" + +libnet-client_files = "" +libnet-client_files += "libnet-client.manifest" +libnet-client_files += "/usr/lib/libnetwork.so" +libnet-client_files += "/usr/lib/libnetwork.so.0" +libnet-client_files += "/usr/share/license/libnet-client" + +FILES_${PN}-devel = "${libnet-client-devel_files}" +FILES_${PN} = "${libnet-client_files}" + +PKG_libnet-client-devel= "libnet-client-devel" +PKG_libnet-client= "libnet-client" + +require libnet-client-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnet-client/libnet-client_git.bb b/meta-tizen/recipes-tizen/libnet-client/libnet-client_git.bb new file mode 100644 index 0000000..9171e15 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnet-client/libnet-client_git.bb @@ -0,0 +1,8 @@ +require libnet-client.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libnet-client;protocol=ssh;tag=12b461472e8e1b6abec86752735f6d55e098862b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-extraconf.inc b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-native_git.bb b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-native_git.bb new file mode 100644 index 0000000..8c4e8bf --- /dev/null +++ b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack-native_git.bb @@ -0,0 +1,12 @@ +require libnetfilter-conntrack.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnetfilter_conntrack;protocol=ssh;tag=7882d2864cf44efd8ac602cae535700b454a54df;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack.inc b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack.inc new file mode 100644 index 0000000..82b9d8f --- /dev/null +++ b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "Userspace library for the in-kernel connection tracking state table" +HOMEPAGE = "http://netfilter.org/projects/libnetfilter_conntrack/" +SECTION = "Productivity/Networking/Security" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnetfilter_conntrack +PROVIDES += "libnetfilter_conntrack" +RPROVIDES_libnetfilter_conntrack += "libnetfilter_conntrack" + +#PROVIDES by libnetfilter_conntrack-devel +PROVIDES += "libnetfilter_conntrack-devel" +RPROVIDES_libnetfilter_conntrack-devel += "libnetfilter_conntrack-devel" +RPROVIDES_libnetfilter_conntrack-devel += "libnetfilter_conntrack-dev" + +RDEPENDS = "" +#RDEPENDS of libnetfilter_conntrack-devel (libnetfilter_conntrack-devel) +RDEPENDS_libnetfilter_conntrack-devel += "libnetfilter_conntrack" + + +DEPENDS = "" +#DEPENDS of libnetfilter_conntrack +DEPENDS += "pkgconfig(libnfnetlink)" +DEPENDS += "libmnl" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnetfilter_conntrack.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + if [ "%git_snapshot" -ne 0 ] || [ ! -e configure ]; then + autoreconf -fi; + fi; + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --includedir="/usr/include/libnetfilter_conntrack-1.0.2" + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libnetfilter_conntrack" +PACKAGES += "libnetfilter_conntrack-devel" + +libnetfilter_conntrack_files = "" +libnetfilter_conntrack_files += "libnetfilter_conntrack.manifest" +libnetfilter_conntrack_files += "/usr/lib/libnetfilter_conntrack.so.3*" + +libnetfilter_conntrack-devel_files = "" +libnetfilter_conntrack-devel_files += "libnetfilter_conntrack.manifest" +libnetfilter_conntrack-devel_files += "/usr/include/libnetfilter_conntrack-1.0.2" +libnetfilter_conntrack-devel_files += "/usr/lib/libnetfilter_conntrack.so" +libnetfilter_conntrack-devel_files += "/usr/lib/pkgconfig/libnetfilter_conntrack.pc" + +FILES_${PN} = "${libnetfilter_conntrack_files}" +FILES_${PN}-devel = "${libnetfilter_conntrack-devel_files}" + +PKG_libnetfilter_conntrack= "libnetfilter_conntrack" +PKG_libnetfilter_conntrack-devel= "libnetfilter_conntrack-devel" + +require libnetfilter-conntrack-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack_git.bb b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack_git.bb new file mode 100644 index 0000000..9b30cfc --- /dev/null +++ b/meta-tizen/recipes-tizen/libnetfilter-conntrack/libnetfilter-conntrack_git.bb @@ -0,0 +1,8 @@ +require libnetfilter-conntrack.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnetfilter_conntrack;protocol=ssh;tag=7882d2864cf44efd8ac602cae535700b454a54df;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-extraconf.inc b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-native_git.bb b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-native_git.bb new file mode 100644 index 0000000..df5c9ed --- /dev/null +++ b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink-native_git.bb @@ -0,0 +1,12 @@ +require libnfnetlink.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnfnetlink;protocol=ssh;tag=799f84b01c26970d8a72b058661515a9441ce316;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink.inc b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink.inc new file mode 100644 index 0000000..349f90e --- /dev/null +++ b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "Low-level library for Netfilter-related kernel/userspace communication" +HOMEPAGE = "http://netfilter.org/projects/libnfnetlink/" +SECTION = "Productivity/Networking/Security" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnfnetlink +PROVIDES += "libnfnetlink" +RPROVIDES_libnfnetlink += "libnfnetlink" + +#PROVIDES by libnfnetlink-devel +PROVIDES += "libnfnetlink-devel" +RPROVIDES_libnfnetlink-devel += "libnfnetlink-devel" +RPROVIDES_libnfnetlink-devel += "libnfnetlink-dev" + +RDEPENDS = "" +#RDEPENDS of libnfnetlink-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libnfnetlink" + + +DEPENDS = "" +#DEPENDS of libnfnetlink +DEPENDS += "xz" +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnfnetlink.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --includedir=/usr/include/libnfnetlink-1.0.1 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libnfnetlink" +PACKAGES += "libnfnetlink-devel" + +libnfnetlink_files = "" +libnfnetlink_files += "libnfnetlink.manifest" +libnfnetlink_files += "COPYING" +libnfnetlink_files += "/usr/lib/libnfnetlink.so.*" + +libnfnetlink-devel_files = "" +libnfnetlink-devel_files += "libnfnetlink.manifest" +libnfnetlink-devel_files += "/usr/include/libnfnetlink*" +libnfnetlink-devel_files += "/usr/lib/libnfnetlink.so" +libnfnetlink-devel_files += "/usr/lib/pkgconfig/libnfnetlink.pc" + +FILES_${PN} = "${libnfnetlink_files}" +FILES_${PN}-devel = "${libnfnetlink-devel_files}" + +PKG_libnfnetlink= "libnfnetlink" +PKG_libnfnetlink-devel= "libnfnetlink-devel" + +require libnfnetlink-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink_git.bb b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink_git.bb new file mode 100644 index 0000000..8b99500 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnfnetlink/libnfnetlink_git.bb @@ -0,0 +1,8 @@ +require libnfnetlink.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnfnetlink;protocol=ssh;tag=799f84b01c26970d8a72b058661515a9441ce316;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl1/libnl1-extraconf.inc b/meta-tizen/recipes-tizen/libnl1/libnl1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnl1/libnl1-native_git.bb b/meta-tizen/recipes-tizen/libnl1/libnl1-native_git.bb new file mode 100644 index 0000000..757d0d6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl1/libnl1-native_git.bb @@ -0,0 +1,12 @@ +require libnl1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl1;protocol=ssh;tag=6b652653f015359a28b8c21c34747638925f44ae;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl1/libnl1.inc b/meta-tizen/recipes-tizen/libnl1/libnl1.inc new file mode 100644 index 0000000..6d34e70 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl1/libnl1.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Convenience library for kernel netlink sockets" +HOMEPAGE = "http://people.suug.ch/~tgr/libnl/" +SECTION = "System/Network" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnl1 +PROVIDES += "libnl1" +RPROVIDES_libnl1 += "libnl1" + +#PROVIDES by libnl1-devel +PROVIDES += "libnl1-devel" +RPROVIDES_libnl1-devel += "libnl1-devel" +RPROVIDES_libnl1-devel += "libnl1-dev" +# the PROVIDES rules is ignore "libnl-devel = 1-1.1" +PROVIDES += "libnl-devel" +RPROVIDES_libnl1-devel += "libnl-devel" +RPROVIDES_libnl1-devel += "libnl-dev" + +RDEPENDS = "" +#RDEPENDS of libnl1-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libnl1" + + +DEPENDS = "" +#DEPENDS of libnl1 +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libnl-1.1 + cp ${S}/packaging/libnl1.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --prefix=/usr \ + --libdir=/usr/lib \ + --includedir=/usr/include + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}//usr/lib/pkgconfig + + +} + +PACKAGES = "" +PACKAGES += "libnl1" +PACKAGES += "libnl1-devel" + +libnl1_files = "" +libnl1_files += "libnl1.manifest" +libnl1_files += "/usr/lib/libnl*.so.*" + +libnl1-devel_files = "" +libnl1-devel_files += "libnl1.manifest" +libnl1-devel_files += "/usr/include/netlink/" +libnl1-devel_files += "/usr/lib/libnl*.so" +libnl1-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libnl1_files}" +FILES_${PN}-devel = "${libnl1-devel_files}" + +PKG_libnl1= "libnl1" +PKG_libnl1-devel= "libnl1-devel" + +require libnl1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnl1/libnl1_git.bb b/meta-tizen/recipes-tizen/libnl1/libnl1_git.bb new file mode 100644 index 0000000..1c9501a --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl1/libnl1_git.bb @@ -0,0 +1,8 @@ +require libnl1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl1;protocol=ssh;tag=6b652653f015359a28b8c21c34747638925f44ae;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl2/libnl2-extraconf.inc b/meta-tizen/recipes-tizen/libnl2/libnl2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnl2/libnl2-native_git.bb b/meta-tizen/recipes-tizen/libnl2/libnl2-native_git.bb new file mode 100644 index 0000000..919745d --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl2/libnl2-native_git.bb @@ -0,0 +1,12 @@ +require libnl2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl2;protocol=ssh;tag=7abc61a18afc17e2489d057115028ddc6d512916;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl2/libnl2.inc b/meta-tizen/recipes-tizen/libnl2/libnl2.inc new file mode 100644 index 0000000..4139017 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl2/libnl2.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "Library for netlink sockets" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnl2 +PROVIDES += "libnl2" +RPROVIDES_libnl2 += "libnl2" + +#PROVIDES by libnl2-devel +PROVIDES += "libnl2-devel" +RPROVIDES_libnl2-devel += "libnl2-devel" +RPROVIDES_libnl2-devel += "libnl2-dev" + +RDEPENDS = "" +#RDEPENDS of libnl2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libnl2" + + +DEPENDS = "" +#DEPENDS of libnl2 +DEPENDS += "flex" +DEPENDS += "bison-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnl2.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}/etc/libnl/pktloc + + +} + +PACKAGES = "" +PACKAGES += "libnl2" +PACKAGES += "libnl2-devel" + +libnl2_files = "" +libnl2_files += "libnl2.manifest" +libnl2_files += "/usr/lib/libnl*.so.*" + +libnl2-devel_files = "" +libnl2-devel_files += "libnl2.manifest" +libnl2-devel_files += "/usr/include/*" +libnl2-devel_files += "/usr/lib/pkgconfig/*" +libnl2-devel_files += "/usr/lib/libnl*.so" + +FILES_${PN} = "${libnl2_files}" +FILES_${PN}-devel = "${libnl2-devel_files}" + +PKG_libnl2= "libnl2" +PKG_libnl2-devel= "libnl2-devel" + +require libnl2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnl2/libnl2_git.bb b/meta-tizen/recipes-tizen/libnl2/libnl2_git.bb new file mode 100644 index 0000000..636987c --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl2/libnl2_git.bb @@ -0,0 +1,8 @@ +require libnl2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl2;protocol=ssh;tag=7abc61a18afc17e2489d057115028ddc6d512916;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl3/libnl3-extraconf.inc b/meta-tizen/recipes-tizen/libnl3/libnl3-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libnl3/libnl3-native_git.bb b/meta-tizen/recipes-tizen/libnl3/libnl3-native_git.bb new file mode 100644 index 0000000..fdfacbd --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl3/libnl3-native_git.bb @@ -0,0 +1,12 @@ +require libnl3.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl3;protocol=ssh;tag=2d3b500003fddf412f28061b42e99157579583e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libnl3/libnl3.inc b/meta-tizen/recipes-tizen/libnl3/libnl3.inc new file mode 100644 index 0000000..22cb5d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl3/libnl3.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Library for netlink sockets" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libnl3 +PROVIDES += "libnl3" +RPROVIDES_libnl3 += "libnl3" + +#PROVIDES by libnl3-cli +PROVIDES += "libnl3-cli" +RPROVIDES_libnl3-cli += "libnl3-cli" + +#PROVIDES by libnl3-devel +PROVIDES += "libnl3-devel" +RPROVIDES_libnl3-devel += "libnl3-devel" +RPROVIDES_libnl3-devel += "libnl3-dev" + +RDEPENDS = "" +#RDEPENDS of libnl3-cli (${PN}-cli) +RDEPENDS_${PN}-cli += "libnl3" + +#RDEPENDS of libnl3-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libnl3" + + +DEPENDS = "" +#DEPENDS of libnl3 +DEPENDS += "flex" +DEPENDS += "bison-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnl3.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + chmod +x autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}/etc/libnl/pktloc + + +} + +PACKAGES = "" +PACKAGES += "libnl3" +PACKAGES += "libnl3-cli" +PACKAGES += "libnl3-devel" + +libnl3_files = "" +libnl3_files += "libnl3.manifest" +libnl3_files += "/usr/lib/libnl*.so.*" +libnl3_files += "/etc/*" + +libnl3-cli_files = "" +libnl3-cli_files += "/usr/lib/libnl-cli*.so.*" +libnl3-cli_files += "/usr/lib/libnl/" +libnl3-cli_files += "/usr/sbin/*" +libnl3-cli_files += "/usr/share/man/man8/*" + +libnl3-devel_files = "" +libnl3-devel_files += "libnl3.manifest" +libnl3-devel_files += "/usr/include/*" +libnl3-devel_files += "/usr/lib/pkgconfig/*" +libnl3-devel_files += "/usr/lib/libnl*.so" + +FILES_${PN} = "${libnl3_files}" +FILES_${PN}-cli = "${libnl3-cli_files}" +FILES_${PN}-devel = "${libnl3-devel_files}" + +PKG_libnl3= "libnl3" +PKG_libnl3-cli= "libnl3-cli" +PKG_libnl3-devel= "libnl3-devel" + +require libnl3-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libnl3/libnl3_git.bb b/meta-tizen/recipes-tizen/libnl3/libnl3_git.bb new file mode 100644 index 0000000..145ffea --- /dev/null +++ b/meta-tizen/recipes-tizen/libnl3/libnl3_git.bb @@ -0,0 +1,8 @@ +require libnl3.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libnl3;protocol=ssh;tag=2d3b500003fddf412f28061b42e99157579583e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libogg/libogg-extraconf.inc b/meta-tizen/recipes-tizen/libogg/libogg-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libogg/libogg-native_git.bb b/meta-tizen/recipes-tizen/libogg/libogg-native_git.bb new file mode 100644 index 0000000..39f7c2f --- /dev/null +++ b/meta-tizen/recipes-tizen/libogg/libogg-native_git.bb @@ -0,0 +1,12 @@ +require libogg.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libogg;protocol=ssh;tag=10faa2039122db90e67336bfaeaf26978a2b49ee;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libogg/libogg.inc b/meta-tizen/recipes-tizen/libogg/libogg.inc new file mode 100644 index 0000000..ce2ea10 --- /dev/null +++ b/meta-tizen/recipes-tizen/libogg/libogg.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Ogg Bitstream Library" +HOMEPAGE = "http://www.vorbis.com/" +SECTION = "Multimedia/Audio" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libogg +PROVIDES += "libogg" +RPROVIDES_libogg += "libogg" + +#PROVIDES by libogg-devel +PROVIDES += "libogg-devel" +RPROVIDES_libogg-devel += "libogg-devel" +RPROVIDES_libogg-devel += "libogg-dev" + +RDEPENDS = "" +#RDEPENDS of libogg-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libogg" + + +DEPENDS = "" +#DEPENDS of libogg +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libogg.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Fix optimization level + sed -i s,-O20,-O3,g configure + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + exit 0 + make check + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libogg + rm -rf ${D}/usr/share/doc/libogg-1.3.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libogg" +PACKAGES += "libogg-devel" + +libogg_files = "" +libogg_files += "libogg.manifest" +libogg_files += "/usr/lib/libogg.so.*" + +libogg-devel_files = "" +libogg-devel_files += "libogg.manifest" +libogg-devel_files += "/usr/include/ogg" +libogg-devel_files += "/usr/lib/libogg.so" +libogg-devel_files += "/usr/share/aclocal" +libogg-devel_files += "/usr/share/aclocal/ogg.m4" +libogg-devel_files += "/usr/lib/pkgconfig/ogg.pc" + +FILES_${PN} = "${libogg_files}" +FILES_${PN}-devel = "${libogg-devel_files}" + +PKG_libogg= "libogg" +PKG_libogg-devel= "libogg-devel" + +require libogg-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libogg/libogg_git.bb b/meta-tizen/recipes-tizen/libogg/libogg_git.bb new file mode 100644 index 0000000..3c4e55a --- /dev/null +++ b/meta-tizen/recipes-tizen/libogg/libogg_git.bb @@ -0,0 +1,8 @@ +require libogg.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libogg;protocol=ssh;tag=10faa2039122db90e67336bfaeaf26978a2b49ee;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/liboil/liboil-extraconf.inc b/meta-tizen/recipes-tizen/liboil/liboil-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/liboil/liboil-native_git.bb b/meta-tizen/recipes-tizen/liboil/liboil-native_git.bb new file mode 100644 index 0000000..dabcf37 --- /dev/null +++ b/meta-tizen/recipes-tizen/liboil/liboil-native_git.bb @@ -0,0 +1,12 @@ +require liboil.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/liboil;protocol=ssh;tag=55065d23d2c206575a6c5a0dab12a80a673d72e4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/liboil/liboil.inc b/meta-tizen/recipes-tizen/liboil/liboil.inc new file mode 100644 index 0000000..4b324cc --- /dev/null +++ b/meta-tizen/recipes-tizen/liboil/liboil.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "Library of Optimized Inner Loops" +HOMEPAGE = "http://liboil.freedesktop.org/wiki/" +SECTION = "System/Libraries" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by liboil +PROVIDES += "liboil" +RPROVIDES_liboil += "liboil" + +#PROVIDES by liboil-devel +PROVIDES += "liboil-devel" +RPROVIDES_liboil-devel += "liboil-devel" +RPROVIDES_liboil-devel += "liboil-dev" + +RDEPENDS = "" +#RDEPENDS of liboil-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "liboil" +RDEPENDS_${PN}-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of liboil +DEPENDS += "glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/liboil.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + oe_runmake -j16 + # Do NOT! disable running the testsuite or make failures + # non-fatal for the build! + + exit 0 + oe_runmake check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/liboil + rm -rf ${D}/usr/share/doc/liboil-0.3.17 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "liboil" +PACKAGES += "liboil-devel" + +liboil_files = "" +liboil_files += "liboil.manifest" +liboil_files += "/usr/lib/*.so.*" + +liboil-devel_files = "" +liboil-devel_files += "liboil.manifest" +liboil-devel_files += "/usr/bin/oil-bugreport" +liboil-devel_files += "/usr/include/liboil-*" +liboil-devel_files += "/usr/lib/*.so" +liboil-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${liboil_files}" +FILES_${PN}-devel = "${liboil-devel_files}" + +PKG_liboil= "liboil" +PKG_liboil-devel= "liboil-devel" + +require liboil-extraconf.inc diff --git a/meta-tizen/recipes-tizen/liboil/liboil_git.bb b/meta-tizen/recipes-tizen/liboil/liboil_git.bb new file mode 100644 index 0000000..2e576d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/liboil/liboil_git.bb @@ -0,0 +1,8 @@ +require liboil.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/liboil;protocol=ssh;tag=55065d23d2c206575a6c5a0dab12a80a673d72e4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpcap/libpcap-extraconf.inc b/meta-tizen/recipes-tizen/libpcap/libpcap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpcap/libpcap-native_git.bb b/meta-tizen/recipes-tizen/libpcap/libpcap-native_git.bb new file mode 100644 index 0000000..b2f997a --- /dev/null +++ b/meta-tizen/recipes-tizen/libpcap/libpcap-native_git.bb @@ -0,0 +1,12 @@ +require libpcap.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpcap;protocol=ssh;tag=b6bd8652859189c9d4eba710871cd700b0dd98de;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpcap/libpcap.inc b/meta-tizen/recipes-tizen/libpcap/libpcap.inc new file mode 100644 index 0000000..f5e21e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpcap/libpcap.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "A Library for Network Sniffers" +HOMEPAGE = "http://www.tcpdump.org/" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpcap-docs +PROVIDES += "libpcap-docs " +RPROVIDES_libpcap-docs += "libpcap-docs " + +#PROVIDES by libpcap-devel +PROVIDES += "libpcap-devel" +RPROVIDES_libpcap-devel += "libpcap-devel" +RPROVIDES_libpcap-devel += "libpcap-dev" + +#PROVIDES by libpcap +PROVIDES += "libpcap" +RPROVIDES_libpcap += "libpcap" + +RDEPENDS = "" +#RDEPENDS of libpcap-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpcap" + + +DEPENDS = "" +#DEPENDS of libpcap +DEPENDS += "libusb-devel" +DEPENDS += "flex" +DEPENDS += "bison-native" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpcap.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + pic="pic" + autoreconf -fiv + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -f$pic" CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -f$pic" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-ipv6 + make -j16 all shared + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "libpcap-docs" +PACKAGES += "libpcap-devel" +PACKAGES += "libpcap" + +libpcap-docs_files = "" +libpcap-docs_files += "/usr/share/info" +libpcap-docs_files += "/usr/share/man" + +libpcap-devel_files = "" +libpcap-devel_files += "libpcap.manifest" +libpcap-devel_files += "/usr/include/*" +libpcap-devel_files += "/usr/bin/pcap-config" +libpcap-devel_files += "/usr/lib/*.so" +libpcap-devel_files += "/usr/lib/*.*a" + +libpcap_files = "" +libpcap_files += "libpcap.manifest" +libpcap_files += "LICENSE" +libpcap_files += "/usr/lib/*.so.*" + +FILES_${PN}-docs = "${libpcap-docs_files}" +FILES_${PN}-devel = "${libpcap-devel_files}" +FILES_${PN} = "${libpcap_files}" + +PKG_libpcap-docs= "libpcap-docs" +PKG_libpcap-devel= "libpcap-devel" +PKG_libpcap= "libpcap" + +require libpcap-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpcap/libpcap_git.bb b/meta-tizen/recipes-tizen/libpcap/libpcap_git.bb new file mode 100644 index 0000000..6c6e5d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpcap/libpcap_git.bb @@ -0,0 +1,8 @@ +require libpcap.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpcap;protocol=ssh;tag=b6bd8652859189c9d4eba710871cd700b0dd98de;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpciaccess/libpciaccess-extraconf.inc b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpciaccess/libpciaccess-native_git.bb b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess-native_git.bb new file mode 100644 index 0000000..bad9e54 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess-native_git.bb @@ -0,0 +1,12 @@ +require libpciaccess.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpciaccess;protocol=ssh;tag=f78fc31c86aed51312b49c901a547491e4e0986b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpciaccess/libpciaccess.inc b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess.inc new file mode 100644 index 0000000..e2a73c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "PCI access library" +HOMEPAGE = "http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git" +SECTION = "Base/Device Management" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpciaccess +PROVIDES += "libpciaccess" +RPROVIDES_libpciaccess += "libpciaccess" + +#PROVIDES by libpciaccess-devel +PROVIDES += "libpciaccess-devel" +RPROVIDES_libpciaccess-devel += "libpciaccess-devel" +RPROVIDES_libpciaccess-devel += "libpciaccess-dev" + +RDEPENDS = "" +#RDEPENDS of libpciaccess-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpciaccess" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of libpciaccess +DEPENDS += "zlib-devel" +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpciaccess.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --with-pciids-path=/usr/share/misc --with-zlib + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libpciaccess + rm -rf ${D}/usr/share/doc/libpciaccess-0.13.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libpciaccess" +PACKAGES += "libpciaccess-devel" + +libpciaccess_files = "" +libpciaccess_files += "libpciaccess.manifest" +libpciaccess_files += "/usr/lib/libpciaccess.so.0" +libpciaccess_files += "/usr/lib/libpciaccess.so.0.11.*" + +libpciaccess-devel_files = "" +libpciaccess-devel_files += "libpciaccess.manifest" +libpciaccess-devel_files += "/usr/include/pciaccess.h" +libpciaccess-devel_files += "/usr/lib/libpciaccess.so" +libpciaccess-devel_files += "/usr/lib/pkgconfig/pciaccess.pc" + +FILES_${PN} = "${libpciaccess_files}" +FILES_${PN}-devel = "${libpciaccess-devel_files}" + +PKG_libpciaccess= "libpciaccess" +PKG_libpciaccess-devel= "libpciaccess-devel" + +require libpciaccess-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpciaccess/libpciaccess_git.bb b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess_git.bb new file mode 100644 index 0000000..fd31a56 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpciaccess/libpciaccess_git.bb @@ -0,0 +1,8 @@ +require libpciaccess.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpciaccess;protocol=ssh;tag=f78fc31c86aed51312b49c901a547491e4e0986b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpinyin/libpinyin-extraconf.inc b/meta-tizen/recipes-tizen/libpinyin/libpinyin-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpinyin/libpinyin-native_git.bb b/meta-tizen/recipes-tizen/libpinyin/libpinyin-native_git.bb new file mode 100644 index 0000000..da8c299 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpinyin/libpinyin-native_git.bb @@ -0,0 +1,12 @@ +require libpinyin.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpinyin;protocol=ssh;tag=cbfd53b7ca66dbcee55abdb0af9ee4d9446e5bde;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpinyin/libpinyin.inc b/meta-tizen/recipes-tizen/libpinyin/libpinyin.inc new file mode 100644 index 0000000..427661c --- /dev/null +++ b/meta-tizen/recipes-tizen/libpinyin/libpinyin.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Library to deal with pinyin" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpinyin +PROVIDES += "libpinyin" +RPROVIDES_libpinyin += "libpinyin" + +#PROVIDES by libpinyin-devel +PROVIDES += "libpinyin-devel" +RPROVIDES_libpinyin-devel += "libpinyin-devel" +RPROVIDES_libpinyin-devel += "libpinyin-dev" + +#PROVIDES by libpinyin-tools +PROVIDES += "libpinyin-tools" +RPROVIDES_libpinyin-tools += "libpinyin-tools" + +RDEPENDS = "" +#RDEPENDS of libpinyin-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpinyin" + +#RDEPENDS of libpinyin-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libpinyin" + + +DEPENDS = "" +#DEPENDS of libpinyin +DEPENDS += "glib" +DEPENDS += "db4" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpinyin.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + + +} + +PACKAGES = "" +PACKAGES += "libpinyin" +PACKAGES += "libpinyin-devel" +PACKAGES += "libpinyin-tools" + +libpinyin_files = "" +libpinyin_files += "libpinyin.manifest" +libpinyin_files += "AUTHORS COPYING README" +libpinyin_files += "/usr/lib/*.so.*" +libpinyin_files += "/usr/lib/libpinyin" +libpinyin_files += "/usr/lib/libpinyin/data" + +libpinyin-devel_files = "" +libpinyin-devel_files += "libpinyin.manifest" +libpinyin-devel_files += "/usr/include/libpinyin-1.0.0" +libpinyin-devel_files += "/usr/include/libpinyin-1.0.0/*" +libpinyin-devel_files += "/usr/lib/*.so" +libpinyin-devel_files += "/usr/lib/pkgconfig/libpinyin.pc" + +libpinyin-tools_files = "" +libpinyin-tools_files += "libpinyin.manifest" +libpinyin-tools_files += "/usr/bin/gen_binary_files" +libpinyin-tools_files += "/usr/bin/import_interpolation" +libpinyin-tools_files += "/usr/bin/gen_unigram" +libpinyin-tools_files += "/usr/share/man/man1/*.1.*" + +FILES_${PN} = "${libpinyin_files}" +FILES_${PN}-devel = "${libpinyin-devel_files}" +FILES_${PN}-tools = "${libpinyin-tools_files}" + +PKG_libpinyin= "libpinyin" +PKG_libpinyin-devel= "libpinyin-devel" +PKG_libpinyin-tools= "libpinyin-tools" + +require libpinyin-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpinyin/libpinyin_git.bb b/meta-tizen/recipes-tizen/libpinyin/libpinyin_git.bb new file mode 100644 index 0000000..1feddfb --- /dev/null +++ b/meta-tizen/recipes-tizen/libpinyin/libpinyin_git.bb @@ -0,0 +1,8 @@ +require libpinyin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpinyin;protocol=ssh;tag=cbfd53b7ca66dbcee55abdb0af9ee4d9446e5bde;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpipeline/libpipeline-extraconf.inc b/meta-tizen/recipes-tizen/libpipeline/libpipeline-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpipeline/libpipeline-native_git.bb b/meta-tizen/recipes-tizen/libpipeline/libpipeline-native_git.bb new file mode 100644 index 0000000..e219320 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpipeline/libpipeline-native_git.bb @@ -0,0 +1,12 @@ +require libpipeline.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpipeline;protocol=ssh;tag=e3bb4a19acf98389748ea0e8486ed4b080064657;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpipeline/libpipeline.inc b/meta-tizen/recipes-tizen/libpipeline/libpipeline.inc new file mode 100644 index 0000000..7bf15d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpipeline/libpipeline.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "A pipeline manipulation library" +HOMEPAGE = "http://www.nongnu.org/libpipeline/" +SECTION = "System/Libraries" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpipeline +PROVIDES += "libpipeline" +RPROVIDES_libpipeline += "libpipeline" + +#PROVIDES by libpipeline-devel +PROVIDES += "libpipeline-devel" +RPROVIDES_libpipeline-devel += "libpipeline-devel" +RPROVIDES_libpipeline-devel += "libpipeline-dev" +# the PROVIDES rules is ignore "pkgconfig(libpipeline) = 1.2.2" +PROVIDES += "pkgconfig(libpipeline)" +RPROVIDES_libpipeline-devel += "pkgconfig(libpipeline)" + +RDEPENDS = "" +#RDEPENDS of libpipeline-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpipeline" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpipeline.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-shared \ + --enable-threads=posix \ + --disable-rpath \ + --enable-socketpair-pipe \ + --with-pic=yes \ + --with-gnu-ld + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libpipeline" +PACKAGES += "libpipeline-devel" + +libpipeline_files = "" +libpipeline_files += "libpipeline.manifest" +libpipeline_files += "/usr/lib/libpipeline.so.*" + +libpipeline-devel_files = "" +libpipeline-devel_files += "libpipeline.manifest" +libpipeline-devel_files += "/usr/lib/libpipeline.so" +libpipeline-devel_files += "/usr/lib/pkgconfig/libpipeline.pc" +libpipeline-devel_files += "/usr/include/pipeline.h" +libpipeline-devel_files += "/usr/share/man/man3/*.3*" + +FILES_${PN} = "${libpipeline_files}" +FILES_${PN}-devel = "${libpipeline-devel_files}" + +PKG_libpipeline= "libpipeline" +PKG_libpipeline-devel= "libpipeline-devel" + +require libpipeline-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpipeline/libpipeline_git.bb b/meta-tizen/recipes-tizen/libpipeline/libpipeline_git.bb new file mode 100644 index 0000000..6d62013 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpipeline/libpipeline_git.bb @@ -0,0 +1,8 @@ +require libpipeline.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpipeline;protocol=ssh;tag=e3bb4a19acf98389748ea0e8486ed4b080064657;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpng/libpng-extraconf.inc b/meta-tizen/recipes-tizen/libpng/libpng-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpng/libpng-native_git.bb b/meta-tizen/recipes-tizen/libpng/libpng-native_git.bb new file mode 100644 index 0000000..5cd04e6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpng/libpng-native_git.bb @@ -0,0 +1,12 @@ +require libpng.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpng;protocol=ssh;tag=67c3a1f00ba76d6c679ca96e96398f8c88bd26fd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpng/libpng.inc b/meta-tizen/recipes-tizen/libpng/libpng.inc new file mode 100644 index 0000000..e04ad58 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpng/libpng.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A library of functions for manipulating PNG image format files" +HOMEPAGE = "http://www.libpng.org/pub/png/" +SECTION = "Graphics/Libraries" +LICENSE = "zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpng +PROVIDES += "libpng" +RPROVIDES_libpng += "libpng" + +#PROVIDES by libpng-devel +PROVIDES += "libpng-devel" +RPROVIDES_libpng-devel += "libpng-devel" +RPROVIDES_libpng-devel += "libpng-dev" + +RDEPENDS = "" +#RDEPENDS of libpng-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpng" +RDEPENDS_${PN}-devel += "zlib-dev" + + +DEPENDS = "" +#DEPENDS of libpng +DEPENDS += "zlib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpng.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}/usr/share/man + + +} + +PACKAGES = "" +PACKAGES += "libpng" +PACKAGES += "libpng-devel" + +libpng_files = "" +libpng_files += "libpng.manifest" +libpng_files += "/usr/lib/libpng*.so.*" + +libpng-devel_files = "" +libpng-devel_files += "libpng.manifest" +libpng-devel_files += "/usr/bin/*" +libpng-devel_files += "/usr/include/*" +libpng-devel_files += "/usr/lib/libpng*.so" +libpng-devel_files += "/usr/lib/pkgconfig/*" + +FILES_${PN} = "${libpng_files}" +FILES_${PN}-devel = "${libpng-devel_files}" + +PKG_libpng= "libpng" +PKG_libpng-devel= "libpng-devel" + +require libpng-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpng/libpng_git.bb b/meta-tizen/recipes-tizen/libpng/libpng_git.bb new file mode 100644 index 0000000..c5dfdaa --- /dev/null +++ b/meta-tizen/recipes-tizen/libpng/libpng_git.bb @@ -0,0 +1,8 @@ +require libpng.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpng;protocol=ssh;tag=67c3a1f00ba76d6c679ca96e96398f8c88bd26fd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-extraconf.inc b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-native_git.bb b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-native_git.bb new file mode 100644 index 0000000..0737e03 --- /dev/null +++ b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control-native_git.bb @@ -0,0 +1,12 @@ +require libprivilege-control.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/libprivilege-control;protocol=ssh;tag=b0babe27722e8020213865fb8a0b84b0593b47e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc new file mode 100644 index 0000000..8cbe5a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "Library to control privilege of application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libprivilege-control +PROVIDES += "libprivilege-control" +RPROVIDES_libprivilege-control += "libprivilege-control" + +#PROVIDES by libprivilege-control-conf +PROVIDES += "libprivilege-control-conf" +RPROVIDES_libprivilege-control-conf += "libprivilege-control-conf" + +#PROVIDES by libprivilege-control-devel +PROVIDES += "libprivilege-control-devel" +RPROVIDES_libprivilege-control-devel += "libprivilege-control-devel" +RPROVIDES_libprivilege-control-devel += "libprivilege-control-dev" + +RDEPENDS = "" +#RDEPENDS of libprivilege-control-conf (${PN}-conf) +RDEPENDS_${PN}-conf += "libprivilege-control" + +#RDEPENDS of libprivilege-control-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libprivilege-control" + + +DEPENDS = "" +#DEPENDS of libprivilege-control +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libprivilege-control.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DCMAKE_BUILD_TYPE= + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/privilege-control/ + + +} + +PACKAGES = "" +PACKAGES += "libprivilege-control" +PACKAGES += "libprivilege-control-conf" +PACKAGES += "libprivilege-control-devel" + +libprivilege-control_files = "" +libprivilege-control_files += "libprivilege-control.manifest" +libprivilege-control_files += "/usr/lib/*.so.*" +libprivilege-control_files += "/usr/bin/slp-su" +libprivilege-control_files += "/usr/share/privilege-control" +libprivilege-control_files += "/usr/share/privilege-control/*" + +libprivilege-control-conf_files = "" +libprivilege-control-conf_files += "libprivilege-control.manifest" +libprivilege-control-conf_files += "/opt/etc/smack/*" +libprivilege-control-conf_files += "/opt/dbspace/.privilege_control*.db" + +libprivilege-control-devel_files = "" +libprivilege-control-devel_files += "libprivilege-control.manifest" +libprivilege-control-devel_files += "/usr/include/*.h" +libprivilege-control-devel_files += "/usr/lib/*.so" +libprivilege-control-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libprivilege-control_files}" +FILES_${PN}-conf = "${libprivilege-control-conf_files}" +FILES_${PN}-devel = "${libprivilege-control-devel_files}" + +PKG_libprivilege-control= "libprivilege-control" +PKG_libprivilege-control-conf= "libprivilege-control-conf" +PKG_libprivilege-control-devel= "libprivilege-control-devel" + +require libprivilege-control-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control_git.bb b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control_git.bb new file mode 100644 index 0000000..5952e38 --- /dev/null +++ b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control_git.bb @@ -0,0 +1,8 @@ +require libprivilege-control.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/libprivilege-control;protocol=ssh;tag=b0babe27722e8020213865fb8a0b84b0593b47e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-extraconf.inc b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-native_git.bb b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-native_git.bb new file mode 100644 index 0000000..f361e6b --- /dev/null +++ b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs-native_git.bb @@ -0,0 +1,12 @@ +require libpthread-stubs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpthread-stubs;protocol=ssh;tag=17bfd695c9e8a1005f08089fc9f8f3583f5962a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs.inc b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs.inc new file mode 100644 index 0000000..10ab446 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "PThread Stubs for XCB" +HOMEPAGE = "http://xcb.freedesktop.org" +SECTION = "System/X11" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpthread-stubs +PROVIDES += "libpthread-stubs" +RPROVIDES_libpthread-stubs += "libpthread-stubs" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpthread-stubs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libpthread-stubs" + +libpthread-stubs_files = "" +libpthread-stubs_files += "libpthread-stubs.manifest" +libpthread-stubs_files += "/usr/lib/pkgconfig/pthread-stubs.pc" + +FILES_${PN} = "${libpthread-stubs_files}" + +PKG_libpthread-stubs= "libpthread-stubs" + +require libpthread-stubs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs_git.bb b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs_git.bb new file mode 100644 index 0000000..5f49e41 --- /dev/null +++ b/meta-tizen/recipes-tizen/libpthread-stubs/libpthread-stubs_git.bb @@ -0,0 +1,8 @@ +require libpthread-stubs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libpthread-stubs;protocol=ssh;tag=17bfd695c9e8a1005f08089fc9f8f3583f5962a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/librua/librua-extraconf.inc b/meta-tizen/recipes-tizen/librua/librua-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/librua/librua-native_git.bb b/meta-tizen/recipes-tizen/librua/librua-native_git.bb new file mode 100644 index 0000000..2af6b8e --- /dev/null +++ b/meta-tizen/recipes-tizen/librua/librua-native_git.bb @@ -0,0 +1,12 @@ +require librua.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/librua;protocol=ssh;tag=cc94b25aa675fc061d456568f60fe56d536a540f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/librua/librua.inc b/meta-tizen/recipes-tizen/librua/librua.inc new file mode 100644 index 0000000..5b08733 --- /dev/null +++ b/meta-tizen/recipes-tizen/librua/librua.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Recently used application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by librua +PROVIDES += "librua" +RPROVIDES_librua += "librua" + +#PROVIDES by librua-devel +PROVIDES += "librua-devel" +RPROVIDES_librua-devel += "librua-devel" +RPROVIDES_librua-devel += "librua-dev" + +RDEPENDS = "" +#RDEPENDS of librua-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "librua" + + +DEPENDS = "" +#DEPENDS of librua +DEPENDS += "sqlite3" +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(db-util)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/librua.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}%{TZ_SYS_DB} + sqlite3 ${D}%{TZ_SYS_DB}/.rua.db < data/rua_db.sql + + +} + +PACKAGES = "" +PACKAGES += "librua" +PACKAGES += "librua-devel" + +librua_files = "" +librua_files += "librua.manifest" +#Remove rpm attribut "%attr(0660,root,%{TZ_SYS_USER_GROUP})" +librua_files += "%{TZ_SYS_DB}/.rua.db*" +librua_files += "/usr/lib/librua.so.*" + +librua-devel_files = "" +librua-devel_files += "librua.manifest" +librua-devel_files += "/usr/include/rua" +librua-devel_files += "/usr/include/rua/*.h" +librua-devel_files += "/usr/lib/librua.so" +librua-devel_files += "/usr/lib/pkgconfig/rua.pc" + +FILES_${PN} = "${librua_files}" +FILES_${PN}-devel = "${librua-devel_files}" + +PKG_librua= "librua" +PKG_librua-devel= "librua-devel" + +require librua-extraconf.inc diff --git a/meta-tizen/recipes-tizen/librua/librua_git.bb b/meta-tizen/recipes-tizen/librua/librua_git.bb new file mode 100644 index 0000000..12797ab --- /dev/null +++ b/meta-tizen/recipes-tizen/librua/librua_git.bb @@ -0,0 +1,8 @@ +require librua.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/librua;protocol=ssh;tag=cc94b25aa675fc061d456568f60fe56d536a540f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsecret/libsecret-extraconf.inc b/meta-tizen/recipes-tizen/libsecret/libsecret-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsecret/libsecret-native_git.bb b/meta-tizen/recipes-tizen/libsecret/libsecret-native_git.bb new file mode 100644 index 0000000..c38b2a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsecret/libsecret-native_git.bb @@ -0,0 +1,12 @@ +require libsecret.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;protocol=ssh;tag=323fd83e4fa5a23e79e83b210d853705e21bdd81;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsecret/libsecret.inc b/meta-tizen/recipes-tizen/libsecret/libsecret.inc new file mode 100644 index 0000000..1bbfef0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsecret/libsecret.inc @@ -0,0 +1,206 @@ +DESCRIPTION = "Library for accessing the Secret Service API" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsecret-tools +PROVIDES += "libsecret-tools" +RPROVIDES_libsecret-tools += "libsecret-tools" + +#PROVIDES by typelib-Secret +PROVIDES += "typelib-Secret" +RPROVIDES_typelib-Secret += "typelib-Secret" + +#PROVIDES by libsecret-locale +PROVIDES += "libsecret-locale" +RPROVIDES_libsecret-locale += "libsecret-locale" +# the PROVIDES rules is ignore "libsecret-lang-all = 0.15" +PROVIDES += "libsecret-lang-all" +RPROVIDES_libsecret-locale += "libsecret-lang-all" + +#PROVIDES by libsecret-devel +PROVIDES += "libsecret-devel" +RPROVIDES_libsecret-devel += "libsecret-devel" +RPROVIDES_libsecret-devel += "libsecret-dev" + +#PROVIDES by libsecret +PROVIDES += "libsecret" +RPROVIDES_libsecret += "libsecret" + +#PROVIDES by typelib-SecretUnstable +PROVIDES += "typelib-SecretUnstable" +RPROVIDES_typelib-SecretUnstable += "typelib-SecretUnstable" + +RDEPENDS = "" +#RDEPENDS of libsecret-locale (${PN}-locale) +RDEPENDS_${PN}-locale += "libsecret" + +#RDEPENDS of libsecret-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "typelib-Secret" +RDEPENDS_${PN}-devel += "libsecret" +RDEPENDS_${PN}-devel += "typelib-SecretUnstable" + + +DEPENDS = "" +#DEPENDS of libsecret +DEPENDS += "gobject-introspection" +DEPENDS += "intltool-native" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "xsltproc" +DEPENDS += "vala" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(gio-unix-2.0)" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "fdupes-native" +DEPENDS += "libgcrypt" +DEPENDS += "gtk-doc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libsecret + rm -rf ${D}/usr/share/locales/* + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "libsecret-tools" +PACKAGES += "typelib-Secret" +PACKAGES += "libsecret-locale" +PACKAGES += "libsecret-devel" +PACKAGES += "typelib-SecretUnstable" +PACKAGES += "libsecret" + +libsecret-tools_files = "" +libsecret-tools_files += "/usr/bin/secret-tool" + +typelib-Secret_files = "" +typelib-Secret_files += "/usr/lib/girepository-1.0/Secret-1.typelib" + +libsecret-locale_files = "" + +libsecret-devel_files = "" +libsecret-devel_files += "AUTHORS ChangeLog NEWS README" +libsecret-devel_files += "/usr/lib/libsecret-1.so" +libsecret-devel_files += "/usr/lib/pkgconfig/libsecret-1.pc" +libsecret-devel_files += "/usr/lib/pkgconfig/libsecret-unstable.pc" +libsecret-devel_files += "/usr/include/libsecret-1/" +libsecret-devel_files += "/usr/share/gir-1.0/Secret-1.gir" +libsecret-devel_files += "/usr/share/gir-1.0/SecretUnstable-0.gir" +libsecret-devel_files += "/usr/share/vala/vapi" +libsecret-devel_files += "/usr/share/vala/vapi/libsecret-1.deps" +libsecret-devel_files += "/usr/share/vala/vapi/libsecret-1.vapi" +libsecret-devel_files += "/usr/share/vala/vapi/libsecret-unstable.deps" +libsecret-devel_files += "/usr/share/vala/vapi/libsecret-unstable.vapi" +libsecret-devel_files += "/usr/share/vala/vapi/mock-service-0.vapi" + +typelib-SecretUnstable_files = "" +typelib-SecretUnstable_files += "/usr/lib/girepository-1.0/SecretUnstable-0.typelib" + +libsecret_files = "" +libsecret_files += "/usr/lib/libsecret-1.so.*" + +FILES_${PN}-tools = "${libsecret-tools_files}" +FILES_typelib-Secret = "${typelib-Secret_files}" +FILES_${PN}-locale = "${libsecret-locale_files}" +FILES_${PN}-devel = "${libsecret-devel_files}" +FILES_typelib-SecretUnstable = "${typelib-SecretUnstable_files}" +FILES_${PN} = "${libsecret_files}" + +PKG_libsecret-tools= "libsecret-tools" +PKG_typelib-Secret= "typelib-Secret" +PKG_libsecret-locale= "libsecret-locale" +PKG_libsecret-devel= "libsecret-devel" +PKG_typelib-SecretUnstable= "typelib-SecretUnstable" +PKG_libsecret= "libsecret" + +require libsecret-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsecret/libsecret_git.bb b/meta-tizen/recipes-tizen/libsecret/libsecret_git.bb new file mode 100644 index 0000000..52d2864 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsecret/libsecret_git.bb @@ -0,0 +1,8 @@ +require libsecret.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;protocol=ssh;tag=323fd83e4fa5a23e79e83b210d853705e21bdd81;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsf-common/libsf-common-extraconf.inc b/meta-tizen/recipes-tizen/libsf-common/libsf-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsf-common/libsf-common-native_git.bb b/meta-tizen/recipes-tizen/libsf-common/libsf-common-native_git.bb new file mode 100644 index 0000000..8801d69 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsf-common/libsf-common-native_git.bb @@ -0,0 +1,12 @@ +require libsf-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libsf-common;protocol=ssh;tag=d2dbdc7e801b265a71faf8a2f027d79e72b92424;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc b/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc new file mode 100644 index 0000000..445ab4c --- /dev/null +++ b/meta-tizen/recipes-tizen/libsf-common/libsf-common.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "Sensor framework common library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Sensor Framework" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsf-common +PROVIDES += "libsf-common" +RPROVIDES_libsf-common += "libsf-common" + +#PROVIDES by libsf-common-devel +PROVIDES += "libsf-common-devel" +RPROVIDES_libsf-common-devel += "libsf-common-devel" +RPROVIDES_libsf-common-devel += "libsf-common-dev" + +RDEPENDS = "" +#RDEPENDS of libsf-common-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsf-common" + + +DEPENDS = "" +#DEPENDS of libsf-common +DEPENDS += "cmake" +DEPENDS += "attr" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libsf-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/libsf-common + + +} + +PACKAGES = "" +PACKAGES += "libsf-common" +PACKAGES += "libsf-common-devel" + +libsf-common_files = "" +libsf-common_files += "libsf-common.manifest" +libsf-common_files += "/usr/lib/libsf_common.so" +libsf-common_files += "/usr/share/license/libsf-common" + +libsf-common-devel_files = "" +libsf-common-devel_files += "libsf-common.manifest" +libsf-common-devel_files += "/usr/include/sf_common/*.h" +libsf-common-devel_files += "/usr/lib/pkgconfig/sf_common.pc" + +FILES_${PN} = "${libsf-common_files}" +FILES_${PN}-devel = "${libsf-common-devel_files}" + +PKG_libsf-common= "libsf-common" +PKG_libsf-common-devel= "libsf-common-devel" + +require libsf-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsf-common/libsf-common_git.bb b/meta-tizen/recipes-tizen/libsf-common/libsf-common_git.bb new file mode 100644 index 0000000..8dbb8a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsf-common/libsf-common_git.bb @@ -0,0 +1,8 @@ +require libsf-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libsf-common;protocol=ssh;tag=d2dbdc7e801b265a71faf8a2f027d79e72b92424;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-native_git.bb b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-native_git.bb new file mode 100644 index 0000000..f38a3be --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util-native_git.bb @@ -0,0 +1,12 @@ +require libslp-db-util.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/libslp-db-util;protocol=ssh;tag=4ef37c0712f5f5043768c66ffef2a7f5b76ba940;nobranch=1" + 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 new file mode 100644 index 0000000..5c7f8e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "DB Utility" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Database" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libslp-db-util-devel +PROVIDES += "libslp-db-util-devel" +RPROVIDES_libslp-db-util-devel += "libslp-db-util-devel" +RPROVIDES_libslp-db-util-devel += "libslp-db-util-dev" + +#PROVIDES by libslp-db-util +PROVIDES += "libslp-db-util" +RPROVIDES_libslp-db-util += "libslp-db-util" + +RDEPENDS = "" +#RDEPENDS of libslp-db-util-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libslp-db-util" + + +DEPENDS = "" +#DEPENDS of libslp-db-util +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libslp-db-util.manifest ${S}/packaging/libslp-db-util-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libslp-db-util-devel" +PACKAGES += "libslp-db-util" + +libslp-db-util-devel_files = "" +libslp-db-util-devel_files += "libslp-db-util-devel.manifest" +libslp-db-util-devel_files += "/usr/include/db-util" +libslp-db-util-devel_files += "/usr/include/db-util/*.h" +libslp-db-util-devel_files += "/usr/lib/pkgconfig/db-util.pc" +libslp-db-util-devel_files += "/usr/lib/libSLP-db-util.so" + +libslp-db-util_files = "" +libslp-db-util_files += "libslp-db-util.manifest" +libslp-db-util_files += "/usr/lib/libSLP-db-util.so.0" +libslp-db-util_files += "/usr/lib/libSLP-db-util.so.0.1.0" + +FILES_${PN}-devel = "${libslp-db-util-devel_files}" +FILES_${PN} = "${libslp-db-util_files}" + +PKG_libslp-db-util-devel= "libslp-db-util-devel" +PKG_libslp-db-util= "libslp-db-util" + +require libslp-db-util-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util_git.bb b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util_git.bb new file mode 100644 index 0000000..bc0b393 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util_git.bb @@ -0,0 +1,8 @@ +require libslp-db-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/libslp-db-util;protocol=ssh;tag=4ef37c0712f5f5043768c66ffef2a7f5b76ba940;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location-extraconf.inc b/meta-tizen/recipes-tizen/libslp-location/libslp-location-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location-native_git.bb b/meta-tizen/recipes-tizen/libslp-location/libslp-location-native_git.bb new file mode 100644 index 0000000..0521cb3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-location/libslp-location-native_git.bb @@ -0,0 +1,12 @@ +require libslp-location.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/libslp-location;protocol=ssh;tag=165868e3ca2d034e4eec9d285e6531c1cc018738;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc new file mode 100644 index 0000000..b4bb496 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Location Based Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libslp-location-devel +PROVIDES += "libslp-location-devel" +RPROVIDES_libslp-location-devel += "libslp-location-devel" +RPROVIDES_libslp-location-devel += "libslp-location-dev" + +#PROVIDES by libslp-location +PROVIDES += "libslp-location" +RPROVIDES_libslp-location += "libslp-location" + +RDEPENDS = "" +#RDEPENDS of libslp-location-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libslp-location" + +#RDEPENDS of libslp-location (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libslp-location +DEPENDS += "pkgconfig(json-glib-1.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(gmodule-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libslp-location-0.5.3 + cp ${S}/packaging/libslp-location.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-dlog --enable-debug + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libslp-location-devel" +PACKAGES += "libslp-location" + +libslp-location-devel_files = "" +libslp-location-devel_files += "libslp-location.manifest" +libslp-location-devel_files += "/usr/include/location/*.h" +libslp-location-devel_files += "/usr/lib/pkgconfig/*.pc" + +libslp-location_files = "" +libslp-location_files += "libslp-location.manifest" +libslp-location_files += "/usr/lib/lib*.so*" + +FILES_${PN}-devel = "${libslp-location-devel_files}" +FILES_${PN} = "${libslp-location_files}" + +PKG_libslp-location-devel= "libslp-location-devel" +PKG_libslp-location= "libslp-location" + +require libslp-location-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location_git.bb b/meta-tizen/recipes-tizen/libslp-location/libslp-location_git.bb new file mode 100644 index 0000000..d284a3f --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-location/libslp-location_git.bb @@ -0,0 +1,8 @@ +require libslp-location.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/libslp-location;protocol=ssh;tag=165868e3ca2d034e4eec9d285e6531c1cc018738;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-memo/libslp-memo-extraconf.inc b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-memo/libslp-memo-native_git.bb b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo-native_git.bb new file mode 100644 index 0000000..2880cde --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo-native_git.bb @@ -0,0 +1,12 @@ +require libslp-memo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/libslp-memo;protocol=ssh;tag=dffda76341389b4b7bce48211a6354cab089709b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-memo/libslp-memo.inc b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo.inc new file mode 100644 index 0000000..3d8119c --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "Memo DB interface library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Libraries" +LICENSE = "Flora" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libslp-memo +PROVIDES += "libslp-memo" +RPROVIDES_libslp-memo += "libslp-memo" + +#PROVIDES by libslp-memo-devel +PROVIDES += "libslp-memo-devel" +RPROVIDES_libslp-memo-devel += "libslp-memo-devel" +RPROVIDES_libslp-memo-devel += "libslp-memo-dev" + +RDEPENDS = "" +#RDEPENDS of libslp-memo (${PN}) +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of libslp-memo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libslp-memo" + + +DEPENDS = "" +#DEPENDS of libslp-memo +DEPENDS += "heynoti" +DEPENDS += "cmake" +DEPENDS += "libslp-db-util" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libslp-memo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--hash-style=both" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libslp-memo" +PACKAGES += "libslp-memo-devel" + +libslp-memo_files = "" +libslp-memo_files += "libslp-memo.manifest" +libslp-memo_files += "libslp-memo.manifest" +libslp-memo_files += "/usr/lib/*.so.*" + +libslp-memo-devel_files = "" +libslp-memo-devel_files += "libslp-memo.manifest" +libslp-memo-devel_files += "/usr/lib/*.so" +libslp-memo-devel_files += "/usr/lib/pkgconfig/memo.pc" +libslp-memo-devel_files += "/usr/include/*.h" + +FILES_${PN} = "${libslp-memo_files}" +FILES_${PN}-devel = "${libslp-memo-devel_files}" + +PKG_libslp-memo= "libslp-memo" +PKG_libslp-memo-devel= "libslp-memo-devel" + +require libslp-memo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-memo/libslp-memo_git.bb b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo_git.bb new file mode 100644 index 0000000..1dfadb3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-memo/libslp-memo_git.bb @@ -0,0 +1,8 @@ +require libslp-memo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/libslp-memo;protocol=ssh;tag=dffda76341389b4b7bce48211a6354cab089709b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm-extraconf.inc b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm-native_git.bb b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm-native_git.bb new file mode 100644 index 0000000..4e53846 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm-native_git.bb @@ -0,0 +1,12 @@ +require libslp-pm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-pm;protocol=ssh;tag=b3344528f667ed4b7a53034597e9ac550a1dcad3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc new file mode 100644 index 0000000..53c70d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Power manager library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "TO BE FILLED IN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libslp-pm +PROVIDES += "libslp-pm" +RPROVIDES_libslp-pm += "libslp-pm" + +#PROVIDES by libslp-pm-devel +PROVIDES += "libslp-pm-devel" +RPROVIDES_libslp-pm-devel += "libslp-pm-devel" +RPROVIDES_libslp-pm-devel += "libslp-pm-dev" + +RDEPENDS = "" +#RDEPENDS of libslp-pm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libslp-pm" + + +DEPENDS = "" +#DEPENDS of libslp-pm +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libslp-pm.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libslp-pm" +PACKAGES += "libslp-pm-devel" + +libslp-pm_files = "" +libslp-pm_files += "libslp-pm.manifest" +libslp-pm_files += "libslp-pm.manifest" +libslp-pm_files += "/usr/lib/libpmapi.so.1.2" + +libslp-pm-devel_files = "" +libslp-pm-devel_files += "libslp-pm.manifest" +libslp-pm-devel_files += "/usr/include/pmapi.h" +libslp-pm-devel_files += "/usr/include/pmapi_managed.h" +libslp-pm-devel_files += "/usr/include/SLP_pm_PG.h" +libslp-pm-devel_files += "/usr/lib/pkgconfig/pmapi.pc" +libslp-pm-devel_files += "/usr/lib/libpmapi.so" + +FILES_${PN} = "${libslp-pm_files}" +FILES_${PN}-devel = "${libslp-pm-devel_files}" + +PKG_libslp-pm= "libslp-pm" +PKG_libslp-pm-devel= "libslp-pm-devel" + +require libslp-pm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm_git.bb b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm_git.bb new file mode 100644 index 0000000..e7444e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm_git.bb @@ -0,0 +1,8 @@ +require libslp-pm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-pm;protocol=ssh;tag=b3344528f667ed4b7a53034597e9ac550a1dcad3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-native_git.bb b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-native_git.bb new file mode 100644 index 0000000..34469ae --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor-native_git.bb @@ -0,0 +1,12 @@ +require libslp-sensor.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sensor;protocol=ssh;tag=0b466302afcb0ce0e23f0d8f1e1e9820e42326dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc new file mode 100644 index 0000000..1b38409 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "Sensor framework client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Sensor Framework" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sensor +PROVIDES += "sensor" +RPROVIDES_sensor += "sensor" + +#PROVIDES by sensor-devel +PROVIDES += "sensor-devel" +RPROVIDES_sensor-devel += "sensor-devel" +RPROVIDES_sensor-devel += "sensor-dev" + +RDEPENDS = "" +#RDEPENDS of sensor-devel (sensor-devel) +RDEPENDS_sensor-devel += "sensor" + + +DEPENDS = "" +#DEPENDS of sensor +DEPENDS += "vconf-keys-devel" +DEPENDS += "libsf-common" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n sensor-0.5.27 + cp ${S}/packaging/sensor.manifest ${S}/packaging/sensor-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "sensor" +PACKAGES += "sensor-devel" + +sensor_files = "" +sensor_files += "sensor.manifest" +sensor_files += "/usr/lib/libsensor.so.*" + +sensor-devel_files = "" +sensor-devel_files += "sensor-devel.manifest" +sensor-devel_files += "/usr/include/sensor/*.h" +sensor-devel_files += "/usr/lib/libsensor.so" +sensor-devel_files += "/usr/lib/pkgconfig/sensor.pc" + +FILES_${PN} = "${sensor_files}" +FILES_${PN}-devel = "${sensor-devel_files}" + +PKG_sensor= "sensor" +PKG_sensor-devel= "sensor-devel" + +require libslp-sensor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor_git.bb b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor_git.bb new file mode 100644 index 0000000..f8f73c5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor_git.bb @@ -0,0 +1,8 @@ +require libslp-sensor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sensor;protocol=ssh;tag=0b466302afcb0ce0e23f0d8f1e1e9820e42326dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-extraconf.inc b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-native_git.bb b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-native_git.bb new file mode 100644 index 0000000..f11b59b --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman-native_git.bb @@ -0,0 +1,12 @@ +require libslp-sysman.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sysman;protocol=ssh;tag=377c4ba43340e0258b5bbb44ebfc9837930bc63f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc new file mode 100644 index 0000000..b991862 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "System manager interface library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "framework-system" +LICENSE = "APLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sysman-internal-devel +PROVIDES += "sysman-internal-devel" +RPROVIDES_sysman-internal-devel += "sysman-internal-devel" +RPROVIDES_sysman-internal-devel += "sysman-internal-dev" + +#PROVIDES by sysman-devel +PROVIDES += "sysman-devel" +RPROVIDES_sysman-devel += "sysman-devel" +RPROVIDES_sysman-devel += "sysman-dev" + +#PROVIDES by sysman +PROVIDES += "sysman" +RPROVIDES_sysman += "sysman" + +RDEPENDS = "" +#RDEPENDS of sysman-internal-devel (sysman-internal-devel) +RDEPENDS_sysman-internal-devel += "sysman" + +#RDEPENDS of sysman-devel (sysman-devel) +RDEPENDS_sysman-devel += "sysman" + + +DEPENDS = "" +#DEPENDS of sysman +DEPENDS += "pkgconfig(devman_plugin)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/sysman.manifest . + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/rc.d/ + mkdir -p ${D}/etc/rc.d/rc3.d/ + mkdir -p ${D}/etc/rc.d/rc5.d/ + ln -s /usr/bin/regpmon.sh ${D}/etc/rc.d/rc3.d/S99regpmon + ln -s /usr/bin/regpmon.sh ${D}/etc/rc.d/rc5.d/S99regpmon + + + +} + +PACKAGES = "" +PACKAGES += "sysman-internal-devel" +PACKAGES += "sysman-devel" +PACKAGES += "sysman" + +sysman-internal-devel_files = "" +sysman-internal-devel_files += "sysman.manifest" +sysman-internal-devel_files += "/usr/include/sysman/sysman-internal.h" + +sysman-devel_files = "" +sysman-devel_files += "sysman.manifest" +sysman-devel_files += "/usr/include/sysman/sysman.h" +sysman-devel_files += "/usr/include/sysman/sysman_managed.h" +sysman-devel_files += "/usr/include/sysman/SLP_sysman_PG.h" +sysman-devel_files += "/usr/lib/pkgconfig/*.pc" +sysman-devel_files += "/usr/lib/*.so" + +sysman_files = "" +sysman_files += "sysman.manifest" +sysman_files += "/usr/lib/*.so.*" +sysman_files += "/usr/bin/*" +sysman_files += "/etc/rc.d/init.d/*" +sysman_files += "/etc/rc.d/rc3.d/*" +sysman_files += "/etc/rc.d/rc5.d/*" + +FILES_${PN}-internal-devel = "${sysman-internal-devel_files}" +FILES_${PN}-devel = "${sysman-devel_files}" +FILES_${PN} = "${sysman_files}" + +PKG_sysman-internal-devel= "sysman-internal-devel" +PKG_sysman-devel= "sysman-devel" +PKG_sysman= "sysman" + +require libslp-sysman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman_git.bb b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman_git.bb new file mode 100644 index 0000000..a128a53 --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman_git.bb @@ -0,0 +1,8 @@ +require libslp-sysman.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sysman;protocol=ssh;tag=377c4ba43340e0258b5bbb44ebfc9837930bc63f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx-extraconf.inc b/meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx.inc b/meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx.inc new file mode 100644 index 0000000..0f9b08c --- /dev/null +++ b/meta-tizen/recipes-tizen/libslp-utilx/libslp-utilx.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "utilX" +HOMEPAGE = "http://nohomepage.org" +SECTION = "UI Framework/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libslp-utilx-devel" +PACKAGES += "libslp-utilx" + +libslp-utilx-devel_files = "" +libslp-utilx-devel_files += "libslp-utilx.manifest" +libslp-utilx-devel_files += "/usr/include/utilX.h" +libslp-utilx-devel_files += "/usr/lib/libutilX.so" +libslp-utilx-devel_files += "/usr/lib/pkgconfig/utilX.pc" + +libslp-utilx_files = "" +libslp-utilx_files += "libslp-utilx.manifest" +libslp-utilx_files += "/usr/lib/libutilX.so.*" +libslp-utilx_files += "/usr/share/license/libslp-utilx" + +FILES_${PN}-devel = "${libslp-utilx-devel_files}" +FILES_${PN} = "${libslp-utilx_files}" + +PKG_libslp-utilx-devel= "libslp-utilx-devel" +PKG_libslp-utilx= "libslp-utilx" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libslp-utilx-rdepends.inc +require libslp-utilx-depends.inc +require libslp-utilx-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsndfile/libsndfile-extraconf.inc b/meta-tizen/recipes-tizen/libsndfile/libsndfile-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsndfile/libsndfile-native_git.bb b/meta-tizen/recipes-tizen/libsndfile/libsndfile-native_git.bb new file mode 100644 index 0000000..8f334bb --- /dev/null +++ b/meta-tizen/recipes-tizen/libsndfile/libsndfile-native_git.bb @@ -0,0 +1,12 @@ +require libsndfile.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsndfile;protocol=ssh;tag=3cd0e33c3144bea326a8cd6f17b44ed5ab037a17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsndfile/libsndfile.inc b/meta-tizen/recipes-tizen/libsndfile/libsndfile.inc new file mode 100644 index 0000000..8e7d962 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsndfile/libsndfile.inc @@ -0,0 +1,144 @@ +DESCRIPTION = "C library for reading and writing sound files" +HOMEPAGE = "http://www.mega-nerd.com/libsndfile/" +SECTION = "Multimedia/Audio" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsndfile +PROVIDES += "libsndfile" +RPROVIDES_libsndfile += "libsndfile" + +#PROVIDES by libsndfile-devel +PROVIDES += "libsndfile-devel" +RPROVIDES_libsndfile-devel += "libsndfile-devel" +RPROVIDES_libsndfile-devel += "libsndfile-dev" + +RDEPENDS = "" +#RDEPENDS of libsndfile-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libsndfile" +RDEPENDS_${PN}-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of libsndfile +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "sqlite-devel" +DEPENDS += "libvorbis-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "speex-devel" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libsndfile.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter" + export CFLAGS + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-silent-rules \ + --disable-static \ + --enable-sqlite \ + --with-pic \ + --enable-experimental + make -j16 + + exit 0 + pushd src + make check + popd + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # remove programs; built in another spec file + rm -rf ${D}/usr/bin + rm -rf ${D}/usr/share/man/man1 + # remove binaries from examples directory + make -C examples distclean + rm -rf ${D}/usr/share/doc/libsndfile1-dev + + +} + +PACKAGES = "" +PACKAGES += "libsndfile" +PACKAGES += "libsndfile-devel" + +libsndfile_files = "" +libsndfile_files += "libsndfile.manifest" +libsndfile_files += "/usr/lib/libsndfile.so.1*" + +libsndfile-devel_files = "" +libsndfile-devel_files += "libsndfile.manifest" +libsndfile-devel_files += "/usr/lib/libsndfile.so" +libsndfile-devel_files += "/usr/include/sndfile.h" +libsndfile-devel_files += "/usr/include/sndfile.hh" +libsndfile-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libsndfile_files}" +FILES_${PN}-devel = "${libsndfile-devel_files}" + +PKG_libsndfile= "libsndfile" +PKG_libsndfile-devel= "libsndfile-devel" + +require libsndfile-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsndfile/libsndfile_git.bb b/meta-tizen/recipes-tizen/libsndfile/libsndfile_git.bb new file mode 100644 index 0000000..8bed42f --- /dev/null +++ b/meta-tizen/recipes-tizen/libsndfile/libsndfile_git.bb @@ -0,0 +1,8 @@ +require libsndfile.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsndfile;protocol=ssh;tag=3cd0e33c3144bea326a8cd6f17b44ed5ab037a17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsolv/libsolv-extraconf.inc b/meta-tizen/recipes-tizen/libsolv/libsolv-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsolv/libsolv-native_git.bb b/meta-tizen/recipes-tizen/libsolv/libsolv-native_git.bb new file mode 100644 index 0000000..9070f4b --- /dev/null +++ b/meta-tizen/recipes-tizen/libsolv/libsolv-native_git.bb @@ -0,0 +1,12 @@ +require libsolv.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsolv;protocol=ssh;tag=9092da2d875f5c060ea6834dac84392a43a7eba4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsolv/libsolv.inc b/meta-tizen/recipes-tizen/libsolv/libsolv.inc new file mode 100644 index 0000000..87a326d --- /dev/null +++ b/meta-tizen/recipes-tizen/libsolv/libsolv.inc @@ -0,0 +1,190 @@ +DESCRIPTION = "A new approach to package dependency solving" +HOMEPAGE = "https://github.com/openSUSE/libsolv" +SECTION = "System/Package Management" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsolv-demo +PROVIDES += "libsolv-demo" +RPROVIDES_libsolv-demo += "libsolv-demo" + +#PROVIDES by libsolv +PROVIDES += "libsolv" +RPROVIDES_libsolv += "libsolv" + +#PROVIDES by perl-solv +PROVIDES += "perl-solv" +RPROVIDES_perl-solv += "perl-solv" + +#PROVIDES by libsolv-tools +PROVIDES += "libsolv-tools" +RPROVIDES_libsolv-tools += "libsolv-tools" +# the PROVIDES rules is ignore "satsolver-tools = 0.18" +PROVIDES += "satsolver-tools" +RPROVIDES_libsolv-tools += "satsolver-tools" + +#PROVIDES by python-solv +PROVIDES += "python-solv" +RPROVIDES_python-solv += "python-solv" + +#PROVIDES by libsolv-devel +PROVIDES += "libsolv-devel" +RPROVIDES_libsolv-devel += "libsolv-devel" +RPROVIDES_libsolv-devel += "libsolv-dev" + +RDEPENDS = "" +#RDEPENDS of libsolv-demo (${PN}-demo) +RDEPENDS_${PN}-demo += "curl" + +#RDEPENDS of perl-solv (perl-solv) +RDEPENDS_perl-solv += "perl" + +#RDEPENDS of libsolv-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "gzip" +RDEPENDS_${PN}-tools += "coreutils" +RDEPENDS_${PN}-tools += "bzip2" +RDEPENDS_${PN}-tools += "findutils" + +#RDEPENDS of python-solv (python-solv) +RDEPENDS_python-solv += "python" + +#RDEPENDS of libsolv-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsolv-tools" +RDEPENDS_${PN}-devel += "rpm-dev" +RDEPENDS_${PN}-devel += "libsolv" + + +DEPENDS = "" +#DEPENDS of libsolv +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "python-devel" +DEPENDS += "cmake" +DEPENDS += "swig" +DEPENDS += "expat" +inherit perlnative +DEPENDS += "rpm-devel" +DEPENDS += "fdupes-native" +DEPENDS += "db4" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n libsolv-0.3.0 + cp ${S}/packaging/libsolv.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS" + export CXXFLAGS="$CFLAGS" + + CMAKE_FLAGS= + CMAKE_FLAGS="-DSUSE=1" + + cmake $CMAKE_FLAGS \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB=lib \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DENABLE_STATIC=1 \ + -DENABLE_PERL=1 \ + -DENABLE_PYTHON=1 \ + -DUSE_VENDORDIRS=1 \ + -DCMAKE_SKIP_RPATH=1 + make -j 16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install + pushd $RPM_BUILD_ROOT//usr/lib64/python2.7/site-packages + python /usr/lib/python2.7/py_compile.py *.py + python -O /usr/lib/python2.7/py_compile.py *.py + popd + # we want to leave the .a file untouched + export NO_BRP_STRIP_DEBUG=true + + +} + +PACKAGES = "" +PACKAGES += "libsolv-demo" +PACKAGES += "libsolv" +PACKAGES += "perl-solv" +PACKAGES += "libsolv-tools" +PACKAGES += "python-solv" +PACKAGES += "libsolv-devel" + +libsolv-demo_files = "" +libsolv-demo_files += "libsolv.manifest" +libsolv-demo_files += "/usr/bin/solv" + +libsolv_files = "" +libsolv_files += "libsolv.manifest" +libsolv_files += "/usr/lib/libsolv.so.*" +libsolv_files += "/usr/lib/libsolvext.so.*" + +perl-solv_files = "" +perl-solv_files += "libsolv.manifest" +perl-solv_files += "/usr/lib/perl/5.14.3/*" + +libsolv-tools_files = "" +libsolv-tools_files += "libsolv.manifest" +libsolv-tools_files += "/usr/bin/solv" +libsolv-tools_files += "/usr/bin/*" + +python-solv_files = "" +python-solv_files += "libsolv.manifest" +python-solv_files += "/usr/lib64/python2.7/site-packages/*" + +libsolv-devel_files = "" +libsolv-devel_files += "libsolv.manifest" +libsolv-devel_files += "/usr/lib/libsolv.a" +libsolv-devel_files += "/usr/lib/libsolvext.a" +libsolv-devel_files += "/usr/lib/libsolv.so" +libsolv-devel_files += "/usr/lib/libsolvext.so" +libsolv-devel_files += "/usr/include/solv" +libsolv-devel_files += "/usr/bin/helix2solv" +libsolv-devel_files += "/usr/share/cmake/Modules/*" + +FILES_${PN}-demo = "${libsolv-demo_files}" +FILES_${PN} = "${libsolv_files}" +FILES_perl-solv = "${perl-solv_files}" +FILES_${PN}-tools = "${libsolv-tools_files}" +FILES_python-solv = "${python-solv_files}" +FILES_${PN}-devel = "${libsolv-devel_files}" + +PKG_libsolv-demo= "libsolv-demo" +PKG_libsolv= "libsolv" +PKG_perl-solv= "perl-solv" +PKG_libsolv-tools= "libsolv-tools" +PKG_python-solv= "python-solv" +PKG_libsolv-devel= "libsolv-devel" + +require libsolv-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsolv/libsolv_git.bb b/meta-tizen/recipes-tizen/libsolv/libsolv_git.bb new file mode 100644 index 0000000..8a85e40 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsolv/libsolv_git.bb @@ -0,0 +1,8 @@ +require libsolv.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsolv;protocol=ssh;tag=9092da2d875f5c060ea6834dac84392a43a7eba4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsoup/libsoup-extraconf.inc b/meta-tizen/recipes-tizen/libsoup/libsoup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsoup/libsoup-native_git.bb b/meta-tizen/recipes-tizen/libsoup/libsoup-native_git.bb new file mode 100644 index 0000000..87ea439 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsoup/libsoup-native_git.bb @@ -0,0 +1,12 @@ +require libsoup.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsoup;protocol=ssh;tag=5898b79be8b051411842937eab3260040e33c79b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsoup/libsoup.inc b/meta-tizen/recipes-tizen/libsoup/libsoup.inc new file mode 100644 index 0000000..ef08da5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsoup/libsoup.inc @@ -0,0 +1,152 @@ +DESCRIPTION = "HTTP client/server library for GNOME" +HOMEPAGE = "http://www.gnome.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by typelib-Soup +PROVIDES += "typelib-Soup" +RPROVIDES_typelib-Soup += "typelib-Soup" + +#PROVIDES by libsoup-locale +PROVIDES += "libsoup-locale " +RPROVIDES_libsoup-locale += "libsoup-locale " +# the PROVIDES rules is ignore "libsoup-lang-all = 2.42.2" +PROVIDES += "libsoup-lang-all" +RPROVIDES_libsoup-locale += "libsoup-lang-all" + +#PROVIDES by libsoup +PROVIDES += "libsoup" +RPROVIDES_libsoup += "libsoup" + +#PROVIDES by libsoup-devel +PROVIDES += "libsoup-devel" +RPROVIDES_libsoup-devel += "libsoup-devel" +RPROVIDES_libsoup-devel += "libsoup-dev" + +RDEPENDS = "" +#RDEPENDS of libsoup-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "libsoup" + +#RDEPENDS of libsoup-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsoup" + +#RDEPENDS of libsoup (${PN}) +RDEPENDS_${PN} += "glib-networking" + + +DEPENDS = "" +#DEPENDS of libsoup +DEPENDS += "glib-networking" +DEPENDS += "intltool-native" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "gnome-common" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "sqlite3-devel" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libsoup.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --without-gnome \ + --enable-sqlite=yes \ + --disable-tls-check \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libsoup + + +} + +PACKAGES = "" +PACKAGES += "libsoup-locale" +PACKAGES += "libsoup" +PACKAGES += "libsoup-devel" + +libsoup-locale_files = "" + +libsoup_files = "" +libsoup_files += "libsoup.manifest" +libsoup_files += "/usr/lib/*.so.*" + +libsoup-devel_files = "" +libsoup-devel_files += "libsoup.manifest" +libsoup-devel_files += "/usr/include/libsoup-2.4" +libsoup-devel_files += "/usr/lib/*.so" +libsoup-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN}-locale = "${libsoup-locale_files}" +FILES_${PN} = "${libsoup_files}" +FILES_${PN}-devel = "${libsoup-devel_files}" + +PKG_libsoup-locale= "libsoup-locale" +PKG_libsoup= "libsoup" +PKG_libsoup-devel= "libsoup-devel" + +require libsoup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsoup/libsoup_git.bb b/meta-tizen/recipes-tizen/libsoup/libsoup_git.bb new file mode 100644 index 0000000..0207f2e --- /dev/null +++ b/meta-tizen/recipes-tizen/libsoup/libsoup_git.bb @@ -0,0 +1,8 @@ +require libsoup.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsoup;protocol=ssh;tag=5898b79be8b051411842937eab3260040e33c79b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsqlfs/libsqlfs-extraconf.inc b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsqlfs/libsqlfs-native_git.bb b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs-native_git.bb new file mode 100644 index 0000000..4aa449c --- /dev/null +++ b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs-native_git.bb @@ -0,0 +1,12 @@ +require libsqlfs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/libsqlfs;protocol=ssh;tag=c96cead807b7d479db0b3cc3745db9df92b6a564;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsqlfs/libsqlfs.inc b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs.inc new file mode 100644 index 0000000..c342cef --- /dev/null +++ b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "FUSE module for filesystem on top of an SQLite db" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "LGPLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsqlfs +PROVIDES += "libsqlfs" +RPROVIDES_libsqlfs += "libsqlfs" + +RDEPENDS = "" +#RDEPENDS of libsqlfs (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/usr/bin/find" + + +DEPENDS = "" +#DEPENDS of libsqlfs +DEPENDS += "libcap" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "attr" +DEPENDS += "pkgconfig(fuse)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libsqlfs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + #make + + gcc $CFLAGS -g \ + -DFUSE \ + -D_GNU_SOURCE \ + -D_FILE_OFFSET_BITS=64 \ + -D_REENTRANT \ + -DFUSE_USE_VERSION=25 \ + -I/usr/include -I. \ + sqlfs.c fuse_main.c \ + -o libsqlfs_mount \ + $LDFLAGS \ + -L/usr/lib \ + -lpthread \ + -lfuse -lrt\ + -lsqlite3 -ldl -lcap + + gcc $CFLAGS -g \ + sqlfs_txn_cmd.c \ + -o sqlfs_txn_cmd \ + $LDFLAGS + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + install -m 0755 libsqlfs_mount ${D}/usr/bin/ + install -m 0755 sqlfs_txn_cmd ${D}/usr/bin/ + #mkdir -p ${D}/sbin + #install -m 0755 ${S}/packaging/mount.fuse.libsqlfs ${D}/sbin/ + + #mkdir -p ${D}/usr/lib/systemd/system/basic.target.wants + #install -m 0644 ${S}/packaging/opt-var-kdb-db.mount ${D}/usr/lib/systemd/system/ + #install -m 0644 ${S}/packaging/opt-var-kdb-db-libsqlfs.service ${D}/usr/lib/systemd/system/ + #install -m 0644 ${S}/packaging/opt-var-kdb-db-smack-labels.service ${D}/usr/lib/systemd/system/ + #ln -sf ../opt-var-kdb-db-libsqlfs.service ${D}/usr/lib/systemd/system/basic.target.wants/ + #ln -sf ../opt-var-kdb-db-smack-labels.service ${D}/usr/lib/systemd/system/basic.target.wants/ + + mkdir -p ${D}/etc/rc.d/init.d + mkdir -p ${D}/etc/rc.d/rc3.d + mkdir -p ${D}/etc/rc.d/rc4.d + install -m 0755 sqlfs-mount ${D}/etc/rc.d/init.d + ln -s ../init.d/sqlfs-mount ${D}/etc/rc.d/rc3.d/S03sqlfs-mount + ln -s ../init.d/sqlfs-mount ${D}/etc/rc.d/rc4.d/S03sqlfs-mount + + #mkdir -p ${D}/etc/preconf.d + #install -m 0755 ${S}/packaging/libsqlfs.preinit ${D}/etc/preconf.d + + mkdir -p ${D}/usr/share/license + install COPYING ${D}/usr/share/license/libsqlfs + + +} + +PACKAGES = "" +PACKAGES += "libsqlfs" + +libsqlfs_files = "" +libsqlfs_files += "libsqlfs.manifest" +libsqlfs_files += "/etc/rc.d/init.d/sqlfs-mount" +libsqlfs_files += "/etc/rc.d/rc3.d/S03sqlfs-mount" +libsqlfs_files += "/etc/rc.d/rc4.d/S03sqlfs-mount" +libsqlfs_files += "/usr/bin/sqlfs_txn_cmd" +libsqlfs_files += "/usr/bin/libsqlfs_mount" +libsqlfs_files += "/usr/share/license/libsqlfs" + +FILES_${PN} = "${libsqlfs_files}" + +PKG_libsqlfs= "libsqlfs" + +require libsqlfs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsqlfs/libsqlfs_git.bb b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs_git.bb new file mode 100644 index 0000000..ea649e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsqlfs/libsqlfs_git.bb @@ -0,0 +1,8 @@ +require libsqlfs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/libsqlfs;protocol=ssh;tag=c96cead807b7d479db0b3cc3745db9df92b6a564;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsvi/libsvi-extraconf.inc b/meta-tizen/recipes-tizen/libsvi/libsvi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libsvi/libsvi-native_git.bb b/meta-tizen/recipes-tizen/libsvi/libsvi-native_git.bb new file mode 100644 index 0000000..b537419 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsvi/libsvi-native_git.bb @@ -0,0 +1,12 @@ +require libsvi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libsvi;protocol=ssh;tag=2e72d053f1e69b9fdbc65d12efbac3b0d8fb2289;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libsvi/libsvi.inc b/meta-tizen/recipes-tizen/libsvi/libsvi.inc new file mode 100644 index 0000000..f133fe5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libsvi/libsvi.inc @@ -0,0 +1,176 @@ +DESCRIPTION = "Feedback library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libfeedback-devel +PROVIDES += "libfeedback-devel" +RPROVIDES_libfeedback-devel += "libfeedback-devel" +RPROVIDES_libfeedback-devel += "libfeedback-dev" + +#PROVIDES by libsvi +PROVIDES += "libsvi" +RPROVIDES_libsvi += "libsvi" + +#PROVIDES by libsvi-devel +PROVIDES += "libsvi-devel" +RPROVIDES_libsvi-devel += "libsvi-devel" +RPROVIDES_libsvi-devel += "libsvi-dev" + +#PROVIDES by svi-data +PROVIDES += "svi-data" +RPROVIDES_svi-data += "svi-data" + +#PROVIDES by libfeedback +PROVIDES += "libfeedback" +RPROVIDES_libfeedback += "libfeedback" + +RDEPENDS = "" +#RDEPENDS of libfeedback-devel (libfeedback-devel) +RDEPENDS_libfeedback-devel += "libfeedback" + +#RDEPENDS of libsvi (${PN}) +RDEPENDS_${PN} += "libfeedback" + +#RDEPENDS of libfeedback (libfeedback) +RDEPENDS_libfeedback += "/sbin/ldconfig" + +#RDEPENDS of libsvi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsvi" + + +DEPENDS = "" +#DEPENDS of libfeedback +DEPENDS += "libhaptic" +DEPENDS += "libmm-sound" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/libsvi.manifest . + cp ${S}/packaging/libfeedback.manifest . + cp ${S}/packaging/svi-data-sdk.manifest . + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/opt/share/svi/sound/touch + mkdir -p ${D}/opt/share/svi/sound/operation + mkdir -p ${D}/opt/share/svi/haptic/default + mkdir -p ${D}/opt/share/svi/haptic/touch + + +} + +PACKAGES = "" +PACKAGES += "libfeedback-devel" +PACKAGES += "svi-data" +PACKAGES += "libfeedback" +PACKAGES += "libsvi-devel" +PACKAGES += "libsvi" + +libfeedback-devel_files = "" +libfeedback-devel_files += "libfeedback.manifest" +libfeedback-devel_files += "/usr/include/feedback/*.h" +libfeedback-devel_files += "/usr/lib/libfeedback.so" +libfeedback-devel_files += "/usr/lib/pkgconfig/feedback.pc" + +svi-data_files = "" +svi-data_files += "libfeedback.manifest" +svi-data_files += "/usr/share/svi/*" +svi-data_files += "/opt/share/svi/sound/touch" +svi-data_files += "/opt/share/svi/sound/operation" +svi-data_files += "/opt/share/svi/haptic/default" +svi-data_files += "/opt/share/svi/haptic/touch" + +libfeedback_files = "" +libfeedback_files += "libfeedback.manifest" +libfeedback_files += "/usr/lib/libfeedback.so.*" + +libsvi-devel_files = "" +libsvi-devel_files += "libfeedback.manifest" +libsvi-devel_files += "/usr/include/svi/*.h" +libsvi-devel_files += "/usr/lib/libsvi.so" +libsvi-devel_files += "/usr/lib/pkgconfig/svi.pc" + +libsvi_files = "" +libsvi_files += "libfeedback.manifest" +libsvi_files += "/usr/lib/libsvi.so.*" + +FILES_${PN}-devel = "${libfeedback-devel_files}" +FILES_svi-data = "${svi-data_files}" +FILES_${PN} = "${libfeedback_files}" +FILES_libsvi-devel = "${libsvi-devel_files}" +FILES_libsvi = "${libsvi_files}" + +PKG_libfeedback-devel= "libfeedback-devel" +PKG_svi-data= "svi-data" +PKG_libfeedback= "libfeedback" +PKG_libsvi-devel= "libsvi-devel" +PKG_libsvi= "libsvi" + +require libsvi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libsvi/libsvi_git.bb b/meta-tizen/recipes-tizen/libsvi/libsvi_git.bb new file mode 100644 index 0000000..126f8cc --- /dev/null +++ b/meta-tizen/recipes-tizen/libsvi/libsvi_git.bb @@ -0,0 +1,8 @@ +require libsvi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libsvi;protocol=ssh;tag=2e72d053f1e69b9fdbc65d12efbac3b0d8fb2289;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi-extraconf.inc b/meta-tizen/recipes-tizen/libtapi/libtapi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi-native_git.bb b/meta-tizen/recipes-tizen/libtapi/libtapi-native_git.bb new file mode 100644 index 0000000..7c3b4d6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtapi/libtapi-native_git.bb @@ -0,0 +1,12 @@ +require libtapi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi;protocol=ssh;tag=fd171c7de7ea0766ad7c2091a3621c0b5a90ede9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi.inc b/meta-tizen/recipes-tizen/libtapi/libtapi.inc new file mode 100644 index 0000000..5eeed04 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtapi/libtapi.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Telephony dbus client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtapi-devel +PROVIDES += "libtapi-devel" +RPROVIDES_libtapi-devel += "libtapi-devel" +RPROVIDES_libtapi-devel += "libtapi-dev" + +#PROVIDES by libtapi +PROVIDES += "libtapi" +RPROVIDES_libtapi += "libtapi" + +RDEPENDS = "" +#RDEPENDS of libtapi-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libtapi" + + +DEPENDS = "" +#DEPENDS of libtapi +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtapi.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/include/telephony/tapi/.gitignore + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "libtapi-devel" +PACKAGES += "libtapi" + +libtapi-devel_files = "" +libtapi-devel_files += "libtapi.manifest" +libtapi-devel_files += "/usr/include/telephony-client/*.h" +libtapi-devel_files += "/usr/lib/pkgconfig/*.pc" +libtapi-devel_files += "/usr/lib/*.so" + +libtapi_files = "" +libtapi_files += "libtapi.manifest" +libtapi_files += "/usr/lib/*.so.*" +libtapi_files += "/usr/share/license/libtapi" + +FILES_${PN}-devel = "${libtapi-devel_files}" +FILES_${PN} = "${libtapi_files}" + +PKG_libtapi-devel= "libtapi-devel" +PKG_libtapi= "libtapi" + +require libtapi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi_git.bb b/meta-tizen/recipes-tizen/libtapi/libtapi_git.bb new file mode 100644 index 0000000..8b82799 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtapi/libtapi_git.bb @@ -0,0 +1,8 @@ +require libtapi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi;protocol=ssh;tag=fd171c7de7ea0766ad7c2091a3621c0b5a90ede9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtasn1/libtasn1-extraconf.inc b/meta-tizen/recipes-tizen/libtasn1/libtasn1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtasn1/libtasn1-native_git.bb b/meta-tizen/recipes-tizen/libtasn1/libtasn1-native_git.bb new file mode 100644 index 0000000..7c5beed --- /dev/null +++ b/meta-tizen/recipes-tizen/libtasn1/libtasn1-native_git.bb @@ -0,0 +1,12 @@ +require libtasn1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtasn1;protocol=ssh;tag=49a3ae6bbf329c1ba35cd65522fb8236bdf3d3f4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtasn1/libtasn1.inc b/meta-tizen/recipes-tizen/libtasn1/libtasn1.inc new file mode 100644 index 0000000..2ec9807 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtasn1/libtasn1.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "ASN" +HOMEPAGE = "http://ftp.gnu.org/gnu/libtasn1/" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-2.1+ and GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtasn1-tools +PROVIDES += "libtasn1-tools" +RPROVIDES_libtasn1-tools += "libtasn1-tools" + +#PROVIDES by libtasn1-docs +PROVIDES += "libtasn1-docs " +RPROVIDES_libtasn1-docs += "libtasn1-docs " + +#PROVIDES by libtasn1 +PROVIDES += "libtasn1" +RPROVIDES_libtasn1 += "libtasn1" + +#PROVIDES by libtasn1-devel +PROVIDES += "libtasn1-devel" +RPROVIDES_libtasn1-devel += "libtasn1-devel" +RPROVIDES_libtasn1-devel += "libtasn1-dev" + +RDEPENDS = "" +#RDEPENDS of libtasn1-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libtasn1" + +#RDEPENDS of libtasn1 (${PN}) +RDEPENDS_${PN} += "libtasn1-tools" + +#RDEPENDS of libtasn1-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libtasn1" + + +DEPENDS = "" +#DEPENDS of libtasn1 +DEPENDS += "info" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtasn1.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libtasn1-tools" +PACKAGES += "libtasn1-docs" +PACKAGES += "libtasn1" +PACKAGES += "libtasn1-devel" + +libtasn1-tools_files = "" +libtasn1-tools_files += "libtasn1.manifest" +libtasn1-tools_files += "/usr/bin/*" + +libtasn1-docs_files = "" +libtasn1-docs_files += "/usr/share/info" +libtasn1-docs_files += "/usr/share/man" + +libtasn1_files = "" +libtasn1_files += "libtasn1.manifest" +libtasn1_files += "/usr/lib/*.so.*" + +libtasn1-devel_files = "" +libtasn1-devel_files += "libtasn1.manifest" +libtasn1-devel_files += "/usr/include/*.h" +libtasn1-devel_files += "/usr/lib/*.so" +libtasn1-devel_files += "/usr/lib/pkgconfig/libtasn1.pc" + +FILES_${PN}-tools = "${libtasn1-tools_files}" +FILES_${PN}-docs = "${libtasn1-docs_files}" +FILES_${PN} = "${libtasn1_files}" +FILES_${PN}-devel = "${libtasn1-devel_files}" + +PKG_libtasn1-tools= "libtasn1-tools" +PKG_libtasn1-docs= "libtasn1-docs" +PKG_libtasn1= "libtasn1" +PKG_libtasn1-devel= "libtasn1-devel" + +require libtasn1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtasn1/libtasn1_git.bb b/meta-tizen/recipes-tizen/libtasn1/libtasn1_git.bb new file mode 100644 index 0000000..2754eba --- /dev/null +++ b/meta-tizen/recipes-tizen/libtasn1/libtasn1_git.bb @@ -0,0 +1,8 @@ +require libtasn1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtasn1;protocol=ssh;tag=49a3ae6bbf329c1ba35cd65522fb8236bdf3d3f4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412-extraconf.inc b/meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412.inc b/meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412.inc new file mode 100644 index 0000000..ab1ec2d --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm-exynos4412/libtbm-exynos4412.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "Tizen Buffer Manager - exynos4412 backend" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libtbm-exynos4412" + +libtbm-exynos4412_files = "" +libtbm-exynos4412_files += "/usr/lib/bufmgr/libtbm_*.so*" + +FILES_${PN} = "${libtbm-exynos4412_files}" + +PKG_libtbm-exynos4412= "libtbm-exynos4412" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libtbm-exynos4412-rdepends.inc +require libtbm-exynos4412-depends.inc +require libtbm-exynos4412-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc b/meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm-native_git.bb b/meta-tizen/recipes-tizen/libtbm/libtbm-native_git.bb new file mode 100644 index 0000000..4ccebce --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm/libtbm-native_git.bb @@ -0,0 +1,12 @@ +require libtbm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libtbm;protocol=ssh;tag=ecc409c142cd77b1d92cb35f444099e2c782b6ad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm.inc b/meta-tizen/recipes-tizen/libtbm/libtbm.inc new file mode 100644 index 0000000..ea119ce --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm/libtbm.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Tizen Buffer Manager Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtbm +PROVIDES += "libtbm" +RPROVIDES_libtbm += "libtbm" + +#PROVIDES by libtbm-devel +PROVIDES += "libtbm-devel" +RPROVIDES_libtbm-devel += "libtbm-devel" +RPROVIDES_libtbm-devel += "libtbm-dev" + +RDEPENDS = "" +#RDEPENDS of libtbm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(libdrm)" +RDEPENDS_${PN}-devel += "libtbm" + + +DEPENDS = "" +#DEPENDS of libtbm +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "libpthread-stubs" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtbm.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr \ + CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp -af COPYING ${D}/usr/share/license/libtbm + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libtbm" +PACKAGES += "libtbm-devel" + +libtbm_files = "" +libtbm_files += "libtbm.manifest" +libtbm_files += "/usr/share/license/libtbm" +libtbm_files += "/usr/lib/libtbm.so.*" +libtbm_files += "/usr/lib/libdrm_slp.so.*" + +libtbm-devel_files = "" +libtbm-devel_files += "libtbm.manifest" +libtbm-devel_files += "/usr/include" +libtbm-devel_files += "/usr/include/tbm_bufmgr.h" +libtbm-devel_files += "/usr/include/tbm_bufmgr_backend.h" +libtbm-devel_files += "/usr/lib/libtbm.so" +libtbm-devel_files += "/usr/lib/libdrm_slp.so" +libtbm-devel_files += "/usr/lib/pkgconfig/libtbm.pc" + +FILES_${PN} = "${libtbm_files}" +FILES_${PN}-devel = "${libtbm-devel_files}" + +PKG_libtbm= "libtbm" +PKG_libtbm-devel= "libtbm-devel" + +require libtbm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb b/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb new file mode 100644 index 0000000..947d6c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb @@ -0,0 +1,8 @@ +require libtbm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libtbm;protocol=ssh;tag=ecc409c142cd77b1d92cb35f444099e2c782b6ad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtcore/libtcore-extraconf.inc b/meta-tizen/recipes-tizen/libtcore/libtcore-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtcore/libtcore-native_git.bb b/meta-tizen/recipes-tizen/libtcore/libtcore-native_git.bb new file mode 100644 index 0000000..06bced8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtcore/libtcore-native_git.bb @@ -0,0 +1,12 @@ +require libtcore.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtcore;protocol=ssh;tag=dfe76ded0c37f2cbe91b173c94b7f573ebec3df9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtcore/libtcore.inc b/meta-tizen/recipes-tizen/libtcore/libtcore.inc new file mode 100644 index 0000000..5ba292e --- /dev/null +++ b/meta-tizen/recipes-tizen/libtcore/libtcore.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "Telephony-core library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtcore-devel +PROVIDES += "libtcore-devel" +RPROVIDES_libtcore-devel += "libtcore-devel" +RPROVIDES_libtcore-devel += "libtcore-dev" + +#PROVIDES by libtcore +PROVIDES += "libtcore" +RPROVIDES_libtcore += "libtcore" + +RDEPENDS = "" +#RDEPENDS of libtcore-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libtcore" + +#RDEPENDS of libtcore (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libtcore +DEPENDS += "pkgconfig(gudev-1.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtcore.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DVERSION=0.1.85 + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/libtcore + + +} + +PACKAGES = "" +PACKAGES += "libtcore-devel" +PACKAGES += "libtcore" + +libtcore-devel_files = "" +libtcore-devel_files += "libtcore.manifest" +libtcore-devel_files += "/usr/include/*" +libtcore-devel_files += "/usr/lib/pkgconfig/tcore.pc" + +libtcore_files = "" +libtcore_files += "libtcore.manifest" +libtcore_files += "/usr/lib/libtcore*" +libtcore_files += "/usr/share/license/libtcore" + +FILES_${PN}-devel = "${libtcore-devel_files}" +FILES_${PN} = "${libtcore_files}" + +PKG_libtcore-devel= "libtcore-devel" +PKG_libtcore= "libtcore" + +require libtcore-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtcore/libtcore_git.bb b/meta-tizen/recipes-tizen/libtcore/libtcore_git.bb new file mode 100644 index 0000000..d135bc7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtcore/libtcore_git.bb @@ -0,0 +1,8 @@ +require libtcore.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtcore;protocol=ssh;tag=dfe76ded0c37f2cbe91b173c94b7f573ebec3df9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libthai/libthai-extraconf.inc b/meta-tizen/recipes-tizen/libthai/libthai-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libthai/libthai-native_git.bb b/meta-tizen/recipes-tizen/libthai/libthai-native_git.bb new file mode 100644 index 0000000..9619142 --- /dev/null +++ b/meta-tizen/recipes-tizen/libthai/libthai-native_git.bb @@ -0,0 +1,12 @@ +require libthai.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libthai;protocol=ssh;tag=56b986b5c0fa3c3f2c0bb07139953d27a283ef8c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libthai/libthai.inc b/meta-tizen/recipes-tizen/libthai/libthai.inc new file mode 100644 index 0000000..0422e37 --- /dev/null +++ b/meta-tizen/recipes-tizen/libthai/libthai.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Thai Language Support Routines" +HOMEPAGE = "http://linux.thai.net/plone/TLWG/libthai/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libthai +PROVIDES += "libthai" +RPROVIDES_libthai += "libthai" + +#PROVIDES by libthai-data +PROVIDES += "libthai-data" +RPROVIDES_libthai-data += "libthai-data" + +#PROVIDES by libthai-devel +PROVIDES += "libthai-devel" +RPROVIDES_libthai-devel += "libthai-devel" +RPROVIDES_libthai-devel += "libthai-dev" + +RDEPENDS = "" +#RDEPENDS of libthai (${PN}) +RDEPENDS_${PN} += "libthai-data" + +#RDEPENDS of libthai-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libthai" + + +DEPENDS = "" +#DEPENDS of libthai +DEPENDS += "libdatrie" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libthai.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libthai" +PACKAGES += "libthai-data" +PACKAGES += "libthai-devel" + +libthai_files = "" +libthai_files += "libthai.manifest" +libthai_files += "/usr/lib/libthai.so.*" + +libthai-data_files = "" +libthai-data_files += "libthai.manifest" +libthai-data_files += "/usr/share/libthai/" + +libthai-devel_files = "" +libthai-devel_files += "libthai.manifest" +libthai-devel_files += "/usr/include/thai/" +libthai-devel_files += "/usr/lib/libthai.so" +libthai-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libthai_files}" +FILES_${PN}-data = "${libthai-data_files}" +FILES_${PN}-devel = "${libthai-devel_files}" + +PKG_libthai= "libthai" +PKG_libthai-data= "libthai-data" +PKG_libthai-devel= "libthai-devel" + +require libthai-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libthai/libthai_git.bb b/meta-tizen/recipes-tizen/libthai/libthai_git.bb new file mode 100644 index 0000000..8af8118 --- /dev/null +++ b/meta-tizen/recipes-tizen/libthai/libthai_git.bb @@ -0,0 +1,8 @@ +require libthai.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libthai;protocol=ssh;tag=56b986b5c0fa3c3f2c0bb07139953d27a283ef8c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtheora/libtheora-extraconf.inc b/meta-tizen/recipes-tizen/libtheora/libtheora-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtheora/libtheora-native_git.bb b/meta-tizen/recipes-tizen/libtheora/libtheora-native_git.bb new file mode 100644 index 0000000..f22d7c6 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtheora/libtheora-native_git.bb @@ -0,0 +1,12 @@ +require libtheora.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtheora;protocol=ssh;tag=f80495726b502d2bd4423443aa645f86c7083690;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtheora/libtheora.inc b/meta-tizen/recipes-tizen/libtheora/libtheora.inc new file mode 100644 index 0000000..9ac5020 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtheora/libtheora.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Free Video Codec" +HOMEPAGE = "http://www.theora.org/" +SECTION = "Multimedia/Video" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtheora-devel +PROVIDES += "libtheora-devel" +RPROVIDES_libtheora-devel += "libtheora-devel" +RPROVIDES_libtheora-devel += "libtheora-dev" + +#PROVIDES by libtheora +PROVIDES += "libtheora" +RPROVIDES_libtheora += "libtheora" + +RDEPENDS = "" +#RDEPENDS of libtheora-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libtheora" +RDEPENDS_${PN}-devel += "libogg-dev" + + +DEPENDS = "" +#DEPENDS of libtheora +DEPENDS += "gcc-cross" +inherit pythonnative +DEPENDS += "libvorbis-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "libtool-cross" +DEPENDS += "libogg" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libtheora-1.1.1 + cp ${S}/packaging/libtheora.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ACLOCAL="aclocal -I m4" autoreconf -f -i + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-examples \ + --disable-static \ + --with-pic + make -j16 docdir=/usr/share/doc/packages/libtheora + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}/usr/bin + + rm -rf ${D}//usr/share/doc/libtheora-1.1.1/* + + +} + +PACKAGES = "" +PACKAGES += "libtheora-devel" +PACKAGES += "libtheora" + +libtheora-devel_files = "" +libtheora-devel_files += "libtheora.manifest" +libtheora-devel_files += "/usr/include/theora" +libtheora-devel_files += "/usr/lib/*.so" +libtheora-devel_files += "/usr/lib/pkgconfig/theoradec.pc" +libtheora-devel_files += "/usr/lib/pkgconfig/theoraenc.pc" +libtheora-devel_files += "/usr/lib/pkgconfig/theora.pc" + +libtheora_files = "" +libtheora_files += "libtheora.manifest" +libtheora_files += "COPYING LICENSE" +libtheora_files += "/usr/lib/libtheora.so.0*" +libtheora_files += "/usr/lib/libtheoradec.so.1*" +libtheora_files += "/usr/lib/libtheoraenc.so.1*" + +FILES_${PN}-devel = "${libtheora-devel_files}" +FILES_${PN} = "${libtheora_files}" + +PKG_libtheora-devel= "libtheora-devel" +PKG_libtheora= "libtheora" + +require libtheora-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtheora/libtheora_git.bb b/meta-tizen/recipes-tizen/libtheora/libtheora_git.bb new file mode 100644 index 0000000..bac3c4a --- /dev/null +++ b/meta-tizen/recipes-tizen/libtheora/libtheora_git.bb @@ -0,0 +1,8 @@ +require libtheora.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtheora;protocol=ssh;tag=f80495726b502d2bd4423443aa645f86c7083690;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtirpc/libtirpc-extraconf.inc b/meta-tizen/recipes-tizen/libtirpc/libtirpc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtirpc/libtirpc-native_git.bb b/meta-tizen/recipes-tizen/libtirpc/libtirpc-native_git.bb new file mode 100644 index 0000000..4b8ff8e --- /dev/null +++ b/meta-tizen/recipes-tizen/libtirpc/libtirpc-native_git.bb @@ -0,0 +1,12 @@ +require libtirpc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtirpc;protocol=ssh;tag=0aacafcef4cdbc7ebc3f266407052926ff40ee9e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtirpc/libtirpc.inc b/meta-tizen/recipes-tizen/libtirpc/libtirpc.inc new file mode 100644 index 0000000..7040424 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtirpc/libtirpc.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Transport Independent RPC Library" +HOMEPAGE = "http://sourceforge.net/projects/libtirpc/" +SECTION = "System/Libraries" +LICENSE = "BSD-4-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtirpc +PROVIDES += "libtirpc" +RPROVIDES_libtirpc += "libtirpc" + +#PROVIDES by libtirpc-docs +PROVIDES += "libtirpc-docs " +RPROVIDES_libtirpc-docs += "libtirpc-docs " + +#PROVIDES by libtirpc-devel +PROVIDES += "libtirpc-devel" +RPROVIDES_libtirpc-devel += "libtirpc-devel" +RPROVIDES_libtirpc-devel += "libtirpc-dev" + +RDEPENDS = "" +#RDEPENDS of libtirpc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libtirpc" + + +DEPENDS = "" +#DEPENDS of libtirpc +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(pkg-config)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtirpc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic --libdir=/lib + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/lib + ln -s -v /lib/$(readlink ${D}/lib/libtirpc.so) ${D}/usr/lib/libtirpc.so + rm -rf ${D}/lib/*.so + mv -v ${D}/lib/pkgconfig ${D}//usr/lib + + +} + +PACKAGES = "" +PACKAGES += "libtirpc" +PACKAGES += "libtirpc-docs" +PACKAGES += "libtirpc-devel" + +libtirpc_files = "" +libtirpc_files += "libtirpc.manifest" +libtirpc_files += "/etc/netconfig" +libtirpc_files += "/lib/libtirpc.so.1*" + +libtirpc-docs_files = "" +libtirpc-docs_files += "/usr/share/info" +libtirpc-docs_files += "/usr/share/man" + +libtirpc-devel_files = "" +libtirpc-devel_files += "libtirpc.manifest" +libtirpc-devel_files += "/usr/lib/libtirpc.so" +libtirpc-devel_files += "/usr/include/tirpc/" +libtirpc-devel_files += "/usr/include/tirpc/*" +libtirpc-devel_files += "/usr/lib/pkgconfig/*" + +FILES_${PN} = "${libtirpc_files}" +FILES_${PN}-docs = "${libtirpc-docs_files}" +FILES_${PN}-devel = "${libtirpc-devel_files}" + +PKG_libtirpc= "libtirpc" +PKG_libtirpc-docs= "libtirpc-docs" +PKG_libtirpc-devel= "libtirpc-devel" + +require libtirpc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libtirpc/libtirpc_git.bb b/meta-tizen/recipes-tizen/libtirpc/libtirpc_git.bb new file mode 100644 index 0000000..87c3663 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtirpc/libtirpc_git.bb @@ -0,0 +1,8 @@ +require libtirpc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libtirpc;protocol=ssh;tag=0aacafcef4cdbc7ebc3f266407052926ff40ee9e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libtool/libtool-extraconf.inc b/meta-tizen/recipes-tizen/libtool/libtool-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtool/libtool.inc b/meta-tizen/recipes-tizen/libtool/libtool.inc new file mode 100644 index 0000000..2d1f429 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtool/libtool.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "A Tool to Build Shared Libraries" +HOMEPAGE = "http://www.gnu.org/software/libtool/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libltdl +PROVIDES += "libltdl" +RPROVIDES_libltdl += "libltdl" + +#PROVIDES by libtool +PROVIDES += "libtool" +RPROVIDES_libtool += "libtool" +# the PROVIDES rules is ignore "libltdl-devel " +PROVIDES += "libltdl-devel" +RPROVIDES_libtool += "libltdl-devel" +RPROVIDES_libtool += "libltdl-dev" +# the PROVIDES rules is ignore "libtool-ltdl-devel " +PROVIDES += "libtool-ltdl-devel" +RPROVIDES_libtool += "libtool-ltdl-devel" +RPROVIDES_libtool += "libtool-ltdl-dev" + +RDEPENDS = "" +#RDEPENDS of libtool (${PN}) +RDEPENDS_${PN} += "libltdl" +RDEPENDS_${PN} += "tar" +RDEPENDS_${PN} += "automake" + + +DEPENDS = "" +#DEPENDS of libtool +DEPENDS += "lzma" +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "makeinfo" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libtool-2.4.2 + cp ${S}/packaging/libtool.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./configure CFLAGS="$RPM_OPT_FLAGS" \ + --prefix=/usr --infodir=/usr/share/info --libdir=/usr/lib + # force rebuild with non-broken makeinfo + rm -f doc/libtool.info + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + + +} + +PACKAGES = "" +PACKAGES += "libltdl" +PACKAGES += "libtool" + +libltdl_files = "" +libltdl_files += "libtool.manifest" +libltdl_files += "/usr/lib/libltdl.so.*" + +libtool_files = "" +libtool_files += "libtool.manifest" +libtool_files += "/usr/bin/libtool" +libtool_files += "/usr/bin/libtoolize" +libtool_files += "/usr/include/libltdl" +libtool_files += "/usr/include/ltdl.h" +libtool_files += "/usr/lib/libltdl.a" +libtool_files += "/usr/lib/libltdl.so" +libtool_files += "/usr/share/aclocal/*.m4" +libtool_files += "/usr/share/info/libtool.info*" +libtool_files += "/usr/share/man/man1/libtool.1.gz" +libtool_files += "/usr/share/man/man1/libtoolize.1.gz" +libtool_files += "/usr/share/libtool" + +FILES_libltdl = "${libltdl_files}" +FILES_${PN} = "${libtool_files}" + +PKG_libltdl= "libltdl" +PKG_libtool= "libtool" + +require libtool-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libunistring/libunistring-extraconf.inc b/meta-tizen/recipes-tizen/libunistring/libunistring-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libunistring/libunistring-native_git.bb b/meta-tizen/recipes-tizen/libunistring/libunistring-native_git.bb new file mode 100644 index 0000000..4e51ae5 --- /dev/null +++ b/meta-tizen/recipes-tizen/libunistring/libunistring-native_git.bb @@ -0,0 +1,12 @@ +require libunistring.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libunistring;protocol=ssh;tag=b034570bc29819e381b4e1b0c1675f753c246346;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libunistring/libunistring.inc b/meta-tizen/recipes-tizen/libunistring/libunistring.inc new file mode 100644 index 0000000..9dac27f --- /dev/null +++ b/meta-tizen/recipes-tizen/libunistring/libunistring.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "GNU Unicode string library" +HOMEPAGE = "http://www.gnu.org/software/libunistring/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "LGPL-3.0+ and GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libunistring-devel +PROVIDES += "libunistring-devel" +RPROVIDES_libunistring-devel += "libunistring-devel" +RPROVIDES_libunistring-devel += "libunistring-dev" + +#PROVIDES by libunistring +PROVIDES += "libunistring" +RPROVIDES_libunistring += "libunistring" + +RDEPENDS = "" +#RDEPENDS of libunistring-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "info" +RDEPENDS_${PN}-devel += "libunistring" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libunistring.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --disable-rpath --docdir=/usr/share/doc/packages/libunistring + make -j16 + + exit 0 + make check -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + echo " " > debugsources.list + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- DESTDIR=${D} INSTALL="install -p" + rm -f ${D}//usr/share/info/dir + rm -f ${D}//usr/lib/libunistring.la + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libunistring + rm -rf ${D}/usr/share/doc/libunistring-0.9.3 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libunistring-devel" +PACKAGES += "libunistring" + +libunistring-devel_files = "" +libunistring-devel_files += "libunistring.manifest" +libunistring-devel_files += "/usr/lib/libunistring.so" +libunistring-devel_files += "/usr/include/unistring" +libunistring-devel_files += "/usr/include/*.h" + +libunistring_files = "" +libunistring_files += "libunistring.manifest" +libunistring_files += "/usr/lib/libunistring.so.0*" + +FILES_${PN}-devel = "${libunistring-devel_files}" +FILES_${PN} = "${libunistring_files}" + +PKG_libunistring-devel= "libunistring-devel" +PKG_libunistring= "libunistring" + +require libunistring-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libunistring/libunistring_git.bb b/meta-tizen/recipes-tizen/libunistring/libunistring_git.bb new file mode 100644 index 0000000..2846951 --- /dev/null +++ b/meta-tizen/recipes-tizen/libunistring/libunistring_git.bb @@ -0,0 +1,8 @@ +require libunistring.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libunistring;protocol=ssh;tag=b034570bc29819e381b4e1b0c1675f753c246346;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libunwind/libunwind-extraconf.inc b/meta-tizen/recipes-tizen/libunwind/libunwind-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libunwind/libunwind-native_git.bb b/meta-tizen/recipes-tizen/libunwind/libunwind-native_git.bb new file mode 100644 index 0000000..61ee425 --- /dev/null +++ b/meta-tizen/recipes-tizen/libunwind/libunwind-native_git.bb @@ -0,0 +1,12 @@ +require libunwind.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libunwind;protocol=ssh;tag=dbbc2ee536ad42d83b2e2c0ed26f31b4f3dbff6c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libunwind/libunwind.inc b/meta-tizen/recipes-tizen/libunwind/libunwind.inc new file mode 100644 index 0000000..273d6e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libunwind/libunwind.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Unwind Library" +HOMEPAGE = "http://savannah.nongnu.org/projects/libunwind/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libunwind +PROVIDES += "libunwind" +RPROVIDES_libunwind += "libunwind" + +#PROVIDES by libunwind-devel +PROVIDES += "libunwind-devel" +RPROVIDES_libunwind-devel += "libunwind-devel" +RPROVIDES_libunwind-devel += "libunwind-dev" +# the PROVIDES rules is ignore "libunwind:/usr/lib/libunwind.so " +PROVIDES += "libunwind:/usr/lib/libunwind.so" +RPROVIDES_libunwind-devel += "libunwind:/usr/lib/libunwind.so" + +RDEPENDS = "" +#RDEPENDS of libunwind-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libunwind" + + +DEPENDS = "" +#DEPENDS of libunwind +DEPENDS += "gcc-cross" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libunwind.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -U_FORTIFY_SOURCE" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + mkdir -p $RPM_BUILD_ROOT/lib + ln -sf //usr/lib/libunwind.so.8 $RPM_BUILD_ROOT/usr/lib/libunwind.so + # Check that ln did not create a dangling link + stat "${D}"/$(readlink -f "${D}//usr/lib/libunwind.so"); + + +} + +PACKAGES = "" +PACKAGES += "libunwind" +PACKAGES += "libunwind-devel" + +libunwind_files = "" +libunwind_files += "libunwind.manifest" +libunwind_files += "/usr/lib/lib*" +libunwind_files += "/usr/lib/lib*.so.*" +libunwind_files += "/usr/lib/libunwind.so" + +libunwind-devel_files = "" +libunwind-devel_files += "libunwind.manifest" +libunwind-devel_files += "/usr/include/*" +libunwind-devel_files += "/usr/lib/lib*.a" +libunwind-devel_files += "/usr/lib/libunwind-*.so" +libunwind-devel_files += "/usr/lib/pkgconfig/libunwind-generic.pc" +libunwind-devel_files += "/usr/lib/pkgconfig/libunwind-ptrace.pc" +libunwind-devel_files += "/usr/lib/pkgconfig/libunwind-setjmp.pc" +libunwind-devel_files += "/usr/lib/pkgconfig/libunwind.pc" +libunwind-devel_files += "/usr/lib/pkgconfig/libunwind-coredump.pc" +libunwind-devel_files += "/usr/share/man/man?/*" + +FILES_${PN} = "${libunwind_files}" +FILES_${PN}-devel = "${libunwind-devel_files}" + +PKG_libunwind= "libunwind" +PKG_libunwind-devel= "libunwind-devel" + +require libunwind-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libunwind/libunwind_git.bb b/meta-tizen/recipes-tizen/libunwind/libunwind_git.bb new file mode 100644 index 0000000..a1ef295 --- /dev/null +++ b/meta-tizen/recipes-tizen/libunwind/libunwind_git.bb @@ -0,0 +1,8 @@ +require libunwind.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libunwind;protocol=ssh;tag=dbbc2ee536ad42d83b2e2c0ed26f31b4f3dbff6c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libusb-compat/libusb-compat-extraconf.inc b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libusb-compat/libusb-compat-native_git.bb b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat-native_git.bb new file mode 100644 index 0000000..ff62d59 --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat-native_git.bb @@ -0,0 +1,12 @@ +require libusb-compat.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libusb-compat;protocol=ssh;tag=94264d6c4a28117d8b6c4f4e13eaeeb0c30595a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libusb-compat/libusb-compat.inc b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat.inc new file mode 100644 index 0000000..d028d21 --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "libusb-1.0 Compatibility Layer for libusb-0.1" +HOMEPAGE = "http://libusb.wiki.sourceforge.net/LibusbCompat0.1" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libusb-compat +PROVIDES += "libusb-compat" +RPROVIDES_libusb-compat += "libusb-compat" + +#PROVIDES by libusb-compat-devel +PROVIDES += "libusb-compat-devel" +RPROVIDES_libusb-compat-devel += "libusb-compat-devel" +RPROVIDES_libusb-compat-devel += "libusb-compat-dev" + +RDEPENDS = "" +#RDEPENDS of libusb-compat-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libusb-compat" + + +DEPENDS = "" +#DEPENDS of libusb-compat +DEPENDS += "pkgconfig(libusb-1.0)" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libusb-compat.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/libusb-compat.manifest . + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --disable-static\ + --disable-build-docs + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + rm ${D}/usr/lib/*.la + + +} + +PACKAGES = "" +PACKAGES += "libusb-compat" +PACKAGES += "libusb-compat-devel" + +libusb-compat_files = "" +libusb-compat_files += "libusb-compat.manifest" +libusb-compat_files += "AUTHORS COPYING ChangeLog LICENSE NEWS README" +libusb-compat_files += "/usr/lib/*.so.*" + +libusb-compat-devel_files = "" +libusb-compat-devel_files += "libusb-compat.manifest" +libusb-compat-devel_files += "/usr/bin/*-config" +libusb-compat-devel_files += "/usr/include/*.h" +libusb-compat-devel_files += "/usr/lib/*.so" +libusb-compat-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${libusb-compat_files}" +FILES_${PN}-devel = "${libusb-compat-devel_files}" + +PKG_libusb-compat= "libusb-compat" +PKG_libusb-compat-devel= "libusb-compat-devel" + +require libusb-compat-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libusb-compat/libusb-compat_git.bb b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat_git.bb new file mode 100644 index 0000000..85e4283 --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb-compat/libusb-compat_git.bb @@ -0,0 +1,8 @@ +require libusb-compat.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libusb-compat;protocol=ssh;tag=94264d6c4a28117d8b6c4f4e13eaeeb0c30595a5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libusb/libusb-extraconf.inc b/meta-tizen/recipes-tizen/libusb/libusb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libusb/libusb-native_git.bb b/meta-tizen/recipes-tizen/libusb/libusb-native_git.bb new file mode 100644 index 0000000..1eff73c --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb/libusb-native_git.bb @@ -0,0 +1,12 @@ +require libusb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libusb;protocol=ssh;tag=60594575880758e0e0a6223cd28cbd6b9717c9fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libusb/libusb.inc b/meta-tizen/recipes-tizen/libusb/libusb.inc new file mode 100644 index 0000000..1a8bfab --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb/libusb.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "USB Library" +HOMEPAGE = "http://www.libusb.org/" +SECTION = "Base/Device Management" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libusb-devel +PROVIDES += "libusb-devel" +RPROVIDES_libusb-devel += "libusb-devel" +RPROVIDES_libusb-devel += "libusb-dev" + +#PROVIDES by libusb +PROVIDES += "libusb" +RPROVIDES_libusb += "libusb" + +RDEPENDS = "" +#RDEPENDS of libusb-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libusb" + + +DEPENDS = "" +#DEPENDS of libusb +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libusb.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --with-pic\ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libusb-devel" +PACKAGES += "libusb" + +libusb-devel_files = "" +libusb-devel_files += "libusb.manifest" +libusb-devel_files += "/usr/include/libusb-1.0" +libusb-devel_files += "/usr/lib/*.so" +libusb-devel_files += "/usr/lib/pkgconfig/*.pc" + +libusb_files = "" +libusb_files += "libusb.manifest" +libusb_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${libusb-devel_files}" +FILES_${PN} = "${libusb_files}" + +PKG_libusb-devel= "libusb-devel" +PKG_libusb= "libusb" + +require libusb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libusb/libusb_git.bb b/meta-tizen/recipes-tizen/libusb/libusb_git.bb new file mode 100644 index 0000000..73217b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libusb/libusb_git.bb @@ -0,0 +1,8 @@ +require libusb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libusb;protocol=ssh;tag=60594575880758e0e0a6223cd28cbd6b9717c9fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver-extraconf.inc b/meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver.inc b/meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver.inc new file mode 100644 index 0000000..3b9ab4e --- /dev/null +++ b/meta-tizen/recipes-tizen/libva-intel-driver/libva-intel-driver.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "Intel Driver for Video Acceleration (VA) API for Linux" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libva-intel-driver" + +libva-intel-driver_files = "" +libva-intel-driver_files += "/usr/lib/dri/i965_drv_video.so" + +FILES_${PN} = "${libva-intel-driver_files}" + +PKG_libva-intel-driver= "libva-intel-driver" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libva-intel-driver-rdepends.inc +require libva-intel-driver-depends.inc +require libva-intel-driver-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libva/libva-extraconf.inc b/meta-tizen/recipes-tizen/libva/libva-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libva/libva-native_git.bb b/meta-tizen/recipes-tizen/libva/libva-native_git.bb new file mode 100644 index 0000000..1fa7bec --- /dev/null +++ b/meta-tizen/recipes-tizen/libva/libva-native_git.bb @@ -0,0 +1,12 @@ +require libva.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libva;protocol=ssh;tag=469a09753eb34a1214e126a4de734256427a77a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libva/libva.inc b/meta-tizen/recipes-tizen/libva/libva.inc new file mode 100644 index 0000000..41b3fc7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libva/libva.inc @@ -0,0 +1,187 @@ +DESCRIPTION = "Video Acceleration (VA) API for Linux" +HOMEPAGE = "http://freedesktop.org/wiki/Software/vaapi" +SECTION = "Multimedia/Video" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libva-devel +PROVIDES += "libva-devel" +RPROVIDES_libva-devel += "libva-devel" +RPROVIDES_libva-devel += "libva-dev" + +#PROVIDES by vaapi-dummy-driver +PROVIDES += "vaapi-dummy-driver" +RPROVIDES_vaapi-dummy-driver += "vaapi-dummy-driver" + +#PROVIDES by vaapi-tools +PROVIDES += "vaapi-tools" +RPROVIDES_vaapi-tools += "vaapi-tools" + +#PROVIDES by libva +PROVIDES += "libva" +RPROVIDES_libva += "libva" + +RDEPENDS = "" +#RDEPENDS of libva-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(libdrm)" +RDEPENDS_${PN}-devel += "pkgconfig(wayland-egl)" +RDEPENDS_${PN}-devel += "pkgconfig(wayland-client)" +RDEPENDS_${PN}-devel += "libva" + + +DEPENDS = "" +#DEPENDS of libva +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "pkgconfig-native" +DEPENDS += "xz" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(wayland-egl)" +DEPENDS += "pkgconfig(libudev)" +DEPENDS += "mesa-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # --enable-x11 set to no explicitly, otherwise it will mislead libva build when other package brings in X11 lib + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-dummy-driver \ + --enable-dummy-backend \ + --enable-egl \ + --enable-wayland \ + --enable-x11=no \ + --with-drivers-path=/usr/lib/dri + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + grep -r include ${D}/usr/include + + +} + +PACKAGES = "" +PACKAGES += "libva-devel" +PACKAGES += "libva" +PACKAGES += "vaapi-tools" +PACKAGES += "vaapi-dummy-driver" + +libva-devel_files = "" +libva-devel_files += "/usr/lib/libva.so" +libva-devel_files += "/usr/lib/libva-tpi.so" +libva-devel_files += "/usr/lib/libva-egl.so" +libva-devel_files += "/usr/lib/libva-wayland.so" +libva-devel_files += "/usr/lib/libva-drm.so" +libva-devel_files += "/usr/include/va" +libva-devel_files += "/usr/lib/pkgconfig/libva*.pc" + +libva_files = "" +libva_files += "/usr/lib/libva.so.*" +libva_files += "/usr/lib/libva-tpi.so.*" +libva_files += "/usr/lib/libva-egl.so.*" +libva_files += "/usr/lib/libva-wayland.so.*" +libva_files += "/usr/lib/libva-drm.so.*" + +vaapi-tools_files = "" +vaapi-tools_files += "/usr/bin/vainfo" +vaapi-tools_files += "/usr/bin/avcenc" +vaapi-tools_files += "/usr/bin/h264encode" +vaapi-tools_files += "/usr/bin/mpeg2vldemo" +vaapi-tools_files += "/usr/bin/mpeg2vaenc" +vaapi-tools_files += "/usr/bin/loadjpeg" +vaapi-tools_files += "/usr/bin/putsurface_wayland" + +vaapi-dummy-driver_files = "" +vaapi-dummy-driver_files += "/usr/lib/dri" +vaapi-dummy-driver_files += "/usr/lib/dri/dummy_drv_video.so" + +FILES_${PN}-devel = "${libva-devel_files}" +FILES_${PN} = "${libva_files}" +FILES_vaapi-tools = "${vaapi-tools_files}" +FILES_vaapi-dummy-driver = "${vaapi-dummy-driver_files}" + +PKG_libva-devel= "libva-devel" +PKG_libva= "libva" +PKG_vaapi-tools= "vaapi-tools" +PKG_vaapi-dummy-driver= "vaapi-dummy-driver" + +require libva-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libva/libva_git.bb b/meta-tizen/recipes-tizen/libva/libva_git.bb new file mode 100644 index 0000000..d737b96 --- /dev/null +++ b/meta-tizen/recipes-tizen/libva/libva_git.bb @@ -0,0 +1,8 @@ +require libva.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libva;protocol=ssh;tag=469a09753eb34a1214e126a4de734256427a77a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libvorbis/libvorbis-extraconf.inc b/meta-tizen/recipes-tizen/libvorbis/libvorbis-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libvorbis/libvorbis-native_git.bb b/meta-tizen/recipes-tizen/libvorbis/libvorbis-native_git.bb new file mode 100644 index 0000000..0ab040c --- /dev/null +++ b/meta-tizen/recipes-tizen/libvorbis/libvorbis-native_git.bb @@ -0,0 +1,12 @@ +require libvorbis.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libvorbis;protocol=ssh;tag=e4c8e81efeb8b39d14f88cece4ab1396e7350594;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libvorbis/libvorbis.inc b/meta-tizen/recipes-tizen/libvorbis/libvorbis.inc new file mode 100644 index 0000000..538c3ac --- /dev/null +++ b/meta-tizen/recipes-tizen/libvorbis/libvorbis.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "The Vorbis General Audio Compression Codec" +HOMEPAGE = "http://www.vorbis.com/" +SECTION = "Multimedia/Audio" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libvorbis +PROVIDES += "libvorbis" +RPROVIDES_libvorbis += "libvorbis" + +#PROVIDES by libvorbis-devel +PROVIDES += "libvorbis-devel" +RPROVIDES_libvorbis-devel += "libvorbis-devel" +RPROVIDES_libvorbis-devel += "libvorbis-dev" + +#PROVIDES by libvorbisenc +PROVIDES += "libvorbisenc" +RPROVIDES_libvorbisenc += "libvorbisenc" + +#PROVIDES by libvorbisfile +PROVIDES += "libvorbisfile" +RPROVIDES_libvorbisfile += "libvorbisfile" + +RDEPENDS = "" +#RDEPENDS of libvorbis-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libvorbis" +RDEPENDS_${PN}-devel += "libvorbisenc" +RDEPENDS_${PN}-devel += "libvorbisfile" +RDEPENDS_${PN}-devel += "libogg-dev" + + +DEPENDS = "" +#DEPENDS of libvorbis +DEPENDS += "libtool-cross" +DEPENDS += "fdupes-native" +DEPENDS += "libogg" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libvorbis.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Fix optimization level + sed -i s,-O20,-O3,g configure.ac + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-examples --disable-static + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/doc/packages/libvorbis + mv ${D}/usr/share/doc/libvorbis-* ${D}/usr/share/doc/packages/libvorbis + install -c -m 0644 doc/Vorbis_I_spec.* ${D}/usr/share/doc/packages/libvorbis + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libvorbis + rm -rf ${D}/usr/share/doc/libvorbis-1.3.3 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libvorbis" +PACKAGES += "libvorbis-devel" +PACKAGES += "libvorbisenc" +PACKAGES += "libvorbisfile" + +libvorbis_files = "" +libvorbis_files += "libvorbis.manifest" +libvorbis_files += "/usr/lib/libvorbis.so.0*" + +libvorbis-devel_files = "" +libvorbis-devel_files += "libvorbis.manifest" +libvorbis-devel_files += "/usr/share/aclocal/*.m4" +libvorbis-devel_files += "/usr/include/vorbis" +libvorbis-devel_files += "/usr/lib/lib*.so" +libvorbis-devel_files += "/usr/lib/pkgconfig/*.pc" + +libvorbisenc_files = "" +libvorbisenc_files += "libvorbis.manifest" +libvorbisenc_files += "/usr/lib/libvorbisenc.so.2*" + +libvorbisfile_files = "" +libvorbisfile_files += "libvorbis.manifest" +libvorbisfile_files += "/usr/lib/libvorbisfile.so.3*" + +FILES_${PN} = "${libvorbis_files}" +FILES_${PN}-devel = "${libvorbis-devel_files}" +FILES_${PN}enc = "${libvorbisenc_files}" +FILES_${PN}file = "${libvorbisfile_files}" + +PKG_libvorbis= "libvorbis" +PKG_libvorbis-devel= "libvorbis-devel" +PKG_libvorbisenc= "libvorbisenc" +PKG_libvorbisfile= "libvorbisfile" + +require libvorbis-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libvorbis/libvorbis_git.bb b/meta-tizen/recipes-tizen/libvorbis/libvorbis_git.bb new file mode 100644 index 0000000..db8722b --- /dev/null +++ b/meta-tizen/recipes-tizen/libvorbis/libvorbis_git.bb @@ -0,0 +1,8 @@ +require libvorbis.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libvorbis;protocol=ssh;tag=e4c8e81efeb8b39d14f88cece4ab1396e7350594;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libvpx/libvpx-extraconf.inc b/meta-tizen/recipes-tizen/libvpx/libvpx-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libvpx/libvpx-native_git.bb b/meta-tizen/recipes-tizen/libvpx/libvpx-native_git.bb new file mode 100644 index 0000000..10acf0e --- /dev/null +++ b/meta-tizen/recipes-tizen/libvpx/libvpx-native_git.bb @@ -0,0 +1,12 @@ +require libvpx.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libvpx;protocol=ssh;tag=5c09a05423e8ac707f5dd47cb02d22c31776c0c7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libvpx/libvpx.inc b/meta-tizen/recipes-tizen/libvpx/libvpx.inc new file mode 100644 index 0000000..0b8d2e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/libvpx/libvpx.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "VP8 codec library" +HOMEPAGE = "http://www.webmproject.org/" +SECTION = "Multimedia/Libraries" +LICENSE = "BSD-3-Clause and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libvpx-devel +PROVIDES += "libvpx-devel" +RPROVIDES_libvpx-devel += "libvpx-devel" +RPROVIDES_libvpx-devel += "libvpx-dev" + +#PROVIDES by vpx-tools +PROVIDES += "vpx-tools" +RPROVIDES_vpx-tools += "vpx-tools" + +#PROVIDES by libvpx +PROVIDES += "libvpx" +RPROVIDES_libvpx += "libvpx" + +RDEPENDS = "" +#RDEPENDS of libvpx-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libvpx" + + +DEPENDS = "" +#DEPENDS of libvpx +DEPENDS += "yasm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libvpx-v1.2.0 + cp ${S}/packaging/libvpx.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd build + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + # It is only an emulation of autotools configure; the macro does not work + + # libvpx default enable NEON support on ARMv7, unfortunately some ARMv7 + # CPU doesn't have NEON, e.g. NVIDIA Tegra 2. + # So, we still set -mfpu=neon when build libvpx rpm, but also enable + # runtime-cpu-detect for runtime detect NEON. + ../configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --enable-debug \ + --enable-shared \ + --enable-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libvpx-devel" +PACKAGES += "vpx-tools" +PACKAGES += "libvpx" + +libvpx-devel_files = "" +libvpx-devel_files += "libvpx.manifest" +libvpx-devel_files += "/usr/include/vpx/" +libvpx-devel_files += "/usr/lib/pkgconfig/vpx.pc" +libvpx-devel_files += "/usr/lib/libvpx.so" + +vpx-tools_files = "" +vpx-tools_files += "libvpx.manifest" +vpx-tools_files += "/usr/bin/*" + +libvpx_files = "" +libvpx_files += "libvpx.manifest" +libvpx_files += "/usr/lib/libvpx.so.*" + +FILES_${PN}-devel = "${libvpx-devel_files}" +FILES_vpx-tools = "${vpx-tools_files}" +FILES_${PN} = "${libvpx_files}" + +PKG_libvpx-devel= "libvpx-devel" +PKG_vpx-tools= "vpx-tools" +PKG_libvpx= "libvpx" + +require libvpx-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libvpx/libvpx_git.bb b/meta-tizen/recipes-tizen/libvpx/libvpx_git.bb new file mode 100644 index 0000000..1ce43d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/libvpx/libvpx_git.bb @@ -0,0 +1,8 @@ +require libvpx.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libvpx;protocol=ssh;tag=5c09a05423e8ac707f5dd47cb02d22c31776c0c7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libwbxml2/libwbxml2-extraconf.inc b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libwbxml2/libwbxml2-native_git.bb b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2-native_git.bb new file mode 100644 index 0000000..8adf88b --- /dev/null +++ b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2-native_git.bb @@ -0,0 +1,12 @@ +require libwbxml2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libwbxml2;protocol=ssh;tag=549574b031e0796f9708a91239b06297f1c88653;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libwbxml2/libwbxml2.inc b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2.inc new file mode 100644 index 0000000..4d854ae --- /dev/null +++ b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "WBXML parser and compiler library" +HOMEPAGE = "http://libwbxml.opensync.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libwbxml2 +PROVIDES += "libwbxml2" +RPROVIDES_libwbxml2 += "libwbxml2" + +#PROVIDES by wbxml2-tools +PROVIDES += "wbxml2-tools" +RPROVIDES_wbxml2-tools += "wbxml2-tools" + +#PROVIDES by libwbxml2-devel +PROVIDES += "libwbxml2-devel" +RPROVIDES_libwbxml2-devel += "libwbxml2-devel" +RPROVIDES_libwbxml2-devel += "libwbxml2-dev" + +RDEPENDS = "" +#RDEPENDS of wbxml2-tools (wbxml2-tools) +RDEPENDS_wbxml2-tools += "libwbxml2" +RDEPENDS_wbxml2-tools += "pkgconfig(libxml-2.0)" + +#RDEPENDS of libwbxml2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libwbxml2" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "pkgconfig(libxml-2.0)" +RDEPENDS_${PN}-devel += "pkgconfig(expat)" + + +DEPENDS = "" +#DEPENDS of libwbxml2 +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(popt)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(pkg-config)" +DEPENDS += "expat" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libwbxml-0.11.2 + cp ${S}/packaging/libwbxml2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + mkdir build + pushd build + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" \ + CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" \ + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + -DCMAKE_BUILD_TYPE=None \ + -DENABLE_INSTALL_DOC:BOOL=OFF \ + ${WORKDIR}/libwbxml-0.11.2 + make -j16 VERBOSE=1 + popd + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + pushd build + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + popd + + +} + +PACKAGES = "" +PACKAGES += "libwbxml2" +PACKAGES += "wbxml2-tools" +PACKAGES += "libwbxml2-devel" + +libwbxml2_files = "" +libwbxml2_files += "libwbxml2.manifest" +libwbxml2_files += "/usr/lib/libwbxml2.so.1*" + +wbxml2-tools_files = "" +wbxml2-tools_files += "libwbxml2.manifest" +wbxml2-tools_files += "/usr/bin/wbxml2xml" +wbxml2-tools_files += "/usr/bin/xml2wbxml" + +libwbxml2-devel_files = "" +libwbxml2-devel_files += "libwbxml2.manifest" +libwbxml2-devel_files += "/usr/lib/pkgconfig/libwbxml2.pc" +libwbxml2-devel_files += "/usr/lib/libwbxml2.so" +libwbxml2-devel_files += "/usr/include/libwbxml-1.0/wbxml" +libwbxml2-devel_files += "/usr/share/cmake/Modules/FindLibWbxml2.cmake" +libwbxml2-devel_files += "/usr/include/wbxml_config.h" + +FILES_${PN} = "${libwbxml2_files}" +FILES_wbxml2-tools = "${wbxml2-tools_files}" +FILES_${PN}-devel = "${libwbxml2-devel_files}" + +PKG_libwbxml2= "libwbxml2" +PKG_wbxml2-tools= "wbxml2-tools" +PKG_libwbxml2-devel= "libwbxml2-devel" + +require libwbxml2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libwbxml2/libwbxml2_git.bb b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2_git.bb new file mode 100644 index 0000000..6a7ea0f --- /dev/null +++ b/meta-tizen/recipes-tizen/libwbxml2/libwbxml2_git.bb @@ -0,0 +1,8 @@ +require libwbxml2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libwbxml2;protocol=ssh;tag=549574b031e0796f9708a91239b06297f1c88653;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-extraconf.inc b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-native_git.bb b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-native_git.bb new file mode 100644 index 0000000..14d82bc --- /dev/null +++ b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct-native_git.bb @@ -0,0 +1,12 @@ +require libwifi-direct.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libwifi-direct;protocol=ssh;tag=0371caae5f0c66a74501c1fd44ad398cee16b31d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc new file mode 100644 index 0000000..b4a815c --- /dev/null +++ b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Wifi Direct Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Wireless" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libwifi-direct +PROVIDES += "libwifi-direct" +RPROVIDES_libwifi-direct += "libwifi-direct" + +#PROVIDES by libwifi-direct-devel +PROVIDES += "libwifi-direct-devel" +RPROVIDES_libwifi-direct-devel += "libwifi-direct-devel" +RPROVIDES_libwifi-direct-devel += "libwifi-direct-dev" + +RDEPENDS = "" +#RDEPENDS of libwifi-direct-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libwifi-direct" + + +DEPENDS = "" +#DEPENDS of libwifi-direct +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libwifi-direct.manifest . + + export ARCH=i586 + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/LICENSE.APLv2 ${D}/usr/share/license/libwifi-direct + + + +} + +PACKAGES = "" +PACKAGES += "libwifi-direct" +PACKAGES += "libwifi-direct-devel" + +libwifi-direct_files = "" +libwifi-direct_files += "libwifi-direct.manifest" +libwifi-direct_files += "/usr/lib/libwifi-direct.so" +libwifi-direct_files += "/usr/lib/libwifi-direct.so.0" +libwifi-direct_files += "/usr/lib/libwifi-direct.so.0.0" +libwifi-direct_files += "/usr/share/license/libwifi-direct" + +libwifi-direct-devel_files = "" +libwifi-direct-devel_files += "libwifi-direct.manifest" +libwifi-direct-devel_files += "/usr/lib/pkgconfig/wifi-direct.pc" +libwifi-direct-devel_files += "/usr/include/wifi-direct/wifi-direct.h" +libwifi-direct-devel_files += "/usr/include/wifi-direct/wifi-direct-internal.h" + +FILES_${PN} = "${libwifi-direct_files}" +FILES_${PN}-devel = "${libwifi-direct-devel_files}" + +PKG_libwifi-direct= "libwifi-direct" +PKG_libwifi-direct-devel= "libwifi-direct-devel" + +require libwifi-direct-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct_git.bb b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct_git.bb new file mode 100644 index 0000000..a0cdd73 --- /dev/null +++ b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct_git.bb @@ -0,0 +1,8 @@ +require libwifi-direct.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libwifi-direct;protocol=ssh;tag=0371caae5f0c66a74501c1fd44ad398cee16b31d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxcb/libxcb-extraconf.inc b/meta-tizen/recipes-tizen/libxcb/libxcb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libxcb/libxcb.inc b/meta-tizen/recipes-tizen/libxcb/libxcb.inc new file mode 100644 index 0000000..8a663db --- /dev/null +++ b/meta-tizen/recipes-tizen/libxcb/libxcb.inc @@ -0,0 +1,191 @@ +DESCRIPTION = "X11 core protocol C library" +HOMEPAGE = "http://xcb.freedesktop.org/" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libxcb-dri2" +PACKAGES += "libxcb-randr" +PACKAGES += "libxcb-record" +PACKAGES += "libxcb-devel" +PACKAGES += "libxcb-shape" +PACKAGES += "libxcb" +PACKAGES += "libxcb-xevie" +PACKAGES += "libxcb-xf86dri" +PACKAGES += "libxcb-shm" +PACKAGES += "libxcb-dpms" +PACKAGES += "libxcb-docs" +PACKAGES += "libxcb-glx" +PACKAGES += "libxcb-xfixes" +PACKAGES += "libxcb-render" +PACKAGES += "libxcb-screensaver" +PACKAGES += "libxcb-xinerama" +PACKAGES += "libxcb-sync" +PACKAGES += "libxcb-res" +PACKAGES += "libxcb-xprint" +PACKAGES += "libxcb-composite" +PACKAGES += "libxcb-damage" +PACKAGES += "libxcb-xv" +PACKAGES += "libxcb-xtest" +PACKAGES += "libxcb-xvmc" + +libxcb-dri2_files = "" +libxcb-dri2_files += "libxcb.manifest" +libxcb-dri2_files += "/usr/lib/libxcb-dri2.so.0*" + +libxcb-randr_files = "" +libxcb-randr_files += "libxcb.manifest" +libxcb-randr_files += "/usr/lib/libxcb-randr.so.0*" + +libxcb-record_files = "" +libxcb-record_files += "libxcb.manifest" +libxcb-record_files += "/usr/lib/libxcb-record.so.0*" + +libxcb-devel_files = "" +libxcb-devel_files += "libxcb.manifest" +libxcb-devel_files += "/usr/include/xcb" +libxcb-devel_files += "/usr/lib/libxcb*.so" +libxcb-devel_files += "/usr/lib/pkgconfig/xcb*.pc" +libxcb-devel_files += "/usr/share/doc/packages/libxcb" + +libxcb-shape_files = "" +libxcb-shape_files += "libxcb.manifest" +libxcb-shape_files += "/usr/lib/libxcb-shape.so.0*" + +libxcb_files = "" +libxcb_files += "libxcb.manifest" +libxcb_files += "/usr/lib/libxcb.so.1*" + +libxcb-xevie_files = "" +libxcb-xevie_files += "libxcb.manifest" +libxcb-xevie_files += "/usr/lib/libxcb-xevie.so.0*" + +libxcb-xf86dri_files = "" +libxcb-xf86dri_files += "libxcb.manifest" +libxcb-xf86dri_files += "/usr/lib/libxcb-xf86dri.so.*" + +libxcb-shm_files = "" +libxcb-shm_files += "libxcb.manifest" +libxcb-shm_files += "/usr/lib/libxcb-shm.so.0*" + +libxcb-dpms_files = "" +libxcb-dpms_files += "libxcb.manifest" +libxcb-dpms_files += "/usr/lib/libxcb-dpms.so.0*" + +libxcb-docs_files = "" +libxcb-docs_files += "/usr/share/info" +libxcb-docs_files += "/usr/share/man" + +libxcb-glx_files = "" +libxcb-glx_files += "libxcb.manifest" +libxcb-glx_files += "/usr/lib/libxcb-glx.so.0*" + +libxcb-xfixes_files = "" +libxcb-xfixes_files += "libxcb.manifest" +libxcb-xfixes_files += "/usr/lib/libxcb-xfixes.so.*" + +libxcb-render_files = "" +libxcb-render_files += "libxcb.manifest" +libxcb-render_files += "/usr/lib/libxcb-render.so.0*" + +libxcb-screensaver_files = "" +libxcb-screensaver_files += "libxcb.manifest" +libxcb-screensaver_files += "/usr/lib/libxcb-screensaver.so.0*" + +libxcb-xinerama_files = "" +libxcb-xinerama_files += "libxcb.manifest" +libxcb-xinerama_files += "/usr/lib/libxcb-xinerama.so.0*" + +libxcb-sync_files = "" +libxcb-sync_files += "libxcb.manifest" +libxcb-sync_files += "/usr/lib/libxcb-sync.so.0*" + +libxcb-res_files = "" +libxcb-res_files += "libxcb.manifest" +libxcb-res_files += "/usr/lib/libxcb-res.so.0*" + +libxcb-xprint_files = "" +libxcb-xprint_files += "libxcb.manifest" +libxcb-xprint_files += "/usr/lib/libxcb-xprint.so.0*" + +libxcb-composite_files = "" +libxcb-composite_files += "libxcb.manifest" +libxcb-composite_files += "/usr/lib/libxcb-composite.so.0*" + +libxcb-damage_files = "" +libxcb-damage_files += "libxcb.manifest" +libxcb-damage_files += "/usr/lib/libxcb-damage.so.0*" + +libxcb-xv_files = "" +libxcb-xv_files += "libxcb.manifest" +libxcb-xv_files += "/usr/lib/libxcb-xv.so.0*" + +libxcb-xtest_files = "" +libxcb-xtest_files += "libxcb.manifest" +libxcb-xtest_files += "/usr/lib/libxcb-xtest.so.0*" + +libxcb-xvmc_files = "" +libxcb-xvmc_files += "libxcb.manifest" +libxcb-xvmc_files += "/usr/lib/libxcb-xvmc.so.0*" + +FILES_${PN}-dri2 = "${libxcb-dri2_files}" +FILES_${PN}-randr = "${libxcb-randr_files}" +FILES_${PN}-record = "${libxcb-record_files}" +FILES_${PN}-devel = "${libxcb-devel_files}" +FILES_${PN}-shape = "${libxcb-shape_files}" +FILES_${PN} = "${libxcb_files}" +FILES_${PN}-xevie = "${libxcb-xevie_files}" +FILES_${PN}-xf86dri = "${libxcb-xf86dri_files}" +FILES_${PN}-shm = "${libxcb-shm_files}" +FILES_${PN}-dpms = "${libxcb-dpms_files}" +FILES_${PN}-docs = "${libxcb-docs_files}" +FILES_${PN}-glx = "${libxcb-glx_files}" +FILES_${PN}-xfixes = "${libxcb-xfixes_files}" +FILES_${PN}-render = "${libxcb-render_files}" +FILES_${PN}-screensaver = "${libxcb-screensaver_files}" +FILES_${PN}-xinerama = "${libxcb-xinerama_files}" +FILES_${PN}-sync = "${libxcb-sync_files}" +FILES_${PN}-res = "${libxcb-res_files}" +FILES_${PN}-xprint = "${libxcb-xprint_files}" +FILES_${PN}-composite = "${libxcb-composite_files}" +FILES_${PN}-damage = "${libxcb-damage_files}" +FILES_${PN}-xv = "${libxcb-xv_files}" +FILES_${PN}-xtest = "${libxcb-xtest_files}" +FILES_${PN}-xvmc = "${libxcb-xvmc_files}" + +PKG_libxcb-dri2= "libxcb-dri2" +PKG_libxcb-randr= "libxcb-randr" +PKG_libxcb-record= "libxcb-record" +PKG_libxcb-devel= "libxcb-devel" +PKG_libxcb-shape= "libxcb-shape" +PKG_libxcb= "libxcb" +PKG_libxcb-xevie= "libxcb-xevie" +PKG_libxcb-xf86dri= "libxcb-xf86dri" +PKG_libxcb-shm= "libxcb-shm" +PKG_libxcb-dpms= "libxcb-dpms" +PKG_libxcb-docs= "libxcb-docs" +PKG_libxcb-glx= "libxcb-glx" +PKG_libxcb-xfixes= "libxcb-xfixes" +PKG_libxcb-render= "libxcb-render" +PKG_libxcb-screensaver= "libxcb-screensaver" +PKG_libxcb-xinerama= "libxcb-xinerama" +PKG_libxcb-sync= "libxcb-sync" +PKG_libxcb-res= "libxcb-res" +PKG_libxcb-xprint= "libxcb-xprint" +PKG_libxcb-composite= "libxcb-composite" +PKG_libxcb-damage= "libxcb-damage" +PKG_libxcb-xv= "libxcb-xv" +PKG_libxcb-xtest= "libxcb-xtest" +PKG_libxcb-xvmc= "libxcb-xvmc" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libxcb-rdepends.inc +require libxcb-depends.inc +require libxcb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-extraconf.inc b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-native_git.bb b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-native_git.bb new file mode 100644 index 0000000..71f22d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon-native_git.bb @@ -0,0 +1,12 @@ +require libxkbcommon.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxkbcommon;protocol=ssh;tag=90fa6102f8deca66be5b0bf9fa0960cb81d7039e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon.inc b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon.inc new file mode 100644 index 0000000..c11ae2d --- /dev/null +++ b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon.inc @@ -0,0 +1,143 @@ +DESCRIPTION = "Wayland libxkbcommon library" +HOMEPAGE = "http://wayland.freedesktop.org/" +SECTION = "Development/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libxkbcommon-devel +PROVIDES += "libxkbcommon-devel" +RPROVIDES_libxkbcommon-devel += "libxkbcommon-devel" +RPROVIDES_libxkbcommon-devel += "libxkbcommon-dev" + +#PROVIDES by libxkbcommon +PROVIDES += "libxkbcommon" +RPROVIDES_libxkbcommon += "libxkbcommon" + +RDEPENDS = "" +#RDEPENDS of libxkbcommon-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libxkbcommon" + + +DEPENDS = "" +#DEPENDS of libxkbcommon +DEPENDS += "flex" +DEPENDS += "pkgconfig(xorg-macros)" +DEPENDS += "pkgconfig-native" +DEPENDS += "automake-native" +DEPENDS += "libtool-cross" +DEPENDS += "bison-native" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -qn libxkbcommon + cp ${S}/packaging/libxkbcommon.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 V=1; + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libxkbcommon-devel" +PACKAGES += "libxkbcommon" + +libxkbcommon-devel_files = "" +libxkbcommon-devel_files += "libxkbcommon.manifest" +libxkbcommon-devel_files += "/usr/include/xkbcommon" +libxkbcommon-devel_files += "/usr/lib/libxkbcommon.so" +libxkbcommon-devel_files += "/usr/lib/pkgconfig/xkbcommon.pc" + +libxkbcommon_files = "" +libxkbcommon_files += "libxkbcommon.manifest" +libxkbcommon_files += "/usr/lib/libxkbcommon.so.0*" + +FILES_${PN}-devel = "${libxkbcommon-devel_files}" +FILES_${PN} = "${libxkbcommon_files}" + +PKG_libxkbcommon-devel= "libxkbcommon-devel" +PKG_libxkbcommon= "libxkbcommon" + +require libxkbcommon-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon_git.bb b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon_git.bb new file mode 100644 index 0000000..b66f9ad --- /dev/null +++ b/meta-tizen/recipes-tizen/libxkbcommon/libxkbcommon_git.bb @@ -0,0 +1,8 @@ +require libxkbcommon.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxkbcommon;protocol=ssh;tag=90fa6102f8deca66be5b0bf9fa0960cb81d7039e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxkbfile/libxkbfile-extraconf.inc b/meta-tizen/recipes-tizen/libxkbfile/libxkbfile-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libxkbfile/libxkbfile.inc b/meta-tizen/recipes-tizen/libxkbfile/libxkbfile.inc new file mode 100644 index 0000000..8e7ed0c --- /dev/null +++ b/meta-tizen/recipes-tizen/libxkbfile/libxkbfile.inc @@ -0,0 +1,42 @@ +DESCRIPTION = "X.Org xkbfile library" +HOMEPAGE = "http://www.x.org" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libxkbfile" +PACKAGES += "libxkbfile-devel" + +libxkbfile_files = "" +libxkbfile_files += "libxkbfile.manifest" +libxkbfile_files += "/usr/lib/libxkbfile.so.1" +libxkbfile_files += "/usr/lib/libxkbfile.so.1.0.2" + +libxkbfile-devel_files = "" +libxkbfile-devel_files += "libxkbfile.manifest" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKBbells.h" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKBconfig.h" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKBfile.h" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKBrules.h" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKM.h" +libxkbfile-devel_files += "/usr/include/X11/extensions/XKMformat.h" +libxkbfile-devel_files += "/usr/lib/libxkbfile.so" +libxkbfile-devel_files += "/usr/lib/pkgconfig/xkbfile.pc" + +FILES_${PN} = "${libxkbfile_files}" +FILES_${PN}-devel = "${libxkbfile-devel_files}" + +PKG_libxkbfile= "libxkbfile" +PKG_libxkbfile-devel= "libxkbfile-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require libxkbfile-rdepends.inc +require libxkbfile-depends.inc +require libxkbfile-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libxml2/libxml2-extraconf.inc b/meta-tizen/recipes-tizen/libxml2/libxml2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libxml2/libxml2-native_git.bb b/meta-tizen/recipes-tizen/libxml2/libxml2-native_git.bb new file mode 100644 index 0000000..4c8efa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libxml2/libxml2-native_git.bb @@ -0,0 +1,12 @@ +require libxml2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxml2;protocol=ssh;tag=e52e7cd8d3553116787eb0573f3b3d379f09698a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxml2/libxml2.inc b/meta-tizen/recipes-tizen/libxml2/libxml2.inc new file mode 100644 index 0000000..86ef0a8 --- /dev/null +++ b/meta-tizen/recipes-tizen/libxml2/libxml2.inc @@ -0,0 +1,164 @@ +DESCRIPTION = "A Library to Manipulate XML Files" +HOMEPAGE = "http://xmlsoft.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libxml2 +PROVIDES += "libxml2" +RPROVIDES_libxml2 += "libxml2" + +#PROVIDES by libxml2-devel +PROVIDES += "libxml2-devel" +RPROVIDES_libxml2-devel += "libxml2-devel" +RPROVIDES_libxml2-devel += "libxml2-dev" + +#PROVIDES by libxml2-tools +PROVIDES += "libxml2-tools" +RPROVIDES_libxml2-tools += "libxml2-tools" + +RDEPENDS = "" +#RDEPENDS of libxml2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "xz-dev" +RDEPENDS_${PN}-devel += "readline-dev" +RDEPENDS_${PN}-devel += "libxml2" +RDEPENDS_${PN}-devel += "libxml2-tools" + + +DEPENDS = "" +#DEPENDS of libxml2 +DEPENDS += "zlib-devel" +DEPENDS += "xz-devel" +DEPENDS += "pkgconfig-native" +DEPENDS += "readline-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libxml2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --docdir=/usr/share/doc/packages/libxml2 \ + --with-html-dir=/usr/share/doc/packages/libxml2/html \ + --with-fexceptions \ + --with-history \ + --without-python \ + --enable-ipv6 \ + --with-sax1 \ + --with-regexps \ + --with-threads \ + --with-reader \ + --with-http + + make -j16 BASE_DIR="/usr/share/doc/packages" DOC_MODULE="libxml2" + + exit 0 + # qemu-arm can't keep up atm, disabling check for arm + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR="${D}" BASE_DIR="/usr/share/doc/packages" DOC_MODULE="libxml2" + ln -s libxml2/libxml ${D}/usr/include/libxml + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/libxml2 + rm -rf ${D}/usr/share/doc/libxml2-2.8.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libxml2" +PACKAGES += "libxml2-devel" +PACKAGES += "libxml2-tools" + +libxml2_files = "" +libxml2_files += "libxml2.manifest" +libxml2_files += "/usr/lib/lib*.so.*" + +libxml2-devel_files = "" +libxml2-devel_files += "libxml2.manifest" +libxml2-devel_files += "/usr/bin/xml2-config" +libxml2-devel_files += "/usr/share/aclocal" +libxml2-devel_files += "/usr/share/aclocal/libxml.m4" +libxml2-devel_files += "/usr/include/libxml" +libxml2-devel_files += "/usr/include/libxml2" +libxml2-devel_files += "/usr/lib/lib*.so" +libxml2-devel_files += "/usr/lib/libxml2.la" +libxml2-devel_files += "/usr/lib/*.sh" +libxml2-devel_files += "/usr/lib/pkgconfig/*.pc" + +libxml2-tools_files = "" +libxml2-tools_files += "libxml2.manifest" +libxml2-tools_files += "/usr/bin/xmllint" +libxml2-tools_files += "/usr/bin/xmlcatalog" + +FILES_${PN} = "${libxml2_files}" +FILES_${PN}-devel = "${libxml2-devel_files}" +FILES_${PN}-tools = "${libxml2-tools_files}" + +PKG_libxml2= "libxml2" +PKG_libxml2-devel= "libxml2-devel" +PKG_libxml2-tools= "libxml2-tools" + +require libxml2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libxml2/libxml2_git.bb b/meta-tizen/recipes-tizen/libxml2/libxml2_git.bb new file mode 100644 index 0000000..4e438a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/libxml2/libxml2_git.bb @@ -0,0 +1,8 @@ +require libxml2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxml2;protocol=ssh;tag=e52e7cd8d3553116787eb0573f3b3d379f09698a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxslt/libxslt-extraconf.inc b/meta-tizen/recipes-tizen/libxslt/libxslt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libxslt/libxslt-native_git.bb b/meta-tizen/recipes-tizen/libxslt/libxslt-native_git.bb new file mode 100644 index 0000000..9ffcb0d --- /dev/null +++ b/meta-tizen/recipes-tizen/libxslt/libxslt-native_git.bb @@ -0,0 +1,12 @@ +require libxslt.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxslt;protocol=ssh;tag=42ca8ebd5c8117d41191e77e0741ec972139d004;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libxslt/libxslt.inc b/meta-tizen/recipes-tizen/libxslt/libxslt.inc new file mode 100644 index 0000000..d86e23d --- /dev/null +++ b/meta-tizen/recipes-tizen/libxslt/libxslt.inc @@ -0,0 +1,156 @@ +DESCRIPTION = "XSL Transformation Library" +HOMEPAGE = "http://xmlsoft.org/XSLT/" +SECTION = "System/Libraries" +LICENSE = "MIT and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libxslt +PROVIDES += "libxslt" +RPROVIDES_libxslt += "libxslt" + +#PROVIDES by libxslt-devel +PROVIDES += "libxslt-devel" +RPROVIDES_libxslt-devel += "libxslt-devel" +RPROVIDES_libxslt-devel += "libxslt-dev" + +#PROVIDES by libxslt-tools +PROVIDES += "libxslt-tools" +RPROVIDES_libxslt-tools += "libxslt-tools" +# the PROVIDES rules is ignore "xsltproc = 1.1.26-0" +PROVIDES += "xsltproc" +RPROVIDES_libxslt-tools += "xsltproc" + +RDEPENDS = "" +#RDEPENDS of libxslt-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libxslt-tools" +RDEPENDS_${PN}-devel += "libgpg-error-dev" +RDEPENDS_${PN}-devel += "libgcrypt-dev" +RDEPENDS_${PN}-devel += "libxslt" + + +DEPENDS = "" +#DEPENDS of libxslt +DEPENDS += "libxml2" +DEPENDS += "libtool-cross" +DEPENDS += "libgcrypt" +DEPENDS += "libgpg-error" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libxslt.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic --without-python + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Unwanted doc stuff + rm -fr ${D}/usr/share/doc + + # the manual page is required + install -ma=r '-t${D}/usr/share/man/man1' '${S}/packaging/xslt-config.1.gz' + + + +} + +PACKAGES = "" +PACKAGES += "libxslt-tools" +PACKAGES += "libxslt-devel" +PACKAGES += "libxslt" + +libxslt-tools_files = "" +libxslt-tools_files += "libxslt.manifest" +libxslt-tools_files += "/usr/bin/xsltproc" +libxslt-tools_files += "/usr/share/man/man1/xsltproc.*" + +libxslt-devel_files = "" +libxslt-devel_files += "libxslt.manifest" +libxslt-devel_files += "/usr/lib/lib*.so" +libxslt-devel_files += "/usr/lib/*.sh" +libxslt-devel_files += "/usr/lib/pkgconfig/*.pc" +libxslt-devel_files += "/usr/include/*" +libxslt-devel_files += "/usr/share/aclocal/*" +libxslt-devel_files += "/usr/bin/xslt-config" +libxslt-devel_files += "/usr/share/man/man1/xslt-config.*" +libxslt-devel_files += "/usr/share/man/man3/*" + +libxslt_files = "" +libxslt_files += "libxslt.manifest" +libxslt_files += "/usr/lib/lib*.so.*" + +FILES_${PN}-tools = "${libxslt-tools_files}" +FILES_${PN}-devel = "${libxslt-devel_files}" +FILES_${PN} = "${libxslt_files}" + +PKG_libxslt-tools= "libxslt-tools" +PKG_libxslt-devel= "libxslt-devel" +PKG_libxslt= "libxslt" + +require libxslt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libxslt/libxslt_git.bb b/meta-tizen/recipes-tizen/libxslt/libxslt_git.bb new file mode 100644 index 0000000..4c6fb06 --- /dev/null +++ b/meta-tizen/recipes-tizen/libxslt/libxslt_git.bb @@ -0,0 +1,8 @@ +require libxslt.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxslt;protocol=ssh;tag=42ca8ebd5c8117d41191e77e0741ec972139d004;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzio/libzio-extraconf.inc b/meta-tizen/recipes-tizen/libzio/libzio-extraconf.inc new file mode 100644 index 0000000..eb8cc71 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzio/libzio-extraconf.inc @@ -0,0 +1,4 @@ +do_patch_append () { +sed -e 's,zioP.h: /usr/include/bzlib.h /usr/include/zlib.h,zioP.h: ${base_prefix}/usr/include/bzlib.h ${base_prefix}/usr/include/zlib.h,' -i Makefile +sed -e 's,zio.h: zio.h.in /usr/include/stdio.h,zio.h: zio.h.in ${base_prefix}/usr/include/stdio.h,' -i Makefile +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/libzio/libzio-native_git.bb b/meta-tizen/recipes-tizen/libzio/libzio-native_git.bb new file mode 100644 index 0000000..5d75e85 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzio/libzio-native_git.bb @@ -0,0 +1,12 @@ +require libzio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzio;protocol=ssh;tag=f750036332dc9311f2a4d207fcc238a7ca28edd1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzio/libzio.inc b/meta-tizen/recipes-tizen/libzio/libzio.inc new file mode 100644 index 0000000..8eb9598 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzio/libzio.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "A Library for Accessing Compressed Text Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libzio-devel +PROVIDES += "libzio-devel" +RPROVIDES_libzio-devel += "libzio-devel" +RPROVIDES_libzio-devel += "libzio-dev" + +#PROVIDES by libzio +PROVIDES += "libzio" +RPROVIDES_libzio += "libzio" + +RDEPENDS = "" +#RDEPENDS of libzio-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libzio" + + +DEPENDS = "" +#DEPENDS of libzio +DEPENDS += "xz" +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "xz-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libzio.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 noweak + + exit 0 + make testt + make tests + for comp in gzip bzip2 lzma xz + do + $comp -c < fzopen.3.in > fzopen.test + ./testt fzopen.test | cmp fzopen.3.in - + cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in - + done + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} install libdir=/usr/lib mandir=/usr/share/man + + +} + +PACKAGES = "" +PACKAGES += "libzio-devel" +PACKAGES += "libzio" + +libzio-devel_files = "" +libzio-devel_files += "libzio.manifest" +libzio-devel_files += "README COPYING" +libzio-devel_files += "/usr/lib/libzio.a" +libzio-devel_files += "/usr/lib/libzio.so" +libzio-devel_files += "/usr/share/man/man3/fzopen.3*" +libzio-devel_files += "/usr/include/zio.h" + +libzio_files = "" +libzio_files += "libzio.manifest" +libzio_files += "/usr/lib/libzio.so.0" +libzio_files += "/usr/lib/libzio.so.0.99" + +FILES_${PN}-devel = "${libzio-devel_files}" +FILES_${PN} = "${libzio_files}" + +PKG_libzio-devel= "libzio-devel" +PKG_libzio= "libzio" + +require libzio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libzio/libzio_git.bb b/meta-tizen/recipes-tizen/libzio/libzio_git.bb new file mode 100644 index 0000000..1a024f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzio/libzio_git.bb @@ -0,0 +1,8 @@ +require libzio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzio;protocol=ssh;tag=f750036332dc9311f2a4d207fcc238a7ca28edd1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzip/libzip-extraconf.inc b/meta-tizen/recipes-tizen/libzip/libzip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libzip/libzip-native_git.bb b/meta-tizen/recipes-tizen/libzip/libzip-native_git.bb new file mode 100644 index 0000000..fa3385e --- /dev/null +++ b/meta-tizen/recipes-tizen/libzip/libzip-native_git.bb @@ -0,0 +1,12 @@ +require libzip.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzip;protocol=ssh;tag=9faf2ab577aff58b9159638e179514bc89fd51ec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzip/libzip.inc b/meta-tizen/recipes-tizen/libzip/libzip.inc new file mode 100644 index 0000000..dd7b9da --- /dev/null +++ b/meta-tizen/recipes-tizen/libzip/libzip.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "C library for reading, creating, and modifying zip archives" +HOMEPAGE = "http://www.nih.at/libzip" +SECTION = "Development/Libraries/C and C++" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libzip-util +PROVIDES += "libzip-util" +RPROVIDES_libzip-util += "libzip-util" + +#PROVIDES by libzip +PROVIDES += "libzip" +RPROVIDES_libzip += "libzip" + +#PROVIDES by libzip-devel +PROVIDES += "libzip-devel" +RPROVIDES_libzip-devel += "libzip-devel" +RPROVIDES_libzip-devel += "libzip-dev" + +RDEPENDS = "" +#RDEPENDS of libzip-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libzip" + + +DEPENDS = "" +#DEPENDS of libzip +DEPENDS += "zlib-devel" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libzip.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + exit 0 + make -j16 check VERBOSE=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + cp lib/zipconf.h ${D}//usr/include/zipconf.h + + +} + +PACKAGES = "" +PACKAGES += "libzip" +PACKAGES += "libzip-util" +PACKAGES += "libzip-devel" + +libzip_files = "" +libzip_files += "libzip.manifest" +libzip_files += "/usr/lib/libzip.so.*" + +libzip-util_files = "" +libzip-util_files += "libzip.manifest" +libzip-util_files += "/usr/bin/ziptorrent" +libzip-util_files += "/usr/bin/zipcmp" +libzip-util_files += "/usr/bin/zipmerge" +libzip-util_files += "/usr/share/man/man1/*.1*" + +libzip-devel_files = "" +libzip-devel_files += "libzip.manifest" +libzip-devel_files += "/usr/lib/libzip.so" +libzip-devel_files += "/usr/include/zip.h" +libzip-devel_files += "/usr/include/zipconf.h" +libzip-devel_files += "/usr/lib/libzip/" +libzip-devel_files += "/usr/lib/pkgconfig/libzip.pc" +libzip-devel_files += "/usr/share/man/man3/*.3*" + +FILES_${PN} = "${libzip_files}" +FILES_${PN}-util = "${libzip-util_files}" +FILES_${PN}-devel = "${libzip-devel_files}" + +PKG_libzip= "libzip" +PKG_libzip-util= "libzip-util" +PKG_libzip-devel= "libzip-devel" + +require libzip-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libzip/libzip_git.bb b/meta-tizen/recipes-tizen/libzip/libzip_git.bb new file mode 100644 index 0000000..f4cc434 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzip/libzip_git.bb @@ -0,0 +1,8 @@ +require libzip.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzip;protocol=ssh;tag=9faf2ab577aff58b9159638e179514bc89fd51ec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-extraconf.inc b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-native_git.bb b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-native_git.bb new file mode 100644 index 0000000..cc8f950 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings-native_git.bb @@ -0,0 +1,12 @@ +require libzypp-bindings.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzypp-bindings;protocol=ssh;tag=409530a62d49b0e76e1c045d105ffd6a5ca97327;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings.inc b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings.inc new file mode 100644 index 0000000..d33f6dd --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Bindings for libzypp" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Sources" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libzypp-bindings +PROVIDES += "libzypp-bindings" +RPROVIDES_libzypp-bindings += "libzypp-bindings" + +#PROVIDES by python-zypp +PROVIDES += "python-zypp" +RPROVIDES_python-zypp += "python-zypp" + +RDEPENDS = "" +#RDEPENDS of python-zypp (python-zypp) +RDEPENDS_python-zypp += "libzypp" + + +DEPENDS = "" +#DEPENDS of libzypp-bindings +DEPENDS += "libzypp" +DEPENDS += "gcc-cross" +DEPENDS += "python-devel" +DEPENDS += "cmake" +DEPENDS += "swig" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libzypp-bindings.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + mkdir build + cd build + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \ + -DPYTHON_SITEDIR=/usr/lib/python2.7/site-packages \ + -DLIB=lib \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=1 \ + .. + make -j1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build + make install DESTDIR=$RPM_BUILD_ROOT + + +} + +PACKAGES = "" +PACKAGES += "python-zypp" + +python-zypp_files = "" +python-zypp_files += "libzypp-bindings.manifest" +python-zypp_files += "/usr/lib/python2.7/site-packages/_zypp.so" +python-zypp_files += "/usr/lib/python2.7/site-packages/zypp.py*" + +FILES_python-zypp = "${python-zypp_files}" + +PKG_python-zypp= "python-zypp" + +require libzypp-bindings-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings_git.bb b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings_git.bb new file mode 100644 index 0000000..d6bba8f --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp-bindings/libzypp-bindings_git.bb @@ -0,0 +1,8 @@ +require libzypp-bindings.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzypp-bindings;protocol=ssh;tag=409530a62d49b0e76e1c045d105ffd6a5ca97327;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzypp/libzypp-extraconf.inc b/meta-tizen/recipes-tizen/libzypp/libzypp-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libzypp/libzypp-native_git.bb b/meta-tizen/recipes-tizen/libzypp/libzypp-native_git.bb new file mode 100644 index 0000000..e8d2979 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp/libzypp-native_git.bb @@ -0,0 +1,12 @@ +require libzypp.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzypp;protocol=ssh;tag=57587ac96baca2409ffdcb250eee574822012fa6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/libzypp/libzypp.inc b/meta-tizen/recipes-tizen/libzypp/libzypp.inc new file mode 100644 index 0000000..249c94d --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp/libzypp.inc @@ -0,0 +1,211 @@ +DESCRIPTION = "Package, Patch, Pattern, and Product Management" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Package Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libzypp-locale +PROVIDES += "libzypp-locale " +RPROVIDES_libzypp-locale += "libzypp-locale " +# the PROVIDES rules is ignore "libzypp-lang-all = 12.11.0" +PROVIDES += "libzypp-lang-all" +RPROVIDES_libzypp-locale += "libzypp-lang-all" + +#PROVIDES by libzypp +PROVIDES += "libzypp" +RPROVIDES_libzypp += "libzypp" +# the PROVIDES rules is ignore "libzypp(plugin) = 0" +PROVIDES += "libzypp(plugin)" +RPROVIDES_libzypp += "libzypp(plugin)" +# the PROVIDES rules is ignore "libzypp(plugin:commit) = 0" +PROVIDES += "libzypp(plugin:commit)" +RPROVIDES_libzypp += "libzypp(plugin:commit)" +# the PROVIDES rules is ignore "libzypp(plugin:services) = 0" +PROVIDES += "libzypp(plugin:services)" +RPROVIDES_libzypp += "libzypp(plugin:services)" +# the PROVIDES rules is ignore "libzypp(plugin:system) = 0" +PROVIDES += "libzypp(plugin:system)" +RPROVIDES_libzypp += "libzypp(plugin:system)" +# the PROVIDES rules is ignore "libzypp(plugin:urlresolver) = 0" +PROVIDES += "libzypp(plugin:urlresolver)" +RPROVIDES_libzypp += "libzypp(plugin:urlresolver)" + +#PROVIDES by libzypp-devel +PROVIDES += "libzypp-devel" +RPROVIDES_libzypp-devel += "libzypp-devel" +RPROVIDES_libzypp-devel += "libzypp-dev" + +RDEPENDS = "" +#RDEPENDS of libzypp-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "libzypp" + +#RDEPENDS of libzypp (${PN}) +RDEPENDS_${PN} += "libcurl" +RDEPENDS_${PN} += "rpm" +RDEPENDS_${PN} += "libsolv-tools" +RDEPENDS_${PN} += "lsof" + +#RDEPENDS of libzypp-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "bzip2" +RDEPENDS_${PN}-devel += "boost-dev" +RDEPENDS_${PN}-devel += "popt-dev" +RDEPENDS_${PN}-devel += "libstdc++-dev" +RDEPENDS_${PN}-devel += "libxml2-dev" +RDEPENDS_${PN}-devel += "libcurl-dev" +RDEPENDS_${PN}-devel += "openssl-dev" +RDEPENDS_${PN}-devel += "libudev-dev" +RDEPENDS_${PN}-devel += "libzypp" +RDEPENDS_${PN}-devel += "rpm-dev" +RDEPENDS_${PN}-devel += "cmake" +RDEPENDS_${PN}-devel += "libsolv-dev" + + +DEPENDS = "" +#DEPENDS of libzypp +DEPENDS += "glib" +DEPENDS += "rpm-devel" +DEPENDS += "gcc-cross" +DEPENDS += "doxygen" +DEPENDS += "cmake" +DEPENDS += "libsolv" +DEPENDS += "libxml2" +DEPENDS += "expat" +DEPENDS += "pkgconfig-native" +DEPENDS += "openssl-devel" +DEPENDS += "libudev-devel" +DEPENDS += "pkgconfig(libproxy-1.0)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "popt-devel" +DEPENDS += "curl" +DEPENDS += "boost" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libzypp.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + mkdir build + cd build + export CFLAGS="$RPM_OPT_FLAGS" + export CXXFLAGS="$RPM_OPT_FLAGS" + unset TRANSLATION_SET + unset EXTRA_CMAKE_OPTIONS + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DDOC_INSTALL_DIR=/usr/share/doc/packages \ + -DLIB=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=1 \ + -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypp} \ + ${EXTRA_CMAKE_OPTIONS} \ + .. + make -j16 VERBOSE=1 + make -C doc/autodoc -j16 + make -C po -j16 translations + + + #make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf "$RPM_BUILD_ROOT" + cd build + make install DESTDIR=$RPM_BUILD_ROOT + make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT/etc/zypp/repos.d + mkdir -p $RPM_BUILD_ROOT/etc/zypp/services.d + mkdir -p $RPM_BUILD_ROOT/etc/zypp/vendors.d + mkdir -p $RPM_BUILD_ROOT/etc/zypp/multiversion.d + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp/plugins + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp/plugins/commit + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp/plugins/services + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp/plugins/system + mkdir -p $RPM_BUILD_ROOT/usr/lib/zypp/plugins/urlresolver + mkdir -p $RPM_BUILD_ROOT/var/lib/zypp + mkdir -p $RPM_BUILD_ROOT/var/log/zypp + mkdir -p $RPM_BUILD_ROOT/var/cache/zypp + + make -C po install DESTDIR=$RPM_BUILD_ROOT + # Create filelist with translations + cd .. + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} zypp + + +} + +PACKAGES = "" +PACKAGES += "libzypp" +PACKAGES += "libzypp-devel" +PACKAGES += "libzypp-locale" + +libzypp_files = "" +libzypp_files += "libzypp.manifest" +libzypp_files += "/etc/zypp" +libzypp_files += "/etc/zypp/repos.d" +libzypp_files += "/etc/zypp/services.d" +libzypp_files += "/etc/zypp/vendors.d" +libzypp_files += "/etc/zypp/multiversion.d" +libzypp_files += "/etc/zypp/zypp.conf" +libzypp_files += "/etc/zypp/systemCheck" +libzypp_files += "/etc/logrotate.d/zypp-history.lr" +libzypp_files += "/var/lib/zypp" +libzypp_files += "/var/log/zypp" +libzypp_files += "/var/cache/zypp" +libzypp_files += "/usr/lib/zypp" +libzypp_files += "/usr/share/zypp" +libzypp_files += "/usr/bin/*" +libzypp_files += "/usr/lib/libzypp*so.*" +libzypp_files += "/usr/share/man/man5/locks.5.*" + +libzypp-devel_files = "" +libzypp-devel_files += "libzypp.manifest" +libzypp-devel_files += "/usr/lib/libzypp.so" +libzypp-devel_files += "/usr/share/doc/packages/libzypp" +libzypp-devel_files += "/usr/include/zypp" +libzypp-devel_files += "/usr/share/cmake/Modules/*" +libzypp-devel_files += "/usr/lib/pkgconfig/libzypp.pc" + +libzypp-locale_files = "" + +FILES_${PN} = "${libzypp_files}" +FILES_${PN}-devel = "${libzypp-devel_files}" +FILES_${PN}-locale = "${libzypp-locale_files}" + +PKG_libzypp= "libzypp" +PKG_libzypp-devel= "libzypp-devel" +PKG_libzypp-locale= "libzypp-locale" + +require libzypp-extraconf.inc diff --git a/meta-tizen/recipes-tizen/libzypp/libzypp_git.bb b/meta-tizen/recipes-tizen/libzypp/libzypp_git.bb new file mode 100644 index 0000000..8a3d587 --- /dev/null +++ b/meta-tizen/recipes-tizen/libzypp/libzypp_git.bb @@ -0,0 +1,8 @@ +require libzypp.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libzypp;protocol=ssh;tag=57587ac96baca2409ffdcb250eee574822012fa6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-extraconf.inc b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-native_git.bb b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-native_git.bb new file mode 100644 index 0000000..dd54b1e --- /dev/null +++ b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner-native_git.bb @@ -0,0 +1,12 @@ +require lightmediascanner.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lightmediascanner;protocol=ssh;tag=c59bac32f101131901aa95bea7c55c1b602ae764;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner.inc b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner.inc new file mode 100644 index 0000000..48f8d49 --- /dev/null +++ b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "Light media scanner is a media indexer for embedded devices" +HOMEPAGE = "https://github.com/profusion/lightmediascanner" +SECTION = "Multimedia/Libraries" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lightmediascanner +PROVIDES += "lightmediascanner" +RPROVIDES_lightmediascanner += "lightmediascanner" + +#PROVIDES by lightmediascanner-devel +PROVIDES += "lightmediascanner-devel" +RPROVIDES_lightmediascanner-devel += "lightmediascanner-devel" +RPROVIDES_lightmediascanner-devel += "lightmediascanner-dev" + +#PROVIDES by lightmediascanner-test +PROVIDES += "lightmediascanner-test" +RPROVIDES_lightmediascanner-test += "lightmediascanner-test" + +RDEPENDS = "" +#RDEPENDS of lightmediascanner (${PN}) +RDEPENDS_${PN} += "libmp4v2" +RDEPENDS_${PN} += "libtheora" + +#RDEPENDS of lightmediascanner-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "lightmediascanner" + +#RDEPENDS of lightmediascanner-test (${PN}-test) +RDEPENDS_${PN}-test += "lightmediascanner" + + +DEPENDS = "" +#DEPENDS of lightmediascanner +DEPENDS += "sqlite-devel" +DEPENDS += "libmp4v2" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(vorbis)" +DEPENDS += "pkgconfig(flac)" +DEPENDS += "libav" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libtheora" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lightmediascanner-0.4.5 + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Temporarily install test binaries + mkdir -p ${D}//usr/bin + libtool --mode=install install -m 0755 ${WORKDIR}/lightmediascanner-0.4.5/src/bin/test ${D}//usr/bin/lms-test + libtool --mode=install install -m 0755 ${WORKDIR}/lightmediascanner-0.4.5/src/bin/list-parsers ${D}//usr/bin/lms-list-parsers + + +} + +PACKAGES = "" +PACKAGES += "lightmediascanner" +PACKAGES += "lightmediascanner-devel" +PACKAGES += "lightmediascanner-test" + +lightmediascanner_files = "" +lightmediascanner_files += "AUTHORS README" +lightmediascanner_files += "/usr/lib/*.so.*" +lightmediascanner_files += "/usr/lib/lightmediascanner/plugins/*" +lightmediascanner_files += "/usr/share/dbus-1/services/*.service" + +lightmediascanner-devel_files = "" +lightmediascanner-devel_files += "/usr/include/*" +lightmediascanner-devel_files += "/usr/lib/*.so" +lightmediascanner-devel_files += "/usr/lib/pkgconfig/*" + +lightmediascanner-test_files = "" +lightmediascanner-test_files += "/usr/bin/*" + +FILES_${PN} = "${lightmediascanner_files}" +FILES_${PN}-devel = "${lightmediascanner-devel_files}" +FILES_${PN}-test = "${lightmediascanner-test_files}" + +PKG_lightmediascanner= "lightmediascanner" +PKG_lightmediascanner-devel= "lightmediascanner-devel" +PKG_lightmediascanner-test= "lightmediascanner-test" + +require lightmediascanner-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner_git.bb b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner_git.bb new file mode 100644 index 0000000..008c027 --- /dev/null +++ b/meta-tizen/recipes-tizen/lightmediascanner/lightmediascanner_git.bb @@ -0,0 +1,8 @@ +require lightmediascanner.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lightmediascanner;protocol=ssh;tag=c59bac32f101131901aa95bea7c55c1b602ae764;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/links/links-extraconf.inc b/meta-tizen/recipes-tizen/links/links-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/links/links-native_git.bb b/meta-tizen/recipes-tizen/links/links-native_git.bb new file mode 100644 index 0000000..6023bac --- /dev/null +++ b/meta-tizen/recipes-tizen/links/links-native_git.bb @@ -0,0 +1,12 @@ +require links.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/links;protocol=ssh;tag=23d6c1572ece5bb74ba5d2ac27faa92df1d5d562;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/links/links.inc b/meta-tizen/recipes-tizen/links/links.inc new file mode 100644 index 0000000..55c9d27 --- /dev/null +++ b/meta-tizen/recipes-tizen/links/links.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "Text-Based WWW Browser" +HOMEPAGE = "http://artax.karlin.mff.cuni.cz/~mikulas/links/" +SECTION = "Productivity/Networking/Web/Browsers" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by links +PROVIDES += "links" +RPROVIDES_links += "links" +# the PROVIDES rules is ignore "web_browser " +PROVIDES += "web_browser" +RPROVIDES_links += "web_browser" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of links +DEPENDS += "pkgconfig-native" +DEPENDS += "openssl-devel" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n links-2.6 + cp ${S}/packaging/links.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -ifv + CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-ssl --with-pic + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/{/usr/share/man/man1,usr/bin,/usr/share/info} + cp links.1 $RPM_BUILD_ROOT//usr/share/man/man1 + make install DESTDIR=$RPM_BUILD_ROOT + make clean + make EXTRAA="-DSHOW_COLOR=TRUE" + install links $RPM_BUILD_ROOT/usr/bin/links + + +} + +PACKAGES = "" +PACKAGES += "links" + +links_files = "" +links_files += "links.manifest" +links_files += "/usr/bin/links" +links_files += "/usr/share/man/man1/links.1.gz" + +FILES_${PN} = "${links_files}" + +PKG_links= "links" + +require links-extraconf.inc diff --git a/meta-tizen/recipes-tizen/links/links_git.bb b/meta-tizen/recipes-tizen/links/links_git.bb new file mode 100644 index 0000000..c66c890 --- /dev/null +++ b/meta-tizen/recipes-tizen/links/links_git.bb @@ -0,0 +1,8 @@ +require links.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/links;protocol=ssh;tag=23d6c1572ece5bb74ba5d2ac27faa92df1d5d562;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/linux-firmware/linux-firmware-extraconf.inc b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/linux-firmware/linux-firmware-native_git.bb b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware-native_git.bb new file mode 100644 index 0000000..7d34893 --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware-native_git.bb @@ -0,0 +1,12 @@ +require linux-firmware.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/linux-firmware;protocol=ssh;tag=495bc902da2000baf67b0cc6af9906f3b7b6de84;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/linux-firmware/linux-firmware.inc b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware.inc new file mode 100644 index 0000000..e67d774 --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "Firmware for various devices" +HOMEPAGE = "ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/" +SECTION = "System/Kernel" +LICENSE = "Redistributable, no modification permitted" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by linux-firmware +PROVIDES += "linux-firmware" +RPROVIDES_linux-firmware += "linux-firmware" + +#PROVIDES by linux-firmware-ivi +PROVIDES += "linux-firmware-ivi" +RPROVIDES_linux-firmware-ivi += "linux-firmware-ivi" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of linux-firmware +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/linux-firmware.manifest . + find . -type f -exec chmod 0644 {} ';' + + +} + +do_configure() { +} + +do_compile() { + 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} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/lib/firmware + cp -a * ${D}/lib/firmware/ + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/lib/firmware | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "linux-firmware" +PACKAGES += "linux-firmware-ivi" + +linux-firmware_files = "" +linux-firmware_files += "linux-firmware.manifest" +linux-firmware_files += "/lib/firmware/*" + +linux-firmware-ivi_files = "" +linux-firmware-ivi_files += "linux-firmware.manifest" +linux-firmware-ivi_files += "/lib/firmware/iwlwifi-6000g2b-6.ucode" +linux-firmware-ivi_files += "/lib/firmware/iwlwifi-7260-8.ucode" +linux-firmware-ivi_files += "/lib/firmware/iwlwifi-3160-8.ucode" +linux-firmware-ivi_files += "/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq" +linux-firmware-ivi_files += "/lib/firmware/intel/ibt-hw-37.7.bseq" +linux-firmware-ivi_files += "/lib/firmware/LICENCE.ibt_firmware" +linux-firmware-ivi_files += "/lib/firmware/LICENCE.iwlwifi_firmware" + +FILES_${PN} = "${linux-firmware_files}" +FILES_${PN}-ivi = "${linux-firmware-ivi_files}" + +PKG_linux-firmware= "linux-firmware" +PKG_linux-firmware-ivi= "linux-firmware-ivi" + +require linux-firmware-extraconf.inc diff --git a/meta-tizen/recipes-tizen/linux-firmware/linux-firmware_git.bb b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware_git.bb new file mode 100644 index 0000000..144424c --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-firmware/linux-firmware_git.bb @@ -0,0 +1,8 @@ +require linux-firmware.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/linux-firmware;protocol=ssh;tag=495bc902da2000baf67b0cc6af9906f3b7b6de84;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-extraconf.inc b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-native_git.bb b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-native_git.bb new file mode 100644 index 0000000..6daada4 --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel-native_git.bb @@ -0,0 +1,12 @@ +require linux-glibc-devel.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/linux-glibc-devel;protocol=ssh;tag=e42dce452f7a10dd9f1cdfc8665b30bd758902fc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel.inc b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel.inc new file mode 100644 index 0000000..c4c54d2 --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Linux headers for userspace development" +HOMEPAGE = "http://www.kernel.org/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by linux-glibc-devel +PROVIDES += "linux-glibc-devel" +RPROVIDES_linux-glibc-devel += "linux-glibc-devel" +RPROVIDES_linux-glibc-devel += "linux-glibc-dev" +# the PROVIDES rules is ignore "kernel-headers " +PROVIDES += "kernel-headers" +RPROVIDES_linux-glibc-devel += "kernel-headers" +# the PROVIDES rules is ignore "linux-kernel-headers = 3.10" +PROVIDES += "linux-kernel-headers" +RPROVIDES_linux-glibc-devel += "linux-kernel-headers" + +RDEPENDS = "" +#RDEPENDS of linux-glibc-devel (${PN}) +RDEPENDS_${PN} += "coreutils" + + +DEPENDS = "" +#DEPENDS of linux-glibc-devel +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n linux-glibc-devel-3.10 + cp ${S}/packaging/linux-glibc-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cat > version.h <<-BOGUS + #ifdef __KERNEL__ + #error "=======================================================" + #error "You should not include /usr/include/{linux,asm}/ header" + #error "files directly for the compilation of kernel modules." + #error "" + #error "glibc now uses kernel header files from a well-defined" + #error "working kernel version (as recommended by Linus Torvalds)" + #error "These files are glibc internal and may not match the" + #error "currently running kernel. They should only be" + #error "included via other system header files - user space" + #error "programs should not directly include or" + #error " as well." + #error "" + #error "Since Linux 2.6, the kernel module build process has been" + #error "updated such that users building modules should not typically" + #error "need to specify additional include directories at all." + #error "" + #error "To build kernel modules, ensure you have the build environment " + #error "available either via the kernel-devel and kernel--devel " + #error "packages or a properly configured kernel source tree." + #error "" + #error "Then, modules can be built using:" + #error "make -C M=$PWD" + #error "" + #error "For the currently running kernel there will be a symbolic " + #error "link pointing to the build environment located at " + #error "/lib/modules/$(uname -r)/build for use as ." + #error "" + #error "If you are seeing this message, your environment is " + #error "not configured properly. " + #error "" + #error "Please adjust the Makefile accordingly." + #error "=======================================================" + #else + BOGUS + # Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel + cat usr/include/linux/version.h >> version.h + cat >> version.h <<-BOGUS + #endif + BOGUS + cat version.h + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cp -a usr ${D} + cp -a version.h ${D}/usr/include/linux/ + # Temporarily exclude i2c header files, which are provided by i2c-tools instead + rm -fv ${D}/usr/include/linux/i2c-dev.h + # resolve file conflict with glibc for now + rm -fv ${D}//usr/include/scsi/scsi* + # Replace the directory /usr/include/asm with a symlink. + # libc contained a symlink /usr/include/asm into kernel-source up to 7.0 (2.1.3) + # glibc-devel contained a symlink /usr/include/asm into kernel-source in 7.1 (2.2) + # glibc-devel contained a directory /usr/include/asm from 7.2 (2.2.2) up to 10.1/SLES10 (2.4) + # The directory moved from glibc-devel to linux-kernel-headers in 10.2 (2.6.18.2) + # The directory turned into a symlink in 10.3 (2.6.22) + # rpm will remove obsolete files after the post install scripts + # A trigger will run after the /usr/include/asm was removed + # Create a dummy symlink now for rpmlint happiness, we %ghost this and create + # a proper symlink during %post: + ln -sfn asm-dummy ${D}/usr/include/asm + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "linux-glibc-devel" + +linux-glibc-devel_files = "" +linux-glibc-devel_files += "linux-glibc-devel.manifest" +linux-glibc-devel_files += "/usr/include/*" + +FILES_${PN} = "${linux-glibc-devel_files}" + +PKG_linux-glibc-devel= "linux-glibc-devel" + +require linux-glibc-devel-extraconf.inc diff --git a/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel_git.bb b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel_git.bb new file mode 100644 index 0000000..3366113 --- /dev/null +++ b/meta-tizen/recipes-tizen/linux-glibc-devel/linux-glibc-devel_git.bb @@ -0,0 +1,8 @@ +require linux-glibc-devel.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/linux-glibc-devel;protocol=ssh;tag=e42dce452f7a10dd9f1cdfc8665b30bd758902fc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp-extraconf.inc b/meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp.inc b/meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp.inc new file mode 100644 index 0000000..bef20f7 --- /dev/null +++ b/meta-tizen/recipes-tizen/livebox-cpp/livebox-cpp.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "C++ adaptor for a livebox" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "liblivebox-cpp" +PACKAGES += "liblivebox-cpp-devel" + +liblivebox-cpp_files = "" +liblivebox-cpp_files += "liblivebox-cpp.manifest" +liblivebox-cpp_files += "/usr/lib/*.so*" +liblivebox-cpp_files += "/usr/share/license/*" + +liblivebox-cpp-devel_files = "" +liblivebox-cpp-devel_files += "liblivebox-cpp.manifest" +liblivebox-cpp-devel_files += "/usr/include/livebox-cpp/livebox-cpp.h" +liblivebox-cpp-devel_files += "/usr/share/doc/livebox-cpp/livebox-cpp_PG.h" +liblivebox-cpp-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${liblivebox-cpp_files}" +FILES_${PN}-devel = "${liblivebox-cpp-devel_files}" + +PKG_liblivebox-cpp= "liblivebox-cpp" +PKG_liblivebox-cpp-devel= "liblivebox-cpp-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require livebox-cpp-rdepends.inc +require livebox-cpp-depends.inc +require livebox-cpp-extraconf.inc diff --git a/meta-tizen/recipes-tizen/livebox-service/livebox-service-extraconf.inc b/meta-tizen/recipes-tizen/livebox-service/livebox-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/livebox-service/livebox-service.inc b/meta-tizen/recipes-tizen/livebox-service/livebox-service.inc new file mode 100644 index 0000000..2bc7781 --- /dev/null +++ b/meta-tizen/recipes-tizen/livebox-service/livebox-service.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Service API for gathering installed livebox information" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "liblivebox-service-devel" +PACKAGES += "liblivebox-service" + +liblivebox-service-devel_files = "" +liblivebox-service-devel_files += "liblivebox-service.manifest" +liblivebox-service-devel_files += "liblivebox-service.manifest" +liblivebox-service-devel_files += "/usr/include/livebox-service/livebox-service.h" +liblivebox-service-devel_files += "/usr/include/livebox-service/livebox-errno.h" +liblivebox-service-devel_files += "/usr/lib/pkgconfig/*.pc" + +liblivebox-service_files = "" +liblivebox-service_files += "liblivebox-service.manifest" +liblivebox-service_files += "liblivebox-service.manifest" +liblivebox-service_files += "/usr/lib/*.so*" + +FILES_${PN}-devel = "${liblivebox-service-devel_files}" +FILES_${PN} = "${liblivebox-service_files}" + +PKG_liblivebox-service-devel= "liblivebox-service-devel" +PKG_liblivebox-service= "liblivebox-service" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require livebox-service-rdepends.inc +require livebox-service-depends.inc +require livebox-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer-extraconf.inc b/meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer.inc b/meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer.inc new file mode 100644 index 0000000..5de4773 --- /dev/null +++ b/meta-tizen/recipes-tizen/livebox-viewer/livebox-viewer.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Library for developing the application." +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "liblivebox-viewer-devel" +PACKAGES += "liblivebox-viewer" + +liblivebox-viewer-devel_files = "" +liblivebox-viewer-devel_files += "/usr/include/livebox-viewer/livebox.h" +liblivebox-viewer-devel_files += "/usr/lib/pkgconfig/*.pc" + +liblivebox-viewer_files = "" +liblivebox-viewer_files += "liblivebox-viewer.manifest" +liblivebox-viewer_files += "/usr/lib/*.so*" +liblivebox-viewer_files += "/usr/share/license/*" + +FILES_${PN}-devel = "${liblivebox-viewer-devel_files}" +FILES_${PN} = "${liblivebox-viewer_files}" + +PKG_liblivebox-viewer-devel= "liblivebox-viewer-devel" +PKG_liblivebox-viewer= "liblivebox-viewer" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require livebox-viewer-rdepends.inc +require livebox-viewer-depends.inc +require livebox-viewer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/livebox/livebox-extraconf.inc b/meta-tizen/recipes-tizen/livebox/livebox-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/livebox/livebox.inc b/meta-tizen/recipes-tizen/livebox/livebox.inc new file mode 100644 index 0000000..c570932 --- /dev/null +++ b/meta-tizen/recipes-tizen/livebox/livebox.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Library for the development of a livebox" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Livebox" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "liblivebox" +PACKAGES += "liblivebox-devel" + +liblivebox_files = "" +liblivebox_files += "liblivebox.manifest" +liblivebox_files += "/usr/lib/*.so*" +liblivebox_files += "/usr/share/license/*" + +liblivebox-devel_files = "" +liblivebox-devel_files += "liblivebox.manifest" +liblivebox-devel_files += "/usr/include/livebox/livebox.h" +liblivebox-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${liblivebox_files}" +FILES_${PN}-devel = "${liblivebox-devel_files}" + +PKG_liblivebox= "liblivebox" +PKG_liblivebox-devel= "liblivebox-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require livebox-rdepends.inc +require livebox-depends.inc +require livebox-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-extraconf.inc b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-native_git.bb b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-native_git.bb new file mode 100644 index 0000000..797c2c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools-native_git.bb @@ -0,0 +1,12 @@ +require lksctp-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lksctp-tools;protocol=ssh;tag=62b3a14012cc6ea28421a98152e8c21b98a899d9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools.inc b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools.inc new file mode 100644 index 0000000..0c7f75e --- /dev/null +++ b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Utilities for SCTP (Stream Control Transmission Protocol)" +HOMEPAGE = "http://lksctp.sourceforge.net" +SECTION = "System/Network" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lksctp-tools-devel +PROVIDES += "lksctp-tools-devel" +RPROVIDES_lksctp-tools-devel += "lksctp-tools-devel" +RPROVIDES_lksctp-tools-devel += "lksctp-tools-dev" + +#PROVIDES by lksctp-tools +PROVIDES += "lksctp-tools" +RPROVIDES_lksctp-tools += "lksctp-tools" + +RDEPENDS = "" +#RDEPENDS of lksctp-tools-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "lksctp-tools" + + +DEPENDS = "" +#DEPENDS of lksctp-tools +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/lksctp-tools.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + CPPFLAGS="-I`pwd`/include" \ + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr \ + --enable-shared \ + --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "lksctp-tools-devel" +PACKAGES += "lksctp-tools" + +lksctp-tools-devel_files = "" +lksctp-tools-devel_files += "lksctp-tools.manifest" +lksctp-tools-devel_files += "/usr/include/netinet/sctp.h" +lksctp-tools-devel_files += "/usr/lib/libsctp.so" +lksctp-tools-devel_files += "/usr/lib/lksctp-tools" +lksctp-tools-devel_files += "/usr/lib/lksctp-tools/*.so" +lksctp-tools-devel_files += "/usr/share/lksctp-tools/" +lksctp-tools-devel_files += "/usr/share/man/man3/*" + +lksctp-tools_files = "" +lksctp-tools_files += "lksctp-tools.manifest" +lksctp-tools_files += "/usr/bin/*" +lksctp-tools_files += "/usr/lib/libsctp.so.*" +lksctp-tools_files += "/usr/lib/lksctp-tools" +lksctp-tools_files += "/usr/lib/lksctp-tools/*.so.*" +lksctp-tools_files += "/usr/share/man/man7/*" + +FILES_${PN}-devel = "${lksctp-tools-devel_files}" +FILES_${PN} = "${lksctp-tools_files}" + +PKG_lksctp-tools-devel= "lksctp-tools-devel" +PKG_lksctp-tools= "lksctp-tools" + +require lksctp-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools_git.bb b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools_git.bb new file mode 100644 index 0000000..3c77c9c --- /dev/null +++ b/meta-tizen/recipes-tizen/lksctp-tools/lksctp-tools_git.bb @@ -0,0 +1,8 @@ +require lksctp-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lksctp-tools;protocol=ssh;tag=62b3a14012cc6ea28421a98152e8c21b98a899d9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/llvm/llvm-extraconf.inc b/meta-tizen/recipes-tizen/llvm/llvm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/llvm/llvm-native_git.bb b/meta-tizen/recipes-tizen/llvm/llvm-native_git.bb new file mode 100644 index 0000000..3ab4b50 --- /dev/null +++ b/meta-tizen/recipes-tizen/llvm/llvm-native_git.bb @@ -0,0 +1,12 @@ +require llvm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/llvm;protocol=ssh;tag=d860bd21c282d949117b5c9b73865809e1c5aacc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/llvm/llvm.inc b/meta-tizen/recipes-tizen/llvm/llvm.inc new file mode 100644 index 0000000..7d46988 --- /dev/null +++ b/meta-tizen/recipes-tizen/llvm/llvm.inc @@ -0,0 +1,332 @@ +DESCRIPTION = "The Low Level Virtual Machine" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Toolchain" +LICENSE = "NCSA" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libllvm +PROVIDES += "libllvm" +RPROVIDES_libllvm += "libllvm" + +#PROVIDES by llvm +PROVIDES += "llvm" +RPROVIDES_llvm += "llvm" + +#PROVIDES by clang-analyzer +PROVIDES += "clang-analyzer" +RPROVIDES_clang-analyzer += "clang-analyzer" + +#PROVIDES by clang-doc +PROVIDES += "clang-doc" +RPROVIDES_clang-doc += "clang-doc" + +#PROVIDES by llvm-devel +PROVIDES += "llvm-devel" +RPROVIDES_llvm-devel += "llvm-devel" +RPROVIDES_llvm-devel += "llvm-dev" +# the PROVIDES rules is ignore "llvm-static = 3.1-0" +PROVIDES += "llvm-static" +RPROVIDES_llvm-devel += "llvm-static" + +#PROVIDES by clang-devel +PROVIDES += "clang-devel" +RPROVIDES_clang-devel += "clang-devel" +RPROVIDES_clang-devel += "clang-dev" + +#PROVIDES by clang +PROVIDES += "clang" +RPROVIDES_clang += "clang" + +RDEPENDS = "" +#RDEPENDS of llvm (${PN}) +RDEPENDS_${PN} += "libllvm" + +#RDEPENDS of clang-analyzer (clang-analyzer) +RDEPENDS_clang-analyzer += "python" +RDEPENDS_clang-analyzer += "clang" + +#RDEPENDS of clang-doc (clang-doc) +RDEPENDS_clang-doc += "llvm" + +#RDEPENDS of llvm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "llvm" +RDEPENDS_${PN}-devel += "libffi-dev" +RDEPENDS_${PN}-devel += "update-alternatives" +RDEPENDS_${PN}-devel += "libstdc++-dev" + +#RDEPENDS of clang-devel (clang-devel) +RDEPENDS_clang-devel += "clang" + +#RDEPENDS of clang (clang) +RDEPENDS_clang += "gcc" +RDEPENDS_clang += "llvm" +RDEPENDS_clang += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of llvm +DEPENDS += "flex" +DEPENDS += "gcc-cross" +DEPENDS += "chrpath" +DEPENDS += "zip" +DEPENDS += "python-devel" +DEPENDS += "bison-native" +DEPENDS += "libffi" +DEPENDS += "libtool-cross" +DEPENDS += "groff" +DEPENDS += "binutils" + +do_patch() { + #extracte source 1 + pushd ${S} + unp ${S}/packaging/clang-3.1.src.tar.gz + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n llvm-3.1.src -a1 + cp ${S}/packaging/llvm.manifest . + rm -r -f tools/clang + mv clang-3.1.src tools/clang + + + + + # fix ld search path + sed -i 's|/lib /usr/lib $lt_ld_extra|/usr/lib $lt_ld_extra|' \ + ./configure + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Build without -ftree-pre as a workaround for clang segfaulting on x86_64. + # https://bugzilla.redhat.com/show_bug.cgi?id=791365 + + # Disabling assertions now, rec. by pure and needed for OpenGTL + + CFLAGS="${CFLAGS:--O2 -fno-tree-pre -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -fno-tree-pre -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -fno-tree-pre -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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --prefix=/usr \ + --libdir=/usr/lib/llvm \ + --with-binutils-include=/usr/include \ + --enable-targets=host \ + --disable-assertions \ + --enable-debug-runtime \ + --enable-jit \ + --enable-libffi \ + --enable-shared + + # FIXME file this + # configure does not properly specify libdir + sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/lib/llvm|g' Makefile.config + + # FIXME upstream need to fix this + # llvm-config.cpp hardcodes lib in it + sed -i 's|ActiveLibDir = ActivePrefix + "/lib"|ActiveLibDir = ActivePrefix + "/lib/llvm"|g' tools/llvm-config/llvm-config.cpp + + make -j16 REQUIRES_RTTI=1 VERBOSE=1 OPTIMIZE_OPTION="-O2 -fno-tree-pre -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + + exit 0 + # the Koji build server does not seem to have enough RAM + # for the default 16 threads + + make check LIT_ARGS="-v -j4" \ + + + # FIXME: + # unexpected failures on all platforms with GCC 4.7.0. + # capture logs + make -C tools/clang/test TESTARGS="-v -j4" \ + | tee clang-testlog-x86_64.txt + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} \ + PROJ_docsdir=/moredocs + + # multilib fixes + mv ${D}/usr/bin/llvm-config{,-64} + + pushd ${D}/usr/include/llvm/Config + mv config.h config-64.h + cp -p ${S}/packaging/llvm-Config-config.h config.h + mv llvm-config.h llvm-config-64.h + cp -p ${S}/packaging/llvm-Config-llvm-config.h llvm-config.h + popd + + # Create ld.so.conf.d entry + mkdir -p ${D}/etc/ld.so.conf.d + cat >> ${D}/etc/ld.so.conf.d/llvm-x86_64.conf << EOF + /usr/lib/llvm + EOF + + # Static analyzer not installed by default: + # http://clang-analyzer.llvm.org/installation#OtherPlatforms + mkdir -p ${D}/usr/lib/clang-analyzer + # create launchers + for f in scan-{build,view}; do + ln -s /usr/lib/clang-analyzer/$f/$f ${D}/usr/bin/$f + done + + (cd tools/clang/tools && cp -pr scan-{build,view} \ + ${D}/usr/lib/clang-analyzer/) + + # Move documentation back to build directory + # + mv ${D}/moredocs . + rm -f moredocs/*.tar.gz + rm -f moredocs/ocamldoc/html/*.tar.gz + + # and separate the apidoc + + # And prepare Clang documentation + # + mkdir clang-docs + for f in LICENSE.TXT NOTES.txt README.txt; do # TODO.txt; do + ln tools/clang/$f clang-docs/ + done + rm -rf tools/clang/docs/{doxygen*,Makefile*,*.graffle,tools} + + + file ${D}//usr/bin/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d + file ${D}//usr/lib/llvm/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d + #chrpath -d %{buildroot}/%{_libexecdir}/clang-cc + + # Get rid of erroneously installed example files. + rm ${D}/usr/lib/llvm/*LLVMHello.* + + # FIXME file this bug + sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/lib/llvm",' \ + ${D}/usr/bin/llvm-config-64 + + chmod -x ${D}/usr/lib/llvm/*.a + + # remove documentation makefiles: + # they require the build directory to work + find examples -name 'Makefile' | xargs -0r rm -f + + + cd $RPM_BUILD_DIR + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/llvm + rm -rf ${D}/usr/share/doc/llvm-3.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libllvm" +PACKAGES += "llvm" +PACKAGES += "clang-analyzer" +PACKAGES += "llvm-devel" +PACKAGES += "clang-devel" +PACKAGES += "clang" + +libllvm_files = "" +libllvm_files += "llvm.manifest" +libllvm_files += "/etc/ld.so.conf.d/llvm-x86_64.conf" +libllvm_files += "/usr/lib/llvm" +libllvm_files += "/usr/lib/llvm/*.so" + +llvm_files = "" +llvm_files += "llvm.manifest" +llvm_files += "/usr/bin/bugpoint" +llvm_files += "/usr/bin/llc" +llvm_files += "/usr/bin/lli" +llvm_files += "/usr/bin/llvm*" +llvm_files += "/usr/bin/macho-dump" +llvm_files += "/usr/bin/opt" + +clang-analyzer_files = "" +clang-analyzer_files += "llvm.manifest" +clang-analyzer_files += "/usr/bin/scan-build" +clang-analyzer_files += "/usr/bin/scan-view" +clang-analyzer_files += "/usr/lib/clang-analyzer" + +llvm-devel_files = "" +llvm-devel_files += "llvm.manifest" +llvm-devel_files += "/usr/bin/llvm-config-64" +llvm-devel_files += "/usr/include/llvm" +llvm-devel_files += "/usr/include/llvm-c" +llvm-devel_files += "/usr/lib/llvm/*.a" + +clang-devel_files = "" +clang-devel_files += "llvm.manifest" +clang-devel_files += "/usr/include/clang" +clang-devel_files += "/usr/include/clang-c" + +clang_files = "" +clang_files += "llvm.manifest" +clang_files += "/usr/bin/clang*" +clang_files += "/usr/bin/c-index-test" +clang_files += "/usr/lib/llvm/libclang.so" +clang_files += "/usr/lib/clang" + +FILES_lib${PN} = "${libllvm_files}" +FILES_${PN} = "${llvm_files}" +FILES_clang-analyzer = "${clang-analyzer_files}" +FILES_${PN}-devel = "${llvm-devel_files}" +FILES_clang-devel = "${clang-devel_files}" +FILES_clang = "${clang_files}" + +PKG_libllvm= "libllvm" +PKG_llvm= "llvm" +PKG_clang-analyzer= "clang-analyzer" +PKG_llvm-devel= "llvm-devel" +PKG_clang-devel= "clang-devel" +PKG_clang= "clang" + +require llvm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/llvm/llvm_git.bb b/meta-tizen/recipes-tizen/llvm/llvm_git.bb new file mode 100644 index 0000000..d951d03 --- /dev/null +++ b/meta-tizen/recipes-tizen/llvm/llvm_git.bb @@ -0,0 +1,8 @@ +require llvm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/llvm;protocol=ssh;tag=d860bd21c282d949117b5c9b73865809e1c5aacc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager-extraconf.inc b/meta-tizen/recipes-tizen/location-manager/location-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager-native_git.bb b/meta-tizen/recipes-tizen/location-manager/location-manager-native_git.bb new file mode 100644 index 0000000..e6a17d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/location-manager/location-manager-native_git.bb @@ -0,0 +1,12 @@ +require location-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/location-manager;protocol=ssh;tag=d798d95b06c0fab2ac22701f6cbba2778236bc36;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager.inc b/meta-tizen/recipes-tizen/location-manager/location-manager.inc new file mode 100644 index 0000000..382c320 --- /dev/null +++ b/meta-tizen/recipes-tizen/location-manager/location-manager.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "A Location Manager library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-location-manager-devel +PROVIDES += "capi-location-manager-devel" +RPROVIDES_capi-location-manager-devel += "capi-location-manager-devel" +RPROVIDES_capi-location-manager-devel += "capi-location-manager-dev" + +#PROVIDES by capi-location-manager +PROVIDES += "capi-location-manager" +RPROVIDES_capi-location-manager += "capi-location-manager" + +RDEPENDS = "" +#RDEPENDS of capi-location-manager-devel (capi-${PN}-devel) +RDEPENDS_capi-${PN}-devel += "capi-location-manager" + + +DEPENDS = "" +#DEPENDS of capi-location-manager +DEPENDS += "pkgconfig(location)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-location-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.11 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.11 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-location-manager-devel" +PACKAGES += "capi-location-manager" + +capi-location-manager-devel_files = "" +capi-location-manager-devel_files += "capi-location-manager.manifest" +capi-location-manager-devel_files += "/usr/include/location/*.h" +capi-location-manager-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-location-manager-devel_files += "/usr/lib/libcapi-location-manager.so" + +capi-location-manager_files = "" +capi-location-manager_files += "capi-location-manager.manifest" +capi-location-manager_files += "capi-location-manager.manifest" +capi-location-manager_files += "/usr/lib/libcapi-location-manager.so.*" + +FILES_${PN}-devel = "${capi-location-manager-devel_files}" +FILES_${PN} = "${capi-location-manager_files}" + +PKG_capi-location-manager-devel= "capi-location-manager-devel" +PKG_capi-location-manager= "capi-location-manager" + +require location-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager_git.bb b/meta-tizen/recipes-tizen/location-manager/location-manager_git.bb new file mode 100644 index 0000000..e622591 --- /dev/null +++ b/meta-tizen/recipes-tizen/location-manager/location-manager_git.bb @@ -0,0 +1,8 @@ +require location-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/location-manager;protocol=ssh;tag=d798d95b06c0fab2ac22701f6cbba2778236bc36;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lockscreen/lockscreen-extraconf.inc b/meta-tizen/recipes-tizen/lockscreen/lockscreen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lockscreen/lockscreen.inc b/meta-tizen/recipes-tizen/lockscreen/lockscreen.inc new file mode 100644 index 0000000..71a52d2 --- /dev/null +++ b/meta-tizen/recipes-tizen/lockscreen/lockscreen.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "lockscreen application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TBD" +LICENSE = "Apache" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.lockscreen" + +org.tizen.lockscreen_files = "" +org.tizen.lockscreen_files += "org.tizen.lockscreen.manifest" +org.tizen.lockscreen_files += "/usr/apps/org.tizen.lockscreen/*" +org.tizen.lockscreen_files += "/usr/share/packages/org.tizen.lockscreen.xml" +org.tizen.lockscreen_files += "/usr/share/license/org.tizen.lockscreen" +org.tizen.lockscreen_files += "/usr/apps/org.tizen.lockscreen/res/locale/*/LC_MESSAGES/lockscreen.mo" + +FILES_${PN} = "${org.tizen.lockscreen_files}" + +PKG_org.tizen.lockscreen= "org.tizen.lockscreen" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require lockscreen-rdepends.inc +require lockscreen-depends.inc +require lockscreen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz-extraconf.inc b/meta-tizen/recipes-tizen/lrzsz/lrzsz-extraconf.inc new file mode 100644 index 0000000..2bfdf90 --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz-extraconf.inc @@ -0,0 +1,16 @@ +SRC_URI += "file://autotools.patch \ + file://gettext.patch \ + file://lrzsz-check-locale.h.patch \ + file://lrzsz_fix_for_automake-1.12.patch \ + file://makefile.patch \ + " + +do_patch_append () { + cat ${WORKDIR}/autotools.patch | patch -p1 + cat ${WORKDIR}/gettext.patch | patch -p1 + cat ${WORKDIR}/lrzsz-check-locale.h.patch | patch -p1 + cat ${WORKDIR}/lrzsz_fix_for_automake-1.12.patch | patch -p1 + cat ${WORKDIR}/makefile.patch | patch -p1 +} + + diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz-native_git.bb b/meta-tizen/recipes-tizen/lrzsz/lrzsz-native_git.bb new file mode 100644 index 0000000..5fcd1bc --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz-native_git.bb @@ -0,0 +1,12 @@ +require lrzsz.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lrzsz;protocol=ssh;tag=6d3f6f3fbe6d5a0b3191c72c05f1a2707dfd08bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz.inc b/meta-tizen/recipes-tizen/lrzsz/lrzsz.inc new file mode 100644 index 0000000..3b23ca8 --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Serial file transfer protocols" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lrzsz +PROVIDES += "lrzsz" +RPROVIDES_lrzsz += "lrzsz" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of lrzsz +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autotools_do_configure --program-transform-name=s/l// + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + + +} + +PACKAGES = "" +PACKAGES += "lrzsz" + +lrzsz_files = "" +lrzsz_files += "AUTHORS COMPATABILITY ChangeLog NEWS README README.gettext TODO THANKS README.cvs README.isdn4linux README.tests" +lrzsz_files += "/usr/bin/sz" +lrzsz_files += "/usr/bin/sb" +lrzsz_files += "/usr/bin/sx" +lrzsz_files += "/usr/bin/rz" +lrzsz_files += "/usr/bin/rb" +lrzsz_files += "/usr/bin/rx" +lrzsz_files += "/usr/share/man/man1/sz.1.gz" +lrzsz_files += "/usr/share/man/man1/rz.1.gz" + +FILES_${PN} = "${lrzsz_files}" + +PKG_lrzsz= "lrzsz" + +require lrzsz-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz/autotools.patch b/meta-tizen/recipes-tizen/lrzsz/lrzsz/autotools.patch new file mode 100644 index 0000000..3945198 --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz/autotools.patch @@ -0,0 +1,39 @@ +Upstream-Status: Inappropriate [configuration] + +--- lrzsz-0.12.20/acinclude.m4~autotools 1998-12-27 17:08:59.000000000 -0500 ++++ lrzsz-0.12.20/acinclude.m4 2004-05-09 22:26:19.000000000 -0400 +@@ -1,12 +1,11 @@ + dnl AC_REPLACE_GNU_GETOPT +-AC_DEFUN(AC_REPLACE_GNU_GETOPT, +-[AC_CHECK_FUNC(getopt_long, , [LIBOBJS="$LIBOBJS getopt1.o getopt.o"]) +-AC_SUBST(LIBOBJS)dnl +-]) ++AC_DEFUN([AC_REPLACE_GNU_GETOPT], ++[AC_CHECK_FUNC(getopt_long, , [AC_LIBOBJ([getopt1]) ++AC_LIBOBJ([getopt])dnl])]) + + dnl + dnl taken from taylor uucp +-AC_DEFUN(LRZSZ_ERRNO_DECL,[ ++AC_DEFUN([LRZSZ_ERRNO_DECL],[ + AC_MSG_CHECKING(for errno declaration) + AC_CACHE_VAL(lrzsz_cv_decl_errno, + [AC_TRY_COMPILE([#include ], [int i = errno; errno = 1;], +@@ -23,7 +21,7 @@ + ]) + + dnl LRZSZ_TYPE_SPEED_T +-AC_DEFUN(LRZSZ_TYPE_SPEED_T,[ ++AC_DEFUN([LRZSZ_TYPE_SPEED_T],[ + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([LRZSZ_HEADERS_TERM_IO])dnl + AC_MSG_CHECKING(for speed_t) +@@ -61,7 +59,7 @@ + fi + ]) + +-AC_DEFUN(lrzsz_HEADER_SYS_SELECT, ++AC_DEFUN([lrzsz_HEADER_SYS_SELECT], + [AC_CACHE_CHECK([whether sys/time.h and sys/select.h may both be included], + lrzsz_cv_header_sys_select, + [AC_TRY_COMPILE([#include diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz/gettext.patch b/meta-tizen/recipes-tizen/lrzsz/lrzsz/gettext.patch new file mode 100644 index 0000000..1a24a1f --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz/gettext.patch @@ -0,0 +1,21884 @@ +Upstream-Status: Inappropriate [configuration] + +--- lrzsz-0.12.20.safe/ABOUT-NLS 1998-04-26 09:22:30.000000000 -0400 ++++ lrzsz-0.12.20/ABOUT-NLS 2004-09-12 14:40:34.323752952 -0400 +@@ -1,14 +1,14 @@ + Notes on the Free Translation Project + ************************************* + +- Free software is going international! The Free Translation Project +-is a way to get maintainers of free software, translators, and users all ++Free software is going international! The Free Translation Project is ++a way to get maintainers of free software, translators, and users all + together, so that will gradually become able to speak many languages. + A few packages already provide translations for their messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may + assume that the distributed package does use GNU `gettext' internally, +-itself available at your nearest GNU archive site. But you do *not* ++itself available at your nearest GNU archive site. But you do _not_ + need to install GNU `gettext' prior to configuring, installing or using + this package with messages translated. + +@@ -22,10 +22,10 @@ + `gettext' which is used. The information can be found in the + `intl/VERSION' file, in internationalized packages. + +-One advise in advance +-===================== ++Quick configuration advice ++========================== + +- If you want to exploit the full power of internationalization, you ++If you want to exploit the full power of internationalization, you + should configure it using + + ./configure --with-included-gettext +@@ -34,42 +34,40 @@ + package, despite the existence of internationalizing capabilities in the + operating system where this package is being installed. So far, only + the `gettext' implementation in the GNU C library version 2 provides as +-many features (such as locale alias or message inheritance) as the +-implementation here. It is also not possible to offer this additional +-functionality on top of a `catgets' implementation. Future versions of +-GNU `gettext' will very likely convey even more functionality. So it +-might be a good idea to change to GNU `gettext' as soon as possible. ++many features (such as locale alias, message inheritance, automatic ++charset conversion or plural form handling) as the implementation here. ++It is also not possible to offer this additional functionality on top ++of a `catgets' implementation. Future versions of GNU `gettext' will ++very likely convey even more functionality. So it might be a good idea ++to change to GNU `gettext' as soon as possible. + +- So you need not provide this option if you are using GNU libc 2 or ++ So you need _not_ provide this option if you are using GNU libc 2 or + you have installed a recent copy of the GNU gettext package with the + included `libintl'. + + INSTALL Matters + =============== + +- Some packages are "localizable" when properly installed; the +-programs they contain can be made to speak your own native language. +-Most such packages use GNU `gettext'. Other packages have their own +-ways to internationalization, predating GNU `gettext'. ++Some packages are "localizable" when properly installed; the programs ++they contain can be made to speak your own native language. Most such ++packages use GNU `gettext'. Other packages have their own ways to ++internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +-messages. It will automatically detect whether the system provides +-usable `catgets' (if using this is selected by the installer) or +-`gettext' functions. If neither is available, the GNU `gettext' own ++messages. It will automatically detect whether the system already ++provides the GNU `gettext' functions. If not, the GNU `gettext' own + library will be used. This library is wholly contained within this + package, usually in the `intl/' subdirectory, so prior installation of +-the GNU `gettext' package is *not* required. Installers may use ++the GNU `gettext' package is _not_ required. Installers may use + special options at configuration time for changing the default + behaviour. The commands: + + ./configure --with-included-gettext +- ./configure --with-catgets + ./configure --disable-nls + +-will respectively bypass any pre-existing `catgets' or `gettext' to use +-the internationalizing routines provided within this package, enable +-the use of the `catgets' functions (if found on the locale system), or +-else, *totally* disable translation of messages. ++will respectively bypass any pre-existing `gettext' to use the ++internationalizing routines provided within this package, or else, ++_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run + configure without an option for your new package, `configure' will +@@ -83,18 +81,10 @@ + + to prevent auto-detection. + +- By default the configuration process will not test for the `catgets' +-function and therefore they will not be used. The reasons are already +-given above: the emulation on top of `catgets' cannot provide all the +-extensions provided by the GNU `gettext' library. If you nevertheless +-want to use the `catgets' functions use +- +- ./configure --with-catgets +- +-to enable the test for `catgets' (this causes no harm if `catgets' is +-not available on your system). If you really select this option we +-would like to hear about the reasons because we cannot think of any +-good one ourself. ++ The configuration process will not test for the `catgets' function ++and therefore it will not be used. The reason is that even an ++emulation of `gettext' on top of `catgets' could not provide all the ++extensions of the GNU `gettext' library. + + Internationalized packages have usually many `po/LL.po' files, where + LL gives an ISO 639 two-letter code identifying the language. Unless +@@ -108,57 +98,73 @@ + Using This Package + ================== + +- As a user, if your language has been installed for this package, you ++As a user, if your language has been installed for this package, you + only have to set the `LANG' environment variable to the appropriate +-ISO 639 `LL' two-letter code prior to using the programs in the +-package. For example, let's suppose that you speak German. At the +-shell prompt, merely execute `setenv LANG de' (in `csh'), +-`export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This +-can be done from your `.login' or `.profile' file, once and for all. ++`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, ++and `CC' is an ISO 3166 two-letter country code. For example, let's ++suppose that you speak German and live in Germany. At the shell ++prompt, merely execute `setenv LANG de_DE' (in `csh'), ++`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). ++This can be done from your `.login' or `.profile' file, once and for ++all. + +- An operating system might already offer message localization for +-many of its programs, while other programs have been installed locally +-with the full capabilities of GNU `gettext'. Just using `gettext' +-extended syntax for `LANG' would break proper localization of already +-available operating system programs. In this case, users should set +-both `LANGUAGE' and `LANG' variables in their environment, as programs +-using GNU `gettext' give preference to `LANGUAGE'. For example, some +-Swedish users would rather read translations in German than English for +-when Swedish is not available. This is easily accomplished by setting +-`LANGUAGE' to `sv:de' while leaving `LANG' to `sv'. ++ You might think that the country code specification is redundant. ++But in fact, some languages have dialects in different countries. For ++example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The ++country code serves to distinguish the dialects. ++ ++ The locale naming convention of `LL_CC', with `LL' denoting the ++language and `CC' denoting the country, is the one use on systems based ++on GNU libc. On other systems, some variations of this scheme are ++used, such as `LL' or `LL_CC.ENCODING'. You can get the list of ++locales supported by your system for your country by running the command ++`locale -a | grep '^LL''. ++ ++ Not all programs have translations for all languages. By default, an ++English message is shown in place of a nonexistent translation. If you ++understand other languages, you can set up a priority list of languages. ++This is done through a different environment variable, called ++`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' ++for the purpose of message handling, but you still need to have `LANG' ++set to the primary language; this is required by other parts of the ++system libraries. For example, some Swedish users who would rather ++read translations in German than English for when Swedish is not ++available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. ++ ++ Special advice for Norwegian users: The language code for Norwegian ++bokma*l changed from `no' to `nb' recently (in 2003). During the ++transition period, while some message catalogs for this language are ++installed under `nb' and some older ones under `no', it's recommended ++for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and ++older translations are used. ++ ++ In the `LANGUAGE' environment variable, but not in the `LANG' ++environment variable, `LL_CC' combinations can be abbreviated as `LL' ++to denote the language's main dialect. For example, `de' is equivalent ++to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' ++(Portuguese as spoken in Portugal) in this context. + + Translating Teams + ================= + +- For the Free Translation Project to be a success, we need interested ++For the Free Translation Project to be a success, we need interested + people who like their own language and write it well, and who are also + able to synergize with other translators speaking the same language. +-Each translation team has its own mailing list, courtesy of Linux +-International. You may reach your translation team at the address +-`LL@li.org', replacing LL by the two-letter ISO 639 code for your +-language. Language codes are *not* the same as the country codes given +-in ISO 3166. The following translation teams exist, as of August 1997: +- +- Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', +- Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian +- `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja', +- Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish +- `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es', +- Swedish `sv', and Turkish `tr'. +- +-For example, you may reach the Chinese translation team by writing to +-`zh@li.org'. ++Each translation team has its own mailing list. The up-to-date list of ++teams can be found at the Free Translation Project's homepage, ++`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" ++area. + +- If you'd like to volunteer to *work* at translating messages, you ++ If you'd like to volunteer to _work_ at translating messages, you + should become a member of the translating team for your own language. +-The subscribing address is *not* the same as the list itself, it has ++The subscribing address is _not_ the same as the list itself, it has + `-request' appended. For example, speakers of Swedish can send a + message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +-*actively* in translations, or at solving translational difficulties, ++_actively_ in translations, or at solving translational difficulties, + rather than merely lurking around. If your team does not exist yet and + you want to start one, or if you are unsure about what to do or how to + get started, please write to `translation@iro.umontreal.ca' to reach the +@@ -171,43 +177,559 @@ + Available Packages + ================== + +- Languages are not equally supported in all packages. The following +-matrix shows the current state of internationalization, as of August +-1997. The matrix shows, in regard of each package, for which languages +-PO files have been submitted to translation coordination. ++Languages are not equally supported in all packages. The following ++matrix shows the current state of internationalization, as of January ++2004. The matrix shows, in regard of each package, for which languages ++PO files have been submitted to translation coordination, with a ++translation percentage of at least 50%. + +- Ready PO files cs da de en es fi fr it ja ko nl no pl pt sl sv +- .-------------------------------------------------. +- bash | [] [] [] | 3 +- bison | [] [] [] | 3 +- clisp | [] [] [] [] | 4 +- cpio | [] [] [] [] [] | 5 +- diffutils | [] [] [] [] [] | 5 +- enscript | [] [] [] [] [] [] | 6 +- fileutils | [] [] [] [] [] [] [] [] [] [] | 10 +- findutils | [] [] [] [] [] [] [] [] | 8 +- flex | [] [] [] [] | 4 +- gcal | [] [] [] [] [] | 5 +- gettext | [] [] [] [] [] [] [] [] [] [] | 11 +- grep | [] [] [] [] [] [] [] [] [] | 9 +- hello | [] [] [] [] [] [] [] [] [] [] | 10 +- id-utils | [] [] [] | 3 +- indent | [] [] [] [] | 4 +- libc | [] [] [] [] [] [] [] | 7 +- m4 | [] [] [] [] [] | 5 +- make | [] [] [] [] [] [] | 6 +- music | [] [] | 2 +- ptx | [] [] [] [] [] [] [] [] | 8 +- recode | [] [] [] [] [] [] [] [] [] | 9 +- sh-utils | [] [] [] [] [] [] [] | 7 +- sharutils | [] [] [] [] [] | 5 +- tar | [] [] [] [] [] [] [] [] [] [] | 10 +- texinfo | [] | 1 +- textutils | [] [] [] [] [] [] [] [] [] | 9 +- wdiff | [] [] [] [] [] [] [] [] | 8 +- `-------------------------------------------------' +- 16 languages cs da de en es fi fr it ja ko nl no pl pt sl sv +- 27 packages 3 2 24 1 17 1 26 2 1 11 20 9 19 7 7 17 167 ++ Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es ++ +----------------------------------------------------+ ++ a2ps | [] [] [] [] | ++ aegis | () | ++ ant-phone | () | ++ anubis | | ++ ap-utils | | ++ aspell | [] | ++ bash | [] [] [] [] | ++ batchelor | | ++ bfd | [] [] | ++ binutils | [] [] | ++ bison | [] [] [] | ++ bluez-pin | [] [] [] | ++ clisp | | ++ clisp | [] [] [] | ++ console-tools | [] [] | ++ coreutils | [] [] [] [] | ++ cpio | [] [] [] | ++ darkstat | [] () [] | ++ diffutils | [] [] [] [] [] [] [] | ++ e2fsprogs | [] [] [] | ++ enscript | [] [] [] [] | ++ error | [] [] [] [] [] | ++ fetchmail | [] () [] [] [] [] | ++ fileutils | [] [] [] | ++ findutils | [] [] [] [] [] [] [] | ++ flex | [] [] [] [] | ++ fslint | | ++ gas | [] | ++ gawk | [] [] [] [] | ++ gbiff | [] | ++ gcal | [] | ++ gcc | [] [] | ++ gettext | [] [] [] [] [] | ++ gettext-examples | [] [] [] [] | ++ gettext-runtime | [] [] [] [] [] | ++ gettext-tools | [] [] [] | ++ gimp-print | [] [] [] [] [] | ++ gliv | | ++ glunarclock | [] [] | ++ gnubiff | [] | ++ gnucash | [] () [] [] | ++ gnucash-glossary | [] () [] | ++ gnupg | [] () [] [] [] [] | ++ gpe-aerial | [] | ++ gpe-beam | [] [] | ++ gpe-calendar | [] [] | ++ gpe-clock | [] [] | ++ gpe-conf | [] [] | ++ gpe-contacts | [] [] | ++ gpe-edit | [] | ++ gpe-go | [] | ++ gpe-login | [] [] | ++ gpe-ownerinfo | [] [] | ++ gpe-sketchbook | [] [] | ++ gpe-su | [] [] | ++ gpe-taskmanager | [] [] | ++ gpe-timesheet | [] | ++ gpe-today | [] [] | ++ gpe-todo | [] [] | ++ gphoto2 | [] [] [] [] | ++ gprof | [] [] [] | ++ gpsdrive | () () () | ++ gramadoir | [] | ++ grep | [] [] [] [] [] [] | ++ gretl | [] | ++ gtick | [] () | ++ hello | [] [] [] [] [] [] | ++ id-utils | [] [] | ++ indent | [] [] [] [] | ++ iso_3166 | [] [] [] [] [] [] [] [] [] [] | ++ iso_3166_1 | [] [] [] [] [] [] | ++ iso_3166_2 | | ++ iso_3166_3 | [] | ++ iso_4217 | [] [] [] [] | ++ iso_639 | | ++ jpilot | [] [] [] | ++ jtag | | ++ jwhois | [] | ++ kbd | [] [] [] [] [] | ++ latrine | () | ++ ld | [] [] | ++ libc | [] [] [] [] [] [] | ++ libgpewidget | [] [] | ++ libiconv | [] [] [] [] [] | ++ lifelines | [] () | ++ lilypond | [] | ++ lingoteach | | ++ lingoteach_lessons | () () | ++ lynx | [] [] [] [] | ++ m4 | [] [] [] [] | ++ mailutils | [] [] | ++ make | [] [] [] | ++ man-db | [] () [] [] () | ++ minicom | [] [] [] | ++ mysecretdiary | [] [] [] | ++ nano | [] () [] [] [] | ++ nano_1_0 | [] () [] [] [] | ++ opcodes | [] | ++ parted | [] [] [] [] [] | ++ ptx | [] [] [] [] [] | ++ python | | ++ radius | [] | ++ recode | [] [] [] [] [] [] [] | ++ rpm | [] [] | ++ screem | | ++ scrollkeeper | [] [] [] [] [] [] | ++ sed | [] [] [] [] [] [] | ++ sh-utils | [] [] [] | ++ shared-mime-info | | ++ sharutils | [] [] [] [] [] [] | ++ silky | () | ++ skencil | [] () [] | ++ sketch | [] () [] | ++ soundtracker | [] [] [] | ++ sp | [] | ++ tar | [] [] [] [] | ++ texinfo | [] [] [] | ++ textutils | [] [] [] [] | ++ tin | () () | ++ tp-robot | | ++ tuxpaint | [] [] [] [] [] [] [] | ++ unicode-han-tra... | | ++ unicode-transla... | | ++ util-linux | [] [] [] [] [] | ++ vorbis-tools | [] [] [] [] | ++ wastesedge | () | ++ wdiff | [] [] [] [] | ++ wget | [] [] [] [] [] [] | ++ xchat | [] [] [] [] | ++ xfree86_xkb_xml | [] [] | ++ xpad | [] | ++ +----------------------------------------------------+ ++ af am ar az be bg bs ca cs da de el en en_GB eo es ++ 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 ++ ++ et eu fa fi fr ga gl he hr hu id is it ja ko lg ++ +-------------------------------------------------+ ++ a2ps | [] [] [] () () | ++ aegis | | ++ ant-phone | [] | ++ anubis | [] | ++ ap-utils | [] | ++ aspell | [] [] | ++ bash | [] [] | ++ batchelor | [] [] | ++ bfd | [] | ++ binutils | [] [] | ++ bison | [] [] [] [] | ++ bluez-pin | [] [] [] [] [] | ++ clisp | | ++ clisp | [] | ++ console-tools | | ++ coreutils | [] [] [] [] [] [] | ++ cpio | [] [] [] [] | ++ darkstat | () [] [] [] | ++ diffutils | [] [] [] [] [] [] [] | ++ e2fsprogs | | ++ enscript | [] [] | ++ error | [] [] [] [] | ++ fetchmail | [] | ++ fileutils | [] [] [] [] [] [] | ++ findutils | [] [] [] [] [] [] [] [] [] [] [] | ++ flex | [] [] [] | ++ fslint | [] | ++ gas | [] | ++ gawk | [] [] [] | ++ gbiff | [] | ++ gcal | [] | ++ gcc | [] | ++ gettext | [] [] [] | ++ gettext-examples | [] [] | ++ gettext-runtime | [] [] [] [] [] | ++ gettext-tools | [] [] [] | ++ gimp-print | [] [] | ++ gliv | () | ++ glunarclock | [] [] [] [] | ++ gnubiff | [] | ++ gnucash | () [] | ++ gnucash-glossary | [] | ++ gnupg | [] [] [] [] [] [] [] | ++ gpe-aerial | [] | ++ gpe-beam | [] | ++ gpe-calendar | [] [] [] | ++ gpe-clock | [] | ++ gpe-conf | [] | ++ gpe-contacts | [] [] | ++ gpe-edit | [] [] | ++ gpe-go | [] | ++ gpe-login | [] [] | ++ gpe-ownerinfo | [] [] [] | ++ gpe-sketchbook | [] | ++ gpe-su | [] | ++ gpe-taskmanager | [] | ++ gpe-timesheet | [] [] [] | ++ gpe-today | [] [] | ++ gpe-todo | [] [] | ++ gphoto2 | [] [] [] | ++ gprof | [] [] | ++ gpsdrive | () () () | ++ gramadoir | [] [] | ++ grep | [] [] [] [] [] [] [] [] [] [] [] | ++ gretl | [] [] | ++ gtick | [] [] [] | ++ hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | ++ id-utils | [] [] [] [] | ++ indent | [] [] [] [] [] [] [] [] [] | ++ iso_3166 | [] [] [] [] [] [] [] | ++ iso_3166_1 | [] [] [] [] [] | ++ iso_3166_2 | | ++ iso_3166_3 | | ++ iso_4217 | [] [] [] [] [] [] | ++ iso_639 | | ++ jpilot | [] () | ++ jtag | [] | ++ jwhois | [] [] [] [] | ++ kbd | [] | ++ latrine | [] | ++ ld | [] | ++ libc | [] [] [] [] [] [] | ++ libgpewidget | [] [] [] [] | ++ libiconv | [] [] [] [] [] [] [] [] [] | ++ lifelines | () | ++ lilypond | [] | ++ lingoteach | [] [] | ++ lingoteach_lessons | | ++ lynx | [] [] [] [] | ++ m4 | [] [] [] [] | ++ mailutils | | ++ make | [] [] [] [] [] [] | ++ man-db | () () | ++ minicom | [] [] [] [] | ++ mysecretdiary | [] [] | ++ nano | [] [] [] [] | ++ nano_1_0 | [] [] [] [] | ++ opcodes | [] | ++ parted | [] [] [] | ++ ptx | [] [] [] [] [] [] [] | ++ python | | ++ radius | [] | ++ recode | [] [] [] [] [] [] | ++ rpm | [] [] | ++ screem | | ++ scrollkeeper | [] | ++ sed | [] [] [] [] [] [] [] [] [] | ++ sh-utils | [] [] [] [] [] [] [] | ++ shared-mime-info | [] [] [] | ++ sharutils | [] [] [] [] [] | ++ silky | () [] () () | ++ skencil | [] | ++ sketch | [] | ++ soundtracker | [] [] | ++ sp | [] () | ++ tar | [] [] [] [] [] [] [] [] [] | ++ texinfo | [] [] [] [] | ++ textutils | [] [] [] [] [] [] | ++ tin | [] () | ++ tp-robot | [] | ++ tuxpaint | [] [] [] [] [] [] [] [] [] | ++ unicode-han-tra... | | ++ unicode-transla... | [] [] | ++ util-linux | [] [] [] [] () [] | ++ vorbis-tools | [] | ++ wastesedge | () | ++ wdiff | [] [] [] [] [] [] | ++ wget | [] [] [] [] [] [] [] | ++ xchat | [] [] [] | ++ xfree86_xkb_xml | [] [] | ++ xpad | [] [] | ++ +-------------------------------------------------+ ++ et eu fa fi fr ga gl he hr hu id is it ja ko lg ++ 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 ++ ++ lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru ++ +-----------------------------------------------------+ ++ a2ps | [] [] () () [] [] [] | ++ aegis | () () () | ++ ant-phone | [] [] | ++ anubis | [] [] [] [] [] [] | ++ ap-utils | [] () [] | ++ aspell | [] | ++ bash | [] [] [] | ++ batchelor | [] | ++ bfd | [] | ++ binutils | [] | ++ bison | [] [] [] [] [] | ++ bluez-pin | [] [] [] | ++ clisp | | ++ clisp | [] | ++ console-tools | [] | ++ coreutils | [] [] | ++ cpio | [] [] [] [] [] | ++ darkstat | [] [] [] [] | ++ diffutils | [] [] [] [] [] [] | ++ e2fsprogs | [] | ++ enscript | [] [] [] [] | ++ error | [] [] [] | ++ fetchmail | [] [] () [] | ++ fileutils | [] [] [] | ++ findutils | [] [] [] [] [] | ++ flex | [] [] [] [] | ++ fslint | [] [] | ++ gas | | ++ gawk | [] [] [] | ++ gbiff | [] [] | ++ gcal | | ++ gcc | | ++ gettext | [] [] [] | ++ gettext-examples | [] [] [] | ++ gettext-runtime | [] [] [] [] | ++ gettext-tools | [] [] | ++ gimp-print | [] | ++ gliv | [] [] [] | ++ glunarclock | [] [] [] [] | ++ gnubiff | [] | ++ gnucash | [] [] () [] | ++ gnucash-glossary | [] [] | ++ gnupg | [] | ++ gpe-aerial | [] [] [] [] | ++ gpe-beam | [] [] [] [] | ++ gpe-calendar | [] [] [] [] | ++ gpe-clock | [] [] [] [] | ++ gpe-conf | [] [] [] [] | ++ gpe-contacts | [] [] [] [] | ++ gpe-edit | [] [] [] [] | ++ gpe-go | [] [] [] | ++ gpe-login | [] [] [] [] | ++ gpe-ownerinfo | [] [] [] [] | ++ gpe-sketchbook | [] [] [] [] | ++ gpe-su | [] [] [] [] | ++ gpe-taskmanager | [] [] [] [] | ++ gpe-timesheet | [] [] [] [] | ++ gpe-today | [] [] [] [] | ++ gpe-todo | [] [] [] [] | ++ gphoto2 | [] | ++ gprof | [] [] | ++ gpsdrive | () () [] | ++ gramadoir | () [] | ++ grep | [] [] [] [] [] | ++ gretl | | ++ gtick | [] [] [] | ++ hello | [] [] [] [] [] [] [] [] [] [] | ++ id-utils | [] [] [] [] | ++ indent | [] [] [] [] | ++ iso_3166 | [] [] [] | ++ iso_3166_1 | [] [] | ++ iso_3166_2 | | ++ iso_3166_3 | [] | ++ iso_4217 | [] [] [] [] [] [] [] [] | ++ iso_639 | [] | ++ jpilot | () () | ++ jtag | | ++ jwhois | [] [] [] [] () | ++ kbd | [] [] [] | ++ latrine | [] | ++ ld | | ++ libc | [] [] [] [] | ++ libgpewidget | [] [] [] | ++ libiconv | [] [] [] [] [] | ++ lifelines | | ++ lilypond | | ++ lingoteach | | ++ lingoteach_lessons | | ++ lynx | [] [] [] | ++ m4 | [] [] [] [] [] | ++ mailutils | [] [] [] | ++ make | [] [] [] [] | ++ man-db | [] | ++ minicom | [] [] [] [] | ++ mysecretdiary | [] [] [] | ++ nano | [] [] [] [] [] | ++ nano_1_0 | [] [] [] [] [] [] | ++ opcodes | [] [] | ++ parted | [] [] [] [] | ++ ptx | [] [] [] [] [] [] [] [] | ++ python | | ++ radius | [] [] | ++ recode | [] [] [] [] | ++ rpm | [] [] [] | ++ screem | | ++ scrollkeeper | [] [] [] [] [] | ++ sed | [] [] [] | ++ sh-utils | [] [] | ++ shared-mime-info | [] [] | ++ sharutils | [] [] | ++ silky | () | ++ skencil | [] [] | ++ sketch | [] [] | ++ soundtracker | | ++ sp | | ++ tar | [] [] [] [] [] [] | ++ texinfo | [] [] [] [] | ++ textutils | [] [] | ++ tin | | ++ tp-robot | [] | ++ tuxpaint | [] [] [] [] [] [] [] [] | ++ unicode-han-tra... | | ++ unicode-transla... | | ++ util-linux | [] [] [] | ++ vorbis-tools | [] [] [] | ++ wastesedge | | ++ wdiff | [] [] [] [] [] | ++ wget | [] [] [] | ++ xchat | [] [] [] | ++ xfree86_xkb_xml | [] [] | ++ xpad | [] [] | ++ +-----------------------------------------------------+ ++ lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru ++ 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 ++ ++ sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu ++ +-----------------------------------------------------+ ++ a2ps | [] [] [] [] | 16 ++ aegis | | 0 ++ ant-phone | | 3 ++ anubis | [] [] | 9 ++ ap-utils | () | 3 ++ aspell | | 4 ++ bash | | 9 ++ batchelor | | 3 ++ bfd | [] [] | 6 ++ binutils | [] [] [] | 8 ++ bison | [] [] | 14 ++ bluez-pin | [] [] [] | 14 ++ clisp | | 0 ++ clisp | | 5 ++ console-tools | | 3 ++ coreutils | [] [] [] [] | 16 ++ cpio | [] [] | 14 ++ darkstat | [] [] [] () () | 12 ++ diffutils | [] [] [] | 23 ++ e2fsprogs | [] [] | 6 ++ enscript | [] [] | 12 ++ error | [] [] [] | 15 ++ fetchmail | [] [] | 11 ++ fileutils | [] [] [] [] [] | 17 ++ findutils | [] [] [] [] [] [] | 29 ++ flex | [] [] | 13 ++ fslint | | 3 ++ gas | [] | 3 ++ gawk | [] [] | 12 ++ gbiff | | 4 ++ gcal | [] [] | 4 ++ gcc | [] | 4 ++ gettext | [] [] [] [] [] | 16 ++ gettext-examples | [] [] [] [] [] | 14 ++ gettext-runtime | [] [] [] [] [] [] [] [] | 22 ++ gettext-tools | [] [] [] [] [] [] | 14 ++ gimp-print | [] [] | 10 ++ gliv | | 3 ++ glunarclock | [] [] [] | 13 ++ gnubiff | | 3 ++ gnucash | [] [] | 9 ++ gnucash-glossary | [] [] [] | 8 ++ gnupg | [] [] [] [] | 17 ++ gpe-aerial | [] | 7 ++ gpe-beam | [] | 8 ++ gpe-calendar | [] [] [] [] | 13 ++ gpe-clock | [] [] [] | 10 ++ gpe-conf | [] [] | 9 ++ gpe-contacts | [] [] [] | 11 ++ gpe-edit | [] [] [] [] [] | 12 ++ gpe-go | | 5 ++ gpe-login | [] [] [] [] [] | 13 ++ gpe-ownerinfo | [] [] [] [] | 13 ++ gpe-sketchbook | [] [] | 9 ++ gpe-su | [] [] [] | 10 ++ gpe-taskmanager | [] [] [] | 10 ++ gpe-timesheet | [] [] [] [] | 12 ++ gpe-today | [] [] [] [] [] | 13 ++ gpe-todo | [] [] [] [] | 12 ++ gphoto2 | [] [] [] | 11 ++ gprof | [] [] | 9 ++ gpsdrive | [] [] | 3 ++ gramadoir | [] | 5 ++ grep | [] [] [] [] | 26 ++ gretl | | 3 ++ gtick | | 7 ++ hello | [] [] [] [] [] | 34 ++ id-utils | [] [] | 12 ++ indent | [] [] [] [] | 21 ++ iso_3166 | [] [] [] [] [] [] [] | 27 ++ iso_3166_1 | [] [] [] | 16 ++ iso_3166_2 | | 0 ++ iso_3166_3 | | 2 ++ iso_4217 | [] [] [] [] [] [] | 24 ++ iso_639 | | 1 ++ jpilot | [] [] [] [] [] | 9 ++ jtag | [] | 2 ++ jwhois | () [] [] | 11 ++ kbd | [] [] | 11 ++ latrine | | 2 ++ ld | [] [] | 5 ++ libc | [] [] [] [] | 20 ++ libgpewidget | [] [] [] [] | 13 ++ libiconv | [] [] [] [] [] [] [] [] | 27 ++ lifelines | [] | 2 ++ lilypond | [] | 3 ++ lingoteach | | 2 ++ lingoteach_lessons | () | 0 ++ lynx | [] [] [] | 14 ++ m4 | [] [] | 15 ++ mailutils | | 5 ++ make | [] [] [] | 16 ++ man-db | [] | 5 ++ minicom | | 11 ++ mysecretdiary | [] [] | 10 ++ nano | [] [] [] [] | 17 ++ nano_1_0 | [] [] [] | 17 ++ opcodes | [] [] | 6 ++ parted | [] [] [] | 15 ++ ptx | [] [] | 22 ++ python | | 0 ++ radius | | 4 ++ recode | [] [] [] | 20 ++ rpm | [] [] | 9 ++ screem | [] [] | 2 ++ scrollkeeper | [] [] [] | 15 ++ sed | [] [] [] [] [] [] | 24 ++ sh-utils | [] [] | 14 ++ shared-mime-info | [] [] | 7 ++ sharutils | [] [] [] [] | 17 ++ silky | () | 3 ++ skencil | [] | 6 ++ sketch | [] | 6 ++ soundtracker | [] [] | 7 ++ sp | [] | 3 ++ tar | [] [] [] [] [] | 24 ++ texinfo | [] [] [] | 14 ++ textutils | [] [] [] [] | 16 ++ tin | | 1 ++ tp-robot | | 2 ++ tuxpaint | [] [] [] [] [] | 29 ++ unicode-han-tra... | | 0 ++ unicode-transla... | | 2 ++ util-linux | [] [] | 15 ++ vorbis-tools | | 8 ++ wastesedge | | 0 ++ wdiff | [] [] [] | 18 ++ wget | [] [] [] [] [] [] [] [] | 24 ++ xchat | [] [] [] [] [] | 15 ++ xfree86_xkb_xml | [] [] [] [] [] | 11 ++ xpad | | 5 ++ +-----------------------------------------------------+ ++ 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu ++ 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 + + Some counters in the preceding matrix are higher than the number of + visible blocks let us expect. This is because a few extra PO files are +@@ -220,6 +742,27 @@ + lag between the mere existence a PO file and its wide availability in a + distribution. + +- If August 1997 seems to be old, you may fetch a more recent copy of +-this `ABOUT-NLS' file on most GNU archive sites. ++ If January 2004 seems to be old, you may fetch a more recent copy of ++this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date ++matrix with full percentage details can be found at ++`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. ++ ++Using `gettext' in new packages ++=============================== ++ ++If you are writing a freely available program and want to ++internationalize it you are welcome to use GNU `gettext' in your ++package. Of course you have to respect the GNU Library General Public ++License which covers the use of the GNU `gettext' library. This means ++in particular that even non-free programs can use `libintl' as a shared ++library, whereas only free software can use `libintl' as a static ++library or use modified versions of `libintl'. ++ ++ Once the sources are changed appropriately and the setup can handle ++the use of `gettext' the only thing missing are the translations. The ++Free Translation Project is also available for packages which are not ++developed inside the GNU project. Therefore the information given above ++applies also for every other Free Software Project. Contact ++`translation@iro.umontreal.ca' to make the `.pot' files available to ++the translation teams. + +--- lrzsz-0.12.20.safe/ChangeLog 1998-12-29 17:49:56.000000000 -0500 ++++ lrzsz-0.12.20/ChangeLog 2004-09-12 14:40:35.846521456 -0400 +@@ -1,3 +1,11 @@ ++2004-09-12 gettextize ++ ++ * Makefile.am (ACLOCAL_AMFLAGS): New variable. ++ (EXTRA_DIST): Add config.rpath. ++ * configure.in (AC_OUTPUT): Add m4/Makefile. ++ (AC_OUTPUT): Remove command that created po/Makefile. ++ (AC_LINK_FILES): Remove invocation. ++ + 1998-12-29 Uwe Ohse + + * src/lrz.c: removed stpcpy call. +--- lrzsz-0.12.20.safe/config.rpath 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/config.rpath 2004-09-12 14:40:34.329752040 -0400 +@@ -0,0 +1,548 @@ ++#! /bin/sh ++# Output a system dependent set of variables, describing how to set the ++# run time search path of shared libraries in an executable. ++# ++# Copyright 1996-2003 Free Software Foundation, Inc. ++# Taken from GNU libtool, 2001 ++# Originally by Gordon Matzigkeit , 1996 ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++# ++# As a special exception to the GNU General Public License, if you ++# distribute this file as part of a program that contains a ++# configuration script generated by Autoconf, you may include it under ++# the same distribution terms that you use for the rest of that program. ++# ++# The first argument passed to this file is the canonical host specification, ++# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM ++# or ++# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM ++# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld ++# should be set by the caller. ++# ++# The set of defined variables is at the end of this script. ++ ++# Known limitations: ++# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer ++# than 256 bytes, otherwise the compiler driver will dump core. The only ++# known workaround is to choose shorter directory names for the build ++# directory and/or the installation directory. ++ ++# All known linkers require a `.a' archive for static linking (except M$VC, ++# which needs '.lib'). ++libext=a ++shrext=.so ++ ++host="$1" ++host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` ++host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` ++host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ++ ++# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. ++ ++wl= ++if test "$GCC" = yes; then ++ wl='-Wl,' ++else ++ case "$host_os" in ++ aix*) ++ wl='-Wl,' ++ ;; ++ mingw* | pw32* | os2*) ++ ;; ++ hpux9* | hpux10* | hpux11*) ++ wl='-Wl,' ++ ;; ++ irix5* | irix6* | nonstopux*) ++ wl='-Wl,' ++ ;; ++ newsos6) ++ ;; ++ linux*) ++ case $CC in ++ icc|ecc) ++ wl='-Wl,' ++ ;; ++ ccc) ++ wl='-Wl,' ++ ;; ++ esac ++ ;; ++ osf3* | osf4* | osf5*) ++ wl='-Wl,' ++ ;; ++ sco3.2v5*) ++ ;; ++ solaris*) ++ wl='-Wl,' ++ ;; ++ sunos4*) ++ wl='-Qoption ld ' ++ ;; ++ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ wl='-Wl,' ++ ;; ++ sysv4*MP*) ++ ;; ++ uts4*) ++ ;; ++ esac ++fi ++ ++# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. ++ ++hardcode_libdir_flag_spec= ++hardcode_libdir_separator= ++hardcode_direct=no ++hardcode_minus_L=no ++ ++case "$host_os" in ++ cygwin* | mingw* | pw32*) ++ # FIXME: the MSVC++ port hasn't been tested in a loooong time ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ if test "$GCC" != yes; then ++ with_gnu_ld=no ++ fi ++ ;; ++ openbsd*) ++ with_gnu_ld=no ++ ;; ++esac ++ ++ld_shlibs=yes ++if test "$with_gnu_ld" = yes; then ++ case "$host_os" in ++ aix3* | aix4* | aix5*) ++ # On AIX/PPC, the GNU linker is very broken ++ if test "$host_cpu" != ia64; then ++ ld_shlibs=no ++ fi ++ ;; ++ amigaos*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ # Samuel A. Falvo II reports ++ # that the semantics of dynamic libraries on AmigaOS, at least up ++ # to version 4, is to share data among multiple programs linked ++ # with the same dynamic library. Since this doesn't match the ++ # behavior of shared libraries on other platforms, we can use ++ # them. ++ ld_shlibs=no ++ ;; ++ beos*) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ : ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ cygwin* | mingw* | pw32*) ++ # hardcode_libdir_flag_spec is actually meaningless, as there is ++ # no search path for DLLs. ++ hardcode_libdir_flag_spec='-L$libdir' ++ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then ++ : ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ netbsd*) ++ ;; ++ solaris* | sysv5*) ++ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ : ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ sunos4*) ++ hardcode_direct=yes ++ ;; ++ *) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ : ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ if test "$ld_shlibs" = yes; then ++ # Unlike libtool, we use -rpath here, not --rpath, since the documented ++ # option of GNU ld is called -rpath, not --rpath. ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ fi ++else ++ case "$host_os" in ++ aix3*) ++ # Note: this linker hardcodes the directories in LIBPATH if there ++ # are no directories specified by -L. ++ hardcode_minus_L=yes ++ if test "$GCC" = yes; then ++ # Neither direct hardcoding nor static linking is supported with a ++ # broken collect2. ++ hardcode_direct=unsupported ++ fi ++ ;; ++ aix4* | aix5*) ++ if test "$host_cpu" = ia64; then ++ # On IA64, the linker does run time linking by default, so we don't ++ # have to do anything special. ++ aix_use_runtimelinking=no ++ else ++ aix_use_runtimelinking=no ++ # Test if we are trying to use run time linking or normal ++ # AIX style linking. If -brtl is somewhere in LDFLAGS, we ++ # need to do runtime linking. ++ case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ for ld_flag in $LDFLAGS; do ++ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then ++ aix_use_runtimelinking=yes ++ break ++ fi ++ done ++ esac ++ fi ++ hardcode_direct=yes ++ hardcode_libdir_separator=':' ++ if test "$GCC" = yes; then ++ case $host_os in aix4.[012]|aix4.[012].*) ++ collect2name=`${CC} -print-prog-name=collect2` ++ if test -f "$collect2name" && \ ++ strings "$collect2name" | grep resolve_lib_name >/dev/null ++ then ++ # We have reworked collect2 ++ hardcode_direct=yes ++ else ++ # We have old collect2 ++ hardcode_direct=unsupported ++ hardcode_minus_L=yes ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_libdir_separator= ++ fi ++ esac ++ fi ++ # Begin _LT_AC_SYS_LIBPATH_AIX. ++ echo 'int main () { return 0; }' > conftest.c ++ ${CC} ${LDFLAGS} conftest.c -o conftest ++ aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } ++}'` ++ if test -z "$aix_libpath"; then ++ aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } ++}'` ++ fi ++ if test -z "$aix_libpath"; then ++ aix_libpath="/usr/lib:/lib" ++ fi ++ rm -f conftest.c conftest ++ # End _LT_AC_SYS_LIBPATH_AIX. ++ if test "$aix_use_runtimelinking" = yes; then ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ else ++ if test "$host_cpu" = ia64; then ++ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' ++ else ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ fi ++ fi ++ ;; ++ amigaos*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ # see comment about different semantics on the GNU ld section ++ ld_shlibs=no ++ ;; ++ bsdi4*) ++ ;; ++ cygwin* | mingw* | pw32*) ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ # hardcode_libdir_flag_spec is actually meaningless, as there is ++ # no search path for DLLs. ++ hardcode_libdir_flag_spec=' ' ++ libext=lib ++ ;; ++ darwin* | rhapsody*) ++ if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then ++ hardcode_direct=no ++ fi ++ ;; ++ dgux*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ ;; ++ freebsd1*) ++ ld_shlibs=no ++ ;; ++ freebsd2.2*) ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ ;; ++ freebsd2*) ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ ;; ++ freebsd*) ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ ;; ++ hpux9*) ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ ;; ++ hpux10* | hpux11*) ++ if test "$with_gnu_ld" = no; then ++ case "$host_cpu" in ++ hppa*64*) ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=no ++ ;; ++ ia64*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_direct=no ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ ;; ++ *) ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ ;; ++ esac ++ fi ++ ;; ++ irix5* | irix6* | nonstopux*) ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ;; ++ netbsd*) ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ ;; ++ newsos6) ++ hardcode_direct=yes ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ;; ++ openbsd*) ++ hardcode_direct=yes ++ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ else ++ case "$host_os" in ++ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) ++ hardcode_libdir_flag_spec='-R$libdir' ++ ;; ++ *) ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ ;; ++ esac ++ fi ++ ;; ++ os2*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ ;; ++ osf3*) ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ;; ++ osf4* | osf5*) ++ if test "$GCC" = yes; then ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ else ++ # Both cc and cxx compiler support -rpath directly ++ hardcode_libdir_flag_spec='-rpath $libdir' ++ fi ++ hardcode_libdir_separator=: ++ ;; ++ sco3.2v5*) ++ ;; ++ solaris*) ++ hardcode_libdir_flag_spec='-R$libdir' ++ ;; ++ sunos4*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ ;; ++ sysv4) ++ case $host_vendor in ++ sni) ++ hardcode_direct=yes # is this really true??? ++ ;; ++ siemens) ++ hardcode_direct=no ++ ;; ++ motorola) ++ hardcode_direct=no #Motorola manual says yes, but my tests say they lie ++ ;; ++ esac ++ ;; ++ sysv4.3*) ++ ;; ++ sysv4*MP*) ++ if test -d /usr/nec; then ++ ld_shlibs=yes ++ fi ++ ;; ++ sysv4.2uw2*) ++ hardcode_direct=yes ++ hardcode_minus_L=no ++ ;; ++ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) ++ ;; ++ sysv5*) ++ hardcode_libdir_flag_spec= ++ ;; ++ uts4*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ ;; ++ *) ++ ld_shlibs=no ++ ;; ++ esac ++fi ++ ++# Check dynamic linker characteristics ++# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. ++libname_spec='lib$name' ++case "$host_os" in ++ aix3*) ++ ;; ++ aix4* | aix5*) ++ ;; ++ amigaos*) ++ ;; ++ beos*) ++ ;; ++ bsdi4*) ++ ;; ++ cygwin* | mingw* | pw32*) ++ shrext=.dll ++ ;; ++ darwin* | rhapsody*) ++ shrext=.dylib ++ ;; ++ dgux*) ++ ;; ++ freebsd1*) ++ ;; ++ freebsd*) ++ ;; ++ gnu*) ++ ;; ++ hpux9* | hpux10* | hpux11*) ++ case "$host_cpu" in ++ ia64*) ++ shrext=.so ++ ;; ++ hppa*64*) ++ shrext=.sl ++ ;; ++ *) ++ shrext=.sl ++ ;; ++ esac ++ ;; ++ irix5* | irix6* | nonstopux*) ++ case "$host_os" in ++ irix5* | nonstopux*) ++ libsuff= shlibsuff= ++ ;; ++ *) ++ case $LD in ++ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; ++ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; ++ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; ++ *) libsuff= shlibsuff= ;; ++ esac ++ ;; ++ esac ++ ;; ++ linux*oldld* | linux*aout* | linux*coff*) ++ ;; ++ linux*) ++ ;; ++ netbsd*) ++ ;; ++ newsos6) ++ ;; ++ nto-qnx) ++ ;; ++ openbsd*) ++ ;; ++ os2*) ++ libname_spec='$name' ++ shrext=.dll ++ ;; ++ osf3* | osf4* | osf5*) ++ ;; ++ sco3.2v5*) ++ ;; ++ solaris*) ++ ;; ++ sunos4*) ++ ;; ++ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ ;; ++ sysv4*MP*) ++ ;; ++ uts4*) ++ ;; ++esac ++ ++sed_quote_subst='s/\(["`$\\]\)/\\\1/g' ++escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` ++shlibext=`echo "$shrext" | sed -e 's,^\.,,'` ++escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` ++ ++sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' < po/Makefile; ++[ + chmod +x debian/rules; + test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h]) +--- lrzsz-0.12.20.safe/intl/bindtextdom.c 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/bindtextdom.c 2004-09-12 14:40:34.343749912 -0400 +@@ -1,59 +1,75 @@ + /* Implementation of the bindtextdomain(3) function +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++ Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#else +-# ifdef HAVE_MALLOC_H +-# include +-# else +-void free (); +-# endif +-#endif ++#include ++#include ++#include + +-#if defined HAVE_STRING_H || defined _LIBC +-# include ++#ifdef _LIBC ++# include + #else +-# include +-# ifndef memcpy +-# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +-# endif ++# include "libgnuintl.h" + #endif ++#include "gettextP.h" + + #ifdef _LIBC +-# include ++/* We have to handle multi-threaded applications. */ ++# include + #else +-# include "libgettext.h" ++/* Provide dummy implementation if this is outside glibc. */ ++# define __libc_rwlock_define(CLASS, NAME) ++# define __libc_rwlock_wrlock(NAME) ++# define __libc_rwlock_unlock(NAME) ++#endif ++ ++/* The internal variables in the standalone libintl.a must have different ++ names than the internal variables in GNU libc, otherwise programs ++ using libintl.a cannot be linked statically. */ ++#if !defined _LIBC ++# define _nl_default_dirname libintl_nl_default_dirname ++# define _nl_domain_bindings libintl_nl_domain_bindings ++#endif ++ ++/* Some compilers, like SunOS4 cc, don't have offsetof in . */ ++#ifndef offsetof ++# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) + #endif +-#include "gettext.h" +-#include "gettextP.h" + + /* @@ end of prolog @@ */ + + /* Contains the default location of the message catalogs. */ + extern const char _nl_default_dirname[]; ++#ifdef _LIBC ++extern const char _nl_default_dirname_internal[] attribute_hidden; ++#else ++# define INTUSE(name) name ++#endif + + /* List with bindings of specific domains. */ + extern struct binding *_nl_domain_bindings; + ++/* Lock variable to protect the global data in the gettext implementation. */ ++__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) ++ + + /* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source +@@ -61,23 +77,41 @@ + prefix. So we have to make a difference here. */ + #ifdef _LIBC + # define BINDTEXTDOMAIN __bindtextdomain +-# define strdup(str) __strdup (str) ++# define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset ++# ifndef strdup ++# define strdup(str) __strdup (str) ++# endif + #else +-# define BINDTEXTDOMAIN bindtextdomain__ ++# define BINDTEXTDOMAIN libintl_bindtextdomain ++# define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset + #endif + +-/* Specify that the DOMAINNAME message catalog will be found +- in DIRNAME rather than in the system locale data base. */ +-char * +-BINDTEXTDOMAIN (domainname, dirname) +- const char *domainname; +- const char *dirname; ++/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP ++ to be used for the DOMAINNAME message catalog. ++ If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not ++ modified, only the current value is returned. ++ If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither ++ modified nor returned. */ ++static void ++set_binding_values (const char *domainname, ++ const char **dirnamep, const char **codesetp) + { + struct binding *binding; ++ int modified; + + /* Some sanity checks. */ + if (domainname == NULL || domainname[0] == '\0') +- return NULL; ++ { ++ if (dirnamep) ++ *dirnamep = NULL; ++ if (codesetp) ++ *codesetp = NULL; ++ return; ++ } ++ ++ __libc_rwlock_wrlock (_nl_state_lock); ++ ++ modified = 0; + + for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) + { +@@ -93,81 +127,173 @@ + } + } + +- if (dirname == NULL) +- /* The current binding has be to returned. */ +- return binding == NULL ? (char *) _nl_default_dirname : binding->dirname; +- + if (binding != NULL) + { +- /* The domain is already bound. If the new value and the old +- one are equal we simply do nothing. Otherwise replace the +- old binding. */ +- if (strcmp (dirname, binding->dirname) != 0) ++ if (dirnamep) + { +- char *new_dirname; ++ const char *dirname = *dirnamep; + +- if (strcmp (dirname, _nl_default_dirname) == 0) +- new_dirname = (char *) _nl_default_dirname; ++ if (dirname == NULL) ++ /* The current binding has be to returned. */ ++ *dirnamep = binding->dirname; + else + { ++ /* The domain is already bound. If the new value and the old ++ one are equal we simply do nothing. Otherwise replace the ++ old binding. */ ++ char *result = binding->dirname; ++ if (strcmp (dirname, result) != 0) ++ { ++ if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) ++ result = (char *) INTUSE(_nl_default_dirname); ++ else ++ { + #if defined _LIBC || defined HAVE_STRDUP +- new_dirname = strdup (dirname); +- if (new_dirname == NULL) +- return NULL; ++ result = strdup (dirname); + #else +- size_t len = strlen (dirname) + 1; +- new_dirname = (char *) malloc (len); +- if (new_dirname == NULL) +- return NULL; +- +- memcpy (new_dirname, dirname, len); ++ size_t len = strlen (dirname) + 1; ++ result = (char *) malloc (len); ++ if (__builtin_expect (result != NULL, 1)) ++ memcpy (result, dirname, len); + #endif ++ } ++ ++ if (__builtin_expect (result != NULL, 1)) ++ { ++ if (binding->dirname != INTUSE(_nl_default_dirname)) ++ free (binding->dirname); ++ ++ binding->dirname = result; ++ modified = 1; ++ } ++ } ++ *dirnamep = result; + } ++ } + +- if (binding->dirname != _nl_default_dirname) +- free (binding->dirname); ++ if (codesetp) ++ { ++ const char *codeset = *codesetp; + +- binding->dirname = new_dirname; ++ if (codeset == NULL) ++ /* The current binding has be to returned. */ ++ *codesetp = binding->codeset; ++ else ++ { ++ /* The domain is already bound. If the new value and the old ++ one are equal we simply do nothing. Otherwise replace the ++ old binding. */ ++ char *result = binding->codeset; ++ if (result == NULL || strcmp (codeset, result) != 0) ++ { ++#if defined _LIBC || defined HAVE_STRDUP ++ result = strdup (codeset); ++#else ++ size_t len = strlen (codeset) + 1; ++ result = (char *) malloc (len); ++ if (__builtin_expect (result != NULL, 1)) ++ memcpy (result, codeset, len); ++#endif ++ ++ if (__builtin_expect (result != NULL, 1)) ++ { ++ if (binding->codeset != NULL) ++ free (binding->codeset); ++ ++ binding->codeset = result; ++ binding->codeset_cntr++; ++ modified = 1; ++ } ++ } ++ *codesetp = result; ++ } + } + } ++ else if ((dirnamep == NULL || *dirnamep == NULL) ++ && (codesetp == NULL || *codesetp == NULL)) ++ { ++ /* Simply return the default values. */ ++ if (dirnamep) ++ *dirnamep = INTUSE(_nl_default_dirname); ++ if (codesetp) ++ *codesetp = NULL; ++ } + else + { + /* We have to create a new binding. */ +- size_t len; ++ size_t len = strlen (domainname) + 1; + struct binding *new_binding = +- (struct binding *) malloc (sizeof (*new_binding)); ++ (struct binding *) malloc (offsetof (struct binding, domainname) + len); + +- if (new_binding == NULL) +- return NULL; ++ if (__builtin_expect (new_binding == NULL, 0)) ++ goto failed; + ++ memcpy (new_binding->domainname, domainname, len); ++ ++ if (dirnamep) ++ { ++ const char *dirname = *dirnamep; ++ ++ if (dirname == NULL) ++ /* The default value. */ ++ dirname = INTUSE(_nl_default_dirname); ++ else ++ { ++ if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) ++ dirname = INTUSE(_nl_default_dirname); ++ else ++ { ++ char *result; + #if defined _LIBC || defined HAVE_STRDUP +- new_binding->domainname = strdup (domainname); +- if (new_binding->domainname == NULL) +- return NULL; ++ result = strdup (dirname); ++ if (__builtin_expect (result == NULL, 0)) ++ goto failed_dirname; + #else +- len = strlen (domainname) + 1; +- new_binding->domainname = (char *) malloc (len); +- if (new_binding->domainname == NULL) +- return NULL; +- memcpy (new_binding->domainname, domainname, len); ++ size_t len = strlen (dirname) + 1; ++ result = (char *) malloc (len); ++ if (__builtin_expect (result == NULL, 0)) ++ goto failed_dirname; ++ memcpy (result, dirname, len); + #endif +- +- if (strcmp (dirname, _nl_default_dirname) == 0) +- new_binding->dirname = (char *) _nl_default_dirname; ++ dirname = result; ++ } ++ } ++ *dirnamep = dirname; ++ new_binding->dirname = (char *) dirname; ++ } + else ++ /* The default value. */ ++ new_binding->dirname = (char *) INTUSE(_nl_default_dirname); ++ ++ new_binding->codeset_cntr = 0; ++ ++ if (codesetp) + { ++ const char *codeset = *codesetp; ++ ++ if (codeset != NULL) ++ { ++ char *result; ++ + #if defined _LIBC || defined HAVE_STRDUP +- new_binding->dirname = strdup (dirname); +- if (new_binding->dirname == NULL) +- return NULL; ++ result = strdup (codeset); ++ if (__builtin_expect (result == NULL, 0)) ++ goto failed_codeset; + #else +- len = strlen (dirname) + 1; +- new_binding->dirname = (char *) malloc (len); +- if (new_binding->dirname == NULL) +- return NULL; +- memcpy (new_binding->dirname, dirname, len); ++ size_t len = strlen (codeset) + 1; ++ result = (char *) malloc (len); ++ if (__builtin_expect (result == NULL, 0)) ++ goto failed_codeset; ++ memcpy (result, codeset, len); + #endif ++ codeset = result; ++ new_binding->codeset_cntr++; ++ } ++ *codesetp = codeset; ++ new_binding->codeset = (char *) codeset; + } ++ else ++ new_binding->codeset = NULL; + + /* Now enqueue it. */ + if (_nl_domain_bindings == NULL +@@ -187,13 +313,51 @@ + binding->next = new_binding; + } + +- binding = new_binding; ++ modified = 1; ++ ++ /* Here we deal with memory allocation failures. */ ++ if (0) ++ { ++ failed_codeset: ++ if (new_binding->dirname != INTUSE(_nl_default_dirname)) ++ free (new_binding->dirname); ++ failed_dirname: ++ free (new_binding); ++ failed: ++ if (dirnamep) ++ *dirnamep = NULL; ++ if (codesetp) ++ *codesetp = NULL; ++ } + } + +- return binding->dirname; ++ /* If we modified any binding, we flush the caches. */ ++ if (modified) ++ ++_nl_msg_cat_cntr; ++ ++ __libc_rwlock_unlock (_nl_state_lock); ++} ++ ++/* Specify that the DOMAINNAME message catalog will be found ++ in DIRNAME rather than in the system locale data base. */ ++char * ++BINDTEXTDOMAIN (const char *domainname, const char *dirname) ++{ ++ set_binding_values (domainname, &dirname, NULL); ++ return (char *) dirname; ++} ++ ++/* Specify the character encoding in which the messages from the ++ DOMAINNAME message catalog will be returned. */ ++char * ++BIND_TEXTDOMAIN_CODESET (const char *domainname, const char *codeset) ++{ ++ set_binding_values (domainname, NULL, &codeset); ++ return (char *) codeset; + } + + #ifdef _LIBC +-/* Alias for function name in GNU C Library. */ ++/* Aliases for function names in GNU C Library. */ + weak_alias (__bindtextdomain, bindtextdomain); ++weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset); + #endif +--- lrzsz-0.12.20.safe/intl/cat-compat.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/cat-compat.c 1969-12-31 19:00:00.000000000 -0500 +@@ -1,262 +0,0 @@ +-/* Compatibility code for gettext-using-catgets interface. +- Copyright (C) 1995, 1997 Free Software Foundation, Inc. +- +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. +- +- This program is distributed in the hope that it will be useful, +- but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. +- +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +- +-#ifdef HAVE_CONFIG_H +-# include +-#endif +- +-#include +- +-#ifdef STDC_HEADERS +-# include +-# include +-#else +-char *getenv (); +-# ifdef HAVE_MALLOC_H +-# include +-# endif +-#endif +- +-#ifdef HAVE_NL_TYPES_H +-# include +-#endif +- +-#include "libgettext.h" +- +-/* @@ end of prolog @@ */ +- +-/* XPG3 defines the result of `setlocale (category, NULL)' as: +- ``Directs `setlocale()' to query `category' and return the current +- setting of `local'.'' +- However it does not specify the exact format. And even worse: POSIX +- defines this not at all. So we can use this feature only on selected +- system (e.g. those using GNU C Library). */ +-#ifdef _LIBC +-# define HAVE_LOCALE_NULL +-#endif +- +-/* The catalog descriptor. */ +-static nl_catd catalog = (nl_catd) -1; +- +-/* Name of the default catalog. */ +-static const char default_catalog_name[] = "messages"; +- +-/* Name of currently used catalog. */ +-static const char *catalog_name = default_catalog_name; +- +-/* Get ID for given string. If not found return -1. */ +-static int msg_to_cat_id PARAMS ((const char *msg)); +- +-/* Substitution for systems lacking this function in their C library. */ +-#if !_LIBC && !HAVE_STPCPY +-static char *stpcpy PARAMS ((char *dest, const char *src)); +-#endif +- +- +-/* Set currently used domain/catalog. */ +-char * +-textdomain (domainname) +- const char *domainname; +-{ +- nl_catd new_catalog; +- char *new_name; +- size_t new_name_len; +- char *lang; +- +-#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES \ +- && defined HAVE_LOCALE_NULL +- lang = setlocale (LC_MESSAGES, NULL); +-#else +- lang = getenv ("LC_ALL"); +- if (lang == NULL || lang[0] == '\0') +- { +- lang = getenv ("LC_MESSAGES"); +- if (lang == NULL || lang[0] == '\0') +- lang = getenv ("LANG"); +- } +-#endif +- if (lang == NULL || lang[0] == '\0') +- lang = "C"; +- +- /* See whether name of currently used domain is asked. */ +- if (domainname == NULL) +- return (char *) catalog_name; +- +- if (domainname[0] == '\0') +- domainname = default_catalog_name; +- +- /* Compute length of added path element. */ +- new_name_len = sizeof (LOCALEDIR) - 1 + 1 + strlen (lang) +- + sizeof ("/LC_MESSAGES/") - 1 + sizeof (PACKAGE) - 1 +- + sizeof (".cat"); +- +- new_name = (char *) malloc (new_name_len); +- if (new_name == NULL) +- return NULL; +- +- strcpy (new_name, PACKAGE); +- new_catalog = catopen (new_name, 0); +- +- if (new_catalog == (nl_catd) -1) +- { +- /* NLSPATH search didn't work, try absolute path */ +- sprintf (new_name, "%s/%s/LC_MESSAGES/%s.cat", LOCALEDIR, lang, +- PACKAGE); +- new_catalog = catopen (new_name, 0); +- +- if (new_catalog == (nl_catd) -1) +- { +- free (new_name); +- return (char *) catalog_name; +- } +- } +- +- /* Close old catalog. */ +- if (catalog != (nl_catd) -1) +- catclose (catalog); +- if (catalog_name != default_catalog_name) +- free ((char *) catalog_name); +- +- catalog = new_catalog; +- catalog_name = new_name; +- +- return (char *) catalog_name; +-} +- +-char * +-bindtextdomain (domainname, dirname) +- const char *domainname; +- const char *dirname; +-{ +-#if HAVE_SETENV || HAVE_PUTENV +- char *old_val, *new_val, *cp; +- size_t new_val_len; +- +- /* This does not make much sense here but to be compatible do it. */ +- if (domainname == NULL) +- return NULL; +- +- /* Compute length of added path element. If we use setenv we don't need +- the first byts for NLSPATH=, but why complicate the code for this +- peanuts. */ +- new_val_len = sizeof ("NLSPATH=") - 1 + strlen (dirname) +- + sizeof ("/%L/LC_MESSAGES/%N.cat"); +- +- old_val = getenv ("NLSPATH"); +- if (old_val == NULL || old_val[0] == '\0') +- { +- old_val = NULL; +- new_val_len += 1 + sizeof (LOCALEDIR) - 1 +- + sizeof ("/%L/LC_MESSAGES/%N.cat"); +- } +- else +- new_val_len += strlen (old_val); +- +- new_val = (char *) malloc (new_val_len); +- if (new_val == NULL) +- return NULL; +- +-# if HAVE_SETENV +- cp = new_val; +-# else +- cp = stpcpy (new_val, "NLSPATH="); +-# endif +- +- cp = stpcpy (cp, dirname); +- cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); +- +- if (old_val == NULL) +- { +-# if __STDC__ +- stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); +-# else +- +- cp = stpcpy (cp, LOCALEDIR); +- stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); +-# endif +- } +- else +- stpcpy (cp, old_val); +- +-# if HAVE_SETENV +- setenv ("NLSPATH", new_val, 1); +- free (new_val); +-# else +- putenv (new_val); +- /* Do *not* free the environment entry we just entered. It is used +- from now on. */ +-# endif +- +-#endif +- +- return (char *) domainname; +-} +- +-#undef gettext +-char * +-gettext (msg) +- const char *msg; +-{ +- int msgid; +- +- if (msg == NULL || catalog == (nl_catd) -1) +- return (char *) msg; +- +- /* Get the message from the catalog. We always use set number 1. +- The message ID is computed by the function `msg_to_cat_id' +- which works on the table generated by `po-to-tbl'. */ +- msgid = msg_to_cat_id (msg); +- if (msgid == -1) +- return (char *) msg; +- +- return catgets (catalog, 1, msgid, (char *) msg); +-} +- +-/* Look through the table `_msg_tbl' which has `_msg_tbl_length' entries +- for the one equal to msg. If it is found return the ID. In case when +- the string is not found return -1. */ +-static int +-msg_to_cat_id (msg) +- const char *msg; +-{ +- int cnt; +- +- for (cnt = 0; cnt < _msg_tbl_length; ++cnt) +- if (strcmp (msg, _msg_tbl[cnt]._msg) == 0) +- return _msg_tbl[cnt]._msg_number; +- +- return -1; +-} +- +- +-/* @@ begin of epilog @@ */ +- +-/* We don't want libintl.a to depend on any other library. So we +- avoid the non-standard function stpcpy. In GNU C Library this +- function is available, though. Also allow the symbol HAVE_STPCPY +- to be defined. */ +-#if !_LIBC && !HAVE_STPCPY +-static char * +-stpcpy (dest, src) +- char *dest; +- const char *src; +-{ +- while ((*dest++ = *src++) != '\0') +- /* Do nothing. */ ; +- return dest - 1; +-} +-#endif +--- lrzsz-0.12.20.safe/intl/ChangeLog 1998-04-26 09:22:35.000000000 -0400 ++++ lrzsz-0.12.20/intl/ChangeLog 2004-09-12 14:40:34.349749000 -0400 +@@ -1,1022 +1,4 @@ +-1997-09-06 02:10 Ulrich Drepper +- +- * intlh.inst.in: Reformat copyright. +- +-1997-08-19 15:22 Ulrich Drepper +- +- * dcgettext.c (DCGETTEXT): Remove wrong comment. +- +-1997-08-16 00:13 Ulrich Drepper +- +- * Makefile.in (install-data): Don't change directory to install. +- +-1997-08-01 14:30 Ulrich Drepper +- +- * cat-compat.c: Fix copyright. +- +- * localealias.c: Don't define strchr unless !HAVE_STRCHR. +- +- * loadmsgcat.c: Update copyright. Fix typos. +- +- * l10nflist.c: Don't define strchr unless !HAVE_STRCHR. +- (_nl_make_l10nflist): Handle sponsor and revision correctly. +- +- * gettext.c: Update copyright. +- * gettext.h: Likewise. +- * hash-string.h: Likewise. +- +- * finddomain.c: Remoave dead code. Define strchr only if +- !HAVE_STRCHR. +- +- * explodename.c: Include . +- +- * explodename.c: Reformat copyright text. +- (_nl_explode_name): Fix typo. +- +- * dcgettext.c: Define and use __set_errno. +- (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is +- not defined. +- +- * bindtextdom.c: Pretty printing. +- +-1997-05-01 02:25 Ulrich Drepper +- +- * dcgettext.c (guess_category_value): Don't depend on +- HAVE_LC_MESSAGES. We don't need the macro here. +- Patch by Bruno Haible . +- +- * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL +- macro. Instead use HAVE_LOCALE_NULL and define it when using +- glibc, as in dcgettext.c. +- Patch by Bruno Haible . +- +- * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois +- Pinard. +- +-Mon Mar 10 06:51:17 1997 Ulrich Drepper +- +- * Makefile.in: Implement handling of libtool. +- +- * gettextP.h: Change data structures for use of generic lowlevel +- i18n file handling. +- +-Wed Dec 4 20:21:18 1996 Ulrich Drepper +- +- * textdomain.c: Put parentheses around arguments of memcpy macro +- definition. +- * localealias.c: Likewise. +- * l10nflist.c: Likewise. +- * finddomain.c: Likewise. +- * bindtextdom.c: Likewise. +- Reported by Thomas Esken. +- +-Mon Nov 25 22:57:51 1996 Ulrich Drepper +- +- * textdomain.c: Move definition of `memcpy` macro to right +- position. +- +-Fri Nov 22 04:01:58 1996 Ulrich Drepper +- +- * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using +- bcopy if not already defined. Reported by Thomas Esken. +- * bindtextdom.c: Likewise. +- * l10nflist.c: Likewise. +- * localealias.c: Likewise. +- * textdomain.c: Likewise. +- +-Tue Oct 29 11:10:27 1996 Ulrich Drepper +- +- * Makefile.in (libdir): Change to use exec_prefix instead of +- prefix. Reported by Knut-HåvardAksnes . +- +-Sat Aug 31 03:07:09 1996 Ulrich Drepper +- +- * l10nflist.c (_nl_normalize_codeset): We convert to lower case, +- so don't prepend uppercase `ISO' for only numeric arg. +- +-Fri Jul 19 00:15:46 1996 Ulrich Drepper +- +- * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after +- definition of _GNU_SOURCE. Patch by Roland McGrath. +- +- * Makefile.in (uninstall): Fix another bug with `for' loop and +- empty arguments. Patch by Jim Meyering. Correct name os +- uninstalled files: no intl- prefix anymore. +- +- * Makefile.in (install-data): Again work around shells which +- cannot handle mpty for list. Reported by Jim Meyering. +- +-Sat Jul 13 18:11:35 1996 Ulrich Drepper +- +- * Makefile.in (install): Split goal. Now depend on install-exec +- and install-data. +- (install-exec, install-data): New goals. Created from former +- install goal. +- Reported by Karl Berry. +- +-Sat Jun 22 04:58:14 1996 Ulrich Drepper +- +- * Makefile.in (MKINSTALLDIRS): New variable. Path to +- mkinstalldirs script. +- (install): use MKINSTALLDIRS variable or if the script is not present +- try to find it in the $top_scrdir). +- +-Wed Jun 19 02:56:56 1996 Ulrich Drepper +- +- * l10nflist.c: Linux libc *partly* includes the argz_* functions. +- Grr. Work around by renaming the static version and use macros +- for renaming. +- +-Tue Jun 18 20:11:17 1996 Ulrich Drepper +- +- * l10nflist.c: Correct presence test macros of __argz_* functions. +- +- * l10nflist.c: Include based on test of it instead when +- __argz_* functions are available. +- Reported by Andreas Schwab. +- +-Thu Jun 13 15:17:44 1996 Ulrich Drepper +- +- * explodename.c, l10nflist.c: Define NULL for dumb systems. +- +-Tue Jun 11 17:05:13 1996 Ulrich Drepper +- +- * intlh.inst.in, libgettext.h (dcgettext): Rename local variable +- result to __result to prevent name clash. +- +- * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to +- get prototype for stpcpy and strcasecmp. +- +- * intlh.inst.in, libgettext.h: Move declaration of +- `_nl_msg_cat_cntr' outside __extension__ block to prevent warning +- from gcc's -Wnested-extern option. +- +-Fri Jun 7 01:58:00 1996 Ulrich Drepper +- +- * Makefile.in (install): Remove comment. +- +-Thu Jun 6 17:28:17 1996 Ulrich Drepper +- +- * Makefile.in (install): Work around for another Buglix stupidity. +- Always use an `else' close for `if's. Reported by Nelson Beebe. +- +- * Makefile.in (intlh.inst): Correct typo in phony rule. +- Reported by Nelson Beebe. +- +-Thu Jun 6 01:49:52 1996 Ulrich Drepper +- +- * dcgettext.c (read_alias_file): Rename variable alloca_list to +- block_list as the macro calls assume. +- Patch by Eric Backus. +- +- * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using +- malloc. +- (read_alias_file): Rename varriabe alloca_list to block_list as the +- macro calls assume. +- Patch by Eric Backus. +- +- * l10nflist.c: Correct conditional for inclusion. +- Reported by Roland McGrath. +- +- * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not +- all-@USE_NLS@. +- +- * Makefile.in (install): intlh.inst comes from local dir, not +- $(srcdir). +- +- * Makefile.in (intlh.inst): Special handling of this goal. If +- used in gettext, this is really a rul to construct this file. If +- used in any other package it is defined as a .PHONY rule with +- empty body. +- +- * finddomain.c: Extract locale file information handling into +- l10nfile.c. Rename local stpcpy__ function to stpcpy. +- +- * dcgettext.c (stpcpy): Add local definition. +- +- * l10nflist.c: Solve some portability problems. Patches partly by +- Thomas Esken. Add local definition of stpcpy. +- +-Tue Jun 4 02:47:49 1996 Ulrich Drepper +- +- * intlh.inst.in: Don't depend including on +- HAVE_LOCALE_H. Instead configure must rewrite this fiile +- depending on the result of the configure run. +- +- * Makefile.in (install): libintl.inst is now called intlh.inst. +- Add rules for updating intlh.inst from intlh.inst.in. +- +- * libintl.inst: Renamed to intlh.inst.in. +- +- * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1 +- because gcc has __buitlin_alloca. +- Reported by Roland McGrath. +- +-Mon Jun 3 00:32:16 1996 Ulrich Drepper +- +- * Makefile.in (installcheck): New goal to fulfill needs of +- automake's distcheck. +- +- * Makefile.in (install): Reorder commands so that VERSION is +- found. +- +- * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in +- @datadir@/gettext. +- (COMSRCS): Add l10nfile.c. +- (OBJECTS): Add l10nfile.o. +- (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common). +- (DISTFILE.gettext): Remove $(DISTFILES.common). +- (all-gettext): Remove goal. +- (install): If $(PACKAGE) = gettext install, otherwose do nothing. No +- package but gettext itself should install libintl.h + headers. +- (dist): Extend goal to work for gettext, too. +- (dist-gettext): Remove goal. +- +- * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc. +- +-Sun Jun 2 17:33:06 1996 Ulrich Drepper +- +- * loadmsgcat.c (_nl_load_domain): Parameter is now comes from +- find_l10nfile. +- +-Sat Jun 1 02:23:03 1996 Ulrich Drepper +- +- * l10nflist.c (__argz_next): Add definition. +- +- * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca +- code. Use new l10nfile handling. +- +- * localealias.c [!HAVE_ALLOCA]: Add code for handling missing +- alloca code. +- +- * l10nflist.c: Initial revision. +- +-Tue Apr 2 18:51:18 1996 Ulrich Drepper +- +- * Makefile.in (all-gettext): New goal. Same as all-yes. +- +-Thu Mar 28 23:01:22 1996 Karl Eichwalder +- +- * Makefile.in (gettextsrcdir): Define using @datadir@. +- +-Tue Mar 26 12:39:14 1996 Ulrich Drepper +- +- * finddomain.c: Include . Reported by Roland McGrath. +- +-Sat Mar 23 02:00:35 1996 Ulrich Drepper +- +- * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing +- with external declaration. +- +-Sat Mar 2 00:47:09 1996 Ulrich Drepper +- +- * Makefile.in (all-no): Rename from all_no. +- +-Sat Feb 17 00:25:59 1996 Ulrich Drepper +- +- * gettextP.h [loaded_domain]: Array `successor' must now contain up +- to 63 elements (because of codeset name normalization). +- +- * finddomain.c: Implement codeset name normalization. +- +-Thu Feb 15 04:39:09 1996 Ulrich Drepper +- +- * Makefile.in (all): Define to `all-@USE_NLS@'. +- (all-yes, all_no): New goals. `all-no' is noop, `all-yes' +- is former all. +- +-Mon Jan 15 21:46:01 1996 Howard Gayle +- +- * localealias.c (alias_compare): Increment string pointers in loop +- of strcasecmp replacement. +- +-Fri Dec 29 21:16:34 1995 Ulrich Drepper +- +- * Makefile.in (install-src): Who commented this goal out ? :-) +- +-Fri Dec 29 15:08:16 1995 Ulrich Drepper +- +- * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls +- should not effect it because a missing catalog is no error. +- Reported by Harald Knig . +- +-Tue Dec 19 22:09:13 1995 Ulrich Drepper +- +- * Makefile.in (Makefile): Explicitly use $(SHELL) for running +- shell scripts. +- +-Fri Dec 15 17:34:59 1995 Andreas Schwab +- +- * Makefile.in (install-src): Only install library and header when +- we use the own implementation. Don't do it when using the +- system's gettext or catgets functions. +- +- * dcgettext.c (find_msg): Must not swap domain->hash_size here. +- +-Sat Dec 9 16:24:37 1995 Ulrich Drepper +- +- * localealias.c, libintl.inst, libgettext.h, hash-string.h, +- gettextP.h, finddomain.c, dcgettext.c, cat-compat.c: +- Use PARAMS instead of __P. Suggested by Roland McGrath. +- +-Tue Dec 5 11:39:14 1995 Larry Schwimmer +- +- * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if +- !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty. +- +-Mon Dec 4 15:42:07 1995 Ulrich Drepper +- +- * Makefile.in (install-src): +- Install libintl.inst instead of libintl.h.install. +- +-Sat Dec 2 22:51:38 1995 Marcus Daniels +- +- * cat-compat.c (textdomain): +- Reverse order in which files are tried you load. First +- try local file, when this failed absolute path. +- +-Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe +- +- * cat-compat.c (bindtextdomain): Add missing { }. +- +-Sun Nov 26 18:21:41 1995 Ulrich Drepper +- +- * libintl.inst: Add missing __P definition. Reported by Nelson Beebe. +- +- * Makefile.in: +- Add dummy `all' and `dvi' goals. Reported by Tom Tromey. +- +-Sat Nov 25 16:12:01 1995 Franc,ois Pinard +- +- * hash-string.h: Capitalize arguments of macros. +- +-Sat Nov 25 12:01:36 1995 Ulrich Drepper +- +- * Makefile.in (DISTFILES): Prevent files names longer than 13 +- characters. libintl.h.glibc->libintl.glibc, +- libintl.h.install->libintl.inst. Reported by Joshua R. Poulson. +- +-Sat Nov 25 11:31:12 1995 Eric Backus +- +- * dcgettext.c: Fix bug in preprocessor conditionals. +- +-Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe +- +- * libgettext.h: Solaris cc does not understand +- #if !SYMBOL1 && !SYMBOL2. Sad but true. +- +-Thu Nov 23 16:22:14 1995 Ulrich Drepper +- +- * hash-string.h (hash_string): +- Fix for machine with >32 bit `unsigned long's. +- +- * dcgettext.c (DCGETTEXT): +- Fix horrible bug in loop for alternative translation. +- +-Thu Nov 23 01:45:29 1995 Ulrich Drepper +- +- * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed: +- Some further simplifications in message number generation. +- +-Mon Nov 20 21:08:43 1995 Ulrich Drepper +- +- * libintl.h.glibc: Use __const instead of const in prototypes. +- +- * Makefile.in (install-src): +- Install libintl.h.install instead of libintl.h. This +- is a stripped-down version. Suggested by Peter Miller. +- +- * libintl.h.install, libintl.h.glibc: Initial revision. +- +- * localealias.c (_nl_expand_alias, read_alias_file): +- Protect prototypes in type casts by __P. +- +-Tue Nov 14 16:43:58 1995 Ulrich Drepper +- +- * hash-string.h: Correct prototype for hash_string. +- +-Sun Nov 12 12:42:30 1995 Ulrich Drepper +- +- * hash-string.h (hash_string): Add prototype. +- +- * gettextP.h: Fix copyright. +- (SWAP): Add prototype. +- +-Wed Nov 8 22:56:33 1995 Ulrich Drepper +- +- * localealias.c (read_alias_file): Forgot sizeof. +- Avoid calling *printf function. This introduces a big overhead. +- Patch by Roland McGrath. +- +-Tue Nov 7 14:21:08 1995 Ulrich Drepper +- +- * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy. +- +- * finddomain.c (stpcpy): +- Define substitution function local. The macro was to flaky. +- +- * cat-compat.c: Fix typo. +- +- * xopen-msg.sed, linux-msg.sed: +- While bringing message number to right place only accept digits. +- +- * linux-msg.sed, xopen-msg.sed: Now that the counter does not have +- leading 0s we don't need to remove them. Reported by Marcus +- Daniels. +- +- * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in +- dependency. Reported by Marcus Daniels. +- +- * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement. +- Generally cleanup using #if instead of #ifndef. +- +- * Makefile.in: Correct typos in comment. By Franc,ois Pinard. +- +-Mon Nov 6 00:27:02 1995 Ulrich Drepper +- +- * Makefile.in (install-src): Don't install libintl.h and libintl.a +- if we use an available gettext implementation. +- +-Sun Nov 5 22:02:08 1995 Ulrich Drepper +- +- * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported +- by Franc,ois Pinard. +- +- * libgettext.h: Use #if instead of #ifdef/#ifndef. +- +- * finddomain.c: +- Comments describing what has to be done should start with FIXME. +- +-Sun Nov 5 19:38:01 1995 Ulrich Drepper +- +- * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning. +- DISTFILES.common names the files common to both dist goals. +- DISTFILES.gettext are the files only distributed in GNU gettext. +- +-Sun Nov 5 17:32:54 1995 Ulrich Drepper +- +- * dcgettext.c (DCGETTEXT): Correct searching in derived locales. +- This was necessary since a change in _nl_find_msg several weeks +- ago. I really don't know this is still not fixed. +- +-Sun Nov 5 12:43:12 1995 Ulrich Drepper +- +- * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This +- might mark a special condition. +- +- * finddomain.c (make_entry_rec): Don't make illegal entry as decided. +- +- * Makefile.in (dist): Suppress error message when ln failed. +- Get files from $(srcdir) explicitly. +- +- * libgettext.h (gettext_const): Rename to gettext_noop. +- +-Fri Nov 3 07:36:50 1995 Ulrich Drepper +- +- * finddomain.c (make_entry_rec): +- Protect against wrong locale names by testing mask. +- +- * libgettext.h (gettext_const): Add macro definition. +- Capitalize macro arguments. +- +-Thu Nov 2 23:15:51 1995 Ulrich Drepper +- +- * finddomain.c (_nl_find_domain): +- Test for pointer != NULL before accessing value. +- Reported by Tom Tromey. +- +- * gettext.c (NULL): +- Define as (void*)0 instad of 0. Reported by Franc,ois Pinard. +- +-Mon Oct 30 21:28:52 1995 Ulrich Drepper +- +- * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering. +- +-Sat Oct 28 23:20:47 1995 Ulrich Drepper +- +- * libgettext.h: Disable dcgettext optimization for Solaris 2.3. +- +- * localealias.c (alias_compare): +- Peter Miller reported that tolower in some systems is +- even dumber than I thought. Protect call by `isupper'. +- +-Fri Oct 27 22:22:51 1995 Ulrich Drepper +- +- * Makefile.in (libdir, includedir): New variables. +- (install-src): Install libintl.a and libintl.h in correct dirs. +- +-Fri Oct 27 22:07:29 1995 Ulrich Drepper +- +- * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c. +- +- * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques. +- +- * localealias.c: +- Fix typo and superflous test. Reported by Christian von Roques. +- +-Fri Oct 6 11:52:05 1995 Ulrich Drepper +- +- * finddomain.c (_nl_find_domain): +- Correct some remainder from the pre-CEN syntax. Now +- we don't have a constant number of successors anymore. +- +-Wed Sep 27 21:41:13 1995 Ulrich Drepper +- +- * Makefile.in (DISTFILES): Add libintl.h.glibc. +- +- * Makefile.in (dist-libc): Add goal for packing sources for glibc. +- (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc. +- +- * loadmsgcat.c: Forget to continue #if line. +- +- * localealias.c: +- [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name +- space clean. +- +- * dcgettext.c, finddomain.c: Better comment to last change. +- +- * loadmsgcat.c: +- [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to +- __fstat, __open, __close, __read, __mmap, and __munmap resp +- to keep ANSI C name space clean. +- +- * finddomain.c: +- [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean. +- +- * dcgettext.c: +- [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to +- keep ANSI C name space clean. +- +- * libgettext.h: +- Include sys/types.h for those old SysV systems out there. +- Reported by Francesco Potorti`. +- +- * loadmsgcat.c (use_mmap): Define if compiled for glibc. +- +- * bindtextdom.c: Include all those standard headers +- unconditionally if _LIBC is defined. +- +- * finddomain.c: Fix 2 times defiend -> defined. +- +- * textdomain.c: Include libintl.h instead of libgettext.h when +- compiling for glibc. Include all those standard headers +- unconditionally if _LIBC is defined. +- +- * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc. +- +- * gettext.c: +- Include libintl.h instead of libgettext.h when compiling for glibc. +- Get NULL from stddef.h if we compile for glibc. +- +- * finddomain.c: Include libintl.h instead of libgettext.h when +- compiling for glibc. Include all those standard headers +- unconditionally if _LIBC is defined. +- +- * dcgettext.c: Include all those standard headers unconditionally +- if _LIBC is defined. +- +- * dgettext.c: If compiled in glibc include libintl.h instead of +- libgettext.h. +- (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc. +- +- * dcgettext.c: If compiled in glibc include libintl.h instead of +- libgettext.h. +- (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc. +- +- * bindtextdom.c: +- If compiled in glibc include libintl.h instead of libgettext.h. +- +-Mon Sep 25 22:23:06 1995 Ulrich Drepper +- +- * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0. +- Reported by Marcus Daniels. +- +- * cat-compat.c (bindtextdomain): +- String used in putenv must not be recycled. +- Reported by Marcus Daniels. +- +- * libgettext.h (__USE_GNU_GETTEXT): +- Additional symbol to signal that we use GNU gettext +- library. +- +- * cat-compat.c (bindtextdomain): +- Fix bug with the strange stpcpy replacement. +- Reported by Nelson Beebe. +- +-Sat Sep 23 08:23:51 1995 Ulrich Drepper +- +- * cat-compat.c: Include for stpcpy prototype. +- +- * localealias.c (read_alias_file): +- While expand strdup code temporary variable `cp' hided +- higher level variable with same name. Rename to `tp'. +- +- * textdomain.c (textdomain): +- Avoid warning by using temporary variable in strdup code. +- +- * finddomain.c (_nl_find_domain): Remove unused variable `application'. +- +-Thu Sep 21 15:51:44 1995 Ulrich Drepper +- +- * localealias.c (alias_compare): +- Use strcasecmp() only if available. Else use +- implementation in place. +- +- * intl-compat.c: +- Wrapper functions now call *__ functions instead of __*. +- +- * libgettext.h: Declare prototypes for *__ functions instead for __*. +- +- * cat-compat.c, loadmsgcat.c: +- Don't use xmalloc, xstrdup, and stpcpy. These functions are not part +- of the standard libc and so prevent libintl.a from being used +- standalone. +- +- * bindtextdom.c: +- Don't use xmalloc, xstrdup, and stpcpy. These functions are not part +- of the standard libc and so prevent libintl.a from being used +- standalone. +- Rename to bindtextdomain__ if not used in GNU C Library. +- +- * dgettext.c: +- Rename function to dgettext__ if not used in GNU C Library. +- +- * gettext.c: +- Don't use xmalloc, xstrdup, and stpcpy. These functions are not part +- of the standard libc and so prevent libintl.a from being used +- standalone. +- Functions now called gettext__ if not used in GNU C Library. +- +- * dcgettext.c, localealias.c, textdomain.c, finddomain.c: +- Don't use xmalloc, xstrdup, and stpcpy. These functions are not part +- of the standard libc and so prevent libintl.a from being used +- standalone. +- +-Sun Sep 17 23:14:49 1995 Ulrich Drepper +- +- * finddomain.c: Correct some bugs in handling of CEN standard +- locale definitions. +- +-Thu Sep 7 01:49:28 1995 Ulrich Drepper +- +- * finddomain.c: Implement CEN syntax. +- +- * gettextP.h (loaded_domain): Extend number of successors to 31. +- +-Sat Aug 19 19:25:29 1995 Ulrich Drepper +- +- * Makefile.in (aliaspath): Remove path to X11 locale dir. +- +- * Makefile.in: Make install-src depend on install. This helps +- gettext to install the sources and other packages can use the +- install goal. +- +-Sat Aug 19 15:19:33 1995 Ulrich Drepper +- +- * Makefile.in (uninstall): Remove stuff installed by install-src. +- +-Tue Aug 15 13:13:53 1995 Ulrich Drepper +- +- * VERSION.in: Initial revision. +- +- * Makefile.in (DISTFILES): +- Add VERSION file. This is not necessary for gettext, but +- for other packages using this library. +- +-Tue Aug 15 06:16:44 1995 Ulrich Drepper +- +- * gettextP.h (_nl_find_domain): +- New prototype after changing search strategy. +- +- * finddomain.c (_nl_find_domain): +- We now try only to find a specified catalog. Fall back to other +- catalogs listed in the locale list is now done in __dcgettext. +- +- * dcgettext.c (__dcgettext): +- Now we provide message fall back even to different languages. +- I.e. if a message is not available in one language all the other +- in the locale list a tried. Formerly fall back was only possible +- within one language. Implemented by moving one loop from +- _nl_find_domain to here. +- +-Mon Aug 14 23:45:50 1995 Ulrich Drepper +- +- * Makefile.in (gettextsrcdir): +- Directory where source of GNU gettext library are made +- available. +- (INSTALL, INSTALL_DATA): Programs used for installing sources. +- (gettext-src): New. Rule to install GNU gettext sources for use in +- gettextize shell script. +- +-Sun Aug 13 14:40:48 1995 Ulrich Drepper +- +- * loadmsgcat.c (_nl_load_domain): +- Use mmap for loading only when munmap function is +- also available. +- +- * Makefile.in (install): Depend on `all' goal. +- +-Wed Aug 9 11:04:33 1995 Ulrich Drepper +- +- * localealias.c (read_alias_file): +- Do not overwrite '\n' when terminating alias value string. +- +- * localealias.c (read_alias_file): +- Handle long lines. Ignore the rest not fitting in +- the buffer after the initial `fgets' call. +- +-Wed Aug 9 00:54:29 1995 Ulrich Drepper +- +- * gettextP.h (_nl_load_domain): +- Add prototype, replacing prototype for _nl_load_msg_cat. +- +- * finddomain.c (_nl_find_domain): +- Remove unneeded variable filename and filename_len. +- (expand_alias): Remove prototype because functions does not +- exist anymore. +- +- * localealias.c (read_alias_file): +- Change type of fname_len parameter to int. +- (xmalloc): Add prototype. +- +- * loadmsgcat.c: Better prototypes for xmalloc. +- +-Tue Aug 8 22:30:39 1995 Ulrich Drepper +- +- * finddomain.c (_nl_find_domain): +- Allow alias name to be constructed from the four components. +- +- * Makefile.in (aliaspath): New variable. Set to preliminary value. +- (SOURCES): Add localealias.c. +- (OBJECTS): Add localealias.o. +- +- * gettextP.h: Add prototype for _nl_expand_alias. +- +- * finddomain.c: Aliasing handled in intl/localealias.c. +- +- * localealias.c: Aliasing for locale names. +- +- * bindtextdom.c: Better prototypes for xmalloc and xstrdup. +- +-Mon Aug 7 23:47:42 1995 Ulrich Drepper +- +- * Makefile.in (DISTFILES): gettext.perl is now found in misc/. +- +- * cat-compat.c (bindtextdomain): +- Correct implementation. dirname parameter was not used. +- Reported by Marcus Daniels. +- +- * gettextP.h (loaded_domain): +- New fields `successor' and `decided' for oo, lazy +- message handling implementation. +- +- * dcgettext.c: +- Adopt for oo, lazy message handliing. +- Now we can inherit translations from less specific locales. +- (find_msg): New function. +- +- * loadmsgcat.c, finddomain.c: +- Complete rewrite. Implement oo, lazy message handling :-). +- We now have an additional environment variable `LANGUAGE' with +- a higher priority than LC_ALL for the LC_MESSAGE locale. +- Here we can set a colon separated list of specifications each +- of the form `language[_territory[.codeset]][@modifier]'. +- +-Sat Aug 5 09:55:42 1995 Ulrich Drepper +- +- * finddomain.c (unistd.h): +- Include to get _PC_PATH_MAX defined on system having it. +- +-Fri Aug 4 22:42:00 1995 Ulrich Drepper +- +- * finddomain.c (stpcpy): Include prototype. +- +- * Makefile.in (dist): Remove `copying instead' message. +- +-Wed Aug 2 18:52:03 1995 Ulrich Drepper +- +- * Makefile.in (ID, TAGS): Do not use $^. +- +-Tue Aug 1 20:07:11 1995 Ulrich Drepper +- +- * Makefile.in (TAGS, ID): Use $^ as command argument. +- (TAGS): Give etags -o option t write to current directory, +- not $(srcdir). +- (ID): Use $(srcdir) instead os $(top_srcdir)/src. +- (distclean): Remove ID. +- +-Sun Jul 30 11:51:46 1995 Ulrich Drepper +- +- * Makefile.in (gnulocaledir): +- New variable, always using share/ for data directory. +- (DEFS): Add GNULOCALEDIR, used in finddomain.c. +- +- * finddomain.c (_nl_default_dirname): +- Set to GNULOCALEDIR, because it always has to point +- to the directory where GNU gettext Library writes it to. +- +- * intl-compat.c (textdomain, bindtextdomain): +- Undefine macros before function definition. +- +-Sat Jul 22 01:10:02 1995 Ulrich Drepper +- +- * libgettext.h (_LIBINTL_H): +- Protect definition in case where this file is included as +- libgettext.h on Solaris machines. Add comment about this. +- +-Wed Jul 19 02:36:42 1995 Ulrich Drepper +- +- * intl-compat.c (textdomain): Correct typo. +- +-Wed Jul 19 01:51:35 1995 Ulrich Drepper +- +- * dcgettext.c (dcgettext): Function now called __dcgettext. +- +- * dgettext.c (dgettext): Now called __dgettext and calls +- __dcgettext. +- +- * gettext.c (gettext): +- Function now called __gettext and calls __dgettext. +- +- * textdomain.c (textdomain): Function now called __textdomain. +- +- * bindtextdom.c (bindtextdomain): Function now called +- __bindtextdomain. +- +- * intl-compat.c: Initial revision. +- +- * Makefile.in (SOURCES): Add intl-compat.c. +- (OBJECTS): We always compile the GNU gettext library functions. +- OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o, +- and intl-compat.o. +- (GETTOBJS): Contains now only intl-compat.o. +- +- * libgettext.h: +- Re-include protection matches dualistic character of libgettext.h. +- For all functions in GNU gettext library define __ counter part. +- +- * finddomain.c (strchr): Define as index if not found in C library. +- (_nl_find_domain): For relative paths paste / in between. +- +-Tue Jul 18 16:37:45 1995 Ulrich Drepper +- +- * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h. +- +- * xopen-msg.sed: Fix bug with `msgstr ""' lines. +- A little bit better comments. +- +-Tue Jul 18 01:18:27 1995 Ulrich Drepper +- +- * Makefile.in: +- po-mode.el, makelinks, combine-sh are now found in ../misc. +- +- * po-mode.el, makelinks, combine-sh, elisp-comp: +- Moved to ../misc/. +- +- * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__. +- +-Sun Jul 16 22:33:02 1995 Ulrich Drepper +- +- * Makefile.in (INSTALL, INSTALL_DATA): New variables. +- (install-data, uninstall): Install/uninstall .elc file. +- +- * po-mode.el (Installation comment): +- Add .pox as possible extension of .po files. +- +-Sun Jul 16 13:23:27 1995 Ulrich Drepper +- +- * elisp-comp: Complete new version by Franc,ois: This does not +- fail when not compiling in the source directory. +- +-Sun Jul 16 00:12:17 1995 Ulrich Drepper +- +- * Makefile.in (../po/cat-id-tbl.o): +- Use $(MAKE) instead of make for recursive make. +- +- * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh. +- (install-exec): Add missing dummy goal. +- (install-data, uninstall): @ in multi-line shell command at +- beginning, not in front of echo. Reported by Eric Backus. +- +-Sat Jul 15 00:21:28 1995 Ulrich Drepper +- +- * Makefile.in (DISTFILES): +- Rename libgettext.perl to gettext.perl to fit in 14 chars +- file systems. +- +- * gettext.perl: +- Rename to gettext.perl to fit in 14 chars file systems. +- +-Thu Jul 13 23:17:20 1995 Ulrich Drepper +- +- * cat-compat.c: If !STDC_HEADERS try to include malloc.h. +- +-Thu Jul 13 20:55:02 1995 Ulrich Drepper +- +- * po2tbl.sed.in: Pretty printing. +- +- * linux-msg.sed, xopen-msg.sed: +- Correct bugs with handling substitute flags in branches. +- +- * hash-string.h (hash_string): +- Old K&R compilers don't under stand `unsigned char'. +- +- * gettext.h (nls_uint32): +- Some old K&R compilers (eg HP) don't understand `unsigned int'. +- +- * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes. +- +-Thu Jul 13 01:34:33 1995 Ulrich Drepper +- +- * Makefile.in (ELCFILES): New variable. +- (DISTFILES): Add elisp-comp. +- Add implicit rule for .el -> .elc compilation. +- (install-data): install $ELCFILES +- (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp. +- +- * elisp-comp: Initial revision +- +-Wed Jul 12 16:14:52 1995 Ulrich Drepper +- +- * Makefile.in: +- cat-id-tbl.c is now found in po/. This enables us to use an identical +- intl/ directory in all packages. +- +- * dcgettext.c (dcgettext): hashing does not work for table size <= 2. +- +- * textdomain.c: fix typo (#if def -> #if defined) +- +-Tue Jul 11 18:44:43 1995 Ulrich Drepper +- +- * Makefile.in (stamp-cat-id): use top_srcdir to address source files +- (DISTFILES,distclean): move tupdate.perl to src/ +- +- * po-to-tbl.sed.in: +- add additional jump to clear change flag to recognize multiline strings +- +-Tue Jul 11 01:32:50 1995 Ulrich Drepper +- +- * textdomain.c: Protect inclusion of stdlib.h and string.h. +- +- * loadmsgcat.c: Protect inclusion of stdlib.h. +- +- * libgettext.h: Protect inclusion of locale.h. +- Allow use in C++ programs. +- Define NULL is not happened already. +- +- * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of +- po-to-tbl.sed. +- (distclean): remove po-to-tbl.sed and tupdate.perl. +- +- * tupdate.perl.in: Substitute Perl path even in exec line. +- Don't include entries without translation from old .po file. +- +-Tue Jul 4 00:41:51 1995 Ulrich Drepper +- +- * tupdate.perl.in: use "Updated: " in msgid "". +- +- * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR). +- Define getenv if !__STDC__. +- +- * bindtextdom.c: Protect stdlib.h and string.h inclusion. +- Define free if !__STDC__. +- +- * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. +- Define free if !__STDC__. +- +- * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. +- +-Mon Jul 3 23:56:30 1995 Ulrich Drepper +- +- * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR. +- Remove unneeded $(srcdir) from Makefile.in dependency. +- +- * makelinks: Add copyright and short description. +- +- * po-mode.el: Last version for 0.7. +- +- * tupdate.perl.in: Fix die message. +- +- * dcgettext.c: Protect include of string.h. +- +- * gettext.c: Protect include of stdlib.h and further tries to get NULL. +- +- * finddomain.c: Some corrections in includes. +- +- * Makefile.in (INCLUDES): Prune list correct path to Makefile.in. +- +- * po-to-tbl.sed: Adopt for new .po file format. +- +- * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format. +- +-Sun Jul 2 23:55:03 1995 Ulrich Drepper +- +- * tupdate.perl.in: Complete rewrite for new .po file format. ++2004-01-29 GNU + +-Sun Jul 2 02:06:50 1995 Ulrich Drepper ++ * Version 0.14.1 released. + +- * First official release. This directory contains all the code +- needed to internationalize own packages. It provides functions +- which allow to use the X/Open catgets function with an interface +- like the Uniforum gettext function. For system which does not +- have neither of those a complete implementation is provided. +--- lrzsz-0.12.20.safe/intl/config.charset 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/config.charset 2004-09-12 14:40:34.354748240 -0400 +@@ -0,0 +1,608 @@ ++#! /bin/sh ++# Output a system dependent table of character encoding aliases. ++# ++# Copyright (C) 2000-2004 Free Software Foundation, Inc. ++# ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU Library General Public License as published ++# by the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Library General Public License for more details. ++# ++# You should have received a copy of the GNU Library General Public ++# License along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++# USA. ++# ++# The table consists of lines of the form ++# ALIAS CANONICAL ++# ++# ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". ++# ALIAS is compared in a case sensitive way. ++# ++# CANONICAL is the GNU canonical name for this character encoding. ++# It must be an encoding supported by libiconv. Support by GNU libc is ++# also desirable. CANONICAL is case insensitive. Usually an upper case ++# MIME charset name is preferred. ++# The current list of GNU canonical charset names is as follows. ++# ++# name MIME? used by which systems ++# ASCII, ANSI_X3.4-1968 glibc solaris freebsd darwin ++# ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd darwin ++# ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd darwin ++# ISO-8859-3 Y glibc solaris ++# ISO-8859-4 Y osf solaris freebsd darwin ++# ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd darwin ++# ISO-8859-6 Y glibc aix hpux solaris ++# ISO-8859-7 Y glibc aix hpux irix osf solaris ++# ISO-8859-8 Y glibc aix hpux osf solaris ++# ISO-8859-9 Y glibc aix hpux irix osf solaris ++# ISO-8859-13 glibc ++# ISO-8859-14 glibc ++# ISO-8859-15 glibc aix osf solaris freebsd ++# KOI8-R Y glibc solaris freebsd darwin ++# KOI8-U Y glibc freebsd darwin ++# KOI8-T glibc ++# CP437 dos ++# CP775 dos ++# CP850 aix osf dos ++# CP852 dos ++# CP855 dos ++# CP856 aix ++# CP857 dos ++# CP861 dos ++# CP862 dos ++# CP864 dos ++# CP865 dos ++# CP866 freebsd darwin dos ++# CP869 dos ++# CP874 woe32 dos ++# CP922 aix ++# CP932 aix woe32 dos ++# CP943 aix ++# CP949 osf woe32 dos ++# CP950 woe32 dos ++# CP1046 aix ++# CP1124 aix ++# CP1125 dos ++# CP1129 aix ++# CP1250 woe32 ++# CP1251 glibc solaris darwin woe32 ++# CP1252 aix woe32 ++# CP1253 woe32 ++# CP1254 woe32 ++# CP1255 glibc woe32 ++# CP1256 woe32 ++# CP1257 woe32 ++# GB2312 Y glibc aix hpux irix solaris freebsd darwin ++# EUC-JP Y glibc aix hpux irix osf solaris freebsd darwin ++# EUC-KR Y glibc aix hpux irix osf solaris freebsd darwin ++# EUC-TW glibc aix hpux irix osf solaris ++# BIG5 Y glibc aix hpux osf solaris freebsd darwin ++# BIG5-HKSCS glibc solaris ++# GBK glibc aix osf solaris woe32 dos ++# GB18030 glibc solaris ++# SHIFT_JIS Y hpux osf solaris freebsd darwin ++# JOHAB glibc solaris woe32 ++# TIS-620 glibc aix hpux osf solaris ++# VISCII Y glibc ++# TCVN5712-1 glibc ++# GEORGIAN-PS glibc ++# HP-ROMAN8 hpux ++# HP-ARABIC8 hpux ++# HP-GREEK8 hpux ++# HP-HEBREW8 hpux ++# HP-TURKISH8 hpux ++# HP-KANA8 hpux ++# DEC-KANJI osf ++# DEC-HANYU osf ++# UTF-8 Y glibc aix hpux osf solaris ++# ++# Note: Names which are not marked as being a MIME name should not be used in ++# Internet protocols for information interchange (mail, news, etc.). ++# ++# Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications ++# must understand both names and treat them as equivalent. ++# ++# The first argument passed to this file is the canonical host specification, ++# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM ++# or ++# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM ++ ++host="$1" ++os=`echo "$host" | sed -e 's/^[^-]*-[^-]*-\(.*\)$/\1/'` ++echo "# This file contains a table of character encoding aliases," ++echo "# suitable for operating system '${os}'." ++echo "# It was automatically generated from config.charset." ++# List of references, updated during installation: ++echo "# Packages using this file: " ++case "$os" in ++ linux-gnulibc1*) ++ # Linux libc5 doesn't have nl_langinfo(CODESET); therefore ++ # localcharset.c falls back to using the full locale name ++ # from the environment variables. ++ echo "C ASCII" ++ echo "POSIX ASCII" ++ for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \ ++ en en_AU en_BW en_CA en_DK en_GB en_IE en_NZ en_US en_ZA \ ++ en_ZW es es_AR es_BO es_CL es_CO es_DO es_EC es_ES es_GT \ ++ es_HN es_MX es_PA es_PE es_PY es_SV es_US es_UY es_VE et \ ++ et_EE eu eu_ES fi fi_FI fo fo_FO fr fr_BE fr_CA fr_CH fr_FR \ ++ fr_LU ga ga_IE gl gl_ES id id_ID in in_ID is is_IS it it_CH \ ++ it_IT kl kl_GL nl nl_BE nl_NL no no_NO pt pt_BR pt_PT sv \ ++ sv_FI sv_SE; do ++ echo "$l ISO-8859-1" ++ echo "$l.iso-8859-1 ISO-8859-1" ++ echo "$l.iso-8859-15 ISO-8859-15" ++ echo "$l.iso-8859-15@euro ISO-8859-15" ++ echo "$l@euro ISO-8859-15" ++ echo "$l.cp-437 CP437" ++ echo "$l.cp-850 CP850" ++ echo "$l.cp-1252 CP1252" ++ echo "$l.cp-1252@euro CP1252" ++ #echo "$l.atari-st ATARI-ST" # not a commonly used encoding ++ echo "$l.utf-8 UTF-8" ++ echo "$l.utf-8@euro UTF-8" ++ done ++ for l in cs cs_CZ hr hr_HR hu hu_HU pl pl_PL ro ro_RO sk sk_SK sl \ ++ sl_SI sr sr_CS sr_YU; do ++ echo "$l ISO-8859-2" ++ echo "$l.iso-8859-2 ISO-8859-2" ++ echo "$l.cp-852 CP852" ++ echo "$l.cp-1250 CP1250" ++ echo "$l.utf-8 UTF-8" ++ done ++ for l in mk mk_MK ru ru_RU; do ++ echo "$l ISO-8859-5" ++ echo "$l.iso-8859-5 ISO-8859-5" ++ echo "$l.koi8-r KOI8-R" ++ echo "$l.cp-866 CP866" ++ echo "$l.cp-1251 CP1251" ++ echo "$l.utf-8 UTF-8" ++ done ++ for l in ar ar_SA; do ++ echo "$l ISO-8859-6" ++ echo "$l.iso-8859-6 ISO-8859-6" ++ echo "$l.cp-864 CP864" ++ #echo "$l.cp-868 CP868" # not a commonly used encoding ++ echo "$l.cp-1256 CP1256" ++ echo "$l.utf-8 UTF-8" ++ done ++ for l in el el_GR gr gr_GR; do ++ echo "$l ISO-8859-7" ++ echo "$l.iso-8859-7 ISO-8859-7" ++ echo "$l.cp-869 CP869" ++ echo "$l.cp-1253 CP1253" ++ echo "$l.cp-1253@euro CP1253" ++ echo "$l.utf-8 UTF-8" ++ echo "$l.utf-8@euro UTF-8" ++ done ++ for l in he he_IL iw iw_IL; do ++ echo "$l ISO-8859-8" ++ echo "$l.iso-8859-8 ISO-8859-8" ++ echo "$l.cp-862 CP862" ++ echo "$l.cp-1255 CP1255" ++ echo "$l.utf-8 UTF-8" ++ done ++ for l in tr tr_TR; do ++ echo "$l ISO-8859-9" ++ echo "$l.iso-8859-9 ISO-8859-9" ++ echo "$l.cp-857 CP857" ++ echo "$l.cp-1254 CP1254" ++ echo "$l.utf-8 UTF-8" ++ done ++ for l in lt lt_LT lv lv_LV; do ++ #echo "$l BALTIC" # not a commonly used encoding, wrong encoding name ++ echo "$l ISO-8859-13" ++ done ++ for l in ru_UA uk uk_UA; do ++ echo "$l KOI8-U" ++ done ++ for l in zh zh_CN; do ++ #echo "$l GB_2312-80" # not a commonly used encoding, wrong encoding name ++ echo "$l GB2312" ++ done ++ for l in ja ja_JP ja_JP.EUC; do ++ echo "$l EUC-JP" ++ done ++ for l in ko ko_KR; do ++ echo "$l EUC-KR" ++ done ++ for l in th th_TH; do ++ echo "$l TIS-620" ++ done ++ for l in fa fa_IR; do ++ #echo "$l ISIRI-3342" # a broken encoding ++ echo "$l.utf-8 UTF-8" ++ done ++ ;; ++ linux* | *-gnu*) ++ # With glibc-2.1 or newer, we don't need any canonicalization, ++ # because glibc has iconv and both glibc and libiconv support all ++ # GNU canonical names directly. Therefore, the Makefile does not ++ # need to install the alias file at all. ++ # The following applies only to glibc-2.0.x and older libcs. ++ echo "ISO_646.IRV:1983 ASCII" ++ ;; ++ aix*) ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-6 ISO-8859-6" ++ echo "ISO8859-7 ISO-8859-7" ++ echo "ISO8859-8 ISO-8859-8" ++ echo "ISO8859-9 ISO-8859-9" ++ echo "ISO8859-15 ISO-8859-15" ++ echo "IBM-850 CP850" ++ echo "IBM-856 CP856" ++ echo "IBM-921 ISO-8859-13" ++ echo "IBM-922 CP922" ++ echo "IBM-932 CP932" ++ echo "IBM-943 CP943" ++ echo "IBM-1046 CP1046" ++ echo "IBM-1124 CP1124" ++ echo "IBM-1129 CP1129" ++ echo "IBM-1252 CP1252" ++ echo "IBM-eucCN GB2312" ++ echo "IBM-eucJP EUC-JP" ++ echo "IBM-eucKR EUC-KR" ++ echo "IBM-eucTW EUC-TW" ++ echo "big5 BIG5" ++ echo "GBK GBK" ++ echo "TIS-620 TIS-620" ++ echo "UTF-8 UTF-8" ++ ;; ++ hpux*) ++ echo "iso88591 ISO-8859-1" ++ echo "iso88592 ISO-8859-2" ++ echo "iso88595 ISO-8859-5" ++ echo "iso88596 ISO-8859-6" ++ echo "iso88597 ISO-8859-7" ++ echo "iso88598 ISO-8859-8" ++ echo "iso88599 ISO-8859-9" ++ echo "iso885915 ISO-8859-15" ++ echo "roman8 HP-ROMAN8" ++ echo "arabic8 HP-ARABIC8" ++ echo "greek8 HP-GREEK8" ++ echo "hebrew8 HP-HEBREW8" ++ echo "turkish8 HP-TURKISH8" ++ echo "kana8 HP-KANA8" ++ echo "tis620 TIS-620" ++ echo "big5 BIG5" ++ echo "eucJP EUC-JP" ++ echo "eucKR EUC-KR" ++ echo "eucTW EUC-TW" ++ echo "hp15CN GB2312" ++ #echo "ccdc ?" # what is this? ++ echo "SJIS SHIFT_JIS" ++ echo "utf8 UTF-8" ++ ;; ++ irix*) ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-7 ISO-8859-7" ++ echo "ISO8859-9 ISO-8859-9" ++ echo "eucCN GB2312" ++ echo "eucJP EUC-JP" ++ echo "eucKR EUC-KR" ++ echo "eucTW EUC-TW" ++ ;; ++ osf*) ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-4 ISO-8859-4" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-7 ISO-8859-7" ++ echo "ISO8859-8 ISO-8859-8" ++ echo "ISO8859-9 ISO-8859-9" ++ echo "ISO8859-15 ISO-8859-15" ++ echo "cp850 CP850" ++ echo "big5 BIG5" ++ echo "dechanyu DEC-HANYU" ++ echo "dechanzi GB2312" ++ echo "deckanji DEC-KANJI" ++ echo "deckorean EUC-KR" ++ echo "eucJP EUC-JP" ++ echo "eucKR EUC-KR" ++ echo "eucTW EUC-TW" ++ echo "GBK GBK" ++ echo "KSC5601 CP949" ++ echo "sdeckanji EUC-JP" ++ echo "SJIS SHIFT_JIS" ++ echo "TACTIS TIS-620" ++ echo "UTF-8 UTF-8" ++ ;; ++ solaris*) ++ echo "646 ASCII" ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-3 ISO-8859-3" ++ echo "ISO8859-4 ISO-8859-4" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-6 ISO-8859-6" ++ echo "ISO8859-7 ISO-8859-7" ++ echo "ISO8859-8 ISO-8859-8" ++ echo "ISO8859-9 ISO-8859-9" ++ echo "ISO8859-15 ISO-8859-15" ++ echo "koi8-r KOI8-R" ++ echo "ansi-1251 CP1251" ++ echo "BIG5 BIG5" ++ echo "Big5-HKSCS BIG5-HKSCS" ++ echo "gb2312 GB2312" ++ echo "GBK GBK" ++ echo "GB18030 GB18030" ++ echo "cns11643 EUC-TW" ++ echo "5601 EUC-KR" ++ echo "ko_KR.johap92 JOHAB" ++ echo "eucJP EUC-JP" ++ echo "PCK SHIFT_JIS" ++ echo "TIS620.2533 TIS-620" ++ #echo "sun_eu_greek ?" # what is this? ++ echo "UTF-8 UTF-8" ++ ;; ++ freebsd* | os2*) ++ # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore ++ # localcharset.c falls back to using the full locale name ++ # from the environment variables. ++ # Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just ++ # reuse FreeBSD's locale data for OS/2. ++ echo "C ASCII" ++ echo "US-ASCII ASCII" ++ for l in la_LN lt_LN; do ++ echo "$l.ASCII ASCII" ++ done ++ for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ ++ fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT la_LN \ ++ lt_LN nl_BE nl_NL no_NO pt_PT sv_SE; do ++ echo "$l.ISO_8859-1 ISO-8859-1" ++ echo "$l.DIS_8859-15 ISO-8859-15" ++ done ++ for l in cs_CZ hr_HR hu_HU la_LN lt_LN pl_PL sl_SI; do ++ echo "$l.ISO_8859-2 ISO-8859-2" ++ done ++ for l in la_LN lt_LT; do ++ echo "$l.ISO_8859-4 ISO-8859-4" ++ done ++ for l in ru_RU ru_SU; do ++ echo "$l.KOI8-R KOI8-R" ++ echo "$l.ISO_8859-5 ISO-8859-5" ++ echo "$l.CP866 CP866" ++ done ++ echo "uk_UA.KOI8-U KOI8-U" ++ echo "zh_TW.BIG5 BIG5" ++ echo "zh_TW.Big5 BIG5" ++ echo "zh_CN.EUC GB2312" ++ echo "ja_JP.EUC EUC-JP" ++ echo "ja_JP.SJIS SHIFT_JIS" ++ echo "ja_JP.Shift_JIS SHIFT_JIS" ++ echo "ko_KR.EUC EUC-KR" ++ ;; ++ netbsd*) ++ echo "646 ASCII" ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-4 ISO-8859-4" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-15 ISO-8859-15" ++ echo "eucCN GB2312" ++ echo "eucJP EUC-JP" ++ echo "eucKR EUC-KR" ++ echo "eucTW EUC-TW" ++ echo "BIG5 BIG5" ++ echo "SJIS SHIFT_JIS" ++ ;; ++ darwin*) ++ # Darwin 6.8 doesn't have nl_langinfo(CODESET); therefore ++ # localcharset.c falls back to using the full locale name ++ # from the environment variables. ++ echo "C ASCII" ++ for l in en_AU en_CA en_GB en_US la_LN; do ++ echo "$l.US-ASCII ASCII" ++ done ++ for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ ++ fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \ ++ nl_NL no_NO pt_PT sv_SE; do ++ echo "$l ISO-8859-1" ++ echo "$l.ISO8859-1 ISO-8859-1" ++ echo "$l.ISO8859-15 ISO-8859-15" ++ done ++ for l in la_LN; do ++ echo "$l.ISO8859-1 ISO-8859-1" ++ echo "$l.ISO8859-15 ISO-8859-15" ++ done ++ for l in cs_CZ hr_HR hu_HU la_LN pl_PL sl_SI; do ++ echo "$l.ISO8859-2 ISO-8859-2" ++ done ++ for l in la_LN lt_LT; do ++ echo "$l.ISO8859-4 ISO-8859-4" ++ done ++ for l in ru_RU; do ++ echo "$l.KOI8-R KOI8-R" ++ echo "$l.ISO8859-5 ISO-8859-5" ++ echo "$l.CP866 CP866" ++ done ++ for l in bg_BG; do ++ echo "$l.CP1251 CP1251" ++ done ++ echo "uk_UA.KOI8-U KOI8-U" ++ echo "zh_TW.BIG5 BIG5" ++ echo "zh_TW.Big5 BIG5" ++ echo "zh_CN.EUC GB2312" ++ echo "ja_JP.EUC EUC-JP" ++ echo "ja_JP.SJIS SHIFT_JIS" ++ echo "ko_KR.EUC EUC-KR" ++ ;; ++ beos*) ++ # BeOS has a single locale, and it has UTF-8 encoding. ++ echo "* UTF-8" ++ ;; ++ msdosdjgpp*) ++ # DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore ++ # localcharset.c falls back to using the full locale name ++ # from the environment variables. ++ echo "#" ++ echo "# The encodings given here may not all be correct." ++ echo "# If you find that the encoding given for your language and" ++ echo "# country is not the one your DOS machine actually uses, just" ++ echo "# correct it in this file, and send a mail to" ++ echo "# Juan Manuel Guerrero " ++ echo "# and Bruno Haible ." ++ echo "#" ++ echo "C ASCII" ++ # ISO-8859-1 languages ++ echo "ca CP850" ++ echo "ca_ES CP850" ++ echo "da CP865" # not CP850 ?? ++ echo "da_DK CP865" # not CP850 ?? ++ echo "de CP850" ++ echo "de_AT CP850" ++ echo "de_CH CP850" ++ echo "de_DE CP850" ++ echo "en CP850" ++ echo "en_AU CP850" # not CP437 ?? ++ echo "en_CA CP850" ++ echo "en_GB CP850" ++ echo "en_NZ CP437" ++ echo "en_US CP437" ++ echo "en_ZA CP850" # not CP437 ?? ++ echo "es CP850" ++ echo "es_AR CP850" ++ echo "es_BO CP850" ++ echo "es_CL CP850" ++ echo "es_CO CP850" ++ echo "es_CR CP850" ++ echo "es_CU CP850" ++ echo "es_DO CP850" ++ echo "es_EC CP850" ++ echo "es_ES CP850" ++ echo "es_GT CP850" ++ echo "es_HN CP850" ++ echo "es_MX CP850" ++ echo "es_NI CP850" ++ echo "es_PA CP850" ++ echo "es_PY CP850" ++ echo "es_PE CP850" ++ echo "es_SV CP850" ++ echo "es_UY CP850" ++ echo "es_VE CP850" ++ echo "et CP850" ++ echo "et_EE CP850" ++ echo "eu CP850" ++ echo "eu_ES CP850" ++ echo "fi CP850" ++ echo "fi_FI CP850" ++ echo "fr CP850" ++ echo "fr_BE CP850" ++ echo "fr_CA CP850" ++ echo "fr_CH CP850" ++ echo "fr_FR CP850" ++ echo "ga CP850" ++ echo "ga_IE CP850" ++ echo "gd CP850" ++ echo "gd_GB CP850" ++ echo "gl CP850" ++ echo "gl_ES CP850" ++ echo "id CP850" # not CP437 ?? ++ echo "id_ID CP850" # not CP437 ?? ++ echo "is CP861" # not CP850 ?? ++ echo "is_IS CP861" # not CP850 ?? ++ echo "it CP850" ++ echo "it_CH CP850" ++ echo "it_IT CP850" ++ echo "lt CP775" ++ echo "lt_LT CP775" ++ echo "lv CP775" ++ echo "lv_LV CP775" ++ echo "nb CP865" # not CP850 ?? ++ echo "nb_NO CP865" # not CP850 ?? ++ echo "nl CP850" ++ echo "nl_BE CP850" ++ echo "nl_NL CP850" ++ echo "nn CP865" # not CP850 ?? ++ echo "nn_NO CP865" # not CP850 ?? ++ echo "no CP865" # not CP850 ?? ++ echo "no_NO CP865" # not CP850 ?? ++ echo "pt CP850" ++ echo "pt_BR CP850" ++ echo "pt_PT CP850" ++ echo "sv CP850" ++ echo "sv_SE CP850" ++ # ISO-8859-2 languages ++ echo "cs CP852" ++ echo "cs_CZ CP852" ++ echo "hr CP852" ++ echo "hr_HR CP852" ++ echo "hu CP852" ++ echo "hu_HU CP852" ++ echo "pl CP852" ++ echo "pl_PL CP852" ++ echo "ro CP852" ++ echo "ro_RO CP852" ++ echo "sk CP852" ++ echo "sk_SK CP852" ++ echo "sl CP852" ++ echo "sl_SI CP852" ++ echo "sq CP852" ++ echo "sq_AL CP852" ++ echo "sr CP852" # CP852 or CP866 or CP855 ?? ++ echo "sr_CS CP852" # CP852 or CP866 or CP855 ?? ++ echo "sr_YU CP852" # CP852 or CP866 or CP855 ?? ++ # ISO-8859-3 languages ++ echo "mt CP850" ++ echo "mt_MT CP850" ++ # ISO-8859-5 languages ++ echo "be CP866" ++ echo "be_BE CP866" ++ echo "bg CP866" # not CP855 ?? ++ echo "bg_BG CP866" # not CP855 ?? ++ echo "mk CP866" # not CP855 ?? ++ echo "mk_MK CP866" # not CP855 ?? ++ echo "ru CP866" ++ echo "ru_RU CP866" ++ echo "uk CP1125" ++ echo "uk_UA CP1125" ++ # ISO-8859-6 languages ++ echo "ar CP864" ++ echo "ar_AE CP864" ++ echo "ar_DZ CP864" ++ echo "ar_EG CP864" ++ echo "ar_IQ CP864" ++ echo "ar_IR CP864" ++ echo "ar_JO CP864" ++ echo "ar_KW CP864" ++ echo "ar_MA CP864" ++ echo "ar_OM CP864" ++ echo "ar_QA CP864" ++ echo "ar_SA CP864" ++ echo "ar_SY CP864" ++ # ISO-8859-7 languages ++ echo "el CP869" ++ echo "el_GR CP869" ++ # ISO-8859-8 languages ++ echo "he CP862" ++ echo "he_IL CP862" ++ # ISO-8859-9 languages ++ echo "tr CP857" ++ echo "tr_TR CP857" ++ # Japanese ++ echo "ja CP932" ++ echo "ja_JP CP932" ++ # Chinese ++ echo "zh_CN GBK" ++ echo "zh_TW CP950" # not CP938 ?? ++ # Korean ++ echo "kr CP949" # not CP934 ?? ++ echo "kr_KR CP949" # not CP934 ?? ++ # Thai ++ echo "th CP874" ++ echo "th_TH CP874" ++ # Other ++ echo "eo CP850" ++ echo "eo_EO CP850" ++ ;; ++esac +--- lrzsz-0.12.20.safe/intl/dcgettext.c 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/dcgettext.c 2004-09-12 14:40:34.359747480 -0400 +@@ -1,593 +1,56 @@ +-/* Implementation of the dcgettext(3) function +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++/* Implementation of the dcgettext(3) function. ++ Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#include +- +-#ifdef __GNUC__ +-# define alloca __builtin_alloca +-# define HAVE_ALLOCA 1 +-#else +-# if defined HAVE_ALLOCA_H || defined _LIBC +-# include +-# else +-# ifdef _AIX +- #pragma alloca +-# else +-# ifndef alloca +-char *alloca (); +-# endif +-# endif +-# endif +-#endif +- +-#include +-#ifndef errno +-extern int errno; +-#endif +-#ifndef __set_errno +-# define __set_errno(val) errno = (val) +-#endif +- +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#else +-char *getenv (); +-# ifdef HAVE_MALLOC_H +-# include +-# else +-void free (); +-# endif +-#endif +- +-#if defined HAVE_STRING_H || defined _LIBC +-# ifndef _GNU_SOURCE +-# define _GNU_SOURCE 1 +-# endif +-# include +-#else +-# include +-#endif +-#if !HAVE_STRCHR && !defined _LIBC +-# ifndef strchr +-# define strchr index +-# endif +-#endif +- +-#if defined HAVE_UNISTD_H || defined _LIBC +-# include +-#endif +- +-#include "gettext.h" + #include "gettextP.h" + #ifdef _LIBC + # include + #else +-# include "libgettext.h" ++# include "libgnuintl.h" + #endif +-#include "hash-string.h" + + /* @@ end of prolog @@ */ + +-#ifdef _LIBC +-/* Rename the non ANSI C functions. This is required by the standard +- because some ANSI C functions will require linking with this object +- file and the name space must not be polluted. */ +-# define getcwd __getcwd +-# define stpcpy __stpcpy +-#else +-# if !defined HAVE_GETCWD +-char *getwd (); +-# define getcwd(buf, max) getwd (buf) +-# else +-char *getcwd (); +-# endif +-# ifndef HAVE_STPCPY +-static char *stpcpy PARAMS ((char *dest, const char *src)); +-# endif +-#endif +- +-/* Amount to increase buffer size by in each try. */ +-#define PATH_INCR 32 +- +-/* The following is from pathmax.h. */ +-/* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define +- PATH_MAX but might cause redefinition warnings when sys/param.h is +- later included (as on MORE/BSD 4.3). */ +-#if defined(_POSIX_VERSION) || (defined(HAVE_LIMITS_H) && !defined(__GNUC__)) +-# include +-#endif +- +-#ifndef _POSIX_PATH_MAX +-# define _POSIX_PATH_MAX 255 +-#endif +- +-#if !defined(PATH_MAX) && defined(_PC_PATH_MAX) +-# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) +-#endif +- +-/* Don't include sys/param.h if it already has been. */ +-#if defined(HAVE_SYS_PARAM_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN) +-# include +-#endif +- +-#if !defined(PATH_MAX) && defined(MAXPATHLEN) +-# define PATH_MAX MAXPATHLEN +-#endif +- +-#ifndef PATH_MAX +-# define PATH_MAX _POSIX_PATH_MAX +-#endif +- +-/* XPG3 defines the result of `setlocale (category, NULL)' as: +- ``Directs `setlocale()' to query `category' and return the current +- setting of `local'.'' +- However it does not specify the exact format. And even worse: POSIX +- defines this not at all. So we can use this feature only on selected +- system (e.g. those using GNU C Library). */ +-#ifdef _LIBC +-# define HAVE_LOCALE_NULL +-#endif +- +-/* Name of the default domain used for gettext(3) prior any call to +- textdomain(3). The default value for this is "messages". */ +-const char _nl_default_default_domain[] = "messages"; +- +-/* Value used as the default domain for gettext(3). */ +-const char *_nl_current_default_domain = _nl_default_default_domain; +- +-/* Contains the default location of the message catalogs. */ +-const char _nl_default_dirname[] = GNULOCALEDIR; +- +-/* List with bindings of specific domains created by bindtextdomain() +- calls. */ +-struct binding *_nl_domain_bindings; +- +-/* Prototypes for local functions. */ +-static char *find_msg PARAMS ((struct loaded_l10nfile *domain_file, +- const char *msgid)); +-static const char *category_to_name PARAMS ((int category)); +-static const char *guess_category_value PARAMS ((int category, +- const char *categoryname)); +- +- +-/* For those loosing systems which don't have `alloca' we have to add +- some additional code emulating it. */ +-#ifdef HAVE_ALLOCA +-/* Nothing has to be done. */ +-# define ADD_BLOCK(list, address) /* nothing */ +-# define FREE_BLOCKS(list) /* nothing */ +-#else +-struct block_list +-{ +- void *address; +- struct block_list *next; +-}; +-# define ADD_BLOCK(list, addr) \ +- do { \ +- struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ +- /* If we cannot get a free block we cannot add the new element to \ +- the list. */ \ +- if (newp != NULL) { \ +- newp->address = (addr); \ +- newp->next = (list); \ +- (list) = newp; \ +- } \ +- } while (0) +-# define FREE_BLOCKS(list) \ +- do { \ +- while (list != NULL) { \ +- struct block_list *old = list; \ +- list = list->next; \ +- free (old); \ +- } \ +- } while (0) +-# undef alloca +-# define alloca(size) (malloc (size)) +-#endif /* have alloca */ +- +- + /* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ + #ifdef _LIBC + # define DCGETTEXT __dcgettext ++# define DCIGETTEXT __dcigettext + #else +-# define DCGETTEXT dcgettext__ ++# define DCGETTEXT libintl_dcgettext ++# define DCIGETTEXT libintl_dcigettext + #endif + + /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY + locale. */ + char * +-DCGETTEXT (domainname, msgid, category) +- const char *domainname; +- const char *msgid; +- int category; ++DCGETTEXT (const char *domainname, const char *msgid, int category) + { +-#ifndef HAVE_ALLOCA +- struct block_list *block_list = NULL; +-#endif +- struct loaded_l10nfile *domain; +- struct binding *binding; +- const char *categoryname; +- const char *categoryvalue; +- char *dirname, *xdomainname; +- char *single_locale; +- char *retval; +- int saved_errno = errno; +- +- /* If no real MSGID is given return NULL. */ +- if (msgid == NULL) +- return NULL; +- +- /* If DOMAINNAME is NULL, we are interested in the default domain. If +- CATEGORY is not LC_MESSAGES this might not make much sense but the +- defintion left this undefined. */ +- if (domainname == NULL) +- domainname = _nl_current_default_domain; +- +- /* First find matching binding. */ +- for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) +- { +- int compare = strcmp (domainname, binding->domainname); +- if (compare == 0) +- /* We found it! */ +- break; +- if (compare < 0) +- { +- /* It is not in the list. */ +- binding = NULL; +- break; +- } +- } +- +- if (binding == NULL) +- dirname = (char *) _nl_default_dirname; +- else if (binding->dirname[0] == '/') +- dirname = binding->dirname; +- else +- { +- /* We have a relative path. Make it absolute now. */ +- size_t dirname_len = strlen (binding->dirname) + 1; +- size_t path_max; +- char *ret; +- +- path_max = (unsigned) PATH_MAX; +- path_max += 2; /* The getcwd docs say to do this. */ +- +- dirname = (char *) alloca (path_max + dirname_len); +- ADD_BLOCK (block_list, dirname); +- +- __set_errno (0); +- while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE) +- { +- path_max += PATH_INCR; +- dirname = (char *) alloca (path_max + dirname_len); +- ADD_BLOCK (block_list, dirname); +- __set_errno (0); +- } +- +- if (ret == NULL) +- { +- /* We cannot get the current working directory. Don't signal an +- error but simply return the default string. */ +- FREE_BLOCKS (block_list); +- __set_errno (saved_errno); +- return (char *) msgid; +- } +- +- stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); +- } +- +- /* Now determine the symbolic name of CATEGORY and its value. */ +- categoryname = category_to_name (category); +- categoryvalue = guess_category_value (category, categoryname); +- +- xdomainname = (char *) alloca (strlen (categoryname) +- + strlen (domainname) + 5); +- ADD_BLOCK (block_list, xdomainname); +- +- stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), +- domainname), +- ".mo"); +- +- /* Creating working area. */ +- single_locale = (char *) alloca (strlen (categoryvalue) + 1); +- ADD_BLOCK (block_list, single_locale); +- +- +- /* Search for the given string. This is a loop because we perhaps +- got an ordered list of languages to consider for th translation. */ +- while (1) +- { +- /* Make CATEGORYVALUE point to the next element of the list. */ +- while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') +- ++categoryvalue; +- if (categoryvalue[0] == '\0') +- { +- /* The whole contents of CATEGORYVALUE has been searched but +- no valid entry has been found. We solve this situation +- by implicitly appending a "C" entry, i.e. no translation +- will take place. */ +- single_locale[0] = 'C'; +- single_locale[1] = '\0'; +- } +- else +- { +- char *cp = single_locale; +- while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') +- *cp++ = *categoryvalue++; +- *cp = '\0'; +- } +- +- /* If the current locale value is C (or POSIX) we don't load a +- domain. Return the MSGID. */ +- if (strcmp (single_locale, "C") == 0 +- || strcmp (single_locale, "POSIX") == 0) +- { +- FREE_BLOCKS (block_list); +- __set_errno (saved_errno); +- return (char *) msgid; +- } +- +- +- /* Find structure describing the message catalog matching the +- DOMAINNAME and CATEGORY. */ +- domain = _nl_find_domain (dirname, single_locale, xdomainname); +- +- if (domain != NULL) +- { +- retval = find_msg (domain, msgid); +- +- if (retval == NULL) +- { +- int cnt; +- +- for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) +- { +- retval = find_msg (domain->successor[cnt], msgid); +- +- if (retval != NULL) +- break; +- } +- } +- +- if (retval != NULL) +- { +- FREE_BLOCKS (block_list); +- __set_errno (saved_errno); +- return retval; +- } +- } +- } +- /* NOTREACHED */ ++ return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category); + } + + #ifdef _LIBC + /* Alias for function name in GNU C Library. */ ++INTDEF(__dcgettext) + weak_alias (__dcgettext, dcgettext); + #endif +- +- +-static char * +-find_msg (domain_file, msgid) +- struct loaded_l10nfile *domain_file; +- const char *msgid; +-{ +- size_t top, act, bottom; +- struct loaded_domain *domain; +- +- if (domain_file->decided == 0) +- _nl_load_domain (domain_file); +- +- if (domain_file->data == NULL) +- return NULL; +- +- domain = (struct loaded_domain *) domain_file->data; +- +- /* Locate the MSGID and its translation. */ +- if (domain->hash_size > 2 && domain->hash_tab != NULL) +- { +- /* Use the hashing table. */ +- nls_uint32 len = strlen (msgid); +- nls_uint32 hash_val = hash_string (msgid); +- nls_uint32 idx = hash_val % domain->hash_size; +- nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); +- nls_uint32 nstr = W (domain->must_swap, domain->hash_tab[idx]); +- +- if (nstr == 0) +- /* Hash table entry is empty. */ +- return NULL; +- +- if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len +- && strcmp (msgid, +- domain->data + W (domain->must_swap, +- domain->orig_tab[nstr - 1].offset)) == 0) +- return (char *) domain->data + W (domain->must_swap, +- domain->trans_tab[nstr - 1].offset); +- +- while (1) +- { +- if (idx >= domain->hash_size - incr) +- idx -= domain->hash_size - incr; +- else +- idx += incr; +- +- nstr = W (domain->must_swap, domain->hash_tab[idx]); +- if (nstr == 0) +- /* Hash table entry is empty. */ +- return NULL; +- +- if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len +- && strcmp (msgid, +- domain->data + W (domain->must_swap, +- domain->orig_tab[nstr - 1].offset)) +- == 0) +- return (char *) domain->data +- + W (domain->must_swap, domain->trans_tab[nstr - 1].offset); +- } +- /* NOTREACHED */ +- } +- +- /* Now we try the default method: binary search in the sorted +- array of messages. */ +- bottom = 0; +- top = domain->nstrings; +- while (bottom < top) +- { +- int cmp_val; +- +- act = (bottom + top) / 2; +- cmp_val = strcmp (msgid, domain->data +- + W (domain->must_swap, +- domain->orig_tab[act].offset)); +- if (cmp_val < 0) +- top = act; +- else if (cmp_val > 0) +- bottom = act + 1; +- else +- break; +- } +- +- /* If an translation is found return this. */ +- return bottom >= top ? NULL : (char *) domain->data +- + W (domain->must_swap, +- domain->trans_tab[act].offset); +-} +- +- +-/* Return string representation of locale CATEGORY. */ +-static const char * +-category_to_name (category) +- int category; +-{ +- const char *retval; +- +- switch (category) +- { +-#ifdef LC_COLLATE +- case LC_COLLATE: +- retval = "LC_COLLATE"; +- break; +-#endif +-#ifdef LC_CTYPE +- case LC_CTYPE: +- retval = "LC_CTYPE"; +- break; +-#endif +-#ifdef LC_MONETARY +- case LC_MONETARY: +- retval = "LC_MONETARY"; +- break; +-#endif +-#ifdef LC_NUMERIC +- case LC_NUMERIC: +- retval = "LC_NUMERIC"; +- break; +-#endif +-#ifdef LC_TIME +- case LC_TIME: +- retval = "LC_TIME"; +- break; +-#endif +-#ifdef LC_MESSAGES +- case LC_MESSAGES: +- retval = "LC_MESSAGES"; +- break; +-#endif +-#ifdef LC_RESPONSE +- case LC_RESPONSE: +- retval = "LC_RESPONSE"; +- break; +-#endif +-#ifdef LC_ALL +- case LC_ALL: +- /* This might not make sense but is perhaps better than any other +- value. */ +- retval = "LC_ALL"; +- break; +-#endif +- default: +- /* If you have a better idea for a default value let me know. */ +- retval = "LC_XXX"; +- } +- +- return retval; +-} +- +-/* Guess value of current locale from value of the environment variables. */ +-static const char * +-guess_category_value (category, categoryname) +- int category; +- const char *categoryname; +-{ +- const char *retval; +- +- /* The highest priority value is the `LANGUAGE' environment +- variable. This is a GNU extension. */ +- retval = getenv ("LANGUAGE"); +- if (retval != NULL && retval[0] != '\0') +- return retval; +- +- /* `LANGUAGE' is not set. So we have to proceed with the POSIX +- methods of looking to `LC_ALL', `LC_xxx', and `LANG'. On some +- systems this can be done by the `setlocale' function itself. */ +-#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL +- return setlocale (category, NULL); +-#else +- /* Setting of LC_ALL overwrites all other. */ +- retval = getenv ("LC_ALL"); +- if (retval != NULL && retval[0] != '\0') +- return retval; +- +- /* Next comes the name of the desired category. */ +- retval = getenv (categoryname); +- if (retval != NULL && retval[0] != '\0') +- return retval; +- +- /* Last possibility is the LANG environment variable. */ +- retval = getenv ("LANG"); +- if (retval != NULL && retval[0] != '\0') +- return retval; +- +- /* We use C as the default domain. POSIX says this is implementation +- defined. */ +- return "C"; +-#endif +-} +- +-/* @@ begin of epilog @@ */ +- +-/* We don't want libintl.a to depend on any other library. So we +- avoid the non-standard function stpcpy. In GNU C Library this +- function is available, though. Also allow the symbol HAVE_STPCPY +- to be defined. */ +-#if !_LIBC && !HAVE_STPCPY +-static char * +-stpcpy (dest, src) +- char *dest; +- const char *src; +-{ +- while ((*dest++ = *src++) != '\0') +- /* Do nothing. */ ; +- return dest - 1; +-} +-#endif +--- lrzsz-0.12.20.safe/intl/dcigettext.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/dcigettext.c 2004-09-12 14:40:34.369745960 -0400 +@@ -0,0 +1,1219 @@ ++/* Implementation of the internal dcigettext function. ++ Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Tell glibc's to provide a prototype for mempcpy(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++# define HAVE_ALLOCA 1 ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# if defined HAVE_ALLOCA_H || defined _LIBC ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca ++char *alloca (); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++#include ++#ifndef errno ++extern int errno; ++#endif ++#ifndef __set_errno ++# define __set_errno(val) errno = (val) ++#endif ++ ++#include ++#include ++#include ++ ++#if defined HAVE_UNISTD_H || defined _LIBC ++# include ++#endif ++ ++#include ++ ++#ifdef _LIBC ++ /* Guess whether integer division by zero raises signal SIGFPE. ++ Set to 1 only if you know for sure. In case of doubt, set to 0. */ ++# if defined __alpha__ || defined __arm__ || defined __i386__ \ ++ || defined __m68k__ || defined __s390__ ++# define INTDIV0_RAISES_SIGFPE 1 ++# else ++# define INTDIV0_RAISES_SIGFPE 0 ++# endif ++#endif ++#if !INTDIV0_RAISES_SIGFPE ++# include ++#endif ++ ++#if defined HAVE_SYS_PARAM_H || defined _LIBC ++# include ++#endif ++ ++#include "gettextP.h" ++#include "plural-exp.h" ++#ifdef _LIBC ++# include ++#else ++# include "libgnuintl.h" ++#endif ++#include "hash-string.h" ++ ++/* Thread safetyness. */ ++#ifdef _LIBC ++# include ++#else ++/* Provide dummy implementation if this is outside glibc. */ ++# define __libc_lock_define_initialized(CLASS, NAME) ++# define __libc_lock_lock(NAME) ++# define __libc_lock_unlock(NAME) ++# define __libc_rwlock_define_initialized(CLASS, NAME) ++# define __libc_rwlock_rdlock(NAME) ++# define __libc_rwlock_unlock(NAME) ++#endif ++ ++/* Alignment of types. */ ++#if defined __GNUC__ && __GNUC__ >= 2 ++# define alignof(TYPE) __alignof__ (TYPE) ++#else ++# define alignof(TYPE) \ ++ ((int) &((struct { char dummy1; TYPE dummy2; } *) 0)->dummy2) ++#endif ++ ++/* The internal variables in the standalone libintl.a must have different ++ names than the internal variables in GNU libc, otherwise programs ++ using libintl.a cannot be linked statically. */ ++#if !defined _LIBC ++# define _nl_default_default_domain libintl_nl_default_default_domain ++# define _nl_current_default_domain libintl_nl_current_default_domain ++# define _nl_default_dirname libintl_nl_default_dirname ++# define _nl_domain_bindings libintl_nl_domain_bindings ++#endif ++ ++/* Some compilers, like SunOS4 cc, don't have offsetof in . */ ++#ifndef offsetof ++# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) ++#endif ++ ++/* @@ end of prolog @@ */ ++ ++#ifdef _LIBC ++/* Rename the non ANSI C functions. This is required by the standard ++ because some ANSI C functions will require linking with this object ++ file and the name space must not be polluted. */ ++# define getcwd __getcwd ++# ifndef stpcpy ++# define stpcpy __stpcpy ++# endif ++# define tfind __tfind ++#else ++# if !defined HAVE_GETCWD ++char *getwd (); ++# define getcwd(buf, max) getwd (buf) ++# else ++# if VMS ++# define getcwd(buf, max) (getcwd) (buf, max, 0) ++# else ++char *getcwd (); ++# endif ++# endif ++# ifndef HAVE_STPCPY ++static char *stpcpy (char *dest, const char *src); ++# endif ++# ifndef HAVE_MEMPCPY ++static void *mempcpy (void *dest, const void *src, size_t n); ++# endif ++#endif ++ ++/* Amount to increase buffer size by in each try. */ ++#define PATH_INCR 32 ++ ++/* The following is from pathmax.h. */ ++/* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define ++ PATH_MAX but might cause redefinition warnings when sys/param.h is ++ later included (as on MORE/BSD 4.3). */ ++#if defined _POSIX_VERSION || (defined HAVE_LIMITS_H && !defined __GNUC__) ++# include ++#endif ++ ++#ifndef _POSIX_PATH_MAX ++# define _POSIX_PATH_MAX 255 ++#endif ++ ++#if !defined PATH_MAX && defined _PC_PATH_MAX ++# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) ++#endif ++ ++/* Don't include sys/param.h if it already has been. */ ++#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN ++# include ++#endif ++ ++#if !defined PATH_MAX && defined MAXPATHLEN ++# define PATH_MAX MAXPATHLEN ++#endif ++ ++#ifndef PATH_MAX ++# define PATH_MAX _POSIX_PATH_MAX ++#endif ++ ++/* Pathname support. ++ ISSLASH(C) tests whether C is a directory separator character. ++ IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, ++ it may be concatenated to a directory pathname. ++ IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. ++ */ ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS */ ++# define ISSLASH(C) ((C) == '/' || (C) == '\\') ++# define HAS_DEVICE(P) \ ++ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ ++ && (P)[1] == ':') ++# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) ++# define IS_PATH_WITH_DIR(P) \ ++ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) ++#else ++ /* Unix */ ++# define ISSLASH(C) ((C) == '/') ++# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) ++# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) ++#endif ++ ++/* This is the type used for the search tree where known translations ++ are stored. */ ++struct known_translation_t ++{ ++ /* Domain in which to search. */ ++ char *domainname; ++ ++ /* The category. */ ++ int category; ++ ++ /* State of the catalog counter at the point the string was found. */ ++ int counter; ++ ++ /* Catalog where the string was found. */ ++ struct loaded_l10nfile *domain; ++ ++ /* And finally the translation. */ ++ const char *translation; ++ size_t translation_length; ++ ++ /* Pointer to the string in question. */ ++ char msgid[ZERO]; ++}; ++ ++/* Root of the search tree with known translations. We can use this ++ only if the system provides the `tsearch' function family. */ ++#if defined HAVE_TSEARCH || defined _LIBC ++# include ++ ++static void *root; ++ ++# ifdef _LIBC ++# define tsearch __tsearch ++# endif ++ ++/* Function to compare two entries in the table of known translations. */ ++static int ++transcmp (const void *p1, const void *p2) ++{ ++ const struct known_translation_t *s1; ++ const struct known_translation_t *s2; ++ int result; ++ ++ s1 = (const struct known_translation_t *) p1; ++ s2 = (const struct known_translation_t *) p2; ++ ++ result = strcmp (s1->msgid, s2->msgid); ++ if (result == 0) ++ { ++ result = strcmp (s1->domainname, s2->domainname); ++ if (result == 0) ++ /* We compare the category last (though this is the cheapest ++ operation) since it is hopefully always the same (namely ++ LC_MESSAGES). */ ++ result = s1->category - s2->category; ++ } ++ ++ return result; ++} ++#endif ++ ++#ifndef INTVARDEF ++# define INTVARDEF(name) ++#endif ++#ifndef INTUSE ++# define INTUSE(name) name ++#endif ++ ++/* Name of the default domain used for gettext(3) prior any call to ++ textdomain(3). The default value for this is "messages". */ ++const char _nl_default_default_domain[] attribute_hidden = "messages"; ++ ++/* Value used as the default domain for gettext(3). */ ++const char *_nl_current_default_domain attribute_hidden ++ = _nl_default_default_domain; ++ ++/* Contains the default location of the message catalogs. */ ++#if defined __EMX__ ++extern const char _nl_default_dirname[]; ++#else ++const char _nl_default_dirname[] = LOCALEDIR; ++INTVARDEF (_nl_default_dirname) ++#endif ++ ++/* List with bindings of specific domains created by bindtextdomain() ++ calls. */ ++struct binding *_nl_domain_bindings; ++ ++/* Prototypes for local functions. */ ++static char *plural_lookup (struct loaded_l10nfile *domain, ++ unsigned long int n, ++ const char *translation, size_t translation_len) ++ internal_function; ++static const char *guess_category_value (int category, ++ const char *categoryname) ++ internal_function; ++#ifdef _LIBC ++# include "../locale/localeinfo.h" ++# define category_to_name(category) _nl_category_names[category] ++#else ++static const char *category_to_name (int category) internal_function; ++#endif ++ ++ ++/* For those loosing systems which don't have `alloca' we have to add ++ some additional code emulating it. */ ++#ifdef HAVE_ALLOCA ++/* Nothing has to be done. */ ++# define freea(p) /* nothing */ ++# define ADD_BLOCK(list, address) /* nothing */ ++# define FREE_BLOCKS(list) /* nothing */ ++#else ++struct block_list ++{ ++ void *address; ++ struct block_list *next; ++}; ++# define ADD_BLOCK(list, addr) \ ++ do { \ ++ struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ ++ /* If we cannot get a free block we cannot add the new element to \ ++ the list. */ \ ++ if (newp != NULL) { \ ++ newp->address = (addr); \ ++ newp->next = (list); \ ++ (list) = newp; \ ++ } \ ++ } while (0) ++# define FREE_BLOCKS(list) \ ++ do { \ ++ while (list != NULL) { \ ++ struct block_list *old = list; \ ++ list = list->next; \ ++ free (old->address); \ ++ free (old); \ ++ } \ ++ } while (0) ++# undef alloca ++# define alloca(size) (malloc (size)) ++# define freea(p) free (p) ++#endif /* have alloca */ ++ ++ ++#ifdef _LIBC ++/* List of blocks allocated for translations. */ ++typedef struct transmem_list ++{ ++ struct transmem_list *next; ++ char data[ZERO]; ++} transmem_block_t; ++static struct transmem_list *transmem_list; ++#else ++typedef unsigned char transmem_block_t; ++#endif ++ ++ ++/* Names for the libintl functions are a problem. They must not clash ++ with existing names and they should follow ANSI C. But this source ++ code is also used in GNU C Library where the names have a __ ++ prefix. So we have to make a difference here. */ ++#ifdef _LIBC ++# define DCIGETTEXT __dcigettext ++#else ++# define DCIGETTEXT libintl_dcigettext ++#endif ++ ++/* Lock variable to protect the global data in the gettext implementation. */ ++#ifdef _LIBC ++__libc_rwlock_define_initialized (, _nl_state_lock attribute_hidden) ++#endif ++ ++/* Checking whether the binaries runs SUID must be done and glibc provides ++ easier methods therefore we make a difference here. */ ++#ifdef _LIBC ++# define ENABLE_SECURE __libc_enable_secure ++# define DETERMINE_SECURE ++#else ++# ifndef HAVE_GETUID ++# define getuid() 0 ++# endif ++# ifndef HAVE_GETGID ++# define getgid() 0 ++# endif ++# ifndef HAVE_GETEUID ++# define geteuid() getuid() ++# endif ++# ifndef HAVE_GETEGID ++# define getegid() getgid() ++# endif ++static int enable_secure; ++# define ENABLE_SECURE (enable_secure == 1) ++# define DETERMINE_SECURE \ ++ if (enable_secure == 0) \ ++ { \ ++ if (getuid () != geteuid () || getgid () != getegid ()) \ ++ enable_secure = 1; \ ++ else \ ++ enable_secure = -1; \ ++ } ++#endif ++ ++/* Get the function to evaluate the plural expression. */ ++#include "eval-plural.h" ++ ++/* Look up MSGID in the DOMAINNAME message catalog for the current ++ CATEGORY locale and, if PLURAL is nonzero, search over string ++ depending on the plural form determined by N. */ ++char * ++DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, ++ int plural, unsigned long int n, int category) ++{ ++#ifndef HAVE_ALLOCA ++ struct block_list *block_list = NULL; ++#endif ++ struct loaded_l10nfile *domain; ++ struct binding *binding; ++ const char *categoryname; ++ const char *categoryvalue; ++ char *dirname, *xdomainname; ++ char *single_locale; ++ char *retval; ++ size_t retlen; ++ int saved_errno; ++#if defined HAVE_TSEARCH || defined _LIBC ++ struct known_translation_t *search; ++ struct known_translation_t **foundp = NULL; ++ size_t msgid_len; ++#endif ++ size_t domainname_len; ++ ++ /* If no real MSGID is given return NULL. */ ++ if (msgid1 == NULL) ++ return NULL; ++ ++#ifdef _LIBC ++ if (category < 0 || category >= __LC_LAST || category == LC_ALL) ++ /* Bogus. */ ++ return (plural == 0 ++ ? (char *) msgid1 ++ /* Use the Germanic plural rule. */ ++ : n == 1 ? (char *) msgid1 : (char *) msgid2); ++#endif ++ ++ __libc_rwlock_rdlock (_nl_state_lock); ++ ++ /* If DOMAINNAME is NULL, we are interested in the default domain. If ++ CATEGORY is not LC_MESSAGES this might not make much sense but the ++ definition left this undefined. */ ++ if (domainname == NULL) ++ domainname = _nl_current_default_domain; ++ ++ /* OS/2 specific: backward compatibility with older libintl versions */ ++#ifdef LC_MESSAGES_COMPAT ++ if (category == LC_MESSAGES_COMPAT) ++ category = LC_MESSAGES; ++#endif ++ ++#if defined HAVE_TSEARCH || defined _LIBC ++ msgid_len = strlen (msgid1) + 1; ++ ++ /* Try to find the translation among those which we found at ++ some time. */ ++ search = (struct known_translation_t *) ++ alloca (offsetof (struct known_translation_t, msgid) + msgid_len); ++ memcpy (search->msgid, msgid1, msgid_len); ++ search->domainname = (char *) domainname; ++ search->category = category; ++ ++ foundp = (struct known_translation_t **) tfind (search, &root, transcmp); ++ freea (search); ++ if (foundp != NULL && (*foundp)->counter == _nl_msg_cat_cntr) ++ { ++ /* Now deal with plural. */ ++ if (plural) ++ retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation, ++ (*foundp)->translation_length); ++ else ++ retval = (char *) (*foundp)->translation; ++ ++ __libc_rwlock_unlock (_nl_state_lock); ++ return retval; ++ } ++#endif ++ ++ /* Preserve the `errno' value. */ ++ saved_errno = errno; ++ ++ /* See whether this is a SUID binary or not. */ ++ DETERMINE_SECURE; ++ ++ /* First find matching binding. */ ++ for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) ++ { ++ int compare = strcmp (domainname, binding->domainname); ++ if (compare == 0) ++ /* We found it! */ ++ break; ++ if (compare < 0) ++ { ++ /* It is not in the list. */ ++ binding = NULL; ++ break; ++ } ++ } ++ ++ if (binding == NULL) ++ dirname = (char *) INTUSE(_nl_default_dirname); ++ else if (IS_ABSOLUTE_PATH (binding->dirname)) ++ dirname = binding->dirname; ++ else ++ { ++ /* We have a relative path. Make it absolute now. */ ++ size_t dirname_len = strlen (binding->dirname) + 1; ++ size_t path_max; ++ char *ret; ++ ++ path_max = (unsigned int) PATH_MAX; ++ path_max += 2; /* The getcwd docs say to do this. */ ++ ++ for (;;) ++ { ++ dirname = (char *) alloca (path_max + dirname_len); ++ ADD_BLOCK (block_list, dirname); ++ ++ __set_errno (0); ++ ret = getcwd (dirname, path_max); ++ if (ret != NULL || errno != ERANGE) ++ break; ++ ++ path_max += path_max / 2; ++ path_max += PATH_INCR; ++ } ++ ++ if (ret == NULL) ++ /* We cannot get the current working directory. Don't signal an ++ error but simply return the default string. */ ++ goto return_untranslated; ++ ++ stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); ++ } ++ ++ /* Now determine the symbolic name of CATEGORY and its value. */ ++ categoryname = category_to_name (category); ++ categoryvalue = guess_category_value (category, categoryname); ++ ++ domainname_len = strlen (domainname); ++ xdomainname = (char *) alloca (strlen (categoryname) ++ + domainname_len + 5); ++ ADD_BLOCK (block_list, xdomainname); ++ ++ stpcpy (mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), ++ domainname, domainname_len), ++ ".mo"); ++ ++ /* Creating working area. */ ++ single_locale = (char *) alloca (strlen (categoryvalue) + 1); ++ ADD_BLOCK (block_list, single_locale); ++ ++ ++ /* Search for the given string. This is a loop because we perhaps ++ got an ordered list of languages to consider for the translation. */ ++ while (1) ++ { ++ /* Make CATEGORYVALUE point to the next element of the list. */ ++ while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') ++ ++categoryvalue; ++ if (categoryvalue[0] == '\0') ++ { ++ /* The whole contents of CATEGORYVALUE has been searched but ++ no valid entry has been found. We solve this situation ++ by implicitly appending a "C" entry, i.e. no translation ++ will take place. */ ++ single_locale[0] = 'C'; ++ single_locale[1] = '\0'; ++ } ++ else ++ { ++ char *cp = single_locale; ++ while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') ++ *cp++ = *categoryvalue++; ++ *cp = '\0'; ++ ++ /* When this is a SUID binary we must not allow accessing files ++ outside the dedicated directories. */ ++ if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale)) ++ /* Ingore this entry. */ ++ continue; ++ } ++ ++ /* If the current locale value is C (or POSIX) we don't load a ++ domain. Return the MSGID. */ ++ if (strcmp (single_locale, "C") == 0 ++ || strcmp (single_locale, "POSIX") == 0) ++ break; ++ ++ /* Find structure describing the message catalog matching the ++ DOMAINNAME and CATEGORY. */ ++ domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); ++ ++ if (domain != NULL) ++ { ++ retval = _nl_find_msg (domain, binding, msgid1, &retlen); ++ ++ if (retval == NULL) ++ { ++ int cnt; ++ ++ for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) ++ { ++ retval = _nl_find_msg (domain->successor[cnt], binding, ++ msgid1, &retlen); ++ ++ if (retval != NULL) ++ { ++ domain = domain->successor[cnt]; ++ break; ++ } ++ } ++ } ++ ++ if (retval != NULL) ++ { ++ /* Found the translation of MSGID1 in domain DOMAIN: ++ starting at RETVAL, RETLEN bytes. */ ++ FREE_BLOCKS (block_list); ++#if defined HAVE_TSEARCH || defined _LIBC ++ if (foundp == NULL) ++ { ++ /* Create a new entry and add it to the search tree. */ ++ struct known_translation_t *newp; ++ ++ newp = (struct known_translation_t *) ++ malloc (offsetof (struct known_translation_t, msgid) ++ + msgid_len + domainname_len + 1); ++ if (newp != NULL) ++ { ++ newp->domainname = ++ mempcpy (newp->msgid, msgid1, msgid_len); ++ memcpy (newp->domainname, domainname, domainname_len + 1); ++ newp->category = category; ++ newp->counter = _nl_msg_cat_cntr; ++ newp->domain = domain; ++ newp->translation = retval; ++ newp->translation_length = retlen; ++ ++ /* Insert the entry in the search tree. */ ++ foundp = (struct known_translation_t **) ++ tsearch (newp, &root, transcmp); ++ if (foundp == NULL ++ || __builtin_expect (*foundp != newp, 0)) ++ /* The insert failed. */ ++ free (newp); ++ } ++ } ++ else ++ { ++ /* We can update the existing entry. */ ++ (*foundp)->counter = _nl_msg_cat_cntr; ++ (*foundp)->domain = domain; ++ (*foundp)->translation = retval; ++ (*foundp)->translation_length = retlen; ++ } ++#endif ++ __set_errno (saved_errno); ++ ++ /* Now deal with plural. */ ++ if (plural) ++ retval = plural_lookup (domain, n, retval, retlen); ++ ++ __libc_rwlock_unlock (_nl_state_lock); ++ return retval; ++ } ++ } ++ } ++ ++ return_untranslated: ++ /* Return the untranslated MSGID. */ ++ FREE_BLOCKS (block_list); ++ __libc_rwlock_unlock (_nl_state_lock); ++#ifndef _LIBC ++ if (!ENABLE_SECURE) ++ { ++ extern void _nl_log_untranslated (const char *logfilename, ++ const char *domainname, ++ const char *msgid1, const char *msgid2, ++ int plural); ++ const char *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED"); ++ ++ if (logfilename != NULL && logfilename[0] != '\0') ++ _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural); ++ } ++#endif ++ __set_errno (saved_errno); ++ return (plural == 0 ++ ? (char *) msgid1 ++ /* Use the Germanic plural rule. */ ++ : n == 1 ? (char *) msgid1 : (char *) msgid2); ++} ++ ++ ++char * ++internal_function ++_nl_find_msg (struct loaded_l10nfile *domain_file, ++ struct binding *domainbinding, const char *msgid, ++ size_t *lengthp) ++{ ++ struct loaded_domain *domain; ++ nls_uint32 nstrings; ++ size_t act; ++ char *result; ++ size_t resultlen; ++ ++ if (domain_file->decided == 0) ++ _nl_load_domain (domain_file, domainbinding); ++ ++ if (domain_file->data == NULL) ++ return NULL; ++ ++ domain = (struct loaded_domain *) domain_file->data; ++ ++ nstrings = domain->nstrings; ++ ++ /* Locate the MSGID and its translation. */ ++ if (domain->hash_tab != NULL) ++ { ++ /* Use the hashing table. */ ++ nls_uint32 len = strlen (msgid); ++ nls_uint32 hash_val = hash_string (msgid); ++ nls_uint32 idx = hash_val % domain->hash_size; ++ nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); ++ ++ while (1) ++ { ++ nls_uint32 nstr = ++ W (domain->must_swap_hash_tab, domain->hash_tab[idx]); ++ ++ if (nstr == 0) ++ /* Hash table entry is empty. */ ++ return NULL; ++ ++ nstr--; ++ ++ /* Compare msgid with the original string at index nstr. ++ We compare the lengths with >=, not ==, because plural entries ++ are represented by strings with an embedded NUL. */ ++ if (nstr < nstrings ++ ? W (domain->must_swap, domain->orig_tab[nstr].length) >= len ++ && (strcmp (msgid, ++ domain->data + W (domain->must_swap, ++ domain->orig_tab[nstr].offset)) ++ == 0) ++ : domain->orig_sysdep_tab[nstr - nstrings].length > len ++ && (strcmp (msgid, ++ domain->orig_sysdep_tab[nstr - nstrings].pointer) ++ == 0)) ++ { ++ act = nstr; ++ goto found; ++ } ++ ++ if (idx >= domain->hash_size - incr) ++ idx -= domain->hash_size - incr; ++ else ++ idx += incr; ++ } ++ /* NOTREACHED */ ++ } ++ else ++ { ++ /* Try the default method: binary search in the sorted array of ++ messages. */ ++ size_t top, bottom; ++ ++ bottom = 0; ++ top = nstrings; ++ while (bottom < top) ++ { ++ int cmp_val; ++ ++ act = (bottom + top) / 2; ++ cmp_val = strcmp (msgid, (domain->data ++ + W (domain->must_swap, ++ domain->orig_tab[act].offset))); ++ if (cmp_val < 0) ++ top = act; ++ else if (cmp_val > 0) ++ bottom = act + 1; ++ else ++ goto found; ++ } ++ /* No translation was found. */ ++ return NULL; ++ } ++ ++ found: ++ /* The translation was found at index ACT. If we have to convert the ++ string to use a different character set, this is the time. */ ++ if (act < nstrings) ++ { ++ result = (char *) ++ (domain->data + W (domain->must_swap, domain->trans_tab[act].offset)); ++ resultlen = W (domain->must_swap, domain->trans_tab[act].length) + 1; ++ } ++ else ++ { ++ result = (char *) domain->trans_sysdep_tab[act - nstrings].pointer; ++ resultlen = domain->trans_sysdep_tab[act - nstrings].length; ++ } ++ ++#if defined _LIBC || HAVE_ICONV ++ if (domain->codeset_cntr ++ != (domainbinding != NULL ? domainbinding->codeset_cntr : 0)) ++ { ++ /* The domain's codeset has changed through bind_textdomain_codeset() ++ since the message catalog was initialized or last accessed. We ++ have to reinitialize the converter. */ ++ _nl_free_domain_conv (domain); ++ _nl_init_domain_conv (domain_file, domain, domainbinding); ++ } ++ ++ if ( ++# ifdef _LIBC ++ domain->conv != (__gconv_t) -1 ++# else ++# if HAVE_ICONV ++ domain->conv != (iconv_t) -1 ++# endif ++# endif ++ ) ++ { ++ /* We are supposed to do a conversion. First allocate an ++ appropriate table with the same structure as the table ++ of translations in the file, where we can put the pointers ++ to the converted strings in. ++ There is a slight complication with plural entries. They ++ are represented by consecutive NUL terminated strings. We ++ handle this case by converting RESULTLEN bytes, including ++ NULs. */ ++ ++ if (domain->conv_tab == NULL ++ && ((domain->conv_tab = ++ (char **) calloc (nstrings + domain->n_sysdep_strings, ++ sizeof (char *))) ++ == NULL)) ++ /* Mark that we didn't succeed allocating a table. */ ++ domain->conv_tab = (char **) -1; ++ ++ if (__builtin_expect (domain->conv_tab == (char **) -1, 0)) ++ /* Nothing we can do, no more memory. */ ++ goto converted; ++ ++ if (domain->conv_tab[act] == NULL) ++ { ++ /* We haven't used this string so far, so it is not ++ translated yet. Do this now. */ ++ /* We use a bit more efficient memory handling. ++ We allocate always larger blocks which get used over ++ time. This is faster than many small allocations. */ ++ __libc_lock_define_initialized (static, lock) ++# define INITIAL_BLOCK_SIZE 4080 ++ static unsigned char *freemem; ++ static size_t freemem_size; ++ ++ const unsigned char *inbuf; ++ unsigned char *outbuf; ++ int malloc_count; ++# ifndef _LIBC ++ transmem_block_t *transmem_list = NULL; ++# endif ++ ++ __libc_lock_lock (lock); ++ ++ inbuf = (const unsigned char *) result; ++ outbuf = freemem + sizeof (size_t); ++ ++ malloc_count = 0; ++ while (1) ++ { ++ transmem_block_t *newmem; ++# ifdef _LIBC ++ size_t non_reversible; ++ int res; ++ ++ if (freemem_size < sizeof (size_t)) ++ goto resize_freemem; ++ ++ res = __gconv (domain->conv, ++ &inbuf, inbuf + resultlen, ++ &outbuf, ++ outbuf + freemem_size - sizeof (size_t), ++ &non_reversible); ++ ++ if (res == __GCONV_OK || res == __GCONV_EMPTY_INPUT) ++ break; ++ ++ if (res != __GCONV_FULL_OUTPUT) ++ { ++ __libc_lock_unlock (lock); ++ goto converted; ++ } ++ ++ inbuf = result; ++# else ++# if HAVE_ICONV ++ const char *inptr = (const char *) inbuf; ++ size_t inleft = resultlen; ++ char *outptr = (char *) outbuf; ++ size_t outleft; ++ ++ if (freemem_size < sizeof (size_t)) ++ goto resize_freemem; ++ ++ outleft = freemem_size - sizeof (size_t); ++ if (iconv (domain->conv, ++ (ICONV_CONST char **) &inptr, &inleft, ++ &outptr, &outleft) ++ != (size_t) (-1)) ++ { ++ outbuf = (unsigned char *) outptr; ++ break; ++ } ++ if (errno != E2BIG) ++ { ++ __libc_lock_unlock (lock); ++ goto converted; ++ } ++# endif ++# endif ++ ++ resize_freemem: ++ /* We must allocate a new buffer or resize the old one. */ ++ if (malloc_count > 0) ++ { ++ ++malloc_count; ++ freemem_size = malloc_count * INITIAL_BLOCK_SIZE; ++ newmem = (transmem_block_t *) realloc (transmem_list, ++ freemem_size); ++# ifdef _LIBC ++ if (newmem != NULL) ++ transmem_list = transmem_list->next; ++ else ++ { ++ struct transmem_list *old = transmem_list; ++ ++ transmem_list = transmem_list->next; ++ free (old); ++ } ++# endif ++ } ++ else ++ { ++ malloc_count = 1; ++ freemem_size = INITIAL_BLOCK_SIZE; ++ newmem = (transmem_block_t *) malloc (freemem_size); ++ } ++ if (__builtin_expect (newmem == NULL, 0)) ++ { ++ freemem = NULL; ++ freemem_size = 0; ++ __libc_lock_unlock (lock); ++ goto converted; ++ } ++ ++# ifdef _LIBC ++ /* Add the block to the list of blocks we have to free ++ at some point. */ ++ newmem->next = transmem_list; ++ transmem_list = newmem; ++ ++ freemem = newmem->data; ++ freemem_size -= offsetof (struct transmem_list, data); ++# else ++ transmem_list = newmem; ++ freemem = newmem; ++# endif ++ ++ outbuf = freemem + sizeof (size_t); ++ } ++ ++ /* We have now in our buffer a converted string. Put this ++ into the table of conversions. */ ++ *(size_t *) freemem = outbuf - freemem - sizeof (size_t); ++ domain->conv_tab[act] = (char *) freemem; ++ /* Shrink freemem, but keep it aligned. */ ++ freemem_size -= outbuf - freemem; ++ freemem = outbuf; ++ freemem += freemem_size & (alignof (size_t) - 1); ++ freemem_size = freemem_size & ~ (alignof (size_t) - 1); ++ ++ __libc_lock_unlock (lock); ++ } ++ ++ /* Now domain->conv_tab[act] contains the translation of all ++ the plural variants. */ ++ result = domain->conv_tab[act] + sizeof (size_t); ++ resultlen = *(size_t *) domain->conv_tab[act]; ++ } ++ ++ converted: ++ /* The result string is converted. */ ++ ++#endif /* _LIBC || HAVE_ICONV */ ++ ++ *lengthp = resultlen; ++ return result; ++} ++ ++ ++/* Look up a plural variant. */ ++static char * ++internal_function ++plural_lookup (struct loaded_l10nfile *domain, unsigned long int n, ++ const char *translation, size_t translation_len) ++{ ++ struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; ++ unsigned long int index; ++ const char *p; ++ ++ index = plural_eval (domaindata->plural, n); ++ if (index >= domaindata->nplurals) ++ /* This should never happen. It means the plural expression and the ++ given maximum value do not match. */ ++ index = 0; ++ ++ /* Skip INDEX strings at TRANSLATION. */ ++ p = translation; ++ while (index-- > 0) ++ { ++#ifdef _LIBC ++ p = __rawmemchr (p, '\0'); ++#else ++ p = strchr (p, '\0'); ++#endif ++ /* And skip over the NUL byte. */ ++ p++; ++ ++ if (p >= translation + translation_len) ++ /* This should never happen. It means the plural expression ++ evaluated to a value larger than the number of variants ++ available for MSGID1. */ ++ return (char *) translation; ++ } ++ return (char *) p; ++} ++ ++#ifndef _LIBC ++/* Return string representation of locale CATEGORY. */ ++static const char * ++internal_function ++category_to_name (int category) ++{ ++ const char *retval; ++ ++ switch (category) ++ { ++#ifdef LC_COLLATE ++ case LC_COLLATE: ++ retval = "LC_COLLATE"; ++ break; ++#endif ++#ifdef LC_CTYPE ++ case LC_CTYPE: ++ retval = "LC_CTYPE"; ++ break; ++#endif ++#ifdef LC_MONETARY ++ case LC_MONETARY: ++ retval = "LC_MONETARY"; ++ break; ++#endif ++#ifdef LC_NUMERIC ++ case LC_NUMERIC: ++ retval = "LC_NUMERIC"; ++ break; ++#endif ++#ifdef LC_TIME ++ case LC_TIME: ++ retval = "LC_TIME"; ++ break; ++#endif ++#ifdef LC_MESSAGES ++ case LC_MESSAGES: ++ retval = "LC_MESSAGES"; ++ break; ++#endif ++#ifdef LC_RESPONSE ++ case LC_RESPONSE: ++ retval = "LC_RESPONSE"; ++ break; ++#endif ++#ifdef LC_ALL ++ case LC_ALL: ++ /* This might not make sense but is perhaps better than any other ++ value. */ ++ retval = "LC_ALL"; ++ break; ++#endif ++ default: ++ /* If you have a better idea for a default value let me know. */ ++ retval = "LC_XXX"; ++ } ++ ++ return retval; ++} ++#endif ++ ++/* Guess value of current locale from value of the environment variables. */ ++static const char * ++internal_function ++guess_category_value (int category, const char *categoryname) ++{ ++ const char *language; ++ const char *retval; ++ ++ /* The highest priority value is the `LANGUAGE' environment ++ variable. But we don't use the value if the currently selected ++ locale is the C locale. This is a GNU extension. */ ++ language = getenv ("LANGUAGE"); ++ if (language != NULL && language[0] == '\0') ++ language = NULL; ++ ++ /* We have to proceed with the POSIX methods of looking to `LC_ALL', ++ `LC_xxx', and `LANG'. On some systems this can be done by the ++ `setlocale' function itself. */ ++#ifdef _LIBC ++ retval = __current_locale_name (category); ++#else ++ retval = _nl_locale_name (category, categoryname); ++#endif ++ ++ /* Ignore LANGUAGE if the locale is set to "C" because ++ 1. "C" locale usually uses the ASCII encoding, and most international ++ messages use non-ASCII characters. These characters get displayed ++ as question marks (if using glibc's iconv()) or as invalid 8-bit ++ characters (because other iconv()s refuse to convert most non-ASCII ++ characters to ASCII). In any case, the output is ugly. ++ 2. The precise output of some programs in the "C" locale is specified ++ by POSIX and should not depend on environment variables like ++ "LANGUAGE". We allow such programs to use gettext(). */ ++ return language != NULL && strcmp (retval, "C") != 0 ? language : retval; ++} ++ ++/* @@ begin of epilog @@ */ ++ ++/* We don't want libintl.a to depend on any other library. So we ++ avoid the non-standard function stpcpy. In GNU C Library this ++ function is available, though. Also allow the symbol HAVE_STPCPY ++ to be defined. */ ++#if !_LIBC && !HAVE_STPCPY ++static char * ++stpcpy (char *dest, const char *src) ++{ ++ while ((*dest++ = *src++) != '\0') ++ /* Do nothing. */ ; ++ return dest - 1; ++} ++#endif ++ ++#if !_LIBC && !HAVE_MEMPCPY ++static void * ++mempcpy (void *dest, const void *src, size_t n) ++{ ++ return (void *) ((char *) memcpy (dest, src, n) + n); ++} ++#endif ++ ++ ++#ifdef _LIBC ++/* If we want to free all resources we have to do some work at ++ program's end. */ ++libc_freeres_fn (free_mem) ++{ ++ void *old; ++ ++ while (_nl_domain_bindings != NULL) ++ { ++ struct binding *oldp = _nl_domain_bindings; ++ _nl_domain_bindings = _nl_domain_bindings->next; ++ if (oldp->dirname != INTUSE(_nl_default_dirname)) ++ /* Yes, this is a pointer comparison. */ ++ free (oldp->dirname); ++ free (oldp->codeset); ++ free (oldp); ++ } ++ ++ if (_nl_current_default_domain != _nl_default_default_domain) ++ /* Yes, again a pointer comparison. */ ++ free ((char *) _nl_current_default_domain); ++ ++ /* Remove the search tree with the known translations. */ ++ __tdestroy (root, free); ++ root = NULL; ++ ++ while (transmem_list != NULL) ++ { ++ old = transmem_list; ++ transmem_list = transmem_list->next; ++ free (old); ++ } ++} ++#endif +--- lrzsz-0.12.20.safe/intl/dcngettext.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/dcngettext.c 2004-09-12 14:40:34.375745048 -0400 +@@ -0,0 +1,57 @@ ++/* Implementation of the dcngettext(3) function. ++ Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include "gettextP.h" ++#ifdef _LIBC ++# include ++#else ++# include "libgnuintl.h" ++#endif ++ ++/* @@ end of prolog @@ */ ++ ++/* Names for the libintl functions are a problem. They must not clash ++ with existing names and they should follow ANSI C. But this source ++ code is also used in GNU C Library where the names have a __ ++ prefix. So we have to make a difference here. */ ++#ifdef _LIBC ++# define DCNGETTEXT __dcngettext ++# define DCIGETTEXT __dcigettext ++#else ++# define DCNGETTEXT libintl_dcngettext ++# define DCIGETTEXT libintl_dcigettext ++#endif ++ ++/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY ++ locale. */ ++char * ++DCNGETTEXT (const char *domainname, ++ const char *msgid1, const char *msgid2, unsigned long int n, ++ int category) ++{ ++ return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category); ++} ++ ++#ifdef _LIBC ++/* Alias for function name in GNU C Library. */ ++weak_alias (__dcngettext, dcngettext); ++#endif +--- lrzsz-0.12.20.safe/intl/dgettext.c 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/dgettext.c 2004-09-12 14:40:34.380744288 -0400 +@@ -1,32 +1,33 @@ +-/* dgettext.c -- implementation of the dgettext(3) function +- Copyright (C) 1995 Software Foundation, Inc. ++/* Implementation of the dgettext(3) function. ++ Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. + +-This program is free software; you can redistribute it and/or modify +-it under the terms of the GNU General Public License as published by +-the Free Software Foundation; either version 2, or (at your option) +-any later version. ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. + +-This program is distributed in the hope that it will be useful, +-but WITHOUT ANY WARRANTY; without even the implied warranty of +-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-GNU General Public License for more details. ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +-You should have received a copy of the GNU General Public License +-along with this program; if not, write to the Free Software +-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#if defined HAVE_LOCALE_H || defined _LIBC +-# include +-#endif ++#include "gettextP.h" ++ ++#include + + #ifdef _LIBC + # include + #else +-# include "libgettext.h" ++# include "libgnuintl.h" + #endif + + /* @@ end of prolog @@ */ +@@ -37,18 +38,16 @@ + prefix. So we have to make a difference here. */ + #ifdef _LIBC + # define DGETTEXT __dgettext +-# define DCGETTEXT __dcgettext ++# define DCGETTEXT INTUSE(__dcgettext) + #else +-# define DGETTEXT dgettext__ +-# define DCGETTEXT dcgettext__ ++# define DGETTEXT libintl_dgettext ++# define DCGETTEXT libintl_dcgettext + #endif + + /* Look up MSGID in the DOMAINNAME message catalog of the current + LC_MESSAGES locale. */ + char * +-DGETTEXT (domainname, msgid) +- const char *domainname; +- const char *msgid; ++DGETTEXT (const char *domainname, const char *msgid) + { + return DCGETTEXT (domainname, msgid, LC_MESSAGES); + } +--- lrzsz-0.12.20.safe/intl/dngettext.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/dngettext.c 2004-09-12 14:40:34.385743528 -0400 +@@ -0,0 +1,59 @@ ++/* Implementation of the dngettext(3) function. ++ Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include "gettextP.h" ++ ++#include ++ ++#ifdef _LIBC ++# include ++#else ++# include "libgnuintl.h" ++#endif ++ ++/* @@ end of prolog @@ */ ++ ++/* Names for the libintl functions are a problem. They must not clash ++ with existing names and they should follow ANSI C. But this source ++ code is also used in GNU C Library where the names have a __ ++ prefix. So we have to make a difference here. */ ++#ifdef _LIBC ++# define DNGETTEXT __dngettext ++# define DCNGETTEXT __dcngettext ++#else ++# define DNGETTEXT libintl_dngettext ++# define DCNGETTEXT libintl_dcngettext ++#endif ++ ++/* Look up MSGID in the DOMAINNAME message catalog of the current ++ LC_MESSAGES locale and skip message according to the plural form. */ ++char * ++DNGETTEXT (const char *domainname, ++ const char *msgid1, const char *msgid2, unsigned long int n) ++{ ++ return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES); ++} ++ ++#ifdef _LIBC ++/* Alias for function name in GNU C Library. */ ++weak_alias (__dngettext, dngettext); ++#endif +--- lrzsz-0.12.20.safe/intl/eval-plural.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/eval-plural.h 2004-09-12 14:40:34.390742768 -0400 +@@ -0,0 +1,108 @@ ++/* Plural expression evaluation. ++ Copyright (C) 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef STATIC ++#define STATIC static ++#endif ++ ++/* Evaluate the plural expression and return an index value. */ ++STATIC ++unsigned long int ++internal_function ++plural_eval (struct expression *pexp, unsigned long int n) ++{ ++ switch (pexp->nargs) ++ { ++ case 0: ++ switch (pexp->operation) ++ { ++ case var: ++ return n; ++ case num: ++ return pexp->val.num; ++ default: ++ break; ++ } ++ /* NOTREACHED */ ++ break; ++ case 1: ++ { ++ /* pexp->operation must be lnot. */ ++ unsigned long int arg = plural_eval (pexp->val.args[0], n); ++ return ! arg; ++ } ++ case 2: ++ { ++ unsigned long int leftarg = plural_eval (pexp->val.args[0], n); ++ if (pexp->operation == lor) ++ return leftarg || plural_eval (pexp->val.args[1], n); ++ else if (pexp->operation == land) ++ return leftarg && plural_eval (pexp->val.args[1], n); ++ else ++ { ++ unsigned long int rightarg = plural_eval (pexp->val.args[1], n); ++ ++ switch (pexp->operation) ++ { ++ case mult: ++ return leftarg * rightarg; ++ case divide: ++#if !INTDIV0_RAISES_SIGFPE ++ if (rightarg == 0) ++ raise (SIGFPE); ++#endif ++ return leftarg / rightarg; ++ case module: ++#if !INTDIV0_RAISES_SIGFPE ++ if (rightarg == 0) ++ raise (SIGFPE); ++#endif ++ return leftarg % rightarg; ++ case plus: ++ return leftarg + rightarg; ++ case minus: ++ return leftarg - rightarg; ++ case less_than: ++ return leftarg < rightarg; ++ case greater_than: ++ return leftarg > rightarg; ++ case less_or_equal: ++ return leftarg <= rightarg; ++ case greater_or_equal: ++ return leftarg >= rightarg; ++ case equal: ++ return leftarg == rightarg; ++ case not_equal: ++ return leftarg != rightarg; ++ default: ++ break; ++ } ++ } ++ /* NOTREACHED */ ++ break; ++ } ++ case 3: ++ { ++ /* pexp->operation must be qmop. */ ++ unsigned long int boolarg = plural_eval (pexp->val.args[0], n); ++ return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); ++ } ++ } ++ /* NOTREACHED */ ++ return 0; ++} +--- lrzsz-0.12.20.safe/intl/explodename.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/explodename.c 2004-09-12 14:40:34.395742008 -0400 +@@ -1,19 +1,20 @@ +-/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++/* Copyright (C) 1995-1998, 2000-2001, 2003 Free Software Foundation, Inc. + Contributed by Ulrich Drepper , 1995. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include +@@ -36,18 +37,23 @@ + + /* @@ end of prolog @@ */ + ++char * ++_nl_find_language (const char *name) ++{ ++ while (name[0] != '\0' && name[0] != '_' && name[0] != '@' ++ && name[0] != '+' && name[0] != ',') ++ ++name; ++ ++ return (char *) name; ++} ++ ++ + int +-_nl_explode_name (name, language, modifier, territory, codeset, +- normalized_codeset, special, sponsor, revision) +- char *name; +- const char **language; +- const char **modifier; +- const char **territory; +- const char **codeset; +- const char **normalized_codeset; +- const char **special; +- const char **sponsor; +- const char **revision; ++_nl_explode_name (char *name, ++ const char **language, const char **modifier, ++ const char **territory, const char **codeset, ++ const char **normalized_codeset, const char **special, ++ const char **sponsor, const char **revision) + { + enum { undecided, xpg, cen } syntax; + char *cp; +@@ -67,9 +73,7 @@ + mask = 0; + syntax = undecided; + *language = cp = name; +- while (cp[0] != '\0' && cp[0] != '_' && cp[0] != '@' +- && cp[0] != '+' && cp[0] != ',') +- ++cp; ++ cp = _nl_find_language (*language); + + if (*language == cp) + /* This does not make sense: language has to be specified. Use +--- lrzsz-0.12.20.safe/intl/finddomain.c 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/finddomain.c 2004-09-12 14:40:34.415738968 -0400 +@@ -1,64 +1,40 @@ + /* Handle list of needed message catalogs +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +- Written by Ulrich Drepper , 1995. ++ Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 1995. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#include +-#include + #include + #include +- +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#else +-# ifdef HAVE_MALLOC_H +-# include +-# else +-void free (); +-# endif +-#endif +- +-#if defined HAVE_STRING_H || defined _LIBC +-# include +-#else +-# include +-# ifndef memcpy +-# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +-# endif +-#endif +-#if !HAVE_STRCHR && !defined _LIBC +-# ifndef strchr +-# define strchr index +-# endif +-#endif ++#include ++#include + + #if defined HAVE_UNISTD_H || defined _LIBC + # include + #endif + +-#include "gettext.h" + #include "gettextP.h" + #ifdef _LIBC + # include + #else +-# include "libgettext.h" ++# include "libgnuintl.h" + #endif + + /* @@ end of prolog @@ */ +@@ -70,10 +46,9 @@ + the DOMAINNAME and CATEGORY parameters with respect to the currently + established bindings. */ + struct loaded_l10nfile * +-_nl_find_domain (dirname, locale, domainname) +- const char *dirname; +- char *locale; +- const char *domainname; ++internal_function ++_nl_find_domain (const char *dirname, char *locale, ++ const char *domainname, struct binding *domainbinding) + { + struct loaded_l10nfile *retval; + const char *language; +@@ -95,9 +70,9 @@ + + language[_territory][+audience][+special][,[sponsor][_revision]] + +- Beside the first all of them are allowed to be missing. If the +- full specified locale is not found, the less specific one are +- looked for. The various part will be stripped of according to ++ Beside the first part all of them are allowed to be missing. If ++ the full specified locale is not found, the less specific one are ++ looked for. The various parts will be stripped off according to + the following order: + (1) revision + (2) sponsor +@@ -119,7 +94,7 @@ + int cnt; + + if (retval->decided == 0) +- _nl_load_domain (retval); ++ _nl_load_domain (retval, domainbinding); + + if (retval->data != NULL) + return retval; +@@ -127,7 +102,7 @@ + for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) + { + if (retval->successor[cnt]->decided == 0) +- _nl_load_domain (retval->successor[cnt]); ++ _nl_load_domain (retval->successor[cnt], domainbinding); + + if (retval->successor[cnt]->data != NULL) + break; +@@ -142,12 +117,18 @@ + alias_value = _nl_expand_alias (locale); + if (alias_value != NULL) + { ++#if defined _LIBC || defined HAVE_STRDUP ++ locale = strdup (alias_value); ++ if (locale == NULL) ++ return NULL; ++#else + size_t len = strlen (alias_value) + 1; + locale = (char *) malloc (len); + if (locale == NULL) + return NULL; + + memcpy (locale, alias_value, len); ++#endif + } + + /* Now we determine the single parts of the locale name. First +@@ -168,14 +149,14 @@ + return NULL; + + if (retval->decided == 0) +- _nl_load_domain (retval); ++ _nl_load_domain (retval, domainbinding); + if (retval->data == NULL) + { + int cnt; + for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) + { + if (retval->successor[cnt]->decided == 0) +- _nl_load_domain (retval->successor[cnt]); ++ _nl_load_domain (retval->successor[cnt], domainbinding); + if (retval->successor[cnt]->data != NULL) + break; + } +@@ -185,5 +166,27 @@ + if (alias_value != NULL) + free (locale); + ++ /* The space for normalized_codeset is dynamically allocated. Free it. */ ++ if (mask & XPG_NORM_CODESET) ++ free ((void *) normalized_codeset); ++ + return retval; + } ++ ++ ++#ifdef _LIBC ++libc_freeres_fn (free_mem) ++{ ++ struct loaded_l10nfile *runp = _nl_loaded_domains; ++ ++ while (runp != NULL) ++ { ++ struct loaded_l10nfile *here = runp; ++ if (runp->data != NULL) ++ _nl_unload_domain ((struct loaded_domain *) runp->data); ++ runp = runp->next; ++ free ((char *) here->filename); ++ free (here); ++ } ++} ++#endif +--- lrzsz-0.12.20.safe/intl/gettext.c 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/gettext.c 2004-09-12 14:40:34.420738208 -0400 +@@ -1,19 +1,20 @@ +-/* Implementation of gettext(3) function +- Copyright (C) 1995, 1997 Free Software Foundation, Inc. ++/* Implementation of gettext(3) function. ++ Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include +@@ -23,21 +24,14 @@ + # define __need_NULL + # include + #else +-# ifdef STDC_HEADERS +-# include /* Just for NULL. */ +-# else +-# ifdef HAVE_STRING_H +-# include +-# else +-# define NULL ((void *) 0) +-# endif +-# endif ++# include /* Just for NULL. */ + #endif + ++#include "gettextP.h" + #ifdef _LIBC + # include + #else +-# include "libgettext.h" ++# include "libgnuintl.h" + #endif + + /* @@ end of prolog @@ */ +@@ -48,20 +42,19 @@ + prefix. So we have to make a difference here. */ + #ifdef _LIBC + # define GETTEXT __gettext +-# define DGETTEXT __dgettext ++# define DCGETTEXT INTUSE(__dcgettext) + #else +-# define GETTEXT gettext__ +-# define DGETTEXT dgettext__ ++# define GETTEXT libintl_gettext ++# define DCGETTEXT libintl_dcgettext + #endif + + /* Look up MSGID in the current default message catalog for the current + LC_MESSAGES locale. If not found, returns MSGID itself (the default + text). */ + char * +-GETTEXT (msgid) +- const char *msgid; ++GETTEXT (const char *msgid) + { +- return DGETTEXT (NULL, msgid); ++ return DCGETTEXT (NULL, msgid, LC_MESSAGES); + } + + #ifdef _LIBC +--- lrzsz-0.12.20.safe/intl/gettext.h 1998-04-26 09:22:35.000000000 -0400 ++++ lrzsz-0.12.20/intl/gettext.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,105 +0,0 @@ +-/* Internal header for GNU gettext internationalization functions +- Copyright (C) 1995, 1997 Free Software Foundation, Inc. +- +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. +- +- This program is distributed in the hope that it will be useful, +- but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. +- +- You should have received a copy of the GNU Library General Public +- License along with the GNU C Library; see the file COPYING.LIB. If not, +- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +- Boston, MA 02111-1307, USA. */ +- +-#ifndef _GETTEXT_H +-#define _GETTEXT_H 1 +- +-#include +- +-#if HAVE_LIMITS_H || _LIBC +-# include +-#endif +- +-/* @@ end of prolog @@ */ +- +-/* The magic number of the GNU message catalog format. */ +-#define _MAGIC 0x950412de +-#define _MAGIC_SWAPPED 0xde120495 +- +-/* Revision number of the currently used .mo (binary) file format. */ +-#define MO_REVISION_NUMBER 0 +- +-/* The following contortions are an attempt to use the C preprocessor +- to determine an unsigned integral type that is 32 bits wide. An +- alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but +- doing that would require that the configure script compile and *run* +- the resulting executable. Locally running cross-compiled executables +- is usually not possible. */ +- +-#if __STDC__ +-# define UINT_MAX_32_BITS 4294967295U +-#else +-# define UINT_MAX_32_BITS 0xFFFFFFFF +-#endif +- +-/* If UINT_MAX isn't defined, assume it's a 32-bit type. +- This should be valid for all systems GNU cares about because +- that doesn't include 16-bit systems, and only modern systems +- (that certainly have ) have 64+-bit integral types. */ +- +-#ifndef UINT_MAX +-# define UINT_MAX UINT_MAX_32_BITS +-#endif +- +-#if UINT_MAX == UINT_MAX_32_BITS +-typedef unsigned nls_uint32; +-#else +-# if USHRT_MAX == UINT_MAX_32_BITS +-typedef unsigned short nls_uint32; +-# else +-# if ULONG_MAX == UINT_MAX_32_BITS +-typedef unsigned long nls_uint32; +-# else +- /* The following line is intended to throw an error. Using #error is +- not portable enough. */ +- "Cannot determine unsigned 32-bit data type." +-# endif +-# endif +-#endif +- +- +-/* Header for binary .mo file format. */ +-struct mo_file_header +-{ +- /* The magic number. */ +- nls_uint32 magic; +- /* The revision number of the file format. */ +- nls_uint32 revision; +- /* The number of strings pairs. */ +- nls_uint32 nstrings; +- /* Offset of table with start offsets of original strings. */ +- nls_uint32 orig_tab_offset; +- /* Offset of table with start offsets of translation strings. */ +- nls_uint32 trans_tab_offset; +- /* Size of hashing table. */ +- nls_uint32 hash_tab_size; +- /* Offset of first hashing entry. */ +- nls_uint32 hash_tab_offset; +-}; +- +-struct string_desc +-{ +- /* Length of addressed string. */ +- nls_uint32 length; +- /* Offset of string in file. */ +- nls_uint32 offset; +-}; +- +-/* @@ begin of epilog @@ */ +- +-#endif /* gettext.h */ +--- lrzsz-0.12.20.safe/intl/gettextP.h 1998-04-26 09:22:35.000000000 -0400 ++++ lrzsz-0.12.20/intl/gettextP.h 2004-09-12 14:40:34.426737296 -0400 +@@ -1,33 +1,53 @@ +-/* Header describing internals of gettext library +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++/* Header describing internals of libintl library. ++ Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 1995. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifndef _GETTEXTP_H + #define _GETTEXTP_H + ++#include /* Get size_t. */ ++ ++#ifdef _LIBC ++# include "../iconv/gconv_int.h" ++#else ++# if HAVE_ICONV ++# include ++# endif ++#endif ++ + #include "loadinfo.h" + ++#include "gmo.h" /* Get nls_uint32. */ ++ + /* @@ end of prolog @@ */ + +-#ifndef PARAMS +-# if __STDC__ +-# define PARAMS(args) args +-# else +-# define PARAMS(args) () +-# endif ++#ifndef internal_function ++# define internal_function ++#endif ++ ++#ifndef attribute_hidden ++# define attribute_hidden ++#endif ++ ++/* Tell the compiler when a conditional or integer expression is ++ almost always true or almost always false. */ ++#ifndef HAVE_BUILTIN_EXPECT ++# define __builtin_expect(expr, val) (expr) + #endif + + #ifndef W +@@ -35,38 +55,160 @@ + #endif + + +-static nls_uint32 SWAP PARAMS ((nls_uint32 i)); +- ++#ifdef _LIBC ++# include ++# define SWAP(i) bswap_32 (i) ++#else + static inline nls_uint32 + SWAP (i) + nls_uint32 i; + { + return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); + } ++#endif ++ + ++/* In-memory representation of system dependent string. */ ++struct sysdep_string_desc ++{ ++ /* Length of addressed string, including the trailing NUL. */ ++ size_t length; ++ /* Pointer to addressed string. */ ++ const char *pointer; ++}; + ++/* The representation of an opened message catalog. */ + struct loaded_domain + { ++ /* Pointer to memory containing the .mo file. */ + const char *data; ++ /* 1 if the memory is mmap()ed, 0 if the memory is malloc()ed. */ ++ int use_mmap; ++ /* Size of mmap()ed memory. */ ++ size_t mmap_size; ++ /* 1 if the .mo file uses a different endianness than this machine. */ + int must_swap; ++ /* Pointer to additional malloc()ed memory. */ ++ void *malloced; ++ ++ /* Number of static strings pairs. */ + nls_uint32 nstrings; +- struct string_desc *orig_tab; +- struct string_desc *trans_tab; ++ /* Pointer to descriptors of original strings in the file. */ ++ const struct string_desc *orig_tab; ++ /* Pointer to descriptors of translated strings in the file. */ ++ const struct string_desc *trans_tab; ++ ++ /* Number of system dependent strings pairs. */ ++ nls_uint32 n_sysdep_strings; ++ /* Pointer to descriptors of original sysdep strings. */ ++ const struct sysdep_string_desc *orig_sysdep_tab; ++ /* Pointer to descriptors of translated sysdep strings. */ ++ const struct sysdep_string_desc *trans_sysdep_tab; ++ ++ /* Size of hash table. */ + nls_uint32 hash_size; +- nls_uint32 *hash_tab; ++ /* Pointer to hash table. */ ++ const nls_uint32 *hash_tab; ++ /* 1 if the hash table uses a different endianness than this machine. */ ++ int must_swap_hash_tab; ++ ++ int codeset_cntr; ++#ifdef _LIBC ++ __gconv_t conv; ++#else ++# if HAVE_ICONV ++ iconv_t conv; ++# endif ++#endif ++ char **conv_tab; ++ ++ struct expression *plural; ++ unsigned long int nplurals; + }; + ++/* We want to allocate a string at the end of the struct. But ISO C ++ doesn't allow zero sized arrays. */ ++#ifdef __GNUC__ ++# define ZERO 0 ++#else ++# define ZERO 1 ++#endif ++ ++/* A set of settings bound to a message domain. Used to store settings ++ from bindtextdomain() and bind_textdomain_codeset(). */ + struct binding + { + struct binding *next; +- char *domainname; + char *dirname; ++ int codeset_cntr; /* Incremented each time codeset changes. */ ++ char *codeset; ++ char domainname[ZERO]; + }; + +-struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname, +- char *__locale, +- const char *__domainname)); +-void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain)); ++/* A counter which is incremented each time some previous translations ++ become invalid. ++ This variable is part of the external ABI of the GNU libintl. */ ++extern int _nl_msg_cat_cntr; ++ ++#ifndef _LIBC ++const char *_nl_locale_name (int category, const char *categoryname); ++#endif ++ ++struct loaded_l10nfile *_nl_find_domain (const char *__dirname, char *__locale, ++ const char *__domainname, ++ struct binding *__domainbinding) ++ internal_function; ++void _nl_load_domain (struct loaded_l10nfile *__domain, ++ struct binding *__domainbinding) ++ internal_function; ++void _nl_unload_domain (struct loaded_domain *__domain) ++ internal_function; ++const char *_nl_init_domain_conv (struct loaded_l10nfile *__domain_file, ++ struct loaded_domain *__domain, ++ struct binding *__domainbinding) ++ internal_function; ++void _nl_free_domain_conv (struct loaded_domain *__domain) ++ internal_function; ++ ++char *_nl_find_msg (struct loaded_l10nfile *domain_file, ++ struct binding *domainbinding, const char *msgid, ++ size_t *lengthp) ++ internal_function; ++ ++#ifdef _LIBC ++extern char *__gettext (const char *__msgid); ++extern char *__dgettext (const char *__domainname, const char *__msgid); ++extern char *__dcgettext (const char *__domainname, const char *__msgid, ++ int __category); ++extern char *__ngettext (const char *__msgid1, const char *__msgid2, ++ unsigned long int __n); ++extern char *__dngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int n); ++extern char *__dcngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int __n, int __category); ++extern char *__dcigettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ int __plural, unsigned long int __n, ++ int __category); ++extern char *__textdomain (const char *__domainname); ++extern char *__bindtextdomain (const char *__domainname, ++ const char *__dirname); ++extern char *__bind_textdomain_codeset (const char *__domainname, ++ const char *__codeset); ++#else ++/* Declare the exported libintl_* functions, in a way that allows us to ++ call them under their real name. */ ++# undef _INTL_REDIRECT_INLINE ++# undef _INTL_REDIRECT_MACROS ++# define _INTL_REDIRECT_MACROS ++# include "libgnuintl.h" ++extern char *libintl_dcigettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ int __plural, unsigned long int __n, ++ int __category); ++#endif + + /* @@ begin of epilog @@ */ + +--- lrzsz-0.12.20.safe/intl/gmo.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/gmo.h 2004-09-12 14:40:34.431736536 -0400 +@@ -0,0 +1,149 @@ ++/* Description of GNU message catalog format: general file layout. ++ Copyright (C) 1995, 1997, 2000-2002, 2004 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _GETTEXT_H ++#define _GETTEXT_H 1 ++ ++#include ++ ++/* @@ end of prolog @@ */ ++ ++/* The magic number of the GNU message catalog format. */ ++#define _MAGIC 0x950412de ++#define _MAGIC_SWAPPED 0xde120495 ++ ++/* Revision number of the currently used .mo (binary) file format. */ ++#define MO_REVISION_NUMBER 0 ++#define MO_REVISION_NUMBER_WITH_SYSDEP_I 1 ++ ++/* The following contortions are an attempt to use the C preprocessor ++ to determine an unsigned integral type that is 32 bits wide. An ++ alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but ++ as of version autoconf-2.13, the AC_CHECK_SIZEOF macro doesn't work ++ when cross-compiling. */ ++ ++#if __STDC__ ++# define UINT_MAX_32_BITS 4294967295U ++#else ++# define UINT_MAX_32_BITS 0xFFFFFFFF ++#endif ++ ++/* If UINT_MAX isn't defined, assume it's a 32-bit type. ++ This should be valid for all systems GNU cares about because ++ that doesn't include 16-bit systems, and only modern systems ++ (that certainly have ) have 64+-bit integral types. */ ++ ++#ifndef UINT_MAX ++# define UINT_MAX UINT_MAX_32_BITS ++#endif ++ ++#if UINT_MAX == UINT_MAX_32_BITS ++typedef unsigned nls_uint32; ++#else ++# if USHRT_MAX == UINT_MAX_32_BITS ++typedef unsigned short nls_uint32; ++# else ++# if ULONG_MAX == UINT_MAX_32_BITS ++typedef unsigned long nls_uint32; ++# else ++ /* The following line is intended to throw an error. Using #error is ++ not portable enough. */ ++ "Cannot determine unsigned 32-bit data type." ++# endif ++# endif ++#endif ++ ++ ++/* Header for binary .mo file format. */ ++struct mo_file_header ++{ ++ /* The magic number. */ ++ nls_uint32 magic; ++ /* The revision number of the file format. */ ++ nls_uint32 revision; ++ ++ /* The following are only used in .mo files with major revision 0 or 1. */ ++ ++ /* The number of strings pairs. */ ++ nls_uint32 nstrings; ++ /* Offset of table with start offsets of original strings. */ ++ nls_uint32 orig_tab_offset; ++ /* Offset of table with start offsets of translated strings. */ ++ nls_uint32 trans_tab_offset; ++ /* Size of hash table. */ ++ nls_uint32 hash_tab_size; ++ /* Offset of first hash table entry. */ ++ nls_uint32 hash_tab_offset; ++ ++ /* The following are only used in .mo files with minor revision >= 1. */ ++ ++ /* The number of system dependent segments. */ ++ nls_uint32 n_sysdep_segments; ++ /* Offset of table describing system dependent segments. */ ++ nls_uint32 sysdep_segments_offset; ++ /* The number of system dependent strings pairs. */ ++ nls_uint32 n_sysdep_strings; ++ /* Offset of table with start offsets of original sysdep strings. */ ++ nls_uint32 orig_sysdep_tab_offset; ++ /* Offset of table with start offsets of translated sysdep strings. */ ++ nls_uint32 trans_sysdep_tab_offset; ++}; ++ ++/* Descriptor for static string contained in the binary .mo file. */ ++struct string_desc ++{ ++ /* Length of addressed string, not including the trailing NUL. */ ++ nls_uint32 length; ++ /* Offset of string in file. */ ++ nls_uint32 offset; ++}; ++ ++/* The following are only used in .mo files with minor revision >= 1. */ ++ ++/* Descriptor for system dependent string segment. */ ++struct sysdep_segment ++{ ++ /* Length of addressed string, including the trailing NUL. */ ++ nls_uint32 length; ++ /* Offset of string in file. */ ++ nls_uint32 offset; ++}; ++ ++/* Descriptor for system dependent string. */ ++struct sysdep_string ++{ ++ /* Offset of static string segments in file. */ ++ nls_uint32 offset; ++ /* Alternating sequence of static and system dependent segments. ++ The last segment is a static segment, including the trailing NUL. */ ++ struct segment_pair ++ { ++ /* Size of static segment. */ ++ nls_uint32 segsize; ++ /* Reference to system dependent string segment, or ~0 at the end. */ ++ nls_uint32 sysdepref; ++ } segments[1]; ++}; ++ ++/* Marker for the end of the segments[] array. This has the value 0xFFFFFFFF, ++ regardless whether 'int' is 16 bit, 32 bit, or 64 bit. */ ++#define SEGMENTS_END ((nls_uint32) ~0) ++ ++/* @@ begin of epilog @@ */ ++ ++#endif /* gettext.h */ +--- lrzsz-0.12.20.safe/intl/hash-string.h 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/hash-string.h 2004-09-12 14:40:34.436735776 -0400 +@@ -1,35 +1,23 @@ +-/* Implements a string hashing function. +- Copyright (C) 1995, 1997 Free Software Foundation, Inc. ++/* Description of GNU message catalog format: string hashing function. ++ Copyright (C) 1995, 1997-1998, 2000-2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + + You should have received a copy of the GNU Library General Public +- License along with the GNU C Library; see the file COPYING.LIB. If not, +- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +- Boston, MA 02111-1307, USA. */ +- +-#ifdef HAVE_VALUES_H +-# include +-#endif ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + /* @@ end of prolog @@ */ + +-#ifndef PARAMS +-# if __STDC__ +-# define PARAMS(Args) Args +-# else +-# define PARAMS(Args) () +-# endif +-#endif +- + /* We assume to have `unsigned long int' value with at least 32 bits. */ + #define HASHWORDBITS 32 + +@@ -37,11 +25,8 @@ + /* Defines the so called `hashpjw' function by P.J. Weinberger + [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, + 1986, 1987 Bell Telephone Laboratories, Inc.] */ +-static unsigned long hash_string PARAMS ((const char *__str_param)); +- +-static inline unsigned long +-hash_string (str_param) +- const char *str_param; ++static inline unsigned long int ++hash_string (const char *str_param) + { + unsigned long int hval, g; + const char *str = str_param; +@@ -51,8 +36,8 @@ + while (*str != '\0') + { + hval <<= 4; +- hval += (unsigned long) *str++; +- g = hval & ((unsigned long) 0xf << (HASHWORDBITS - 4)); ++ hval += (unsigned char) *str++; ++ g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); + if (g != 0) + { + hval ^= g >> (HASHWORDBITS - 8); +--- lrzsz-0.12.20.safe/intl/intl-compat.c 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/intl-compat.c 2004-09-12 14:40:34.441735016 -0400 +@@ -1,76 +1,131 @@ + /* intl-compat.c - Stub functions to call gettext functions from GNU gettext + Library. +- Copyright (C) 1995 Software Foundation, Inc. ++ Copyright (C) 1995, 2000-2003 Software Foundation, Inc. + +-This program is free software; you can redistribute it and/or modify +-it under the terms of the GNU General Public License as published by +-the Free Software Foundation; either version 2, or (at your option) +-any later version. ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. + +-This program is distributed in the hope that it will be useful, +-but WITHOUT ANY WARRANTY; without even the implied warranty of +-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-GNU General Public License for more details. ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +-You should have received a copy of the GNU General Public License +-along with this program; if not, write to the Free Software +-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#include "libgettext.h" ++#include "gettextP.h" + + /* @@ end of prolog @@ */ + ++/* This file redirects the gettext functions (without prefix) to those ++ defined in the included GNU libintl library (with "libintl_" prefix). ++ It is compiled into libintl in order to make the AM_GNU_GETTEXT test ++ of gettext <= 0.11.2 work with the libintl library >= 0.11.3 which ++ has the redirections primarily in the include file. ++ It is also compiled into libgnuintl so that libgnuintl.so can be used ++ as LD_PRELOADable library on glibc systems, to provide the extra ++ features that the functions in the libc don't have (namely, logging). */ ++ + + #undef gettext + #undef dgettext + #undef dcgettext ++#undef ngettext ++#undef dngettext ++#undef dcngettext + #undef textdomain + #undef bindtextdomain ++#undef bind_textdomain_codeset ++ ++ ++/* When building a DLL, we must export some functions. Note that because ++ the functions are only defined for binary backward compatibility, we ++ don't need to use __declspec(dllimport) in any case. */ ++#if defined _MSC_VER && BUILDING_DLL ++# define DLL_EXPORTED __declspec(dllexport) ++#else ++# define DLL_EXPORTED ++#endif + + ++DLL_EXPORTED + char * +-bindtextdomain (domainname, dirname) +- const char *domainname; +- const char *dirname; ++gettext (const char *msgid) + { +- return bindtextdomain__ (domainname, dirname); ++ return libintl_gettext (msgid); + } + + ++DLL_EXPORTED + char * +-dcgettext (domainname, msgid, category) +- const char *domainname; +- const char *msgid; +- int category; ++dgettext (const char *domainname, const char *msgid) + { +- return dcgettext__ (domainname, msgid, category); ++ return libintl_dgettext (domainname, msgid); + } + + ++DLL_EXPORTED + char * +-dgettext (domainname, msgid) +- const char *domainname; +- const char *msgid; ++dcgettext (const char *domainname, const char *msgid, int category) + { +- return dgettext__ (domainname, msgid); ++ return libintl_dcgettext (domainname, msgid, category); + } + + ++DLL_EXPORTED + char * +-gettext (msgid) +- const char *msgid; ++ngettext (const char *msgid1, const char *msgid2, unsigned long int n) + { +- return gettext__ (msgid); ++ return libintl_ngettext (msgid1, msgid2, n); + } + + ++DLL_EXPORTED + char * +-textdomain (domainname) +- const char *domainname; ++dngettext (const char *domainname, ++ const char *msgid1, const char *msgid2, unsigned long int n) + { +- return textdomain__ (domainname); ++ return libintl_dngettext (domainname, msgid1, msgid2, n); ++} ++ ++ ++DLL_EXPORTED ++char * ++dcngettext (const char *domainname, ++ const char *msgid1, const char *msgid2, unsigned long int n, ++ int category) ++{ ++ return libintl_dcngettext (domainname, msgid1, msgid2, n, category); ++} ++ ++ ++DLL_EXPORTED ++char * ++textdomain (const char *domainname) ++{ ++ return libintl_textdomain (domainname); ++} ++ ++ ++DLL_EXPORTED ++char * ++bindtextdomain (const char *domainname, const char *dirname) ++{ ++ return libintl_bindtextdomain (domainname, dirname); ++} ++ ++ ++DLL_EXPORTED ++char * ++bind_textdomain_codeset (const char *domainname, const char *codeset) ++{ ++ return libintl_bind_textdomain_codeset (domainname, codeset); + } +--- lrzsz-0.12.20.safe/intl/l10nflist.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/l10nflist.c 2004-09-12 14:40:34.457732584 -0400 +@@ -1,52 +1,40 @@ +-/* Handle list of needed message catalogs +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +- Written by Ulrich Drepper , 1995. ++/* Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. ++ Contributed by Ulrich Drepper , 1995. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Tell glibc's to provide a prototype for stpcpy(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif + + #ifdef HAVE_CONFIG_H + # include + #endif + +- +-#if defined HAVE_STRING_H || defined _LIBC +-# ifndef _GNU_SOURCE +-# define _GNU_SOURCE 1 +-# endif +-# include +-#else +-# include +-# ifndef memcpy +-# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +-# endif +-#endif +-#if !HAVE_STRCHR && !defined _LIBC +-# ifndef strchr +-# define strchr index +-# endif +-#endif ++#include + + #if defined _LIBC || defined HAVE_ARGZ_H + # include + #endif + #include + #include +- +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#endif ++#include + + #include "loadinfo.h" + +@@ -65,23 +53,39 @@ + /* Rename the non ANSI C functions. This is required by the standard + because some ANSI C functions will require linking with this object + file and the name space must not be polluted. */ +-# define stpcpy(dest, src) __stpcpy(dest, src) ++# ifndef stpcpy ++# define stpcpy(dest, src) __stpcpy(dest, src) ++# endif + #else + # ifndef HAVE_STPCPY +-static char *stpcpy PARAMS ((char *dest, const char *src)); ++static char *stpcpy (char *dest, const char *src); + # endif + #endif + ++/* Pathname support. ++ ISSLASH(C) tests whether C is a directory separator character. ++ IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, ++ it may be concatenated to a directory pathname. ++ */ ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS */ ++# define ISSLASH(C) ((C) == '/' || (C) == '\\') ++# define HAS_DEVICE(P) \ ++ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ ++ && (P)[1] == ':') ++# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) ++#else ++ /* Unix */ ++# define ISSLASH(C) ((C) == '/') ++# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) ++#endif ++ + /* Define function which are usually not available. */ + + #if !defined _LIBC && !defined HAVE___ARGZ_COUNT + /* Returns the number of strings in ARGZ. */ +-static size_t argz_count__ PARAMS ((const char *argz, size_t len)); +- + static size_t +-argz_count__ (argz, len) +- const char *argz; +- size_t len; ++argz_count__ (const char *argz, size_t len) + { + size_t count = 0; + while (len > 0) +@@ -95,18 +99,17 @@ + } + # undef __argz_count + # define __argz_count(argz, len) argz_count__ (argz, len) ++#else ++# ifdef _LIBC ++# define __argz_count(argz, len) INTUSE(__argz_count) (argz, len) ++# endif + #endif /* !_LIBC && !HAVE___ARGZ_COUNT */ + + #if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY + /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's + except the last into the character SEP. */ +-static void argz_stringify__ PARAMS ((char *argz, size_t len, int sep)); +- + static void +-argz_stringify__ (argz, len, sep) +- char *argz; +- size_t len; +- int sep; ++argz_stringify__ (char *argz, size_t len, int sep) + { + while (len > 0) + { +@@ -119,17 +122,16 @@ + } + # undef __argz_stringify + # define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) ++#else ++# ifdef _LIBC ++# define __argz_stringify(argz, len, sep) \ ++ INTUSE(__argz_stringify) (argz, len, sep) ++# endif + #endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ + + #if !defined _LIBC && !defined HAVE___ARGZ_NEXT +-static char *argz_next__ PARAMS ((char *argz, size_t argz_len, +- const char *entry)); +- + static char * +-argz_next__ (argz, argz_len, entry) +- char *argz; +- size_t argz_len; +- const char *entry; ++argz_next__ (char *argz, size_t argz_len, const char *entry) + { + if (entry) + { +@@ -150,11 +152,8 @@ + + + /* Return number of bits set in X. */ +-static int pop PARAMS ((int x)); +- + static inline int +-pop (x) +- int x; ++pop (int x) + { + /* We assume that no more than 16 bits are used. */ + x = ((x & ~0x5555) >> 1) + (x & 0x5555); +@@ -167,31 +166,27 @@ + + + struct loaded_l10nfile * +-_nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, +- territory, codeset, normalized_codeset, modifier, special, +- sponsor, revision, filename, do_allocate) +- struct loaded_l10nfile **l10nfile_list; +- const char *dirlist; +- size_t dirlist_len; +- int mask; +- const char *language; +- const char *territory; +- const char *codeset; +- const char *normalized_codeset; +- const char *modifier; +- const char *special; +- const char *sponsor; +- const char *revision; +- const char *filename; +- int do_allocate; ++_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, ++ const char *dirlist, size_t dirlist_len, ++ int mask, const char *language, const char *territory, ++ const char *codeset, const char *normalized_codeset, ++ const char *modifier, const char *special, ++ const char *sponsor, const char *revision, ++ const char *filename, int do_allocate) + { + char *abs_filename; +- struct loaded_l10nfile *last = NULL; ++ struct loaded_l10nfile **lastp; + struct loaded_l10nfile *retval; + char *cp; ++ size_t dirlist_count; + size_t entries; + int cnt; + ++ /* If LANGUAGE contains an absolute directory specification, we ignore ++ DIRLIST. */ ++ if (IS_ABSOLUTE_PATH (language)) ++ dirlist_len = 0; ++ + /* Allocate room for the full file name. */ + abs_filename = (char *) malloc (dirlist_len + + strlen (language) +@@ -209,7 +204,7 @@ + + (((mask & CEN_SPONSOR) != 0 + || (mask & CEN_REVISION) != 0) + ? (1 + ((mask & CEN_SPONSOR) != 0 +- ? strlen (sponsor) + 1 : 0) ++ ? strlen (sponsor) : 0) + + ((mask & CEN_REVISION) != 0 + ? strlen (revision) + 1 : 0)) : 0) + + 1 + strlen (filename) + 1); +@@ -217,14 +212,16 @@ + if (abs_filename == NULL) + return NULL; + +- retval = NULL; +- last = NULL; +- + /* Construct file name. */ +- memcpy (abs_filename, dirlist, dirlist_len); +- __argz_stringify (abs_filename, dirlist_len, ':'); +- cp = abs_filename + (dirlist_len - 1); +- *cp++ = '/'; ++ cp = abs_filename; ++ if (dirlist_len > 0) ++ { ++ memcpy (cp, dirlist, dirlist_len); ++ __argz_stringify (cp, dirlist_len, PATH_SEPARATOR); ++ cp += dirlist_len; ++ cp[-1] = '/'; ++ } ++ + cp = stpcpy (cp, language); + + if ((mask & TERRITORY) != 0) +@@ -271,7 +268,7 @@ + + /* Look in list of already loaded domains whether it is already + available. */ +- last = NULL; ++ lastp = l10nfile_list; + for (retval = *l10nfile_list; retval != NULL; retval = retval->next) + if (retval->filename != NULL) + { +@@ -286,7 +283,7 @@ + break; + } + +- last = retval; ++ lastp = &retval->next; + } + + if (retval != NULL || do_allocate == 0) +@@ -295,48 +292,66 @@ + return retval; + } + +- retval = (struct loaded_l10nfile *) +- malloc (sizeof (*retval) + (__argz_count (dirlist, dirlist_len) +- * (1 << pop (mask)) +- * sizeof (struct loaded_l10nfile *))); ++ dirlist_count = (dirlist_len > 0 ? __argz_count (dirlist, dirlist_len) : 1); ++ ++ /* Allocate a new loaded_l10nfile. */ ++ retval = ++ (struct loaded_l10nfile *) ++ malloc (sizeof (*retval) ++ + (((dirlist_count << pop (mask)) + (dirlist_count > 1 ? 1 : 0)) ++ * sizeof (struct loaded_l10nfile *))); + if (retval == NULL) + return NULL; + + retval->filename = abs_filename; +- retval->decided = (__argz_count (dirlist, dirlist_len) != 1 ++ ++ /* We set retval->data to NULL here; it is filled in later. ++ Setting retval->decided to 1 here means that retval does not ++ correspond to a real file (dirlist_count > 1) or is not worth ++ looking up (if an unnormalized codeset was specified). */ ++ retval->decided = (dirlist_count > 1 + || ((mask & XPG_CODESET) != 0 + && (mask & XPG_NORM_CODESET) != 0)); + retval->data = NULL; + +- if (last == NULL) +- { +- retval->next = *l10nfile_list; +- *l10nfile_list = retval; +- } +- else +- { +- retval->next = last->next; +- last->next = retval; +- } ++ retval->next = *lastp; ++ *lastp = retval; + + entries = 0; +- /* If the DIRLIST is a real list the RETVAL entry corresponds not to +- a real file. So we have to use the DIRLIST separation mechanism +- of the inner loop. */ +- cnt = __argz_count (dirlist, dirlist_len) == 1 ? mask - 1 : mask; +- for (; cnt >= 0; --cnt) ++ /* Recurse to fill the inheritance list of RETVAL. ++ If the DIRLIST is a real list (i.e. DIRLIST_COUNT > 1), the RETVAL ++ entry does not correspond to a real file; retval->filename contains ++ colons. In this case we loop across all elements of DIRLIST and ++ across all bit patterns dominated by MASK. ++ If the DIRLIST is a single directory or entirely redundant (i.e. ++ DIRLIST_COUNT == 1), we loop across all bit patterns dominated by ++ MASK, excluding MASK itself. ++ In either case, we loop down from MASK to 0. This has the effect ++ that the extra bits in the locale name are dropped in this order: ++ first the modifier, then the territory, then the codeset, then the ++ normalized_codeset. */ ++ for (cnt = dirlist_count > 1 ? mask : mask - 1; cnt >= 0; --cnt) + if ((cnt & ~mask) == 0 + && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) + && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) + { +- /* Iterate over all elements of the DIRLIST. */ +- char *dir = NULL; ++ if (dirlist_count > 1) ++ { ++ /* Iterate over all elements of the DIRLIST. */ ++ char *dir = NULL; + +- while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) +- != NULL) ++ while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) ++ != NULL) ++ retval->successor[entries++] ++ = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, ++ cnt, language, territory, codeset, ++ normalized_codeset, modifier, special, ++ sponsor, revision, filename, 1); ++ } ++ else + retval->successor[entries++] +- = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, cnt, +- language, territory, codeset, ++ = _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, ++ cnt, language, territory, codeset, + normalized_codeset, modifier, special, + sponsor, revision, filename, 1); + } +@@ -347,11 +362,10 @@ + + /* Normalize codeset name. There is no standard for the codeset + names. Normalization allows the user to use any of the common +- names. */ ++ names. The return value is dynamically allocated and has to be ++ freed by the caller. */ + const char * +-_nl_normalize_codeset (codeset, name_len) +- const char *codeset; +- size_t name_len; ++_nl_normalize_codeset (const char *codeset, size_t name_len) + { + int len = 0; + int only_digit = 1; +@@ -360,11 +374,11 @@ + size_t cnt; + + for (cnt = 0; cnt < name_len; ++cnt) +- if (isalnum (codeset[cnt])) ++ if (isalnum ((unsigned char) codeset[cnt])) + { + ++len; + +- if (isalpha (codeset[cnt])) ++ if (isalpha ((unsigned char) codeset[cnt])) + only_digit = 0; + } + +@@ -378,9 +392,9 @@ + wp = retval; + + for (cnt = 0; cnt < name_len; ++cnt) +- if (isalpha (codeset[cnt])) +- *wp++ = tolower (codeset[cnt]); +- else if (isdigit (codeset[cnt])) ++ if (isalpha ((unsigned char) codeset[cnt])) ++ *wp++ = tolower ((unsigned char) codeset[cnt]); ++ else if (isdigit ((unsigned char) codeset[cnt])) + *wp++ = codeset[cnt]; + + *wp = '\0'; +@@ -398,9 +412,7 @@ + to be defined. */ + #if !_LIBC && !HAVE_STPCPY + static char * +-stpcpy (dest, src) +- char *dest; +- const char *src; ++stpcpy (char *dest, const char *src) + { + while ((*dest++ = *src++) != '\0') + /* Do nothing. */ ; +--- lrzsz-0.12.20.safe/intl/libgettext.h 1998-04-26 09:22:36.000000000 -0400 ++++ lrzsz-0.12.20/intl/libgettext.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,182 +0,0 @@ +-/* Message catalogs for internationalization. +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +- +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. +- +- This program is distributed in the hope that it will be useful, +- but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. +- +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +- +-/* Because on some systems (e.g. Solaris) we sometimes have to include +- the systems libintl.h as well as this file we have more complex +- include protection above. But the systems header might perhaps also +- define _LIBINTL_H and therefore we have to protect the definition here. */ +- +-#if !defined (_LIBINTL_H) || !defined (_LIBGETTEXT_H) +-#if !defined (_LIBINTL_H) +-# define _LIBINTL_H 1 +-#endif +-#define _LIBGETTEXT_H 1 +- +-/* We define an additional symbol to signal that we use the GNU +- implementation of gettext. */ +-#define __USE_GNU_GETTEXT 1 +- +-#include +- +-#if HAVE_LOCALE_H +-# include +-#endif +- +- +-#ifdef __cplusplus +-extern "C" { +-#endif +- +-/* @@ end of prolog @@ */ +- +-#ifndef PARAMS +-# if __STDC__ +-# define PARAMS(args) args +-# else +-# define PARAMS(args) () +-# endif +-#endif +- +-#ifndef NULL +-# if !defined __cplusplus || defined __GNUC__ +-# define NULL ((void *) 0) +-# else +-# define NULL (0) +-# endif +-#endif +- +-#if !HAVE_LC_MESSAGES +-/* This value determines the behaviour of the gettext() and dgettext() +- function. But some system does not have this defined. Define it +- to a default value. */ +-# define LC_MESSAGES (-1) +-#endif +- +- +-/* Declarations for gettext-using-catgets interface. Derived from +- Jim Meyering's libintl.h. */ +-struct _msg_ent +-{ +- const char *_msg; +- int _msg_number; +-}; +- +- +-#if HAVE_CATGETS +-/* These two variables are defined in the automatically by po-to-tbl.sed +- generated file `cat-id-tbl.c'. */ +-extern const struct _msg_ent _msg_tbl[]; +-extern int _msg_tbl_length; +-#endif +- +- +-/* For automatical extraction of messages sometimes no real +- translation is needed. Instead the string itself is the result. */ +-#define gettext_noop(Str) (Str) +- +-/* Look up MSGID in the current default message catalog for the current +- LC_MESSAGES locale. If not found, returns MSGID itself (the default +- text). */ +-extern char *gettext PARAMS ((const char *__msgid)); +-extern char *gettext__ PARAMS ((const char *__msgid)); +- +-/* Look up MSGID in the DOMAINNAME message catalog for the current +- LC_MESSAGES locale. */ +-extern char *dgettext PARAMS ((const char *__domainname, const char *__msgid)); +-extern char *dgettext__ PARAMS ((const char *__domainname, +- const char *__msgid)); +- +-/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY +- locale. */ +-extern char *dcgettext PARAMS ((const char *__domainname, const char *__msgid, +- int __category)); +-extern char *dcgettext__ PARAMS ((const char *__domainname, +- const char *__msgid, int __category)); +- +- +-/* Set the current default message catalog to DOMAINNAME. +- If DOMAINNAME is null, return the current default. +- If DOMAINNAME is "", reset to the default of "messages". */ +-extern char *textdomain PARAMS ((const char *__domainname)); +-extern char *textdomain__ PARAMS ((const char *__domainname)); +- +-/* Specify that the DOMAINNAME message catalog will be found +- in DIRNAME rather than in the system locale data base. */ +-extern char *bindtextdomain PARAMS ((const char *__domainname, +- const char *__dirname)); +-extern char *bindtextdomain__ PARAMS ((const char *__domainname, +- const char *__dirname)); +- +-#if ENABLE_NLS +- +-/* Solaris 2.3 has the gettext function but dcgettext is missing. +- So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4 +- has dcgettext. */ +-# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) +- +-# define gettext(Msgid) \ +- dgettext (NULL, Msgid) +- +-# define dgettext(Domainname, Msgid) \ +- dcgettext (Domainname, Msgid, LC_MESSAGES) +- +-# if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ >= 7 +-/* This global variable is defined in loadmsgcat.c. We need a sign, +- whether a new catalog was loaded, which can be associated with all +- translations. */ +-extern int _nl_msg_cat_cntr; +- +-# define dcgettext(Domainname, Msgid, Category) \ +- (__extension__ \ +- ({ \ +- char *__result; \ +- if (__builtin_constant_p (Msgid)) \ +- { \ +- static char *__translation__; \ +- static int __catalog_counter__; \ +- if (! __translation__ || __catalog_counter__ != _nl_msg_cat_cntr) \ +- { \ +- __translation__ = \ +- dcgettext__ (Domainname, Msgid, Category); \ +- __catalog_counter__ = _nl_msg_cat_cntr; \ +- } \ +- __result = __translation__; \ +- } \ +- else \ +- __result = dcgettext__ (Domainname, Msgid, Category); \ +- __result; \ +- })) +-# endif +-# endif +- +-#else +- +-# define gettext(Msgid) (Msgid) +-# define dgettext(Domainname, Msgid) (Msgid) +-# define dcgettext(Domainname, Msgid, Category) (Msgid) +-# define textdomain(Domainname) while (0) /* nothing */ +-# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ +- +-#endif +- +-/* @@ begin of epilog @@ */ +- +-#ifdef __cplusplus +-} +-#endif +- +-#endif +--- lrzsz-0.12.20.safe/intl/libgnuintl.h.in 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/libgnuintl.h.in 2004-09-12 14:40:34.462731824 -0400 +@@ -0,0 +1,383 @@ ++/* Message catalogs for internationalization. ++ Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _LIBINTL_H ++#define _LIBINTL_H 1 ++ ++#include ++ ++/* The LC_MESSAGES locale category is the category used by the functions ++ gettext() and dgettext(). It is specified in POSIX, but not in ANSI C. ++ On systems that don't define it, use an arbitrary value instead. ++ On Solaris, defines __LOCALE_H (or _LOCALE_H in Solaris 2.5) ++ then includes (i.e. this file!) and then only defines ++ LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES ++ in this case. */ ++#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun)) ++# define LC_MESSAGES 1729 ++#endif ++ ++/* We define an additional symbol to signal that we use the GNU ++ implementation of gettext. */ ++#define __USE_GNU_GETTEXT 1 ++ ++/* Provide information about the supported file formats. Returns the ++ maximum minor revision number supported for a given major revision. */ ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \ ++ ((major) == 0 ? 1 : -1) ++ ++/* Resolve a platform specific conflict on DJGPP. GNU gettext takes ++ precedence over _conio_gettext. */ ++#ifdef __DJGPP__ ++# undef gettext ++#endif ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++ ++/* We redirect the functions to those prefixed with "libintl_". This is ++ necessary, because some systems define gettext/textdomain/... in the C ++ library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer). ++ If we used the unprefixed names, there would be cases where the ++ definition in the C library would override the one in the libintl.so ++ shared library. Recall that on ELF systems, the symbols are looked ++ up in the following order: ++ 1. in the executable, ++ 2. in the shared libraries specified on the link command line, in order, ++ 3. in the dependencies of the shared libraries specified on the link ++ command line, ++ 4. in the dlopen()ed shared libraries, in the order in which they were ++ dlopen()ed. ++ The definition in the C library would override the one in libintl.so if ++ either ++ * -lc is given on the link command line and -lintl isn't, or ++ * -lc is given on the link command line before -lintl, or ++ * libintl.so is a dependency of a dlopen()ed shared library but not ++ linked to the executable at link time. ++ Since Solaris gettext() behaves differently than GNU gettext(), this ++ would be unacceptable. ++ ++ The redirection happens by default through macros in C, so that &gettext ++ is independent of the compilation unit, but through inline functions in ++ C++, in order not to interfere with the name mangling of class fields or ++ class methods called 'gettext'. */ ++ ++/* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS. ++ If he doesn't, we choose the method. A third possible method is ++ _INTL_REDIRECT_ASM, supported only by GCC. */ ++#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) ++# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus) ++# define _INTL_REDIRECT_ASM ++# else ++# ifdef __cplusplus ++# define _INTL_REDIRECT_INLINE ++# else ++# define _INTL_REDIRECT_MACROS ++# endif ++# endif ++#endif ++/* Auxiliary macros. */ ++#ifdef _INTL_REDIRECT_ASM ++# define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname)) ++# define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring ++# define _INTL_STRINGIFY(prefix) #prefix ++#else ++# define _INTL_ASM(cname) ++#endif ++ ++/* Look up MSGID in the current default message catalog for the current ++ LC_MESSAGES locale. If not found, returns MSGID itself (the default ++ text). */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_gettext (const char *__msgid); ++static inline char *gettext (const char *__msgid) ++{ ++ return libintl_gettext (__msgid); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define gettext libintl_gettext ++#endif ++extern char *gettext (const char *__msgid) ++ _INTL_ASM (libintl_gettext); ++#endif ++ ++/* Look up MSGID in the DOMAINNAME message catalog for the current ++ LC_MESSAGES locale. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_dgettext (const char *__domainname, const char *__msgid); ++static inline char *dgettext (const char *__domainname, const char *__msgid) ++{ ++ return libintl_dgettext (__domainname, __msgid); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define dgettext libintl_dgettext ++#endif ++extern char *dgettext (const char *__domainname, const char *__msgid) ++ _INTL_ASM (libintl_dgettext); ++#endif ++ ++/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY ++ locale. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_dcgettext (const char *__domainname, const char *__msgid, ++ int __category); ++static inline char *dcgettext (const char *__domainname, const char *__msgid, ++ int __category) ++{ ++ return libintl_dcgettext (__domainname, __msgid, __category); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define dcgettext libintl_dcgettext ++#endif ++extern char *dcgettext (const char *__domainname, const char *__msgid, ++ int __category) ++ _INTL_ASM (libintl_dcgettext); ++#endif ++ ++ ++/* Similar to `gettext' but select the plural form corresponding to the ++ number N. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2, ++ unsigned long int __n); ++static inline char *ngettext (const char *__msgid1, const char *__msgid2, ++ unsigned long int __n) ++{ ++ return libintl_ngettext (__msgid1, __msgid2, __n); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define ngettext libintl_ngettext ++#endif ++extern char *ngettext (const char *__msgid1, const char *__msgid2, ++ unsigned long int __n) ++ _INTL_ASM (libintl_ngettext); ++#endif ++ ++/* Similar to `dgettext' but select the plural form corresponding to the ++ number N. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_dngettext (const char *__domainname, const char *__msgid1, ++ const char *__msgid2, unsigned long int __n); ++static inline char *dngettext (const char *__domainname, const char *__msgid1, ++ const char *__msgid2, unsigned long int __n) ++{ ++ return libintl_dngettext (__domainname, __msgid1, __msgid2, __n); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define dngettext libintl_dngettext ++#endif ++extern char *dngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int __n) ++ _INTL_ASM (libintl_dngettext); ++#endif ++ ++/* Similar to `dcgettext' but select the plural form corresponding to the ++ number N. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_dcngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int __n, int __category); ++static inline char *dcngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int __n, int __category) ++{ ++ return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define dcngettext libintl_dcngettext ++#endif ++extern char *dcngettext (const char *__domainname, ++ const char *__msgid1, const char *__msgid2, ++ unsigned long int __n, int __category) ++ _INTL_ASM (libintl_dcngettext); ++#endif ++ ++ ++/* Set the current default message catalog to DOMAINNAME. ++ If DOMAINNAME is null, return the current default. ++ If DOMAINNAME is "", reset to the default of "messages". */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_textdomain (const char *__domainname); ++static inline char *textdomain (const char *__domainname) ++{ ++ return libintl_textdomain (__domainname); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define textdomain libintl_textdomain ++#endif ++extern char *textdomain (const char *__domainname) ++ _INTL_ASM (libintl_textdomain); ++#endif ++ ++/* Specify that the DOMAINNAME message catalog will be found ++ in DIRNAME rather than in the system locale data base. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_bindtextdomain (const char *__domainname, ++ const char *__dirname); ++static inline char *bindtextdomain (const char *__domainname, ++ const char *__dirname) ++{ ++ return libintl_bindtextdomain (__domainname, __dirname); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define bindtextdomain libintl_bindtextdomain ++#endif ++extern char *bindtextdomain (const char *__domainname, const char *__dirname) ++ _INTL_ASM (libintl_bindtextdomain); ++#endif ++ ++/* Specify the character encoding in which the messages from the ++ DOMAINNAME message catalog will be returned. */ ++#ifdef _INTL_REDIRECT_INLINE ++extern char *libintl_bind_textdomain_codeset (const char *__domainname, ++ const char *__codeset); ++static inline char *bind_textdomain_codeset (const char *__domainname, ++ const char *__codeset) ++{ ++ return libintl_bind_textdomain_codeset (__domainname, __codeset); ++} ++#else ++#ifdef _INTL_REDIRECT_MACROS ++# define bind_textdomain_codeset libintl_bind_textdomain_codeset ++#endif ++extern char *bind_textdomain_codeset (const char *__domainname, ++ const char *__codeset) ++ _INTL_ASM (libintl_bind_textdomain_codeset); ++#endif ++ ++ ++/* Support for format strings with positions in *printf(), following the ++ POSIX/XSI specification. ++ Note: These replacements for the *printf() functions are visible only ++ in source files that #include or #include "gettext.h". ++ Packages that use *printf() in source files that don't refer to _() ++ or gettext() but for which the format string could be the return value ++ of _() or gettext() need to add this #include. Oh well. */ ++ ++#if !@HAVE_POSIX_PRINTF@ ++ ++#include ++#include ++ ++/* Get va_list. */ ++#if __STDC__ || defined __cplusplus || defined _MSC_VER ++# include ++#else ++# include ++#endif ++ ++#undef fprintf ++#define fprintf libintl_fprintf ++extern int fprintf (FILE *, const char *, ...); ++#undef vfprintf ++#define vfprintf libintl_vfprintf ++extern int vfprintf (FILE *, const char *, va_list); ++ ++#undef printf ++#define printf libintl_printf ++extern int printf (const char *, ...); ++#undef vprintf ++#define vprintf libintl_vprintf ++extern int vprintf (const char *, va_list); ++ ++#undef sprintf ++#define sprintf libintl_sprintf ++extern int sprintf (char *, const char *, ...); ++#undef vsprintf ++#define vsprintf libintl_vsprintf ++extern int vsprintf (char *, const char *, va_list); ++ ++#if @HAVE_SNPRINTF@ ++ ++#undef snprintf ++#define snprintf libintl_snprintf ++extern int snprintf (char *, size_t, const char *, ...); ++#undef vsnprintf ++#define vsnprintf libintl_vsnprintf ++extern int vsnprintf (char *, size_t, const char *, va_list); ++ ++#endif ++ ++#if @HAVE_ASPRINTF@ ++ ++#undef asprintf ++#define asprintf libintl_asprintf ++extern int asprintf (char **, const char *, ...); ++#undef vasprintf ++#define vasprintf libintl_vasprintf ++extern int vasprintf (char **, const char *, va_list); ++ ++#endif ++ ++#if @HAVE_WPRINTF@ ++ ++#undef fwprintf ++#define fwprintf libintl_fwprintf ++extern int fwprintf (FILE *, const wchar_t *, ...); ++#undef vfwprintf ++#define vfwprintf libintl_vfwprintf ++extern int vfwprintf (FILE *, const wchar_t *, va_list); ++ ++#undef wprintf ++#define wprintf libintl_wprintf ++extern int wprintf (const wchar_t *, ...); ++#undef vwprintf ++#define vwprintf libintl_vwprintf ++extern int vwprintf (const wchar_t *, va_list); ++ ++#undef swprintf ++#define swprintf libintl_swprintf ++extern int swprintf (wchar_t *, size_t, const wchar_t *, ...); ++#undef vswprintf ++#define vswprintf libintl_vswprintf ++extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list); ++ ++#endif ++ ++#endif ++ ++ ++/* Support for relocatable packages. */ ++ ++/* Sets the original and the current installation prefix of the package. ++ Relocation simply replaces a pathname starting with the original prefix ++ by the corresponding pathname with the current prefix instead. Both ++ prefixes should be directory names without trailing slash (i.e. use "" ++ instead of "/"). */ ++#define libintl_set_relocation_prefix libintl_set_relocation_prefix ++extern void ++ libintl_set_relocation_prefix (const char *orig_prefix, ++ const char *curr_prefix); ++ ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* libintl.h */ +--- lrzsz-0.12.20.safe/intl/linux-msg.sed 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/linux-msg.sed 1969-12-31 19:00:00.000000000 -0500 +@@ -1,100 +0,0 @@ +-# po2msg.sed - Convert Uniforum style .po file to Linux style .msg file +-# Copyright (C) 1995 Free Software Foundation, Inc. +-# Ulrich Drepper , 1995. +-# +-# This program is free software; you can redistribute it and/or modify +-# it under the terms of the GNU General Public License as published by +-# the Free Software Foundation; either version 2, or (at your option) +-# any later version. +-# +-# This program is distributed in the hope that it will be useful, +-# but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU General Public License for more details. +-# +-# You should have received a copy of the GNU General Public License +-# along with this program; if not, write to the Free Software +-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-# +-# +-# The first directive in the .msg should be the definition of the +-# message set number. We use always set number 1. +-# +-1 { +- i\ +-$set 1 # Automatically created by po2msg.sed +- h +- s/.*/0/ +- x +-} +-# +-# Mitch's old catalog format does not allow comments. +-# +-# We copy the original message as a comment into the .msg file. +-# +-/^msgid/ { +- s/msgid[ ]*"// +-# +-# This does not work now with the new format. +-# /"$/! { +-# s/\\$// +-# s/$/ ... (more lines following)"/ +-# } +- x +-# The following nice solution is by +-# Bruno +- td +-# Increment a decimal number in pattern space. +-# First hide trailing `9' digits. +- :d +- s/9\(_*\)$/_\1/ +- td +-# Assure at least one digit is available. +- s/^\(_*\)$/0\1/ +-# Increment the last digit. +- s/8\(_*\)$/9\1/ +- s/7\(_*\)$/8\1/ +- s/6\(_*\)$/7\1/ +- s/5\(_*\)$/6\1/ +- s/4\(_*\)$/5\1/ +- s/3\(_*\)$/4\1/ +- s/2\(_*\)$/3\1/ +- s/1\(_*\)$/2\1/ +- s/0\(_*\)$/1\1/ +-# Convert the hidden `9' digits to `0's. +- s/_/0/g +- x +- G +- s/\(.*\)"\n\([0-9]*\)/$ #\2 Original Message:(\1)/p +-} +-# +-# The .msg file contains, other then the .po file, only the translations +-# but each given a unique ID. Starting from 1 and incrementing by 1 for +-# each message we assign them to the messages. +-# It is important that the .po file used to generate the cat-id-tbl.c file +-# (with po-to-tbl) is the same as the one used here. (At least the order +-# of declarations must not be changed.) +-# +-/^msgstr/ { +- s/msgstr[ ]*"\(.*\)"/# \1/ +-# Clear substitution flag. +- tb +-# Append the next line. +- :b +- N +-# Look whether second part is continuation line. +- s/\(.*\n\)"\(.*\)"/\1\2/ +-# Yes, then branch. +- ta +- P +- D +-# Note that D includes a jump to the start!! +-# We found a continuation line. But before printing insert '\'. +- :a +- s/\(.*\)\(\n.*\)/\1\\\2/ +- P +-# We cannot use D here. +- s/.*\n\(.*\)/\1/ +- tb +-} +-d +--- lrzsz-0.12.20.safe/intl/loadinfo.h 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/loadinfo.h 2004-09-12 14:40:34.468730912 -0400 +@@ -1,9 +1,54 @@ +-#ifndef PARAMS +-# if __STDC__ +-# define PARAMS(args) args +-# else +-# define PARAMS(args) () +-# endif ++/* Copyright (C) 1996-1999, 2000-2003 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ Contributed by Ulrich Drepper , 1996. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _LOADINFO_H ++#define _LOADINFO_H 1 ++ ++/* Declarations of locale dependent catalog lookup functions. ++ Implemented in ++ ++ localealias.c Possibly replace a locale name by another. ++ explodename.c Split a locale name into its various fields. ++ l10nflist.c Generate a list of filenames of possible message catalogs. ++ finddomain.c Find and open the relevant message catalogs. ++ ++ The main function _nl_find_domain() in finddomain.c is declared ++ in gettextP.h. ++ */ ++ ++#ifndef internal_function ++# define internal_function ++#endif ++ ++/* Tell the compiler when a conditional or integer expression is ++ almost always true or almost always false. */ ++#ifndef HAVE_BUILTIN_EXPECT ++# define __builtin_expect(expr, val) (expr) ++#endif ++ ++/* Separator in PATH like lists of pathnames. */ ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS */ ++# define PATH_SEPARATOR ';' ++#else ++ /* Unix */ ++# define PATH_SEPARATOR ':' + #endif + + /* Encoding of locale name parts. */ +@@ -32,27 +77,69 @@ + }; + + +-extern const char *_nl_normalize_codeset PARAMS ((const char *codeset, +- size_t name_len)); ++/* Normalize codeset name. There is no standard for the codeset ++ names. Normalization allows the user to use any of the common ++ names. The return value is dynamically allocated and has to be ++ freed by the caller. */ ++extern const char *_nl_normalize_codeset (const char *codeset, ++ size_t name_len); + ++/* Lookup a locale dependent file. ++ *L10NFILE_LIST denotes a pool of lookup results of locale dependent ++ files of the same kind, sorted in decreasing order of ->filename. ++ DIRLIST and DIRLIST_LEN are an argz list of directories in which to ++ look, containing at least one directory (i.e. DIRLIST_LEN > 0). ++ MASK, LANGUAGE, TERRITORY, CODESET, NORMALIZED_CODESET, MODIFIER, ++ SPECIAL, SPONSOR, REVISION are the pieces of the locale name, as ++ produced by _nl_explode_name(). FILENAME is the filename suffix. ++ The return value is the lookup result, either found in *L10NFILE_LIST, ++ or - if DO_ALLOCATE is nonzero - freshly allocated, or possibly NULL. ++ If the return value is non-NULL, it is added to *L10NFILE_LIST, and ++ its ->next field denotes the chaining inside *L10NFILE_LIST, and ++ furthermore its ->successor[] field contains a list of other lookup ++ results from which this lookup result inherits. */ + extern struct loaded_l10nfile * +-_nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list, +- const char *dirlist, size_t dirlist_len, int mask, +- const char *language, const char *territory, +- const char *codeset, +- const char *normalized_codeset, +- const char *modifier, const char *special, +- const char *sponsor, const char *revision, +- const char *filename, int do_allocate)); ++_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, ++ const char *dirlist, size_t dirlist_len, int mask, ++ const char *language, const char *territory, ++ const char *codeset, const char *normalized_codeset, ++ const char *modifier, const char *special, ++ const char *sponsor, const char *revision, ++ const char *filename, int do_allocate); + ++/* Lookup the real locale name for a locale alias NAME, or NULL if ++ NAME is not a locale alias (but possibly a real locale name). ++ The return value is statically allocated and must not be freed. */ ++extern const char *_nl_expand_alias (const char *name); + +-extern const char *_nl_expand_alias PARAMS ((const char *name)); ++/* Split a locale name NAME into its pieces: language, modifier, ++ territory, codeset, special, sponsor, revision. ++ NAME gets destructively modified: NUL bytes are inserted here and ++ there. *LANGUAGE gets assigned NAME. Each of *MODIFIER, *TERRITORY, ++ *CODESET, *SPECIAL, *SPONSOR, *REVISION gets assigned either a ++ pointer into the old NAME string, or NULL. *NORMALIZED_CODESET ++ gets assigned the expanded *CODESET, if it is different from *CODESET; ++ this one is dynamically allocated and has to be freed by the caller. ++ The return value is a bitmask, where each bit corresponds to one ++ filled-in value: ++ XPG_MODIFIER, CEN_AUDIENCE for *MODIFIER, ++ TERRITORY for *TERRITORY, ++ XPG_CODESET for *CODESET, ++ XPG_NORM_CODESET for *NORMALIZED_CODESET, ++ CEN_SPECIAL for *SPECIAL, ++ CEN_SPONSOR for *SPONSOR, ++ CEN_REVISION for *REVISION. ++ */ ++extern int _nl_explode_name (char *name, const char **language, ++ const char **modifier, const char **territory, ++ const char **codeset, ++ const char **normalized_codeset, ++ const char **special, const char **sponsor, ++ const char **revision); + +-extern int _nl_explode_name PARAMS ((char *name, const char **language, +- const char **modifier, +- const char **territory, +- const char **codeset, +- const char **normalized_codeset, +- const char **special, +- const char **sponsor, +- const char **revision)); ++/* Split a locale name NAME into a leading language part and all the ++ rest. Return a pointer to the first character after the language, ++ i.e. to the first byte of the rest. */ ++extern char *_nl_find_language (const char *name); ++ ++#endif /* loadinfo.h */ +--- lrzsz-0.12.20.safe/intl/loadmsgcat.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/loadmsgcat.c 2004-09-12 14:40:34.473730152 -0400 +@@ -1,42 +1,455 @@ +-/* Load needed message catalogs +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++/* Load needed message catalogs. ++ Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Tell glibc's to provide a prototype for mempcpy(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif + + #ifdef HAVE_CONFIG_H + # include + #endif + ++#include ++#include + #include + #include + #include + +-#if defined STDC_HEADERS || defined _LIBC +-# include ++#ifdef __GNUC__ ++# undef alloca ++# define alloca __builtin_alloca ++# define HAVE_ALLOCA 1 ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# if defined HAVE_ALLOCA_H || defined _LIBC ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca ++char *alloca (); ++# endif ++# endif ++# endif ++# endif + #endif + ++#include ++#include ++ + #if defined HAVE_UNISTD_H || defined _LIBC + # include + #endif + +-#if (defined HAVE_MMAP && defined HAVE_MUNMAP) || defined _LIBC ++#ifdef _LIBC ++# include ++# include ++#endif ++ ++#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ ++ || (defined _LIBC && defined _POSIX_MAPPED_FILES) + # include ++# undef HAVE_MMAP ++# define HAVE_MMAP 1 ++#else ++# undef HAVE_MMAP + #endif + +-#include "gettext.h" ++#if defined HAVE_STDINT_H_WITH_UINTMAX || defined _LIBC ++# include ++#endif ++#if defined HAVE_INTTYPES_H || defined _LIBC ++# include ++#endif ++ ++#include "gmo.h" + #include "gettextP.h" ++#include "hash-string.h" ++#include "plural-exp.h" ++ ++#ifdef _LIBC ++# include "../locale/localeinfo.h" ++#endif ++ ++/* Provide fallback values for macros that ought to be defined in . ++ Note that our fallback values need not be literal strings, because we don't ++ use them with preprocessor string concatenation. */ ++#if !defined PRId8 || PRI_MACROS_BROKEN ++# undef PRId8 ++# define PRId8 "d" ++#endif ++#if !defined PRIi8 || PRI_MACROS_BROKEN ++# undef PRIi8 ++# define PRIi8 "i" ++#endif ++#if !defined PRIo8 || PRI_MACROS_BROKEN ++# undef PRIo8 ++# define PRIo8 "o" ++#endif ++#if !defined PRIu8 || PRI_MACROS_BROKEN ++# undef PRIu8 ++# define PRIu8 "u" ++#endif ++#if !defined PRIx8 || PRI_MACROS_BROKEN ++# undef PRIx8 ++# define PRIx8 "x" ++#endif ++#if !defined PRIX8 || PRI_MACROS_BROKEN ++# undef PRIX8 ++# define PRIX8 "X" ++#endif ++#if !defined PRId16 || PRI_MACROS_BROKEN ++# undef PRId16 ++# define PRId16 "d" ++#endif ++#if !defined PRIi16 || PRI_MACROS_BROKEN ++# undef PRIi16 ++# define PRIi16 "i" ++#endif ++#if !defined PRIo16 || PRI_MACROS_BROKEN ++# undef PRIo16 ++# define PRIo16 "o" ++#endif ++#if !defined PRIu16 || PRI_MACROS_BROKEN ++# undef PRIu16 ++# define PRIu16 "u" ++#endif ++#if !defined PRIx16 || PRI_MACROS_BROKEN ++# undef PRIx16 ++# define PRIx16 "x" ++#endif ++#if !defined PRIX16 || PRI_MACROS_BROKEN ++# undef PRIX16 ++# define PRIX16 "X" ++#endif ++#if !defined PRId32 || PRI_MACROS_BROKEN ++# undef PRId32 ++# define PRId32 "d" ++#endif ++#if !defined PRIi32 || PRI_MACROS_BROKEN ++# undef PRIi32 ++# define PRIi32 "i" ++#endif ++#if !defined PRIo32 || PRI_MACROS_BROKEN ++# undef PRIo32 ++# define PRIo32 "o" ++#endif ++#if !defined PRIu32 || PRI_MACROS_BROKEN ++# undef PRIu32 ++# define PRIu32 "u" ++#endif ++#if !defined PRIx32 || PRI_MACROS_BROKEN ++# undef PRIx32 ++# define PRIx32 "x" ++#endif ++#if !defined PRIX32 || PRI_MACROS_BROKEN ++# undef PRIX32 ++# define PRIX32 "X" ++#endif ++#if !defined PRId64 || PRI_MACROS_BROKEN ++# undef PRId64 ++# define PRId64 (sizeof (long) == 8 ? "ld" : "lld") ++#endif ++#if !defined PRIi64 || PRI_MACROS_BROKEN ++# undef PRIi64 ++# define PRIi64 (sizeof (long) == 8 ? "li" : "lli") ++#endif ++#if !defined PRIo64 || PRI_MACROS_BROKEN ++# undef PRIo64 ++# define PRIo64 (sizeof (long) == 8 ? "lo" : "llo") ++#endif ++#if !defined PRIu64 || PRI_MACROS_BROKEN ++# undef PRIu64 ++# define PRIu64 (sizeof (long) == 8 ? "lu" : "llu") ++#endif ++#if !defined PRIx64 || PRI_MACROS_BROKEN ++# undef PRIx64 ++# define PRIx64 (sizeof (long) == 8 ? "lx" : "llx") ++#endif ++#if !defined PRIX64 || PRI_MACROS_BROKEN ++# undef PRIX64 ++# define PRIX64 (sizeof (long) == 8 ? "lX" : "llX") ++#endif ++#if !defined PRIdLEAST8 || PRI_MACROS_BROKEN ++# undef PRIdLEAST8 ++# define PRIdLEAST8 "d" ++#endif ++#if !defined PRIiLEAST8 || PRI_MACROS_BROKEN ++# undef PRIiLEAST8 ++# define PRIiLEAST8 "i" ++#endif ++#if !defined PRIoLEAST8 || PRI_MACROS_BROKEN ++# undef PRIoLEAST8 ++# define PRIoLEAST8 "o" ++#endif ++#if !defined PRIuLEAST8 || PRI_MACROS_BROKEN ++# undef PRIuLEAST8 ++# define PRIuLEAST8 "u" ++#endif ++#if !defined PRIxLEAST8 || PRI_MACROS_BROKEN ++# undef PRIxLEAST8 ++# define PRIxLEAST8 "x" ++#endif ++#if !defined PRIXLEAST8 || PRI_MACROS_BROKEN ++# undef PRIXLEAST8 ++# define PRIXLEAST8 "X" ++#endif ++#if !defined PRIdLEAST16 || PRI_MACROS_BROKEN ++# undef PRIdLEAST16 ++# define PRIdLEAST16 "d" ++#endif ++#if !defined PRIiLEAST16 || PRI_MACROS_BROKEN ++# undef PRIiLEAST16 ++# define PRIiLEAST16 "i" ++#endif ++#if !defined PRIoLEAST16 || PRI_MACROS_BROKEN ++# undef PRIoLEAST16 ++# define PRIoLEAST16 "o" ++#endif ++#if !defined PRIuLEAST16 || PRI_MACROS_BROKEN ++# undef PRIuLEAST16 ++# define PRIuLEAST16 "u" ++#endif ++#if !defined PRIxLEAST16 || PRI_MACROS_BROKEN ++# undef PRIxLEAST16 ++# define PRIxLEAST16 "x" ++#endif ++#if !defined PRIXLEAST16 || PRI_MACROS_BROKEN ++# undef PRIXLEAST16 ++# define PRIXLEAST16 "X" ++#endif ++#if !defined PRIdLEAST32 || PRI_MACROS_BROKEN ++# undef PRIdLEAST32 ++# define PRIdLEAST32 "d" ++#endif ++#if !defined PRIiLEAST32 || PRI_MACROS_BROKEN ++# undef PRIiLEAST32 ++# define PRIiLEAST32 "i" ++#endif ++#if !defined PRIoLEAST32 || PRI_MACROS_BROKEN ++# undef PRIoLEAST32 ++# define PRIoLEAST32 "o" ++#endif ++#if !defined PRIuLEAST32 || PRI_MACROS_BROKEN ++# undef PRIuLEAST32 ++# define PRIuLEAST32 "u" ++#endif ++#if !defined PRIxLEAST32 || PRI_MACROS_BROKEN ++# undef PRIxLEAST32 ++# define PRIxLEAST32 "x" ++#endif ++#if !defined PRIXLEAST32 || PRI_MACROS_BROKEN ++# undef PRIXLEAST32 ++# define PRIXLEAST32 "X" ++#endif ++#if !defined PRIdLEAST64 || PRI_MACROS_BROKEN ++# undef PRIdLEAST64 ++# define PRIdLEAST64 PRId64 ++#endif ++#if !defined PRIiLEAST64 || PRI_MACROS_BROKEN ++# undef PRIiLEAST64 ++# define PRIiLEAST64 PRIi64 ++#endif ++#if !defined PRIoLEAST64 || PRI_MACROS_BROKEN ++# undef PRIoLEAST64 ++# define PRIoLEAST64 PRIo64 ++#endif ++#if !defined PRIuLEAST64 || PRI_MACROS_BROKEN ++# undef PRIuLEAST64 ++# define PRIuLEAST64 PRIu64 ++#endif ++#if !defined PRIxLEAST64 || PRI_MACROS_BROKEN ++# undef PRIxLEAST64 ++# define PRIxLEAST64 PRIx64 ++#endif ++#if !defined PRIXLEAST64 || PRI_MACROS_BROKEN ++# undef PRIXLEAST64 ++# define PRIXLEAST64 PRIX64 ++#endif ++#if !defined PRIdFAST8 || PRI_MACROS_BROKEN ++# undef PRIdFAST8 ++# define PRIdFAST8 "d" ++#endif ++#if !defined PRIiFAST8 || PRI_MACROS_BROKEN ++# undef PRIiFAST8 ++# define PRIiFAST8 "i" ++#endif ++#if !defined PRIoFAST8 || PRI_MACROS_BROKEN ++# undef PRIoFAST8 ++# define PRIoFAST8 "o" ++#endif ++#if !defined PRIuFAST8 || PRI_MACROS_BROKEN ++# undef PRIuFAST8 ++# define PRIuFAST8 "u" ++#endif ++#if !defined PRIxFAST8 || PRI_MACROS_BROKEN ++# undef PRIxFAST8 ++# define PRIxFAST8 "x" ++#endif ++#if !defined PRIXFAST8 || PRI_MACROS_BROKEN ++# undef PRIXFAST8 ++# define PRIXFAST8 "X" ++#endif ++#if !defined PRIdFAST16 || PRI_MACROS_BROKEN ++# undef PRIdFAST16 ++# define PRIdFAST16 "d" ++#endif ++#if !defined PRIiFAST16 || PRI_MACROS_BROKEN ++# undef PRIiFAST16 ++# define PRIiFAST16 "i" ++#endif ++#if !defined PRIoFAST16 || PRI_MACROS_BROKEN ++# undef PRIoFAST16 ++# define PRIoFAST16 "o" ++#endif ++#if !defined PRIuFAST16 || PRI_MACROS_BROKEN ++# undef PRIuFAST16 ++# define PRIuFAST16 "u" ++#endif ++#if !defined PRIxFAST16 || PRI_MACROS_BROKEN ++# undef PRIxFAST16 ++# define PRIxFAST16 "x" ++#endif ++#if !defined PRIXFAST16 || PRI_MACROS_BROKEN ++# undef PRIXFAST16 ++# define PRIXFAST16 "X" ++#endif ++#if !defined PRIdFAST32 || PRI_MACROS_BROKEN ++# undef PRIdFAST32 ++# define PRIdFAST32 "d" ++#endif ++#if !defined PRIiFAST32 || PRI_MACROS_BROKEN ++# undef PRIiFAST32 ++# define PRIiFAST32 "i" ++#endif ++#if !defined PRIoFAST32 || PRI_MACROS_BROKEN ++# undef PRIoFAST32 ++# define PRIoFAST32 "o" ++#endif ++#if !defined PRIuFAST32 || PRI_MACROS_BROKEN ++# undef PRIuFAST32 ++# define PRIuFAST32 "u" ++#endif ++#if !defined PRIxFAST32 || PRI_MACROS_BROKEN ++# undef PRIxFAST32 ++# define PRIxFAST32 "x" ++#endif ++#if !defined PRIXFAST32 || PRI_MACROS_BROKEN ++# undef PRIXFAST32 ++# define PRIXFAST32 "X" ++#endif ++#if !defined PRIdFAST64 || PRI_MACROS_BROKEN ++# undef PRIdFAST64 ++# define PRIdFAST64 PRId64 ++#endif ++#if !defined PRIiFAST64 || PRI_MACROS_BROKEN ++# undef PRIiFAST64 ++# define PRIiFAST64 PRIi64 ++#endif ++#if !defined PRIoFAST64 || PRI_MACROS_BROKEN ++# undef PRIoFAST64 ++# define PRIoFAST64 PRIo64 ++#endif ++#if !defined PRIuFAST64 || PRI_MACROS_BROKEN ++# undef PRIuFAST64 ++# define PRIuFAST64 PRIu64 ++#endif ++#if !defined PRIxFAST64 || PRI_MACROS_BROKEN ++# undef PRIxFAST64 ++# define PRIxFAST64 PRIx64 ++#endif ++#if !defined PRIXFAST64 || PRI_MACROS_BROKEN ++# undef PRIXFAST64 ++# define PRIXFAST64 PRIX64 ++#endif ++#if !defined PRIdMAX || PRI_MACROS_BROKEN ++# undef PRIdMAX ++# define PRIdMAX (sizeof (uintmax_t) == sizeof (long) ? "ld" : "lld") ++#endif ++#if !defined PRIiMAX || PRI_MACROS_BROKEN ++# undef PRIiMAX ++# define PRIiMAX (sizeof (uintmax_t) == sizeof (long) ? "li" : "lli") ++#endif ++#if !defined PRIoMAX || PRI_MACROS_BROKEN ++# undef PRIoMAX ++# define PRIoMAX (sizeof (uintmax_t) == sizeof (long) ? "lo" : "llo") ++#endif ++#if !defined PRIuMAX || PRI_MACROS_BROKEN ++# undef PRIuMAX ++# define PRIuMAX (sizeof (uintmax_t) == sizeof (long) ? "lu" : "llu") ++#endif ++#if !defined PRIxMAX || PRI_MACROS_BROKEN ++# undef PRIxMAX ++# define PRIxMAX (sizeof (uintmax_t) == sizeof (long) ? "lx" : "llx") ++#endif ++#if !defined PRIXMAX || PRI_MACROS_BROKEN ++# undef PRIXMAX ++# define PRIXMAX (sizeof (uintmax_t) == sizeof (long) ? "lX" : "llX") ++#endif ++#if !defined PRIdPTR || PRI_MACROS_BROKEN ++# undef PRIdPTR ++# define PRIdPTR \ ++ (sizeof (void *) == sizeof (long) ? "ld" : \ ++ sizeof (void *) == sizeof (int) ? "d" : \ ++ "lld") ++#endif ++#if !defined PRIiPTR || PRI_MACROS_BROKEN ++# undef PRIiPTR ++# define PRIiPTR \ ++ (sizeof (void *) == sizeof (long) ? "li" : \ ++ sizeof (void *) == sizeof (int) ? "i" : \ ++ "lli") ++#endif ++#if !defined PRIoPTR || PRI_MACROS_BROKEN ++# undef PRIoPTR ++# define PRIoPTR \ ++ (sizeof (void *) == sizeof (long) ? "lo" : \ ++ sizeof (void *) == sizeof (int) ? "o" : \ ++ "llo") ++#endif ++#if !defined PRIuPTR || PRI_MACROS_BROKEN ++# undef PRIuPTR ++# define PRIuPTR \ ++ (sizeof (void *) == sizeof (long) ? "lu" : \ ++ sizeof (void *) == sizeof (int) ? "u" : \ ++ "llu") ++#endif ++#if !defined PRIxPTR || PRI_MACROS_BROKEN ++# undef PRIxPTR ++# define PRIxPTR \ ++ (sizeof (void *) == sizeof (long) ? "lx" : \ ++ sizeof (void *) == sizeof (int) ? "x" : \ ++ "llx") ++#endif ++#if !defined PRIXPTR || PRI_MACROS_BROKEN ++# undef PRIXPTR ++# define PRIXPTR \ ++ (sizeof (void *) == sizeof (long) ? "lX" : \ ++ sizeof (void *) == sizeof (int) ? "X" : \ ++ "llX") ++#endif + + /* @@ end of prolog @@ */ + +@@ -44,7 +457,6 @@ + /* Rename the non ISO C functions. This is required by the standard + because some ISO C functions will require linking with this object + file and the name space must not be polluted. */ +-# define fstat __fstat + # define open __open + # define close __close + # define read __read +@@ -52,30 +464,471 @@ + # define munmap __munmap + #endif + ++/* For those losing systems which don't have `alloca' we have to add ++ some additional code emulating it. */ ++#ifdef HAVE_ALLOCA ++# define freea(p) /* nothing */ ++#else ++# define alloca(n) malloc (n) ++# define freea(p) free (p) ++#endif ++ ++/* For systems that distinguish between text and binary I/O. ++ O_BINARY is usually declared in . */ ++#if !defined O_BINARY && defined _O_BINARY ++ /* For MSC-compatible compilers. */ ++# define O_BINARY _O_BINARY ++# define O_TEXT _O_TEXT ++#endif ++#ifdef __BEOS__ ++ /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ ++# undef O_BINARY ++# undef O_TEXT ++#endif ++/* On reasonable systems, binary I/O is the default. */ ++#ifndef O_BINARY ++# define O_BINARY 0 ++#endif ++ ++ + /* We need a sign, whether a new catalog was loaded, which can be associated + with all translations. This is important if the translations are + cached by one of GCC's features. */ +-int _nl_msg_cat_cntr = 0; ++int _nl_msg_cat_cntr; + + ++/* Expand a system dependent string segment. Return NULL if unsupported. */ ++static const char * ++get_sysdep_segment_value (const char *name) ++{ ++ /* Test for an ISO C 99 section 7.8.1 format string directive. ++ Syntax: ++ P R I { d | i | o | u | x | X } ++ { { | LEAST | FAST } { 8 | 16 | 32 | 64 } | MAX | PTR } */ ++ /* We don't use a table of 14 times 6 'const char *' strings here, because ++ data relocations cost startup time. */ ++ if (name[0] == 'P' && name[1] == 'R' && name[2] == 'I') ++ { ++ if (name[3] == 'd' || name[3] == 'i' || name[3] == 'o' || name[3] == 'u' ++ || name[3] == 'x' || name[3] == 'X') ++ { ++ if (name[4] == '8' && name[5] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRId8; ++ if (name[3] == 'i') ++ return PRIi8; ++ if (name[3] == 'o') ++ return PRIo8; ++ if (name[3] == 'u') ++ return PRIu8; ++ if (name[3] == 'x') ++ return PRIx8; ++ if (name[3] == 'X') ++ return PRIX8; ++ abort (); ++ } ++ if (name[4] == '1' && name[5] == '6' && name[6] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRId16; ++ if (name[3] == 'i') ++ return PRIi16; ++ if (name[3] == 'o') ++ return PRIo16; ++ if (name[3] == 'u') ++ return PRIu16; ++ if (name[3] == 'x') ++ return PRIx16; ++ if (name[3] == 'X') ++ return PRIX16; ++ abort (); ++ } ++ if (name[4] == '3' && name[5] == '2' && name[6] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRId32; ++ if (name[3] == 'i') ++ return PRIi32; ++ if (name[3] == 'o') ++ return PRIo32; ++ if (name[3] == 'u') ++ return PRIu32; ++ if (name[3] == 'x') ++ return PRIx32; ++ if (name[3] == 'X') ++ return PRIX32; ++ abort (); ++ } ++ if (name[4] == '6' && name[5] == '4' && name[6] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRId64; ++ if (name[3] == 'i') ++ return PRIi64; ++ if (name[3] == 'o') ++ return PRIo64; ++ if (name[3] == 'u') ++ return PRIu64; ++ if (name[3] == 'x') ++ return PRIx64; ++ if (name[3] == 'X') ++ return PRIX64; ++ abort (); ++ } ++ if (name[4] == 'L' && name[5] == 'E' && name[6] == 'A' ++ && name[7] == 'S' && name[8] == 'T') ++ { ++ if (name[9] == '8' && name[10] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdLEAST8; ++ if (name[3] == 'i') ++ return PRIiLEAST8; ++ if (name[3] == 'o') ++ return PRIoLEAST8; ++ if (name[3] == 'u') ++ return PRIuLEAST8; ++ if (name[3] == 'x') ++ return PRIxLEAST8; ++ if (name[3] == 'X') ++ return PRIXLEAST8; ++ abort (); ++ } ++ if (name[9] == '1' && name[10] == '6' && name[11] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdLEAST16; ++ if (name[3] == 'i') ++ return PRIiLEAST16; ++ if (name[3] == 'o') ++ return PRIoLEAST16; ++ if (name[3] == 'u') ++ return PRIuLEAST16; ++ if (name[3] == 'x') ++ return PRIxLEAST16; ++ if (name[3] == 'X') ++ return PRIXLEAST16; ++ abort (); ++ } ++ if (name[9] == '3' && name[10] == '2' && name[11] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdLEAST32; ++ if (name[3] == 'i') ++ return PRIiLEAST32; ++ if (name[3] == 'o') ++ return PRIoLEAST32; ++ if (name[3] == 'u') ++ return PRIuLEAST32; ++ if (name[3] == 'x') ++ return PRIxLEAST32; ++ if (name[3] == 'X') ++ return PRIXLEAST32; ++ abort (); ++ } ++ if (name[9] == '6' && name[10] == '4' && name[11] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdLEAST64; ++ if (name[3] == 'i') ++ return PRIiLEAST64; ++ if (name[3] == 'o') ++ return PRIoLEAST64; ++ if (name[3] == 'u') ++ return PRIuLEAST64; ++ if (name[3] == 'x') ++ return PRIxLEAST64; ++ if (name[3] == 'X') ++ return PRIXLEAST64; ++ abort (); ++ } ++ } ++ if (name[4] == 'F' && name[5] == 'A' && name[6] == 'S' ++ && name[7] == 'T') ++ { ++ if (name[8] == '8' && name[9] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdFAST8; ++ if (name[3] == 'i') ++ return PRIiFAST8; ++ if (name[3] == 'o') ++ return PRIoFAST8; ++ if (name[3] == 'u') ++ return PRIuFAST8; ++ if (name[3] == 'x') ++ return PRIxFAST8; ++ if (name[3] == 'X') ++ return PRIXFAST8; ++ abort (); ++ } ++ if (name[8] == '1' && name[9] == '6' && name[10] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdFAST16; ++ if (name[3] == 'i') ++ return PRIiFAST16; ++ if (name[3] == 'o') ++ return PRIoFAST16; ++ if (name[3] == 'u') ++ return PRIuFAST16; ++ if (name[3] == 'x') ++ return PRIxFAST16; ++ if (name[3] == 'X') ++ return PRIXFAST16; ++ abort (); ++ } ++ if (name[8] == '3' && name[9] == '2' && name[10] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdFAST32; ++ if (name[3] == 'i') ++ return PRIiFAST32; ++ if (name[3] == 'o') ++ return PRIoFAST32; ++ if (name[3] == 'u') ++ return PRIuFAST32; ++ if (name[3] == 'x') ++ return PRIxFAST32; ++ if (name[3] == 'X') ++ return PRIXFAST32; ++ abort (); ++ } ++ if (name[8] == '6' && name[9] == '4' && name[10] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdFAST64; ++ if (name[3] == 'i') ++ return PRIiFAST64; ++ if (name[3] == 'o') ++ return PRIoFAST64; ++ if (name[3] == 'u') ++ return PRIuFAST64; ++ if (name[3] == 'x') ++ return PRIxFAST64; ++ if (name[3] == 'X') ++ return PRIXFAST64; ++ abort (); ++ } ++ } ++ if (name[4] == 'M' && name[5] == 'A' && name[6] == 'X' ++ && name[7] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdMAX; ++ if (name[3] == 'i') ++ return PRIiMAX; ++ if (name[3] == 'o') ++ return PRIoMAX; ++ if (name[3] == 'u') ++ return PRIuMAX; ++ if (name[3] == 'x') ++ return PRIxMAX; ++ if (name[3] == 'X') ++ return PRIXMAX; ++ abort (); ++ } ++ if (name[4] == 'P' && name[5] == 'T' && name[6] == 'R' ++ && name[7] == '\0') ++ { ++ if (name[3] == 'd') ++ return PRIdPTR; ++ if (name[3] == 'i') ++ return PRIiPTR; ++ if (name[3] == 'o') ++ return PRIoPTR; ++ if (name[3] == 'u') ++ return PRIuPTR; ++ if (name[3] == 'x') ++ return PRIxPTR; ++ if (name[3] == 'X') ++ return PRIXPTR; ++ abort (); ++ } ++ } ++ } ++ /* Test for a glibc specific printf() format directive flag. */ ++ if (name[0] == 'I' && name[1] == '\0') ++ { ++#if defined _LIBC || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) ++ /* The 'I' flag, in numeric format directives, replaces ASCII digits ++ with the 'outdigits' defined in the LC_CTYPE locale facet. This is ++ used for Farsi (Persian) and maybe Arabic. */ ++ return "I"; ++#else ++ return ""; ++#endif ++ } ++ /* Other system dependent strings are not valid. */ ++ return NULL; ++} ++ ++/* Initialize the codeset dependent parts of an opened message catalog. ++ Return the header entry. */ ++const char * ++internal_function ++_nl_init_domain_conv (struct loaded_l10nfile *domain_file, ++ struct loaded_domain *domain, ++ struct binding *domainbinding) ++{ ++ /* Find out about the character set the file is encoded with. ++ This can be found (in textual form) in the entry "". If this ++ entry does not exist or if this does not contain the `charset=' ++ information, we will assume the charset matches the one the ++ current locale and we don't have to perform any conversion. */ ++ char *nullentry; ++ size_t nullentrylen; ++ ++ /* Preinitialize fields, to avoid recursion during _nl_find_msg. */ ++ domain->codeset_cntr = ++ (domainbinding != NULL ? domainbinding->codeset_cntr : 0); ++#ifdef _LIBC ++ domain->conv = (__gconv_t) -1; ++#else ++# if HAVE_ICONV ++ domain->conv = (iconv_t) -1; ++# endif ++#endif ++ domain->conv_tab = NULL; ++ ++ /* Get the header entry. */ ++ nullentry = _nl_find_msg (domain_file, domainbinding, "", &nullentrylen); ++ ++ if (nullentry != NULL) ++ { ++#if defined _LIBC || HAVE_ICONV ++ const char *charsetstr; ++ ++ charsetstr = strstr (nullentry, "charset="); ++ if (charsetstr != NULL) ++ { ++ size_t len; ++ char *charset; ++ const char *outcharset; ++ ++ charsetstr += strlen ("charset="); ++ len = strcspn (charsetstr, " \t\n"); ++ ++ charset = (char *) alloca (len + 1); ++# if defined _LIBC || HAVE_MEMPCPY ++ *((char *) mempcpy (charset, charsetstr, len)) = '\0'; ++# else ++ memcpy (charset, charsetstr, len); ++ charset[len] = '\0'; ++# endif ++ ++ /* The output charset should normally be determined by the ++ locale. But sometimes the locale is not used or not correctly ++ set up, so we provide a possibility for the user to override ++ this. Moreover, the value specified through ++ bind_textdomain_codeset overrides both. */ ++ if (domainbinding != NULL && domainbinding->codeset != NULL) ++ outcharset = domainbinding->codeset; ++ else ++ { ++ outcharset = getenv ("OUTPUT_CHARSET"); ++ if (outcharset == NULL || outcharset[0] == '\0') ++ { ++# ifdef _LIBC ++ outcharset = _NL_CURRENT (LC_CTYPE, CODESET); ++# else ++# if HAVE_ICONV ++ extern const char *locale_charset (void); ++ outcharset = locale_charset (); ++# endif ++# endif ++ } ++ } ++ ++# ifdef _LIBC ++ /* We always want to use transliteration. */ ++ outcharset = norm_add_slashes (outcharset, "TRANSLIT"); ++ charset = norm_add_slashes (charset, NULL); ++ if (__gconv_open (outcharset, charset, &domain->conv, ++ GCONV_AVOID_NOCONV) ++ != __GCONV_OK) ++ domain->conv = (__gconv_t) -1; ++# else ++# if HAVE_ICONV ++ /* When using GNU libc >= 2.2 or GNU libiconv >= 1.5, ++ we want to use transliteration. */ ++# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \ ++ || _LIBICONV_VERSION >= 0x0105 ++ if (strchr (outcharset, '/') == NULL) ++ { ++ char *tmp; ++ ++ len = strlen (outcharset); ++ tmp = (char *) alloca (len + 10 + 1); ++ memcpy (tmp, outcharset, len); ++ memcpy (tmp + len, "//TRANSLIT", 10 + 1); ++ outcharset = tmp; ++ ++ domain->conv = iconv_open (outcharset, charset); ++ ++ freea (outcharset); ++ } ++ else ++# endif ++ domain->conv = iconv_open (outcharset, charset); ++# endif ++# endif ++ ++ freea (charset); ++ } ++#endif /* _LIBC || HAVE_ICONV */ ++ } ++ ++ return nullentry; ++} ++ ++/* Frees the codeset dependent parts of an opened message catalog. */ ++void ++internal_function ++_nl_free_domain_conv (struct loaded_domain *domain) ++{ ++ if (domain->conv_tab != NULL && domain->conv_tab != (char **) -1) ++ free (domain->conv_tab); ++ ++#ifdef _LIBC ++ if (domain->conv != (__gconv_t) -1) ++ __gconv_close (domain->conv); ++#else ++# if HAVE_ICONV ++ if (domain->conv != (iconv_t) -1) ++ iconv_close (domain->conv); ++# endif ++#endif ++} ++ + /* Load the message catalogs specified by FILENAME. If it is no valid + message catalog do nothing. */ + void +-_nl_load_domain (domain_file) +- struct loaded_l10nfile *domain_file; ++internal_function ++_nl_load_domain (struct loaded_l10nfile *domain_file, ++ struct binding *domainbinding) + { + int fd; ++ size_t size; ++#ifdef _LIBC ++ struct stat64 st; ++#else + struct stat st; ++#endif + struct mo_file_header *data = (struct mo_file_header *) -1; +-#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ +- || defined _LIBC + int use_mmap = 0; +-#endif + struct loaded_domain *domain; ++ int revision; ++ const char *nullentry; + + domain_file->decided = 1; + domain_file->data = NULL; + ++ /* Note that it would be useless to store domainbinding in domain_file ++ because domainbinding might be == NULL now but != NULL later (after ++ a call to bind_textdomain_codeset). */ ++ + /* If the record does not represent a valid locale the FILENAME + might be NULL. This can happen when according to the given + specification the locale file name is different for XPG and CEN +@@ -84,27 +937,32 @@ + return; + + /* Try to open the addressed file. */ +- fd = open (domain_file->filename, O_RDONLY); ++ fd = open (domain_file->filename, O_RDONLY | O_BINARY); + if (fd == -1) + return; + + /* We must know about the size of the file. */ +- if (fstat (fd, &st) != 0 +- && st.st_size < (off_t) sizeof (struct mo_file_header)) ++ if ( ++#ifdef _LIBC ++ __builtin_expect (fstat64 (fd, &st) != 0, 0) ++#else ++ __builtin_expect (fstat (fd, &st) != 0, 0) ++#endif ++ || __builtin_expect ((size = (size_t) st.st_size) != st.st_size, 0) ++ || __builtin_expect (size < sizeof (struct mo_file_header), 0)) + { + /* Something went wrong. */ + close (fd); + return; + } + +-#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ +- || defined _LIBC ++#ifdef HAVE_MMAP + /* Now we are ready to load the file. If mmap() is available we try + this first. If not available or it failed we try to load it. */ +- data = (struct mo_file_header *) mmap (NULL, st.st_size, PROT_READ, ++ data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, + MAP_PRIVATE, fd, 0); + +- if (data != (struct mo_file_header *) -1) ++ if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) + { + /* mmap() call was successful. */ + close (fd); +@@ -116,24 +974,27 @@ + it manually. */ + if (data == (struct mo_file_header *) -1) + { +- off_t to_read; ++ size_t to_read; + char *read_ptr; + +- data = (struct mo_file_header *) malloc (st.st_size); ++ data = (struct mo_file_header *) malloc (size); + if (data == NULL) + return; + +- to_read = st.st_size; ++ to_read = size; + read_ptr = (char *) data; + do + { + long int nb = (long int) read (fd, read_ptr, to_read); +- if (nb == -1) ++ if (nb <= 0) + { ++#ifdef EINTR ++ if (nb == -1 && errno == EINTR) ++ continue; ++#endif + close (fd); + return; + } +- + read_ptr += nb; + to_read -= nb; + } +@@ -144,47 +1005,378 @@ + + /* Using the magic number we can test whether it really is a message + catalog file. */ +- if (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED) ++ if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED, ++ 0)) + { + /* The magic number is wrong: not a message catalog file. */ +-#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ +- || defined _LIBC ++#ifdef HAVE_MMAP + if (use_mmap) +- munmap ((caddr_t) data, st.st_size); ++ munmap ((caddr_t) data, size); + else + #endif + free (data); + return; + } + +- domain_file->data +- = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); +- if (domain_file->data == NULL) ++ domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); ++ if (domain == NULL) + return; ++ domain_file->data = domain; + +- domain = (struct loaded_domain *) domain_file->data; + domain->data = (char *) data; ++ domain->use_mmap = use_mmap; ++ domain->mmap_size = size; + domain->must_swap = data->magic != _MAGIC; ++ domain->malloced = NULL; + + /* Fill in the information about the available tables. */ +- switch (W (domain->must_swap, data->revision)) ++ revision = W (domain->must_swap, data->revision); ++ /* We support only the major revisions 0 and 1. */ ++ switch (revision >> 16) + { + case 0: ++ case 1: + domain->nstrings = W (domain->must_swap, data->nstrings); +- domain->orig_tab = (struct string_desc *) ++ domain->orig_tab = (const struct string_desc *) + ((char *) data + W (domain->must_swap, data->orig_tab_offset)); +- domain->trans_tab = (struct string_desc *) ++ domain->trans_tab = (const struct string_desc *) + ((char *) data + W (domain->must_swap, data->trans_tab_offset)); + domain->hash_size = W (domain->must_swap, data->hash_tab_size); +- domain->hash_tab = (nls_uint32 *) +- ((char *) data + W (domain->must_swap, data->hash_tab_offset)); ++ domain->hash_tab = ++ (domain->hash_size > 2 ++ ? (const nls_uint32 *) ++ ((char *) data + W (domain->must_swap, data->hash_tab_offset)) ++ : NULL); ++ domain->must_swap_hash_tab = domain->must_swap; ++ ++ /* Now dispatch on the minor revision. */ ++ switch (revision & 0xffff) ++ { ++ case 0: ++ domain->n_sysdep_strings = 0; ++ domain->orig_sysdep_tab = NULL; ++ domain->trans_sysdep_tab = NULL; ++ break; ++ case 1: ++ default: ++ { ++ nls_uint32 n_sysdep_strings; ++ ++ if (domain->hash_tab == NULL) ++ /* This is invalid. These minor revisions need a hash table. */ ++ goto invalid; ++ ++ n_sysdep_strings = ++ W (domain->must_swap, data->n_sysdep_strings); ++ if (n_sysdep_strings > 0) ++ { ++ nls_uint32 n_sysdep_segments; ++ const struct sysdep_segment *sysdep_segments; ++ const char **sysdep_segment_values; ++ const nls_uint32 *orig_sysdep_tab; ++ const nls_uint32 *trans_sysdep_tab; ++ nls_uint32 n_inmem_sysdep_strings; ++ size_t memneed; ++ char *mem; ++ struct sysdep_string_desc *inmem_orig_sysdep_tab; ++ struct sysdep_string_desc *inmem_trans_sysdep_tab; ++ nls_uint32 *inmem_hash_tab; ++ unsigned int i, j; ++ ++ /* Get the values of the system dependent segments. */ ++ n_sysdep_segments = ++ W (domain->must_swap, data->n_sysdep_segments); ++ sysdep_segments = (const struct sysdep_segment *) ++ ((char *) data ++ + W (domain->must_swap, data->sysdep_segments_offset)); ++ sysdep_segment_values = ++ alloca (n_sysdep_segments * sizeof (const char *)); ++ for (i = 0; i < n_sysdep_segments; i++) ++ { ++ const char *name = ++ (char *) data ++ + W (domain->must_swap, sysdep_segments[i].offset); ++ nls_uint32 namelen = ++ W (domain->must_swap, sysdep_segments[i].length); ++ ++ if (!(namelen > 0 && name[namelen - 1] == '\0')) ++ { ++ freea (sysdep_segment_values); ++ goto invalid; ++ } ++ ++ sysdep_segment_values[i] = get_sysdep_segment_value (name); ++ } ++ ++ orig_sysdep_tab = (const nls_uint32 *) ++ ((char *) data ++ + W (domain->must_swap, data->orig_sysdep_tab_offset)); ++ trans_sysdep_tab = (const nls_uint32 *) ++ ((char *) data ++ + W (domain->must_swap, data->trans_sysdep_tab_offset)); ++ ++ /* Compute the amount of additional memory needed for the ++ system dependent strings and the augmented hash table. ++ At the same time, also drop string pairs which refer to ++ an undefined system dependent segment. */ ++ n_inmem_sysdep_strings = 0; ++ memneed = domain->hash_size * sizeof (nls_uint32); ++ for (i = 0; i < n_sysdep_strings; i++) ++ { ++ int valid = 1; ++ size_t needs[2]; ++ ++ for (j = 0; j < 2; j++) ++ { ++ const struct sysdep_string *sysdep_string = ++ (const struct sysdep_string *) ++ ((char *) data ++ + W (domain->must_swap, ++ j == 0 ++ ? orig_sysdep_tab[i] ++ : trans_sysdep_tab[i])); ++ size_t need = 0; ++ const struct segment_pair *p = sysdep_string->segments; ++ ++ if (W (domain->must_swap, p->sysdepref) != SEGMENTS_END) ++ for (p = sysdep_string->segments;; p++) ++ { ++ nls_uint32 sysdepref; ++ ++ need += W (domain->must_swap, p->segsize); ++ ++ sysdepref = W (domain->must_swap, p->sysdepref); ++ if (sysdepref == SEGMENTS_END) ++ break; ++ ++ if (sysdepref >= n_sysdep_segments) ++ { ++ /* Invalid. */ ++ freea (sysdep_segment_values); ++ goto invalid; ++ } ++ ++ if (sysdep_segment_values[sysdepref] == NULL) ++ { ++ /* This particular string pair is invalid. */ ++ valid = 0; ++ break; ++ } ++ ++ need += strlen (sysdep_segment_values[sysdepref]); ++ } ++ ++ needs[j] = need; ++ if (!valid) ++ break; ++ } ++ ++ if (valid) ++ { ++ n_inmem_sysdep_strings++; ++ memneed += needs[0] + needs[1]; ++ } ++ } ++ memneed += 2 * n_inmem_sysdep_strings ++ * sizeof (struct sysdep_string_desc); ++ ++ if (n_inmem_sysdep_strings > 0) ++ { ++ unsigned int k; ++ ++ /* Allocate additional memory. */ ++ mem = (char *) malloc (memneed); ++ if (mem == NULL) ++ goto invalid; ++ ++ domain->malloced = mem; ++ inmem_orig_sysdep_tab = (struct sysdep_string_desc *) mem; ++ mem += n_inmem_sysdep_strings ++ * sizeof (struct sysdep_string_desc); ++ inmem_trans_sysdep_tab = (struct sysdep_string_desc *) mem; ++ mem += n_inmem_sysdep_strings ++ * sizeof (struct sysdep_string_desc); ++ inmem_hash_tab = (nls_uint32 *) mem; ++ mem += domain->hash_size * sizeof (nls_uint32); ++ ++ /* Compute the system dependent strings. */ ++ k = 0; ++ for (i = 0; i < n_sysdep_strings; i++) ++ { ++ int valid = 1; ++ ++ for (j = 0; j < 2; j++) ++ { ++ const struct sysdep_string *sysdep_string = ++ (const struct sysdep_string *) ++ ((char *) data ++ + W (domain->must_swap, ++ j == 0 ++ ? orig_sysdep_tab[i] ++ : trans_sysdep_tab[i])); ++ const struct segment_pair *p = ++ sysdep_string->segments; ++ ++ if (W (domain->must_swap, p->sysdepref) ++ != SEGMENTS_END) ++ for (p = sysdep_string->segments;; p++) ++ { ++ nls_uint32 sysdepref; ++ ++ sysdepref = ++ W (domain->must_swap, p->sysdepref); ++ if (sysdepref == SEGMENTS_END) ++ break; ++ ++ if (sysdep_segment_values[sysdepref] == NULL) ++ { ++ /* This particular string pair is ++ invalid. */ ++ valid = 0; ++ break; ++ } ++ } ++ ++ if (!valid) ++ break; ++ } ++ ++ if (valid) ++ { ++ for (j = 0; j < 2; j++) ++ { ++ const struct sysdep_string *sysdep_string = ++ (const struct sysdep_string *) ++ ((char *) data ++ + W (domain->must_swap, ++ j == 0 ++ ? orig_sysdep_tab[i] ++ : trans_sysdep_tab[i])); ++ const char *static_segments = ++ (char *) data ++ + W (domain->must_swap, sysdep_string->offset); ++ const struct segment_pair *p = ++ sysdep_string->segments; ++ ++ /* Concatenate the segments, and fill ++ inmem_orig_sysdep_tab[k] (for j == 0) and ++ inmem_trans_sysdep_tab[k] (for j == 1). */ ++ ++ struct sysdep_string_desc *inmem_tab_entry = ++ (j == 0 ++ ? inmem_orig_sysdep_tab ++ : inmem_trans_sysdep_tab) ++ + k; ++ ++ if (W (domain->must_swap, p->sysdepref) ++ == SEGMENTS_END) ++ { ++ /* Only one static segment. */ ++ inmem_tab_entry->length = ++ W (domain->must_swap, p->segsize); ++ inmem_tab_entry->pointer = static_segments; ++ } ++ else ++ { ++ inmem_tab_entry->pointer = mem; ++ ++ for (p = sysdep_string->segments;; p++) ++ { ++ nls_uint32 segsize = ++ W (domain->must_swap, p->segsize); ++ nls_uint32 sysdepref = ++ W (domain->must_swap, p->sysdepref); ++ size_t n; ++ ++ if (segsize > 0) ++ { ++ memcpy (mem, static_segments, segsize); ++ mem += segsize; ++ static_segments += segsize; ++ } ++ ++ if (sysdepref == SEGMENTS_END) ++ break; ++ ++ n = strlen (sysdep_segment_values[sysdepref]); ++ memcpy (mem, sysdep_segment_values[sysdepref], n); ++ mem += n; ++ } ++ ++ inmem_tab_entry->length = ++ mem - inmem_tab_entry->pointer; ++ } ++ } ++ ++ k++; ++ } ++ } ++ if (k != n_inmem_sysdep_strings) ++ abort (); ++ ++ /* Compute the augmented hash table. */ ++ for (i = 0; i < domain->hash_size; i++) ++ inmem_hash_tab[i] = ++ W (domain->must_swap_hash_tab, domain->hash_tab[i]); ++ for (i = 0; i < n_inmem_sysdep_strings; i++) ++ { ++ const char *msgid = inmem_orig_sysdep_tab[i].pointer; ++ nls_uint32 hash_val = hash_string (msgid); ++ nls_uint32 idx = hash_val % domain->hash_size; ++ nls_uint32 incr = ++ 1 + (hash_val % (domain->hash_size - 2)); ++ ++ for (;;) ++ { ++ if (inmem_hash_tab[idx] == 0) ++ { ++ /* Hash table entry is empty. Use it. */ ++ inmem_hash_tab[idx] = 1 + domain->nstrings + i; ++ break; ++ } ++ ++ if (idx >= domain->hash_size - incr) ++ idx -= domain->hash_size - incr; ++ else ++ idx += incr; ++ } ++ } ++ ++ domain->n_sysdep_strings = n_inmem_sysdep_strings; ++ domain->orig_sysdep_tab = inmem_orig_sysdep_tab; ++ domain->trans_sysdep_tab = inmem_trans_sysdep_tab; ++ ++ domain->hash_tab = inmem_hash_tab; ++ domain->must_swap_hash_tab = 0; ++ } ++ else ++ { ++ domain->n_sysdep_strings = 0; ++ domain->orig_sysdep_tab = NULL; ++ domain->trans_sysdep_tab = NULL; ++ } ++ ++ freea (sysdep_segment_values); ++ } ++ else ++ { ++ domain->n_sysdep_strings = 0; ++ domain->orig_sysdep_tab = NULL; ++ domain->trans_sysdep_tab = NULL; ++ } ++ } ++ break; ++ } + break; + default: +- /* This is an illegal revision. */ +-#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ +- || defined _LIBC ++ /* This is an invalid revision. */ ++ invalid: ++ /* This is an invalid .mo file. */ ++ if (domain->malloced) ++ free (domain->malloced); ++#ifdef HAVE_MMAP + if (use_mmap) +- munmap ((caddr_t) data, st.st_size); ++ munmap ((caddr_t) data, size); + else + #endif + free (data); +@@ -193,7 +1385,36 @@ + return; + } + +- /* Show that one domain is changed. This might make some cached +- translations invalid. */ +- ++_nl_msg_cat_cntr; ++ /* Now initialize the character set converter from the character set ++ the file is encoded with (found in the header entry) to the domain's ++ specified character set or the locale's character set. */ ++ nullentry = _nl_init_domain_conv (domain_file, domain, domainbinding); ++ ++ /* Also look for a plural specification. */ ++ EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); + } ++ ++ ++#ifdef _LIBC ++void ++internal_function ++_nl_unload_domain (struct loaded_domain *domain) ++{ ++ if (domain->plural != &__gettext_germanic_plural) ++ __gettext_free_exp (domain->plural); ++ ++ _nl_free_domain_conv (domain); ++ ++ if (domain->malloced) ++ free (domain->malloced); ++ ++# ifdef _POSIX_MAPPED_FILES ++ if (domain->use_mmap) ++ munmap ((caddr_t) domain->data, domain->mmap_size); ++ else ++# endif /* _POSIX_MAPPED_FILES */ ++ free ((void *) domain->data); ++ ++ free (domain); ++} ++#endif +--- lrzsz-0.12.20.safe/intl/localcharset.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/localcharset.c 2004-09-12 14:40:34.478729392 -0400 +@@ -0,0 +1,398 @@ ++/* Determine a canonical name for the current locale's character encoding. ++ ++ Copyright (C) 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Written by Bruno Haible . */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++/* Specification. */ ++#include "localcharset.h" ++ ++#if HAVE_STDDEF_H ++# include ++#endif ++ ++#include ++#if HAVE_STRING_H ++# include ++#else ++# include ++#endif ++#if HAVE_STDLIB_H ++# include ++#endif ++ ++#if defined _WIN32 || defined __WIN32__ ++# undef WIN32 /* avoid warning on mingw32 */ ++# define WIN32 ++#endif ++ ++#if defined __EMX__ ++/* Assume EMX program runs on OS/2, even if compiled under DOS. */ ++# define OS2 ++#endif ++ ++#if !defined WIN32 ++# if HAVE_LANGINFO_CODESET ++# include ++# else ++# if HAVE_SETLOCALE ++# include ++# endif ++# endif ++#elif defined WIN32 ++# define WIN32_LEAN_AND_MEAN ++# include ++#endif ++#if defined OS2 ++# define INCL_DOS ++# include ++#endif ++ ++#if ENABLE_RELOCATABLE ++# include "relocatable.h" ++#else ++# define relocate(pathname) (pathname) ++#endif ++ ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS */ ++# define ISSLASH(C) ((C) == '/' || (C) == '\\') ++#endif ++ ++#ifndef DIRECTORY_SEPARATOR ++# define DIRECTORY_SEPARATOR '/' ++#endif ++ ++#ifndef ISSLASH ++# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) ++#endif ++ ++#if HAVE_DECL_GETC_UNLOCKED ++# undef getc ++# define getc getc_unlocked ++#endif ++ ++/* The following static variable is declared 'volatile' to avoid a ++ possible multithread problem in the function get_charset_aliases. If we ++ are running in a threaded environment, and if two threads initialize ++ 'charset_aliases' simultaneously, both will produce the same value, ++ and everything will be ok if the two assignments to 'charset_aliases' ++ are atomic. But I don't know what will happen if the two assignments mix. */ ++#if __STDC__ != 1 ++# define volatile /* empty */ ++#endif ++/* Pointer to the contents of the charset.alias file, if it has already been ++ read, else NULL. Its format is: ++ ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ ++static const char * volatile charset_aliases; ++ ++/* Return a pointer to the contents of the charset.alias file. */ ++static const char * ++get_charset_aliases () ++{ ++ const char *cp; ++ ++ cp = charset_aliases; ++ if (cp == NULL) ++ { ++#if !(defined VMS || defined WIN32) ++ FILE *fp; ++ const char *dir = relocate (LIBDIR); ++ const char *base = "charset.alias"; ++ char *file_name; ++ ++ /* Concatenate dir and base into freshly allocated file_name. */ ++ { ++ size_t dir_len = strlen (dir); ++ size_t base_len = strlen (base); ++ int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); ++ file_name = (char *) malloc (dir_len + add_slash + base_len + 1); ++ if (file_name != NULL) ++ { ++ memcpy (file_name, dir, dir_len); ++ if (add_slash) ++ file_name[dir_len] = DIRECTORY_SEPARATOR; ++ memcpy (file_name + dir_len + add_slash, base, base_len + 1); ++ } ++ } ++ ++ if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) ++ /* Out of memory or file not found, treat it as empty. */ ++ cp = ""; ++ else ++ { ++ /* Parse the file's contents. */ ++ int c; ++ char buf1[50+1]; ++ char buf2[50+1]; ++ char *res_ptr = NULL; ++ size_t res_size = 0; ++ size_t l1, l2; ++ ++ for (;;) ++ { ++ c = getc (fp); ++ if (c == EOF) ++ break; ++ if (c == '\n' || c == ' ' || c == '\t') ++ continue; ++ if (c == '#') ++ { ++ /* Skip comment, to end of line. */ ++ do ++ c = getc (fp); ++ while (!(c == EOF || c == '\n')); ++ if (c == EOF) ++ break; ++ continue; ++ } ++ ungetc (c, fp); ++ if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) ++ break; ++ l1 = strlen (buf1); ++ l2 = strlen (buf2); ++ if (res_size == 0) ++ { ++ res_size = l1 + 1 + l2 + 1; ++ res_ptr = (char *) malloc (res_size + 1); ++ } ++ else ++ { ++ res_size += l1 + 1 + l2 + 1; ++ res_ptr = (char *) realloc (res_ptr, res_size + 1); ++ } ++ if (res_ptr == NULL) ++ { ++ /* Out of memory. */ ++ res_size = 0; ++ break; ++ } ++ strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); ++ strcpy (res_ptr + res_size - (l2 + 1), buf2); ++ } ++ fclose (fp); ++ if (res_size == 0) ++ cp = ""; ++ else ++ { ++ *(res_ptr + res_size) = '\0'; ++ cp = res_ptr; ++ } ++ } ++ ++ if (file_name != NULL) ++ free (file_name); ++ ++#else ++ ++# if defined VMS ++ /* To avoid the troubles of an extra file charset.alias_vms in the ++ sources of many GNU packages, simply inline the aliases here. */ ++ /* The list of encodings is taken from the OpenVMS 7.3-1 documentation ++ "Compaq C Run-Time Library Reference Manual for OpenVMS systems" ++ section 10.7 "Handling Different Character Sets". */ ++ cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" ++ "ISO8859-2" "\0" "ISO-8859-2" "\0" ++ "ISO8859-5" "\0" "ISO-8859-5" "\0" ++ "ISO8859-7" "\0" "ISO-8859-7" "\0" ++ "ISO8859-8" "\0" "ISO-8859-8" "\0" ++ "ISO8859-9" "\0" "ISO-8859-9" "\0" ++ /* Japanese */ ++ "eucJP" "\0" "EUC-JP" "\0" ++ "SJIS" "\0" "SHIFT_JIS" "\0" ++ "DECKANJI" "\0" "DEC-KANJI" "\0" ++ "SDECKANJI" "\0" "EUC-JP" "\0" ++ /* Chinese */ ++ "eucTW" "\0" "EUC-TW" "\0" ++ "DECHANYU" "\0" "DEC-HANYU" "\0" ++ "DECHANZI" "\0" "GB2312" "\0" ++ /* Korean */ ++ "DECKOREAN" "\0" "EUC-KR" "\0"; ++# endif ++ ++# if defined WIN32 ++ /* To avoid the troubles of installing a separate file in the same ++ directory as the DLL and of retrieving the DLL's directory at ++ runtime, simply inline the aliases here. */ ++ ++ cp = "CP936" "\0" "GBK" "\0" ++ "CP1361" "\0" "JOHAB" "\0" ++ "CP20127" "\0" "ASCII" "\0" ++ "CP20866" "\0" "KOI8-R" "\0" ++ "CP21866" "\0" "KOI8-RU" "\0" ++ "CP28591" "\0" "ISO-8859-1" "\0" ++ "CP28592" "\0" "ISO-8859-2" "\0" ++ "CP28593" "\0" "ISO-8859-3" "\0" ++ "CP28594" "\0" "ISO-8859-4" "\0" ++ "CP28595" "\0" "ISO-8859-5" "\0" ++ "CP28596" "\0" "ISO-8859-6" "\0" ++ "CP28597" "\0" "ISO-8859-7" "\0" ++ "CP28598" "\0" "ISO-8859-8" "\0" ++ "CP28599" "\0" "ISO-8859-9" "\0" ++ "CP28605" "\0" "ISO-8859-15" "\0"; ++# endif ++#endif ++ ++ charset_aliases = cp; ++ } ++ ++ return cp; ++} ++ ++/* Determine the current locale's character encoding, and canonicalize it ++ into one of the canonical names listed in config.charset. ++ The result must not be freed; it is statically allocated. ++ If the canonical name cannot be determined, the result is a non-canonical ++ name. */ ++ ++#ifdef STATIC ++STATIC ++#endif ++const char * ++locale_charset () ++{ ++ const char *codeset; ++ const char *aliases; ++ ++#if !(defined WIN32 || defined OS2) ++ ++# if HAVE_LANGINFO_CODESET ++ ++ /* Most systems support nl_langinfo (CODESET) nowadays. */ ++ codeset = nl_langinfo (CODESET); ++ ++# else ++ ++ /* On old systems which lack it, use setlocale or getenv. */ ++ const char *locale = NULL; ++ ++ /* But most old systems don't have a complete set of locales. Some ++ (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't ++ use setlocale here; it would return "C" when it doesn't support the ++ locale name the user has set. */ ++# if HAVE_SETLOCALE && 0 ++ locale = setlocale (LC_CTYPE, NULL); ++# endif ++ if (locale == NULL || locale[0] == '\0') ++ { ++ locale = getenv ("LC_ALL"); ++ if (locale == NULL || locale[0] == '\0') ++ { ++ locale = getenv ("LC_CTYPE"); ++ if (locale == NULL || locale[0] == '\0') ++ locale = getenv ("LANG"); ++ } ++ } ++ ++ /* On some old systems, one used to set locale = "iso8859_1". On others, ++ you set it to "language_COUNTRY.charset". In any case, we resolve it ++ through the charset.alias file. */ ++ codeset = locale; ++ ++# endif ++ ++#elif defined WIN32 ++ ++ static char buf[2 + 10 + 1]; ++ ++ /* Woe32 has a function returning the locale's codepage as a number. */ ++ sprintf (buf, "CP%u", GetACP ()); ++ codeset = buf; ++ ++#elif defined OS2 ++ ++ const char *locale; ++ static char buf[2 + 10 + 1]; ++ ULONG cp[3]; ++ ULONG cplen; ++ ++ /* Allow user to override the codeset, as set in the operating system, ++ with standard language environment variables. */ ++ locale = getenv ("LC_ALL"); ++ if (locale == NULL || locale[0] == '\0') ++ { ++ locale = getenv ("LC_CTYPE"); ++ if (locale == NULL || locale[0] == '\0') ++ locale = getenv ("LANG"); ++ } ++ if (locale != NULL && locale[0] != '\0') ++ { ++ /* If the locale name contains an encoding after the dot, return it. */ ++ const char *dot = strchr (locale, '.'); ++ ++ if (dot != NULL) ++ { ++ const char *modifier; ++ ++ dot++; ++ /* Look for the possible @... trailer and remove it, if any. */ ++ modifier = strchr (dot, '@'); ++ if (modifier == NULL) ++ return dot; ++ if (modifier - dot < sizeof (buf)) ++ { ++ memcpy (buf, dot, modifier - dot); ++ buf [modifier - dot] = '\0'; ++ return buf; ++ } ++ } ++ ++ /* Resolve through the charset.alias file. */ ++ codeset = locale; ++ } ++ else ++ { ++ /* OS/2 has a function returning the locale's codepage as a number. */ ++ if (DosQueryCp (sizeof (cp), cp, &cplen)) ++ codeset = ""; ++ else ++ { ++ sprintf (buf, "CP%u", cp[0]); ++ codeset = buf; ++ } ++ } ++ ++#endif ++ ++ if (codeset == NULL) ++ /* The canonical name cannot be determined. */ ++ codeset = ""; ++ ++ /* Resolve alias. */ ++ for (aliases = get_charset_aliases (); ++ *aliases != '\0'; ++ aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) ++ if (strcmp (codeset, aliases) == 0 ++ || (aliases[0] == '*' && aliases[1] == '\0')) ++ { ++ codeset = aliases + strlen (aliases) + 1; ++ break; ++ } ++ ++ /* Don't return an empty string. GNU libc and GNU libiconv interpret ++ the empty string as denoting "the locale's character encoding", ++ thus GNU libiconv would call this function a second time. */ ++ if (codeset[0] == '\0') ++ codeset = "ASCII"; ++ ++ return codeset; ++} +--- lrzsz-0.12.20.safe/intl/localcharset.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/localcharset.h 2004-09-12 14:40:34.483728632 -0400 +@@ -0,0 +1,42 @@ ++/* Determine a canonical name for the current locale's character encoding. ++ Copyright (C) 2000-2003 Free Software Foundation, Inc. ++ This file is part of the GNU CHARSET Library. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _LOCALCHARSET_H ++#define _LOCALCHARSET_H ++ ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++ ++/* Determine the current locale's character encoding, and canonicalize it ++ into one of the canonical names listed in config.charset. ++ The result must not be freed; it is statically allocated. ++ If the canonical name cannot be determined, the result is a non-canonical ++ name. */ ++extern const char * locale_charset (void); ++ ++ ++#ifdef __cplusplus ++} ++#endif ++ ++ ++#endif /* _LOCALCHARSET_H */ +--- lrzsz-0.12.20.safe/intl/locale.alias 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/locale.alias 2004-09-12 14:40:34.499726200 -0400 +@@ -0,0 +1,78 @@ ++# Locale name alias data base. ++# Copyright (C) 1996-2001,2003 Free Software Foundation, Inc. ++# ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU Library General Public License as published ++# by the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Library General Public License for more details. ++# ++# You should have received a copy of the GNU Library General Public ++# License along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++# USA. ++ ++# The format of this file is the same as for the corresponding file of ++# the X Window System, which normally can be found in ++# /usr/lib/X11/locale/locale.alias ++# A single line contains two fields: an alias and a substitution value. ++# All entries are case independent. ++ ++# Note: This file is far from being complete. If you have a value for ++# your own site which you think might be useful for others too, share ++# it with the rest of us. Send it using the `glibcbug' script to ++# bugs@gnu.org. ++ ++# Packages using this file: ++ ++bokmal nb_NO.ISO-8859-1 ++bokmål nb_NO.ISO-8859-1 ++catalan ca_ES.ISO-8859-1 ++croatian hr_HR.ISO-8859-2 ++czech cs_CZ.ISO-8859-2 ++danish da_DK.ISO-8859-1 ++dansk da_DK.ISO-8859-1 ++deutsch de_DE.ISO-8859-1 ++dutch nl_NL.ISO-8859-1 ++eesti et_EE.ISO-8859-1 ++estonian et_EE.ISO-8859-1 ++finnish fi_FI.ISO-8859-1 ++français fr_FR.ISO-8859-1 ++french fr_FR.ISO-8859-1 ++galego gl_ES.ISO-8859-1 ++galician gl_ES.ISO-8859-1 ++german de_DE.ISO-8859-1 ++greek el_GR.ISO-8859-7 ++hebrew he_IL.ISO-8859-8 ++hrvatski hr_HR.ISO-8859-2 ++hungarian hu_HU.ISO-8859-2 ++icelandic is_IS.ISO-8859-1 ++italian it_IT.ISO-8859-1 ++japanese ja_JP.eucJP ++japanese.euc ja_JP.eucJP ++ja_JP ja_JP.eucJP ++ja_JP.ujis ja_JP.eucJP ++japanese.sjis ja_JP.SJIS ++korean ko_KR.eucKR ++korean.euc ko_KR.eucKR ++ko_KR ko_KR.eucKR ++lithuanian lt_LT.ISO-8859-13 ++no_NO nb_NO.ISO-8859-1 ++no_NO.ISO-8859-1 nb_NO.ISO-8859-1 ++norwegian nb_NO.ISO-8859-1 ++nynorsk nn_NO.ISO-8859-1 ++polish pl_PL.ISO-8859-2 ++portuguese pt_PT.ISO-8859-1 ++romanian ro_RO.ISO-8859-2 ++russian ru_RU.ISO-8859-5 ++slovak sk_SK.ISO-8859-2 ++slovene sl_SI.ISO-8859-2 ++slovenian sl_SI.ISO-8859-2 ++spanish es_ES.ISO-8859-1 ++swedish sv_SE.ISO-8859-1 ++thai th_TH.TIS-620 ++turkish tr_TR.ISO-8859-9 +--- lrzsz-0.12.20.safe/intl/localealias.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/localealias.c 2004-09-12 14:40:34.505725288 -0400 +@@ -1,20 +1,27 @@ +-/* Handle aliases for locale names +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +- Written by Ulrich Drepper , 1995. ++/* Handle aliases for locale names. ++ Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Tell glibc's to provide a prototype for mempcpy(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif + + #ifdef HAVE_CONFIG_H + # include +@@ -22,56 +29,45 @@ + + #include + #include ++#if defined _LIBC || defined HAVE___FSETLOCKING ++# include ++#endif + #include + + #ifdef __GNUC__ ++# undef alloca + # define alloca __builtin_alloca + # define HAVE_ALLOCA 1 + #else +-# if defined HAVE_ALLOCA_H || defined _LIBC +-# include ++# ifdef _MSC_VER ++# include ++# define alloca _alloca + # else +-# ifdef _AIX +- #pragma alloca ++# if defined HAVE_ALLOCA_H || defined _LIBC ++# include + # else +-# ifndef alloca ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca + char *alloca (); ++# endif + # endif + # endif + # endif + #endif + +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#else +-char *getenv (); +-# ifdef HAVE_MALLOC_H +-# include +-# else +-void free (); +-# endif +-#endif ++#include ++#include + +-#if defined HAVE_STRING_H || defined _LIBC +-# ifndef _GNU_SOURCE +-# define _GNU_SOURCE 1 +-# endif +-# include ++#include "gettextP.h" ++ ++#if ENABLE_RELOCATABLE ++# include "relocatable.h" + #else +-# include +-# ifndef memcpy +-# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +-# endif +-#endif +-#if !HAVE_STRCHR && !defined _LIBC +-# ifndef strchr +-# define strchr index +-# endif ++# define relocate(pathname) (pathname) + #endif + +-#include "gettext.h" +-#include "gettextP.h" +- + /* @@ end of prolog @@ */ + + #ifdef _LIBC +@@ -79,43 +75,49 @@ + because some ANSI C functions will require linking with this object + file and the name space must not be polluted. */ + # define strcasecmp __strcasecmp ++ ++# ifndef mempcpy ++# define mempcpy __mempcpy ++# endif ++# define HAVE_MEMPCPY 1 ++# define HAVE___FSETLOCKING 1 ++ ++/* We need locking here since we can be called from different places. */ ++# include ++ ++__libc_lock_define_initialized (static, lock); ++#endif ++ ++#ifndef internal_function ++# define internal_function + #endif + ++/* Some optimizations for glibc. */ ++#ifdef _LIBC ++# define FEOF(fp) feof_unlocked (fp) ++# define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp) ++#else ++# define FEOF(fp) feof (fp) ++# define FGETS(buf, n, fp) fgets (buf, n, fp) ++#endif + +-/* For those loosing systems which don't have `alloca' we have to add ++/* For those losing systems which don't have `alloca' we have to add + some additional code emulating it. */ + #ifdef HAVE_ALLOCA +-/* Nothing has to be done. */ +-# define ADD_BLOCK(list, address) /* nothing */ +-# define FREE_BLOCKS(list) /* nothing */ ++# define freea(p) /* nothing */ + #else +-struct block_list +-{ +- void *address; +- struct block_list *next; +-}; +-# define ADD_BLOCK(list, addr) \ +- do { \ +- struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ +- /* If we cannot get a free block we cannot add the new element to \ +- the list. */ \ +- if (newp != NULL) { \ +- newp->address = (addr); \ +- newp->next = (list); \ +- (list) = newp; \ +- } \ +- } while (0) +-# define FREE_BLOCKS(list) \ +- do { \ +- while (list != NULL) { \ +- struct block_list *old = list; \ +- list = list->next; \ +- free (old); \ +- } \ +- } while (0) +-# undef alloca +-# define alloca(size) (malloc (size)) +-#endif /* have alloca */ ++# define alloca(n) malloc (n) ++# define freea(p) free (p) ++#endif ++ ++#if defined _LIBC_REENTRANT || HAVE_DECL_FGETS_UNLOCKED ++# undef fgets ++# define fgets(buf, len, s) fgets_unlocked (buf, len, s) ++#endif ++#if defined _LIBC_REENTRANT || HAVE_DECL_FEOF_UNLOCKED ++# undef feof ++# define feof(s) feof_unlocked (s) ++#endif + + + struct alias_map +@@ -125,26 +127,41 @@ + }; + + +-static struct alias_map *map; +-static size_t nmap = 0; +-static size_t maxmap = 0; ++#ifndef _LIBC ++# define libc_freeres_ptr(decl) decl ++#endif ++ ++libc_freeres_ptr (static char *string_space); ++static size_t string_space_act; ++static size_t string_space_max; ++libc_freeres_ptr (static struct alias_map *map); ++static size_t nmap; ++static size_t maxmap; + + + /* Prototypes for local functions. */ +-static size_t read_alias_file PARAMS ((const char *fname, int fname_len)); +-static void extend_alias_table PARAMS ((void)); +-static int alias_compare PARAMS ((const struct alias_map *map1, +- const struct alias_map *map2)); ++static size_t read_alias_file (const char *fname, int fname_len) ++ internal_function; ++static int extend_alias_table (void); ++static int alias_compare (const struct alias_map *map1, ++ const struct alias_map *map2); + + + const char * +-_nl_expand_alias (name) +- const char *name; ++_nl_expand_alias (const char *name) + { +- static const char *locale_alias_path = LOCALE_ALIAS_PATH; ++ static const char *locale_alias_path; + struct alias_map *retval; ++ const char *result = NULL; + size_t added; + ++#ifdef _LIBC ++ __libc_lock_lock (lock); ++#endif ++ ++ if (locale_alias_path == NULL) ++ locale_alias_path = LOCALE_ALIAS_PATH; ++ + do + { + struct alias_map item; +@@ -154,15 +171,18 @@ + if (nmap > 0) + retval = (struct alias_map *) bsearch (&item, map, nmap, + sizeof (struct alias_map), +- (int (*) PARAMS ((const void *, +- const void *)) ++ (int (*) (const void *, ++ const void *) + ) alias_compare); + else + retval = NULL; + + /* We really found an alias. Return the value. */ + if (retval != NULL) +- return retval->value; ++ { ++ result = retval->value; ++ break; ++ } + + /* Perhaps we can find another alias file. */ + added = 0; +@@ -170,11 +190,12 @@ + { + const char *start; + +- while (locale_alias_path[0] == ':') ++ while (locale_alias_path[0] == PATH_SEPARATOR) + ++locale_alias_path; + start = locale_alias_path; + +- while (locale_alias_path[0] != '\0' && locale_alias_path[0] != ':') ++ while (locale_alias_path[0] != '\0' ++ && locale_alias_path[0] != PATH_SEPARATOR) + ++locale_alias_path; + + if (start < locale_alias_path) +@@ -183,78 +204,87 @@ + } + while (added != 0); + +- return NULL; ++#ifdef _LIBC ++ __libc_lock_unlock (lock); ++#endif ++ ++ return result; + } + + + static size_t +-read_alias_file (fname, fname_len) +- const char *fname; +- int fname_len; ++internal_function ++read_alias_file (const char *fname, int fname_len) + { +-#ifndef HAVE_ALLOCA +- struct block_list *block_list = NULL; +-#endif + FILE *fp; + char *full_fname; + size_t added; + static const char aliasfile[] = "/locale.alias"; + + full_fname = (char *) alloca (fname_len + sizeof aliasfile); +- ADD_BLOCK (block_list, full_fname); ++#ifdef HAVE_MEMPCPY ++ mempcpy (mempcpy (full_fname, fname, fname_len), ++ aliasfile, sizeof aliasfile); ++#else + memcpy (full_fname, fname, fname_len); + memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); ++#endif + +- fp = fopen (full_fname, "r"); ++ fp = fopen (relocate (full_fname), "r"); ++ freea (full_fname); + if (fp == NULL) +- { +- FREE_BLOCKS (block_list); +- return 0; +- } ++ return 0; ++ ++#ifdef HAVE___FSETLOCKING ++ /* No threads present. */ ++ __fsetlocking (fp, FSETLOCKING_BYCALLER); ++#endif + + added = 0; +- while (!feof (fp)) ++ while (!FEOF (fp)) + { + /* It is a reasonable approach to use a fix buffer here because + a) we are only interested in the first two fields + b) these fields must be usable as file names and so must not + be that long +- */ +- char buf[BUFSIZ]; ++ We avoid a multi-kilobyte buffer here since this would use up ++ stack space which we might not have if the program ran out of ++ memory. */ ++ char buf[400]; + char *alias; + char *value; + char *cp; + +- if (fgets (buf, BUFSIZ, fp) == NULL) ++ if (FGETS (buf, sizeof buf, fp) == NULL) + /* EOF reached. */ + break; + + cp = buf; + /* Ignore leading white space. */ +- while (isspace (cp[0])) ++ while (isspace ((unsigned char) cp[0])) + ++cp; + + /* A leading '#' signals a comment line. */ + if (cp[0] != '\0' && cp[0] != '#') + { + alias = cp++; +- while (cp[0] != '\0' && !isspace (cp[0])) ++ while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) + ++cp; + /* Terminate alias name. */ + if (cp[0] != '\0') + *cp++ = '\0'; + + /* Now look for the beginning of the value. */ +- while (isspace (cp[0])) ++ while (isspace ((unsigned char) cp[0])) + ++cp; + + if (cp[0] != '\0') + { +- char *tp; +- size_t len; ++ size_t alias_len; ++ size_t value_len; + + value = cp++; +- while (cp[0] != '\0' && !isspace (cp[0])) ++ while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) + ++cp; + /* Terminate value. */ + if (cp[0] == '\n') +@@ -269,28 +299,44 @@ + *cp++ = '\0'; + + if (nmap >= maxmap) +- extend_alias_table (); +- +- /* We cannot depend on strdup available in the libc. Sigh! */ +- len = strlen (alias) + 1; +- tp = (char *) malloc (len); +- if (tp == NULL) +- { +- FREE_BLOCKS (block_list); ++ if (__builtin_expect (extend_alias_table (), 0)) + return added; +- } +- memcpy (tp, alias, len); +- map[nmap].alias = tp; + +- len = strlen (value) + 1; +- tp = (char *) malloc (len); +- if (tp == NULL) ++ alias_len = strlen (alias) + 1; ++ value_len = strlen (value) + 1; ++ ++ if (string_space_act + alias_len + value_len > string_space_max) + { +- FREE_BLOCKS (block_list); +- return added; ++ /* Increase size of memory pool. */ ++ size_t new_size = (string_space_max ++ + (alias_len + value_len > 1024 ++ ? alias_len + value_len : 1024)); ++ char *new_pool = (char *) realloc (string_space, new_size); ++ if (new_pool == NULL) ++ return added; ++ ++ if (__builtin_expect (string_space != new_pool, 0)) ++ { ++ size_t i; ++ ++ for (i = 0; i < nmap; i++) ++ { ++ map[i].alias += new_pool - string_space; ++ map[i].value += new_pool - string_space; ++ } ++ } ++ ++ string_space = new_pool; ++ string_space_max = new_size; + } +- memcpy (tp, value, len); +- map[nmap].value = tp; ++ ++ map[nmap].alias = memcpy (&string_space[string_space_act], ++ alias, alias_len); ++ string_space_act += alias_len; ++ ++ map[nmap].value = memcpy (&string_space[string_space_act], ++ value, value_len); ++ string_space_act += value_len; + + ++nmap; + ++added; +@@ -299,14 +345,11 @@ + + /* Possibly not the whole line fits into the buffer. Ignore + the rest of the line. */ +- while (strchr (cp, '\n') == NULL) +- { +- cp = buf; +- if (fgets (buf, BUFSIZ, fp) == NULL) +- /* Make sure the inner loop will be left. The outer loop +- will exit at the `feof' test. */ +- *cp = '\n'; +- } ++ while (strchr (buf, '\n') == NULL) ++ if (FGETS (buf, sizeof buf, fp) == NULL) ++ /* Make sure the inner loop will be left. The outer loop ++ will exit at the `feof' test. */ ++ break; + } + + /* Should we test for ferror()? I think we have to silently ignore +@@ -315,40 +358,33 @@ + + if (added > 0) + qsort (map, nmap, sizeof (struct alias_map), +- (int (*) PARAMS ((const void *, const void *))) alias_compare); ++ (int (*) (const void *, const void *)) alias_compare); + +- FREE_BLOCKS (block_list); + return added; + } + + +-static void ++static int + extend_alias_table () + { + size_t new_size; + struct alias_map *new_map; + + new_size = maxmap == 0 ? 100 : 2 * maxmap; +- new_map = (struct alias_map *) malloc (new_size +- * sizeof (struct alias_map)); ++ new_map = (struct alias_map *) realloc (map, (new_size ++ * sizeof (struct alias_map))); + if (new_map == NULL) + /* Simply don't extend: we don't have any more core. */ +- return; +- +- memcpy (new_map, map, nmap * sizeof (struct alias_map)); +- +- if (maxmap != 0) +- free (map); ++ return -1; + + map = new_map; + maxmap = new_size; ++ return 0; + } + + + static int +-alias_compare (map1, map2) +- const struct alias_map *map1; +- const struct alias_map *map2; ++alias_compare (const struct alias_map *map1, const struct alias_map *map2) + { + #if defined _LIBC || defined HAVE_STRCASECMP + return strcasecmp (map1->alias, map2->alias); +--- lrzsz-0.12.20.safe/intl/localename.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/localename.c 2004-09-12 14:40:34.510724528 -0400 +@@ -0,0 +1,1142 @@ ++/* Determine the current selected locale. ++ Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Written by Ulrich Drepper , 1995. */ ++/* Win32 code written by Tor Lillqvist . */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++ ++#if defined _WIN32 || defined __WIN32__ ++# undef WIN32 /* avoid warning on mingw32 */ ++# define WIN32 ++#endif ++ ++#ifdef WIN32 ++# define WIN32_LEAN_AND_MEAN ++# include ++/* List of language codes, sorted by value: ++ 0x01 LANG_ARABIC ++ 0x02 LANG_BULGARIAN ++ 0x03 LANG_CATALAN ++ 0x04 LANG_CHINESE ++ 0x05 LANG_CZECH ++ 0x06 LANG_DANISH ++ 0x07 LANG_GERMAN ++ 0x08 LANG_GREEK ++ 0x09 LANG_ENGLISH ++ 0x0a LANG_SPANISH ++ 0x0b LANG_FINNISH ++ 0x0c LANG_FRENCH ++ 0x0d LANG_HEBREW ++ 0x0e LANG_HUNGARIAN ++ 0x0f LANG_ICELANDIC ++ 0x10 LANG_ITALIAN ++ 0x11 LANG_JAPANESE ++ 0x12 LANG_KOREAN ++ 0x13 LANG_DUTCH ++ 0x14 LANG_NORWEGIAN ++ 0x15 LANG_POLISH ++ 0x16 LANG_PORTUGUESE ++ 0x17 LANG_RHAETO_ROMANCE ++ 0x18 LANG_ROMANIAN ++ 0x19 LANG_RUSSIAN ++ 0x1a LANG_CROATIAN == LANG_SERBIAN ++ 0x1b LANG_SLOVAK ++ 0x1c LANG_ALBANIAN ++ 0x1d LANG_SWEDISH ++ 0x1e LANG_THAI ++ 0x1f LANG_TURKISH ++ 0x20 LANG_URDU ++ 0x21 LANG_INDONESIAN ++ 0x22 LANG_UKRAINIAN ++ 0x23 LANG_BELARUSIAN ++ 0x24 LANG_SLOVENIAN ++ 0x25 LANG_ESTONIAN ++ 0x26 LANG_LATVIAN ++ 0x27 LANG_LITHUANIAN ++ 0x28 LANG_TAJIK ++ 0x29 LANG_FARSI ++ 0x2a LANG_VIETNAMESE ++ 0x2b LANG_ARMENIAN ++ 0x2c LANG_AZERI ++ 0x2d LANG_BASQUE ++ 0x2e LANG_SORBIAN ++ 0x2f LANG_MACEDONIAN ++ 0x30 LANG_SUTU ++ 0x31 LANG_TSONGA ++ 0x32 LANG_TSWANA ++ 0x33 LANG_VENDA ++ 0x34 LANG_XHOSA ++ 0x35 LANG_ZULU ++ 0x36 LANG_AFRIKAANS ++ 0x37 LANG_GEORGIAN ++ 0x38 LANG_FAEROESE ++ 0x39 LANG_HINDI ++ 0x3a LANG_MALTESE ++ 0x3b LANG_SAAMI ++ 0x3c LANG_GAELIC ++ 0x3d LANG_YIDDISH ++ 0x3e LANG_MALAY ++ 0x3f LANG_KAZAK ++ 0x40 LANG_KYRGYZ ++ 0x41 LANG_SWAHILI ++ 0x42 LANG_TURKMEN ++ 0x43 LANG_UZBEK ++ 0x44 LANG_TATAR ++ 0x45 LANG_BENGALI ++ 0x46 LANG_PUNJABI ++ 0x47 LANG_GUJARATI ++ 0x48 LANG_ORIYA ++ 0x49 LANG_TAMIL ++ 0x4a LANG_TELUGU ++ 0x4b LANG_KANNADA ++ 0x4c LANG_MALAYALAM ++ 0x4d LANG_ASSAMESE ++ 0x4e LANG_MARATHI ++ 0x4f LANG_SANSKRIT ++ 0x50 LANG_MONGOLIAN ++ 0x51 LANG_TIBETAN ++ 0x52 LANG_WELSH ++ 0x53 LANG_CAMBODIAN ++ 0x54 LANG_LAO ++ 0x55 LANG_BURMESE ++ 0x56 LANG_GALICIAN ++ 0x57 LANG_KONKANI ++ 0x58 LANG_MANIPURI ++ 0x59 LANG_SINDHI ++ 0x5a LANG_SYRIAC ++ 0x5b LANG_SINHALESE ++ 0x5c LANG_CHEROKEE ++ 0x5d LANG_INUKTITUT ++ 0x5e LANG_AMHARIC ++ 0x5f LANG_TAMAZIGHT ++ 0x60 LANG_KASHMIRI ++ 0x61 LANG_NEPALI ++ 0x62 LANG_FRISIAN ++ 0x63 LANG_PASHTO ++ 0x64 LANG_TAGALOG ++ 0x65 LANG_DIVEHI ++ 0x66 LANG_EDO ++ 0x67 LANG_FULFULDE ++ 0x68 LANG_HAUSA ++ 0x69 LANG_IBIBIO ++ 0x6a LANG_YORUBA ++ 0x70 LANG_IGBO ++ 0x71 LANG_KANURI ++ 0x72 LANG_OROMO ++ 0x73 LANG_TIGRINYA ++ 0x74 LANG_GUARANI ++ 0x75 LANG_HAWAIIAN ++ 0x76 LANG_LATIN ++ 0x77 LANG_SOMALI ++ 0x78 LANG_YI ++ 0x79 LANG_PAPIAMENTU ++*/ ++/* Mingw headers don't have latest language and sublanguage codes. */ ++# ifndef LANG_AFRIKAANS ++# define LANG_AFRIKAANS 0x36 ++# endif ++# ifndef LANG_ALBANIAN ++# define LANG_ALBANIAN 0x1c ++# endif ++# ifndef LANG_AMHARIC ++# define LANG_AMHARIC 0x5e ++# endif ++# ifndef LANG_ARABIC ++# define LANG_ARABIC 0x01 ++# endif ++# ifndef LANG_ARMENIAN ++# define LANG_ARMENIAN 0x2b ++# endif ++# ifndef LANG_ASSAMESE ++# define LANG_ASSAMESE 0x4d ++# endif ++# ifndef LANG_AZERI ++# define LANG_AZERI 0x2c ++# endif ++# ifndef LANG_BASQUE ++# define LANG_BASQUE 0x2d ++# endif ++# ifndef LANG_BELARUSIAN ++# define LANG_BELARUSIAN 0x23 ++# endif ++# ifndef LANG_BENGALI ++# define LANG_BENGALI 0x45 ++# endif ++# ifndef LANG_BURMESE ++# define LANG_BURMESE 0x55 ++# endif ++# ifndef LANG_CAMBODIAN ++# define LANG_CAMBODIAN 0x53 ++# endif ++# ifndef LANG_CATALAN ++# define LANG_CATALAN 0x03 ++# endif ++# ifndef LANG_CHEROKEE ++# define LANG_CHEROKEE 0x5c ++# endif ++# ifndef LANG_DIVEHI ++# define LANG_DIVEHI 0x65 ++# endif ++# ifndef LANG_EDO ++# define LANG_EDO 0x66 ++# endif ++# ifndef LANG_ESTONIAN ++# define LANG_ESTONIAN 0x25 ++# endif ++# ifndef LANG_FAEROESE ++# define LANG_FAEROESE 0x38 ++# endif ++# ifndef LANG_FARSI ++# define LANG_FARSI 0x29 ++# endif ++# ifndef LANG_FRISIAN ++# define LANG_FRISIAN 0x62 ++# endif ++# ifndef LANG_FULFULDE ++# define LANG_FULFULDE 0x67 ++# endif ++# ifndef LANG_GAELIC ++# define LANG_GAELIC 0x3c ++# endif ++# ifndef LANG_GALICIAN ++# define LANG_GALICIAN 0x56 ++# endif ++# ifndef LANG_GEORGIAN ++# define LANG_GEORGIAN 0x37 ++# endif ++# ifndef LANG_GUARANI ++# define LANG_GUARANI 0x74 ++# endif ++# ifndef LANG_GUJARATI ++# define LANG_GUJARATI 0x47 ++# endif ++# ifndef LANG_HAUSA ++# define LANG_HAUSA 0x68 ++# endif ++# ifndef LANG_HAWAIIAN ++# define LANG_HAWAIIAN 0x75 ++# endif ++# ifndef LANG_HEBREW ++# define LANG_HEBREW 0x0d ++# endif ++# ifndef LANG_HINDI ++# define LANG_HINDI 0x39 ++# endif ++# ifndef LANG_IBIBIO ++# define LANG_IBIBIO 0x69 ++# endif ++# ifndef LANG_IGBO ++# define LANG_IGBO 0x70 ++# endif ++# ifndef LANG_INDONESIAN ++# define LANG_INDONESIAN 0x21 ++# endif ++# ifndef LANG_INUKTITUT ++# define LANG_INUKTITUT 0x5d ++# endif ++# ifndef LANG_KANNADA ++# define LANG_KANNADA 0x4b ++# endif ++# ifndef LANG_KANURI ++# define LANG_KANURI 0x71 ++# endif ++# ifndef LANG_KASHMIRI ++# define LANG_KASHMIRI 0x60 ++# endif ++# ifndef LANG_KAZAK ++# define LANG_KAZAK 0x3f ++# endif ++# ifndef LANG_KONKANI ++# define LANG_KONKANI 0x57 ++# endif ++# ifndef LANG_KYRGYZ ++# define LANG_KYRGYZ 0x40 ++# endif ++# ifndef LANG_LAO ++# define LANG_LAO 0x54 ++# endif ++# ifndef LANG_LATIN ++# define LANG_LATIN 0x76 ++# endif ++# ifndef LANG_LATVIAN ++# define LANG_LATVIAN 0x26 ++# endif ++# ifndef LANG_LITHUANIAN ++# define LANG_LITHUANIAN 0x27 ++# endif ++# ifndef LANG_MACEDONIAN ++# define LANG_MACEDONIAN 0x2f ++# endif ++# ifndef LANG_MALAY ++# define LANG_MALAY 0x3e ++# endif ++# ifndef LANG_MALAYALAM ++# define LANG_MALAYALAM 0x4c ++# endif ++# ifndef LANG_MALTESE ++# define LANG_MALTESE 0x3a ++# endif ++# ifndef LANG_MANIPURI ++# define LANG_MANIPURI 0x58 ++# endif ++# ifndef LANG_MARATHI ++# define LANG_MARATHI 0x4e ++# endif ++# ifndef LANG_MONGOLIAN ++# define LANG_MONGOLIAN 0x50 ++# endif ++# ifndef LANG_NEPALI ++# define LANG_NEPALI 0x61 ++# endif ++# ifndef LANG_ORIYA ++# define LANG_ORIYA 0x48 ++# endif ++# ifndef LANG_OROMO ++# define LANG_OROMO 0x72 ++# endif ++# ifndef LANG_PAPIAMENTU ++# define LANG_PAPIAMENTU 0x79 ++# endif ++# ifndef LANG_PASHTO ++# define LANG_PASHTO 0x63 ++# endif ++# ifndef LANG_PUNJABI ++# define LANG_PUNJABI 0x46 ++# endif ++# ifndef LANG_RHAETO_ROMANCE ++# define LANG_RHAETO_ROMANCE 0x17 ++# endif ++# ifndef LANG_SAAMI ++# define LANG_SAAMI 0x3b ++# endif ++# ifndef LANG_SANSKRIT ++# define LANG_SANSKRIT 0x4f ++# endif ++# ifndef LANG_SERBIAN ++# define LANG_SERBIAN 0x1a ++# endif ++# ifndef LANG_SINDHI ++# define LANG_SINDHI 0x59 ++# endif ++# ifndef LANG_SINHALESE ++# define LANG_SINHALESE 0x5b ++# endif ++# ifndef LANG_SLOVAK ++# define LANG_SLOVAK 0x1b ++# endif ++# ifndef LANG_SOMALI ++# define LANG_SOMALI 0x77 ++# endif ++# ifndef LANG_SORBIAN ++# define LANG_SORBIAN 0x2e ++# endif ++# ifndef LANG_SUTU ++# define LANG_SUTU 0x30 ++# endif ++# ifndef LANG_SWAHILI ++# define LANG_SWAHILI 0x41 ++# endif ++# ifndef LANG_SYRIAC ++# define LANG_SYRIAC 0x5a ++# endif ++# ifndef LANG_TAGALOG ++# define LANG_TAGALOG 0x64 ++# endif ++# ifndef LANG_TAJIK ++# define LANG_TAJIK 0x28 ++# endif ++# ifndef LANG_TAMAZIGHT ++# define LANG_TAMAZIGHT 0x5f ++# endif ++# ifndef LANG_TAMIL ++# define LANG_TAMIL 0x49 ++# endif ++# ifndef LANG_TATAR ++# define LANG_TATAR 0x44 ++# endif ++# ifndef LANG_TELUGU ++# define LANG_TELUGU 0x4a ++# endif ++# ifndef LANG_THAI ++# define LANG_THAI 0x1e ++# endif ++# ifndef LANG_TIBETAN ++# define LANG_TIBETAN 0x51 ++# endif ++# ifndef LANG_TIGRINYA ++# define LANG_TIGRINYA 0x73 ++# endif ++# ifndef LANG_TSONGA ++# define LANG_TSONGA 0x31 ++# endif ++# ifndef LANG_TSWANA ++# define LANG_TSWANA 0x32 ++# endif ++# ifndef LANG_TURKMEN ++# define LANG_TURKMEN 0x42 ++# endif ++# ifndef LANG_UKRAINIAN ++# define LANG_UKRAINIAN 0x22 ++# endif ++# ifndef LANG_URDU ++# define LANG_URDU 0x20 ++# endif ++# ifndef LANG_UZBEK ++# define LANG_UZBEK 0x43 ++# endif ++# ifndef LANG_VENDA ++# define LANG_VENDA 0x33 ++# endif ++# ifndef LANG_VIETNAMESE ++# define LANG_VIETNAMESE 0x2a ++# endif ++# ifndef LANG_WELSH ++# define LANG_WELSH 0x52 ++# endif ++# ifndef LANG_XHOSA ++# define LANG_XHOSA 0x34 ++# endif ++# ifndef LANG_YI ++# define LANG_YI 0x78 ++# endif ++# ifndef LANG_YIDDISH ++# define LANG_YIDDISH 0x3d ++# endif ++# ifndef LANG_YORUBA ++# define LANG_YORUBA 0x6a ++# endif ++# ifndef LANG_ZULU ++# define LANG_ZULU 0x35 ++# endif ++# ifndef SUBLANG_ARABIC_SAUDI_ARABIA ++# define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 ++# endif ++# ifndef SUBLANG_ARABIC_IRAQ ++# define SUBLANG_ARABIC_IRAQ 0x02 ++# endif ++# ifndef SUBLANG_ARABIC_EGYPT ++# define SUBLANG_ARABIC_EGYPT 0x03 ++# endif ++# ifndef SUBLANG_ARABIC_LIBYA ++# define SUBLANG_ARABIC_LIBYA 0x04 ++# endif ++# ifndef SUBLANG_ARABIC_ALGERIA ++# define SUBLANG_ARABIC_ALGERIA 0x05 ++# endif ++# ifndef SUBLANG_ARABIC_MOROCCO ++# define SUBLANG_ARABIC_MOROCCO 0x06 ++# endif ++# ifndef SUBLANG_ARABIC_TUNISIA ++# define SUBLANG_ARABIC_TUNISIA 0x07 ++# endif ++# ifndef SUBLANG_ARABIC_OMAN ++# define SUBLANG_ARABIC_OMAN 0x08 ++# endif ++# ifndef SUBLANG_ARABIC_YEMEN ++# define SUBLANG_ARABIC_YEMEN 0x09 ++# endif ++# ifndef SUBLANG_ARABIC_SYRIA ++# define SUBLANG_ARABIC_SYRIA 0x0a ++# endif ++# ifndef SUBLANG_ARABIC_JORDAN ++# define SUBLANG_ARABIC_JORDAN 0x0b ++# endif ++# ifndef SUBLANG_ARABIC_LEBANON ++# define SUBLANG_ARABIC_LEBANON 0x0c ++# endif ++# ifndef SUBLANG_ARABIC_KUWAIT ++# define SUBLANG_ARABIC_KUWAIT 0x0d ++# endif ++# ifndef SUBLANG_ARABIC_UAE ++# define SUBLANG_ARABIC_UAE 0x0e ++# endif ++# ifndef SUBLANG_ARABIC_BAHRAIN ++# define SUBLANG_ARABIC_BAHRAIN 0x0f ++# endif ++# ifndef SUBLANG_ARABIC_QATAR ++# define SUBLANG_ARABIC_QATAR 0x10 ++# endif ++# ifndef SUBLANG_AZERI_LATIN ++# define SUBLANG_AZERI_LATIN 0x01 ++# endif ++# ifndef SUBLANG_AZERI_CYRILLIC ++# define SUBLANG_AZERI_CYRILLIC 0x02 ++# endif ++# ifndef SUBLANG_BENGALI_INDIA ++# define SUBLANG_BENGALI_INDIA 0x00 ++# endif ++# ifndef SUBLANG_BENGALI_BANGLADESH ++# define SUBLANG_BENGALI_BANGLADESH 0x01 ++# endif ++# ifndef SUBLANG_CHINESE_MACAU ++# define SUBLANG_CHINESE_MACAU 0x05 ++# endif ++# ifndef SUBLANG_ENGLISH_SOUTH_AFRICA ++# define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 ++# endif ++# ifndef SUBLANG_ENGLISH_JAMAICA ++# define SUBLANG_ENGLISH_JAMAICA 0x08 ++# endif ++# ifndef SUBLANG_ENGLISH_CARIBBEAN ++# define SUBLANG_ENGLISH_CARIBBEAN 0x09 ++# endif ++# ifndef SUBLANG_ENGLISH_BELIZE ++# define SUBLANG_ENGLISH_BELIZE 0x0a ++# endif ++# ifndef SUBLANG_ENGLISH_TRINIDAD ++# define SUBLANG_ENGLISH_TRINIDAD 0x0b ++# endif ++# ifndef SUBLANG_ENGLISH_ZIMBABWE ++# define SUBLANG_ENGLISH_ZIMBABWE 0x0c ++# endif ++# ifndef SUBLANG_ENGLISH_PHILIPPINES ++# define SUBLANG_ENGLISH_PHILIPPINES 0x0d ++# endif ++# ifndef SUBLANG_ENGLISH_INDONESIA ++# define SUBLANG_ENGLISH_INDONESIA 0x0e ++# endif ++# ifndef SUBLANG_ENGLISH_HONGKONG ++# define SUBLANG_ENGLISH_HONGKONG 0x0f ++# endif ++# ifndef SUBLANG_ENGLISH_INDIA ++# define SUBLANG_ENGLISH_INDIA 0x10 ++# endif ++# ifndef SUBLANG_ENGLISH_MALAYSIA ++# define SUBLANG_ENGLISH_MALAYSIA 0x11 ++# endif ++# ifndef SUBLANG_ENGLISH_SINGAPORE ++# define SUBLANG_ENGLISH_SINGAPORE 0x12 ++# endif ++# ifndef SUBLANG_FRENCH_LUXEMBOURG ++# define SUBLANG_FRENCH_LUXEMBOURG 0x05 ++# endif ++# ifndef SUBLANG_FRENCH_MONACO ++# define SUBLANG_FRENCH_MONACO 0x06 ++# endif ++# ifndef SUBLANG_FRENCH_WESTINDIES ++# define SUBLANG_FRENCH_WESTINDIES 0x07 ++# endif ++# ifndef SUBLANG_FRENCH_REUNION ++# define SUBLANG_FRENCH_REUNION 0x08 ++# endif ++# ifndef SUBLANG_FRENCH_CONGO ++# define SUBLANG_FRENCH_CONGO 0x09 ++# endif ++# ifndef SUBLANG_FRENCH_SENEGAL ++# define SUBLANG_FRENCH_SENEGAL 0x0a ++# endif ++# ifndef SUBLANG_FRENCH_CAMEROON ++# define SUBLANG_FRENCH_CAMEROON 0x0b ++# endif ++# ifndef SUBLANG_FRENCH_COTEDIVOIRE ++# define SUBLANG_FRENCH_COTEDIVOIRE 0x0c ++# endif ++# ifndef SUBLANG_FRENCH_MALI ++# define SUBLANG_FRENCH_MALI 0x0d ++# endif ++# ifndef SUBLANG_FRENCH_MOROCCO ++# define SUBLANG_FRENCH_MOROCCO 0x0e ++# endif ++# ifndef SUBLANG_FRENCH_HAITI ++# define SUBLANG_FRENCH_HAITI 0x0f ++# endif ++# ifndef SUBLANG_GERMAN_LUXEMBOURG ++# define SUBLANG_GERMAN_LUXEMBOURG 0x04 ++# endif ++# ifndef SUBLANG_GERMAN_LIECHTENSTEIN ++# define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 ++# endif ++# ifndef SUBLANG_KASHMIRI_INDIA ++# define SUBLANG_KASHMIRI_INDIA 0x02 ++# endif ++# ifndef SUBLANG_MALAY_MALAYSIA ++# define SUBLANG_MALAY_MALAYSIA 0x01 ++# endif ++# ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM ++# define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 ++# endif ++# ifndef SUBLANG_NEPALI_INDIA ++# define SUBLANG_NEPALI_INDIA 0x02 ++# endif ++# ifndef SUBLANG_PUNJABI_INDIA ++# define SUBLANG_PUNJABI_INDIA 0x00 ++# endif ++# ifndef SUBLANG_PUNJABI_PAKISTAN ++# define SUBLANG_PUNJABI_PAKISTAN 0x01 ++# endif ++# ifndef SUBLANG_ROMANIAN_ROMANIA ++# define SUBLANG_ROMANIAN_ROMANIA 0x00 ++# endif ++# ifndef SUBLANG_ROMANIAN_MOLDOVA ++# define SUBLANG_ROMANIAN_MOLDOVA 0x01 ++# endif ++# ifndef SUBLANG_SERBIAN_LATIN ++# define SUBLANG_SERBIAN_LATIN 0x02 ++# endif ++# ifndef SUBLANG_SERBIAN_CYRILLIC ++# define SUBLANG_SERBIAN_CYRILLIC 0x03 ++# endif ++# ifndef SUBLANG_SINDHI_INDIA ++# define SUBLANG_SINDHI_INDIA 0x00 ++# endif ++# ifndef SUBLANG_SINDHI_PAKISTAN ++# define SUBLANG_SINDHI_PAKISTAN 0x01 ++# endif ++# ifndef SUBLANG_SPANISH_GUATEMALA ++# define SUBLANG_SPANISH_GUATEMALA 0x04 ++# endif ++# ifndef SUBLANG_SPANISH_COSTA_RICA ++# define SUBLANG_SPANISH_COSTA_RICA 0x05 ++# endif ++# ifndef SUBLANG_SPANISH_PANAMA ++# define SUBLANG_SPANISH_PANAMA 0x06 ++# endif ++# ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC ++# define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 ++# endif ++# ifndef SUBLANG_SPANISH_VENEZUELA ++# define SUBLANG_SPANISH_VENEZUELA 0x08 ++# endif ++# ifndef SUBLANG_SPANISH_COLOMBIA ++# define SUBLANG_SPANISH_COLOMBIA 0x09 ++# endif ++# ifndef SUBLANG_SPANISH_PERU ++# define SUBLANG_SPANISH_PERU 0x0a ++# endif ++# ifndef SUBLANG_SPANISH_ARGENTINA ++# define SUBLANG_SPANISH_ARGENTINA 0x0b ++# endif ++# ifndef SUBLANG_SPANISH_ECUADOR ++# define SUBLANG_SPANISH_ECUADOR 0x0c ++# endif ++# ifndef SUBLANG_SPANISH_CHILE ++# define SUBLANG_SPANISH_CHILE 0x0d ++# endif ++# ifndef SUBLANG_SPANISH_URUGUAY ++# define SUBLANG_SPANISH_URUGUAY 0x0e ++# endif ++# ifndef SUBLANG_SPANISH_PARAGUAY ++# define SUBLANG_SPANISH_PARAGUAY 0x0f ++# endif ++# ifndef SUBLANG_SPANISH_BOLIVIA ++# define SUBLANG_SPANISH_BOLIVIA 0x10 ++# endif ++# ifndef SUBLANG_SPANISH_EL_SALVADOR ++# define SUBLANG_SPANISH_EL_SALVADOR 0x11 ++# endif ++# ifndef SUBLANG_SPANISH_HONDURAS ++# define SUBLANG_SPANISH_HONDURAS 0x12 ++# endif ++# ifndef SUBLANG_SPANISH_NICARAGUA ++# define SUBLANG_SPANISH_NICARAGUA 0x13 ++# endif ++# ifndef SUBLANG_SPANISH_PUERTO_RICO ++# define SUBLANG_SPANISH_PUERTO_RICO 0x14 ++# endif ++# ifndef SUBLANG_SWEDISH_FINLAND ++# define SUBLANG_SWEDISH_FINLAND 0x02 ++# endif ++# ifndef SUBLANG_TAMAZIGHT_ARABIC ++# define SUBLANG_TAMAZIGHT_ARABIC 0x01 ++# endif ++# ifndef SUBLANG_TAMAZIGHT_LATIN ++# define SUBLANG_TAMAZIGHT_LATIN 0x02 ++# endif ++# ifndef SUBLANG_TIGRINYA_ETHIOPIA ++# define SUBLANG_TIGRINYA_ETHIOPIA 0x00 ++# endif ++# ifndef SUBLANG_TIGRINYA_ERITREA ++# define SUBLANG_TIGRINYA_ERITREA 0x01 ++# endif ++# ifndef SUBLANG_URDU_PAKISTAN ++# define SUBLANG_URDU_PAKISTAN 0x01 ++# endif ++# ifndef SUBLANG_URDU_INDIA ++# define SUBLANG_URDU_INDIA 0x02 ++# endif ++# ifndef SUBLANG_UZBEK_LATIN ++# define SUBLANG_UZBEK_LATIN 0x01 ++# endif ++# ifndef SUBLANG_UZBEK_CYRILLIC ++# define SUBLANG_UZBEK_CYRILLIC 0x02 ++# endif ++#endif ++ ++/* XPG3 defines the result of 'setlocale (category, NULL)' as: ++ "Directs 'setlocale()' to query 'category' and return the current ++ setting of 'local'." ++ However it does not specify the exact format. Neither do SUSV2 and ++ ISO C 99. So we can use this feature only on selected systems (e.g. ++ those using GNU C Library). */ ++#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2) ++# define HAVE_LOCALE_NULL ++#endif ++ ++/* Determine the current locale's name, and canonicalize it into XPG syntax ++ language[_territory[.codeset]][@modifier] ++ The codeset part in the result is not reliable; the locale_charset() ++ should be used for codeset information instead. ++ The result must not be freed; it is statically allocated. */ ++ ++const char * ++_nl_locale_name (int category, const char *categoryname) ++{ ++ const char *retval; ++ ++#ifndef WIN32 ++ ++ /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. ++ On some systems this can be done by the 'setlocale' function itself. */ ++# if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL ++ retval = setlocale (category, NULL); ++# else ++ /* Setting of LC_ALL overwrites all other. */ ++ retval = getenv ("LC_ALL"); ++ if (retval == NULL || retval[0] == '\0') ++ { ++ /* Next comes the name of the desired category. */ ++ retval = getenv (categoryname); ++ if (retval == NULL || retval[0] == '\0') ++ { ++ /* Last possibility is the LANG environment variable. */ ++ retval = getenv ("LANG"); ++ if (retval == NULL || retval[0] == '\0') ++ /* We use C as the default domain. POSIX says this is ++ implementation defined. */ ++ retval = "C"; ++ } ++ } ++# endif ++ ++ return retval; ++ ++#else /* WIN32 */ ++ ++ /* Return an XPG style locale name language[_territory][@modifier]. ++ Don't even bother determining the codeset; it's not useful in this ++ context, because message catalogs are not specific to a single ++ codeset. */ ++ ++ LCID lcid; ++ LANGID langid; ++ int primary, sub; ++ ++ /* Let the user override the system settings through environment ++ variables, as on POSIX systems. */ ++ retval = getenv ("LC_ALL"); ++ if (retval != NULL && retval[0] != '\0') ++ return retval; ++ retval = getenv (categoryname); ++ if (retval != NULL && retval[0] != '\0') ++ return retval; ++ retval = getenv ("LANG"); ++ if (retval != NULL && retval[0] != '\0') ++ return retval; ++ ++ /* Use native Win32 API locale ID. */ ++ lcid = GetThreadLocale (); ++ ++ /* Strip off the sorting rules, keep only the language part. */ ++ langid = LANGIDFROMLCID (lcid); ++ ++ /* Split into language and territory part. */ ++ primary = PRIMARYLANGID (langid); ++ sub = SUBLANGID (langid); ++ ++ /* Dispatch on language. ++ See also http://www.unicode.org/unicode/onlinedat/languages.html . ++ For details about languages, see http://www.ethnologue.com/ . */ ++ switch (primary) ++ { ++ case LANG_AFRIKAANS: return "af_ZA"; ++ case LANG_ALBANIAN: return "sq_AL"; ++ case LANG_AMHARIC: return "am_ET"; ++ case LANG_ARABIC: ++ switch (sub) ++ { ++ case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; ++ case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; ++ case SUBLANG_ARABIC_EGYPT: return "ar_EG"; ++ case SUBLANG_ARABIC_LIBYA: return "ar_LY"; ++ case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; ++ case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; ++ case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; ++ case SUBLANG_ARABIC_OMAN: return "ar_OM"; ++ case SUBLANG_ARABIC_YEMEN: return "ar_YE"; ++ case SUBLANG_ARABIC_SYRIA: return "ar_SY"; ++ case SUBLANG_ARABIC_JORDAN: return "ar_JO"; ++ case SUBLANG_ARABIC_LEBANON: return "ar_LB"; ++ case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; ++ case SUBLANG_ARABIC_UAE: return "ar_AE"; ++ case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; ++ case SUBLANG_ARABIC_QATAR: return "ar_QA"; ++ } ++ return "ar"; ++ case LANG_ARMENIAN: return "hy_AM"; ++ case LANG_ASSAMESE: return "as_IN"; ++ case LANG_AZERI: ++ switch (sub) ++ { ++ /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ ++ case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; ++ case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; ++ } ++ return "az"; ++ case LANG_BASQUE: ++ return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ ++ case LANG_BELARUSIAN: return "be_BY"; ++ case LANG_BENGALI: ++ switch (sub) ++ { ++ case SUBLANG_BENGALI_INDIA: return "bn_IN"; ++ case SUBLANG_BENGALI_BANGLADESH: return "bn_BD"; ++ } ++ return "bn"; ++ case LANG_BULGARIAN: return "bg_BG"; ++ case LANG_BURMESE: return "my_MM"; ++ case LANG_CAMBODIAN: return "km_KH"; ++ case LANG_CATALAN: return "ca_ES"; ++ case LANG_CHEROKEE: return "chr_US"; ++ case LANG_CHINESE: ++ switch (sub) ++ { ++ case SUBLANG_CHINESE_TRADITIONAL: return "zh_TW"; ++ case SUBLANG_CHINESE_SIMPLIFIED: return "zh_CN"; ++ case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; ++ case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; ++ case SUBLANG_CHINESE_MACAU: return "zh_MO"; ++ } ++ return "zh"; ++ case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN ++ * What used to be called Serbo-Croatian ++ * should really now be two separate ++ * languages because of political reasons. ++ * (Says tml, who knows nothing about Serbian ++ * or Croatian.) ++ * (I can feel those flames coming already.) ++ */ ++ switch (sub) ++ { ++ case SUBLANG_DEFAULT: return "hr_HR"; ++ case SUBLANG_SERBIAN_LATIN: return "sr_CS"; ++ case SUBLANG_SERBIAN_CYRILLIC: return "sr_CS@cyrillic"; ++ } ++ return "hr"; ++ case LANG_CZECH: return "cs_CZ"; ++ case LANG_DANISH: return "da_DK"; ++ case LANG_DIVEHI: return "dv_MV"; ++ case LANG_DUTCH: ++ switch (sub) ++ { ++ case SUBLANG_DUTCH: return "nl_NL"; ++ case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; ++ } ++ return "nl"; ++ case LANG_EDO: return "bin_NG"; ++ case LANG_ENGLISH: ++ switch (sub) ++ { ++ /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought ++ * English was the language spoken in England. ++ * Oh well. ++ */ ++ case SUBLANG_ENGLISH_US: return "en_US"; ++ case SUBLANG_ENGLISH_UK: return "en_GB"; ++ case SUBLANG_ENGLISH_AUS: return "en_AU"; ++ case SUBLANG_ENGLISH_CAN: return "en_CA"; ++ case SUBLANG_ENGLISH_NZ: return "en_NZ"; ++ case SUBLANG_ENGLISH_EIRE: return "en_IE"; ++ case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; ++ case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; ++ case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ ++ case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; ++ case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; ++ case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; ++ case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; ++ case SUBLANG_ENGLISH_INDONESIA: return "en_ID"; ++ case SUBLANG_ENGLISH_HONGKONG: return "en_HK"; ++ case SUBLANG_ENGLISH_INDIA: return "en_IN"; ++ case SUBLANG_ENGLISH_MALAYSIA: return "en_MY"; ++ case SUBLANG_ENGLISH_SINGAPORE: return "en_SG"; ++ } ++ return "en"; ++ case LANG_ESTONIAN: return "et_EE"; ++ case LANG_FAEROESE: return "fo_FO"; ++ case LANG_FARSI: return "fa_IR"; ++ case LANG_FINNISH: return "fi_FI"; ++ case LANG_FRENCH: ++ switch (sub) ++ { ++ case SUBLANG_FRENCH: return "fr_FR"; ++ case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; ++ case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; ++ case SUBLANG_FRENCH_SWISS: return "fr_CH"; ++ case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; ++ case SUBLANG_FRENCH_MONACO: return "fr_MC"; ++ case SUBLANG_FRENCH_WESTINDIES: return "fr"; /* Caribbean? */ ++ case SUBLANG_FRENCH_REUNION: return "fr_RE"; ++ case SUBLANG_FRENCH_CONGO: return "fr_CG"; ++ case SUBLANG_FRENCH_SENEGAL: return "fr_SN"; ++ case SUBLANG_FRENCH_CAMEROON: return "fr_CM"; ++ case SUBLANG_FRENCH_COTEDIVOIRE: return "fr_CI"; ++ case SUBLANG_FRENCH_MALI: return "fr_ML"; ++ case SUBLANG_FRENCH_MOROCCO: return "fr_MA"; ++ case SUBLANG_FRENCH_HAITI: return "fr_HT"; ++ } ++ return "fr"; ++ case LANG_FRISIAN: return "fy_NL"; ++ case LANG_FULFULDE: ++ /* Spoken in Nigeria, Guinea, Senegal, Mali, Niger, Cameroon, Benin. */ ++ return "ff_NG"; ++ case LANG_GAELIC: ++ switch (sub) ++ { ++ case 0x01: /* SCOTTISH */ return "gd_GB"; ++ case 0x02: /* IRISH */ return "ga_IE"; ++ } ++ return "C"; ++ case LANG_GALICIAN: return "gl_ES"; ++ case LANG_GEORGIAN: return "ka_GE"; ++ case LANG_GERMAN: ++ switch (sub) ++ { ++ case SUBLANG_GERMAN: return "de_DE"; ++ case SUBLANG_GERMAN_SWISS: return "de_CH"; ++ case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; ++ case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; ++ case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; ++ } ++ return "de"; ++ case LANG_GREEK: return "el_GR"; ++ case LANG_GUARANI: return "gn_PY"; ++ case LANG_GUJARATI: return "gu_IN"; ++ case LANG_HAUSA: return "ha_NG"; ++ case LANG_HAWAIIAN: ++ /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) ++ or Hawaii Creole English ("cpe_US", 600000 speakers)? */ ++ return "cpe_US"; ++ case LANG_HEBREW: return "he_IL"; ++ case LANG_HINDI: return "hi_IN"; ++ case LANG_HUNGARIAN: return "hu_HU"; ++ case LANG_IBIBIO: return "nic_NG"; ++ case LANG_ICELANDIC: return "is_IS"; ++ case LANG_IGBO: return "ig_NG"; ++ case LANG_INDONESIAN: return "id_ID"; ++ case LANG_INUKTITUT: return "iu_CA"; ++ case LANG_ITALIAN: ++ switch (sub) ++ { ++ case SUBLANG_ITALIAN: return "it_IT"; ++ case SUBLANG_ITALIAN_SWISS: return "it_CH"; ++ } ++ return "it"; ++ case LANG_JAPANESE: return "ja_JP"; ++ case LANG_KANNADA: return "kn_IN"; ++ case LANG_KANURI: return "kr_NG"; ++ case LANG_KASHMIRI: ++ switch (sub) ++ { ++ case SUBLANG_DEFAULT: return "ks_PK"; ++ case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; ++ } ++ return "ks"; ++ case LANG_KAZAK: return "kk_KZ"; ++ case LANG_KONKANI: ++ /* FIXME: Adjust this when such locales appear on Unix. */ ++ return "kok_IN"; ++ case LANG_KOREAN: return "ko_KR"; ++ case LANG_KYRGYZ: return "ky_KG"; ++ case LANG_LAO: return "lo_LA"; ++ case LANG_LATIN: return "la_VA"; ++ case LANG_LATVIAN: return "lv_LV"; ++ case LANG_LITHUANIAN: return "lt_LT"; ++ case LANG_MACEDONIAN: return "mk_MK"; ++ case LANG_MALAY: ++ switch (sub) ++ { ++ case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; ++ case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; ++ } ++ return "ms"; ++ case LANG_MALAYALAM: return "ml_IN"; ++ case LANG_MALTESE: return "mt_MT"; ++ case LANG_MANIPURI: ++ /* FIXME: Adjust this when such locales appear on Unix. */ ++ return "mni_IN"; ++ case LANG_MARATHI: return "mr_IN"; ++ case LANG_MONGOLIAN: ++ return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ ++ case LANG_NEPALI: ++ switch (sub) ++ { ++ case SUBLANG_DEFAULT: return "ne_NP"; ++ case SUBLANG_NEPALI_INDIA: return "ne_IN"; ++ } ++ return "ne"; ++ case LANG_NORWEGIAN: ++ switch (sub) ++ { ++ case SUBLANG_NORWEGIAN_BOKMAL: return "no_NO"; ++ case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; ++ } ++ return "no"; ++ case LANG_ORIYA: return "or_IN"; ++ case LANG_OROMO: return "om_ET"; ++ case LANG_PAPIAMENTU: return "pap_AN"; ++ case LANG_PASHTO: ++ return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ ++ case LANG_POLISH: return "pl_PL"; ++ case LANG_PORTUGUESE: ++ switch (sub) ++ { ++ case SUBLANG_PORTUGUESE: return "pt_PT"; ++ /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. ++ Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ ++ case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; ++ } ++ return "pt"; ++ case LANG_PUNJABI: ++ switch (sub) ++ { ++ case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ ++ case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */ ++ } ++ return "pa"; ++ case LANG_RHAETO_ROMANCE: return "rm_CH"; ++ case LANG_ROMANIAN: ++ switch (sub) ++ { ++ case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; ++ case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD"; ++ } ++ return "ro"; ++ case LANG_RUSSIAN: ++ return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ ++ case LANG_SAAMI: /* actually Northern Sami */ return "se_NO"; ++ case LANG_SANSKRIT: return "sa_IN"; ++ case LANG_SINDHI: ++ switch (sub) ++ { ++ case SUBLANG_SINDHI_INDIA: return "sd_IN"; ++ case SUBLANG_SINDHI_PAKISTAN: return "sd_PK"; ++ } ++ return "sd"; ++ case LANG_SINHALESE: return "si_LK"; ++ case LANG_SLOVAK: return "sk_SK"; ++ case LANG_SLOVENIAN: return "sl_SI"; ++ case LANG_SOMALI: return "so_SO"; ++ case LANG_SORBIAN: ++ /* FIXME: Adjust this when such locales appear on Unix. */ ++ return "wen_DE"; ++ case LANG_SPANISH: ++ switch (sub) ++ { ++ case SUBLANG_SPANISH: return "es_ES"; ++ case SUBLANG_SPANISH_MEXICAN: return "es_MX"; ++ case SUBLANG_SPANISH_MODERN: ++ return "es_ES@modern"; /* not seen on Unix */ ++ case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; ++ case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; ++ case SUBLANG_SPANISH_PANAMA: return "es_PA"; ++ case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; ++ case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; ++ case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; ++ case SUBLANG_SPANISH_PERU: return "es_PE"; ++ case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; ++ case SUBLANG_SPANISH_ECUADOR: return "es_EC"; ++ case SUBLANG_SPANISH_CHILE: return "es_CL"; ++ case SUBLANG_SPANISH_URUGUAY: return "es_UY"; ++ case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; ++ case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; ++ case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; ++ case SUBLANG_SPANISH_HONDURAS: return "es_HN"; ++ case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; ++ case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; ++ } ++ return "es"; ++ case LANG_SUTU: return "bnt_TZ"; /* or "st_LS" or "nso_ZA"? */ ++ case LANG_SWAHILI: return "sw_KE"; ++ case LANG_SWEDISH: ++ switch (sub) ++ { ++ case SUBLANG_DEFAULT: return "sv_SE"; ++ case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; ++ } ++ return "sv"; ++ case LANG_SYRIAC: return "syr_TR"; /* An extinct language. */ ++ case LANG_TAGALOG: return "tl_PH"; ++ case LANG_TAJIK: return "tg_TJ"; ++ case LANG_TAMAZIGHT: ++ switch (sub) ++ { ++ /* FIXME: Adjust this when Tamazight locales appear on Unix. */ ++ case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic"; ++ case SUBLANG_TAMAZIGHT_LATIN: return "ber_MA@latin"; ++ } ++ return "ber_MA"; ++ case LANG_TAMIL: ++ return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ ++ case LANG_TATAR: return "tt_RU"; ++ case LANG_TELUGU: return "te_IN"; ++ case LANG_THAI: return "th_TH"; ++ case LANG_TIBETAN: return "bo_CN"; ++ case LANG_TIGRINYA: ++ switch (sub) ++ { ++ case SUBLANG_TIGRINYA_ETHIOPIA: return "ti_ET"; ++ case SUBLANG_TIGRINYA_ERITREA: return "ti_ER"; ++ } ++ return "ti"; ++ case LANG_TSONGA: return "ts_ZA"; ++ case LANG_TSWANA: return "tn_BW"; ++ case LANG_TURKISH: return "tr_TR"; ++ case LANG_TURKMEN: return "tk_TM"; ++ case LANG_UKRAINIAN: return "uk_UA"; ++ case LANG_URDU: ++ switch (sub) ++ { ++ case SUBLANG_URDU_PAKISTAN: return "ur_PK"; ++ case SUBLANG_URDU_INDIA: return "ur_IN"; ++ } ++ return "ur"; ++ case LANG_UZBEK: ++ switch (sub) ++ { ++ case SUBLANG_UZBEK_LATIN: return "uz_UZ"; ++ case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; ++ } ++ return "uz"; ++ case LANG_VENDA: return "ve_ZA"; ++ case LANG_VIETNAMESE: return "vi_VN"; ++ case LANG_WELSH: return "cy_GB"; ++ case LANG_XHOSA: return "xh_ZA"; ++ case LANG_YI: return "sit_CN"; ++ case LANG_YIDDISH: return "yi_IL"; ++ case LANG_YORUBA: return "yo_NG"; ++ case LANG_ZULU: return "zu_ZA"; ++ default: return "C"; ++ } ++ ++#endif ++} +--- lrzsz-0.12.20.safe/intl/log.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/log.c 2004-09-12 14:40:34.515723768 -0400 +@@ -0,0 +1,98 @@ ++/* Log file output. ++ Copyright (C) 2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Written by Bruno Haible . */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include ++ ++/* Print an ASCII string with quotes and escape sequences where needed. */ ++static void ++print_escaped (FILE *stream, const char *str) ++{ ++ putc ('"', stream); ++ for (; *str != '\0'; str++) ++ if (*str == '\n') ++ { ++ fputs ("\\n\"", stream); ++ if (str[1] == '\0') ++ return; ++ fputs ("\n\"", stream); ++ } ++ else ++ { ++ if (*str == '"' || *str == '\\') ++ putc ('\\', stream); ++ putc (*str, stream); ++ } ++ putc ('"', stream); ++} ++ ++/* Add to the log file an entry denoting a failed translation. */ ++void ++_nl_log_untranslated (const char *logfilename, const char *domainname, ++ const char *msgid1, const char *msgid2, int plural) ++{ ++ static char *last_logfilename = NULL; ++ static FILE *last_logfile = NULL; ++ FILE *logfile; ++ ++ /* Can we reuse the last opened logfile? */ ++ if (last_logfilename == NULL || strcmp (logfilename, last_logfilename) != 0) ++ { ++ /* Close the last used logfile. */ ++ if (last_logfilename != NULL) ++ { ++ if (last_logfile != NULL) ++ { ++ fclose (last_logfile); ++ last_logfile = NULL; ++ } ++ free (last_logfilename); ++ last_logfilename = NULL; ++ } ++ /* Open the logfile. */ ++ last_logfilename = (char *) malloc (strlen (logfilename) + 1); ++ if (last_logfilename == NULL) ++ return; ++ strcpy (last_logfilename, logfilename); ++ last_logfile = fopen (logfilename, "a"); ++ if (last_logfile == NULL) ++ return; ++ } ++ logfile = last_logfile; ++ ++ fprintf (logfile, "domain "); ++ print_escaped (logfile, domainname); ++ fprintf (logfile, "\nmsgid "); ++ print_escaped (logfile, msgid1); ++ if (plural) ++ { ++ fprintf (logfile, "\nmsgid_plural "); ++ print_escaped (logfile, msgid2); ++ fprintf (logfile, "\nmsgstr[0] \"\"\n"); ++ } ++ else ++ fprintf (logfile, "\nmsgstr \"\"\n"); ++ putc ('\n', logfile); ++} +--- lrzsz-0.12.20.safe/intl/Makefile.in 1998-04-26 09:22:35.000000000 -0400 ++++ lrzsz-0.12.20/intl/Makefile.in 2004-09-12 14:40:34.521722856 -0400 +@@ -1,19 +1,20 @@ +-# Makefile for directory with message catalog handling in GNU NLS Utilities. +-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. ++# Makefile for directory with message catalog handling library of GNU gettext ++# Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. + # +-# This program is free software; you can redistribute it and/or modify +-# it under the terms of the GNU General Public License as published by +-# the Free Software Foundation; either version 2, or (at your option) ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU Library General Public License as published ++# by the Free Software Foundation; either version 2, or (at your option) + # any later version. + # + # This program is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU General Public License for more details. ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Library General Public License for more details. + # +-# You should have received a copy of the GNU General Public License +-# along with this program; if not, write to the Free Software +-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++# You should have received a copy of the GNU Library General Public ++# License along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++# USA. + + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ +@@ -23,118 +24,341 @@ + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + top_builddir = .. +-VPATH = @srcdir@ ++#VPATH = $(srcdir) + + prefix = @prefix@ + exec_prefix = @exec_prefix@ + transform = @program_transform_name@ +-libdir = $(exec_prefix)/lib +-includedir = $(prefix)/include +-datadir = $(prefix)/@DATADIRNAME@ ++libdir = @libdir@ ++includedir = @includedir@ ++datadir = @datadir@ + localedir = $(datadir)/locale +-gnulocaledir = $(prefix)/share/locale +-gettextsrcdir = @datadir@/gettext/intl +-aliaspath = $(localedir):. ++gettextsrcdir = $(datadir)/gettext/intl ++aliaspath = $(localedir) + subdir = intl + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @MKINSTALLDIRS@ ++mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) + +-l = @l@ ++l = @INTL_LIBTOOL_SUFFIX_PREFIX@ + + AR = ar + CC = @CC@ + LIBTOOL = @LIBTOOL@ + RANLIB = @RANLIB@ ++YACC = @INTLBISON@ -y -d ++YFLAGS = --name-prefix=__gettext + +-DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \ +--DLOCALE_ALIAS_PATH=\"$(aliaspath)\" @DEFS@ ++DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ ++-DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \ ++-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \ ++-Dset_relocation_prefix=libintl_set_relocation_prefix \ ++-Drelocate=libintl_relocate \ ++-DDEPENDS_ON_LIBICONV=1 @DEFS@ + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ ++LIBS = @LIBS@ + + COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) + +-HEADERS = $(COMHDRS) libgettext.h loadinfo.h +-COMHDRS = gettext.h gettextP.h hash-string.h +-SOURCES = $(COMSRCS) intl-compat.c cat-compat.c +-COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \ +-finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \ +-explodename.c +-OBJECTS = @INTLOBJS@ bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \ +-finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \ +-explodename.$lo +-CATOBJS = cat-compat.$lo ../po/cat-id-tbl.$lo +-GETTOBJS = intl-compat.$lo +-DISTFILES.common = ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in \ +-xopen-msg.sed $(HEADERS) $(SOURCES) ++HEADERS = \ ++ gmo.h \ ++ gettextP.h \ ++ hash-string.h \ ++ loadinfo.h \ ++ plural-exp.h \ ++ eval-plural.h \ ++ localcharset.h \ ++ relocatable.h \ ++ xsize.h \ ++ printf-args.h printf-args.c \ ++ printf-parse.h wprintf-parse.h printf-parse.c \ ++ vasnprintf.h vasnwprintf.h vasnprintf.c \ ++ os2compat.h \ ++ libgnuintl.h.in ++SOURCES = \ ++ bindtextdom.c \ ++ dcgettext.c \ ++ dgettext.c \ ++ gettext.c \ ++ finddomain.c \ ++ loadmsgcat.c \ ++ localealias.c \ ++ textdomain.c \ ++ l10nflist.c \ ++ explodename.c \ ++ dcigettext.c \ ++ dcngettext.c \ ++ dngettext.c \ ++ ngettext.c \ ++ plural.y \ ++ plural-exp.c \ ++ localcharset.c \ ++ relocatable.c \ ++ localename.c \ ++ log.c \ ++ printf.c \ ++ osdep.c \ ++ os2compat.c \ ++ intl-compat.c ++OBJECTS = \ ++ bindtextdom.$lo \ ++ dcgettext.$lo \ ++ dgettext.$lo \ ++ gettext.$lo \ ++ finddomain.$lo \ ++ loadmsgcat.$lo \ ++ localealias.$lo \ ++ textdomain.$lo \ ++ l10nflist.$lo \ ++ explodename.$lo \ ++ dcigettext.$lo \ ++ dcngettext.$lo \ ++ dngettext.$lo \ ++ ngettext.$lo \ ++ plural.$lo \ ++ plural-exp.$lo \ ++ localcharset.$lo \ ++ relocatable.$lo \ ++ localename.$lo \ ++ log.$lo \ ++ printf.$lo \ ++ osdep.$lo \ ++ intl-compat.$lo ++DISTFILES.common = Makefile.in \ ++config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES) ++DISTFILES.generated = plural.c + DISTFILES.normal = VERSION +-DISTFILES.gettext = libintl.glibc intlh.inst.in ++DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \ ++libgnuintl.h_vms Makefile.vms \ ++libgnuintl.h.msvc-static libgnuintl.h.msvc-shared README.woe32 Makefile.msvc ++DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \ ++COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h ++ ++all: all-@USE_INCLUDED_LIBINTL@ ++all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed ++all-no: all-no-@BUILD_INCLUDED_LIBINTL@ ++all-no-yes: libgnuintl.$la ++all-no-no: ++ ++libintl.a libgnuintl.a: $(OBJECTS) ++ rm -f $@ ++ $(AR) cru $@ $(OBJECTS) ++ $(RANLIB) $@ ++ ++libintl.la libgnuintl.la: $(OBJECTS) ++ $(LIBTOOL) --mode=link \ ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \ ++ $(OBJECTS) @LTLIBICONV@ $(LIBS) -lc \ ++ -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ ++ -rpath $(libdir) \ ++ -no-undefined ++ ++# Libtool's library version information for libintl. ++# Before making a gettext release, the gettext maintainer must change this ++# according to the libtool documentation, section "Library interface versions". ++# Maintainers of other packages that include the intl directory must *not* ++# change these values. ++LTV_CURRENT=7 ++LTV_REVISION=0 ++LTV_AGE=4 + + .SUFFIXES: +-.SUFFIXES: .c .o .lo ++.SUFFIXES: .c .y .o .lo .sin .sed ++ + .c.o: + $(COMPILE) $< +-.c.lo: +- $(LIBTOOL) --mode=compile $(COMPILE) $< + +-INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib ++.y.c: ++ $(YACC) $(YFLAGS) --output $@ $< ++ rm -f $*.h + +-all: all-@USE_INCLUDED_LIBINTL@ ++bindtextdom.lo: $(srcdir)/bindtextdom.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/bindtextdom.c ++dcgettext.lo: $(srcdir)/dcgettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcgettext.c ++dgettext.lo: $(srcdir)/dgettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dgettext.c ++gettext.lo: $(srcdir)/gettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/gettext.c ++finddomain.lo: $(srcdir)/finddomain.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/finddomain.c ++loadmsgcat.lo: $(srcdir)/loadmsgcat.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/loadmsgcat.c ++localealias.lo: $(srcdir)/localealias.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localealias.c ++textdomain.lo: $(srcdir)/textdomain.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/textdomain.c ++l10nflist.lo: $(srcdir)/l10nflist.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/l10nflist.c ++explodename.lo: $(srcdir)/explodename.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/explodename.c ++dcigettext.lo: $(srcdir)/dcigettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcigettext.c ++dcngettext.lo: $(srcdir)/dcngettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcngettext.c ++dngettext.lo: $(srcdir)/dngettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dngettext.c ++ngettext.lo: $(srcdir)/ngettext.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/ngettext.c ++plural.lo: $(srcdir)/plural.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural.c ++plural-exp.lo: $(srcdir)/plural-exp.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural-exp.c ++localcharset.lo: $(srcdir)/localcharset.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localcharset.c ++relocatable.lo: $(srcdir)/relocatable.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/relocatable.c ++localename.lo: $(srcdir)/localename.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localename.c ++log.lo: $(srcdir)/log.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/log.c ++printf.lo: $(srcdir)/printf.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/printf.c ++osdep.lo: $(srcdir)/osdep.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/osdep.c ++intl-compat.lo: $(srcdir)/intl-compat.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c + +-all-yes: libintl.$la intlh.inst +-all-no: ++ref-add.sed: $(srcdir)/ref-add.sin ++ sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed ++ mv t-ref-add.sed ref-add.sed ++ref-del.sed: $(srcdir)/ref-del.sin ++ sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-del.sin > t-ref-del.sed ++ mv t-ref-del.sed ref-del.sed + +-libintl.a: $(OBJECTS) +- rm -f $@ +- $(AR) cru $@ $(OBJECTS) +- $(RANLIB) $@ ++INCLUDES = -I. -I$(srcdir) -I.. + +-libintl.la: $(OBJECTS) +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ +- -version-info 1:0 -rpath $(libdir) ++libgnuintl.h: $(srcdir)/libgnuintl.h.in ++ sed -e 's,@''HAVE_POSIX_PRINTF''@,@HAVE_POSIX_PRINTF@,g' \ ++ -e 's,@''HAVE_ASPRINTF''@,@HAVE_ASPRINTF@,g' \ ++ -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \ ++ -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \ ++ < $(srcdir)/libgnuintl.h.in > libgnuintl.h + +-../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot +- cd ../po && $(MAKE) cat-id-tbl.$lo ++libintl.h: libgnuintl.h ++ cp libgnuintl.h libintl.h + +-check: all ++charset.alias: $(srcdir)/config.charset ++ $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ ++ mv t-$@ $@ + +-# This installation goal is only used in GNU gettext. Packages which +-# only use the library should use install instead. ++check: all + + # We must not install the libintl.h/libintl.a files if we are on a +-# system which has the gettext() function in its C library or in a +-# separate library or use the catgets interface. A special case is +-# where configure found a previously installed GNU gettext library. ++# system which has the GNU gettext() function in its C library or in a ++# separate library. + # If you want to use the one which comes with this version of the + # package, you have to use `configure --with-included-gettext'. + install: install-exec install-data + install-exec: all +- if test "$(PACKAGE)" = "gettext" \ +- && test '@INTLOBJS@' = '$(GETTOBJS)'; then \ +- if test -r $(MKINSTALLDIRS); then \ +- $(MKINSTALLDIRS) $(libdir) $(includedir); \ +- else \ +- $(top_srcdir)/mkinstalldirs $(libdir) $(includedir); \ ++ if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ ++ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ ++ $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \ ++ $(LIBTOOL) --mode=install \ ++ $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \ ++ if test "@RELOCATABLE@" = yes; then \ ++ dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < $(DESTDIR)$(libdir)/libintl.la | sed -e "s,^',," -e "s,'\$$,,"`; \ ++ if test -n "$$dependencies"; then \ ++ rm -f $(DESTDIR)$(libdir)/libintl.la; \ ++ fi; \ + fi; \ +- $(INSTALL_DATA) intlh.inst $(includedir)/libintl.h; \ +- $(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \ + else \ + : ; \ + fi +-install-data: all +- if test "$(PACKAGE)" = "gettext"; then \ +- if test -r $(MKINSTALLDIRS); then \ +- $(MKINSTALLDIRS) $(gettextsrcdir); \ ++ if test "$(PACKAGE)" = "gettext-tools" \ ++ && test '@USE_INCLUDED_LIBINTL@' = no; then \ ++ $(mkinstalldirs) $(DESTDIR)$(libdir); \ ++ $(LIBTOOL) --mode=install \ ++ $(INSTALL_DATA) libgnuintl.$la $(DESTDIR)$(libdir)/libgnuintl.$la; \ ++ rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ ++ $(INSTALL_DATA) $(DESTDIR)$(libdir)/libgnuintl.so $(DESTDIR)$(libdir)/preloadable_libintl.so; \ ++ $(LIBTOOL) --mode=uninstall \ ++ rm -f $(DESTDIR)$(libdir)/libgnuintl.$la; \ ++ else \ ++ : ; \ ++ fi ++ if test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \ ++ temp=$(DESTDIR)$(libdir)/t-charset.alias; \ ++ dest=$(DESTDIR)$(libdir)/charset.alias; \ ++ if test -f $(DESTDIR)$(libdir)/charset.alias; then \ ++ orig=$(DESTDIR)$(libdir)/charset.alias; \ ++ sed -f ref-add.sed $$orig > $$temp; \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ rm -f $$temp; \ + else \ +- $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ ++ if test @GLIBC21@ = no; then \ ++ orig=charset.alias; \ ++ sed -f ref-add.sed $$orig > $$temp; \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ rm -f $$temp; \ ++ fi; \ + fi; \ +- $(INSTALL_DATA) VERSION $(gettextsrcdir)/VERSION; \ +- dists="$(DISTFILES.common)"; \ ++ $(mkinstalldirs) $(DESTDIR)$(localedir); \ ++ test -f $(DESTDIR)$(localedir)/locale.alias \ ++ && orig=$(DESTDIR)$(localedir)/locale.alias \ ++ || orig=$(srcdir)/locale.alias; \ ++ temp=$(DESTDIR)$(localedir)/t-locale.alias; \ ++ dest=$(DESTDIR)$(localedir)/locale.alias; \ ++ sed -f ref-add.sed $$orig > $$temp; \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ rm -f $$temp; \ ++ else \ ++ : ; \ ++ fi ++install-data: all ++ if test "$(PACKAGE)" = "gettext-tools"; then \ ++ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ ++ $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \ ++ $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \ ++ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \ + for file in $$dists; do \ +- $(INSTALL_DATA) $(srcdir)/$$file $(gettextsrcdir)/$$file; \ ++ $(INSTALL_DATA) $(srcdir)/$$file \ ++ $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ ++ chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \ ++ dists="$(DISTFILES.generated)"; \ ++ for file in $$dists; do \ ++ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ ++ $(INSTALL_DATA) $$dir/$$file \ ++ $(DESTDIR)$(gettextsrcdir)/$$file; \ ++ done; \ ++ dists="$(DISTFILES.obsolete)"; \ ++ for file in $$dists; do \ ++ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ ++ done; \ ++ else \ ++ : ; \ ++ fi ++ ++install-strip: install ++ ++installdirs: ++ if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ ++ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ ++ else \ ++ : ; \ ++ fi ++ if test "$(PACKAGE)" = "gettext-tools" \ ++ && test '@USE_INCLUDED_LIBINTL@' = no; then \ ++ $(mkinstalldirs) $(DESTDIR)$(libdir); \ ++ else \ ++ : ; \ ++ fi ++ if test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \ ++ $(mkinstalldirs) $(DESTDIR)$(localedir); \ ++ else \ ++ : ; \ ++ fi ++ if test "$(PACKAGE)" = "gettext-tools"; then \ ++ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi +@@ -143,22 +367,76 @@ + installcheck: + + uninstall: +- dists="$(DISTFILES.common)"; \ +- for file in $$dists; do \ +- rm -f $(gettextsrcdir)/$$file; \ +- done ++ if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ ++ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ rm -f $(DESTDIR)$(includedir)/libintl.h; \ ++ $(LIBTOOL) --mode=uninstall \ ++ rm -f $(DESTDIR)$(libdir)/libintl.$la; \ ++ else \ ++ : ; \ ++ fi ++ if test "$(PACKAGE)" = "gettext-tools" \ ++ && test '@USE_INCLUDED_LIBINTL@' = no; then \ ++ rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ ++ else \ ++ : ; \ ++ fi ++ if test '@USE_INCLUDED_LIBINTL@' = yes; then \ ++ if test -f $(DESTDIR)$(libdir)/charset.alias; then \ ++ temp=$(DESTDIR)$(libdir)/t-charset.alias; \ ++ dest=$(DESTDIR)$(libdir)/charset.alias; \ ++ sed -f ref-del.sed $$dest > $$temp; \ ++ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ ++ rm -f $$dest; \ ++ else \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ fi; \ ++ rm -f $$temp; \ ++ fi; \ ++ if test -f $(DESTDIR)$(localedir)/locale.alias; then \ ++ temp=$(DESTDIR)$(localedir)/t-locale.alias; \ ++ dest=$(DESTDIR)$(localedir)/locale.alias; \ ++ sed -f ref-del.sed $$dest > $$temp; \ ++ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ ++ rm -f $$dest; \ ++ else \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ fi; \ ++ rm -f $$temp; \ ++ fi; \ ++ else \ ++ : ; \ ++ fi ++ if test "$(PACKAGE)" = "gettext-tools"; then \ ++ for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \ ++ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ ++ done; \ ++ else \ ++ : ; \ ++ fi + +-info dvi: ++info dvi ps pdf html: + +-$(OBJECTS): ../config.h libgettext.h +-bindtextdom.$lo finddomain.$lo loadmsgcat.$lo: gettextP.h gettext.h loadinfo.h +-dcgettext.$lo: gettextP.h gettext.h hash-string.h loadinfo.h ++$(OBJECTS): ../config.h libgnuintl.h ++bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: $(srcdir)/gettextP.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h ++dcigettext.$lo loadmsgcat.$lo: $(srcdir)/hash-string.h ++explodename.$lo l10nflist.$lo: $(srcdir)/loadinfo.h ++dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: $(srcdir)/plural-exp.h ++dcigettext.$lo: $(srcdir)/eval-plural.h ++localcharset.$lo: $(srcdir)/localcharset.h ++localealias.$lo localcharset.$lo relocatable.$lo: $(srcdir)/relocatable.h ++printf.$lo: $(srcdir)/printf-args.h $(srcdir)/printf-args.c $(srcdir)/printf-parse.h $(srcdir)/wprintf-parse.h $(srcdir)/xsize.h $(srcdir)/printf-parse.c $(srcdir)/vasnprintf.h $(srcdir)/vasnwprintf.h $(srcdir)/vasnprintf.c + + tags: TAGS + + TAGS: $(HEADERS) $(SOURCES) + here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES) + ++ctags: CTAGS ++ ++CTAGS: $(HEADERS) $(SOURCES) ++ here=`pwd`; cd $(srcdir) && ctags -o $$here/CTAGS $(HEADERS) $(SOURCES) ++ + id: ID + + ID: $(HEADERS) $(SOURCES) +@@ -166,12 +444,19 @@ + + + mostlyclean: +- rm -f *.a *.o *.lo core core.* ++ rm -f *.a *.la *.o *.obj *.lo core core.* ++ rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed ++ rm -f -r .libs _libs + + clean: mostlyclean + + distclean: clean +- rm -f Makefile ID TAGS po2msg.sed po2tbl.sed libintl.h ++ rm -f Makefile ID TAGS ++ if test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; then \ ++ rm -f ChangeLog.inst $(DISTFILES.normal); \ ++ else \ ++ : ; \ ++ fi + + maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" +@@ -181,33 +466,27 @@ + # GNU gettext needs not contain the file `VERSION' but contains some + # other files which should not be distributed in other packages. + distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +-dist distdir: Makefile $(DISTFILES) +- if test "$(PACKAGE)" = gettext; then \ +- additional="$(DISTFILES.gettext)"; \ ++dist distdir: Makefile ++ if test "$(PACKAGE)" = "gettext-tools"; then \ ++ : ; \ + else \ +- additional="$(DISTFILES.normal)"; \ +- fi; \ +- for file in $(DISTFILES.common) $$additional; do \ +- ln $(srcdir)/$$file $(distdir) 2> /dev/null \ +- || cp -p $(srcdir)/$$file $(distdir); \ +- done +- +-dist-libc: +- tar zcvf intl-glibc.tar.gz $(COMSRCS) $(COMHDRS) libintl.h.glibc +- +-Makefile: Makefile.in ../config.status +- cd .. \ +- && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status ++ if test "$(PACKAGE)" = "gettext-runtime"; then \ ++ additional="$(DISTFILES.gettext)"; \ ++ else \ ++ additional="$(DISTFILES.normal)"; \ ++ fi; \ ++ $(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \ ++ for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \ ++ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ ++ cp -p $$dir/$$file $(distdir); \ ++ done; \ ++ fi + +-# The dependency for intlh.inst is different in gettext and all other +-# packages. Because we cannot you GNU make features we have to solve +-# the problem while rewriting Makefile.in. +-@GT_YES@intlh.inst: intlh.inst.in ../config.status +-@GT_YES@ cd .. \ +-@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ +-@GT_YES@ $(SHELL) ./config.status +-@GT_NO@.PHONY: intlh.inst +-@GT_NO@intlh.inst: ++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status ++ cd $(top_builddir) && $(SHELL) ./config.status ++# This would be more efficient, but doesn't work any more with autoconf-2.57, ++# when AC_CONFIG_FILES([intl/Makefile:somedir/Makefile.in]) is used. ++# cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + # Tell versions [3.59,3.63) of GNU make not to export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +--- lrzsz-0.12.20.safe/intl/ngettext.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/ngettext.c 2004-09-12 14:40:34.533721032 -0400 +@@ -0,0 +1,65 @@ ++/* Implementation of ngettext(3) function. ++ Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#ifdef _LIBC ++# define __need_NULL ++# include ++#else ++# include /* Just for NULL. */ ++#endif ++ ++#include "gettextP.h" ++#ifdef _LIBC ++# include ++#else ++# include "libgnuintl.h" ++#endif ++ ++#include ++ ++/* @@ end of prolog @@ */ ++ ++/* Names for the libintl functions are a problem. They must not clash ++ with existing names and they should follow ANSI C. But this source ++ code is also used in GNU C Library where the names have a __ ++ prefix. So we have to make a difference here. */ ++#ifdef _LIBC ++# define NGETTEXT __ngettext ++# define DCNGETTEXT __dcngettext ++#else ++# define NGETTEXT libintl_ngettext ++# define DCNGETTEXT libintl_dcngettext ++#endif ++ ++/* Look up MSGID in the current default message catalog for the current ++ LC_MESSAGES locale. If not found, returns MSGID itself (the default ++ text). */ ++char * ++NGETTEXT (const char *msgid1, const char *msgid2, unsigned long int n) ++{ ++ return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES); ++} ++ ++#ifdef _LIBC ++/* Alias for function name in GNU C Library. */ ++weak_alias (__ngettext, ngettext); ++#endif +--- lrzsz-0.12.20.safe/intl/os2compat.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/os2compat.c 2004-09-12 14:40:34.539720120 -0400 +@@ -0,0 +1,98 @@ ++/* OS/2 compatibility functions. ++ Copyright (C) 2001-2002 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#define OS2_AWARE ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ ++#include ++#include ++#include ++ ++/* A version of getenv() that works from DLLs */ ++extern unsigned long DosScanEnv (const unsigned char *pszName, unsigned char **ppszValue); ++ ++char * ++_nl_getenv (const char *name) ++{ ++ unsigned char *value; ++ if (DosScanEnv (name, &value)) ++ return NULL; ++ else ++ return value; ++} ++ ++/* A fixed size buffer. */ ++char libintl_nl_default_dirname[MAXPATHLEN+1]; ++ ++char *_nlos2_libdir = NULL; ++char *_nlos2_localealiaspath = NULL; ++char *_nlos2_localedir = NULL; ++ ++static __attribute__((constructor)) void ++nlos2_initialize () ++{ ++ char *root = getenv ("UNIXROOT"); ++ char *gnulocaledir = getenv ("GNULOCALEDIR"); ++ ++ _nlos2_libdir = gnulocaledir; ++ if (!_nlos2_libdir) ++ { ++ if (root) ++ { ++ size_t sl = strlen (root); ++ _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); ++ memcpy (_nlos2_libdir, root, sl); ++ memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); ++ } ++ else ++ _nlos2_libdir = LIBDIR; ++ } ++ ++ _nlos2_localealiaspath = gnulocaledir; ++ if (!_nlos2_localealiaspath) ++ { ++ if (root) ++ { ++ size_t sl = strlen (root); ++ _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); ++ memcpy (_nlos2_localealiaspath, root, sl); ++ memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); ++ } ++ else ++ _nlos2_localealiaspath = LOCALE_ALIAS_PATH; ++ } ++ ++ _nlos2_localedir = gnulocaledir; ++ if (!_nlos2_localedir) ++ { ++ if (root) ++ { ++ size_t sl = strlen (root); ++ _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); ++ memcpy (_nlos2_localedir, root, sl); ++ memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); ++ } ++ else ++ _nlos2_localedir = LOCALEDIR; ++ } ++ ++ if (strlen (_nlos2_localedir) <= MAXPATHLEN) ++ strcpy (libintl_nl_default_dirname, _nlos2_localedir); ++} +--- lrzsz-0.12.20.safe/intl/os2compat.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/os2compat.h 2004-09-12 14:40:34.544719360 -0400 +@@ -0,0 +1,46 @@ ++/* OS/2 compatibility defines. ++ This file is intended to be included from config.h ++ Copyright (C) 2001-2002 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* When included from os2compat.h we need all the original definitions */ ++#ifndef OS2_AWARE ++ ++#undef LIBDIR ++#define LIBDIR _nlos2_libdir ++extern char *_nlos2_libdir; ++ ++#undef LOCALEDIR ++#define LOCALEDIR _nlos2_localedir ++extern char *_nlos2_localedir; ++ ++#undef LOCALE_ALIAS_PATH ++#define LOCALE_ALIAS_PATH _nlos2_localealiaspath ++extern char *_nlos2_localealiaspath; ++ ++#endif ++ ++#undef HAVE_STRCASECMP ++#define HAVE_STRCASECMP 1 ++#define strcasecmp stricmp ++#define strncasecmp strnicmp ++ ++/* We have our own getenv() which works even if library is compiled as DLL */ ++#define getenv _nl_getenv ++ ++/* Older versions of gettext used -1 as the value of LC_MESSAGES */ ++#define LC_MESSAGES_COMPAT (-1) +--- lrzsz-0.12.20.safe/intl/osdep.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/osdep.c 2004-09-12 14:40:34.550718448 -0400 +@@ -0,0 +1,24 @@ ++/* OS dependent parts of libintl. ++ Copyright (C) 2001-2002 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#if defined __EMX__ ++# include "os2compat.c" ++#else ++/* Avoid AIX compiler warning. */ ++typedef int dummy; ++#endif +--- lrzsz-0.12.20.safe/intl/plural.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/plural.c 2004-09-12 14:40:36.571411256 -0400 +@@ -0,0 +1,1490 @@ ++/* A Bison parser, made from plural.y ++ by GNU bison 1.35. */ ++ ++#define YYBISON 1 /* Identify Bison output. */ ++ ++#define yyparse __gettextparse ++#define yylex __gettextlex ++#define yyerror __gettexterror ++#define yylval __gettextlval ++#define yychar __gettextchar ++#define yydebug __gettextdebug ++#define yynerrs __gettextnerrs ++# define EQUOP2 257 ++# define CMPOP2 258 ++# define ADDOP2 259 ++# define MULOP2 260 ++# define NUMBER 261 ++ ++#line 1 "plural.y" ++ ++/* Expression parsing for plural form selection. ++ Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 2000. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* The bison generated parser uses alloca. AIX 3 forces us to put this ++ declaration at the beginning of the file. The declaration in bison's ++ skeleton file comes too late. This must come before ++ because may include arbitrary system headers. */ ++#if defined _AIX && !defined __GNUC__ ++ #pragma alloca ++#endif ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include "plural-exp.h" ++ ++/* The main function generated by the parser is called __gettextparse, ++ but we want it to be called PLURAL_PARSE. */ ++#ifndef _LIBC ++# define __gettextparse PLURAL_PARSE ++#endif ++ ++#define YYLEX_PARAM &((struct parse_args *) arg)->cp ++#define YYPARSE_PARAM arg ++ ++#line 49 "plural.y" ++#ifndef YYSTYPE ++typedef union { ++ unsigned long int num; ++ enum operator op; ++ struct expression *exp; ++} yystype; ++# define YYSTYPE yystype ++# define YYSTYPE_IS_TRIVIAL 1 ++#endif ++#line 55 "plural.y" ++ ++/* Prototypes for local functions. */ ++static int yylex (YYSTYPE *lval, const char **pexp); ++static void yyerror (const char *str); ++ ++/* Allocation of expressions. */ ++ ++static struct expression * ++new_exp (int nargs, enum operator op, struct expression * const *args) ++{ ++ int i; ++ struct expression *newp; ++ ++ /* If any of the argument could not be malloc'ed, just return NULL. */ ++ for (i = nargs - 1; i >= 0; i--) ++ if (args[i] == NULL) ++ goto fail; ++ ++ /* Allocate a new expression. */ ++ newp = (struct expression *) malloc (sizeof (*newp)); ++ if (newp != NULL) ++ { ++ newp->nargs = nargs; ++ newp->operation = op; ++ for (i = nargs - 1; i >= 0; i--) ++ newp->val.args[i] = args[i]; ++ return newp; ++ } ++ ++ fail: ++ for (i = nargs - 1; i >= 0; i--) ++ FREE_EXPRESSION (args[i]); ++ ++ return NULL; ++} ++ ++static inline struct expression * ++new_exp_0 (enum operator op) ++{ ++ return new_exp (0, op, NULL); ++} ++ ++static inline struct expression * ++new_exp_1 (enum operator op, struct expression *right) ++{ ++ struct expression *args[1]; ++ ++ args[0] = right; ++ return new_exp (1, op, args); ++} ++ ++static struct expression * ++new_exp_2 (enum operator op, struct expression *left, struct expression *right) ++{ ++ struct expression *args[2]; ++ ++ args[0] = left; ++ args[1] = right; ++ return new_exp (2, op, args); ++} ++ ++static inline struct expression * ++new_exp_3 (enum operator op, struct expression *bexp, ++ struct expression *tbranch, struct expression *fbranch) ++{ ++ struct expression *args[3]; ++ ++ args[0] = bexp; ++ args[1] = tbranch; ++ args[2] = fbranch; ++ return new_exp (3, op, args); ++} ++ ++#ifndef YYDEBUG ++# define YYDEBUG 0 ++#endif ++ ++ ++ ++#define YYFINAL 27 ++#define YYFLAG -32768 ++#define YYNTBASE 16 ++ ++/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */ ++#define YYTRANSLATE(x) ((unsigned)(x) <= 261 ? yytranslate[x] : 18) ++ ++/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */ ++static const char yytranslate[] = ++{ ++ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 10, 2, 2, 2, 2, 5, 2, ++ 14, 15, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 12, 2, ++ 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ++ 2, 2, 2, 2, 2, 2, 1, 6, 7, 8, ++ 9, 11 ++}; ++ ++#if YYDEBUG ++static const short yyprhs[] = ++{ ++ 0, 0, 2, 8, 12, 16, 20, 24, 28, 32, ++ 35, 37, 39 ++}; ++static const short yyrhs[] = ++{ ++ 17, 0, 17, 3, 17, 12, 17, 0, 17, 4, ++ 17, 0, 17, 5, 17, 0, 17, 6, 17, 0, ++ 17, 7, 17, 0, 17, 8, 17, 0, 17, 9, ++ 17, 0, 10, 17, 0, 13, 0, 11, 0, 14, ++ 17, 15, 0 ++}; ++ ++#endif ++ ++#if YYDEBUG ++/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ ++static const short yyrline[] = ++{ ++ 0, 150, 158, 162, 166, 170, 174, 178, 182, 186, ++ 190, 194, 199 ++}; ++#endif ++ ++ ++#if (YYDEBUG) || defined YYERROR_VERBOSE ++ ++/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */ ++static const char *const yytname[] = ++{ ++ "$", "error", "$undefined.", "'?'", "'|'", "'&'", "EQUOP2", "CMPOP2", ++ "ADDOP2", "MULOP2", "'!'", "NUMBER", "':'", "'n'", "'('", "')'", ++ "start", "exp", 0 ++}; ++#endif ++ ++/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ ++static const short yyr1[] = ++{ ++ 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, ++ 17, 17, 17 ++}; ++ ++/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ ++static const short yyr2[] = ++{ ++ 0, 1, 5, 3, 3, 3, 3, 3, 3, 2, ++ 1, 1, 3 ++}; ++ ++/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE ++ doesn't specify something else to do. Zero means the default is an ++ error. */ ++static const short yydefact[] = ++{ ++ 0, 0, 11, 10, 0, 1, 9, 0, 0, 0, ++ 0, 0, 0, 0, 0, 12, 0, 3, 4, 5, ++ 6, 7, 8, 0, 2, 0, 0, 0 ++}; ++ ++static const short yydefgoto[] = ++{ ++ 25, 5 ++}; ++ ++static const short yypact[] = ++{ ++ -9, -9,-32768,-32768, -9, 34,-32768, 11, -9, -9, ++ -9, -9, -9, -9, -9,-32768, 24, 39, 43, 16, ++ 26, -3,-32768, -9, 34, 21, 53,-32768 ++}; ++ ++static const short yypgoto[] = ++{ ++ -32768, -1 ++}; ++ ++ ++#define YYLAST 53 ++ ++ ++static const short yytable[] = ++{ ++ 6, 1, 2, 7, 3, 4, 14, 16, 17, 18, ++ 19, 20, 21, 22, 8, 9, 10, 11, 12, 13, ++ 14, 26, 24, 12, 13, 14, 15, 8, 9, 10, ++ 11, 12, 13, 14, 13, 14, 23, 8, 9, 10, ++ 11, 12, 13, 14, 10, 11, 12, 13, 14, 11, ++ 12, 13, 14, 27 ++}; ++ ++static const short yycheck[] = ++{ ++ 1, 10, 11, 4, 13, 14, 9, 8, 9, 10, ++ 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, ++ 9, 0, 23, 7, 8, 9, 15, 3, 4, 5, ++ 6, 7, 8, 9, 8, 9, 12, 3, 4, 5, ++ 6, 7, 8, 9, 5, 6, 7, 8, 9, 6, ++ 7, 8, 9, 0 ++}; ++#define YYPURE 1 ++ ++/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ ++#line 3 "/usr/local/share/bison/bison.simple" ++ ++/* Skeleton output parser for bison, ++ ++ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software ++ Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, ++ Boston, MA 02111-1307, USA. */ ++ ++/* As a special exception, when this file is copied by Bison into a ++ Bison output file, you may use that output file without restriction. ++ This special exception was added by the Free Software Foundation ++ in version 1.24 of Bison. */ ++ ++/* This is the parser code that is written into each bison parser when ++ the %semantic_parser declaration is not specified in the grammar. ++ It was written by Richard Stallman by simplifying the hairy parser ++ used when %semantic_parser is specified. */ ++ ++/* All symbols defined below should begin with yy or YY, to avoid ++ infringing on user name space. This should be done even for local ++ variables, as they might otherwise be expanded by user macros. ++ There are some unavoidable exceptions within include files to ++ define necessary library symbols; they are noted "INFRINGES ON ++ USER NAME SPACE" below. */ ++ ++#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE) ++ ++/* The parser invokes alloca or malloc; define the necessary symbols. */ ++ ++# if YYSTACK_USE_ALLOCA ++# define YYSTACK_ALLOC alloca ++# else ++# ifndef YYSTACK_USE_ALLOCA ++# if defined (alloca) || defined (_ALLOCA_H) ++# define YYSTACK_ALLOC alloca ++# else ++# ifdef __GNUC__ ++# define YYSTACK_ALLOC __builtin_alloca ++# endif ++# endif ++# endif ++# endif ++ ++# ifdef YYSTACK_ALLOC ++ /* Pacify GCC's `empty if-body' warning. */ ++# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) ++# else ++# if defined (__STDC__) || defined (__cplusplus) ++# include /* INFRINGES ON USER NAME SPACE */ ++# define YYSIZE_T size_t ++# endif ++# define YYSTACK_ALLOC malloc ++# define YYSTACK_FREE free ++# endif ++#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ ++ ++ ++#if (! defined (yyoverflow) \ ++ && (! defined (__cplusplus) \ ++ || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) ++ ++/* A type that is properly aligned for any stack member. */ ++union yyalloc ++{ ++ short yyss; ++ YYSTYPE yyvs; ++# if YYLSP_NEEDED ++ YYLTYPE yyls; ++# endif ++}; ++ ++/* The size of the maximum gap between one aligned stack and the next. */ ++# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) ++ ++/* The size of an array large to enough to hold all stacks, each with ++ N elements. */ ++# if YYLSP_NEEDED ++# define YYSTACK_BYTES(N) \ ++ ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ ++ + 2 * YYSTACK_GAP_MAX) ++# else ++# define YYSTACK_BYTES(N) \ ++ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ ++ + YYSTACK_GAP_MAX) ++# endif ++ ++/* Copy COUNT objects from FROM to TO. The source and destination do ++ not overlap. */ ++# ifndef YYCOPY ++# if 1 < __GNUC__ ++# define YYCOPY(To, From, Count) \ ++ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) ++# else ++# define YYCOPY(To, From, Count) \ ++ do \ ++ { \ ++ register YYSIZE_T yyi; \ ++ for (yyi = 0; yyi < (Count); yyi++) \ ++ (To)[yyi] = (From)[yyi]; \ ++ } \ ++ while (0) ++# endif ++# endif ++ ++/* Relocate STACK from its old location to the new one. The ++ local variables YYSIZE and YYSTACKSIZE give the old and new number of ++ elements in the stack, and YYPTR gives the new location of the ++ stack. Advance YYPTR to a properly aligned location for the next ++ stack. */ ++# define YYSTACK_RELOCATE(Stack) \ ++ do \ ++ { \ ++ YYSIZE_T yynewbytes; \ ++ YYCOPY (&yyptr->Stack, Stack, yysize); \ ++ Stack = &yyptr->Stack; \ ++ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ ++ yyptr += yynewbytes / sizeof (*yyptr); \ ++ } \ ++ while (0) ++ ++#endif ++ ++ ++#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) ++# define YYSIZE_T __SIZE_TYPE__ ++#endif ++#if ! defined (YYSIZE_T) && defined (size_t) ++# define YYSIZE_T size_t ++#endif ++#if ! defined (YYSIZE_T) ++# if defined (__STDC__) || defined (__cplusplus) ++# include /* INFRINGES ON USER NAME SPACE */ ++# define YYSIZE_T size_t ++# endif ++#endif ++#if ! defined (YYSIZE_T) ++# define YYSIZE_T unsigned int ++#endif ++ ++#define yyerrok (yyerrstatus = 0) ++#define yyclearin (yychar = YYEMPTY) ++#define YYEMPTY -2 ++#define YYEOF 0 ++#define YYACCEPT goto yyacceptlab ++#define YYABORT goto yyabortlab ++#define YYERROR goto yyerrlab1 ++/* Like YYERROR except do call yyerror. This remains here temporarily ++ to ease the transition to the new meaning of YYERROR, for GCC. ++ Once GCC version 2 has supplanted version 1, this can go. */ ++#define YYFAIL goto yyerrlab ++#define YYRECOVERING() (!!yyerrstatus) ++#define YYBACKUP(Token, Value) \ ++do \ ++ if (yychar == YYEMPTY && yylen == 1) \ ++ { \ ++ yychar = (Token); \ ++ yylval = (Value); \ ++ yychar1 = YYTRANSLATE (yychar); \ ++ YYPOPSTACK; \ ++ goto yybackup; \ ++ } \ ++ else \ ++ { \ ++ yyerror ("syntax error: cannot back up"); \ ++ YYERROR; \ ++ } \ ++while (0) ++ ++#define YYTERROR 1 ++#define YYERRCODE 256 ++ ++ ++/* YYLLOC_DEFAULT -- Compute the default location (before the actions ++ are run). ++ ++ When YYLLOC_DEFAULT is run, CURRENT is set the location of the ++ first token. By default, to implement support for ranges, extend ++ its range to the last symbol. */ ++ ++#ifndef YYLLOC_DEFAULT ++# define YYLLOC_DEFAULT(Current, Rhs, N) \ ++ Current.last_line = Rhs[N].last_line; \ ++ Current.last_column = Rhs[N].last_column; ++#endif ++ ++ ++/* YYLEX -- calling `yylex' with the right arguments. */ ++ ++#if YYPURE ++# if YYLSP_NEEDED ++# ifdef YYLEX_PARAM ++# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) ++# else ++# define YYLEX yylex (&yylval, &yylloc) ++# endif ++# else /* !YYLSP_NEEDED */ ++# ifdef YYLEX_PARAM ++# define YYLEX yylex (&yylval, YYLEX_PARAM) ++# else ++# define YYLEX yylex (&yylval) ++# endif ++# endif /* !YYLSP_NEEDED */ ++#else /* !YYPURE */ ++# define YYLEX yylex () ++#endif /* !YYPURE */ ++ ++ ++/* Enable debugging if requested. */ ++#if YYDEBUG ++ ++# ifndef YYFPRINTF ++# include /* INFRINGES ON USER NAME SPACE */ ++# define YYFPRINTF fprintf ++# endif ++ ++# define YYDPRINTF(Args) \ ++do { \ ++ if (yydebug) \ ++ YYFPRINTF Args; \ ++} while (0) ++/* Nonzero means print parse trace. It is left uninitialized so that ++ multiple parsers can coexist. */ ++int yydebug; ++#else /* !YYDEBUG */ ++# define YYDPRINTF(Args) ++#endif /* !YYDEBUG */ ++ ++/* YYINITDEPTH -- initial size of the parser's stacks. */ ++#ifndef YYINITDEPTH ++# define YYINITDEPTH 200 ++#endif ++ ++/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only ++ if the built-in stack extension method is used). ++ ++ Do not make this value too large; the results are undefined if ++ SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) ++ evaluated with infinite-precision integer arithmetic. */ ++ ++#if YYMAXDEPTH == 0 ++# undef YYMAXDEPTH ++#endif ++ ++#ifndef YYMAXDEPTH ++# define YYMAXDEPTH 10000 ++#endif ++ ++#ifdef YYERROR_VERBOSE ++ ++# ifndef yystrlen ++# if defined (__GLIBC__) && defined (_STRING_H) ++# define yystrlen strlen ++# else ++/* Return the length of YYSTR. */ ++static YYSIZE_T ++# if defined (__STDC__) || defined (__cplusplus) ++yystrlen (const char *yystr) ++# else ++yystrlen (yystr) ++ const char *yystr; ++# endif ++{ ++ register const char *yys = yystr; ++ ++ while (*yys++ != '\0') ++ continue; ++ ++ return yys - yystr - 1; ++} ++# endif ++# endif ++ ++# ifndef yystpcpy ++# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) ++# define yystpcpy stpcpy ++# else ++/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in ++ YYDEST. */ ++static char * ++# if defined (__STDC__) || defined (__cplusplus) ++yystpcpy (char *yydest, const char *yysrc) ++# else ++yystpcpy (yydest, yysrc) ++ char *yydest; ++ const char *yysrc; ++# endif ++{ ++ register char *yyd = yydest; ++ register const char *yys = yysrc; ++ ++ while ((*yyd++ = *yys++) != '\0') ++ continue; ++ ++ return yyd - 1; ++} ++# endif ++# endif ++#endif ++ ++#line 315 "/usr/local/share/bison/bison.simple" ++ ++ ++/* The user can define YYPARSE_PARAM as the name of an argument to be passed ++ into yyparse. The argument should have type void *. ++ It should actually point to an object. ++ Grammar actions can access the variable by casting it ++ to the proper pointer type. */ ++ ++#ifdef YYPARSE_PARAM ++# if defined (__STDC__) || defined (__cplusplus) ++# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM ++# define YYPARSE_PARAM_DECL ++# else ++# define YYPARSE_PARAM_ARG YYPARSE_PARAM ++# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; ++# endif ++#else /* !YYPARSE_PARAM */ ++# define YYPARSE_PARAM_ARG ++# define YYPARSE_PARAM_DECL ++#endif /* !YYPARSE_PARAM */ ++ ++/* Prevent warning if -Wstrict-prototypes. */ ++#ifdef __GNUC__ ++# ifdef YYPARSE_PARAM ++int yyparse (void *); ++# else ++int yyparse (void); ++# endif ++#endif ++ ++/* YY_DECL_VARIABLES -- depending whether we use a pure parser, ++ variables are global, or local to YYPARSE. */ ++ ++#define YY_DECL_NON_LSP_VARIABLES \ ++/* The lookahead symbol. */ \ ++int yychar; \ ++ \ ++/* The semantic value of the lookahead symbol. */ \ ++YYSTYPE yylval; \ ++ \ ++/* Number of parse errors so far. */ \ ++int yynerrs; ++ ++#if YYLSP_NEEDED ++# define YY_DECL_VARIABLES \ ++YY_DECL_NON_LSP_VARIABLES \ ++ \ ++/* Location data for the lookahead symbol. */ \ ++YYLTYPE yylloc; ++#else ++# define YY_DECL_VARIABLES \ ++YY_DECL_NON_LSP_VARIABLES ++#endif ++ ++ ++/* If nonreentrant, generate the variables here. */ ++ ++#if !YYPURE ++YY_DECL_VARIABLES ++#endif /* !YYPURE */ ++ ++int ++yyparse (YYPARSE_PARAM_ARG) ++ YYPARSE_PARAM_DECL ++{ ++ /* If reentrant, generate the variables here. */ ++#if YYPURE ++ YY_DECL_VARIABLES ++#endif /* !YYPURE */ ++ ++ register int yystate; ++ register int yyn; ++ int yyresult; ++ /* Number of tokens to shift before error messages enabled. */ ++ int yyerrstatus; ++ /* Lookahead token as an internal (translated) token number. */ ++ int yychar1 = 0; ++ ++ /* Three stacks and their tools: ++ `yyss': related to states, ++ `yyvs': related to semantic values, ++ `yyls': related to locations. ++ ++ Refer to the stacks thru separate pointers, to allow yyoverflow ++ to reallocate them elsewhere. */ ++ ++ /* The state stack. */ ++ short yyssa[YYINITDEPTH]; ++ short *yyss = yyssa; ++ register short *yyssp; ++ ++ /* The semantic value stack. */ ++ YYSTYPE yyvsa[YYINITDEPTH]; ++ YYSTYPE *yyvs = yyvsa; ++ register YYSTYPE *yyvsp; ++ ++#if YYLSP_NEEDED ++ /* The location stack. */ ++ YYLTYPE yylsa[YYINITDEPTH]; ++ YYLTYPE *yyls = yylsa; ++ YYLTYPE *yylsp; ++#endif ++ ++#if YYLSP_NEEDED ++# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) ++#else ++# define YYPOPSTACK (yyvsp--, yyssp--) ++#endif ++ ++ YYSIZE_T yystacksize = YYINITDEPTH; ++ ++ ++ /* The variables used to return semantic value and location from the ++ action routines. */ ++ YYSTYPE yyval; ++#if YYLSP_NEEDED ++ YYLTYPE yyloc; ++#endif ++ ++ /* When reducing, the number of symbols on the RHS of the reduced ++ rule. */ ++ int yylen; ++ ++ YYDPRINTF ((stderr, "Starting parse\n")); ++ ++ yystate = 0; ++ yyerrstatus = 0; ++ yynerrs = 0; ++ yychar = YYEMPTY; /* Cause a token to be read. */ ++ ++ /* Initialize stack pointers. ++ Waste one element of value and location stack ++ so that they stay on the same level as the state stack. ++ The wasted elements are never initialized. */ ++ ++ yyssp = yyss; ++ yyvsp = yyvs; ++#if YYLSP_NEEDED ++ yylsp = yyls; ++#endif ++ goto yysetstate; ++ ++/*------------------------------------------------------------. ++| yynewstate -- Push a new state, which is found in yystate. | ++`------------------------------------------------------------*/ ++ yynewstate: ++ /* In all cases, when you get here, the value and location stacks ++ have just been pushed. so pushing a state here evens the stacks. ++ */ ++ yyssp++; ++ ++ yysetstate: ++ *yyssp = yystate; ++ ++ if (yyssp >= yyss + yystacksize - 1) ++ { ++ /* Get the current used size of the three stacks, in elements. */ ++ YYSIZE_T yysize = yyssp - yyss + 1; ++ ++#ifdef yyoverflow ++ { ++ /* Give user a chance to reallocate the stack. Use copies of ++ these so that the &'s don't force the real ones into ++ memory. */ ++ YYSTYPE *yyvs1 = yyvs; ++ short *yyss1 = yyss; ++ ++ /* Each stack pointer address is followed by the size of the ++ data in use in that stack, in bytes. */ ++# if YYLSP_NEEDED ++ YYLTYPE *yyls1 = yyls; ++ /* This used to be a conditional around just the two extra args, ++ but that might be undefined if yyoverflow is a macro. */ ++ yyoverflow ("parser stack overflow", ++ &yyss1, yysize * sizeof (*yyssp), ++ &yyvs1, yysize * sizeof (*yyvsp), ++ &yyls1, yysize * sizeof (*yylsp), ++ &yystacksize); ++ yyls = yyls1; ++# else ++ yyoverflow ("parser stack overflow", ++ &yyss1, yysize * sizeof (*yyssp), ++ &yyvs1, yysize * sizeof (*yyvsp), ++ &yystacksize); ++# endif ++ yyss = yyss1; ++ yyvs = yyvs1; ++ } ++#else /* no yyoverflow */ ++# ifndef YYSTACK_RELOCATE ++ goto yyoverflowlab; ++# else ++ /* Extend the stack our own way. */ ++ if (yystacksize >= YYMAXDEPTH) ++ goto yyoverflowlab; ++ yystacksize *= 2; ++ if (yystacksize > YYMAXDEPTH) ++ yystacksize = YYMAXDEPTH; ++ ++ { ++ short *yyss1 = yyss; ++ union yyalloc *yyptr = ++ (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); ++ if (! yyptr) ++ goto yyoverflowlab; ++ YYSTACK_RELOCATE (yyss); ++ YYSTACK_RELOCATE (yyvs); ++# if YYLSP_NEEDED ++ YYSTACK_RELOCATE (yyls); ++# endif ++# undef YYSTACK_RELOCATE ++ if (yyss1 != yyssa) ++ YYSTACK_FREE (yyss1); ++ } ++# endif ++#endif /* no yyoverflow */ ++ ++ yyssp = yyss + yysize - 1; ++ yyvsp = yyvs + yysize - 1; ++#if YYLSP_NEEDED ++ yylsp = yyls + yysize - 1; ++#endif ++ ++ YYDPRINTF ((stderr, "Stack size increased to %lu\n", ++ (unsigned long int) yystacksize)); ++ ++ if (yyssp >= yyss + yystacksize - 1) ++ YYABORT; ++ } ++ ++ YYDPRINTF ((stderr, "Entering state %d\n", yystate)); ++ ++ goto yybackup; ++ ++ ++/*-----------. ++| yybackup. | ++`-----------*/ ++yybackup: ++ ++/* Do appropriate processing given the current state. */ ++/* Read a lookahead token if we need one and don't already have one. */ ++/* yyresume: */ ++ ++ /* First try to decide what to do without reference to lookahead token. */ ++ ++ yyn = yypact[yystate]; ++ if (yyn == YYFLAG) ++ goto yydefault; ++ ++ /* Not known => get a lookahead token if don't already have one. */ ++ ++ /* yychar is either YYEMPTY or YYEOF ++ or a valid token in external form. */ ++ ++ if (yychar == YYEMPTY) ++ { ++ YYDPRINTF ((stderr, "Reading a token: ")); ++ yychar = YYLEX; ++ } ++ ++ /* Convert token to internal form (in yychar1) for indexing tables with */ ++ ++ if (yychar <= 0) /* This means end of input. */ ++ { ++ yychar1 = 0; ++ yychar = YYEOF; /* Don't call YYLEX any more */ ++ ++ YYDPRINTF ((stderr, "Now at end of input.\n")); ++ } ++ else ++ { ++ yychar1 = YYTRANSLATE (yychar); ++ ++#if YYDEBUG ++ /* We have to keep this `#if YYDEBUG', since we use variables ++ which are defined only if `YYDEBUG' is set. */ ++ if (yydebug) ++ { ++ YYFPRINTF (stderr, "Next token is %d (%s", ++ yychar, yytname[yychar1]); ++ /* Give the individual parser a way to print the precise ++ meaning of a token, for further debugging info. */ ++# ifdef YYPRINT ++ YYPRINT (stderr, yychar, yylval); ++# endif ++ YYFPRINTF (stderr, ")\n"); ++ } ++#endif ++ } ++ ++ yyn += yychar1; ++ if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) ++ goto yydefault; ++ ++ yyn = yytable[yyn]; ++ ++ /* yyn is what to do for this token type in this state. ++ Negative => reduce, -yyn is rule number. ++ Positive => shift, yyn is new state. ++ New state is final state => don't bother to shift, ++ just return success. ++ 0, or most negative number => error. */ ++ ++ if (yyn < 0) ++ { ++ if (yyn == YYFLAG) ++ goto yyerrlab; ++ yyn = -yyn; ++ goto yyreduce; ++ } ++ else if (yyn == 0) ++ goto yyerrlab; ++ ++ if (yyn == YYFINAL) ++ YYACCEPT; ++ ++ /* Shift the lookahead token. */ ++ YYDPRINTF ((stderr, "Shifting token %d (%s), ", ++ yychar, yytname[yychar1])); ++ ++ /* Discard the token being shifted unless it is eof. */ ++ if (yychar != YYEOF) ++ yychar = YYEMPTY; ++ ++ *++yyvsp = yylval; ++#if YYLSP_NEEDED ++ *++yylsp = yylloc; ++#endif ++ ++ /* Count tokens shifted since error; after three, turn off error ++ status. */ ++ if (yyerrstatus) ++ yyerrstatus--; ++ ++ yystate = yyn; ++ goto yynewstate; ++ ++ ++/*-----------------------------------------------------------. ++| yydefault -- do the default action for the current state. | ++`-----------------------------------------------------------*/ ++yydefault: ++ yyn = yydefact[yystate]; ++ if (yyn == 0) ++ goto yyerrlab; ++ goto yyreduce; ++ ++ ++/*-----------------------------. ++| yyreduce -- Do a reduction. | ++`-----------------------------*/ ++yyreduce: ++ /* yyn is the number of a rule to reduce with. */ ++ yylen = yyr2[yyn]; ++ ++ /* If YYLEN is nonzero, implement the default value of the action: ++ `$$ = $1'. ++ ++ Otherwise, the following line sets YYVAL to the semantic value of ++ the lookahead token. This behavior is undocumented and Bison ++ users should not rely upon it. Assigning to YYVAL ++ unconditionally makes the parser a bit smaller, and it avoids a ++ GCC warning that YYVAL may be used uninitialized. */ ++ yyval = yyvsp[1-yylen]; ++ ++#if YYLSP_NEEDED ++ /* Similarly for the default location. Let the user run additional ++ commands if for instance locations are ranges. */ ++ yyloc = yylsp[1-yylen]; ++ YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); ++#endif ++ ++#if YYDEBUG ++ /* We have to keep this `#if YYDEBUG', since we use variables which ++ are defined only if `YYDEBUG' is set. */ ++ if (yydebug) ++ { ++ int yyi; ++ ++ YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", ++ yyn, yyrline[yyn]); ++ ++ /* Print the symbols being reduced, and their result. */ ++ for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) ++ YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); ++ YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); ++ } ++#endif ++ ++ switch (yyn) { ++ ++case 1: ++#line 151 "plural.y" ++{ ++ if (yyvsp[0].exp == NULL) ++ YYABORT; ++ ((struct parse_args *) arg)->res = yyvsp[0].exp; ++ } ++ break; ++case 2: ++#line 159 "plural.y" ++{ ++ yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 3: ++#line 163 "plural.y" ++{ ++ yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 4: ++#line 167 "plural.y" ++{ ++ yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 5: ++#line 171 "plural.y" ++{ ++ yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 6: ++#line 175 "plural.y" ++{ ++ yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 7: ++#line 179 "plural.y" ++{ ++ yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 8: ++#line 183 "plural.y" ++{ ++ yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); ++ } ++ break; ++case 9: ++#line 187 "plural.y" ++{ ++ yyval.exp = new_exp_1 (lnot, yyvsp[0].exp); ++ } ++ break; ++case 10: ++#line 191 "plural.y" ++{ ++ yyval.exp = new_exp_0 (var); ++ } ++ break; ++case 11: ++#line 195 "plural.y" ++{ ++ if ((yyval.exp = new_exp_0 (num)) != NULL) ++ yyval.exp->val.num = yyvsp[0].num; ++ } ++ break; ++case 12: ++#line 200 "plural.y" ++{ ++ yyval.exp = yyvsp[-1].exp; ++ } ++ break; ++} ++ ++#line 705 "/usr/local/share/bison/bison.simple" ++ ++ ++ yyvsp -= yylen; ++ yyssp -= yylen; ++#if YYLSP_NEEDED ++ yylsp -= yylen; ++#endif ++ ++#if YYDEBUG ++ if (yydebug) ++ { ++ short *yyssp1 = yyss - 1; ++ YYFPRINTF (stderr, "state stack now"); ++ while (yyssp1 != yyssp) ++ YYFPRINTF (stderr, " %d", *++yyssp1); ++ YYFPRINTF (stderr, "\n"); ++ } ++#endif ++ ++ *++yyvsp = yyval; ++#if YYLSP_NEEDED ++ *++yylsp = yyloc; ++#endif ++ ++ /* Now `shift' the result of the reduction. Determine what state ++ that goes to, based on the state we popped back to and the rule ++ number reduced by. */ ++ ++ yyn = yyr1[yyn]; ++ ++ yystate = yypgoto[yyn - YYNTBASE] + *yyssp; ++ if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) ++ yystate = yytable[yystate]; ++ else ++ yystate = yydefgoto[yyn - YYNTBASE]; ++ ++ goto yynewstate; ++ ++ ++/*------------------------------------. ++| yyerrlab -- here on detecting error | ++`------------------------------------*/ ++yyerrlab: ++ /* If not already recovering from an error, report this error. */ ++ if (!yyerrstatus) ++ { ++ ++yynerrs; ++ ++#ifdef YYERROR_VERBOSE ++ yyn = yypact[yystate]; ++ ++ if (yyn > YYFLAG && yyn < YYLAST) ++ { ++ YYSIZE_T yysize = 0; ++ char *yymsg; ++ int yyx, yycount; ++ ++ yycount = 0; ++ /* Start YYX at -YYN if negative to avoid negative indexes in ++ YYCHECK. */ ++ for (yyx = yyn < 0 ? -yyn : 0; ++ yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) ++ if (yycheck[yyx + yyn] == yyx) ++ yysize += yystrlen (yytname[yyx]) + 15, yycount++; ++ yysize += yystrlen ("parse error, unexpected ") + 1; ++ yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); ++ yymsg = (char *) YYSTACK_ALLOC (yysize); ++ if (yymsg != 0) ++ { ++ char *yyp = yystpcpy (yymsg, "parse error, unexpected "); ++ yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); ++ ++ if (yycount < 5) ++ { ++ yycount = 0; ++ for (yyx = yyn < 0 ? -yyn : 0; ++ yyx < (int) (sizeof (yytname) / sizeof (char *)); ++ yyx++) ++ if (yycheck[yyx + yyn] == yyx) ++ { ++ const char *yyq = ! yycount ? ", expecting " : " or "; ++ yyp = yystpcpy (yyp, yyq); ++ yyp = yystpcpy (yyp, yytname[yyx]); ++ yycount++; ++ } ++ } ++ yyerror (yymsg); ++ YYSTACK_FREE (yymsg); ++ } ++ else ++ yyerror ("parse error; also virtual memory exhausted"); ++ } ++ else ++#endif /* defined (YYERROR_VERBOSE) */ ++ yyerror ("parse error"); ++ } ++ goto yyerrlab1; ++ ++ ++/*--------------------------------------------------. ++| yyerrlab1 -- error raised explicitly by an action | ++`--------------------------------------------------*/ ++yyerrlab1: ++ if (yyerrstatus == 3) ++ { ++ /* If just tried and failed to reuse lookahead token after an ++ error, discard it. */ ++ ++ /* return failure if at end of input */ ++ if (yychar == YYEOF) ++ YYABORT; ++ YYDPRINTF ((stderr, "Discarding token %d (%s).\n", ++ yychar, yytname[yychar1])); ++ yychar = YYEMPTY; ++ } ++ ++ /* Else will try to reuse lookahead token after shifting the error ++ token. */ ++ ++ yyerrstatus = 3; /* Each real token shifted decrements this */ ++ ++ goto yyerrhandle; ++ ++ ++/*-------------------------------------------------------------------. ++| yyerrdefault -- current state does not do anything special for the | ++| error token. | ++`-------------------------------------------------------------------*/ ++yyerrdefault: ++#if 0 ++ /* This is wrong; only states that explicitly want error tokens ++ should shift them. */ ++ ++ /* If its default is to accept any token, ok. Otherwise pop it. */ ++ yyn = yydefact[yystate]; ++ if (yyn) ++ goto yydefault; ++#endif ++ ++ ++/*---------------------------------------------------------------. ++| yyerrpop -- pop the current state because it cannot handle the | ++| error token | ++`---------------------------------------------------------------*/ ++yyerrpop: ++ if (yyssp == yyss) ++ YYABORT; ++ yyvsp--; ++ yystate = *--yyssp; ++#if YYLSP_NEEDED ++ yylsp--; ++#endif ++ ++#if YYDEBUG ++ if (yydebug) ++ { ++ short *yyssp1 = yyss - 1; ++ YYFPRINTF (stderr, "Error: state stack now"); ++ while (yyssp1 != yyssp) ++ YYFPRINTF (stderr, " %d", *++yyssp1); ++ YYFPRINTF (stderr, "\n"); ++ } ++#endif ++ ++/*--------------. ++| yyerrhandle. | ++`--------------*/ ++yyerrhandle: ++ yyn = yypact[yystate]; ++ if (yyn == YYFLAG) ++ goto yyerrdefault; ++ ++ yyn += YYTERROR; ++ if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) ++ goto yyerrdefault; ++ ++ yyn = yytable[yyn]; ++ if (yyn < 0) ++ { ++ if (yyn == YYFLAG) ++ goto yyerrpop; ++ yyn = -yyn; ++ goto yyreduce; ++ } ++ else if (yyn == 0) ++ goto yyerrpop; ++ ++ if (yyn == YYFINAL) ++ YYACCEPT; ++ ++ YYDPRINTF ((stderr, "Shifting error token, ")); ++ ++ *++yyvsp = yylval; ++#if YYLSP_NEEDED ++ *++yylsp = yylloc; ++#endif ++ ++ yystate = yyn; ++ goto yynewstate; ++ ++ ++/*-------------------------------------. ++| yyacceptlab -- YYACCEPT comes here. | ++`-------------------------------------*/ ++yyacceptlab: ++ yyresult = 0; ++ goto yyreturn; ++ ++/*-----------------------------------. ++| yyabortlab -- YYABORT comes here. | ++`-----------------------------------*/ ++yyabortlab: ++ yyresult = 1; ++ goto yyreturn; ++ ++/*---------------------------------------------. ++| yyoverflowab -- parser overflow comes here. | ++`---------------------------------------------*/ ++yyoverflowlab: ++ yyerror ("parser stack overflow"); ++ yyresult = 2; ++ /* Fall through. */ ++ ++yyreturn: ++#ifndef yyoverflow ++ if (yyss != yyssa) ++ YYSTACK_FREE (yyss); ++#endif ++ return yyresult; ++} ++#line 205 "plural.y" ++ ++ ++void ++internal_function ++FREE_EXPRESSION (struct expression *exp) ++{ ++ if (exp == NULL) ++ return; ++ ++ /* Handle the recursive case. */ ++ switch (exp->nargs) ++ { ++ case 3: ++ FREE_EXPRESSION (exp->val.args[2]); ++ /* FALLTHROUGH */ ++ case 2: ++ FREE_EXPRESSION (exp->val.args[1]); ++ /* FALLTHROUGH */ ++ case 1: ++ FREE_EXPRESSION (exp->val.args[0]); ++ /* FALLTHROUGH */ ++ default: ++ break; ++ } ++ ++ free (exp); ++} ++ ++ ++static int ++yylex (YYSTYPE *lval, const char **pexp) ++{ ++ const char *exp = *pexp; ++ int result; ++ ++ while (1) ++ { ++ if (exp[0] == '\0') ++ { ++ *pexp = exp; ++ return YYEOF; ++ } ++ ++ if (exp[0] != ' ' && exp[0] != '\t') ++ break; ++ ++ ++exp; ++ } ++ ++ result = *exp++; ++ switch (result) ++ { ++ case '0': case '1': case '2': case '3': case '4': ++ case '5': case '6': case '7': case '8': case '9': ++ { ++ unsigned long int n = result - '0'; ++ while (exp[0] >= '0' && exp[0] <= '9') ++ { ++ n *= 10; ++ n += exp[0] - '0'; ++ ++exp; ++ } ++ lval->num = n; ++ result = NUMBER; ++ } ++ break; ++ ++ case '=': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = equal; ++ result = EQUOP2; ++ } ++ else ++ result = YYERRCODE; ++ break; ++ ++ case '!': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = not_equal; ++ result = EQUOP2; ++ } ++ break; ++ ++ case '&': ++ case '|': ++ if (exp[0] == result) ++ ++exp; ++ else ++ result = YYERRCODE; ++ break; ++ ++ case '<': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = less_or_equal; ++ } ++ else ++ lval->op = less_than; ++ result = CMPOP2; ++ break; ++ ++ case '>': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = greater_or_equal; ++ } ++ else ++ lval->op = greater_than; ++ result = CMPOP2; ++ break; ++ ++ case '*': ++ lval->op = mult; ++ result = MULOP2; ++ break; ++ ++ case '/': ++ lval->op = divide; ++ result = MULOP2; ++ break; ++ ++ case '%': ++ lval->op = module; ++ result = MULOP2; ++ break; ++ ++ case '+': ++ lval->op = plus; ++ result = ADDOP2; ++ break; ++ ++ case '-': ++ lval->op = minus; ++ result = ADDOP2; ++ break; ++ ++ case 'n': ++ case '?': ++ case ':': ++ case '(': ++ case ')': ++ /* Nothing, just return the character. */ ++ break; ++ ++ case ';': ++ case '\n': ++ case '\0': ++ /* Be safe and let the user call this function again. */ ++ --exp; ++ result = YYEOF; ++ break; ++ ++ default: ++ result = YYERRCODE; ++#if YYDEBUG != 0 ++ --exp; ++#endif ++ break; ++ } ++ ++ *pexp = exp; ++ ++ return result; ++} ++ ++ ++static void ++yyerror (const char *str) ++{ ++ /* Do nothing. We don't print error messages here. */ ++} +--- lrzsz-0.12.20.safe/intl/plural-exp.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/plural-exp.c 2004-09-12 14:40:34.578714192 -0400 +@@ -0,0 +1,154 @@ ++/* Expression parsing for plural form selection. ++ Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 2000. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include ++ ++#include "plural-exp.h" ++ ++#if (defined __GNUC__ && !defined __APPLE_CC__) \ ++ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) ++ ++/* These structs are the constant expression for the germanic plural ++ form determination. It represents the expression "n != 1". */ ++static const struct expression plvar = ++{ ++ .nargs = 0, ++ .operation = var, ++}; ++static const struct expression plone = ++{ ++ .nargs = 0, ++ .operation = num, ++ .val = ++ { ++ .num = 1 ++ } ++}; ++struct expression GERMANIC_PLURAL = ++{ ++ .nargs = 2, ++ .operation = not_equal, ++ .val = ++ { ++ .args = ++ { ++ [0] = (struct expression *) &plvar, ++ [1] = (struct expression *) &plone ++ } ++ } ++}; ++ ++# define INIT_GERMANIC_PLURAL() ++ ++#else ++ ++/* For compilers without support for ISO C 99 struct/union initializers: ++ Initialization at run-time. */ ++ ++static struct expression plvar; ++static struct expression plone; ++struct expression GERMANIC_PLURAL; ++ ++static void ++init_germanic_plural () ++{ ++ if (plone.val.num == 0) ++ { ++ plvar.nargs = 0; ++ plvar.operation = var; ++ ++ plone.nargs = 0; ++ plone.operation = num; ++ plone.val.num = 1; ++ ++ GERMANIC_PLURAL.nargs = 2; ++ GERMANIC_PLURAL.operation = not_equal; ++ GERMANIC_PLURAL.val.args[0] = &plvar; ++ GERMANIC_PLURAL.val.args[1] = &plone; ++ } ++} ++ ++# define INIT_GERMANIC_PLURAL() init_germanic_plural () ++ ++#endif ++ ++void ++internal_function ++EXTRACT_PLURAL_EXPRESSION (const char *nullentry, struct expression **pluralp, ++ unsigned long int *npluralsp) ++{ ++ if (nullentry != NULL) ++ { ++ const char *plural; ++ const char *nplurals; ++ ++ plural = strstr (nullentry, "plural="); ++ nplurals = strstr (nullentry, "nplurals="); ++ if (plural == NULL || nplurals == NULL) ++ goto no_plural; ++ else ++ { ++ char *endp; ++ unsigned long int n; ++ struct parse_args args; ++ ++ /* First get the number. */ ++ nplurals += 9; ++ while (*nplurals != '\0' && isspace ((unsigned char) *nplurals)) ++ ++nplurals; ++ if (!(*nplurals >= '0' && *nplurals <= '9')) ++ goto no_plural; ++#if defined HAVE_STRTOUL || defined _LIBC ++ n = strtoul (nplurals, &endp, 10); ++#else ++ for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) ++ n = n * 10 + (*endp - '0'); ++#endif ++ if (nplurals == endp) ++ goto no_plural; ++ *npluralsp = n; ++ ++ /* Due to the restrictions bison imposes onto the interface of the ++ scanner function we have to put the input string and the result ++ passed up from the parser into the same structure which address ++ is passed down to the parser. */ ++ plural += 7; ++ args.cp = plural; ++ if (PLURAL_PARSE (&args) != 0) ++ goto no_plural; ++ *pluralp = args.res; ++ } ++ } ++ else ++ { ++ /* By default we are using the Germanic form: singular form only ++ for `one', the plural form otherwise. Yes, this is also what ++ English is using since English is a Germanic language. */ ++ no_plural: ++ INIT_GERMANIC_PLURAL (); ++ *pluralp = &GERMANIC_PLURAL; ++ *npluralsp = 2; ++ } ++} +--- lrzsz-0.12.20.safe/intl/plural-exp.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/plural-exp.h 2004-09-12 14:40:34.584713280 -0400 +@@ -0,0 +1,118 @@ ++/* Expression parsing and evaluation for plural form selection. ++ Copyright (C) 2000-2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 2000. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _PLURAL_EXP_H ++#define _PLURAL_EXP_H ++ ++#ifndef internal_function ++# define internal_function ++#endif ++ ++#ifndef attribute_hidden ++# define attribute_hidden ++#endif ++ ++ ++/* This is the representation of the expressions to determine the ++ plural form. */ ++struct expression ++{ ++ int nargs; /* Number of arguments. */ ++ enum operator ++ { ++ /* Without arguments: */ ++ var, /* The variable "n". */ ++ num, /* Decimal number. */ ++ /* Unary operators: */ ++ lnot, /* Logical NOT. */ ++ /* Binary operators: */ ++ mult, /* Multiplication. */ ++ divide, /* Division. */ ++ module, /* Modulo operation. */ ++ plus, /* Addition. */ ++ minus, /* Subtraction. */ ++ less_than, /* Comparison. */ ++ greater_than, /* Comparison. */ ++ less_or_equal, /* Comparison. */ ++ greater_or_equal, /* Comparison. */ ++ equal, /* Comparison for equality. */ ++ not_equal, /* Comparison for inequality. */ ++ land, /* Logical AND. */ ++ lor, /* Logical OR. */ ++ /* Ternary operators: */ ++ qmop /* Question mark operator. */ ++ } operation; ++ union ++ { ++ unsigned long int num; /* Number value for `num'. */ ++ struct expression *args[3]; /* Up to three arguments. */ ++ } val; ++}; ++ ++/* This is the data structure to pass information to the parser and get ++ the result in a thread-safe way. */ ++struct parse_args ++{ ++ const char *cp; ++ struct expression *res; ++}; ++ ++ ++/* Names for the libintl functions are a problem. This source code is used ++ 1. in the GNU C Library library, ++ 2. in the GNU libintl library, ++ 3. in the GNU gettext tools. ++ The function names in each situation must be different, to allow for ++ binary incompatible changes in 'struct expression'. Furthermore, ++ 1. in the GNU C Library library, the names have a __ prefix, ++ 2.+3. in the GNU libintl library and in the GNU gettext tools, the names ++ must follow ANSI C and not start with __. ++ So we have to distinguish the three cases. */ ++#ifdef _LIBC ++# define FREE_EXPRESSION __gettext_free_exp ++# define PLURAL_PARSE __gettextparse ++# define GERMANIC_PLURAL __gettext_germanic_plural ++# define EXTRACT_PLURAL_EXPRESSION __gettext_extract_plural ++#elif defined (IN_LIBINTL) ++# define FREE_EXPRESSION libintl_gettext_free_exp ++# define PLURAL_PARSE libintl_gettextparse ++# define GERMANIC_PLURAL libintl_gettext_germanic_plural ++# define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural ++#else ++# define FREE_EXPRESSION free_plural_expression ++# define PLURAL_PARSE parse_plural_expression ++# define GERMANIC_PLURAL germanic_plural ++# define EXTRACT_PLURAL_EXPRESSION extract_plural_expression ++#endif ++ ++extern void FREE_EXPRESSION (struct expression *exp) ++ internal_function; ++extern int PLURAL_PARSE (void *arg); ++extern struct expression GERMANIC_PLURAL attribute_hidden; ++extern void EXTRACT_PLURAL_EXPRESSION (const char *nullentry, ++ struct expression **pluralp, ++ unsigned long int *npluralsp) ++ internal_function; ++ ++#if !defined (_LIBC) && !defined (IN_LIBINTL) ++extern unsigned long int plural_eval (struct expression *pexp, ++ unsigned long int n); ++#endif ++ ++#endif /* _PLURAL_EXP_H */ +--- lrzsz-0.12.20.safe/intl/plural.y 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/plural.y 2004-09-12 14:40:34.589712520 -0400 +@@ -0,0 +1,381 @@ ++%{ ++/* Expression parsing for plural form selection. ++ Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. ++ Written by Ulrich Drepper , 2000. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* The bison generated parser uses alloca. AIX 3 forces us to put this ++ declaration at the beginning of the file. The declaration in bison's ++ skeleton file comes too late. This must come before ++ because may include arbitrary system headers. */ ++#if defined _AIX && !defined __GNUC__ ++ #pragma alloca ++#endif ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include "plural-exp.h" ++ ++/* The main function generated by the parser is called __gettextparse, ++ but we want it to be called PLURAL_PARSE. */ ++#ifndef _LIBC ++# define __gettextparse PLURAL_PARSE ++#endif ++ ++#define YYLEX_PARAM &((struct parse_args *) arg)->cp ++#define YYPARSE_PARAM arg ++%} ++%pure_parser ++%expect 7 ++ ++%union { ++ unsigned long int num; ++ enum operator op; ++ struct expression *exp; ++} ++ ++%{ ++/* Prototypes for local functions. */ ++static int yylex (YYSTYPE *lval, const char **pexp); ++static void yyerror (const char *str); ++ ++/* Allocation of expressions. */ ++ ++static struct expression * ++new_exp (int nargs, enum operator op, struct expression * const *args) ++{ ++ int i; ++ struct expression *newp; ++ ++ /* If any of the argument could not be malloc'ed, just return NULL. */ ++ for (i = nargs - 1; i >= 0; i--) ++ if (args[i] == NULL) ++ goto fail; ++ ++ /* Allocate a new expression. */ ++ newp = (struct expression *) malloc (sizeof (*newp)); ++ if (newp != NULL) ++ { ++ newp->nargs = nargs; ++ newp->operation = op; ++ for (i = nargs - 1; i >= 0; i--) ++ newp->val.args[i] = args[i]; ++ return newp; ++ } ++ ++ fail: ++ for (i = nargs - 1; i >= 0; i--) ++ FREE_EXPRESSION (args[i]); ++ ++ return NULL; ++} ++ ++static inline struct expression * ++new_exp_0 (enum operator op) ++{ ++ return new_exp (0, op, NULL); ++} ++ ++static inline struct expression * ++new_exp_1 (enum operator op, struct expression *right) ++{ ++ struct expression *args[1]; ++ ++ args[0] = right; ++ return new_exp (1, op, args); ++} ++ ++static struct expression * ++new_exp_2 (enum operator op, struct expression *left, struct expression *right) ++{ ++ struct expression *args[2]; ++ ++ args[0] = left; ++ args[1] = right; ++ return new_exp (2, op, args); ++} ++ ++static inline struct expression * ++new_exp_3 (enum operator op, struct expression *bexp, ++ struct expression *tbranch, struct expression *fbranch) ++{ ++ struct expression *args[3]; ++ ++ args[0] = bexp; ++ args[1] = tbranch; ++ args[2] = fbranch; ++ return new_exp (3, op, args); ++} ++ ++%} ++ ++/* This declares that all operators have the same associativity and the ++ precedence order as in C. See [Harbison, Steele: C, A Reference Manual]. ++ There is no unary minus and no bitwise operators. ++ Operators with the same syntactic behaviour have been merged into a single ++ token, to save space in the array generated by bison. */ ++%right '?' /* ? */ ++%left '|' /* || */ ++%left '&' /* && */ ++%left EQUOP2 /* == != */ ++%left CMPOP2 /* < > <= >= */ ++%left ADDOP2 /* + - */ ++%left MULOP2 /* * / % */ ++%right '!' /* ! */ ++ ++%token EQUOP2 CMPOP2 ADDOP2 MULOP2 ++%token NUMBER ++%type exp ++ ++%% ++ ++start: exp ++ { ++ if ($1 == NULL) ++ YYABORT; ++ ((struct parse_args *) arg)->res = $1; ++ } ++ ; ++ ++exp: exp '?' exp ':' exp ++ { ++ $$ = new_exp_3 (qmop, $1, $3, $5); ++ } ++ | exp '|' exp ++ { ++ $$ = new_exp_2 (lor, $1, $3); ++ } ++ | exp '&' exp ++ { ++ $$ = new_exp_2 (land, $1, $3); ++ } ++ | exp EQUOP2 exp ++ { ++ $$ = new_exp_2 ($2, $1, $3); ++ } ++ | exp CMPOP2 exp ++ { ++ $$ = new_exp_2 ($2, $1, $3); ++ } ++ | exp ADDOP2 exp ++ { ++ $$ = new_exp_2 ($2, $1, $3); ++ } ++ | exp MULOP2 exp ++ { ++ $$ = new_exp_2 ($2, $1, $3); ++ } ++ | '!' exp ++ { ++ $$ = new_exp_1 (lnot, $2); ++ } ++ | 'n' ++ { ++ $$ = new_exp_0 (var); ++ } ++ | NUMBER ++ { ++ if (($$ = new_exp_0 (num)) != NULL) ++ $$->val.num = $1; ++ } ++ | '(' exp ')' ++ { ++ $$ = $2; ++ } ++ ; ++ ++%% ++ ++void ++internal_function ++FREE_EXPRESSION (struct expression *exp) ++{ ++ if (exp == NULL) ++ return; ++ ++ /* Handle the recursive case. */ ++ switch (exp->nargs) ++ { ++ case 3: ++ FREE_EXPRESSION (exp->val.args[2]); ++ /* FALLTHROUGH */ ++ case 2: ++ FREE_EXPRESSION (exp->val.args[1]); ++ /* FALLTHROUGH */ ++ case 1: ++ FREE_EXPRESSION (exp->val.args[0]); ++ /* FALLTHROUGH */ ++ default: ++ break; ++ } ++ ++ free (exp); ++} ++ ++ ++static int ++yylex (YYSTYPE *lval, const char **pexp) ++{ ++ const char *exp = *pexp; ++ int result; ++ ++ while (1) ++ { ++ if (exp[0] == '\0') ++ { ++ *pexp = exp; ++ return YYEOF; ++ } ++ ++ if (exp[0] != ' ' && exp[0] != '\t') ++ break; ++ ++ ++exp; ++ } ++ ++ result = *exp++; ++ switch (result) ++ { ++ case '0': case '1': case '2': case '3': case '4': ++ case '5': case '6': case '7': case '8': case '9': ++ { ++ unsigned long int n = result - '0'; ++ while (exp[0] >= '0' && exp[0] <= '9') ++ { ++ n *= 10; ++ n += exp[0] - '0'; ++ ++exp; ++ } ++ lval->num = n; ++ result = NUMBER; ++ } ++ break; ++ ++ case '=': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = equal; ++ result = EQUOP2; ++ } ++ else ++ result = YYERRCODE; ++ break; ++ ++ case '!': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = not_equal; ++ result = EQUOP2; ++ } ++ break; ++ ++ case '&': ++ case '|': ++ if (exp[0] == result) ++ ++exp; ++ else ++ result = YYERRCODE; ++ break; ++ ++ case '<': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = less_or_equal; ++ } ++ else ++ lval->op = less_than; ++ result = CMPOP2; ++ break; ++ ++ case '>': ++ if (exp[0] == '=') ++ { ++ ++exp; ++ lval->op = greater_or_equal; ++ } ++ else ++ lval->op = greater_than; ++ result = CMPOP2; ++ break; ++ ++ case '*': ++ lval->op = mult; ++ result = MULOP2; ++ break; ++ ++ case '/': ++ lval->op = divide; ++ result = MULOP2; ++ break; ++ ++ case '%': ++ lval->op = module; ++ result = MULOP2; ++ break; ++ ++ case '+': ++ lval->op = plus; ++ result = ADDOP2; ++ break; ++ ++ case '-': ++ lval->op = minus; ++ result = ADDOP2; ++ break; ++ ++ case 'n': ++ case '?': ++ case ':': ++ case '(': ++ case ')': ++ /* Nothing, just return the character. */ ++ break; ++ ++ case ';': ++ case '\n': ++ case '\0': ++ /* Be safe and let the user call this function again. */ ++ --exp; ++ result = YYEOF; ++ break; ++ ++ default: ++ result = YYERRCODE; ++#if YYDEBUG != 0 ++ --exp; ++#endif ++ break; ++ } ++ ++ *pexp = exp; ++ ++ return result; ++} ++ ++ ++static void ++yyerror (const char *str) ++{ ++ /* Do nothing. We don't print error messages here. */ ++} +--- lrzsz-0.12.20.safe/intl/po2tbl.sed.in 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/po2tbl.sed.in 1969-12-31 19:00:00.000000000 -0500 +@@ -1,102 +0,0 @@ +-# po2tbl.sed - Convert Uniforum style .po file to lookup table for catgets +-# Copyright (C) 1995 Free Software Foundation, Inc. +-# Ulrich Drepper , 1995. +-# +-# This program is free software; you can redistribute it and/or modify +-# it under the terms of the GNU General Public License as published by +-# the Free Software Foundation; either version 2, or (at your option) +-# any later version. +-# +-# This program is distributed in the hope that it will be useful, +-# but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU General Public License for more details. +-# +-# You should have received a copy of the GNU General Public License +-# along with this program; if not, write to the Free Software +-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-# +-1 { +- i\ +-/* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */\ +-\ +-#if HAVE_CONFIG_H\ +-# include \ +-#endif\ +-\ +-#include "libgettext.h"\ +-\ +-const struct _msg_ent _msg_tbl[] = { +- h +- s/.*/0/ +- x +-} +-# +-# Write msgid entries in C array form. +-# +-/^msgid/ { +- s/msgid[ ]*\(".*"\)/ {\1/ +- tb +-# Append the next line +- :b +- N +-# Look whether second part is continuation line. +- s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/ +-# Yes, then branch. +- ta +-# Because we assume that the input file correctly formed the line +-# just read cannot be again be a msgid line. So it's safe to ignore +-# it. +- s/\(.*\)\n.*/\1/ +- bc +-# We found a continuation line. But before printing insert '\'. +- :a +- s/\(.*\)\(\n.*\)/\1\\\2/ +- P +-# We cannot use D here. +- s/.*\n\(.*\)/\1/ +-# Some buggy seds do not clear the `successful substitution since last ``t''' +-# flag on `N', so we do a `t' here to clear it. +- tb +-# Not reached +- :c +- x +-# The following nice solution is by +-# Bruno +- td +-# Increment a decimal number in pattern space. +-# First hide trailing `9' digits. +- :d +- s/9\(_*\)$/_\1/ +- td +-# Assure at least one digit is available. +- s/^\(_*\)$/0\1/ +-# Increment the last digit. +- s/8\(_*\)$/9\1/ +- s/7\(_*\)$/8\1/ +- s/6\(_*\)$/7\1/ +- s/5\(_*\)$/6\1/ +- s/4\(_*\)$/5\1/ +- s/3\(_*\)$/4\1/ +- s/2\(_*\)$/3\1/ +- s/1\(_*\)$/2\1/ +- s/0\(_*\)$/1\1/ +-# Convert the hidden `9' digits to `0's. +- s/_/0/g +- x +- G +- s/\(.*\)\n\([0-9]*\)/\1, \2},/ +- s/\(.*\)"$/\1/ +- p +-} +-# +-# Last line. +-# +-$ { +- i\ +-};\ +- +- g +- s/0*\(.*\)/int _msg_tbl_length = \1;/p +-} +-d +--- lrzsz-0.12.20.safe/intl/printf-args.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/printf-args.c 2004-09-12 14:40:34.595711608 -0400 +@@ -0,0 +1,119 @@ ++/* Decomposed printf argument list. ++ Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++/* Specification. */ ++#include "printf-args.h" ++ ++#ifdef STATIC ++STATIC ++#endif ++int ++printf_fetchargs (va_list args, arguments *a) ++{ ++ size_t i; ++ argument *ap; ++ ++ for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) ++ switch (ap->type) ++ { ++ case TYPE_SCHAR: ++ ap->a.a_schar = va_arg (args, /*signed char*/ int); ++ break; ++ case TYPE_UCHAR: ++ ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); ++ break; ++ case TYPE_SHORT: ++ ap->a.a_short = va_arg (args, /*short*/ int); ++ break; ++ case TYPE_USHORT: ++ ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); ++ break; ++ case TYPE_INT: ++ ap->a.a_int = va_arg (args, int); ++ break; ++ case TYPE_UINT: ++ ap->a.a_uint = va_arg (args, unsigned int); ++ break; ++ case TYPE_LONGINT: ++ ap->a.a_longint = va_arg (args, long int); ++ break; ++ case TYPE_ULONGINT: ++ ap->a.a_ulongint = va_arg (args, unsigned long int); ++ break; ++#ifdef HAVE_LONG_LONG ++ case TYPE_LONGLONGINT: ++ ap->a.a_longlongint = va_arg (args, long long int); ++ break; ++ case TYPE_ULONGLONGINT: ++ ap->a.a_ulonglongint = va_arg (args, unsigned long long int); ++ break; ++#endif ++ case TYPE_DOUBLE: ++ ap->a.a_double = va_arg (args, double); ++ break; ++#ifdef HAVE_LONG_DOUBLE ++ case TYPE_LONGDOUBLE: ++ ap->a.a_longdouble = va_arg (args, long double); ++ break; ++#endif ++ case TYPE_CHAR: ++ ap->a.a_char = va_arg (args, int); ++ break; ++#ifdef HAVE_WINT_T ++ case TYPE_WIDE_CHAR: ++ ap->a.a_wide_char = va_arg (args, wint_t); ++ break; ++#endif ++ case TYPE_STRING: ++ ap->a.a_string = va_arg (args, const char *); ++ break; ++#ifdef HAVE_WCHAR_T ++ case TYPE_WIDE_STRING: ++ ap->a.a_wide_string = va_arg (args, const wchar_t *); ++ break; ++#endif ++ case TYPE_POINTER: ++ ap->a.a_pointer = va_arg (args, void *); ++ break; ++ case TYPE_COUNT_SCHAR_POINTER: ++ ap->a.a_count_schar_pointer = va_arg (args, signed char *); ++ break; ++ case TYPE_COUNT_SHORT_POINTER: ++ ap->a.a_count_short_pointer = va_arg (args, short *); ++ break; ++ case TYPE_COUNT_INT_POINTER: ++ ap->a.a_count_int_pointer = va_arg (args, int *); ++ break; ++ case TYPE_COUNT_LONGINT_POINTER: ++ ap->a.a_count_longint_pointer = va_arg (args, long int *); ++ break; ++#ifdef HAVE_LONG_LONG ++ case TYPE_COUNT_LONGLONGINT_POINTER: ++ ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); ++ break; ++#endif ++ default: ++ /* Unknown type. */ ++ return -1; ++ } ++ return 0; ++} +--- lrzsz-0.12.20.safe/intl/printf-args.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/printf-args.h 2004-09-12 14:40:34.601710696 -0400 +@@ -0,0 +1,137 @@ ++/* Decomposed printf argument list. ++ Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _PRINTF_ARGS_H ++#define _PRINTF_ARGS_H ++ ++/* Get size_t. */ ++#include ++ ++/* Get wchar_t. */ ++#ifdef HAVE_WCHAR_T ++# include ++#endif ++ ++/* Get wint_t. */ ++#ifdef HAVE_WINT_T ++# include ++#endif ++ ++/* Get va_list. */ ++#include ++ ++ ++/* Argument types */ ++typedef enum ++{ ++ TYPE_NONE, ++ TYPE_SCHAR, ++ TYPE_UCHAR, ++ TYPE_SHORT, ++ TYPE_USHORT, ++ TYPE_INT, ++ TYPE_UINT, ++ TYPE_LONGINT, ++ TYPE_ULONGINT, ++#ifdef HAVE_LONG_LONG ++ TYPE_LONGLONGINT, ++ TYPE_ULONGLONGINT, ++#endif ++ TYPE_DOUBLE, ++#ifdef HAVE_LONG_DOUBLE ++ TYPE_LONGDOUBLE, ++#endif ++ TYPE_CHAR, ++#ifdef HAVE_WINT_T ++ TYPE_WIDE_CHAR, ++#endif ++ TYPE_STRING, ++#ifdef HAVE_WCHAR_T ++ TYPE_WIDE_STRING, ++#endif ++ TYPE_POINTER, ++ TYPE_COUNT_SCHAR_POINTER, ++ TYPE_COUNT_SHORT_POINTER, ++ TYPE_COUNT_INT_POINTER, ++ TYPE_COUNT_LONGINT_POINTER ++#ifdef HAVE_LONG_LONG ++, TYPE_COUNT_LONGLONGINT_POINTER ++#endif ++} arg_type; ++ ++/* Polymorphic argument */ ++typedef struct ++{ ++ arg_type type; ++ union ++ { ++ signed char a_schar; ++ unsigned char a_uchar; ++ short a_short; ++ unsigned short a_ushort; ++ int a_int; ++ unsigned int a_uint; ++ long int a_longint; ++ unsigned long int a_ulongint; ++#ifdef HAVE_LONG_LONG ++ long long int a_longlongint; ++ unsigned long long int a_ulonglongint; ++#endif ++ float a_float; ++ double a_double; ++#ifdef HAVE_LONG_DOUBLE ++ long double a_longdouble; ++#endif ++ int a_char; ++#ifdef HAVE_WINT_T ++ wint_t a_wide_char; ++#endif ++ const char* a_string; ++#ifdef HAVE_WCHAR_T ++ const wchar_t* a_wide_string; ++#endif ++ void* a_pointer; ++ signed char * a_count_schar_pointer; ++ short * a_count_short_pointer; ++ int * a_count_int_pointer; ++ long int * a_count_longint_pointer; ++#ifdef HAVE_LONG_LONG ++ long long int * a_count_longlongint_pointer; ++#endif ++ } ++ a; ++} ++argument; ++ ++typedef struct ++{ ++ size_t count; ++ argument *arg; ++} ++arguments; ++ ++ ++/* Fetch the arguments, putting them into a. */ ++#ifdef STATIC ++STATIC ++#else ++extern ++#endif ++int printf_fetchargs (va_list args, arguments *a); ++ ++#endif /* _PRINTF_ARGS_H */ +--- lrzsz-0.12.20.safe/intl/printf.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/printf.c 2004-09-12 14:40:34.607709784 -0400 +@@ -0,0 +1,371 @@ ++/* Formatted output to strings, using POSIX/XSI format strings with positions. ++ Copyright (C) 2003 Free Software Foundation, Inc. ++ Written by Bruno Haible , 2003. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++# define HAVE_ALLOCA 1 ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# if defined HAVE_ALLOCA_H || defined _LIBC ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca ++char *alloca (); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++#include ++ ++#if !HAVE_POSIX_PRINTF ++ ++#include ++#include ++ ++/* When building a DLL, we must export some functions. Note that because ++ the functions are only defined for binary backward compatibility, we ++ don't need to use __declspec(dllimport) in any case. */ ++#if defined _MSC_VER && BUILDING_DLL ++# define DLL_EXPORTED __declspec(dllexport) ++#else ++# define DLL_EXPORTED ++#endif ++ ++#define STATIC static ++ ++/* Define auxiliary functions declared in "printf-args.h". */ ++#include "printf-args.c" ++ ++/* Define auxiliary functions declared in "printf-parse.h". */ ++#include "printf-parse.c" ++ ++/* Define functions declared in "vasnprintf.h". */ ++#define vasnprintf libintl_vasnprintf ++#include "vasnprintf.c" ++#if 0 /* not needed */ ++#define asnprintf libintl_asnprintf ++#include "asnprintf.c" ++#endif ++ ++DLL_EXPORTED ++int ++libintl_vfprintf (FILE *stream, const char *format, va_list args) ++{ ++ if (strchr (format, '$') == NULL) ++ return vfprintf (stream, format, args); ++ else ++ { ++ size_t length; ++ char *result = libintl_vasnprintf (NULL, &length, format, args); ++ int retval = -1; ++ if (result != NULL) ++ { ++ if (fwrite (result, 1, length, stream) == length) ++ retval = length; ++ free (result); ++ } ++ return retval; ++ } ++} ++ ++DLL_EXPORTED ++int ++libintl_fprintf (FILE *stream, const char *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vfprintf (stream, format, args); ++ va_end (args); ++ return retval; ++} ++ ++DLL_EXPORTED ++int ++libintl_vprintf (const char *format, va_list args) ++{ ++ return libintl_vfprintf (stdout, format, args); ++} ++ ++DLL_EXPORTED ++int ++libintl_printf (const char *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vprintf (format, args); ++ va_end (args); ++ return retval; ++} ++ ++DLL_EXPORTED ++int ++libintl_vsprintf (char *resultbuf, const char *format, va_list args) ++{ ++ if (strchr (format, '$') == NULL) ++ return vsprintf (resultbuf, format, args); ++ else ++ { ++ size_t length = (size_t) ~0 / (4 * sizeof (char)); ++ char *result = libintl_vasnprintf (resultbuf, &length, format, args); ++ if (result != resultbuf) ++ { ++ free (result); ++ return -1; ++ } ++ else ++ return length; ++ } ++} ++ ++DLL_EXPORTED ++int ++libintl_sprintf (char *resultbuf, const char *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vsprintf (resultbuf, format, args); ++ va_end (args); ++ return retval; ++} ++ ++#if HAVE_SNPRINTF ++ ++# if HAVE_DECL__SNPRINTF ++ /* Windows. */ ++# define system_vsnprintf _vsnprintf ++# else ++ /* Unix. */ ++# define system_vsnprintf vsnprintf ++# endif ++ ++DLL_EXPORTED ++int ++libintl_vsnprintf (char *resultbuf, size_t length, const char *format, va_list args) ++{ ++ if (strchr (format, '$') == NULL) ++ return system_vsnprintf (resultbuf, length, format, args); ++ else ++ { ++ size_t maxlength = length; ++ char *result = libintl_vasnprintf (resultbuf, &length, format, args); ++ if (result != resultbuf) ++ { ++ if (maxlength > 0) ++ { ++ if (length < maxlength) ++ abort (); ++ memcpy (resultbuf, result, maxlength - 1); ++ resultbuf[maxlength - 1] = '\0'; ++ } ++ free (result); ++ return -1; ++ } ++ else ++ return length; ++ } ++} ++ ++DLL_EXPORTED ++int ++libintl_snprintf (char *resultbuf, size_t length, const char *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vsnprintf (resultbuf, length, format, args); ++ va_end (args); ++ return retval; ++} ++ ++#endif ++ ++#if HAVE_ASPRINTF ++ ++DLL_EXPORTED ++int ++libintl_vasprintf (char **resultp, const char *format, va_list args) ++{ ++ size_t length; ++ char *result = libintl_vasnprintf (NULL, &length, format, args); ++ if (result == NULL) ++ return -1; ++ *resultp = result; ++ return length; ++} ++ ++DLL_EXPORTED ++int ++libintl_asprintf (char **resultp, const char *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vasprintf (resultp, format, args); ++ va_end (args); ++ return retval; ++} ++ ++#endif ++ ++#if HAVE_FWPRINTF ++ ++#include ++ ++#define WIDE_CHAR_VERSION 1 ++ ++/* Define auxiliary functions declared in "wprintf-parse.h". */ ++#include "printf-parse.c" ++ ++/* Define functions declared in "vasnprintf.h". */ ++#define vasnwprintf libintl_vasnwprintf ++#include "vasnprintf.c" ++#if 0 /* not needed */ ++#define asnwprintf libintl_asnwprintf ++#include "asnprintf.c" ++#endif ++ ++# if HAVE_DECL__SNWPRINTF ++ /* Windows. */ ++# define system_vswprintf _vsnwprintf ++# else ++ /* Unix. */ ++# define system_vswprintf vswprintf ++# endif ++ ++DLL_EXPORTED ++int ++libintl_vfwprintf (FILE *stream, const wchar_t *format, va_list args) ++{ ++ if (wcschr (format, '$') == NULL) ++ return vfwprintf (stream, format, args); ++ else ++ { ++ size_t length; ++ wchar_t *result = libintl_vasnwprintf (NULL, &length, format, args); ++ int retval = -1; ++ if (result != NULL) ++ { ++ size_t i; ++ for (i = 0; i < length; i++) ++ if (fputwc (result[i], stream) == WEOF) ++ break; ++ if (i == length) ++ retval = length; ++ free (result); ++ } ++ return retval; ++ } ++} ++ ++DLL_EXPORTED ++int ++libintl_fwprintf (FILE *stream, const wchar_t *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vfwprintf (stream, format, args); ++ va_end (args); ++ return retval; ++} ++ ++DLL_EXPORTED ++int ++libintl_vwprintf (const wchar_t *format, va_list args) ++{ ++ return libintl_vfwprintf (stdout, format, args); ++} ++ ++DLL_EXPORTED ++int ++libintl_wprintf (const wchar_t *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vwprintf (format, args); ++ va_end (args); ++ return retval; ++} ++ ++DLL_EXPORTED ++int ++libintl_vswprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, va_list args) ++{ ++ if (wcschr (format, '$') == NULL) ++ return system_vswprintf (resultbuf, length, format, args); ++ else ++ { ++ size_t maxlength = length; ++ wchar_t *result = libintl_vasnwprintf (resultbuf, &length, format, args); ++ if (result != resultbuf) ++ { ++ if (maxlength > 0) ++ { ++ if (length < maxlength) ++ abort (); ++ memcpy (resultbuf, result, (maxlength - 1) * sizeof (wchar_t)); ++ resultbuf[maxlength - 1] = 0; ++ } ++ free (result); ++ return -1; ++ } ++ else ++ return length; ++ } ++} ++ ++DLL_EXPORTED ++int ++libintl_swprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, ...) ++{ ++ va_list args; ++ int retval; ++ ++ va_start (args, format); ++ retval = libintl_vswprintf (resultbuf, length, format, args); ++ va_end (args); ++ return retval; ++} ++ ++#endif ++ ++#endif +--- lrzsz-0.12.20.safe/intl/printf-parse.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/printf-parse.c 2004-09-12 14:40:34.622707504 -0400 +@@ -0,0 +1,537 @@ ++/* Formatted output to strings. ++ Copyright (C) 1999-2000, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++/* Specification. */ ++#if WIDE_CHAR_VERSION ++# include "wprintf-parse.h" ++#else ++# include "printf-parse.h" ++#endif ++ ++/* Get size_t, NULL. */ ++#include ++ ++/* Get intmax_t. */ ++#if HAVE_STDINT_H_WITH_UINTMAX ++# include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++# include ++#endif ++ ++/* malloc(), realloc(), free(). */ ++#include ++ ++/* Checked size_t computations. */ ++#include "xsize.h" ++ ++#if WIDE_CHAR_VERSION ++# define PRINTF_PARSE wprintf_parse ++# define CHAR_T wchar_t ++# define DIRECTIVE wchar_t_directive ++# define DIRECTIVES wchar_t_directives ++#else ++# define PRINTF_PARSE printf_parse ++# define CHAR_T char ++# define DIRECTIVE char_directive ++# define DIRECTIVES char_directives ++#endif ++ ++#ifdef STATIC ++STATIC ++#endif ++int ++PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) ++{ ++ const CHAR_T *cp = format; /* pointer into format */ ++ size_t arg_posn = 0; /* number of regular arguments consumed */ ++ size_t d_allocated; /* allocated elements of d->dir */ ++ size_t a_allocated; /* allocated elements of a->arg */ ++ size_t max_width_length = 0; ++ size_t max_precision_length = 0; ++ ++ d->count = 0; ++ d_allocated = 1; ++ d->dir = malloc (d_allocated * sizeof (DIRECTIVE)); ++ if (d->dir == NULL) ++ /* Out of memory. */ ++ return -1; ++ ++ a->count = 0; ++ a_allocated = 0; ++ a->arg = NULL; ++ ++#define REGISTER_ARG(_index_,_type_) \ ++ { \ ++ size_t n = (_index_); \ ++ if (n >= a_allocated) \ ++ { \ ++ size_t memory_size; \ ++ argument *memory; \ ++ \ ++ a_allocated = xtimes (a_allocated, 2); \ ++ if (a_allocated <= n) \ ++ a_allocated = xsum (n, 1); \ ++ memory_size = xtimes (a_allocated, sizeof (argument)); \ ++ if (size_overflow_p (memory_size)) \ ++ /* Overflow, would lead to out of memory. */ \ ++ goto error; \ ++ memory = (a->arg \ ++ ? realloc (a->arg, memory_size) \ ++ : malloc (memory_size)); \ ++ if (memory == NULL) \ ++ /* Out of memory. */ \ ++ goto error; \ ++ a->arg = memory; \ ++ } \ ++ while (a->count <= n) \ ++ a->arg[a->count++].type = TYPE_NONE; \ ++ if (a->arg[n].type == TYPE_NONE) \ ++ a->arg[n].type = (_type_); \ ++ else if (a->arg[n].type != (_type_)) \ ++ /* Ambiguous type for positional argument. */ \ ++ goto error; \ ++ } ++ ++ while (*cp != '\0') ++ { ++ CHAR_T c = *cp++; ++ if (c == '%') ++ { ++ size_t arg_index = ARG_NONE; ++ DIRECTIVE *dp = &d->dir[d->count];/* pointer to next directive */ ++ ++ /* Initialize the next directive. */ ++ dp->dir_start = cp - 1; ++ dp->flags = 0; ++ dp->width_start = NULL; ++ dp->width_end = NULL; ++ dp->width_arg_index = ARG_NONE; ++ dp->precision_start = NULL; ++ dp->precision_end = NULL; ++ dp->precision_arg_index = ARG_NONE; ++ dp->arg_index = ARG_NONE; ++ ++ /* Test for positional argument. */ ++ if (*cp >= '0' && *cp <= '9') ++ { ++ const CHAR_T *np; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ ; ++ if (*np == '$') ++ { ++ size_t n = 0; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ n = xsum (xtimes (n, 10), *np - '0'); ++ if (n == 0) ++ /* Positional argument 0. */ ++ goto error; ++ if (size_overflow_p (n)) ++ /* n too large, would lead to out of memory later. */ ++ goto error; ++ arg_index = n - 1; ++ cp = np + 1; ++ } ++ } ++ ++ /* Read the flags. */ ++ for (;;) ++ { ++ if (*cp == '\'') ++ { ++ dp->flags |= FLAG_GROUP; ++ cp++; ++ } ++ else if (*cp == '-') ++ { ++ dp->flags |= FLAG_LEFT; ++ cp++; ++ } ++ else if (*cp == '+') ++ { ++ dp->flags |= FLAG_SHOWSIGN; ++ cp++; ++ } ++ else if (*cp == ' ') ++ { ++ dp->flags |= FLAG_SPACE; ++ cp++; ++ } ++ else if (*cp == '#') ++ { ++ dp->flags |= FLAG_ALT; ++ cp++; ++ } ++ else if (*cp == '0') ++ { ++ dp->flags |= FLAG_ZERO; ++ cp++; ++ } ++ else ++ break; ++ } ++ ++ /* Parse the field width. */ ++ if (*cp == '*') ++ { ++ dp->width_start = cp; ++ cp++; ++ dp->width_end = cp; ++ if (max_width_length < 1) ++ max_width_length = 1; ++ ++ /* Test for positional argument. */ ++ if (*cp >= '0' && *cp <= '9') ++ { ++ const CHAR_T *np; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ ; ++ if (*np == '$') ++ { ++ size_t n = 0; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ n = xsum (xtimes (n, 10), *np - '0'); ++ if (n == 0) ++ /* Positional argument 0. */ ++ goto error; ++ if (size_overflow_p (n)) ++ /* n too large, would lead to out of memory later. */ ++ goto error; ++ dp->width_arg_index = n - 1; ++ cp = np + 1; ++ } ++ } ++ if (dp->width_arg_index == ARG_NONE) ++ { ++ dp->width_arg_index = arg_posn++; ++ if (dp->width_arg_index == ARG_NONE) ++ /* arg_posn wrapped around. */ ++ goto error; ++ } ++ REGISTER_ARG (dp->width_arg_index, TYPE_INT); ++ } ++ else if (*cp >= '0' && *cp <= '9') ++ { ++ size_t width_length; ++ ++ dp->width_start = cp; ++ for (; *cp >= '0' && *cp <= '9'; cp++) ++ ; ++ dp->width_end = cp; ++ width_length = dp->width_end - dp->width_start; ++ if (max_width_length < width_length) ++ max_width_length = width_length; ++ } ++ ++ /* Parse the precision. */ ++ if (*cp == '.') ++ { ++ cp++; ++ if (*cp == '*') ++ { ++ dp->precision_start = cp - 1; ++ cp++; ++ dp->precision_end = cp; ++ if (max_precision_length < 2) ++ max_precision_length = 2; ++ ++ /* Test for positional argument. */ ++ if (*cp >= '0' && *cp <= '9') ++ { ++ const CHAR_T *np; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ ; ++ if (*np == '$') ++ { ++ size_t n = 0; ++ ++ for (np = cp; *np >= '0' && *np <= '9'; np++) ++ n = xsum (xtimes (n, 10), *np - '0'); ++ if (n == 0) ++ /* Positional argument 0. */ ++ goto error; ++ if (size_overflow_p (n)) ++ /* n too large, would lead to out of memory ++ later. */ ++ goto error; ++ dp->precision_arg_index = n - 1; ++ cp = np + 1; ++ } ++ } ++ if (dp->precision_arg_index == ARG_NONE) ++ { ++ dp->precision_arg_index = arg_posn++; ++ if (dp->precision_arg_index == ARG_NONE) ++ /* arg_posn wrapped around. */ ++ goto error; ++ } ++ REGISTER_ARG (dp->precision_arg_index, TYPE_INT); ++ } ++ else ++ { ++ size_t precision_length; ++ ++ dp->precision_start = cp - 1; ++ for (; *cp >= '0' && *cp <= '9'; cp++) ++ ; ++ dp->precision_end = cp; ++ precision_length = dp->precision_end - dp->precision_start; ++ if (max_precision_length < precision_length) ++ max_precision_length = precision_length; ++ } ++ } ++ ++ { ++ arg_type type; ++ ++ /* Parse argument type/size specifiers. */ ++ { ++ int flags = 0; ++ ++ for (;;) ++ { ++ if (*cp == 'h') ++ { ++ flags |= (1 << (flags & 1)); ++ cp++; ++ } ++ else if (*cp == 'L') ++ { ++ flags |= 4; ++ cp++; ++ } ++ else if (*cp == 'l') ++ { ++ flags += 8; ++ cp++; ++ } ++#ifdef HAVE_INTMAX_T ++ else if (*cp == 'j') ++ { ++ if (sizeof (intmax_t) > sizeof (long)) ++ { ++ /* intmax_t = long long */ ++ flags += 16; ++ } ++ else if (sizeof (intmax_t) > sizeof (int)) ++ { ++ /* intmax_t = long */ ++ flags += 8; ++ } ++ cp++; ++ } ++#endif ++ else if (*cp == 'z' || *cp == 'Z') ++ { ++ /* 'z' is standardized in ISO C 99, but glibc uses 'Z' ++ because the warning facility in gcc-2.95.2 understands ++ only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ ++ if (sizeof (size_t) > sizeof (long)) ++ { ++ /* size_t = long long */ ++ flags += 16; ++ } ++ else if (sizeof (size_t) > sizeof (int)) ++ { ++ /* size_t = long */ ++ flags += 8; ++ } ++ cp++; ++ } ++ else if (*cp == 't') ++ { ++ if (sizeof (ptrdiff_t) > sizeof (long)) ++ { ++ /* ptrdiff_t = long long */ ++ flags += 16; ++ } ++ else if (sizeof (ptrdiff_t) > sizeof (int)) ++ { ++ /* ptrdiff_t = long */ ++ flags += 8; ++ } ++ cp++; ++ } ++ else ++ break; ++ } ++ ++ /* Read the conversion character. */ ++ c = *cp++; ++ switch (c) ++ { ++ case 'd': case 'i': ++#ifdef HAVE_LONG_LONG ++ if (flags >= 16 || (flags & 4)) ++ type = TYPE_LONGLONGINT; ++ else ++#endif ++ if (flags >= 8) ++ type = TYPE_LONGINT; ++ else if (flags & 2) ++ type = TYPE_SCHAR; ++ else if (flags & 1) ++ type = TYPE_SHORT; ++ else ++ type = TYPE_INT; ++ break; ++ case 'o': case 'u': case 'x': case 'X': ++#ifdef HAVE_LONG_LONG ++ if (flags >= 16 || (flags & 4)) ++ type = TYPE_ULONGLONGINT; ++ else ++#endif ++ if (flags >= 8) ++ type = TYPE_ULONGINT; ++ else if (flags & 2) ++ type = TYPE_UCHAR; ++ else if (flags & 1) ++ type = TYPE_USHORT; ++ else ++ type = TYPE_UINT; ++ break; ++ case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': ++ case 'a': case 'A': ++#ifdef HAVE_LONG_DOUBLE ++ if (flags >= 16 || (flags & 4)) ++ type = TYPE_LONGDOUBLE; ++ else ++#endif ++ type = TYPE_DOUBLE; ++ break; ++ case 'c': ++ if (flags >= 8) ++#ifdef HAVE_WINT_T ++ type = TYPE_WIDE_CHAR; ++#else ++ goto error; ++#endif ++ else ++ type = TYPE_CHAR; ++ break; ++#ifdef HAVE_WINT_T ++ case 'C': ++ type = TYPE_WIDE_CHAR; ++ c = 'c'; ++ break; ++#endif ++ case 's': ++ if (flags >= 8) ++#ifdef HAVE_WCHAR_T ++ type = TYPE_WIDE_STRING; ++#else ++ goto error; ++#endif ++ else ++ type = TYPE_STRING; ++ break; ++#ifdef HAVE_WCHAR_T ++ case 'S': ++ type = TYPE_WIDE_STRING; ++ c = 's'; ++ break; ++#endif ++ case 'p': ++ type = TYPE_POINTER; ++ break; ++ case 'n': ++#ifdef HAVE_LONG_LONG ++ if (flags >= 16 || (flags & 4)) ++ type = TYPE_COUNT_LONGLONGINT_POINTER; ++ else ++#endif ++ if (flags >= 8) ++ type = TYPE_COUNT_LONGINT_POINTER; ++ else if (flags & 2) ++ type = TYPE_COUNT_SCHAR_POINTER; ++ else if (flags & 1) ++ type = TYPE_COUNT_SHORT_POINTER; ++ else ++ type = TYPE_COUNT_INT_POINTER; ++ break; ++ case '%': ++ type = TYPE_NONE; ++ break; ++ default: ++ /* Unknown conversion character. */ ++ goto error; ++ } ++ } ++ ++ if (type != TYPE_NONE) ++ { ++ dp->arg_index = arg_index; ++ if (dp->arg_index == ARG_NONE) ++ { ++ dp->arg_index = arg_posn++; ++ if (dp->arg_index == ARG_NONE) ++ /* arg_posn wrapped around. */ ++ goto error; ++ } ++ REGISTER_ARG (dp->arg_index, type); ++ } ++ dp->conversion = c; ++ dp->dir_end = cp; ++ } ++ ++ d->count++; ++ if (d->count >= d_allocated) ++ { ++ size_t memory_size; ++ DIRECTIVE *memory; ++ ++ d_allocated = xtimes (d_allocated, 2); ++ memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); ++ if (size_overflow_p (memory_size)) ++ /* Overflow, would lead to out of memory. */ ++ goto error; ++ memory = realloc (d->dir, memory_size); ++ if (memory == NULL) ++ /* Out of memory. */ ++ goto error; ++ d->dir = memory; ++ } ++ } ++ } ++ d->dir[d->count].dir_start = cp; ++ ++ d->max_width_length = max_width_length; ++ d->max_precision_length = max_precision_length; ++ return 0; ++ ++error: ++ if (a->arg) ++ free (a->arg); ++ if (d->dir) ++ free (d->dir); ++ return -1; ++} ++ ++#undef DIRECTIVES ++#undef DIRECTIVE ++#undef CHAR_T ++#undef PRINTF_PARSE +--- lrzsz-0.12.20.safe/intl/printf-parse.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/printf-parse.h 2004-09-12 14:40:34.628706592 -0400 +@@ -0,0 +1,75 @@ ++/* Parse printf format string. ++ Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _PRINTF_PARSE_H ++#define _PRINTF_PARSE_H ++ ++#include "printf-args.h" ++ ++ ++/* Flags */ ++#define FLAG_GROUP 1 /* ' flag */ ++#define FLAG_LEFT 2 /* - flag */ ++#define FLAG_SHOWSIGN 4 /* + flag */ ++#define FLAG_SPACE 8 /* space flag */ ++#define FLAG_ALT 16 /* # flag */ ++#define FLAG_ZERO 32 ++ ++/* arg_index value indicating that no argument is consumed. */ ++#define ARG_NONE (~(size_t)0) ++ ++/* A parsed directive. */ ++typedef struct ++{ ++ const char* dir_start; ++ const char* dir_end; ++ int flags; ++ const char* width_start; ++ const char* width_end; ++ size_t width_arg_index; ++ const char* precision_start; ++ const char* precision_end; ++ size_t precision_arg_index; ++ char conversion; /* d i o u x X f e E g G c s p n U % but not C S */ ++ size_t arg_index; ++} ++char_directive; ++ ++/* A parsed format string. */ ++typedef struct ++{ ++ size_t count; ++ char_directive *dir; ++ size_t max_width_length; ++ size_t max_precision_length; ++} ++char_directives; ++ ++ ++/* Parses the format string. Fills in the number N of directives, and fills ++ in directives[0], ..., directives[N-1], and sets directives[N].dir_start ++ to the end of the format string. Also fills in the arg_type fields of the ++ arguments and the needed count of arguments. */ ++#ifdef STATIC ++STATIC ++#else ++extern ++#endif ++int printf_parse (const char *format, char_directives *d, arguments *a); ++ ++#endif /* _PRINTF_PARSE_H */ +--- lrzsz-0.12.20.safe/intl/ref-add.sin 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/ref-add.sin 2004-09-12 14:40:34.633705832 -0400 +@@ -0,0 +1,31 @@ ++# Add this package to a list of references stored in a text file. ++# ++# Copyright (C) 2000 Free Software Foundation, Inc. ++# ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU Library General Public License as published ++# by the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Library General Public License for more details. ++# ++# You should have received a copy of the GNU Library General Public ++# License along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++# USA. ++# ++# Written by Bruno Haible . ++# ++/^# Packages using this file: / { ++ s/# Packages using this file:// ++ ta ++ :a ++ s/ @PACKAGE@ / @PACKAGE@ / ++ tb ++ s/ $/ @PACKAGE@ / ++ :b ++ s/^/# Packages using this file:/ ++} +--- lrzsz-0.12.20.safe/intl/ref-del.sin 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/ref-del.sin 2004-09-12 14:40:34.638705072 -0400 +@@ -0,0 +1,26 @@ ++# Remove this package from a list of references stored in a text file. ++# ++# Copyright (C) 2000 Free Software Foundation, Inc. ++# ++# This program is free software; you can redistribute it and/or modify it ++# under the terms of the GNU Library General Public License as published ++# by the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Library General Public License for more details. ++# ++# You should have received a copy of the GNU Library General Public ++# License along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++# USA. ++# ++# Written by Bruno Haible . ++# ++/^# Packages using this file: / { ++ s/# Packages using this file:// ++ s/ @PACKAGE@ / / ++ s/^/# Packages using this file:/ ++} +--- lrzsz-0.12.20.safe/intl/relocatable.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/relocatable.c 2004-09-12 14:40:34.644704160 -0400 +@@ -0,0 +1,449 @@ ++/* Provide relocatable packages. ++ Copyright (C) 2003 Free Software Foundation, Inc. ++ Written by Bruno Haible , 2003. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++ ++/* Tell glibc's to provide a prototype for getline(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif ++ ++#ifdef HAVE_CONFIG_H ++# include "config.h" ++#endif ++ ++/* Specification. */ ++#include "relocatable.h" ++ ++#if ENABLE_RELOCATABLE ++ ++#include ++#include ++#include ++#include ++ ++#ifdef NO_XMALLOC ++# define xmalloc malloc ++#else ++# include "xalloc.h" ++#endif ++ ++#if defined _WIN32 || defined __WIN32__ ++# define WIN32_LEAN_AND_MEAN ++# include ++#endif ++ ++#if DEPENDS_ON_LIBCHARSET ++# include ++#endif ++#if DEPENDS_ON_LIBICONV && HAVE_ICONV ++# include ++#endif ++#if DEPENDS_ON_LIBINTL && ENABLE_NLS ++# include ++#endif ++ ++/* Faked cheap 'bool'. */ ++#undef bool ++#undef false ++#undef true ++#define bool int ++#define false 0 ++#define true 1 ++ ++/* Pathname support. ++ ISSLASH(C) tests whether C is a directory separator character. ++ IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. ++ */ ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS */ ++# define ISSLASH(C) ((C) == '/' || (C) == '\\') ++# define HAS_DEVICE(P) \ ++ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ ++ && (P)[1] == ':') ++# define IS_PATH_WITH_DIR(P) \ ++ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) ++# define FILESYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) ++#else ++ /* Unix */ ++# define ISSLASH(C) ((C) == '/') ++# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) ++# define FILESYSTEM_PREFIX_LEN(P) 0 ++#endif ++ ++/* Original installation prefix. */ ++static char *orig_prefix; ++static size_t orig_prefix_len; ++/* Current installation prefix. */ ++static char *curr_prefix; ++static size_t curr_prefix_len; ++/* These prefixes do not end in a slash. Anything that will be concatenated ++ to them must start with a slash. */ ++ ++/* Sets the original and the current installation prefix of this module. ++ Relocation simply replaces a pathname starting with the original prefix ++ by the corresponding pathname with the current prefix instead. Both ++ prefixes should be directory names without trailing slash (i.e. use "" ++ instead of "/"). */ ++static void ++set_this_relocation_prefix (const char *orig_prefix_arg, ++ const char *curr_prefix_arg) ++{ ++ if (orig_prefix_arg != NULL && curr_prefix_arg != NULL ++ /* Optimization: if orig_prefix and curr_prefix are equal, the ++ relocation is a nop. */ ++ && strcmp (orig_prefix_arg, curr_prefix_arg) != 0) ++ { ++ /* Duplicate the argument strings. */ ++ char *memory; ++ ++ orig_prefix_len = strlen (orig_prefix_arg); ++ curr_prefix_len = strlen (curr_prefix_arg); ++ memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); ++#ifdef NO_XMALLOC ++ if (memory != NULL) ++#endif ++ { ++ memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); ++ orig_prefix = memory; ++ memory += orig_prefix_len + 1; ++ memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); ++ curr_prefix = memory; ++ return; ++ } ++ } ++ orig_prefix = NULL; ++ curr_prefix = NULL; ++ /* Don't worry about wasted memory here - this function is usually only ++ called once. */ ++} ++ ++/* Sets the original and the current installation prefix of the package. ++ Relocation simply replaces a pathname starting with the original prefix ++ by the corresponding pathname with the current prefix instead. Both ++ prefixes should be directory names without trailing slash (i.e. use "" ++ instead of "/"). */ ++void ++set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) ++{ ++ set_this_relocation_prefix (orig_prefix_arg, curr_prefix_arg); ++ ++ /* Now notify all dependent libraries. */ ++#if DEPENDS_ON_LIBCHARSET ++ libcharset_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); ++#endif ++#if DEPENDS_ON_LIBICONV && HAVE_ICONV && _LIBICONV_VERSION >= 0x0109 ++ libiconv_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); ++#endif ++#if DEPENDS_ON_LIBINTL && ENABLE_NLS && defined libintl_set_relocation_prefix ++ libintl_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); ++#endif ++} ++ ++#if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR) ++ ++/* Convenience function: ++ Computes the current installation prefix, based on the original ++ installation prefix, the original installation directory of a particular ++ file, and the current pathname of this file. Returns NULL upon failure. */ ++#ifdef IN_LIBRARY ++#define compute_curr_prefix local_compute_curr_prefix ++static ++#endif ++const char * ++compute_curr_prefix (const char *orig_installprefix, ++ const char *orig_installdir, ++ const char *curr_pathname) ++{ ++ const char *curr_installdir; ++ const char *rel_installdir; ++ ++ if (curr_pathname == NULL) ++ return NULL; ++ ++ /* Determine the relative installation directory, relative to the prefix. ++ This is simply the difference between orig_installprefix and ++ orig_installdir. */ ++ if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) ++ != 0) ++ /* Shouldn't happen - nothing should be installed outside $(prefix). */ ++ return NULL; ++ rel_installdir = orig_installdir + strlen (orig_installprefix); ++ ++ /* Determine the current installation directory. */ ++ { ++ const char *p_base = curr_pathname + FILESYSTEM_PREFIX_LEN (curr_pathname); ++ const char *p = curr_pathname + strlen (curr_pathname); ++ char *q; ++ ++ while (p > p_base) ++ { ++ p--; ++ if (ISSLASH (*p)) ++ break; ++ } ++ ++ q = (char *) xmalloc (p - curr_pathname + 1); ++#ifdef NO_XMALLOC ++ if (q == NULL) ++ return NULL; ++#endif ++ memcpy (q, curr_pathname, p - curr_pathname); ++ q[p - curr_pathname] = '\0'; ++ curr_installdir = q; ++ } ++ ++ /* Compute the current installation prefix by removing the trailing ++ rel_installdir from it. */ ++ { ++ const char *rp = rel_installdir + strlen (rel_installdir); ++ const char *cp = curr_installdir + strlen (curr_installdir); ++ const char *cp_base = ++ curr_installdir + FILESYSTEM_PREFIX_LEN (curr_installdir); ++ ++ while (rp > rel_installdir && cp > cp_base) ++ { ++ bool same = false; ++ const char *rpi = rp; ++ const char *cpi = cp; ++ ++ while (rpi > rel_installdir && cpi > cp_base) ++ { ++ rpi--; ++ cpi--; ++ if (ISSLASH (*rpi) || ISSLASH (*cpi)) ++ { ++ if (ISSLASH (*rpi) && ISSLASH (*cpi)) ++ same = true; ++ break; ++ } ++#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ ++ /* Win32, OS/2, DOS - case insignificant filesystem */ ++ if ((*rpi >= 'a' && *rpi <= 'z' ? *rpi - 'a' + 'A' : *rpi) ++ != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) ++ break; ++#else ++ if (*rpi != *cpi) ++ break; ++#endif ++ } ++ if (!same) ++ break; ++ /* The last pathname component was the same. opi and cpi now point ++ to the slash before it. */ ++ rp = rpi; ++ cp = cpi; ++ } ++ ++ if (rp > rel_installdir) ++ /* Unexpected: The curr_installdir does not end with rel_installdir. */ ++ return NULL; ++ ++ { ++ size_t curr_prefix_len = cp - curr_installdir; ++ char *curr_prefix; ++ ++ curr_prefix = (char *) xmalloc (curr_prefix_len + 1); ++#ifdef NO_XMALLOC ++ if (curr_prefix == NULL) ++ return NULL; ++#endif ++ memcpy (curr_prefix, curr_installdir, curr_prefix_len); ++ curr_prefix[curr_prefix_len] = '\0'; ++ ++ return curr_prefix; ++ } ++ } ++} ++ ++#endif /* !IN_LIBRARY || PIC */ ++ ++#if defined PIC && defined INSTALLDIR ++ ++/* Full pathname of shared library, or NULL. */ ++static char *shared_library_fullname; ++ ++#if defined _WIN32 || defined __WIN32__ ++ ++/* Determine the full pathname of the shared library when it is loaded. */ ++ ++BOOL WINAPI ++DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) ++{ ++ (void) reserved; ++ ++ if (event == DLL_PROCESS_ATTACH) ++ { ++ /* The DLL is being loaded into an application's address range. */ ++ static char location[MAX_PATH]; ++ ++ if (!GetModuleFileName (module_handle, location, sizeof (location))) ++ /* Shouldn't happen. */ ++ return FALSE; ++ ++ if (!IS_PATH_WITH_DIR (location)) ++ /* Shouldn't happen. */ ++ return FALSE; ++ ++ shared_library_fullname = strdup (location); ++ } ++ ++ return TRUE; ++} ++ ++#else /* Unix */ ++ ++static void ++find_shared_library_fullname () ++{ ++#if defined __linux__ && __GLIBC__ >= 2 ++ /* Linux has /proc/self/maps. glibc 2 has the getline() function. */ ++ FILE *fp; ++ ++ /* Open the current process' maps file. It describes one VMA per line. */ ++ fp = fopen ("/proc/self/maps", "r"); ++ if (fp) ++ { ++ unsigned long address = (unsigned long) &find_shared_library_fullname; ++ for (;;) ++ { ++ unsigned long start, end; ++ int c; ++ ++ if (fscanf (fp, "%lx-%lx", &start, &end) != 2) ++ break; ++ if (address >= start && address <= end - 1) ++ { ++ /* Found it. Now see if this line contains a filename. */ ++ while (c = getc (fp), c != EOF && c != '\n' && c != '/') ++ continue; ++ if (c == '/') ++ { ++ size_t size; ++ int len; ++ ++ ungetc (c, fp); ++ shared_library_fullname = NULL; size = 0; ++ len = getline (&shared_library_fullname, &size, fp); ++ if (len >= 0) ++ { ++ /* Success: filled shared_library_fullname. */ ++ if (len > 0 && shared_library_fullname[len - 1] == '\n') ++ shared_library_fullname[len - 1] = '\0'; ++ } ++ } ++ break; ++ } ++ while (c = getc (fp), c != EOF && c != '\n') ++ continue; ++ } ++ fclose (fp); ++ } ++#endif ++} ++ ++#endif /* WIN32 / Unix */ ++ ++/* Return the full pathname of the current shared library. ++ Return NULL if unknown. ++ Guaranteed to work only on Linux and Woe32. */ ++static char * ++get_shared_library_fullname () ++{ ++#if !(defined _WIN32 || defined __WIN32__) ++ static bool tried_find_shared_library_fullname; ++ if (!tried_find_shared_library_fullname) ++ { ++ find_shared_library_fullname (); ++ tried_find_shared_library_fullname = true; ++ } ++#endif ++ return shared_library_fullname; ++} ++ ++#endif /* PIC */ ++ ++/* Returns the pathname, relocated according to the current installation ++ directory. */ ++const char * ++relocate (const char *pathname) ++{ ++#if defined PIC && defined INSTALLDIR ++ static int initialized; ++ ++ /* Initialization code for a shared library. */ ++ if (!initialized) ++ { ++ /* At this point, orig_prefix and curr_prefix likely have already been ++ set through the main program's set_program_name_and_installdir ++ function. This is sufficient in the case that the library has ++ initially been installed in the same orig_prefix. But we can do ++ better, to also cover the cases that 1. it has been installed ++ in a different prefix before being moved to orig_prefix and (later) ++ to curr_prefix, 2. unlike the program, it has not moved away from ++ orig_prefix. */ ++ const char *orig_installprefix = INSTALLPREFIX; ++ const char *orig_installdir = INSTALLDIR; ++ const char *curr_prefix_better; ++ ++ curr_prefix_better = ++ compute_curr_prefix (orig_installprefix, orig_installdir, ++ get_shared_library_fullname ()); ++ if (curr_prefix_better == NULL) ++ curr_prefix_better = curr_prefix; ++ ++ set_relocation_prefix (orig_installprefix, curr_prefix_better); ++ ++ initialized = 1; ++ } ++#endif ++ ++ /* Note: It is not necessary to perform case insensitive comparison here, ++ even for DOS-like filesystems, because the pathname argument was ++ typically created from the same Makefile variable as orig_prefix came ++ from. */ ++ if (orig_prefix != NULL && curr_prefix != NULL ++ && strncmp (pathname, orig_prefix, orig_prefix_len) == 0) ++ { ++ if (pathname[orig_prefix_len] == '\0') ++ /* pathname equals orig_prefix. */ ++ return curr_prefix; ++ if (ISSLASH (pathname[orig_prefix_len])) ++ { ++ /* pathname starts with orig_prefix. */ ++ const char *pathname_tail = &pathname[orig_prefix_len]; ++ char *result = ++ (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); ++ ++#ifdef NO_XMALLOC ++ if (result != NULL) ++#endif ++ { ++ memcpy (result, curr_prefix, curr_prefix_len); ++ strcpy (result + curr_prefix_len, pathname_tail); ++ return result; ++ } ++ } ++ } ++ /* Nothing to relocate. */ ++ return pathname; ++} ++ ++#endif +--- lrzsz-0.12.20.safe/intl/relocatable.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/relocatable.h 2004-09-12 14:40:34.651703096 -0400 +@@ -0,0 +1,77 @@ ++/* Provide relocatable packages. ++ Copyright (C) 2003 Free Software Foundation, Inc. ++ Written by Bruno Haible , 2003. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _RELOCATABLE_H ++#define _RELOCATABLE_H ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++ ++/* This can be enabled through the configure --enable-relocatable option. */ ++#if ENABLE_RELOCATABLE ++ ++/* When building a DLL, we must export some functions. Note that because ++ this is a private .h file, we don't need to use __declspec(dllimport) ++ in any case. */ ++#if defined _MSC_VER && BUILDING_DLL ++# define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) ++#else ++# define RELOCATABLE_DLL_EXPORTED ++#endif ++ ++/* Sets the original and the current installation prefix of the package. ++ Relocation simply replaces a pathname starting with the original prefix ++ by the corresponding pathname with the current prefix instead. Both ++ prefixes should be directory names without trailing slash (i.e. use "" ++ instead of "/"). */ ++extern RELOCATABLE_DLL_EXPORTED void ++ set_relocation_prefix (const char *orig_prefix, ++ const char *curr_prefix); ++ ++/* Returns the pathname, relocated according to the current installation ++ directory. */ ++extern const char * relocate (const char *pathname); ++ ++/* Memory management: relocate() leaks memory, because it has to construct ++ a fresh pathname. If this is a problem because your program calls ++ relocate() frequently, think about caching the result. */ ++ ++/* Convenience function: ++ Computes the current installation prefix, based on the original ++ installation prefix, the original installation directory of a particular ++ file, and the current pathname of this file. Returns NULL upon failure. */ ++extern const char * compute_curr_prefix (const char *orig_installprefix, ++ const char *orig_installdir, ++ const char *curr_pathname); ++ ++#else ++ ++/* By default, we use the hardwired pathnames. */ ++#define relocate(pathname) (pathname) ++ ++#endif ++ ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* _RELOCATABLE_H */ +--- lrzsz-0.12.20.safe/intl/textdomain.c 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/textdomain.c 2004-09-12 14:40:34.656702336 -0400 +@@ -1,51 +1,60 @@ +-/* Implementation of the textdomain(3) function +- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +- Written by Ulrich Drepper , 1995. ++/* Implementation of the textdomain(3) function. ++ Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. + +- You should have received a copy of the GNU General Public License +- along with this program; if not, write to the Free Software Foundation, +- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ + + #ifdef HAVE_CONFIG_H + # include + #endif + +-#if defined STDC_HEADERS || defined _LIBC +-# include +-#endif ++#include ++#include + +-#if defined STDC_HEADERS || defined HAVE_STRING_H || defined _LIBC +-# include ++#ifdef _LIBC ++# include + #else +-# include +-# ifndef memcpy +-# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +-# endif ++# include "libgnuintl.h" + #endif ++#include "gettextP.h" + + #ifdef _LIBC +-# include ++/* We have to handle multi-threaded applications. */ ++# include + #else +-# include "libgettext.h" ++/* Provide dummy implementation if this is outside glibc. */ ++# define __libc_rwlock_define(CLASS, NAME) ++# define __libc_rwlock_wrlock(NAME) ++# define __libc_rwlock_unlock(NAME) ++#endif ++ ++/* The internal variables in the standalone libintl.a must have different ++ names than the internal variables in GNU libc, otherwise programs ++ using libintl.a cannot be linked statically. */ ++#if !defined _LIBC ++# define _nl_default_default_domain libintl_nl_default_default_domain ++# define _nl_current_default_domain libintl_nl_current_default_domain + #endif + + /* @@ end of prolog @@ */ + + /* Name of the default text domain. */ +-extern const char _nl_default_default_domain[]; ++extern const char _nl_default_default_domain[] attribute_hidden; + + /* Default text domain in which entries for gettext(3) are to be found. */ +-extern const char *_nl_current_default_domain; ++extern const char *_nl_current_default_domain attribute_hidden; + + + /* Names for the libintl functions are a problem. They must not clash +@@ -54,50 +63,76 @@ + prefix. So we have to make a difference here. */ + #ifdef _LIBC + # define TEXTDOMAIN __textdomain +-# define strdup(str) __strdup (str) ++# ifndef strdup ++# define strdup(str) __strdup (str) ++# endif + #else +-# define TEXTDOMAIN textdomain__ ++# define TEXTDOMAIN libintl_textdomain + #endif + ++/* Lock variable to protect the global data in the gettext implementation. */ ++__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) ++ + /* Set the current default message catalog to DOMAINNAME. + If DOMAINNAME is null, return the current default. + If DOMAINNAME is "", reset to the default of "messages". */ + char * +-TEXTDOMAIN (domainname) +- const char *domainname; ++TEXTDOMAIN (const char *domainname) + { +- char *old; ++ char *new_domain; ++ char *old_domain; + + /* A NULL pointer requests the current setting. */ + if (domainname == NULL) + return (char *) _nl_current_default_domain; + +- old = (char *) _nl_current_default_domain; ++ __libc_rwlock_wrlock (_nl_state_lock); ++ ++ old_domain = (char *) _nl_current_default_domain; + + /* If domain name is the null string set to default domain "messages". */ + if (domainname[0] == '\0' + || strcmp (domainname, _nl_default_default_domain) == 0) +- _nl_current_default_domain = _nl_default_default_domain; ++ { ++ _nl_current_default_domain = _nl_default_default_domain; ++ new_domain = (char *) _nl_current_default_domain; ++ } ++ else if (strcmp (domainname, old_domain) == 0) ++ /* This can happen and people will use it to signal that some ++ environment variable changed. */ ++ new_domain = old_domain; + else + { + /* If the following malloc fails `_nl_current_default_domain' + will be NULL. This value will be returned and so signals we + are out of core. */ + #if defined _LIBC || defined HAVE_STRDUP +- _nl_current_default_domain = strdup (domainname); ++ new_domain = strdup (domainname); + #else + size_t len = strlen (domainname) + 1; +- char *cp = (char *) malloc (len); +- if (cp != NULL) +- memcpy (cp, domainname, len); +- _nl_current_default_domain = cp; ++ new_domain = (char *) malloc (len); ++ if (new_domain != NULL) ++ memcpy (new_domain, domainname, len); + #endif ++ ++ if (new_domain != NULL) ++ _nl_current_default_domain = new_domain; + } + +- if (old != _nl_default_default_domain) +- free (old); ++ /* We use this possibility to signal a change of the loaded catalogs ++ since this is most likely the case and there is no other easy we ++ to do it. Do it only when the call was successful. */ ++ if (new_domain != NULL) ++ { ++ ++_nl_msg_cat_cntr; + +- return (char *) _nl_current_default_domain; ++ if (old_domain != new_domain && old_domain != _nl_default_default_domain) ++ free (old_domain); ++ } ++ ++ __libc_rwlock_unlock (_nl_state_lock); ++ ++ return new_domain; + } + + #ifdef _LIBC +--- lrzsz-0.12.20.safe/intl/vasnprintf.c 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/vasnprintf.c 2004-09-12 14:40:34.662701424 -0400 +@@ -0,0 +1,887 @@ ++/* vsprintf with automatic memory allocation. ++ Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++/* Tell glibc's to provide a prototype for snprintf(). ++ This must come before because may include ++ , and once has been included, it's too late. */ ++#ifndef _GNU_SOURCE ++# define _GNU_SOURCE 1 ++#endif ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++#ifndef IN_LIBINTL ++# include ++#endif ++ ++/* Specification. */ ++#if WIDE_CHAR_VERSION ++# include "vasnwprintf.h" ++#else ++# include "vasnprintf.h" ++#endif ++ ++#include /* snprintf(), sprintf() */ ++#include /* abort(), malloc(), realloc(), free() */ ++#include /* memcpy(), strlen() */ ++#include /* errno */ ++#include /* CHAR_BIT */ ++#include /* DBL_MAX_EXP, LDBL_MAX_EXP */ ++#if WIDE_CHAR_VERSION ++# include "wprintf-parse.h" ++#else ++# include "printf-parse.h" ++#endif ++ ++/* Checked size_t computations. */ ++#include "xsize.h" ++ ++#ifdef HAVE_WCHAR_T ++# ifdef HAVE_WCSLEN ++# define local_wcslen wcslen ++# else ++ /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid ++ a dependency towards this library, here is a local substitute. ++ Define this substitute only once, even if this file is included ++ twice in the same compilation unit. */ ++# ifndef local_wcslen_defined ++# define local_wcslen_defined 1 ++static size_t ++local_wcslen (const wchar_t *s) ++{ ++ const wchar_t *ptr; ++ ++ for (ptr = s; *ptr != (wchar_t) 0; ptr++) ++ ; ++ return ptr - s; ++} ++# endif ++# endif ++#endif ++ ++#if WIDE_CHAR_VERSION ++# define VASNPRINTF vasnwprintf ++# define CHAR_T wchar_t ++# define DIRECTIVE wchar_t_directive ++# define DIRECTIVES wchar_t_directives ++# define PRINTF_PARSE wprintf_parse ++# define USE_SNPRINTF 1 ++# if HAVE_DECL__SNWPRINTF ++ /* On Windows, the function swprintf() has a different signature than ++ on Unix; we use the _snwprintf() function instead. */ ++# define SNPRINTF _snwprintf ++# else ++ /* Unix. */ ++# define SNPRINTF swprintf ++# endif ++#else ++# define VASNPRINTF vasnprintf ++# define CHAR_T char ++# define DIRECTIVE char_directive ++# define DIRECTIVES char_directives ++# define PRINTF_PARSE printf_parse ++# define USE_SNPRINTF (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) ++# if HAVE_DECL__SNPRINTF ++ /* Windows. */ ++# define SNPRINTF _snprintf ++# else ++ /* Unix. */ ++# define SNPRINTF snprintf ++# endif ++#endif ++ ++CHAR_T * ++VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args) ++{ ++ DIRECTIVES d; ++ arguments a; ++ ++ if (PRINTF_PARSE (format, &d, &a) < 0) ++ { ++ errno = EINVAL; ++ return NULL; ++ } ++ ++#define CLEANUP() \ ++ free (d.dir); \ ++ if (a.arg) \ ++ free (a.arg); ++ ++ if (printf_fetchargs (args, &a) < 0) ++ { ++ CLEANUP (); ++ errno = EINVAL; ++ return NULL; ++ } ++ ++ { ++ size_t buf_neededlength; ++ CHAR_T *buf; ++ CHAR_T *buf_malloced; ++ const CHAR_T *cp; ++ size_t i; ++ DIRECTIVE *dp; ++ /* Output string accumulator. */ ++ CHAR_T *result; ++ size_t allocated; ++ size_t length; ++ ++ /* Allocate a small buffer that will hold a directive passed to ++ sprintf or snprintf. */ ++ buf_neededlength = ++ xsum4 (7, d.max_width_length, d.max_precision_length, 6); ++#if HAVE_ALLOCA ++ if (buf_neededlength < 4000 / sizeof (CHAR_T)) ++ { ++ buf = (CHAR_T *) alloca (buf_neededlength * sizeof (CHAR_T)); ++ buf_malloced = NULL; ++ } ++ else ++#endif ++ { ++ size_t buf_memsize = xtimes (buf_neededlength, sizeof (CHAR_T)); ++ if (size_overflow_p (buf_memsize)) ++ goto out_of_memory_1; ++ buf = (CHAR_T *) malloc (buf_memsize); ++ if (buf == NULL) ++ goto out_of_memory_1; ++ buf_malloced = buf; ++ } ++ ++ if (resultbuf != NULL) ++ { ++ result = resultbuf; ++ allocated = *lengthp; ++ } ++ else ++ { ++ result = NULL; ++ allocated = 0; ++ } ++ length = 0; ++ /* Invariants: ++ result is either == resultbuf or == NULL or malloc-allocated. ++ If length > 0, then result != NULL. */ ++ ++ /* Ensures that allocated >= needed. Aborts through a jump to ++ out_of_memory if needed is SIZE_MAX or otherwise too big. */ ++#define ENSURE_ALLOCATION(needed) \ ++ if ((needed) > allocated) \ ++ { \ ++ size_t memory_size; \ ++ CHAR_T *memory; \ ++ \ ++ allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ ++ if ((needed) > allocated) \ ++ allocated = (needed); \ ++ memory_size = xtimes (allocated, sizeof (CHAR_T)); \ ++ if (size_overflow_p (memory_size)) \ ++ goto out_of_memory; \ ++ if (result == resultbuf || result == NULL) \ ++ memory = (CHAR_T *) malloc (memory_size); \ ++ else \ ++ memory = (CHAR_T *) realloc (result, memory_size); \ ++ if (memory == NULL) \ ++ goto out_of_memory; \ ++ if (result == resultbuf && length > 0) \ ++ memcpy (memory, result, length * sizeof (CHAR_T)); \ ++ result = memory; \ ++ } ++ ++ for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) ++ { ++ if (cp != dp->dir_start) ++ { ++ size_t n = dp->dir_start - cp; ++ size_t augmented_length = xsum (length, n); ++ ++ ENSURE_ALLOCATION (augmented_length); ++ memcpy (result + length, cp, n * sizeof (CHAR_T)); ++ length = augmented_length; ++ } ++ if (i == d.count) ++ break; ++ ++ /* Execute a single directive. */ ++ if (dp->conversion == '%') ++ { ++ size_t augmented_length; ++ ++ if (!(dp->arg_index == ARG_NONE)) ++ abort (); ++ augmented_length = xsum (length, 1); ++ ENSURE_ALLOCATION (augmented_length); ++ result[length] = '%'; ++ length = augmented_length; ++ } ++ else ++ { ++ if (!(dp->arg_index != ARG_NONE)) ++ abort (); ++ ++ if (dp->conversion == 'n') ++ { ++ switch (a.arg[dp->arg_index].type) ++ { ++ case TYPE_COUNT_SCHAR_POINTER: ++ *a.arg[dp->arg_index].a.a_count_schar_pointer = length; ++ break; ++ case TYPE_COUNT_SHORT_POINTER: ++ *a.arg[dp->arg_index].a.a_count_short_pointer = length; ++ break; ++ case TYPE_COUNT_INT_POINTER: ++ *a.arg[dp->arg_index].a.a_count_int_pointer = length; ++ break; ++ case TYPE_COUNT_LONGINT_POINTER: ++ *a.arg[dp->arg_index].a.a_count_longint_pointer = length; ++ break; ++#ifdef HAVE_LONG_LONG ++ case TYPE_COUNT_LONGLONGINT_POINTER: ++ *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; ++ break; ++#endif ++ default: ++ abort (); ++ } ++ } ++ else ++ { ++ arg_type type = a.arg[dp->arg_index].type; ++ CHAR_T *p; ++ unsigned int prefix_count; ++ int prefixes[2]; ++#if !USE_SNPRINTF ++ size_t tmp_length; ++ CHAR_T tmpbuf[700]; ++ CHAR_T *tmp; ++ ++ /* Allocate a temporary buffer of sufficient size for calling ++ sprintf. */ ++ { ++ size_t width; ++ size_t precision; ++ ++ width = 0; ++ if (dp->width_start != dp->width_end) ++ { ++ if (dp->width_arg_index != ARG_NONE) ++ { ++ int arg; ++ ++ if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) ++ abort (); ++ arg = a.arg[dp->width_arg_index].a.a_int; ++ width = (arg < 0 ? (unsigned int) (-arg) : arg); ++ } ++ else ++ { ++ const CHAR_T *digitp = dp->width_start; ++ ++ do ++ width = xsum (xtimes (width, 10), *digitp++ - '0'); ++ while (digitp != dp->width_end); ++ } ++ } ++ ++ precision = 6; ++ if (dp->precision_start != dp->precision_end) ++ { ++ if (dp->precision_arg_index != ARG_NONE) ++ { ++ int arg; ++ ++ if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) ++ abort (); ++ arg = a.arg[dp->precision_arg_index].a.a_int; ++ precision = (arg < 0 ? 0 : arg); ++ } ++ else ++ { ++ const CHAR_T *digitp = dp->precision_start + 1; ++ ++ precision = 0; ++ do ++ precision = xsum (xtimes (precision, 10), *digitp++ - '0'); ++ while (digitp != dp->precision_end); ++ } ++ } ++ ++ switch (dp->conversion) ++ { ++ ++ case 'd': case 'i': case 'u': ++# ifdef HAVE_LONG_LONG ++ if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long long) * CHAR_BIT ++ * 0.30103 /* binary -> decimal */ ++ * 2 /* estimate for FLAG_GROUP */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ else ++# endif ++ if (type == TYPE_LONGINT || type == TYPE_ULONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long) * CHAR_BIT ++ * 0.30103 /* binary -> decimal */ ++ * 2 /* estimate for FLAG_GROUP */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ else ++ tmp_length = ++ (unsigned int) (sizeof (unsigned int) * CHAR_BIT ++ * 0.30103 /* binary -> decimal */ ++ * 2 /* estimate for FLAG_GROUP */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ break; ++ ++ case 'o': ++# ifdef HAVE_LONG_LONG ++ if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long long) * CHAR_BIT ++ * 0.333334 /* binary -> octal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ else ++# endif ++ if (type == TYPE_LONGINT || type == TYPE_ULONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long) * CHAR_BIT ++ * 0.333334 /* binary -> octal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ else ++ tmp_length = ++ (unsigned int) (sizeof (unsigned int) * CHAR_BIT ++ * 0.333334 /* binary -> octal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 1; /* account for leading sign */ ++ break; ++ ++ case 'x': case 'X': ++# ifdef HAVE_LONG_LONG ++ if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long long) * CHAR_BIT ++ * 0.25 /* binary -> hexadecimal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 2; /* account for leading sign or alternate form */ ++ else ++# endif ++ if (type == TYPE_LONGINT || type == TYPE_ULONGINT) ++ tmp_length = ++ (unsigned int) (sizeof (unsigned long) * CHAR_BIT ++ * 0.25 /* binary -> hexadecimal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 2; /* account for leading sign or alternate form */ ++ else ++ tmp_length = ++ (unsigned int) (sizeof (unsigned int) * CHAR_BIT ++ * 0.25 /* binary -> hexadecimal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 2; /* account for leading sign or alternate form */ ++ break; ++ ++ case 'f': case 'F': ++# ifdef HAVE_LONG_DOUBLE ++ if (type == TYPE_LONGDOUBLE) ++ tmp_length = ++ (unsigned int) (LDBL_MAX_EXP ++ * 0.30103 /* binary -> decimal */ ++ * 2 /* estimate for FLAG_GROUP */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 10; /* sign, decimal point etc. */ ++ else ++# endif ++ tmp_length = ++ (unsigned int) (DBL_MAX_EXP ++ * 0.30103 /* binary -> decimal */ ++ * 2 /* estimate for FLAG_GROUP */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 10; /* sign, decimal point etc. */ ++ tmp_length = xsum (tmp_length, precision); ++ break; ++ ++ case 'e': case 'E': case 'g': case 'G': ++ case 'a': case 'A': ++ tmp_length = ++ 12; /* sign, decimal point, exponent etc. */ ++ tmp_length = xsum (tmp_length, precision); ++ break; ++ ++ case 'c': ++# if defined HAVE_WINT_T && !WIDE_CHAR_VERSION ++ if (type == TYPE_WIDE_CHAR) ++ tmp_length = MB_CUR_MAX; ++ else ++# endif ++ tmp_length = 1; ++ break; ++ ++ case 's': ++# ifdef HAVE_WCHAR_T ++ if (type == TYPE_WIDE_STRING) ++ { ++ tmp_length = ++ local_wcslen (a.arg[dp->arg_index].a.a_wide_string); ++ ++# if !WIDE_CHAR_VERSION ++ tmp_length = xtimes (tmp_length, MB_CUR_MAX); ++# endif ++ } ++ else ++# endif ++ tmp_length = strlen (a.arg[dp->arg_index].a.a_string); ++ break; ++ ++ case 'p': ++ tmp_length = ++ (unsigned int) (sizeof (void *) * CHAR_BIT ++ * 0.25 /* binary -> hexadecimal */ ++ ) ++ + 1 /* turn floor into ceil */ ++ + 2; /* account for leading 0x */ ++ break; ++ ++ default: ++ abort (); ++ } ++ ++ if (tmp_length < width) ++ tmp_length = width; ++ ++ tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ ++ } ++ ++ if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T)) ++ tmp = tmpbuf; ++ else ++ { ++ size_t tmp_memsize = xtimes (tmp_length, sizeof (CHAR_T)); ++ ++ if (size_overflow_p (tmp_memsize)) ++ /* Overflow, would lead to out of memory. */ ++ goto out_of_memory; ++ tmp = (CHAR_T *) malloc (tmp_memsize); ++ if (tmp == NULL) ++ /* Out of memory. */ ++ goto out_of_memory; ++ } ++#endif ++ ++ /* Construct the format string for calling snprintf or ++ sprintf. */ ++ p = buf; ++ *p++ = '%'; ++ if (dp->flags & FLAG_GROUP) ++ *p++ = '\''; ++ if (dp->flags & FLAG_LEFT) ++ *p++ = '-'; ++ if (dp->flags & FLAG_SHOWSIGN) ++ *p++ = '+'; ++ if (dp->flags & FLAG_SPACE) ++ *p++ = ' '; ++ if (dp->flags & FLAG_ALT) ++ *p++ = '#'; ++ if (dp->flags & FLAG_ZERO) ++ *p++ = '0'; ++ if (dp->width_start != dp->width_end) ++ { ++ size_t n = dp->width_end - dp->width_start; ++ memcpy (p, dp->width_start, n * sizeof (CHAR_T)); ++ p += n; ++ } ++ if (dp->precision_start != dp->precision_end) ++ { ++ size_t n = dp->precision_end - dp->precision_start; ++ memcpy (p, dp->precision_start, n * sizeof (CHAR_T)); ++ p += n; ++ } ++ ++ switch (type) ++ { ++#ifdef HAVE_LONG_LONG ++ case TYPE_LONGLONGINT: ++ case TYPE_ULONGLONGINT: ++ *p++ = 'l'; ++ /*FALLTHROUGH*/ ++#endif ++ case TYPE_LONGINT: ++ case TYPE_ULONGINT: ++#ifdef HAVE_WINT_T ++ case TYPE_WIDE_CHAR: ++#endif ++#ifdef HAVE_WCHAR_T ++ case TYPE_WIDE_STRING: ++#endif ++ *p++ = 'l'; ++ break; ++#ifdef HAVE_LONG_DOUBLE ++ case TYPE_LONGDOUBLE: ++ *p++ = 'L'; ++ break; ++#endif ++ default: ++ break; ++ } ++ *p = dp->conversion; ++#if USE_SNPRINTF ++ p[1] = '%'; ++ p[2] = 'n'; ++ p[3] = '\0'; ++#else ++ p[1] = '\0'; ++#endif ++ ++ /* Construct the arguments for calling snprintf or sprintf. */ ++ prefix_count = 0; ++ if (dp->width_arg_index != ARG_NONE) ++ { ++ if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) ++ abort (); ++ prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; ++ } ++ if (dp->precision_arg_index != ARG_NONE) ++ { ++ if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) ++ abort (); ++ prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; ++ } ++ ++#if USE_SNPRINTF ++ /* Prepare checking whether snprintf returns the count ++ via %n. */ ++ ENSURE_ALLOCATION (xsum (length, 1)); ++ result[length] = '\0'; ++#endif ++ ++ for (;;) ++ { ++ size_t maxlen; ++ int count; ++ int retcount; ++ ++ maxlen = allocated - length; ++ count = -1; ++ retcount = 0; ++ ++#if USE_SNPRINTF ++# define SNPRINTF_BUF(arg) \ ++ switch (prefix_count) \ ++ { \ ++ case 0: \ ++ retcount = SNPRINTF (result + length, maxlen, buf, \ ++ arg, &count); \ ++ break; \ ++ case 1: \ ++ retcount = SNPRINTF (result + length, maxlen, buf, \ ++ prefixes[0], arg, &count); \ ++ break; \ ++ case 2: \ ++ retcount = SNPRINTF (result + length, maxlen, buf, \ ++ prefixes[0], prefixes[1], arg, \ ++ &count); \ ++ break; \ ++ default: \ ++ abort (); \ ++ } ++#else ++# define SNPRINTF_BUF(arg) \ ++ switch (prefix_count) \ ++ { \ ++ case 0: \ ++ count = sprintf (tmp, buf, arg); \ ++ break; \ ++ case 1: \ ++ count = sprintf (tmp, buf, prefixes[0], arg); \ ++ break; \ ++ case 2: \ ++ count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ ++ arg); \ ++ break; \ ++ default: \ ++ abort (); \ ++ } ++#endif ++ ++ switch (type) ++ { ++ case TYPE_SCHAR: ++ { ++ int arg = a.arg[dp->arg_index].a.a_schar; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_UCHAR: ++ { ++ unsigned int arg = a.arg[dp->arg_index].a.a_uchar; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_SHORT: ++ { ++ int arg = a.arg[dp->arg_index].a.a_short; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_USHORT: ++ { ++ unsigned int arg = a.arg[dp->arg_index].a.a_ushort; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_INT: ++ { ++ int arg = a.arg[dp->arg_index].a.a_int; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_UINT: ++ { ++ unsigned int arg = a.arg[dp->arg_index].a.a_uint; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_LONGINT: ++ { ++ long int arg = a.arg[dp->arg_index].a.a_longint; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_ULONGINT: ++ { ++ unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#ifdef HAVE_LONG_LONG ++ case TYPE_LONGLONGINT: ++ { ++ long long int arg = a.arg[dp->arg_index].a.a_longlongint; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ case TYPE_ULONGLONGINT: ++ { ++ unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#endif ++ case TYPE_DOUBLE: ++ { ++ double arg = a.arg[dp->arg_index].a.a_double; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#ifdef HAVE_LONG_DOUBLE ++ case TYPE_LONGDOUBLE: ++ { ++ long double arg = a.arg[dp->arg_index].a.a_longdouble; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#endif ++ case TYPE_CHAR: ++ { ++ int arg = a.arg[dp->arg_index].a.a_char; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#ifdef HAVE_WINT_T ++ case TYPE_WIDE_CHAR: ++ { ++ wint_t arg = a.arg[dp->arg_index].a.a_wide_char; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#endif ++ case TYPE_STRING: ++ { ++ const char *arg = a.arg[dp->arg_index].a.a_string; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#ifdef HAVE_WCHAR_T ++ case TYPE_WIDE_STRING: ++ { ++ const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++#endif ++ case TYPE_POINTER: ++ { ++ void *arg = a.arg[dp->arg_index].a.a_pointer; ++ SNPRINTF_BUF (arg); ++ } ++ break; ++ default: ++ abort (); ++ } ++ ++#if USE_SNPRINTF ++ /* Portability: Not all implementations of snprintf() ++ are ISO C 99 compliant. Determine the number of ++ bytes that snprintf() has produced or would have ++ produced. */ ++ if (count >= 0) ++ { ++ /* Verify that snprintf() has NUL-terminated its ++ result. */ ++ if (count < maxlen && result[length + count] != '\0') ++ abort (); ++ /* Portability hack. */ ++ if (retcount > count) ++ count = retcount; ++ } ++ else ++ { ++ /* snprintf() doesn't understand the '%n' ++ directive. */ ++ if (p[1] != '\0') ++ { ++ /* Don't use the '%n' directive; instead, look ++ at the snprintf() return value. */ ++ p[1] = '\0'; ++ continue; ++ } ++ else ++ { ++ /* Look at the snprintf() return value. */ ++ if (retcount < 0) ++ { ++ /* HP-UX 10.20 snprintf() is doubly deficient: ++ It doesn't understand the '%n' directive, ++ *and* it returns -1 (rather than the length ++ that would have been required) when the ++ buffer is too small. */ ++ size_t bigger_need = ++ xsum (xtimes (allocated, 2), 12); ++ ENSURE_ALLOCATION (bigger_need); ++ continue; ++ } ++ else ++ count = retcount; ++ } ++ } ++#endif ++ ++ /* Attempt to handle failure. */ ++ if (count < 0) ++ { ++ if (!(result == resultbuf || result == NULL)) ++ free (result); ++ if (buf_malloced != NULL) ++ free (buf_malloced); ++ CLEANUP (); ++ errno = EINVAL; ++ return NULL; ++ } ++ ++#if !USE_SNPRINTF ++ if (count >= tmp_length) ++ /* tmp_length was incorrectly calculated - fix the ++ code above! */ ++ abort (); ++#endif ++ ++ /* Make room for the result. */ ++ if (count >= maxlen) ++ { ++ /* Need at least count bytes. But allocate ++ proportionally, to avoid looping eternally if ++ snprintf() reports a too small count. */ ++ size_t n = ++ xmax (xsum (length, count), xtimes (allocated, 2)); ++ ++ ENSURE_ALLOCATION (n); ++#if USE_SNPRINTF ++ continue; ++#endif ++ } ++ ++#if USE_SNPRINTF ++ /* The snprintf() result did fit. */ ++#else ++ /* Append the sprintf() result. */ ++ memcpy (result + length, tmp, count * sizeof (CHAR_T)); ++ if (tmp != tmpbuf) ++ free (tmp); ++#endif ++ ++ length += count; ++ break; ++ } ++ } ++ } ++ } ++ ++ /* Add the final NUL. */ ++ ENSURE_ALLOCATION (xsum (length, 1)); ++ result[length] = '\0'; ++ ++ if (result != resultbuf && length + 1 < allocated) ++ { ++ /* Shrink the allocated memory if possible. */ ++ CHAR_T *memory; ++ ++ memory = (CHAR_T *) realloc (result, (length + 1) * sizeof (CHAR_T)); ++ if (memory != NULL) ++ result = memory; ++ } ++ ++ if (buf_malloced != NULL) ++ free (buf_malloced); ++ CLEANUP (); ++ *lengthp = length; ++ return result; ++ ++ out_of_memory: ++ if (!(result == resultbuf || result == NULL)) ++ free (result); ++ if (buf_malloced != NULL) ++ free (buf_malloced); ++ out_of_memory_1: ++ CLEANUP (); ++ errno = ENOMEM; ++ return NULL; ++ } ++} ++ ++#undef SNPRINTF ++#undef USE_SNPRINTF ++#undef PRINTF_PARSE ++#undef DIRECTIVES ++#undef DIRECTIVE ++#undef CHAR_T ++#undef VASNPRINTF +--- lrzsz-0.12.20.safe/intl/vasnprintf.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/vasnprintf.h 2004-09-12 14:40:34.667700664 -0400 +@@ -0,0 +1,61 @@ ++/* vsprintf with automatic memory allocation. ++ Copyright (C) 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _VASNPRINTF_H ++#define _VASNPRINTF_H ++ ++/* Get va_list. */ ++#include ++ ++/* Get size_t. */ ++#include ++ ++#ifndef __attribute__ ++/* This feature is available in gcc versions 2.5 and later. */ ++# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ ++# define __attribute__(Spec) /* empty */ ++# endif ++/* The __-protected variants of `format' and `printf' attributes ++ are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */ ++# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ++# define __format__ format ++# define __printf__ printf ++# endif ++#endif ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++/* Write formatted output to a string dynamically allocated with malloc(). ++ You can pass a preallocated buffer for the result in RESULTBUF and its ++ size in *LENGTHP; otherwise you pass RESULTBUF = NULL. ++ If successful, return the address of the string (this may be = RESULTBUF ++ if no dynamic memory allocation was necessary) and set *LENGTHP to the ++ number of resulting bytes, excluding the trailing NUL. Upon error, set ++ errno and return NULL. */ ++extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) ++ __attribute__ ((__format__ (__printf__, 3, 4))); ++extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) ++ __attribute__ ((__format__ (__printf__, 3, 0))); ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* _VASNPRINTF_H */ +--- lrzsz-0.12.20.safe/intl/vasnwprintf.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/vasnwprintf.h 2004-09-12 14:40:34.673699752 -0400 +@@ -0,0 +1,46 @@ ++/* vswprintf with automatic memory allocation. ++ Copyright (C) 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _VASNWPRINTF_H ++#define _VASNWPRINTF_H ++ ++/* Get va_list. */ ++#include ++ ++/* Get wchar_t, size_t. */ ++#include ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++/* Write formatted output to a string dynamically allocated with malloc(). ++ You can pass a preallocated buffer for the result in RESULTBUF and its ++ size in *LENGTHP; otherwise you pass RESULTBUF = NULL. ++ If successful, return the address of the string (this may be = RESULTBUF ++ if no dynamic memory allocation was necessary) and set *LENGTHP to the ++ number of resulting bytes, excluding the trailing NUL. Upon error, set ++ errno and return NULL. */ ++extern wchar_t * asnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, ...); ++extern wchar_t * vasnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, va_list args); ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* _VASNWPRINTF_H */ +--- lrzsz-0.12.20.safe/intl/VERSION 1998-04-26 09:22:37.000000000 -0400 ++++ lrzsz-0.12.20/intl/VERSION 2004-09-12 14:40:34.679698840 -0400 +@@ -1 +1 @@ +-GNU gettext library from gettext-0.10.32 ++GNU gettext library from gettext-0.14.1 +--- lrzsz-0.12.20.safe/intl/wprintf-parse.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/wprintf-parse.h 2004-09-12 14:40:34.695696408 -0400 +@@ -0,0 +1,75 @@ ++/* Parse printf format string. ++ Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _WPRINTF_PARSE_H ++#define _WPRINTF_PARSE_H ++ ++#include "printf-args.h" ++ ++ ++/* Flags */ ++#define FLAG_GROUP 1 /* ' flag */ ++#define FLAG_LEFT 2 /* - flag */ ++#define FLAG_SHOWSIGN 4 /* + flag */ ++#define FLAG_SPACE 8 /* space flag */ ++#define FLAG_ALT 16 /* # flag */ ++#define FLAG_ZERO 32 ++ ++/* arg_index value indicating that no argument is consumed. */ ++#define ARG_NONE (~(size_t)0) ++ ++/* A parsed directive. */ ++typedef struct ++{ ++ const wchar_t* dir_start; ++ const wchar_t* dir_end; ++ int flags; ++ const wchar_t* width_start; ++ const wchar_t* width_end; ++ size_t width_arg_index; ++ const wchar_t* precision_start; ++ const wchar_t* precision_end; ++ size_t precision_arg_index; ++ wchar_t conversion; /* d i o u x X f e E g G c s p n U % but not C S */ ++ size_t arg_index; ++} ++wchar_t_directive; ++ ++/* A parsed format string. */ ++typedef struct ++{ ++ size_t count; ++ wchar_t_directive *dir; ++ size_t max_width_length; ++ size_t max_precision_length; ++} ++wchar_t_directives; ++ ++ ++/* Parses the format string. Fills in the number N of directives, and fills ++ in directives[0], ..., directives[N-1], and sets directives[N].dir_start ++ to the end of the format string. Also fills in the arg_type fields of the ++ arguments and the needed count of arguments. */ ++#ifdef STATIC ++STATIC ++#else ++extern ++#endif ++int wprintf_parse (const wchar_t *format, wchar_t_directives *d, arguments *a); ++ ++#endif /* _WPRINTF_PARSE_H */ +--- lrzsz-0.12.20.safe/intl/xopen-msg.sed 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/intl/xopen-msg.sed 1969-12-31 19:00:00.000000000 -0500 +@@ -1,104 +0,0 @@ +-# po2msg.sed - Convert Uniforum style .po file to X/Open style .msg file +-# Copyright (C) 1995 Free Software Foundation, Inc. +-# Ulrich Drepper , 1995. +-# +-# This program is free software; you can redistribute it and/or modify +-# it under the terms of the GNU General Public License as published by +-# the Free Software Foundation; either version 2, or (at your option) +-# any later version. +-# +-# This program is distributed in the hope that it will be useful, +-# but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU General Public License for more details. +-# +-# You should have received a copy of the GNU General Public License +-# along with this program; if not, write to the Free Software +-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-# +-# +-# The first directive in the .msg should be the definition of the +-# message set number. We use always set number 1. +-# +-1 { +- i\ +-$set 1 # Automatically created by po2msg.sed +- h +- s/.*/0/ +- x +-} +-# +-# We copy all comments into the .msg file. Perhaps they can help. +-# +-/^#/ s/^#[ ]*/$ /p +-# +-# We copy the original message as a comment into the .msg file. +-# +-/^msgid/ { +-# Does not work now +-# /"$/! { +-# s/\\$// +-# s/$/ ... (more lines following)"/ +-# } +- s/^msgid[ ]*"\(.*\)"$/$ Original Message: \1/ +- p +-} +-# +-# The .msg file contains, other then the .po file, only the translations +-# but each given a unique ID. Starting from 1 and incrementing by 1 for +-# each message we assign them to the messages. +-# It is important that the .po file used to generate the cat-id-tbl.c file +-# (with po-to-tbl) is the same as the one used here. (At least the order +-# of declarations must not be changed.) +-# +-/^msgstr/ { +- s/msgstr[ ]*"\(.*\)"/\1/ +- x +-# The following nice solution is by +-# Bruno +- td +-# Increment a decimal number in pattern space. +-# First hide trailing `9' digits. +- :d +- s/9\(_*\)$/_\1/ +- td +-# Assure at least one digit is available. +- s/^\(_*\)$/0\1/ +-# Increment the last digit. +- s/8\(_*\)$/9\1/ +- s/7\(_*\)$/8\1/ +- s/6\(_*\)$/7\1/ +- s/5\(_*\)$/6\1/ +- s/4\(_*\)$/5\1/ +- s/3\(_*\)$/4\1/ +- s/2\(_*\)$/3\1/ +- s/1\(_*\)$/2\1/ +- s/0\(_*\)$/1\1/ +-# Convert the hidden `9' digits to `0's. +- s/_/0/g +- x +-# Bring the line in the format ` ' +- G +- s/^[^\n]*$/& / +- s/\(.*\)\n\([0-9]*\)/\2 \1/ +-# Clear flag from last substitution. +- tb +-# Append the next line. +- :b +- N +-# Look whether second part is a continuation line. +- s/\(.*\n\)"\(.*\)"/\1\2/ +-# Yes, then branch. +- ta +- P +- D +-# Note that `D' includes a jump to the start!! +-# We found a continuation line. But before printing insert '\'. +- :a +- s/\(.*\)\(\n.*\)/\1\\\2/ +- P +-# We cannot use the sed command `D' here +- s/.*\n\(.*\)/\1/ +- tb +-} +-d +--- lrzsz-0.12.20.safe/intl/xsize.h 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/intl/xsize.h 2004-09-12 14:40:34.700695648 -0400 +@@ -0,0 +1,109 @@ ++/* xsize.h -- Checked size_t computations. ++ ++ Copyright (C) 2003 Free Software Foundation, Inc. ++ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Library General Public License as published ++ by the Free Software Foundation; either version 2, or (at your option) ++ any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public ++ License along with this program; if not, write to the Free Software ++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++ USA. */ ++ ++#ifndef _XSIZE_H ++#define _XSIZE_H ++ ++/* Get size_t. */ ++#include ++ ++/* Get SIZE_MAX. */ ++#include ++#if HAVE_STDINT_H ++# include ++#endif ++ ++/* The size of memory objects is often computed through expressions of ++ type size_t. Example: ++ void* p = malloc (header_size + n * element_size). ++ These computations can lead to overflow. When this happens, malloc() ++ returns a piece of memory that is way too small, and the program then ++ crashes while attempting to fill the memory. ++ To avoid this, the functions and macros in this file check for overflow. ++ The convention is that SIZE_MAX represents overflow. ++ malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc ++ implementation that uses mmap --, it's recommended to use size_overflow_p() ++ or size_in_bounds_p() before invoking malloc(). ++ The example thus becomes: ++ size_t size = xsum (header_size, xtimes (n, element_size)); ++ void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); ++*/ ++ ++/* Convert an arbitrary value >= 0 to type size_t. */ ++#define xcast_size_t(N) \ ++ ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) ++ ++/* Sum of two sizes, with overflow check. */ ++static inline size_t ++#if __GNUC__ >= 3 ++__attribute__ ((__pure__)) ++#endif ++xsum (size_t size1, size_t size2) ++{ ++ size_t sum = size1 + size2; ++ return (sum >= size1 ? sum : SIZE_MAX); ++} ++ ++/* Sum of three sizes, with overflow check. */ ++static inline size_t ++#if __GNUC__ >= 3 ++__attribute__ ((__pure__)) ++#endif ++xsum3 (size_t size1, size_t size2, size_t size3) ++{ ++ return xsum (xsum (size1, size2), size3); ++} ++ ++/* Sum of four sizes, with overflow check. */ ++static inline size_t ++#if __GNUC__ >= 3 ++__attribute__ ((__pure__)) ++#endif ++xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) ++{ ++ return xsum (xsum (xsum (size1, size2), size3), size4); ++} ++ ++/* Maximum of two sizes, with overflow check. */ ++static inline size_t ++#if __GNUC__ >= 3 ++__attribute__ ((__pure__)) ++#endif ++xmax (size_t size1, size_t size2) ++{ ++ /* No explicit check is needed here, because for any n: ++ max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ ++ return (size1 >= size2 ? size1 : size2); ++} ++ ++/* Multiplication of a count with an element size, with overflow check. ++ The count must be >= 0 and the element size must be > 0. ++ This is a macro, not an inline function, so that it works correctly even ++ when N is of a wider tupe and N > SIZE_MAX. */ ++#define xtimes(N, ELSIZE) \ ++ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) ++ ++/* Check for overflow. */ ++#define size_overflow_p(SIZE) \ ++ ((SIZE) == SIZE_MAX) ++/* Check against overflow. */ ++#define size_in_bounds_p(SIZE) \ ++ ((SIZE) != SIZE_MAX) ++ ++#endif /* _XSIZE_H */ +--- lrzsz-0.12.20.safe/m4/ChangeLog 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/ChangeLog 2004-09-12 14:40:35.054641840 -0400 +@@ -0,0 +1,32 @@ ++2004-09-12 gettextize ++ ++ * codeset.m4: New file, from gettext-0.14.1. ++ * gettext.m4: New file, from gettext-0.14.1. ++ * glibc21.m4: New file, from gettext-0.14.1. ++ * iconv.m4: New file, from gettext-0.14.1. ++ * intdiv0.m4: New file, from gettext-0.14.1. ++ * intmax.m4: New file, from gettext-0.14.1. ++ * inttypes.m4: New file, from gettext-0.14.1. ++ * inttypes_h.m4: New file, from gettext-0.14.1. ++ * inttypes-pri.m4: New file, from gettext-0.14.1. ++ * isc-posix.m4: New file, from gettext-0.14.1. ++ * lcmessage.m4: New file, from gettext-0.14.1. ++ * lib-ld.m4: New file, from gettext-0.14.1. ++ * lib-link.m4: New file, from gettext-0.14.1. ++ * lib-prefix.m4: New file, from gettext-0.14.1. ++ * longdouble.m4: New file, from gettext-0.14.1. ++ * longlong.m4: New file, from gettext-0.14.1. ++ * nls.m4: New file, from gettext-0.14.1. ++ * po.m4: New file, from gettext-0.14.1. ++ * printf-posix.m4: New file, from gettext-0.14.1. ++ * progtest.m4: New file, from gettext-0.14.1. ++ * signed.m4: New file, from gettext-0.14.1. ++ * size_max.m4: New file, from gettext-0.14.1. ++ * stdint_h.m4: New file, from gettext-0.14.1. ++ * uintmax_t.m4: New file, from gettext-0.14.1. ++ * ulonglong.m4: New file, from gettext-0.14.1. ++ * wchar_t.m4: New file, from gettext-0.14.1. ++ * wint_t.m4: New file, from gettext-0.14.1. ++ * xsize.m4: New file, from gettext-0.14.1. ++ * Makefile.am: New file. ++ +--- lrzsz-0.12.20.safe/m4/codeset.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/codeset.m4 2004-09-12 14:40:34.820677408 -0400 +@@ -0,0 +1,23 @@ ++# codeset.m4 serial AM1 (gettext-0.10.40) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([AM_LANGINFO_CODESET], ++[ ++ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, ++ [AC_TRY_LINK([#include ], ++ [char* cs = nl_langinfo(CODESET);], ++ am_cv_langinfo_codeset=yes, ++ am_cv_langinfo_codeset=no) ++ ]) ++ if test $am_cv_langinfo_codeset = yes; then ++ AC_DEFINE(HAVE_LANGINFO_CODESET, 1, ++ [Define if you have and nl_langinfo(CODESET).]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/gettext.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/gettext.m4 2004-09-12 14:40:34.826676496 -0400 +@@ -0,0 +1,487 @@ ++# gettext.m4 serial 28 (gettext-0.13) ++dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper , 1995-2000. ++dnl Bruno Haible , 2000-2003. ++ ++dnl Macro to add for using GNU gettext. ++ ++dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). ++dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The ++dnl default (if it is not specified or empty) is 'no-libtool'. ++dnl INTLSYMBOL should be 'external' for packages with no intl directory, ++dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. ++dnl If INTLSYMBOL is 'use-libtool', then a libtool library ++dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, ++dnl depending on --{enable,disable}-{shared,static} and on the presence of ++dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library ++dnl $(top_builddir)/intl/libintl.a will be created. ++dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext ++dnl implementations (in libc or libintl) without the ngettext() function ++dnl will be ignored. If NEEDSYMBOL is specified and is ++dnl 'need-formatstring-macros', then GNU gettext implementations that don't ++dnl support the ISO C 99 formatstring macros will be ignored. ++dnl INTLDIR is used to find the intl libraries. If empty, ++dnl the value `$(top_builddir)/intl/' is used. ++dnl ++dnl The result of the configuration is one of three cases: ++dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled ++dnl and used. ++dnl Catalog format: GNU --> install in $(datadir) ++dnl Catalog extension: .mo after installation, .gmo in source tree ++dnl 2) GNU gettext has been found in the system's C library. ++dnl Catalog format: GNU --> install in $(datadir) ++dnl Catalog extension: .mo after installation, .gmo in source tree ++dnl 3) No internationalization, always use English msgid. ++dnl Catalog format: none ++dnl Catalog extension: none ++dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. ++dnl The use of .gmo is historical (it was needed to avoid overwriting the ++dnl GNU format catalogs when building on a platform with an X/Open gettext), ++dnl but we keep it in order not to force irrelevant filename changes on the ++dnl maintainers. ++dnl ++AC_DEFUN([AM_GNU_GETTEXT], ++[ ++ dnl Argument checking. ++ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , ++ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ++])])])])]) ++ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , ++ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ++])])])]) ++ define(gt_included_intl, ifelse([$1], [external], [no], [yes])) ++ define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) ++ ++ AC_REQUIRE([AM_PO_SUBDIRS])dnl ++ ifelse(gt_included_intl, yes, [ ++ AC_REQUIRE([AM_INTL_SUBDIR])dnl ++ ]) ++ ++ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ ++ dnl Sometimes libintl requires libiconv, so first search for libiconv. ++ dnl Ideally we would do this search only after the ++ dnl if test "$USE_NLS" = "yes"; then ++ dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then ++ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT ++ dnl the configure script would need to contain the same shell code ++ dnl again, outside any 'if'. There are two solutions: ++ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. ++ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. ++ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not ++ dnl documented, we avoid it. ++ ifelse(gt_included_intl, yes, , [ ++ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ++ ]) ++ ++ dnl Set USE_NLS. ++ AM_NLS ++ ++ ifelse(gt_included_intl, yes, [ ++ BUILD_INCLUDED_LIBINTL=no ++ USE_INCLUDED_LIBINTL=no ++ ]) ++ LIBINTL= ++ LTLIBINTL= ++ POSUB= ++ ++ dnl If we use NLS figure out what method ++ if test "$USE_NLS" = "yes"; then ++ gt_use_preinstalled_gnugettext=no ++ ifelse(gt_included_intl, yes, [ ++ AC_MSG_CHECKING([whether included gettext is requested]) ++ AC_ARG_WITH(included-gettext, ++ [ --with-included-gettext use the GNU gettext library included here], ++ nls_cv_force_use_gnu_gettext=$withval, ++ nls_cv_force_use_gnu_gettext=no) ++ AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) ++ ++ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" ++ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ++ ]) ++ dnl User does not insist on using GNU NLS library. Figure out what ++ dnl to use. If GNU gettext is available we use this. Else we have ++ dnl to fall back to GNU NLS library. ++ ++ dnl Add a version number to the cache macros. ++ define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) ++ define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) ++ define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) ++ ++ AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, ++ [AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern int *_nl_domain_bindings;], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], ++ gt_cv_func_gnugettext_libc=yes, ++ gt_cv_func_gnugettext_libc=no)]) ++ ++ if test "$gt_cv_func_gnugettext_libc" != "yes"; then ++ dnl Sometimes libintl requires libiconv, so first search for libiconv. ++ ifelse(gt_included_intl, yes, , [ ++ AM_ICONV_LINK ++ ]) ++ dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL ++ dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) ++ dnl because that would add "-liconv" to LIBINTL and LTLIBINTL ++ dnl even if libiconv doesn't exist. ++ AC_LIB_LINKFLAGS_BODY([intl]) ++ AC_CACHE_CHECK([for GNU gettext in libintl], ++ gt_cv_func_gnugettext_libintl, ++ [gt_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $INCINTL" ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBINTL" ++ dnl Now see whether libintl exists and does not depend on libiconv. ++ AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias ();], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], ++ gt_cv_func_gnugettext_libintl=yes, ++ gt_cv_func_gnugettext_libintl=no) ++ dnl Now see whether libintl exists and depends on libiconv. ++ if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then ++ LIBS="$LIBS $LIBICONV" ++ AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias ();], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], ++ [LIBINTL="$LIBINTL $LIBICONV" ++ LTLIBINTL="$LTLIBINTL $LTLIBICONV" ++ gt_cv_func_gnugettext_libintl=yes ++ ]) ++ fi ++ CPPFLAGS="$gt_save_CPPFLAGS" ++ LIBS="$gt_save_LIBS"]) ++ fi ++ ++ dnl If an already present or preinstalled GNU gettext() is found, ++ dnl use it. But if this macro is used in GNU gettext, and GNU ++ dnl gettext is already preinstalled in libintl, we update this ++ dnl libintl. (Cf. the install rule in intl/Makefile.in.) ++ if test "$gt_cv_func_gnugettext_libc" = "yes" \ ++ || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ ++ && test "$PACKAGE" != gettext-runtime \ ++ && test "$PACKAGE" != gettext-tools; }; then ++ gt_use_preinstalled_gnugettext=yes ++ else ++ dnl Reset the values set by searching for libintl. ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ fi ++ ++ ifelse(gt_included_intl, yes, [ ++ if test "$gt_use_preinstalled_gnugettext" != "yes"; then ++ dnl GNU gettext is not found in the C library. ++ dnl Fall back on included GNU gettext library. ++ nls_cv_use_gnu_gettext=yes ++ fi ++ fi ++ ++ if test "$nls_cv_use_gnu_gettext" = "yes"; then ++ dnl Mark actions used to generate GNU NLS library. ++ BUILD_INCLUDED_LIBINTL=yes ++ USE_INCLUDED_LIBINTL=yes ++ LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" ++ LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" ++ LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` ++ fi ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ dnl Mark actions to use GNU gettext tools. ++ CATOBJEXT=.gmo ++ fi ++ ]) ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ AC_DEFINE(ENABLE_NLS, 1, ++ [Define to 1 if translation of program messages to the user's native language ++ is requested.]) ++ else ++ USE_NLS=no ++ fi ++ fi ++ ++ AC_MSG_CHECKING([whether to use NLS]) ++ AC_MSG_RESULT([$USE_NLS]) ++ if test "$USE_NLS" = "yes"; then ++ AC_MSG_CHECKING([where the gettext function comes from]) ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext_libintl" = "yes"; then ++ gt_source="external libintl" ++ else ++ gt_source="libc" ++ fi ++ else ++ gt_source="included intl directory" ++ fi ++ AC_MSG_RESULT([$gt_source]) ++ fi ++ ++ if test "$USE_NLS" = "yes"; then ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext_libintl" = "yes"; then ++ AC_MSG_CHECKING([how to link with libintl]) ++ AC_MSG_RESULT([$LIBINTL]) ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) ++ fi ++ ++ dnl For backward compatibility. Some packages may be using this. ++ AC_DEFINE(HAVE_GETTEXT, 1, ++ [Define if the GNU gettext() function is already present or preinstalled.]) ++ AC_DEFINE(HAVE_DCGETTEXT, 1, ++ [Define if the GNU dcgettext() function is already present or preinstalled.]) ++ fi ++ ++ dnl We need to process the po/ directory. ++ POSUB=po ++ fi ++ ++ ifelse(gt_included_intl, yes, [ ++ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL ++ dnl to 'yes' because some of the testsuite requires it. ++ if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then ++ BUILD_INCLUDED_LIBINTL=yes ++ fi ++ ++ dnl Make all variables we use known to autoconf. ++ AC_SUBST(BUILD_INCLUDED_LIBINTL) ++ AC_SUBST(USE_INCLUDED_LIBINTL) ++ AC_SUBST(CATOBJEXT) ++ ++ dnl For backward compatibility. Some configure.ins may be using this. ++ nls_cv_header_intl= ++ nls_cv_header_libgt= ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ DATADIRNAME=share ++ AC_SUBST(DATADIRNAME) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ INSTOBJEXT=.mo ++ AC_SUBST(INSTOBJEXT) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ GENCAT=gencat ++ AC_SUBST(GENCAT) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ if test "$USE_INCLUDED_LIBINTL" = yes; then ++ INTLOBJS="\$(GETTOBJS)" ++ fi ++ AC_SUBST(INTLOBJS) ++ ++ dnl Enable libtool support if the surrounding package wishes it. ++ INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix ++ AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) ++ ]) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ INTLLIBS="$LIBINTL" ++ AC_SUBST(INTLLIBS) ++ ++ dnl Make all documented variables known to autoconf. ++ AC_SUBST(LIBINTL) ++ AC_SUBST(LTLIBINTL) ++ AC_SUBST(POSUB) ++]) ++ ++ ++dnl Checks for all prerequisites of the intl subdirectory, ++dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, ++dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. ++AC_DEFUN([AM_INTL_SUBDIR], ++[ ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AM_MKINSTALLDIRS])dnl ++ AC_REQUIRE([AC_PROG_CC])dnl ++ AC_REQUIRE([AC_CANONICAL_HOST])dnl ++ AC_REQUIRE([AC_PROG_RANLIB])dnl ++ AC_REQUIRE([AC_ISC_POSIX])dnl ++ AC_REQUIRE([AC_HEADER_STDC])dnl ++ AC_REQUIRE([AC_C_CONST])dnl ++ AC_REQUIRE([bh_C_SIGNED])dnl ++ AC_REQUIRE([AC_C_INLINE])dnl ++ AC_REQUIRE([AC_TYPE_OFF_T])dnl ++ AC_REQUIRE([AC_TYPE_SIZE_T])dnl ++ AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl ++ AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl ++ AC_REQUIRE([gt_TYPE_WCHAR_T])dnl ++ AC_REQUIRE([gt_TYPE_WINT_T])dnl ++ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([jm_AC_HEADER_STDINT_H]) ++ AC_REQUIRE([gt_TYPE_INTMAX_T]) ++ AC_REQUIRE([gt_PRINTF_POSIX]) ++ AC_REQUIRE([AC_FUNC_ALLOCA])dnl ++ AC_REQUIRE([AC_FUNC_MMAP])dnl ++ AC_REQUIRE([jm_GLIBC21])dnl ++ AC_REQUIRE([gt_INTDIV0])dnl ++ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl ++ AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl ++ AC_REQUIRE([gt_INTTYPES_PRI])dnl ++ AC_REQUIRE([gl_XSIZE])dnl ++ ++ AC_CHECK_TYPE([ptrdiff_t], , ++ [AC_DEFINE([ptrdiff_t], [long], ++ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ++ ]) ++ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ ++stdlib.h string.h unistd.h sys/param.h]) ++ AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \ ++mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \ ++strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \ ++__fsetlocking]) ++ ++ dnl Use the _snprintf function only if it is declared (because on NetBSD it ++ dnl is defined as a weak alias of snprintf; we prefer to use the latter). ++ gt_CHECK_DECL(_snprintf, [#include ]) ++ gt_CHECK_DECL(_snwprintf, [#include ]) ++ ++ dnl Use the *_unlocked functions only if they are declared. ++ dnl (because some of them were defined without being declared in Solaris ++ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built ++ dnl on Solaris 2.5.1 to run on Solaris 2.6). ++ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. ++ gt_CHECK_DECL(feof_unlocked, [#include ]) ++ gt_CHECK_DECL(fgets_unlocked, [#include ]) ++ gt_CHECK_DECL(getc_unlocked, [#include ]) ++ ++ case $gt_cv_func_printf_posix in ++ *yes) HAVE_POSIX_PRINTF=1 ;; ++ *) HAVE_POSIX_PRINTF=0 ;; ++ esac ++ AC_SUBST([HAVE_POSIX_PRINTF]) ++ if test "$ac_cv_func_asprintf" = yes; then ++ HAVE_ASPRINTF=1 ++ else ++ HAVE_ASPRINTF=0 ++ fi ++ AC_SUBST([HAVE_ASPRINTF]) ++ if test "$ac_cv_func_snprintf" = yes; then ++ HAVE_SNPRINTF=1 ++ else ++ HAVE_SNPRINTF=0 ++ fi ++ AC_SUBST([HAVE_SNPRINTF]) ++ if test "$ac_cv_func_wprintf" = yes; then ++ HAVE_WPRINTF=1 ++ else ++ HAVE_WPRINTF=0 ++ fi ++ AC_SUBST([HAVE_WPRINTF]) ++ ++ AM_ICONV ++ AM_LANGINFO_CODESET ++ if test $ac_cv_header_locale_h = yes; then ++ AM_LC_MESSAGES ++ fi ++ ++ dnl intl/plural.c is generated from intl/plural.y. It requires bison, ++ dnl because plural.y uses bison specific features. It requires at least ++ dnl bison-1.26 because earlier versions generate a plural.c that doesn't ++ dnl compile. ++ dnl bison is only needed for the maintainer (who touches plural.y). But in ++ dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put ++ dnl the rule in general Makefile. Now, some people carelessly touch the ++ dnl files or have a broken "make" program, hence the plural.c rule will ++ dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not ++ dnl present or too old. ++ AC_CHECK_PROGS([INTLBISON], [bison]) ++ if test -z "$INTLBISON"; then ++ ac_verc_fail=yes ++ else ++ dnl Found it, now check the version. ++ AC_MSG_CHECKING([version of bison]) ++changequote(<<,>>)dnl ++ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` ++ case $ac_prog_version in ++ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; ++ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ++changequote([,])dnl ++ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; ++ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; ++ esac ++ AC_MSG_RESULT([$ac_prog_version]) ++ fi ++ if test $ac_verc_fail = yes; then ++ INTLBISON=: ++ fi ++]) ++ ++ ++dnl gt_CHECK_DECL(FUNC, INCLUDES) ++dnl Check whether a function is declared. ++AC_DEFUN([gt_CHECK_DECL], ++[ ++ AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, ++ [AC_TRY_COMPILE([$2], [ ++#ifndef $1 ++ char *p = (char *) $1; ++#endif ++], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) ++ if test $ac_cv_have_decl_$1 = yes; then ++ gt_value=1 ++ else ++ gt_value=0 ++ fi ++ AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], ++ [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) ++]) ++ ++ ++dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) ++AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) +--- lrzsz-0.12.20.safe/m4/glibc21.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/glibc21.m4 2004-09-12 14:40:34.833675432 -0400 +@@ -0,0 +1,32 @@ ++# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++# Test for the GNU C Library, version 2.1 or newer. ++# From Bruno Haible. ++ ++AC_DEFUN([jm_GLIBC21], ++ [ ++ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, ++ ac_cv_gnu_library_2_1, ++ [AC_EGREP_CPP([Lucky GNU user], ++ [ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) ++ Lucky GNU user ++ #endif ++#endif ++ ], ++ ac_cv_gnu_library_2_1=yes, ++ ac_cv_gnu_library_2_1=no) ++ ] ++ ) ++ AC_SUBST(GLIBC21) ++ GLIBC21="$ac_cv_gnu_library_2_1" ++ ] ++) +--- lrzsz-0.12.20.safe/m4/iconv.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/iconv.m4 2004-09-12 14:40:34.839674520 -0400 +@@ -0,0 +1,103 @@ ++# iconv.m4 serial AM4 (gettext-0.11.3) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], ++[ ++ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ ++ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ++ dnl accordingly. ++ AC_LIB_LINKFLAGS_BODY([iconv]) ++]) ++ ++AC_DEFUN([AM_ICONV_LINK], ++[ ++ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and ++ dnl those with the standalone portable GNU libiconv installed). ++ ++ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ++ dnl accordingly. ++ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ++ ++ dnl Add $INCICONV to CPPFLAGS before performing the following checks, ++ dnl because if the user has installed libiconv and not disabled its use ++ dnl via --without-libiconv-prefix, he wants to use it. The first ++ dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. ++ am_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) ++ ++ AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ ++ am_cv_func_iconv="no, consider installing GNU libiconv" ++ am_cv_lib_iconv=no ++ AC_TRY_LINK([#include ++#include ], ++ [iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd);], ++ am_cv_func_iconv=yes) ++ if test "$am_cv_func_iconv" != yes; then ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBICONV" ++ AC_TRY_LINK([#include ++#include ], ++ [iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd);], ++ am_cv_lib_iconv=yes ++ am_cv_func_iconv=yes) ++ LIBS="$am_save_LIBS" ++ fi ++ ]) ++ if test "$am_cv_func_iconv" = yes; then ++ AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) ++ fi ++ if test "$am_cv_lib_iconv" = yes; then ++ AC_MSG_CHECKING([how to link with libiconv]) ++ AC_MSG_RESULT([$LIBICONV]) ++ else ++ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV ++ dnl either. ++ CPPFLAGS="$am_save_CPPFLAGS" ++ LIBICONV= ++ LTLIBICONV= ++ fi ++ AC_SUBST(LIBICONV) ++ AC_SUBST(LTLIBICONV) ++]) ++ ++AC_DEFUN([AM_ICONV], ++[ ++ AM_ICONV_LINK ++ if test "$am_cv_func_iconv" = yes; then ++ AC_MSG_CHECKING([for iconv declaration]) ++ AC_CACHE_VAL(am_cv_proto_iconv, [ ++ AC_TRY_COMPILE([ ++#include ++#include ++extern ++#ifdef __cplusplus ++"C" ++#endif ++#if defined(__STDC__) || defined(__cplusplus) ++size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); ++#else ++size_t iconv(); ++#endif ++], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") ++ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) ++ am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` ++ AC_MSG_RESULT([$]{ac_t:- ++ }[$]am_cv_proto_iconv) ++ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, ++ [Define as const if the declaration of iconv() needs const.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/intdiv0.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/intdiv0.m4 2004-09-12 14:40:34.845673608 -0400 +@@ -0,0 +1,72 @@ ++# intdiv0.m4 serial 1 (gettext-0.11.3) ++dnl Copyright (C) 2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([gt_INTDIV0], ++[ ++ AC_REQUIRE([AC_PROG_CC])dnl ++ AC_REQUIRE([AC_CANONICAL_HOST])dnl ++ ++ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], ++ gt_cv_int_divbyzero_sigfpe, ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++ ++static void ++#ifdef __cplusplus ++sigfpe_handler (int sig) ++#else ++sigfpe_handler (sig) int sig; ++#endif ++{ ++ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ ++ exit (sig != SIGFPE); ++} ++ ++int x = 1; ++int y = 0; ++int z; ++int nan; ++ ++int main () ++{ ++ signal (SIGFPE, sigfpe_handler); ++/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ ++#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) ++ signal (SIGTRAP, sigfpe_handler); ++#endif ++/* Linux/SPARC yields signal SIGILL. */ ++#if defined (__sparc__) && defined (__linux__) ++ signal (SIGILL, sigfpe_handler); ++#endif ++ ++ z = x / y; ++ nan = y / y; ++ exit (1); ++} ++], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, ++ [ ++ # Guess based on the CPU. ++ case "$host_cpu" in ++ alpha* | i[34567]86 | m68k | s390*) ++ gt_cv_int_divbyzero_sigfpe="guessing yes";; ++ *) ++ gt_cv_int_divbyzero_sigfpe="guessing no";; ++ esac ++ ]) ++ ]) ++ case "$gt_cv_int_divbyzero_sigfpe" in ++ *yes) value=1;; ++ *) value=0;; ++ esac ++ AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, ++ [Define if integer division by zero raises signal SIGFPE.]) ++]) +--- lrzsz-0.12.20.safe/m4/intmax.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/intmax.m4 2004-09-12 14:40:34.855672088 -0400 +@@ -0,0 +1,32 @@ ++# intmax.m4 serial 1 (gettext-0.12) ++dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++dnl Test whether the system has the 'intmax_t' type, but don't attempt to ++dnl find a replacement if it is lacking. ++ ++AC_DEFUN([gt_TYPE_INTMAX_T], ++[ ++ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([jm_AC_HEADER_STDINT_H]) ++ AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, ++ [AC_TRY_COMPILE([ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)]) ++ if test $gt_cv_c_intmax_t = yes; then ++ AC_DEFINE(HAVE_INTMAX_T, 1, ++ [Define if you have the 'intmax_t' type in or .]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/inttypes_h.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/inttypes_h.m4 2004-09-12 14:40:34.868670112 -0400 +@@ -0,0 +1,28 @@ ++# inttypes_h.m4 serial 5 (gettext-0.12) ++dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, ++# doesn't clash with , and declares uintmax_t. ++ ++AC_DEFUN([jm_AC_HEADER_INTTYPES_H], ++[ ++ AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h, ++ [AC_TRY_COMPILE( ++ [#include ++#include ], ++ [uintmax_t i = (uintmax_t) -1;], ++ jm_ac_cv_header_inttypes_h=yes, ++ jm_ac_cv_header_inttypes_h=no)]) ++ if test $jm_ac_cv_header_inttypes_h = yes; then ++ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/inttypes.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/inttypes.m4 2004-09-12 14:40:34.861671176 -0400 +@@ -0,0 +1,27 @@ ++# inttypes.m4 serial 1 (gettext-0.11.4) ++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_INTTYPES_H if exists and doesn't clash with ++# . ++ ++AC_DEFUN([gt_HEADER_INTTYPES_H], ++[ ++ AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h, ++ [ ++ AC_TRY_COMPILE( ++ [#include ++#include ], ++ [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no) ++ ]) ++ if test $gt_cv_header_inttypes_h = yes; then ++ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, ++ [Define if exists and doesn't clash with .]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/inttypes-pri.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/inttypes-pri.m4 2004-09-12 14:40:34.874669200 -0400 +@@ -0,0 +1,32 @@ ++# inttypes-pri.m4 serial 1 (gettext-0.11.4) ++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++# Define PRI_MACROS_BROKEN if exists and defines the PRI* ++# macros to non-string values. This is the case on AIX 4.3.3. ++ ++AC_DEFUN([gt_INTTYPES_PRI], ++[ ++ AC_REQUIRE([gt_HEADER_INTTYPES_H]) ++ if test $gt_cv_header_inttypes_h = yes; then ++ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], ++ gt_cv_inttypes_pri_broken, ++ [ ++ AC_TRY_COMPILE([#include ++#ifdef PRId32 ++char *p = PRId32; ++#endif ++], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) ++ ]) ++ fi ++ if test "$gt_cv_inttypes_pri_broken" = yes; then ++ AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, ++ [Define if exists and defines unusable PRI* macros.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/isc-posix.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/isc-posix.m4 2004-09-12 14:40:34.885667528 -0400 +@@ -0,0 +1,26 @@ ++# isc-posix.m4 serial 2 (gettext-0.11.2) ++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. ++ ++# This test replaces the one in autoconf. ++# Currently this macro should have the same name as the autoconf macro ++# because gettext's gettext.m4 (distributed in the automake package) ++# still uses it. Otherwise, the use in gettext.m4 makes autoheader ++# give these diagnostics: ++# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX ++# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX ++ ++undefine([AC_ISC_POSIX]) ++ ++AC_DEFUN([AC_ISC_POSIX], ++ [ ++ dnl This test replaces the obsolescent AC_ISC_POSIX kludge. ++ AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) ++ ] ++) +--- lrzsz-0.12.20.safe/m4/lcmessage.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/lcmessage.m4 2004-09-12 14:40:34.902664944 -0400 +@@ -0,0 +1,32 @@ ++# lcmessage.m4 serial 3 (gettext-0.11.3) ++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper , 1995. ++ ++# Check whether LC_MESSAGES is available in . ++ ++AC_DEFUN([AM_LC_MESSAGES], ++[ ++ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, ++ [AC_TRY_LINK([#include ], [return LC_MESSAGES], ++ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) ++ if test $am_cv_val_LC_MESSAGES = yes; then ++ AC_DEFINE(HAVE_LC_MESSAGES, 1, ++ [Define if your file defines LC_MESSAGES.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/lib-ld.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/lib-ld.m4 2004-09-12 14:40:34.908664032 -0400 +@@ -0,0 +1,112 @@ ++# lib-ld.m4 serial 3 (gettext-0.13) ++dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl Subroutines of libtool.m4, ++dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision ++dnl with libtool.m4. ++ ++dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. ++AC_DEFUN([AC_LIB_PROG_LD_GNU], ++[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, ++[# I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ AC_MSG_CHECKING([for ld used by GCC]) ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [[\\/]* | [A-Za-z]:[\\/]*)] ++ [re_direlt='/[^/][^/]*/\.\./'] ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ AC_MSG_CHECKING([for GNU ld]) ++else ++ AC_MSG_CHECKING([for non-GNU ld]) ++fi ++AC_CACHE_VAL(acl_cv_path_LD, ++[if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi]) ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ AC_MSG_RESULT($LD) ++else ++ AC_MSG_RESULT(no) ++fi ++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) ++AC_LIB_PROG_LD_GNU ++]) +--- lrzsz-0.12.20.safe/m4/lib-link.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/lib-link.m4 2004-09-12 14:40:34.914663120 -0400 +@@ -0,0 +1,551 @@ ++# lib-link.m4 serial 4 (gettext-0.12) ++dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and ++dnl the libraries corresponding to explicit and implicit dependencies. ++dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and ++dnl augments the CPPFLAGS variable. ++AC_DEFUN([AC_LIB_LINKFLAGS], ++[ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ define([Name],[translit([$1],[./-], [___])]) ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ac_cv_lib[]Name[]_libs="$LIB[]NAME" ++ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ++ ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ++ ]) ++ LIB[]NAME="$ac_cv_lib[]Name[]_libs" ++ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" ++ INC[]NAME="$ac_cv_lib[]Name[]_cppflags" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the ++ dnl results of this search when this library appears as a dependency. ++ HAVE_LIB[]NAME=yes ++ undefine([Name]) ++ undefine([NAME]) ++]) ++ ++dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) ++dnl searches for libname and the libraries corresponding to explicit and ++dnl implicit dependencies, together with the specified include files and ++dnl the ability to compile and link the specified testcode. If found, it ++dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and ++dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and ++dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs ++dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. ++AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], ++[ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ define([Name],[translit([$1],[./-], [___])]) ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ ++ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME ++ dnl accordingly. ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ++ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, ++ dnl because if the user has installed lib[]Name and not disabled its use ++ dnl via --without-lib[]Name-prefix, he wants to use it. ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ ++ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ++ ac_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIB[]NAME" ++ AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) ++ LIBS="$ac_save_LIBS" ++ ]) ++ if test "$ac_cv_lib[]Name" = yes; then ++ HAVE_LIB[]NAME=yes ++ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) ++ AC_MSG_CHECKING([how to link with lib[]$1]) ++ AC_MSG_RESULT([$LIB[]NAME]) ++ else ++ HAVE_LIB[]NAME=no ++ dnl If $LIB[]NAME didn't lead to a usable library, we don't need ++ dnl $INC[]NAME either. ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIB[]NAME= ++ LTLIB[]NAME= ++ fi ++ AC_SUBST([HAVE_LIB]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ undefine([Name]) ++ undefine([NAME]) ++]) ++ ++dnl Determine the platform dependent parameters needed to use rpath: ++dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, ++dnl hardcode_direct, hardcode_minus_L. ++AC_DEFUN([AC_LIB_RPATH], ++[ ++ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS ++ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host ++ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir ++ AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ]) ++ wl="$acl_cv_wl" ++ libext="$acl_cv_libext" ++ shlibext="$acl_cv_shlibext" ++ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ hardcode_direct="$acl_cv_hardcode_direct" ++ hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ dnl Determine whether the user wants rpath handling at all. ++ AC_ARG_ENABLE(rpath, ++ [ --disable-rpath do not hardcode runtime library paths], ++ :, enable_rpath=yes) ++]) ++ ++dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and ++dnl the libraries corresponding to explicit and implicit dependencies. ++dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. ++AC_DEFUN([AC_LIB_LINKFLAGS_BODY], ++[ ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_LIB_ARG_WITH([lib$1-prefix], ++[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib ++ --without-lib$1-prefix don't search for lib$1 in includedir and libdir], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++ dnl Search the library and its dependencies in $additional_libdir and ++ dnl $LDFLAGS. Using breadth-first-seach. ++ LIB[]NAME= ++ LTLIB[]NAME= ++ INC[]NAME= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='$1 $2' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS ++ dnl or AC_LIB_HAVE_LINKFLAGS call. ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" ++ else ++ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined ++ dnl that this library doesn't exist. So just drop it. ++ : ++ fi ++ else ++ dnl Search the library lib$name in $additional_libdir and $LDFLAGS ++ dnl and the already constructed $LIBNAME/$LTLIBNAME. ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ dnl Found the library. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ dnl Linking with a shared library. We attempt to hardcode its ++ dnl directory into the executable's runpath, unless it's the ++ dnl standard /usr/lib. ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ dnl No hardcoding is needed. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ dnl The hardcoding into $LIBNAME is system dependent. ++ if test "$hardcode_direct" = yes; then ++ dnl Using DIR/libNAME.so during linking hardcodes DIR into the ++ dnl resulting binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ dnl Rely on "-L$found_dir". ++ dnl But don't add it if it's already contained in the LDFLAGS ++ dnl or the already constructed $LIBNAME ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH ++ dnl here, because this doesn't fit in flags passed to the ++ dnl compiler. So give up. No hardcoding. This affects only ++ dnl very old systems. ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ dnl Linking with a static library. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" ++ else ++ dnl We shouldn't come here, but anyway it's good to have a ++ dnl fallback. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" ++ fi ++ fi ++ dnl Assume the include files are nearby. ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ dnl Potentially add $additional_includedir to $INCNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 3. if it's already present in $CPPFLAGS or the already ++ dnl constructed $INCNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INC[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $INCNAME. ++ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ dnl Look for dependencies. ++ if test -n "$found_la"; then ++ dnl Read the .la file. It defines the variables ++ dnl dlname, library_names, old_library, dependency_libs, current, ++ dnl age, revision, installed, dlopen, dlpreopen, libdir. ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ dnl We use only dependency_libs. ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 3. if it's already present in $LDFLAGS or the already ++ dnl constructed $LIBNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LIBNAME. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LTLIBNAME. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ dnl Handle this in the next round. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ dnl Handle this in the next round. Throw away the .la's ++ dnl directory; it is already contained in a preceding -L ++ dnl option. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ dnl Most likely an immediate library name. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ dnl Didn't find the library; assume it is in the system directories ++ dnl known to the linker and runtime loader. (All the system ++ dnl directories known to the linker should also be known to the ++ dnl runtime loader, otherwise the system is severely misconfigured.) ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ dnl Weird platform: only the last -rpath option counts, the user must ++ dnl pass all path elements in one option. We can arrange that for a ++ dnl single library, but not when more than one $LIBNAMEs are used. ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ else ++ dnl The -rpath options are cumulative. ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ dnl When using libtool, the option that works for both libraries and ++ dnl executables is -R. The -R options are cumulative. ++ for found_dir in $ltrpathdirs; do ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" ++ done ++ fi ++]) ++ ++dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, ++dnl unless already present in VAR. ++dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes ++dnl contains two or three consecutive elements that belong together. ++AC_DEFUN([AC_LIB_APPENDTOVAR], ++[ ++ for element in [$2]; do ++ haveit= ++ for x in $[$1]; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ [$1]="${[$1]}${[$1]:+ }$element" ++ fi ++ done ++]) +--- lrzsz-0.12.20.safe/m4/lib-prefix.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/lib-prefix.m4 2004-09-12 14:40:34.921662056 -0400 +@@ -0,0 +1,155 @@ ++# lib-prefix.m4 serial 3 (gettext-0.13) ++dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and ++dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't ++dnl require excessive bracketing. ++ifdef([AC_HELP_STRING], ++[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], ++[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) ++ ++dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed ++dnl to access previously installed libraries. The basic assumption is that ++dnl a user will want packages to use other packages he previously installed ++dnl with the same --prefix option. ++dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate ++dnl libraries, but is otherwise very convenient. ++AC_DEFUN([AC_LIB_PREFIX], ++[ ++ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_LIB_ARG_WITH([lib-prefix], ++[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib ++ --without-lib-prefix don't search for libraries in includedir and libdir], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++ if test $use_additional = yes; then ++ dnl Potentially add $additional_includedir to $CPPFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's already present in $CPPFLAGS, ++ dnl 3. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ for x in $CPPFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $CPPFLAGS. ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ dnl Potentially add $additional_libdir to $LDFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's already present in $LDFLAGS, ++ dnl 3. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ for x in $LDFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LDFLAGS. ++ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ fi ++]) ++ ++dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, ++dnl acl_final_exec_prefix, containing the values to which $prefix and ++dnl $exec_prefix will expand at the end of the configure script. ++AC_DEFUN([AC_LIB_PREPARE_PREFIX], ++[ ++ dnl Unfortunately, prefix and exec_prefix get only finally determined ++ dnl at the end of configure. ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++]) ++ ++dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the ++dnl variables prefix and exec_prefix bound to the values they will have ++dnl at the end of the configure script. ++AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], ++[ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ $1 ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++]) +--- lrzsz-0.12.20.safe/m4/longdouble.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/longdouble.m4 2004-09-12 14:40:34.942658864 -0400 +@@ -0,0 +1,30 @@ ++# longdouble.m4 serial 1 (gettext-0.12) ++dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++dnl Test whether the compiler supports the 'long double' type. ++dnl Prerequisite: AC_PROG_CC ++ ++AC_DEFUN([gt_TYPE_LONGDOUBLE], ++[ ++ AC_CACHE_CHECK([for long double], gt_cv_c_long_double, ++ [if test "$GCC" = yes; then ++ gt_cv_c_long_double=yes ++ else ++ AC_TRY_COMPILE([ ++ /* The Stardent Vistra knows sizeof(long double), but does not support it. */ ++ long double foo = 0.0; ++ /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ ++ int array [2*(sizeof(long double) >= sizeof(double)) - 1]; ++ ], , ++ gt_cv_c_long_double=yes, gt_cv_c_long_double=no) ++ fi]) ++ if test $gt_cv_c_long_double = yes; then ++ AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/longlong.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/longlong.m4 2004-09-12 14:40:34.949657800 -0400 +@@ -0,0 +1,25 @@ ++# longlong.m4 serial 4 ++dnl Copyright (C) 1999-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_LONG_LONG if 'long long' works. ++ ++AC_DEFUN([jm_AC_TYPE_LONG_LONG], ++[ ++ AC_CACHE_CHECK([for long long], ac_cv_type_long_long, ++ [AC_TRY_LINK([long long ll = 1LL; int i = 63;], ++ [long long llmax = (long long) -1; ++ return ll << i | ll >> i | llmax / ll | llmax % ll;], ++ ac_cv_type_long_long=yes, ++ ac_cv_type_long_long=no)]) ++ if test $ac_cv_type_long_long = yes; then ++ AC_DEFINE(HAVE_LONG_LONG, 1, ++ [Define if you have the 'long long' type.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/Makefile.am 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/Makefile.am 2004-09-12 14:40:35.048642752 -0400 +@@ -0,0 +1 @@ ++EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 intmax.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 longdouble.m4 longlong.m4 nls.m4 po.m4 printf-posix.m4 progtest.m4 signed.m4 size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 wchar_t.m4 wint_t.m4 xsize.m4 +--- lrzsz-0.12.20.safe/m4/nls.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/nls.m4 2004-09-12 14:40:34.955656888 -0400 +@@ -0,0 +1,49 @@ ++# nls.m4 serial 1 (gettext-0.12) ++dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper , 1995-2000. ++dnl Bruno Haible , 2000-2003. ++ ++AC_DEFUN([AM_NLS], ++[ ++ AC_MSG_CHECKING([whether NLS is requested]) ++ dnl Default is enabled NLS ++ AC_ARG_ENABLE(nls, ++ [ --disable-nls do not use Native Language Support], ++ USE_NLS=$enableval, USE_NLS=yes) ++ AC_MSG_RESULT($USE_NLS) ++ AC_SUBST(USE_NLS) ++]) ++ ++AC_DEFUN([AM_MKINSTALLDIRS], ++[ ++ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly ++ dnl find the mkinstalldirs script in another subdir but $(top_srcdir). ++ dnl Try to locate it. ++ MKINSTALLDIRS= ++ if test -n "$ac_aux_dir"; then ++ case "$ac_aux_dir" in ++ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; ++ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; ++ esac ++ fi ++ if test -z "$MKINSTALLDIRS"; then ++ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" ++ fi ++ AC_SUBST(MKINSTALLDIRS) ++]) +--- lrzsz-0.12.20.safe/m4/po.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/po.m4 2004-09-12 14:40:34.961655976 -0400 +@@ -0,0 +1,426 @@ ++# po.m4 serial 3 (gettext-0.14) ++dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper , 1995-2000. ++dnl Bruno Haible , 2000-2003. ++ ++dnl Checks for all prerequisites of the po subdirectory. ++AC_DEFUN([AM_PO_SUBDIRS], ++[ ++ AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AM_MKINSTALLDIRS])dnl ++ AC_REQUIRE([AM_NLS])dnl ++ ++ dnl Perform the following tests also if --disable-nls has been given, ++ dnl because they are needed for "make dist" to work. ++ ++ dnl Search for GNU msgfmt in the PATH. ++ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. ++ dnl The second test excludes FreeBSD msgfmt. ++ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, ++ [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) ++ ++ dnl Search for GNU xgettext 0.12 or newer in the PATH. ++ dnl The first test excludes Solaris xgettext and early GNU xgettext versions. ++ dnl The second test excludes FreeBSD xgettext. ++ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, ++ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ ++ dnl Search for GNU msgmerge 0.11 or newer in the PATH. ++ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, ++ [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) ++ ++ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. ++ dnl Test whether we really found GNU msgfmt. ++ if test "$GMSGFMT" != ":"; then ++ dnl If it is no GNU msgfmt we define it as : so that the ++ dnl Makefiles still can work. ++ if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && ++ (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` ++ AC_MSG_RESULT( ++ [found $GMSGFMT program is not GNU msgfmt; ignore it]) ++ GMSGFMT=":" ++ fi ++ fi ++ ++ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. ++ dnl Test whether we really found GNU xgettext. ++ if test "$XGETTEXT" != ":"; then ++ dnl If it is no GNU xgettext we define it as : so that the ++ dnl Makefiles still can work. ++ if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ AC_MSG_RESULT( ++ [found xgettext program is not GNU xgettext; ignore it]) ++ XGETTEXT=":" ++ fi ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ fi ++ ++ AC_OUTPUT_COMMANDS([ ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assigment from automake. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done], ++ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ]) ++]) ++ ++dnl Postprocesses a Makefile in a directory containing PO files. ++AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], ++[ ++ # When this code is run, in config.status, two variables have already been ++ # set: ++ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, ++ # - LINGUAS is the value of the environment variable LINGUAS at configure ++ # time. ++ ++changequote(,)dnl ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ ++ # Find a way to echo strings without interpreting backslash. ++ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='echo' ++ else ++ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='printf %s\n' ++ else ++ echo_func () { ++ cat < "$ac_file.tmp" ++ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` ++ cat >> "$ac_file.tmp" < /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/_/-/g'` ++ cat >> "$ac_file.tmp" <> "$ac_file.tmp" < ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, ++ [ ++ AC_EGREP_CPP(notposix, [ ++#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ ++ notposix ++#endif ++ ], gt_cv_func_printf_posix="guessing no", ++ gt_cv_func_printf_posix="guessing yes") ++ ]) ++ ]) ++ case $gt_cv_func_printf_posix in ++ *yes) ++ AC_DEFINE(HAVE_POSIX_PRINTF, 1, ++ [Define if your printf() function supports format strings with positions.]) ++ ;; ++ esac ++]) +--- lrzsz-0.12.20.safe/m4/progtest.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/progtest.m4 2004-09-12 14:40:34.990651568 -0400 +@@ -0,0 +1,91 @@ ++# progtest.m4 serial 3 (gettext-0.12) ++dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper , 1996. ++ ++# Search path for a program which passes the given test. ++ ++dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, ++dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) ++AC_DEFUN([AM_PATH_PROG_WITH_TEST], ++[ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "$2", so it can be a program name with args. ++set dummy $2; ac_word=[$]2 ++AC_MSG_CHECKING([for $ac_word]) ++AC_CACHE_VAL(ac_cv_path_$1, ++[case "[$]$1" in ++ [[\\/]]* | ?:[[\\/]]*) ++ ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in ifelse([$5], , $PATH, [$5]); do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if [$3]; then ++ ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++dnl If no 4th arg is given, leave the cache variable unset, ++dnl so AC_PATH_PROGS will keep looking. ++ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ++])dnl ++ ;; ++esac])dnl ++$1="$ac_cv_path_$1" ++if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then ++ AC_MSG_RESULT([$]$1) ++else ++ AC_MSG_RESULT(no) ++fi ++AC_SUBST($1)dnl ++]) +--- lrzsz-0.12.20.safe/m4/signed.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/signed.m4 2004-09-12 14:40:34.996650656 -0400 +@@ -0,0 +1,19 @@ ++# signed.m4 serial 1 (gettext-0.10.40) ++dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([bh_C_SIGNED], ++[ ++ AC_CACHE_CHECK([for signed], bh_cv_c_signed, ++ [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) ++ if test $bh_cv_c_signed = no; then ++ AC_DEFINE(signed, , ++ [Define to empty if the C compiler doesn't support this keyword.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/size_max.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/size_max.m4 2004-09-12 14:40:35.003649592 -0400 +@@ -0,0 +1,61 @@ ++# size_max.m4 serial 2 ++dnl Copyright (C) 2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([gl_SIZE_MAX], ++[ ++ AC_CHECK_HEADERS(stdint.h) ++ dnl First test whether the system already has SIZE_MAX. ++ AC_MSG_CHECKING([for SIZE_MAX]) ++ result= ++ AC_EGREP_CPP([Found it], [ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++], result=yes) ++ if test -z "$result"; then ++ dnl Define it ourselves. Here we assume that the type 'size_t' is not wider ++ dnl than the type 'unsigned long'. ++ dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr', ++ dnl which is guaranteed to work from LONG_MIN to LONG_MAX. ++ _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi, ++ [#include ], result=?) ++ _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo, ++ [#include ], result=?) ++ _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint, ++ [#include ], result=?) ++ if test "$fits_in_uint" = 1; then ++ dnl Even though SIZE_MAX fits in an unsigned int, it must be of type ++ dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. ++ AC_TRY_COMPILE([#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ], [], fits_in_uint=0) ++ fi ++ if test -z "$result"; then ++ if test "$fits_in_uint" = 1; then ++ result="$res_hi$res_lo"U ++ else ++ result="$res_hi$res_lo"UL ++ fi ++ else ++ dnl Shouldn't happen, but who knows... ++ result='~(size_t)0' ++ fi ++ fi ++ AC_MSG_RESULT([$result]) ++ if test "$result" != yes; then ++ AC_DEFINE_UNQUOTED([SIZE_MAX], [$result], ++ [Define as the maximum value of type 'size_t', if the system doesn't define it.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/stdint_h.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/stdint_h.m4 2004-09-12 14:40:35.009648680 -0400 +@@ -0,0 +1,28 @@ ++# stdint_h.m4 serial 3 (gettext-0.12) ++dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_STDINT_H_WITH_UINTMAX if exists, ++# doesn't clash with , and declares uintmax_t. ++ ++AC_DEFUN([jm_AC_HEADER_STDINT_H], ++[ ++ AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h, ++ [AC_TRY_COMPILE( ++ [#include ++#include ], ++ [uintmax_t i = (uintmax_t) -1;], ++ jm_ac_cv_header_stdint_h=yes, ++ jm_ac_cv_header_stdint_h=no)]) ++ if test $jm_ac_cv_header_stdint_h = yes; then ++ AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/uintmax_t.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/uintmax_t.m4 2004-09-12 14:40:35.021646856 -0400 +@@ -0,0 +1,32 @@ ++# uintmax_t.m4 serial 7 (gettext-0.12) ++dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++AC_PREREQ(2.13) ++ ++# Define uintmax_t to 'unsigned long' or 'unsigned long long' ++# if it is not already defined in or . ++ ++AC_DEFUN([jm_AC_TYPE_UINTMAX_T], ++[ ++ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([jm_AC_HEADER_STDINT_H]) ++ if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then ++ AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) ++ test $ac_cv_type_unsigned_long_long = yes \ ++ && ac_type='unsigned long long' \ ++ || ac_type='unsigned long' ++ AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, ++ [Define to unsigned long or unsigned long long ++ if and don't define.]) ++ else ++ AC_DEFINE(HAVE_UINTMAX_T, 1, ++ [Define if you have the 'uintmax_t' type in or .]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/ulonglong.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/ulonglong.m4 2004-09-12 14:40:35.028645792 -0400 +@@ -0,0 +1,25 @@ ++# ulonglong.m4 serial 3 ++dnl Copyright (C) 1999-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. ++ ++AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], ++[ ++ AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, ++ [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;], ++ [unsigned long long ullmax = (unsigned long long) -1; ++ return ull << i | ull >> i | ullmax / ull | ullmax % ull;], ++ ac_cv_type_unsigned_long_long=yes, ++ ac_cv_type_unsigned_long_long=no)]) ++ if test $ac_cv_type_unsigned_long_long = yes; then ++ AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, ++ [Define if you have the 'unsigned long long' type.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/wchar_t.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/wchar_t.m4 2004-09-12 14:40:35.034644880 -0400 +@@ -0,0 +1,22 @@ ++# wchar_t.m4 serial 1 (gettext-0.12) ++dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++dnl Test whether has the 'wchar_t' type. ++dnl Prerequisite: AC_PROG_CC ++ ++AC_DEFUN([gt_TYPE_WCHAR_T], ++[ ++ AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, ++ [AC_TRY_COMPILE([#include ++ wchar_t foo = (wchar_t)'\0';], , ++ gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) ++ if test $gt_cv_c_wchar_t = yes; then ++ AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/wint_t.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/wint_t.m4 2004-09-12 14:40:35.040643968 -0400 +@@ -0,0 +1,22 @@ ++# wint_t.m4 serial 1 (gettext-0.12) ++dnl Copyright (C) 2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++dnl Test whether has the 'wint_t' type. ++dnl Prerequisite: AC_PROG_CC ++ ++AC_DEFUN([gt_TYPE_WINT_T], ++[ ++ AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, ++ [AC_TRY_COMPILE([#include ++ wint_t foo = (wchar_t)'\0';], , ++ gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) ++ if test $gt_cv_c_wint_t = yes; then ++ AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) ++ fi ++]) +--- lrzsz-0.12.20.safe/m4/xsize.m4 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/m4/xsize.m4 2004-09-12 14:40:35.047642904 -0400 +@@ -0,0 +1,14 @@ ++# xsize.m4 serial 2 ++dnl Copyright (C) 2003 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++AC_DEFUN([gl_XSIZE], ++[ ++ dnl Prerequisites of lib/xsize.h. ++ AC_REQUIRE([gl_SIZE_MAX]) ++ AC_CHECK_HEADERS(stdint.h) ++]) +--- lrzsz-0.12.20.safe/Makefile.am 1998-12-30 06:19:40.000000000 -0500 ++++ lrzsz-0.12.20/Makefile.am 2004-09-12 14:40:35.121631656 -0400 +@@ -1,5 +1,5 @@ + SUBDIRS = lib intl src po man testsuite +-EXTRA_DIST = check.lrzsz COMPATABILITY README.cvs README.isdn4linux \ ++EXTRA_DIST = config.rpath check.lrzsz COMPATABILITY README.cvs README.isdn4linux \ + README.gettext rpmrc buildrpm systype.in fastcheck.sh README.tests \ + beos-runpiped.c fastcheck.beos + noinst_SCRIPTS=systype +@@ -83,3 +83,5 @@ + rpm: $(PR).tar.gz Specfile + $(srcdir)/buildrpm $(srcdir) + ++ ++ACLOCAL_AMFLAGS = -I m4 +--- lrzsz-0.12.20.safe/Makefile.in 1998-12-30 11:31:40.000000000 -0500 ++++ lrzsz-0.12.20/Makefile.in 2004-09-12 14:40:35.109633480 -0400 +@@ -125,7 +125,7 @@ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + + $(ACLOCAL_M4): configure.in acinclude.m4 +- cd $(srcdir) && $(ACLOCAL) ++ cd $(srcdir) && $(ACLOCAL) -I m4 + + config.status: $(srcdir)/configure + $(SHELL) ./config.status --recheck +--- lrzsz-0.12.20.safe/mkinstalldirs 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/mkinstalldirs 2004-09-12 14:40:34.337750824 -0400 +@@ -1,34 +1,150 @@ + #! /bin/sh + # mkinstalldirs --- make directory hierarchy +-# Author: Noah Friedman ++ ++scriptversion=2004-02-15.20 ++ ++# Original author: Noah Friedman + # Created: 1993-05-16 +-# Last modified: 1995-03-05 +-# Public domain ++# Public domain. ++# ++# This file is maintained in Automake, please report ++# bugs to or send patches to ++# . + + errstatus=0 ++dirmode="" + +-for file in ${1+"$@"} ; do +- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` +- shift ++usage="\ ++Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +- pathcomp= +- for d in ${1+"$@"} ; do +- pathcomp="$pathcomp$d" +- case "$pathcomp" in +- -* ) pathcomp=./$pathcomp ;; +- esac ++Create each directory DIR (with mode MODE, if specified), including all ++leading file name components. + +- if test ! -d "$pathcomp"; then +- echo "mkdir $pathcomp" 1>&2 +- mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$? +- fi ++Report bugs to ." + +- if test ! -d "$pathcomp"; then ++# process command line arguments ++while test $# -gt 0 ; do ++ case $1 in ++ -h | --help | --h*) # -h for help ++ echo "$usage" ++ exit 0 ++ ;; ++ -m) # -m PERM arg ++ shift ++ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } ++ dirmode=$1 ++ shift ++ ;; ++ --version) ++ echo "$0 $scriptversion" ++ exit 0 ++ ;; ++ --) # stop option processing ++ shift ++ break ++ ;; ++ -*) # unknown option ++ echo "$usage" 1>&2 ++ exit 1 ++ ;; ++ *) # first non-opt arg ++ break ++ ;; ++ esac ++done ++ ++for file ++do ++ if test -d "$file"; then ++ shift ++ else ++ break ++ fi ++done ++ ++case $# in ++ 0) exit 0 ;; ++esac ++ ++# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and ++# mkdir -p a/c at the same time, both will detect that a is missing, ++# one will create a, then the other will try to create a and die with ++# a "File exists" error. This is a problem when calling mkinstalldirs ++# from a parallel make. We use --version in the probe to restrict ++# ourselves to GNU mkdir, which is thread-safe. ++case $dirmode in ++ '') ++ if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then ++ echo "mkdir -p -- $*" ++ exec mkdir -p -- "$@" ++ else ++ # On NextStep and OpenStep, the `mkdir' command does not ++ # recognize any option. It will interpret all options as ++ # directories to create, and then abort because `.' already ++ # exists. ++ test -d ./-p && rmdir ./-p ++ test -d ./--version && rmdir ./--version ++ fi ++ ;; ++ *) ++ if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && ++ test ! -d ./--version; then ++ echo "mkdir -m $dirmode -p -- $*" ++ exec mkdir -m "$dirmode" -p -- "$@" ++ else ++ # Clean up after NextStep and OpenStep mkdir. ++ for d in ./-m ./-p ./--version "./$dirmode"; ++ do ++ test -d $d && rmdir $d ++ done ++ fi ++ ;; ++esac ++ ++for file ++do ++ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` ++ shift ++ ++ pathcomp= ++ for d ++ do ++ pathcomp="$pathcomp$d" ++ case $pathcomp in ++ -*) pathcomp=./$pathcomp ;; ++ esac ++ ++ if test ! -d "$pathcomp"; then ++ echo "mkdir $pathcomp" ++ ++ mkdir "$pathcomp" || lasterr=$? ++ ++ if test ! -d "$pathcomp"; then + errstatus=$lasterr +- fi ++ else ++ if test ! -z "$dirmode"; then ++ echo "chmod $dirmode $pathcomp" ++ lasterr="" ++ chmod "$dirmode" "$pathcomp" || lasterr=$? + +- pathcomp="$pathcomp/" +- done ++ if test ! -z "$lasterr"; then ++ errstatus=$lasterr ++ fi ++ fi ++ fi ++ fi ++ ++ pathcomp="$pathcomp/" ++ done + done + + exit $errstatus ++ ++# Local Variables: ++# mode: shell-script ++# sh-indentation: 2 ++# eval: (add-hook 'write-file-hooks 'time-stamp) ++# time-stamp-start: "scriptversion=" ++# time-stamp-format: "%:y-%02m-%02d.%02H" ++# time-stamp-end: "$" ++# End: +--- lrzsz-0.12.20.safe/po/boldquot.sed 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/boldquot.sed 2004-09-12 14:40:34.723692152 -0400 +@@ -0,0 +1,10 @@ ++s/"\([^"]*\)"/“\1”/g ++s/`\([^`']*\)'/‘\1’/g ++s/ '\([^`']*\)' / ‘\1’ /g ++s/ '\([^`']*\)'$/ ‘\1’/g ++s/^'\([^`']*\)' /‘\1’ /g ++s/“”/""/g ++s/“/“/g ++s/”/”/g ++s/‘/‘/g ++s/’/’/g +--- lrzsz-0.12.20.safe/po/cat-id-tbl.c 1998-12-29 04:24:24.000000000 -0500 ++++ lrzsz-0.12.20/po/cat-id-tbl.c 1969-12-31 19:00:00.000000000 -0500 +@@ -1,234 +0,0 @@ +-/* Automatically generated by po2tbl.sed from lrzsz.pot. */ +- +-#if HAVE_CONFIG_H +-# include +-#endif +- +-#include "libgettext.h" +- +-const struct _msg_ent _msg_tbl[] = { +- {"", 1}, +- {"io_mode(,2) in rbsb.c not implemented\n", 2}, +- {"caught signal %d; exiting", 3}, +- {"command tries", 4}, +- {"packetlength", 5}, +- {"packetlength out of range 24..%ld", 6}, +- {"framelength", 7}, +- {"framelength out of range 32..%ld", 8}, +- {"min_bps", 9}, +- {"min_bps must be >= 0", 10}, +- {"min_bps_time", 11}, +- {"min_bps_time must be > 1", 12}, +- {"hour to large (0..23)", 13}, +- {"unparsable stop time\n", 14}, +- {"minute to large (0..59)", 15}, +- {"stop time to small", 16}, +- {"stop-at", 17}, +- {"timeout", 18}, +- {"timeout out of range 10..1000", 19}, +- {"security violation: can't do that under restricted shell\n", 20}, +- {"window size", 21}, +- {"cannot turnoff syslog", 22}, +- {"startup delay", 23}, +- {"out of memory", 24}, +- {"this program was never intended to be used setuid\n", 25}, +- {"need at least one file to send", 26}, +- {"Can't send command in restricted mode\n", 27}, +- {"hostname too long\n", 28}, +- {"illegal server address\n", 29}, +- {"can read only one file from stdin", 30}, +- {"Transfer incomplete\n", 31}, +- {"Transfer complete\n", 32}, +- {"send_pseudo %s: cannot open tmpfile %s: %s", 33}, +- {"send_pseudo %s: cannot lstat tmpfile %s: %s", 34}, +- {"send_pseudo %s: avoiding symlink trap", 35}, +- {"send_pseudo %s: cannot write to tmpfile %s: %s", 36}, +- {"send_pseudo %s: failed", 37}, +- {"send_pseudo %s: ok", 38}, +- {"tcp protocol init failed\n", 39}, +- {"Answering TIMESYNC at %s", 40}, +- {"timezone", 41}, +- {"timezone unknown", 42}, +- {"Can't open any requested files.", 43}, +- {"security violation: not allowed to upload from %s", 44}, +- {"cannot open %s", 45}, +- {"is not a file: %s", 46}, +- {"%s/%s: error occured", 47}, +- {"skipped: %s", 48}, +- {"%s/%s: skipped", 49}, +- {"Bytes Sent:%7ld BPS:%-8ld \n", 50}, +- {"Sending %s, %ld blocks: ", 51}, +- {"Give your local XMODEM receive command now.", 52}, +- {"Sending: %s\n", 53}, +- {"Timeout on pathname", 54}, +- {"Receiver Cancelled", 55}, +- {"No ACK on EOT", 56}, +- {"Xmodem sectors/kbytes sent: %3d/%2dk", 57}, +- {"Ymodem sectors/kbytes sent: %3d/%2dk", 58}, +- {"Cancelled", 59}, +- {"Timeout on sector ACK", 60}, +- {"NAK on sector", 61}, +- {"Got burst for sector ACK", 62}, +- {"Got %02x for sector ACK", 63}, +- {"Retry Count Exceeded", 64}, +- {"Try `%s --help' for more information.\n", 65}, +- {"%s version %s\n", 66}, +- {"Usage: %s [options] file ...\n", 67}, +- {" or: %s [options] -{c|i} COMMAND\n", 68}, +- {"Send file(s) with ZMODEM/YMODEM/XMODEM protocol\n", 69}, +- {"\ +- (X) = option applies to XMODEM only\n\ +- (Y) = option applies to YMODEM only\n\ +- (Z) = option applies to ZMODEM only\n", 70}, +- {"\ +- -+, --append append to existing destination file (Z)\n\ +- -2, --twostop use 2 stop bits\n\ +- -4, --try-4k go up to 4K blocksize\n\ +- --start-4k start with 4K blocksize (doesn't try 8)\n\ +- -8, --try-8k go up to 8K blocksize\n\ +- --start-8k start with 8K blocksize\n\ +- -a, --ascii ASCII transfer (change CR/LF to LF)\n\ +- -b, --binary binary transfer\n\ +- -B, --bufsize N buffer N bytes (N==auto: buffer whole file)\n\ +- -c, --command COMMAND execute remote command COMMAND (Z)\n\ +- -C, --command-tries N try N times to execute a command (Z)\n\ +- -d, --dot-to-slash change '.' to '/' in pathnames (Y/Z)\n\ +- --delay-startup N sleep N seconds before doing anything\n\ +- -e, --escape escape all control characters (Z)\n\ +- -E, --rename force receiver to rename files it already has\n\ +- -f, --full-path send full pathname (Y/Z)\n\ +- -i, --immediate-command CMD send remote CMD, return immediately (Z)\n\ +- -h, --help print this usage message\n\ +- -k, --1k send 1024 byte packets (X)\n\ +- -L, --packetlen N limit subpacket length to N bytes (Z)\n\ +- -l, --framelen N limit frame length to N bytes (l>=L) (Z)\n\ +- -m, --min-bps N stop transmission if BPS below N\n\ +- -M, --min-bps-time N for at least N seconds (default: 120)\n", 71}, +- {"\ +- -n, --newer send file if source newer (Z)\n\ +- -N, --newer-or-longer send file if source newer or longer (Z)\n\ +- -o, --16-bit-crc use 16 bit CRC instead of 32 bit CRC (Z)\n\ +- -O, --disable-timeouts disable timeout code, wait forever\n\ +- -p, --protect protect existing destination file (Z)\n\ +- -r, --resume resume interrupted file transfer (Z)\n\ +- -R, --restricted restricted, more secure mode\n\ +- -q, --quiet quiet (no progress reports)\n\ +- -s, --stop-at {HH:MM|+N} stop transmission at HH:MM or in N seconds\n\ +- --tcp build a TCP connection to transmit files\n\ +- --tcp-server open socket, wait for connection\n\ +- -u, --unlink unlink file after transmission\n\ +- -U, --unrestrict turn off restricted mode (if allowed to)\n\ +- -v, --verbose be verbose, provide debugging information\n\ +- -w, --windowsize N Window is N bytes (Z)\n\ +- -X, --xmodem use XMODEM protocol\n\ +- -y, --overwrite overwrite existing files\n\ +- -Y, --overwrite-or-skip overwrite existing files, else skip\n\ +- --ymodem use YMODEM protocol\n\ +- -Z, --zmodem use ZMODEM protocol\n\ +-\n\ +-short options use the same arguments as the long ones\n", 72}, +- {"got ZRQINIT", 73}, +- {"got ZCAN", 74}, +- {"blklen now %d\n", 75}, +- {"zsendfdata: bps rate %ld below min %ld", 76}, +- {"zsendfdata: reached stop time", 77}, +- {"Bytes Sent:%7ld/%7ld BPS:%-8ld ETA %02d:%02d ", 78}, +- {"calc_blklen: reduced to %d due to error\n", 79}, +- {"calc_blklen: returned old value %d due to low bpe diff\n", 80}, +- {"calc_blklen: old %ld, new %ld, d %ld\n", 81}, +- {"calc_blklen: calc total_bytes=%ld, bpe=%ld, ec=%ld\n", 82}, +- {"calc_blklen: blklen %d, ok %ld, failed %ld -> %lu\n", 83}, +- {"calc_blklen: returned %d as best\n", 84}, +- {"\ +-\n\ +-countem: Total %d %ld\n", 85}, +- {"Bad escape sequence %x", 86}, +- {"Sender Canceled", 87}, +- {"TIMEOUT", 88}, +- {"Bad data subpacket", 89}, +- {"Data subpacket too long", 90}, +- {"Garbage count exceeded", 91}, +- {"Got %s", 92}, +- {"Retry %d: ", 93}, +- {"don't have settimeofday, will not set time\n", 94}, +- {"not running as root (this is good!), can not set time\n", 95}, +- {"bytes_per_error", 96}, +- {"bytes-per-error should be >100", 97}, +- {"O_SYNC not supported by the kernel", 98}, +- {"garbage on commandline", 99}, +- {"Usage: %s [options] [filename.if.xmodem]\n", 100}, +- {"Receive files with ZMODEM/YMODEM/XMODEM protocol\n", 101}, +- {"\ +- -+, --append append to existing files\n\ +- -a, --ascii ASCII transfer (change CR/LF to LF)\n\ +- -b, --binary binary transfer\n\ +- -B, --bufsize N buffer N bytes (N==auto: buffer whole file)\n\ +- -c, --with-crc Use 16 bit CRC (X)\n\ +- -C, --allow-remote-commands allow execution of remote commands (Z)\n\ +- -D, --null write all received data to /dev/null\n\ +- --delay-startup N sleep N seconds before doing anything\n\ +- -e, --escape Escape control characters (Z)\n\ +- -E, --rename rename any files already existing\n\ +- --errors N generate CRC error every N bytes (debugging)\n\ +- -h, --help Help, print this usage message\n\ +- -m, --min-bps N stop transmission if BPS below N\n\ +- -M, --min-bps-time N for at least N seconds (default: 120)\n\ +- -O, --disable-timeouts disable timeout code, wait forever for data\n\ +- --o-sync open output file(s) in synchronous write mode\n\ +- -p, --protect protect existing files\n\ +- -q, --quiet quiet, no progress reports\n\ +- -r, --resume try to resume interrupted file transfer (Z)\n\ +- -R, --restricted restricted, more secure mode\n\ +- -s, --stop-at {HH:MM|+N} stop transmission at HH:MM or in N seconds\n\ +- -S, --timesync request remote time (twice: set local time)\n\ +- --syslog[=off] turn syslog on or off, if possible\n\ +- -t, --timeout N set timeout to N tenths of a second\n\ +- -u, --keep-uppercase keep upper case filenames\n\ +- -U, --unrestrict disable restricted mode (if allowed to)\n\ +- -v, --verbose be verbose, provide debugging information\n\ +- -w, --windowsize N Window is N bytes (Z)\n\ +- -X --xmodem use XMODEM protocol\n\ +- -y, --overwrite Yes, clobber existing file if any\n\ +- --ymodem use YMODEM protocol\n\ +- -Z, --zmodem use ZMODEM protocol\n\ +-\n\ +-short options use the same arguments as the long ones\n", 102}, +- {"%s waiting to receive.", 103}, +- {"\rBytes received: %7ld/%7ld BPS:%-6ld \r\n", 104}, +- {"%s: ready to receive %s", 105}, +- {"\rBytes received: %7ld BPS:%-6ld \r\n", 106}, +- {"\ +-\r\n\ +-%s: %s removed.\r\n", 107}, +- {"Pathname fetch returned EOT", 108}, +- {"Received dup Sector", 109}, +- {"Sync Error", 110}, +- {"CRC", 111}, +- {"Checksum", 112}, +- {"Sector number garbled", 113}, +- {"Sender Cancelled", 114}, +- {"Got 0%o sector header", 115}, +- {"file name ends with a /, skipped: %s\n", 116}, +- {"zmanag=%d, Lzmanag=%d\n", 117}, +- {"zconv=%d\n", 118}, +- {"file exists, skipped: %s\n", 119}, +- {"TIMESYNC: here %ld, remote %ld, diff %ld seconds\n", 120}, +- {"TIMESYNC: cannot set time: %s\n", 121}, +- {"cannot tmpfile() for tcp protocol synchronization", 122}, +- {"Topipe", 123}, +- {"Receiving: %s\n", 124}, +- {"Blocks received: %d", 125}, +- {"%s: %s exists\n", 126}, +- {"%s:\tSecurity Violation", 127}, +- {"remote command execution requested", 128}, +- {"not executed", 129}, +- {"got ZRINIT", 130}, +- {"Skipped", 131}, +- {"rzfile: bps rate %ld below min %ld", 132}, +- {"rzfile: reached stop time", 133}, +- {"\rBytes received: %7ld/%7ld BPS:%-6ld ETA %02d:%02d ", 134}, +- {"fgets for tcp protocol synchronization failed: ", 135}, +- {"file close error", 136}, +-}; +- +-int _msg_tbl_length = 136; +--- lrzsz-0.12.20.safe/po/ChangeLog 1998-04-26 09:20:52.000000000 -0400 ++++ lrzsz-0.12.20/po/ChangeLog 2004-09-12 14:40:34.793681512 -0400 +@@ -1,3 +1,15 @@ ++2004-09-12 gettextize ++ ++ * boldquot.sed: New file, from gettext-0.14.1. ++ * en@boldquot.header: New file, from gettext-0.14.1. ++ * en@quot.header: New file, from gettext-0.14.1. ++ * insert-header.sin: New file, from gettext-0.14.1. ++ * quot.sed: New file, from gettext-0.14.1. ++ * remove-potcdate.sin: New file, from gettext-0.14.1. ++ * Rules-quot: New file, from gettext-0.14.1. ++ * cat-id-tbl.c: Remove file. ++ * stamp-cat-id: Remove file. ++ + /* Automatically generated by po2tbl.sed from lrzsz.pot. */ + + #if HAVE_CONFIG_H +--- lrzsz-0.12.20.safe/po/en@boldquot.header 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/en@boldquot.header 2004-09-12 14:40:34.731690936 -0400 +@@ -0,0 +1,25 @@ ++# All this catalog "translates" are quotation characters. ++# The msgids must be ASCII and therefore cannot contain real quotation ++# characters, only substitutes like grave accent (0x60), apostrophe (0x27) ++# and double quote (0x22). These substitutes look strange; see ++# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html ++# ++# This catalog translates grave accent (0x60) and apostrophe (0x27) to ++# left single quotation mark (U+2018) and right single quotation mark (U+2019). ++# It also translates pairs of apostrophe (0x27) to ++# left single quotation mark (U+2018) and right single quotation mark (U+2019) ++# and pairs of quotation mark (0x22) to ++# left double quotation mark (U+201C) and right double quotation mark (U+201D). ++# ++# When output to an UTF-8 terminal, the quotation characters appear perfectly. ++# When output to an ISO-8859-1 terminal, the single quotation marks are ++# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to ++# grave/acute accent (by libiconv), and the double quotation marks are ++# transliterated to 0x22. ++# When output to an ASCII terminal, the single quotation marks are ++# transliterated to apostrophes, and the double quotation marks are ++# transliterated to 0x22. ++# ++# This catalog furthermore displays the text between the quotation marks in ++# bold face, assuming the VT100/XTerm escape sequences. ++# +--- lrzsz-0.12.20.safe/po/en@quot.header 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/en@quot.header 2004-09-12 14:40:34.737690024 -0400 +@@ -0,0 +1,22 @@ ++# All this catalog "translates" are quotation characters. ++# The msgids must be ASCII and therefore cannot contain real quotation ++# characters, only substitutes like grave accent (0x60), apostrophe (0x27) ++# and double quote (0x22). These substitutes look strange; see ++# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html ++# ++# This catalog translates grave accent (0x60) and apostrophe (0x27) to ++# left single quotation mark (U+2018) and right single quotation mark (U+2019). ++# It also translates pairs of apostrophe (0x27) to ++# left single quotation mark (U+2018) and right single quotation mark (U+2019) ++# and pairs of quotation mark (0x22) to ++# left double quotation mark (U+201C) and right double quotation mark (U+201D). ++# ++# When output to an UTF-8 terminal, the quotation characters appear perfectly. ++# When output to an ISO-8859-1 terminal, the single quotation marks are ++# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to ++# grave/acute accent (by libiconv), and the double quotation marks are ++# transliterated to 0x22. ++# When output to an ASCII terminal, the single quotation marks are ++# transliterated to apostrophes, and the double quotation marks are ++# transliterated to 0x22. ++# +--- lrzsz-0.12.20.safe/po/insert-header.sin 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/insert-header.sin 2004-09-12 14:40:34.743689112 -0400 +@@ -0,0 +1,23 @@ ++# Sed script that inserts the file called HEADER before the header entry. ++# ++# At each occurrence of a line starting with "msgid ", we execute the following ++# commands. At the first occurrence, insert the file. At the following ++# occurrences, do nothing. The distinction between the first and the following ++# occurrences is achieved by looking at the hold space. ++/^msgid /{ ++x ++# Test if the hold space is empty. ++s/m/m/ ++ta ++# Yes it was empty. First occurrence. Read the file. ++r HEADER ++# Output the file's contents by reading the next line. But don't lose the ++# current line while doing this. ++g ++N ++bb ++:a ++# The hold space was nonempty. Following occurrences. Do nothing. ++x ++:b ++} +--- lrzsz-0.12.20.safe/po/Makevars 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/Makevars 2004-09-12 14:40:34.748688352 -0400 +@@ -0,0 +1,41 @@ ++# Makefile variables for PO directory in any package using GNU gettext. ++ ++# Usually the message domain is the same as the package name. ++DOMAIN = $(PACKAGE) ++ ++# These two variables depend on the location of this directory. ++subdir = po ++top_builddir = .. ++ ++# These options get passed to xgettext. ++XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ ++ ++# This is the copyright holder that gets inserted into the header of the ++# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding ++# package. (Note that the msgstr strings, extracted from the package's ++# sources, belong to the copyright holder of the package.) Translators are ++# expected to transfer the copyright for their translations to this person ++# or entity, or to disclaim their copyright. The empty string stands for ++# the public domain; in this case the translators are expected to disclaim ++# their copyright. ++COPYRIGHT_HOLDER = Free Software Foundation, Inc. ++ ++# This is the email address or URL to which the translators shall report ++# bugs in the untranslated strings: ++# - Strings which are not entire sentences, see the maintainer guidelines ++# in the GNU gettext documentation, section 'Preparing Strings'. ++# - Strings which use unclear terms or require additional context to be ++# understood. ++# - Strings which make invalid assumptions about notation of date, time or ++# money. ++# - Pluralisation problems. ++# - Incorrect English spelling. ++# - Incorrect formatting. ++# It can be your email address, or a mailing list address where translators ++# can write to without being subscribed, or the URL of a web page through ++# which the translators can contact you. ++MSGID_BUGS_ADDRESS = ++ ++# This is the list of locale categories, beyond LC_MESSAGES, for which the ++# message catalogs shall be used. It is usually empty. ++EXTRA_LOCALE_CATEGORIES = +--- lrzsz-0.12.20.safe/po/quot.sed 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/quot.sed 2004-09-12 14:40:34.754687440 -0400 +@@ -0,0 +1,6 @@ ++s/"\([^"]*\)"/“\1”/g ++s/`\([^`']*\)'/‘\1’/g ++s/ '\([^`']*\)' / ‘\1’ /g ++s/ '\([^`']*\)'$/ ‘\1’/g ++s/^'\([^`']*\)' /‘\1’ /g ++s/“”/""/g +--- lrzsz-0.12.20.safe/po/remove-potcdate.sin 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/remove-potcdate.sin 2004-09-12 14:40:34.762686224 -0400 +@@ -0,0 +1,19 @@ ++# Sed script that remove the POT-Creation-Date line in the header entry ++# from a POT file. ++# ++# The distinction between the first and the following occurrences of the ++# pattern is achieved by looking at the hold space. ++/^"POT-Creation-Date: .*"$/{ ++x ++# Test if the hold space is empty. ++s/P/P/ ++ta ++# Yes it was empty. First occurrence. Remove the line. ++g ++d ++bb ++:a ++# The hold space was nonempty. Following occurrences. Do nothing. ++x ++:b ++} +--- lrzsz-0.12.20.safe/po/Rules-quot 1969-12-31 19:00:00.000000000 -0500 ++++ lrzsz-0.12.20/po/Rules-quot 2004-09-12 14:40:34.778683792 -0400 +@@ -0,0 +1,47 @@ ++# Special Makefile rules for English message catalogs with quotation marks. ++ ++DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ++ ++.SUFFIXES: .insert-header .po-update-en ++ ++en@quot.po-create: ++ $(MAKE) en@quot.po-update ++en@boldquot.po-create: ++ $(MAKE) en@boldquot.po-update ++ ++en@quot.po-update: en@quot.po-update-en ++en@boldquot.po-update: en@boldquot.po-update-en ++ ++.insert-header.po-update-en: ++ @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ ++ if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ ++ tmpdir=`pwd`; \ ++ echo "$$lang:"; \ ++ ll=`echo $$lang | sed -e 's/@.*//'`; \ ++ LC_ALL=C; export LC_ALL; \ ++ cd $(srcdir); \ ++ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ ++ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ ++ rm -f $$tmpdir/$$lang.new.po; \ ++ else \ ++ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ ++ :; \ ++ else \ ++ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ ++ exit 1; \ ++ fi; \ ++ fi; \ ++ else \ ++ echo "creation of $$lang.po failed!" 1>&2; \ ++ rm -f $$tmpdir/$$lang.new.po; \ ++ fi ++ ++en@quot.insert-header: insert-header.sin ++ sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header ++ ++en@boldquot.insert-header: insert-header.sin ++ sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header ++ ++mostlyclean: mostlyclean-quot ++mostlyclean-quot: ++ rm -f *.insert-header +--- lrzsz-0.12.20.safe/po/stamp-cat-id 1998-12-30 02:50:01.000000000 -0500 ++++ lrzsz-0.12.20/po/stamp-cat-id 1969-12-31 19:00:00.000000000 -0500 +@@ -1 +0,0 @@ +-timestamp +--- lrzsz-0.12.20.safe/src/Makefile.am 1998-12-28 03:38:47.000000000 -0500 ++++ lrzsz-0.12.20/src/Makefile.am 2004-09-12 14:40:53.665812512 -0400 +@@ -2,12 +2,12 @@ + lrz_SOURCES=lrz.c timing.c zperr.c zreadline.c crctab.c rbsb.c zm.c protname.c tcp.c lsyslog.c canit.c + lsz_SOURCES=lsz.c timing.c zperr.c zreadline.c crctab.c rbsb.c zm.c protname.c tcp.c lsyslog.c canit.c + noinst_HEADERS = timing.h zglobal.h zmodem.h +-datadir = $(prefix)/@DATADIRNAME@ ++datadir = $(prefix)/share + localedir = $(datadir)/locale + CFLAGS=@CFLAGS@ + DISTCLEAN_FILES=lrzszbug + +-LDADD = ../lib/libzmodem.a @INTLLIBS@ ++LDADD = ../lib/libzmodem.a @LIBINTL@ + AUTOMAKE_OPTIONS=ansi2knr + EXTRA_DIST = ansi2knr.1 ansi2knr.c lrzszbug.in + INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl -I$(top_srcdir)/lib diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz-check-locale.h.patch b/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz-check-locale.h.patch new file mode 100644 index 0000000..4b6480a --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz-check-locale.h.patch @@ -0,0 +1,32 @@ +From 28b473c3c96682a820e292cc1be006e19aee11bc Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Fri, 24 May 2013 01:07:24 -0400 +Subject: [PATCH] meta-tizen: lrzsz check locale.h + +fix the build failure when using -O0 in a debug build: +lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function) + +Upstream-Status: Submitted [uwe@ohse.de] + +Signed-off-by: Jackie Huang +Signed-off-by: Mark Hatle +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 6e2064c..c10460c 100644 +--- a/configure.in ++++ b/configure.in +@@ -130,7 +130,7 @@ AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h sys/times.h) + LRZSZ_HEADERS_TERM_IO + AC_CHECK_HEADERS(termios.h sys/termios.h termio.h sys/termio.h sgtty.h) + AC_CHECK_HEADERS(sys/mman.h utime.h syslog.h sys/syslog.h sys/param.h) +-AC_CHECK_HEADERS(sys/select.h strings.h arpa/inet.h) ++AC_CHECK_HEADERS(sys/select.h strings.h locale.h arpa/inet.h) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_TYPE_SIZE_T +-- +1.7.9.5 + diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz_fix_for_automake-1.12.patch b/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz_fix_for_automake-1.12.patch new file mode 100644 index 0000000..b4529f4 --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz/lrzsz_fix_for_automake-1.12.patch @@ -0,0 +1,49 @@ +Upstream-Status: Pending + +This patch fixes following issue with automake 1.12 + +| configure.in:95: error: automatic de-ANSI-fication support has been removed +... +| lib/Makefile.am:3: error: automatic de-ANSI-fication support has been removed +| lib/Makefile.am: installing './depcomp' +| src/Makefile.am:11: error: automatic de-ANSI-fication support has been removed + + +Signed-Off-By: Nitin A Kamble +2012/05/03 + +Index: lrzsz-0.12.20/configure.in +=================================================================== +--- lrzsz-0.12.20.orig/configure.in ++++ lrzsz-0.12.20/configure.in +@@ -92,7 +92,6 @@ AC_PROG_RANLIB + AC_ISC_POSIX + AC_AIX + AC_MINIX +-AM_C_PROTOTYPES + AC_C_CONST + AC_C_INLINE + +Index: lrzsz-0.12.20/lib/Makefile.am +=================================================================== +--- lrzsz-0.12.20.orig/lib/Makefile.am ++++ lrzsz-0.12.20/lib/Makefile.am +@@ -1,6 +1,5 @@ + noinst_LIBRARIES=libzmodem.a + CFLAGS=@CFLAGS@ +-AUTOMAKE_OPTIONS=ansi2knr + + EXTRA_DIST = alloca.c ansi2knr.1 ansi2knr.c \ + getopt.c getopt1.c mkdir.c mktime.c \ +Index: lrzsz-0.12.20/src/Makefile.am +=================================================================== +--- lrzsz-0.12.20.orig/src/Makefile.am ++++ lrzsz-0.12.20/src/Makefile.am +@@ -8,7 +8,6 @@ CFLAGS=@CFLAGS@ + DISTCLEAN_FILES=lrzszbug + + LDADD = ../lib/libzmodem.a @LIBINTL@ +-AUTOMAKE_OPTIONS=ansi2knr + EXTRA_DIST = ansi2knr.1 ansi2knr.c lrzszbug.in + INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl -I$(top_srcdir)/lib + #DEFS = -DLOCALEDIR=\"$(localedir)\" -DOS=\"@host_os@\" -DCPU=\"@host_cpu@\" diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz/makefile.patch b/meta-tizen/recipes-tizen/lrzsz/lrzsz/makefile.patch new file mode 100644 index 0000000..ace592c --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz/makefile.patch @@ -0,0 +1,22 @@ +Upstream-Status: Inappropriate [configuration] + +diff -ruN lrzsz-0.12.20_org/src/Makefile.in lrzsz-0.12.20_patch/src/Makefile.in +--- lrzsz-0.12.20_org/src/Makefile.in 1998-12-30 17:31:46.000000000 +0100 ++++ lrzsz-0.12.20_patch/src/Makefile.in 2004-04-29 13:57:33.434909656 +0200 +@@ -372,13 +372,13 @@ + rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lsx | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lrb | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lrx | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` + # rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'` diff --git a/meta-tizen/recipes-tizen/lrzsz/lrzsz_git.bb b/meta-tizen/recipes-tizen/lrzsz/lrzsz_git.bb new file mode 100644 index 0000000..dfdecff --- /dev/null +++ b/meta-tizen/recipes-tizen/lrzsz/lrzsz_git.bb @@ -0,0 +1,8 @@ +require lrzsz.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lrzsz;protocol=ssh;tag=6d3f6f3fbe6d5a0b3191c72c05f1a2707dfd08bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lsb/lsb-extraconf.inc b/meta-tizen/recipes-tizen/lsb/lsb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lsb/lsb-native_git.bb b/meta-tizen/recipes-tizen/lsb/lsb-native_git.bb new file mode 100644 index 0000000..8fd2c4c --- /dev/null +++ b/meta-tizen/recipes-tizen/lsb/lsb-native_git.bb @@ -0,0 +1,12 @@ +require lsb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lsb;protocol=ssh;tag=a4c2c4f9d0a33caff9a73fcf8c8934fdf75d705a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lsb/lsb.inc b/meta-tizen/recipes-tizen/lsb/lsb.inc new file mode 100644 index 0000000..4aadd21 --- /dev/null +++ b/meta-tizen/recipes-tizen/lsb/lsb.inc @@ -0,0 +1,78 @@ +DESCRIPTION = "LSB support for SLP" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lsb +PROVIDES += "lsb" +RPROVIDES_lsb += "lsb" +# the PROVIDES rules is ignore "/lib/lsb/init-functions " +PROVIDES += "/lib/lsb/init-functions" +RPROVIDES_lsb += "/lib/lsb/init-functions" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/lsb.manifest . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + install -d ${D}/lib/lsb + cp -p init-functions ${D}/lib/lsb + + mkdir -p $RPM_BUILD_ROOT/usr/share/license + cp ${S}/packaging/lsb $RPM_BUILD_ROOT/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "lsb" + +lsb_files = "" +lsb_files += "lsb.manifest" +lsb_files += "/usr/share/license/lsb" +lsb_files += "/lib/lsb/init-functions" + +FILES_${PN} = "${lsb_files}" + +PKG_lsb= "lsb" + +require lsb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lsb/lsb_git.bb b/meta-tizen/recipes-tizen/lsb/lsb_git.bb new file mode 100644 index 0000000..102da96 --- /dev/null +++ b/meta-tizen/recipes-tizen/lsb/lsb_git.bb @@ -0,0 +1,8 @@ +require lsb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lsb;protocol=ssh;tag=a4c2c4f9d0a33caff9a73fcf8c8934fdf75d705a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lsof/lsof-extraconf.inc b/meta-tizen/recipes-tizen/lsof/lsof-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lsof/lsof-native_git.bb b/meta-tizen/recipes-tizen/lsof/lsof-native_git.bb new file mode 100644 index 0000000..0d2cefc --- /dev/null +++ b/meta-tizen/recipes-tizen/lsof/lsof-native_git.bb @@ -0,0 +1,12 @@ +require lsof.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lsof;protocol=ssh;tag=53a531a071f1d58e5c6a06b1d9459b25546c7ecb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lsof/lsof.inc b/meta-tizen/recipes-tizen/lsof/lsof.inc new file mode 100644 index 0000000..5aeb402 --- /dev/null +++ b/meta-tizen/recipes-tizen/lsof/lsof.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "A utility which lists open files on a Linux/UNIX system" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Tools" +LICENSE = "Zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lsof-docs +PROVIDES += "lsof-docs " +RPROVIDES_lsof-docs += "lsof-docs " + +#PROVIDES by lsof +PROVIDES += "lsof" +RPROVIDES_lsof += "lsof" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lsof_4.87-linux-only + cp ${S}/packaging/lsof.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux + + make DEBUG="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -Dm755 lsof ${D}/usr/sbin/lsof + install -Dm644 lsof.8 ${D}/usr/share/man/man8/lsof.8 + + + + +} + +PACKAGES = "" +PACKAGES += "lsof-docs" +PACKAGES += "lsof" + +lsof-docs_files = "" +lsof-docs_files += "/usr/share/info" +lsof-docs_files += "/usr/share/man" + +lsof_files = "" +lsof_files += "lsof.manifest" +lsof_files += "/usr/sbin/lsof" + +FILES_${PN}-docs = "${lsof-docs_files}" +FILES_${PN} = "${lsof_files}" + +PKG_lsof-docs= "lsof-docs" +PKG_lsof= "lsof" + +require lsof-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lsof/lsof_git.bb b/meta-tizen/recipes-tizen/lsof/lsof_git.bb new file mode 100644 index 0000000..de05560 --- /dev/null +++ b/meta-tizen/recipes-tizen/lsof/lsof_git.bb @@ -0,0 +1,8 @@ +require lsof.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lsof;protocol=ssh;tag=53a531a071f1d58e5c6a06b1d9459b25546c7ecb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ltrace/ltrace-extraconf.inc b/meta-tizen/recipes-tizen/ltrace/ltrace-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ltrace/ltrace-native_git.bb b/meta-tizen/recipes-tizen/ltrace/ltrace-native_git.bb new file mode 100644 index 0000000..704639a --- /dev/null +++ b/meta-tizen/recipes-tizen/ltrace/ltrace-native_git.bb @@ -0,0 +1,12 @@ +require ltrace.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ltrace;protocol=ssh;tag=9611ae3f65fe7e136e8b9d7929ab576584e212f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ltrace/ltrace.inc b/meta-tizen/recipes-tizen/ltrace/ltrace.inc new file mode 100644 index 0000000..54582f7 --- /dev/null +++ b/meta-tizen/recipes-tizen/ltrace/ltrace.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Trace the Library and System Calls a Program Makes" +HOMEPAGE = "http://ltrace.org/" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ltrace +PROVIDES += "ltrace" +RPROVIDES_ltrace += "ltrace" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of ltrace +DEPENDS += "gcc-cross" +DEPENDS += "elfutils" +DEPENDS += "binutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ltrace.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -Wno-unused-local-typedefs" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --build=x86_64-tizen-linux + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}/usr/share/doc/ltrace + + +} + +PACKAGES = "" +PACKAGES += "ltrace" + +ltrace_files = "" +ltrace_files += "ltrace.manifest" +ltrace_files += "/usr/bin/ltrace" +ltrace_files += "/usr/share/man/man?/ltrace.?.gz" +ltrace_files += "/usr/share/man/man?/ltrace.conf.?.gz" +ltrace_files += "/etc/ltrace.conf" + +FILES_${PN} = "${ltrace_files}" + +PKG_ltrace= "ltrace" + +require ltrace-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ltrace/ltrace_git.bb b/meta-tizen/recipes-tizen/ltrace/ltrace_git.bb new file mode 100644 index 0000000..1ab1d38 --- /dev/null +++ b/meta-tizen/recipes-tizen/ltrace/ltrace_git.bb @@ -0,0 +1,8 @@ +require ltrace.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ltrace;protocol=ssh;tag=9611ae3f65fe7e136e8b9d7929ab576584e212f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lua/lua-extraconf.inc b/meta-tizen/recipes-tizen/lua/lua-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lua/lua.inc b/meta-tizen/recipes-tizen/lua/lua.inc new file mode 100644 index 0000000..3b8babd --- /dev/null +++ b/meta-tizen/recipes-tizen/lua/lua.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "Small Embeddable Language with Simple Procedural Syntax" +HOMEPAGE = "http://www.lua.org" +SECTION = "Base/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lua +PROVIDES += "lua" +RPROVIDES_lua += "lua" + +#PROVIDES by lua-devel +PROVIDES += "lua-devel" +RPROVIDES_lua-devel += "lua-devel" +RPROVIDES_lua-devel += "lua-dev" + +#PROVIDES by liblua +PROVIDES += "liblua" +RPROVIDES_liblua += "liblua" + +#PROVIDES by lua-doc +PROVIDES += "lua-doc" +RPROVIDES_lua-doc += "lua-doc" + +RDEPENDS = "" +#RDEPENDS of lua-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "lua" + + +DEPENDS = "" +#DEPENDS of lua +DEPENDS += "pkgconfig-native" +DEPENDS += "readline-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lua-5.1.4 + cp ${S}/packaging/lua.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' src/luaconf.h + make -j16 -C src CC="gcc" MYCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=5.1 all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install INSTALL_TOP="${D}/usr" INSTALL_LIB="${D}/usr/lib" INSTALL_CMOD=${D}/usr/lib/lua/5.1 INSTALL_MAN="${D}/usr/share/man/man1" + install -D -m644 etc/lua.pc ${D}/usr/lib/pkgconfig/lua.pc + for file in lua luac ; do + mv "${D}/usr/bin/${file}" "${D}/usr/bin/${file}5.1" + mv "${D}/usr/share/man/man1/${file}.1" "${D}/usr/share/man/man1/${file}5.1.1" + done + install -d -m 0755 ${D}/usr/lib/lua/5.1 + install -d -m 0755 ${D}/usr/share/lua/5.1 + install -D -m644 ${S}/packaging/macros.lua ${D}/etc/rpm/macros.lua + + chmod +x ${D}//usr/lib/liblua.so.5.1 + + ln -s lua5.1 ${D}/usr/bin/lua + + +} + +PACKAGES = "" +PACKAGES += "lua" +PACKAGES += "lua-devel" +PACKAGES += "liblua" +PACKAGES += "lua-doc" + +lua_files = "" +lua_files += "lua.manifest" +lua_files += "/usr/share/man/man1/lua5.1.1*" +lua_files += "/usr/share/man/man1/luac5.1.1*" +lua_files += "/usr/bin/lua" +lua_files += "/usr/bin/lua5.1" +lua_files += "/usr/bin/luac5.1" +lua_files += "/usr/lib/lua" +lua_files += "/usr/lib/lua/5.1" +lua_files += "/usr/share/lua" +lua_files += "/usr/share/lua/5.1" +lua_files += "/etc/rpm/macros.lua" + +lua-devel_files = "" +lua-devel_files += "lua.manifest" +lua-devel_files += "/usr/include/lauxlib.h" +lua-devel_files += "/usr/include/lua.h" +lua-devel_files += "/usr/include/lua.hpp" +lua-devel_files += "/usr/include/luaconf.h" +lua-devel_files += "/usr/include/lualib.h" +lua-devel_files += "/usr/lib/pkgconfig/lua.pc" +lua-devel_files += "/usr/lib/liblua.a" +lua-devel_files += "/usr/lib/liblua.so" + +liblua_files = "" +liblua_files += "lua.manifest" +liblua_files += "/usr/lib/liblua.so.5.1" + +lua-doc_files = "" +lua-doc_files += "lua.manifest" +lua-doc_files += "doc/*" + +FILES_${PN} = "${lua_files}" +FILES_${PN}-devel = "${lua-devel_files}" +FILES_lib${PN} = "${liblua_files}" +FILES_${PN}-doc = "${lua-doc_files}" + +PKG_lua= "lua" +PKG_lua-devel= "lua-devel" +PKG_liblua= "liblua" +PKG_lua-doc= "lua-doc" + +require lua-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lzo/lzo-extraconf.inc b/meta-tizen/recipes-tizen/lzo/lzo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lzo/lzo.inc b/meta-tizen/recipes-tizen/lzo/lzo.inc new file mode 100644 index 0000000..35f33cc --- /dev/null +++ b/meta-tizen/recipes-tizen/lzo/lzo.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Data compression library with very fast (de)compression" +HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lzo-minilzo +PROVIDES += "lzo-minilzo" +RPROVIDES_lzo-minilzo += "lzo-minilzo" + +#PROVIDES by lzo-devel +PROVIDES += "lzo-devel" +RPROVIDES_lzo-devel += "lzo-devel" +RPROVIDES_lzo-devel += "lzo-dev" + +#PROVIDES by lzo +PROVIDES += "lzo" +RPROVIDES_lzo += "lzo" + +RDEPENDS = "" +#RDEPENDS of lzo-minilzo (${PN}-mini${PN}) +RDEPENDS_${PN}-mini${PN} += "/sbin/ldconfig" +RDEPENDS_${PN}-mini${PN} += "lzo" + +#RDEPENDS of lzo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "lzo" + +#RDEPENDS of lzo (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of lzo +DEPENDS += "zlib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/lzo.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --disable-dependency-tracking \ + --enable-shared \ + CFLAGS="`echo $CFLAGS | sed 's/-O2//g'`" + + make -j16 + + # build minilzo too (bz 439979) + gcc -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c + #gcc -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c + gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -m 755 libminilzo.so.0 ${D}/usr/lib + ln -s libminilzo.so.0 ${D}/usr/lib/libminilzo.so + install -p -m 644 minilzo/minilzo.h ${D}/usr/include/lzo + + + + +} + +PACKAGES = "" +PACKAGES += "lzo-minilzo" +PACKAGES += "lzo-devel" +PACKAGES += "lzo" + +lzo-minilzo_files = "" +lzo-minilzo_files += "lzo.manifest" +lzo-minilzo_files += "minilzo/README.LZO" +lzo-minilzo_files += "/usr/lib/libminilzo.so.0" + +lzo-devel_files = "" +lzo-devel_files += "lzo.manifest" +lzo-devel_files += "doc/LZOAPI.TXT doc/LZO.FAQ doc/LZO.TXT" +lzo-devel_files += "/usr/include/lzo" +lzo-devel_files += "/usr/lib/lib*lzo*.so" + +lzo_files = "" +lzo_files += "lzo.manifest" +lzo_files += "AUTHORS COPYING THANKS NEWS" +lzo_files += "/usr/lib/liblzo2.so.*" + +FILES_${PN}-mini${PN} = "${lzo-minilzo_files}" +FILES_${PN}-devel = "${lzo-devel_files}" +FILES_${PN} = "${lzo_files}" + +PKG_lzo-minilzo= "lzo-minilzo" +PKG_lzo-devel= "lzo-devel" +PKG_lzo= "lzo" + +require lzo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lzo/lzo_git.bb b/meta-tizen/recipes-tizen/lzo/lzo_git.bb new file mode 100644 index 0000000..dd05e10 --- /dev/null +++ b/meta-tizen/recipes-tizen/lzo/lzo_git.bb @@ -0,0 +1,8 @@ +require lzo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lzo;protocol=ssh;tag=19df7de33daefcf660df1e23553ef270229e4203;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lzop/lzop-extraconf.inc b/meta-tizen/recipes-tizen/lzop/lzop-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/lzop/lzop-native_git.bb b/meta-tizen/recipes-tizen/lzop/lzop-native_git.bb new file mode 100644 index 0000000..06ebbf0 --- /dev/null +++ b/meta-tizen/recipes-tizen/lzop/lzop-native_git.bb @@ -0,0 +1,12 @@ +require lzop.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lzop;protocol=ssh;tag=5b56bd67c8ad4362c62c08cbe09d76f8db558638;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/lzop/lzop.inc b/meta-tizen/recipes-tizen/lzop/lzop.inc new file mode 100644 index 0000000..d2e24a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/lzop/lzop.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "lzop" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Text" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by lzop +PROVIDES += "lzop" +RPROVIDES_lzop += "lzop" + +#PROVIDES by lzop-docs +PROVIDES += "lzop-docs " +RPROVIDES_lzop-docs += "lzop-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of lzop +DEPENDS += "lzo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/lzop.manifest . + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-nls + make PR_PROGRAM=/usr/bin/pr + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "lzop" +PACKAGES += "lzop-docs" + +lzop_files = "" +lzop_files += "lzop.manifest" +lzop_files += "NEWS README COPYING" +lzop_files += "/usr/bin/*" +lzop_files += "/usr/share/man/*/*" + +lzop-docs_files = "" +lzop-docs_files += "/usr/share/info" +lzop-docs_files += "/usr/share/man" +lzop-docs_files += "" + +FILES_${PN} = "${lzop_files}" +FILES_${PN}-docs = "${lzop-docs_files}" + +PKG_lzop= "lzop" +PKG_lzop-docs= "lzop-docs" + +require lzop-extraconf.inc diff --git a/meta-tizen/recipes-tizen/lzop/lzop_git.bb b/meta-tizen/recipes-tizen/lzop/lzop_git.bb new file mode 100644 index 0000000..9fac8cb --- /dev/null +++ b/meta-tizen/recipes-tizen/lzop/lzop_git.bb @@ -0,0 +1,8 @@ +require lzop.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lzop;protocol=ssh;tag=5b56bd67c8ad4362c62c08cbe09d76f8db558638;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/m4/m4-extraconf.inc b/meta-tizen/recipes-tizen/m4/m4-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/m4/m4.inc b/meta-tizen/recipes-tizen/m4/m4.inc new file mode 100644 index 0000000..c6f9022 --- /dev/null +++ b/meta-tizen/recipes-tizen/m4/m4.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "GNU m4" +HOMEPAGE = "http://www.gnu.org/software/m4/" +SECTION = "Development/Languages/Other" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by m4 +PROVIDES += "m4" +RPROVIDES_m4 += "m4" +# the PROVIDES rules is ignore "base:/usr/bin/m4 " +PROVIDES += "base:/usr/bin/m4" +RPROVIDES_m4 += "base:/usr/bin/m4" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/m4.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --without-included-regex \ + gl_cv_func_isnanl_works=yes \ + gl_cv_func_printf_directive_n=yes + make -j16 + + exit 0 + make -j16 check || true + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "m4" + +m4_files = "" +m4_files += "m4.manifest" +m4_files += "COPYING" +m4_files += "/usr/bin/*" +m4_files += "/usr/share/info/*.gz" +m4_files += "/usr/share/man/*/*" + +FILES_${PN} = "${m4_files}" + +PKG_m4= "m4" + +require m4-extraconf.inc diff --git a/meta-tizen/recipes-tizen/make/make-extraconf.inc b/meta-tizen/recipes-tizen/make/make-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/make/make.inc b/meta-tizen/recipes-tizen/make/make.inc new file mode 100644 index 0000000..4c01609 --- /dev/null +++ b/meta-tizen/recipes-tizen/make/make.inc @@ -0,0 +1,83 @@ +DESCRIPTION = "GNU make" +HOMEPAGE = "http://www.gnu.org/software/make/make.html" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by make +PROVIDES += "make" +RPROVIDES_make += "make" +# the PROVIDES rules is ignore "gmake " +PROVIDES += "gmake" +RPROVIDES_make += "gmake" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/make.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=$RPM_OPT_FLAGS \ + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-nls + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install + ln -s make $RPM_BUILD_ROOT/usr/bin/gmake + + +} + +PACKAGES = "" +PACKAGES += "make" + +make_files = "" +make_files += "make.manifest" +make_files += "/usr/bin/make" +make_files += "/usr/bin/gmake" +make_files += "/usr/share/info/make.info-*.gz" +make_files += "/usr/share/info/make.info.gz" +make_files += "/usr/share/man/man1/make.1.gz" + +FILES_${PN} = "${make_files}" + +PKG_make= "make" + +require make-extraconf.inc diff --git a/meta-tizen/recipes-tizen/makedepend/makedepend-extraconf.inc b/meta-tizen/recipes-tizen/makedepend/makedepend-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/makedepend/makedepend-native_git.bb b/meta-tizen/recipes-tizen/makedepend/makedepend-native_git.bb new file mode 100644 index 0000000..3885a76 --- /dev/null +++ b/meta-tizen/recipes-tizen/makedepend/makedepend-native_git.bb @@ -0,0 +1,12 @@ +require makedepend.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/makedepend;protocol=ssh;tag=6144ee81672046e8aa2943ca9057c3ceb48faa42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/makedepend/makedepend.inc b/meta-tizen/recipes-tizen/makedepend/makedepend.inc new file mode 100644 index 0000000..afb41cd --- /dev/null +++ b/meta-tizen/recipes-tizen/makedepend/makedepend.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "Utility to create dependencies in makefiles" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Tools/Building" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by makedepend +PROVIDES += "makedepend" +RPROVIDES_makedepend += "makedepend" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of makedepend +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/makedepend.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "makedepend" + +makedepend_files = "" +makedepend_files += "makedepend.manifest" +makedepend_files += "COPYING" +makedepend_files += "/usr/bin/makedepend" +makedepend_files += "/usr/share/man/man1/makedepend.1.gz" + +FILES_${PN} = "${makedepend_files}" + +PKG_makedepend= "makedepend" + +require makedepend-extraconf.inc diff --git a/meta-tizen/recipes-tizen/makedepend/makedepend_git.bb b/meta-tizen/recipes-tizen/makedepend/makedepend_git.bb new file mode 100644 index 0000000..3b6222e --- /dev/null +++ b/meta-tizen/recipes-tizen/makedepend/makedepend_git.bb @@ -0,0 +1,8 @@ +require makedepend.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/makedepend;protocol=ssh;tag=6144ee81672046e8aa2943ca9057c3ceb48faa42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/man-db/man-db-extraconf.inc b/meta-tizen/recipes-tizen/man-db/man-db-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/man-db/man-db-native_git.bb b/meta-tizen/recipes-tizen/man-db/man-db-native_git.bb new file mode 100644 index 0000000..6b6b962 --- /dev/null +++ b/meta-tizen/recipes-tizen/man-db/man-db-native_git.bb @@ -0,0 +1,12 @@ +require man-db.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/man-db;protocol=ssh;tag=c521d788537b4186afd5ab2f108f424a57b97aa4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/man-db/man-db.inc b/meta-tizen/recipes-tizen/man-db/man-db.inc new file mode 100644 index 0000000..5b1ee00 --- /dev/null +++ b/meta-tizen/recipes-tizen/man-db/man-db.inc @@ -0,0 +1,172 @@ +DESCRIPTION = "A set of documentation tools: man, apropos and whatis" +HOMEPAGE = "http://man-db.nongnu.org/" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by man-db +PROVIDES += "man-db" +RPROVIDES_man-db += "man-db" +# the PROVIDES rules is ignore "man " +PROVIDES += "man" +RPROVIDES_man-db += "man" + +#PROVIDES by man-db-docs +PROVIDES += "man-db-docs " +RPROVIDES_man-db-docs += "man-db-docs " + +#PROVIDES by man-db-locale +PROVIDES += "man-db-locale " +RPROVIDES_man-db-locale += "man-db-locale " +# the PROVIDES rules is ignore "man-db-lang-all = 2.6.3" +PROVIDES += "man-db-lang-all" +RPROVIDES_man-db-locale += "man-db-lang-all" + +RDEPENDS = "" +#RDEPENDS of man-db (${PN}) +RDEPENDS_${PN} += "lzma" +RDEPENDS_${PN} += "bzip2" +RDEPENDS_${PN} += "less" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "gzip" +RDEPENDS_${PN} += "groff" + +#RDEPENDS of man-db-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "man-db" + + +DEPENDS = "" +#DEPENDS of man-db +DEPENDS += "libpipeline" +DEPENDS += "groff" +DEPENDS += "db4" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/man-db.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --with-db=db4 \ + --disable-setuid \ + --enable-mandirs=GNU \ + --enable-mb-groff \ + --with-sections="1 n l 8 3 0 2 5 4 9 6 7" + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} man-db --with-man --all-name + + rm -rf ${D}/usr/share/doc/man-db + + # groff provides this file + rm ${D}/usr/bin/zsoelim + + + + +} + +PACKAGES = "" +PACKAGES += "man-db" +PACKAGES += "man-db-locale" +PACKAGES += "man-db-docs" + +man-db_files = "" +man-db_files += "man-db.manifest" +man-db_files += "/etc/man_db.conf" +man-db_files += "/usr/bin/apropos" +man-db_files += "/usr/bin/catman" +man-db_files += "/usr/bin/lexgrog" +man-db_files += "/usr/bin/man" +man-db_files += "/usr/bin/mandb" +man-db_files += "/usr/bin/manpath" +man-db_files += "/usr/bin/whatis" +man-db_files += "/usr/sbin/accessdb" +man-db_files += "/usr/lib/man-db/libman-2.6.3.so" +man-db_files += "/usr/lib/man-db/libman.so" +man-db_files += "/usr/lib/man-db/libmandb-2.6.3.so" +man-db_files += "/usr/lib/man-db/libmandb.so" +man-db_files += "/usr/lib/man-db/globbing" +man-db_files += "/usr/lib/man-db/manconv" + +man-db-locale_files = "" + +man-db-docs_files = "" +man-db-docs_files += "/usr/share/info" +man-db-docs_files += "/usr/share/man" + +FILES_${PN} = "${man-db_files}" +FILES_${PN}-locale = "${man-db-locale_files}" +FILES_${PN}-docs = "${man-db-docs_files}" + +PKG_man-db= "man-db" +PKG_man-db-locale= "man-db-locale" +PKG_man-db-docs= "man-db-docs" + +require man-db-extraconf.inc diff --git a/meta-tizen/recipes-tizen/man-db/man-db_git.bb b/meta-tizen/recipes-tizen/man-db/man-db_git.bb new file mode 100644 index 0000000..46a0e63 --- /dev/null +++ b/meta-tizen/recipes-tizen/man-db/man-db_git.bb @@ -0,0 +1,8 @@ +require man-db.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/man-db;protocol=ssh;tag=c521d788537b4186afd5ab2f108f424a57b97aa4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-content/media-content-extraconf.inc b/meta-tizen/recipes-tizen/media-content/media-content-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/media-content/media-content-native_git.bb b/meta-tizen/recipes-tizen/media-content/media-content-native_git.bb new file mode 100644 index 0000000..8e5093a --- /dev/null +++ b/meta-tizen/recipes-tizen/media-content/media-content-native_git.bb @@ -0,0 +1,12 @@ +require media-content.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/media-content;protocol=ssh;tag=dc8db7304528651c039047b551c19f81c7a493d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-content/media-content.inc b/meta-tizen/recipes-tizen/media-content/media-content.inc new file mode 100644 index 0000000..5ce460c --- /dev/null +++ b/meta-tizen/recipes-tizen/media-content/media-content.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "A Media content library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-content-media-content +PROVIDES += "capi-content-media-content" +RPROVIDES_capi-content-media-content += "capi-content-media-content" + +#PROVIDES by capi-content-media-content-devel +PROVIDES += "capi-content-media-content-devel" +RPROVIDES_capi-content-media-content-devel += "capi-content-media-content-devel" +RPROVIDES_capi-content-media-content-devel += "capi-content-media-content-dev" + +RDEPENDS = "" +#RDEPENDS of capi-content-media-content-devel (capi-content-${PN}-devel) +RDEPENDS_capi-content-${PN}-devel += "capi-content-media-content" + + +DEPENDS = "" +#DEPENDS of capi-content-media-content +DEPENDS += "libmedia-thumbnail" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libmedia-utils)" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "libmedia-service" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-content-media-content.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.2.58 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.2.58 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + + +} + +PACKAGES = "" +PACKAGES += "capi-content-media-content" +PACKAGES += "capi-content-media-content-devel" + +capi-content-media-content_files = "" +capi-content-media-content_files += "capi-content-media-content.manifest" +capi-content-media-content_files += "capi-content-media-content.manifest" +capi-content-media-content_files += "/usr/lib/libcapi-content-media-content.so.*" + +capi-content-media-content-devel_files = "" +capi-content-media-content-devel_files += "capi-content-media-content.manifest" +capi-content-media-content-devel_files += "/usr/include/media-content/*.h" +capi-content-media-content-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-content-media-content-devel_files += "/usr/lib/libcapi-content-media-content.so" + +FILES_${PN} = "${capi-content-media-content_files}" +FILES_${PN}-devel = "${capi-content-media-content-devel_files}" + +PKG_capi-content-media-content= "capi-content-media-content" +PKG_capi-content-media-content-devel= "capi-content-media-content-devel" + +require media-content-extraconf.inc diff --git a/meta-tizen/recipes-tizen/media-content/media-content_git.bb b/meta-tizen/recipes-tizen/media-content/media-content_git.bb new file mode 100644 index 0000000..5dbe566 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-content/media-content_git.bb @@ -0,0 +1,8 @@ +require media-content.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/media-content;protocol=ssh;tag=dc8db7304528651c039047b551c19f81c7a493d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-extraconf.inc b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-native_git.bb b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-native_git.bb new file mode 100644 index 0000000..cd4c826 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk-native_git.bb @@ -0,0 +1,12 @@ +require media-data-sdk.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-data-sdk;protocol=ssh;tag=d06cc527cfd9ffeeaebfb473b736130812d2b958;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk.inc b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk.inc new file mode 100644 index 0000000..03ff760 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk.inc @@ -0,0 +1,189 @@ +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" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by media-data-sdk +PROVIDES += "media-data-sdk" +RPROVIDES_media-data-sdk += "media-data-sdk" + +RDEPENDS = "" +#RDEPENDS of media-data-sdk (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "sqlite" + + +DEPENDS = "" +#DEPENDS of media-data-sdk +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/media-data-sdk.manifest . + LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS + + cmake . -DCMAKE_INSTALL_PREFIX=/opt/usr + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + ##change permission install files + chmod 666 ${D}/opt/usr/media/Images/* + + ##delete unusing files + rm ${D}/opt/usr/media/Downloads/.gitignore + rm ${D}/opt/usr/media/Videos/.gitignore + rm ${D}/opt/usr/media/Camera/.gitignore + rm ${D}/opt/usr/media/Sounds/Voice\ recorder/.gitignore + + #Create DB + mkdir -p ${D}/opt/usr/dbspace + sqlite3 ${D}/opt/usr/dbspace/.media.db 'PRAGMA journal_mode = PERSIST; + + CREATE TABLE IF NOT EXISTS album (album_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, artist TEXT, album_art TEXT, unique(name, artist)); + CREATE TABLE IF NOT EXISTS bookmark (bookmark_id INTEGER PRIMARY KEY AUTOINCREMENT, media_uuid TEXT NOT NULL, marked_time INTEGER DEFAULT 0, thumbnail_path TEXT, unique(media_uuid, marked_time)); + CREATE TABLE IF NOT EXISTS folder (folder_uuid TEXT PRIMARY KEY, path TEXT NOT NULL UNIQUE, name TEXT NOT NULL, modified_time INTEGER DEFAULT 0, storage_type INTEGER, unique(path, name, storage_type)); + CREATE TABLE IF NOT EXISTS media (media_uuid TEXT PRIMARY KEY, path TEXT NOT NULL UNIQUE, file_name TEXT NOT NULL, media_type INTEGER, mime_type TEXT, size INTEGER DEFAULT 0, added_time INTEGER DEFAULT 0, modified_time INTEGER DEFAULT 0, folder_uuid TEXT NOT NULL, thumbnail_path TEXT, title TEXT, album_id INTEGER DEFAULT 0, album TEXT, artist TEXT, genre TEXT, composer TEXT, year TEXT, recorded_date TEXT, copyright TEXT, track_num TEXT, description TEXT, bitrate INTEGER DEFAULT -1, samplerate INTEGER DEFAULT -1, channel INTEGER DEFAULT -1, duration INTEGER DEFAULT -1, longitude DOUBLE DEFAULT 0, latitude DOUBLE DEFAULT 0, altitude DOUBLE DEFAULT 0, width INTEGER DEFAULT -1, height INTEGER DEFAULT -1, datetaken TEXT, orientation INTEGER DEFAULT -1, burst_id TEXT, played_count INTEGER DEFAULT 0, last_played_time INTEGER DEFAULT 0, last_played_position INTEGER DEFAULT 0, rating INTEGER DEFAULT 0, favourite INTEGER DEFAULT 0, author TEXT, provider TEXT, content_name TEXT, category TEXT, location_tag TEXT, age_rating TEXT, keyword TEXT, is_drm INTEGER DEFAULT 0, storage_type INTEGER, validity INTEGER DEFAULT 1, unique(path, file_name) ); + CREATE TABLE IF NOT EXISTS playlist ( playlist_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL UNIQUE, thumbnail_path TEXT ); + CREATE TABLE IF NOT EXISTS playlist_map ( _id INTEGER PRIMARY KEY AUTOINCREMENT, playlist_id INTEGER NOT NULL, media_uuid TEXT NOT NULL, play_order INTEGER NOT NULL ); + CREATE TABLE IF NOT EXISTS tag ( tag_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL UNIQUE ); + CREATE TABLE IF NOT EXISTS tag_map ( _id INTEGER PRIMARY KEY AUTOINCREMENT, tag_id INTEGER NOT NULL, media_uuid TEXT NOT NULL, unique(tag_id, media_uuid) ); + CREATE INDEX folder_folder_uuid_idx on folder (folder_uuid); + CREATE INDEX folder_uuid_idx on media (folder_uuid); + CREATE INDEX media_album_idx on media (album); + CREATE INDEX media_artist_idx on media (artist); + CREATE INDEX media_author_idx on media (author); + CREATE INDEX media_category_idx on media (category); + CREATE INDEX media_composer_idx on media (composer); + CREATE INDEX media_content_name_idx on media (content_name); + CREATE INDEX media_file_name_idx on media (file_name); + CREATE INDEX media_genre_idx on media (genre); + CREATE INDEX media_location_tag_idx on media (location_tag); + CREATE INDEX media_media_type_idx on media (media_type); + CREATE INDEX media_media_uuid_idx on media (media_uuid); + CREATE INDEX media_modified_time_idx on media (modified_time); + CREATE INDEX media_path_idx on media (path); + CREATE INDEX media_provider_idx on media (provider); + CREATE INDEX media_title_idx on media (title); + + CREATE VIEW IF NOT EXISTS playlist_view AS + SELECT + p.playlist_id, p.name, p.thumbnail_path, media_count, pm._id as pm_id, pm.play_order, m.media_uuid, path, file_name, media_type, mime_type, size, added_time, modified_time, m.thumbnail_path, description, rating, favourite, author, provider, content_name, category, location_tag, age_rating, keyword, is_drm, storage_type, longitude, latitude, altitude, width, height, datetaken, orientation, title, album, artist, genre, composer, year, recorded_date, copyright, track_num, bitrate, duration, played_count, last_played_time, last_played_position, samplerate, channel FROM playlist AS p + INNER JOIN playlist_map AS pm + INNER JOIN media AS m + INNER JOIN (SELECT count(playlist_id) as media_count, playlist_id FROM playlist_map group by playlist_id) as cnt_tbl + ON (p.playlist_id=pm.playlist_id AND pm.media_uuid = m.media_uuid AND cnt_tbl.playlist_id=pm.playlist_id AND m.validity=1) + UNION + SELECT + playlist_id, name, thumbnail_path, 0, 0, -1, NULL, NULL, -1, -1, -1, -1, -1, NULL, NULL, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, NULL, -1 FROM playlist + WHERE playlist_id + NOT IN (select playlist_id from playlist_map); + + CREATE VIEW IF NOT EXISTS tag_view AS + SELECT + t.tag_id, t.name, media_count, tm._id as tm_id, m.media_uuid, path, file_name, media_type, mime_type, size, added_time, modified_time, thumbnail_path, description, rating, favourite, author, provider, content_name, category, location_tag, age_rating, keyword, is_drm, storage_type, longitude, latitude, altitude, width, height, datetaken, orientation, title, album, artist, genre, composer, year, recorded_date, copyright, track_num, bitrate, duration, played_count, last_played_time, last_played_position, samplerate, channel FROM tag AS t + INNER JOIN tag_map AS tm + INNER JOIN media AS m + INNER JOIN (SELECT count(tag_id) as media_count, tag_id FROM tag_map group by tag_id) as cnt_tbl + ON (t.tag_id=tm.tag_id AND tm.media_uuid = m.media_uuid AND cnt_tbl.tag_id=tm.tag_id AND m.validity=1) + UNION + SELECT + tag_id, name, 0, 0, NULL, NULL, -1, -1, -1, -1, -1, NULL, NULL, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, NULL, -1 FROM tag + WHERE tag_id + NOT IN (select tag_id from tag_map); + + CREATE TRIGGER album_cleanup DELETE ON media BEGIN DELETE FROM album WHERE (SELECT count(*) FROM media WHERE album_id=old.album_id)=1 AND album_id=old.album_id;END; + CREATE TRIGGER bookmark_cleanup DELETE ON media BEGIN DELETE FROM bookmark WHERE media_uuid=old.media_uuid;END; + CREATE TRIGGER folder_cleanup DELETE ON media BEGIN DELETE FROM folder WHERE (SELECT count(*) FROM media WHERE folder_uuid=old.folder_uuid)=1 AND folder_uuid=old.folder_uuid;END; + CREATE TRIGGER playlist_map_cleanup DELETE ON media BEGIN DELETE FROM playlist_map WHERE media_uuid=old.media_uuid;END; + CREATE TRIGGER playlist_map_cleanup_1 DELETE ON playlist BEGIN DELETE FROM playlist_map WHERE playlist_id=old.playlist_id;END; + CREATE TRIGGER tag_map_cleanup DELETE ON media BEGIN DELETE FROM tag_map WHERE media_uuid=old.media_uuid;END; + CREATE TRIGGER tag_map_cleanup_1 DELETE ON tag BEGIN DELETE FROM tag_map WHERE tag_id=old.tag_id;END; + INSERT INTO media VALUES("60aea677-4742-408e-b5f7-f2628062d06d","/opt/usr/media/Images/Default.jpg","Default.jpg",0,"image/jpeg",632118,3023047,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-a19569ad296e9655d1fbf216f195f801.jpg","Default",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,280,"2011:10:20 18:41:26",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("84b3a64a-51ef-4b3a-bbaa-c527fbbcfa42","/opt/usr/media/Images/image1.jpg","image1.jpg",0,"image/jpeg",751750,3023268,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-f5052c8428c4a22231d6ece0c63b74bd.jpg","image1",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:08 15:59:47",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("51d282b7-06d7-4bce-aebc-59e46b15f7e7","/opt/usr/media/Images/image13.jpg","image13.jpg",0,"image/jpeg",549310,3023473,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-825ded447a3ce04d14d737f93d7cee26.jpg","image13",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:59:11",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("dd6d7c0b-273d-47f5-8a37-30ebac9ac3a3","/opt/usr/media/Images/image4.jpg","image4.jpg",0,"image/jpeg",609139,3023702,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-8ea059905f24eea065a7998dc5ff1f7e.jpg","image4",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown"," ",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:44:45",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("21141e5d-e6da-45e2-93d6-5fb5c5870adb","/opt/usr/media/Images/image2.jpg","image2.jpg",0,"image/jpeg",254304,3023930,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-93d14e2e94dfbccc9f38a14c4be6a780.jpg","image2",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:08 14:54:05",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("2ec6f64b-c982-4c6a-9a70-1323d27f4aa5","/opt/usr/media/Images/image9.jpg","image9.jpg",0,"image/jpeg",1168466,3024130,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-e82b0d23bfecbddaad1b98be7674b96e.jpg","image9",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:43:39",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("db1c184c-6f31-43b4-b924-8c00ac5b6197","/opt/usr/media/Images/Home_default.jpg","Home_default.jpg",0,"image/jpeg",554116,3024507,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-66784c0b912f077f0a8de56a2f56161e.jpg","Home_default",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2012:02:07 14:44:33",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("1b25f4d9-ffff-4b83-8dbf-187a0a809985","/opt/usr/media/Images/image15.jpg","image15.jpg",0,"image/jpeg",484926,3024713,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-de79768105a730492b3b28ca33ff89f4.jpg","image15",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 15:00:59",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("b3ee9659-22bb-423d-99d0-ed35240545a8","/opt/usr/media/Images/image12.jpg","image12.jpg",0,"image/jpeg",519167,3024908,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-e32fd6fd44abe296c14de2407bab1f93.jpg","image12",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:50:16",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("0d905e54-4583-4de8-80c1-ee4117e06ddf","/opt/usr/media/Images/image11.jpg","image11.jpg",0,"image/jpeg",656364,3025097,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-773fffb8f086e5954f15407b41c2635d.jpg","image11",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2012:02:07 14:49:37",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("bc1eae57-376e-4ff3-b6a0-edcff8c7a1b1","/opt/usr/media/Images/image5.jpg","image5.jpg",0,"image/jpeg",773064,3025291,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-c468b6d8820bfc0d9311d76f6575251a.jpg","image5",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:45:14",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("eec305ed-ccb4-4abb-93f9-f087c823b1d4","/opt/usr/media/Images/image6.jpg","image6.jpg",0,"image/jpeg",682883,3025500,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-10555c13cdfe5a763a69e08489de3c70.jpg","image6",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:39:26",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("53101826-d64e-4d26-b448-acc1d94511a5","/opt/usr/media/Images/image14.jpg","image14.jpg",0,"image/jpeg",452386,3025742,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-6f7e6adae30603c45be7db083610d0a3.jpg","image14",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:59:44",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("dbf546ed-e984-45de-a85e-b1d750005036","/opt/usr/media/Images/image8.jpg","image8.jpg",0,"image/jpeg",930876,3026032,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-5876701a15ec16bd0226ed00044cad92.jpg","image8",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:21 10:01:44",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("696835a1-eaec-4602-8310-5e7ad9f4429b","/opt/usr/media/Images/image10.jpg","image10.jpg",0,"image/jpeg",1236980,3027125,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-70a952ceff9175115b8c3fd044cdf978.jpg","image10",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:43:24",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("4a76c208-ca95-4b2f-9de1-86c82a45506d","/opt/usr/media/Images/image16.jpg","image16.jpg",0,"image/jpeg",1443416,3027413,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-aa5afe63b8aaa41079f9f37297d0763f.jpg","image16",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2011:10:20 18:42:06",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("83b9fd32-cd53-4ba7-84b8-c3d507f4701d","/opt/usr/media/Images/image7.jpg","image7.jpg",0,"image/jpeg",1073428,3027698,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-fc4557b53139ca8f35a3f13cea24ed13.jpg","image7",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2011:10:20 18:41:51",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO media VALUES("a2b3cbf8-82e3-456f-b912-74b0a646da6e","/opt/usr/media/Images/image3.jpg","image3.jpg",0,"image/jpeg",738597,3027977,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-03bdfd7e4d43c736819639b84a590b5f.jpg","image3",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:46:13",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1); + INSERT INTO folder VALUES("baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/media/Images","Images",1337008628,0); + ' + + #License + mkdir -p ${D}//usr/share/license + cp -rf ${WORKDIR}/media-data-sdk-0.1.42/LICENSE.CCPLv3.0 ${D}//usr/share/license/media-data-sdk + + +} + +PACKAGES = "" +PACKAGES += "media-data-sdk" + +media-data-sdk_files = "" +media-data-sdk_files += "media-data-sdk.manifest" +media-data-sdk_files += "/opt/usr/data/file-manager-service/plugin-config" +media-data-sdk_files += "/opt/usr/data/file-manager-service/.thumb/*" +media-data-sdk_files += "/opt/usr/media/*" +media-data-sdk_files += "/opt/usr/dbspace/.media.db" +media-data-sdk_files += "/opt/usr/dbspace/.media.db-journal" +media-data-sdk_files += "/usr/share/license/media-data-sdk" + +FILES_${PN} = "${media-data-sdk_files}" + +PKG_media-data-sdk= "media-data-sdk" + +require media-data-sdk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk_git.bb b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk_git.bb new file mode 100644 index 0000000..df1594b --- /dev/null +++ b/meta-tizen/recipes-tizen/media-data-sdk/media-data-sdk_git.bb @@ -0,0 +1,8 @@ +require media-data-sdk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-data-sdk;protocol=ssh;tag=d06cc527cfd9ffeeaebfb473b736130812d2b958;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-key/media-key-extraconf.inc b/meta-tizen/recipes-tizen/media-key/media-key-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/media-key/media-key.inc b/meta-tizen/recipes-tizen/media-key/media-key.inc new file mode 100644 index 0000000..61713a3 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-key/media-key.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "A System Information library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-system-media-key" +PACKAGES += "capi-system-media-key-devel" + +capi-system-media-key_files = "" +capi-system-media-key_files += "capi-system-media-key.manifest" +capi-system-media-key_files += "/usr/lib/libcapi-system-media-key.so.*" +capi-system-media-key_files += "capi-system-media-key.manifest" + +capi-system-media-key-devel_files = "" +capi-system-media-key-devel_files += "capi-system-media-key.manifest" +capi-system-media-key-devel_files += "/usr/include/system/media_key.h" +capi-system-media-key-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-media-key-devel_files += "/usr/lib/libcapi-system-media-key.so" + +FILES_${PN} = "${capi-system-media-key_files}" +FILES_${PN}-devel = "${capi-system-media-key-devel_files}" + +PKG_capi-system-media-key= "capi-system-media-key" +PKG_capi-system-media-key-devel= "capi-system-media-key-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require media-key-rdepends.inc +require media-key-depends.inc +require media-key-extraconf.inc diff --git a/meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc b/meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/media-server/media-server-native_git.bb b/meta-tizen/recipes-tizen/media-server/media-server-native_git.bb new file mode 100644 index 0000000..d206c86 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-server/media-server-native_git.bb @@ -0,0 +1,12 @@ +require media-server.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-server;protocol=ssh;tag=cc6abc6db9edba933baa53547514900f19cba148;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/media-server/media-server.inc b/meta-tizen/recipes-tizen/media-server/media-server.inc new file mode 100644 index 0000000..4264821 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-server/media-server.inc @@ -0,0 +1,172 @@ +DESCRIPTION = "File manager service server." +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmedia-utils-devel +PROVIDES += "libmedia-utils-devel" +RPROVIDES_libmedia-utils-devel += "libmedia-utils-devel" +RPROVIDES_libmedia-utils-devel += "libmedia-utils-dev" + +#PROVIDES by media-server +PROVIDES += "media-server" +RPROVIDES_media-server += "media-server" + +#PROVIDES by libmedia-utils +PROVIDES += "libmedia-utils" +RPROVIDES_libmedia-utils += "libmedia-utils" + +RDEPENDS = "" +#RDEPENDS of libmedia-utils-devel (libmedia-utils-devel) +RDEPENDS_libmedia-utils-devel += "libmedia-utils" + +#RDEPENDS of media-server (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" + + +DEPENDS = "" +#DEPENDS of media-server +DEPENDS += "drm-client" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "libslp-db-util" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "heynoti" +DEPENDS += "libslp-pm" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(notification)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/media-server.manifest ${S}/packaging/libmedia-utils.manifest ${S}/packaging/libmedia-utils-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr --disable-static + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m 644 ${S}/packaging/media-server.service ${D}/usr/lib/systemd/system/media-server.service + ln -s ../media-server.service ${D}/usr/lib/systemd/system/multi-user.target.wants/media-server.service + + +} + +PACKAGES = "" +PACKAGES += "libmedia-utils-devel" +PACKAGES += "media-server" +PACKAGES += "libmedia-utils" + +libmedia-utils-devel_files = "" +libmedia-utils-devel_files += "libmedia-utils-devel.manifest" +libmedia-utils-devel_files += "/usr/lib/libmedia-utils.so" +libmedia-utils-devel_files += "/usr/lib/pkgconfig/libmedia-utils.pc" +libmedia-utils-devel_files += "/usr/include/media-utils/*.h" + +media-server_files = "" +media-server_files += "media-server.manifest" +media-server_files += "/usr/bin/media-server" +media-server_files += "/usr/bin/media-scanner" +media-server_files += "/usr/bin/mediadb-update" +media-server_files += "/usr/lib/systemd/system/media-server.service" +media-server_files += "/usr/lib/systemd/system/multi-user.target.wants/media-server.service" + +libmedia-utils_files = "" +libmedia-utils_files += "libmedia-utils.manifest" +libmedia-utils_files += "/usr/lib/libmedia-utils.so.0" +libmedia-utils_files += "/usr/lib/libmedia-utils.so.0.0.0" + +FILES_libmedia-utils-devel = "${libmedia-utils-devel_files}" +FILES_${PN} = "${media-server_files}" +FILES_libmedia-utils = "${libmedia-utils_files}" + +PKG_libmedia-utils-devel= "libmedia-utils-devel" +PKG_media-server= "media-server" +PKG_libmedia-utils= "libmedia-utils" + +require media-server-extraconf.inc diff --git a/meta-tizen/recipes-tizen/media-server/media-server_git.bb b/meta-tizen/recipes-tizen/media-server/media-server_git.bb new file mode 100644 index 0000000..74a5961 --- /dev/null +++ b/meta-tizen/recipes-tizen/media-server/media-server_git.bb @@ -0,0 +1,8 @@ +require media-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-server;protocol=ssh;tag=cc6abc6db9edba933baa53547514900f19cba148;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/menu-daemon/menu-daemon-extraconf.inc b/meta-tizen/recipes-tizen/menu-daemon/menu-daemon-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/menu-daemon/menu-daemon.inc b/meta-tizen/recipes-tizen/menu-daemon/menu-daemon.inc new file mode 100644 index 0000000..549a513 --- /dev/null +++ b/meta-tizen/recipes-tizen/menu-daemon/menu-daemon.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Menu daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "apps" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "menu-daemon" + +menu-daemon_files = "" +menu-daemon_files += "menu-daemon.manifest" +menu-daemon_files += "/etc/init.d/menudaemon" +menu-daemon_files += "/etc/init.d/menudaemon.fast" +menu-daemon_files += "/usr/bin/menu-daemon" + +FILES_${PN} = "${menu-daemon_files}" + +PKG_menu-daemon= "menu-daemon" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require menu-daemon-rdepends.inc +require menu-daemon-depends.inc +require menu-daemon-extraconf.inc diff --git a/meta-tizen/recipes-tizen/menu-screen/menu-screen-extraconf.inc b/meta-tizen/recipes-tizen/menu-screen/menu-screen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/menu-screen/menu-screen.inc b/meta-tizen/recipes-tizen/menu-screen/menu-screen.inc new file mode 100644 index 0000000..27f5f39 --- /dev/null +++ b/meta-tizen/recipes-tizen/menu-screen/menu-screen.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "An utility library of the menu screen" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.menu-screen" + +org.tizen.menu-screen_files = "" +org.tizen.menu-screen_files += "org.tizen.menu-screen.manifest" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/bin/menu-screen" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/all_apps_portrait.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/button_edit.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/group_4x4_portrait.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/item_4x4.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/layout_portrait.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/edje/index.edj" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/images/default.png" +org.tizen.menu-screen_files += "/usr/apps/org.tizen.menu-screen/res/locale/*/*/*.mo" +org.tizen.menu-screen_files += "/usr/share/packages/org.tizen.menu-screen.xml" +org.tizen.menu-screen_files += "/usr/share/license/org.tizen.menu-screen" +org.tizen.menu-screen_files += "/opt/etc/smack/accesses.d/org.tizen.menu-screen.rule" + +FILES_${PN} = "${org.tizen.menu-screen_files}" + +PKG_org.tizen.menu-screen= "org.tizen.menu-screen" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require menu-screen-rdepends.inc +require menu-screen-depends.inc +require menu-screen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mesa/mesa-extraconf.inc b/meta-tizen/recipes-tizen/mesa/mesa-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mesa/mesa-native_git.bb b/meta-tizen/recipes-tizen/mesa/mesa-native_git.bb new file mode 100644 index 0000000..48729e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/mesa/mesa-native_git.bb @@ -0,0 +1,12 @@ +require mesa.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mesa;protocol=ssh;tag=14a55a1f46723088f0da427e444d3e197138db60;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mesa/mesa.inc b/meta-tizen/recipes-tizen/mesa/mesa.inc new file mode 100644 index 0000000..92115e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/mesa/mesa.inc @@ -0,0 +1,327 @@ +DESCRIPTION = "System for rendering interactive 3-D graphics" +HOMEPAGE = "http://www.mesa3d.org" +SECTION = "Graphics & UI Framework/Hardware Adaptation" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mesa-libEGL +PROVIDES += "mesa-libEGL" +RPROVIDES_mesa-libEGL += "mesa-libEGL" + +#PROVIDES by libgbm +PROVIDES += "libgbm" +RPROVIDES_libgbm += "libgbm" + +#PROVIDES by mesa-libEGL-devel +PROVIDES += "mesa-libEGL-devel" +RPROVIDES_mesa-libEGL-devel += "mesa-libEGL-devel" +RPROVIDES_mesa-libEGL-devel += "mesa-libEGL-dev" + +#PROVIDES by mesa-libGLESv1_CM-devel +PROVIDES += "mesa-libGLESv1_CM-devel" +RPROVIDES_mesa-libGLESv1_CM-devel += "mesa-libGLESv1_CM-devel" +RPROVIDES_mesa-libGLESv1_CM-devel += "mesa-libGLESv1_CM-dev" + +#PROVIDES by mesa-libGLESv1_CM +PROVIDES += "mesa-libGLESv1_CM" +RPROVIDES_mesa-libGLESv1_CM += "mesa-libGLESv1_CM" + +#PROVIDES by mesa-libglapi +PROVIDES += "mesa-libglapi" +RPROVIDES_mesa-libglapi += "mesa-libglapi" + +#PROVIDES by libwayland-egl +PROVIDES += "libwayland-egl" +RPROVIDES_libwayland-egl += "libwayland-egl" + +#PROVIDES by libgbm-devel +PROVIDES += "libgbm-devel" +RPROVIDES_libgbm-devel += "libgbm-devel" +RPROVIDES_libgbm-devel += "libgbm-dev" + +#PROVIDES by mesa-libGLESv2 +PROVIDES += "mesa-libGLESv2" +RPROVIDES_mesa-libGLESv2 += "mesa-libGLESv2" + +#PROVIDES by mesa-libGLESv3-devel +PROVIDES += "mesa-libGLESv3-devel" +RPROVIDES_mesa-libGLESv3-devel += "mesa-libGLESv3-devel" +RPROVIDES_mesa-libGLESv3-devel += "mesa-libGLESv3-dev" + +#PROVIDES by mesa +PROVIDES += "mesa" +RPROVIDES_mesa += "mesa" +# the PROVIDES rules is ignore "Mesa = 9.2.1" +PROVIDES += "Mesa" +RPROVIDES_mesa += "Mesa" + +#PROVIDES by mesa-libGLESv2-devel +PROVIDES += "mesa-libGLESv2-devel" +RPROVIDES_mesa-libGLESv2-devel += "mesa-libGLESv2-devel" +RPROVIDES_mesa-libGLESv2-devel += "mesa-libGLESv2-dev" + +#PROVIDES by mesa-devel +PROVIDES += "mesa-devel" +RPROVIDES_mesa-devel += "mesa-devel" +RPROVIDES_mesa-devel += "mesa-dev" + +RDEPENDS = "" +#RDEPENDS of mesa-libEGL-devel (${PN}-libEGL-devel) +RDEPENDS_${PN}-libEGL-devel += "mesa-libEGL" + +#RDEPENDS of mesa-libGLESv1_CM-devel (${PN}-libGLESv1_CM-devel) +RDEPENDS_${PN}-libGLESv1_CM-devel += "mesa-libGLESv1_CM" +RDEPENDS_${PN}-libGLESv1_CM-devel += "pkgconfig(egl)" + +#RDEPENDS of libgbm-devel (libgbm-devel) +RDEPENDS_libgbm-devel += "libgbm" + +#RDEPENDS of mesa-libGLESv3-devel (${PN}-libGLESv3-devel) +RDEPENDS_${PN}-libGLESv3-devel += "pkgconfig(egl)" + +#RDEPENDS of mesa-libGLESv2-devel (${PN}-libGLESv2-devel) +RDEPENDS_${PN}-libGLESv2-devel += "pkgconfig(egl)" +RDEPENDS_${PN}-libGLESv2-devel += "mesa-libGLESv2" + +#RDEPENDS of mesa-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "mesa-libGLESv1_CM-dev" +RDEPENDS_${PN}-devel += "mesa-libEGL-dev" +RDEPENDS_${PN}-devel += "libgbm-dev" +RDEPENDS_${PN}-devel += "libwayland-egl" +RDEPENDS_${PN}-devel += "mesa-libglapi" +RDEPENDS_${PN}-devel += "mesa" +RDEPENDS_${PN}-devel += "mesa-libGLESv2-dev" + + +DEPENDS = "" +#DEPENDS of mesa +DEPENDS += "flex" +DEPENDS += "gcc-cross" +DEPENDS += "fdupes-native" +DEPENDS += "pkgconfig(wayland-server)" +DEPENDS += "pkgconfig(libdrm_intel)" +inherit pythonnative +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "expat" +DEPENDS += "pkgconfig-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "libxml2-python" +DEPENDS += "bison-native" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(libudev)" +DEPENDS += "autoconf-native" +DEPENDS += "llvm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mesa.manifest . + + rm -rf docs/README.{VMS,WIN32,OS2} + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -f src/mesa/depend + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-gles1 \ + --enable-gles2 \ + --with-egl-platforms=drm,wayland \ + --disable-glx \ + --enable-shared-glapi \ + --enable-texture-float \ + --enable-gbm \ + --with-dri-searchpath=/usr/lib/dri/updates:/usr/lib/dri \ + --enable-gallium-llvm \ + --with-dri-drivers=i915,i965,swrast \ + --with-gallium-drivers="swrast,svga" \ + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG" + make -j16 + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/include/GL + rm -f ${D}/usr/lib/pkgconfig/gl.pc + + # DRI driver update mechanism + mkdir -p ${D}/usr/lib/dri/updates + install -m 644 $RPM_SOURCE_DIR/README.updates \ + ${D}/usr/lib/dri/updates + # global drirc file + mkdir -p ${D}/etc + install -m 644 $RPM_SOURCE_DIR/drirc ${D}/etc + + + +} + +PACKAGES = "" +PACKAGES += "mesa-libEGL" +PACKAGES += "libgbm" +PACKAGES += "mesa-libEGL-devel" +PACKAGES += "mesa-libGLESv1_CM-devel" +PACKAGES += "mesa-libGLESv1_CM" +PACKAGES += "mesa-libglapi" +PACKAGES += "libwayland-egl" +PACKAGES += "libgbm-devel" +PACKAGES += "mesa-libGLESv2" +PACKAGES += "mesa-libGLESv3-devel" +PACKAGES += "mesa" +PACKAGES += "mesa-libGLESv2-devel" +PACKAGES += "mesa-devel" + +mesa-libEGL_files = "" +mesa-libEGL_files += "mesa.manifest" +mesa-libEGL_files += "/usr/lib/libEGL.so.1*" + +libgbm_files = "" +libgbm_files += "mesa.manifest" +libgbm_files += "/usr/lib/libgbm.so.1*" + +mesa-libEGL-devel_files = "" +mesa-libEGL-devel_files += "mesa.manifest" +mesa-libEGL-devel_files += "/usr/include/EGL" +mesa-libEGL-devel_files += "/usr/include/KHR" +mesa-libEGL-devel_files += "/usr/lib/libEGL.so" +mesa-libEGL-devel_files += "/usr/lib/pkgconfig/egl.pc" + +mesa-libGLESv1_CM-devel_files = "" +mesa-libGLESv1_CM-devel_files += "mesa.manifest" +mesa-libGLESv1_CM-devel_files += "/usr/include/GLES" +mesa-libGLESv1_CM-devel_files += "/usr/lib/libGLESv1_CM.so" +mesa-libGLESv1_CM-devel_files += "/usr/lib/pkgconfig/glesv1_cm.pc" + +mesa-libGLESv1_CM_files = "" +mesa-libGLESv1_CM_files += "mesa.manifest" +mesa-libGLESv1_CM_files += "/usr/lib/libGLESv1_CM.so.1*" + +mesa-libglapi_files = "" +mesa-libglapi_files += "mesa.manifest" +mesa-libglapi_files += "/usr/lib/libglapi.so.0*" + +libwayland-egl_files = "" +libwayland-egl_files += "mesa.manifest" +libwayland-egl_files += "/usr/lib/libwayland-egl.so.1*" + +libgbm-devel_files = "" +libgbm-devel_files += "mesa.manifest" +libgbm-devel_files += "/usr/include/gbm.h" +libgbm-devel_files += "/usr/lib/libgbm.so" +libgbm-devel_files += "/usr/lib/pkgconfig/gbm.pc" + +mesa-libGLESv2_files = "" +mesa-libGLESv2_files += "mesa.manifest" +mesa-libGLESv2_files += "/usr/lib/libGLESv2.so.2*" + +mesa-libGLESv3-devel_files = "" +mesa-libGLESv3-devel_files += "mesa.manifest" +mesa-libGLESv3-devel_files += "/usr/include/GLES3" + +mesa_files = "" +mesa_files += "mesa.manifest" +mesa_files += "/etc/drirc" +mesa_files += "/usr/lib/dri/" +mesa_files += "/usr/lib/libdricore9*.so.*" + +mesa-libGLESv2-devel_files = "" +mesa-libGLESv2-devel_files += "mesa.manifest" +mesa-libGLESv2-devel_files += "/usr/include/GLES2" +mesa-libGLESv2-devel_files += "/usr/lib/libGLESv2.so" +mesa-libGLESv2-devel_files += "/usr/lib/pkgconfig/glesv2.pc" + +mesa-devel_files = "" +mesa-devel_files += "mesa.manifest" +mesa-devel_files += "/usr/lib/libglapi.so" +mesa-devel_files += "/usr/lib/libwayland-egl.so" +mesa-devel_files += "/usr/lib/pkgconfig/wayland-egl.pc" +mesa-devel_files += "/usr/lib/pkgconfig/dri.pc" +mesa-devel_files += "/usr/lib/libdricore9*.so" + +FILES_${PN}-libEGL = "${mesa-libEGL_files}" +FILES_libgbm = "${libgbm_files}" +FILES_${PN}-libEGL-devel = "${mesa-libEGL-devel_files}" +FILES_${PN}-libGLESv1_CM-devel = "${mesa-libGLESv1_CM-devel_files}" +FILES_${PN}-libGLESv1_CM = "${mesa-libGLESv1_CM_files}" +FILES_${PN}-libglapi = "${mesa-libglapi_files}" +FILES_libwayland-egl = "${libwayland-egl_files}" +FILES_libgbm-devel = "${libgbm-devel_files}" +FILES_${PN}-libGLESv2 = "${mesa-libGLESv2_files}" +FILES_${PN}-libGLESv3-devel = "${mesa-libGLESv3-devel_files}" +FILES_${PN} = "${mesa_files}" +FILES_${PN}-libGLESv2-devel = "${mesa-libGLESv2-devel_files}" +FILES_${PN}-devel = "${mesa-devel_files}" + +PKG_mesa-libEGL= "mesa-libEGL" +PKG_libgbm= "libgbm" +PKG_mesa-libEGL-devel= "mesa-libEGL-devel" +PKG_mesa-libGLESv1_CM-devel= "mesa-libGLESv1_CM-devel" +PKG_mesa-libGLESv1_CM= "mesa-libGLESv1_CM" +PKG_mesa-libglapi= "mesa-libglapi" +PKG_libwayland-egl= "libwayland-egl" +PKG_libgbm-devel= "libgbm-devel" +PKG_mesa-libGLESv2= "mesa-libGLESv2" +PKG_mesa-libGLESv3-devel= "mesa-libGLESv3-devel" +PKG_mesa= "mesa" +PKG_mesa-libGLESv2-devel= "mesa-libGLESv2-devel" +PKG_mesa-devel= "mesa-devel" + +require mesa-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mesa/mesa_git.bb b/meta-tizen/recipes-tizen/mesa/mesa_git.bb new file mode 100644 index 0000000..56351da --- /dev/null +++ b/meta-tizen/recipes-tizen/mesa/mesa_git.bb @@ -0,0 +1,8 @@ +require mesa.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mesa;protocol=ssh;tag=14a55a1f46723088f0da427e444d3e197138db60;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/message-port/message-port-extraconf.inc b/meta-tizen/recipes-tizen/message-port/message-port-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/message-port/message-port-native_git.bb b/meta-tizen/recipes-tizen/message-port/message-port-native_git.bb new file mode 100644 index 0000000..e45641a --- /dev/null +++ b/meta-tizen/recipes-tizen/message-port/message-port-native_git.bb @@ -0,0 +1,12 @@ +require message-port.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/message-port;protocol=ssh;tag=4ee5f77116ba97e8588a7c4c329ee427e9147068;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/message-port/message-port.inc b/meta-tizen/recipes-tizen/message-port/message-port.inc new file mode 100644 index 0000000..68118e1 --- /dev/null +++ b/meta-tizen/recipes-tizen/message-port/message-port.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Message Port library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by message-port-devel +PROVIDES += "message-port-devel" +RPROVIDES_message-port-devel += "message-port-devel" +RPROVIDES_message-port-devel += "message-port-dev" + +#PROVIDES by message-port +PROVIDES += "message-port" +RPROVIDES_message-port += "message-port" +# the PROVIDES rules is ignore "libmessage-port.so.1 " +PROVIDES += "libmessage-port.so.1" +RPROVIDES_message-port += "libmessage-port.so.1" + +RDEPENDS = "" +#RDEPENDS of message-port-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "message-port" + +#RDEPENDS of message-port (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "chromium" +RDEPENDS_${PN} += "coreutils" + + +DEPENDS = "" +#DEPENDS of message-port +DEPENDS += "cmake" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "bundle" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "chromium" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/message-port.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 1.2.2.1 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=1.2.2.1 -DMAJORVER=${MAJORVER} + + # Call make instruction with smp support + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "message-port-devel" +PACKAGES += "message-port" + +message-port-devel_files = "" +message-port-devel_files += "message-port.manifest" +message-port-devel_files += "/usr/include/appfw/*.h" +message-port-devel_files += "/usr/lib/pkgconfig/*.pc" +message-port-devel_files += "/usr/lib/libmessage-port.so" + +message-port_files = "" +message-port_files += "message-port.manifest" +message-port_files += "/usr/lib/libmessage-port.so.*" +message-port_files += "message-port.manifest" + +FILES_${PN}-devel = "${message-port-devel_files}" +FILES_${PN} = "${message-port_files}" + +PKG_message-port-devel= "message-port-devel" +PKG_message-port= "message-port" + +require message-port-extraconf.inc diff --git a/meta-tizen/recipes-tizen/message-port/message-port_git.bb b/meta-tizen/recipes-tizen/message-port/message-port_git.bb new file mode 100644 index 0000000..1faa2bb --- /dev/null +++ b/meta-tizen/recipes-tizen/message-port/message-port_git.bb @@ -0,0 +1,8 @@ +require message-port.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/message-port;protocol=ssh;tag=4ee5f77116ba97e8588a7c4c329ee427e9147068;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/messages/messages-extraconf.inc b/meta-tizen/recipes-tizen/messages/messages-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/messages/messages-native_git.bb b/meta-tizen/recipes-tizen/messages/messages-native_git.bb new file mode 100644 index 0000000..4868d60 --- /dev/null +++ b/meta-tizen/recipes-tizen/messages/messages-native_git.bb @@ -0,0 +1,12 @@ +require messages.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/messages;protocol=ssh;tag=b6b53777347f754138642a64722ad239e3e2232a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/messages/messages.inc b/meta-tizen/recipes-tizen/messages/messages.inc new file mode 100644 index 0000000..ba83375 --- /dev/null +++ b/meta-tizen/recipes-tizen/messages/messages.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "A SMS/MMS library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Messaging/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-messaging-messages +PROVIDES += "capi-messaging-messages" +RPROVIDES_capi-messaging-messages += "capi-messaging-messages" + +#PROVIDES by capi-messaging-messages-devel +PROVIDES += "capi-messaging-messages-devel" +RPROVIDES_capi-messaging-messages-devel += "capi-messaging-messages-devel" +RPROVIDES_capi-messaging-messages-devel += "capi-messaging-messages-dev" + +RDEPENDS = "" +#RDEPENDS of capi-messaging-messages-devel (capi-messaging-${PN}-devel) +RDEPENDS_capi-messaging-${PN}-devel += "capi-messaging-messages" +RDEPENDS_capi-messaging-${PN}-devel += "pkgconfig(capi-base-common)" +RDEPENDS_capi-messaging-${PN}-devel += "pkgconfig(msg-service)" + + +DEPENDS = "" +#DEPENDS of capi-messaging-messages +DEPENDS += "pkgconfig(msg-service)" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(capi-appfw-application)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-messaging-messages.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.25 | awk 'BEGIN {FS="."}{print $1}'` + rm -fr cmake_build_tmp; mkdir cmake_build_tmp + cd cmake_build_tmp + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake .. -DFULLVER=0.1.25 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd cmake_build_tmp + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-messaging-messages" +PACKAGES += "capi-messaging-messages-devel" + +capi-messaging-messages_files = "" +capi-messaging-messages_files += "capi-messaging-messages.manifest" +capi-messaging-messages_files += "/usr/lib/libcapi-messaging-messages.so.*" + +capi-messaging-messages-devel_files = "" +capi-messaging-messages-devel_files += "capi-messaging-messages.manifest" +capi-messaging-messages-devel_files += "/usr/include/messaging/*.h" +capi-messaging-messages-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-messaging-messages-devel_files += "/usr/lib/libcapi-messaging-messages.so" + +FILES_${PN} = "${capi-messaging-messages_files}" +FILES_${PN}-devel = "${capi-messaging-messages-devel_files}" + +PKG_capi-messaging-messages= "capi-messaging-messages" +PKG_capi-messaging-messages-devel= "capi-messaging-messages-devel" + +require messages-extraconf.inc diff --git a/meta-tizen/recipes-tizen/messages/messages_git.bb b/meta-tizen/recipes-tizen/messages/messages_git.bb new file mode 100644 index 0000000..ce6efe2 --- /dev/null +++ b/meta-tizen/recipes-tizen/messages/messages_git.bb @@ -0,0 +1,8 @@ +require messages.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/messages;protocol=ssh;tag=b6b53777347f754138642a64722ad239e3e2232a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/meta-common/meta-common-extraconf.inc b/meta-tizen/recipes-tizen/meta-common/meta-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/meta-common/meta-common-native_git.bb b/meta-tizen/recipes-tizen/meta-common/meta-common-native_git.bb new file mode 100644 index 0000000..1d4d0ac --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-common/meta-common-native_git.bb @@ -0,0 +1,12 @@ +require meta-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/meta-common;protocol=ssh;tag=368600183c1f586edc59a9db29ca67d3f653a1d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/meta-common/meta-common.inc b/meta-tizen/recipes-tizen/meta-common/meta-common.inc new file mode 100644 index 0000000..7483f43 --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-common/meta-common.inc @@ -0,0 +1,79 @@ +DESCRIPTION = "Tizen Package Groups and Images Configurations" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by meta-common +PROVIDES += "meta-common" +RPROVIDES_meta-common += "meta-common" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/meta-common.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "meta-common" + +meta-common_files = "" +meta-common_files += "meta-common.manifest" +meta-common_files += "/usr/share/package-groups/common/*.yaml" + +FILES_${PN} = "${meta-common_files}" + +PKG_meta-common= "meta-common" + +require meta-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/meta-common/meta-common_git.bb b/meta-tizen/recipes-tizen/meta-common/meta-common_git.bb new file mode 100644 index 0000000..9771fd7 --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-common/meta-common_git.bb @@ -0,0 +1,8 @@ +require meta-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/meta-common;protocol=ssh;tag=368600183c1f586edc59a9db29ca67d3f653a1d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/meta-generic/meta-generic-extraconf.inc b/meta-tizen/recipes-tizen/meta-generic/meta-generic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/meta-generic/meta-generic-native_git.bb b/meta-tizen/recipes-tizen/meta-generic/meta-generic-native_git.bb new file mode 100644 index 0000000..649e56c --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-generic/meta-generic-native_git.bb @@ -0,0 +1,12 @@ +require meta-generic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;protocol=ssh;tag=d3d48fbbf57fb930b6ca47fc5b018679fcbba42f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/meta-generic/meta-generic.inc b/meta-tizen/recipes-tizen/meta-generic/meta-generic.inc new file mode 100644 index 0000000..a8eefaa --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-generic/meta-generic.inc @@ -0,0 +1,80 @@ +DESCRIPTION = "Generic Meta Data" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by meta-generic +PROVIDES += "meta-generic" +RPROVIDES_meta-generic += "meta-generic" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "meta-generic" + +meta-generic_files = "" +meta-generic_files += "/usr/share/image-configurations/generic/*.yaml" +meta-generic_files += "/usr/share/image-configurations/generic/configs/*.yaml" +meta-generic_files += "/usr/share/image-configurations/generic/partitions" +meta-generic_files += "/usr/share/image-configurations/generic/scripts" + +FILES_${PN} = "${meta-generic_files}" + +PKG_meta-generic= "meta-generic" + +require meta-generic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/meta-generic/meta-generic_git.bb b/meta-tizen/recipes-tizen/meta-generic/meta-generic_git.bb new file mode 100644 index 0000000..62853e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/meta-generic/meta-generic_git.bb @@ -0,0 +1,8 @@ +require meta-generic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;protocol=ssh;tag=d3d48fbbf57fb930b6ca47fc5b018679fcbba42f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-extraconf.inc b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-native_git.bb b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-native_git.bb new file mode 100644 index 0000000..0eb88cd --- /dev/null +++ b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor-native_git.bb @@ -0,0 +1,12 @@ +require metadata-extractor.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/metadata-extractor;protocol=ssh;tag=2c77312d397db3ac8ee9bc381884e5f418ce2438;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor.inc b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor.inc new file mode 100644 index 0000000..b0b5e1c --- /dev/null +++ b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "A media metadata extractor library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-metadata-extractor-devel +PROVIDES += "capi-media-metadata-extractor-devel" +RPROVIDES_capi-media-metadata-extractor-devel += "capi-media-metadata-extractor-devel" +RPROVIDES_capi-media-metadata-extractor-devel += "capi-media-metadata-extractor-dev" + +#PROVIDES by capi-media-metadata-extractor +PROVIDES += "capi-media-metadata-extractor" +RPROVIDES_capi-media-metadata-extractor += "capi-media-metadata-extractor" + +RDEPENDS = "" +#RDEPENDS of capi-media-metadata-extractor-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-metadata-extractor" + + +DEPENDS = "" +#DEPENDS of capi-media-metadata-extractor +DEPENDS += "libmm-fileinfo" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-metadata-extractor.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "capi-media-metadata-extractor-devel" +PACKAGES += "capi-media-metadata-extractor" + +capi-media-metadata-extractor-devel_files = "" +capi-media-metadata-extractor-devel_files += "capi-media-metadata-extractor.manifest" +capi-media-metadata-extractor-devel_files += "/usr/include/media/*.h" +capi-media-metadata-extractor-devel_files += "/usr/lib/pkgconfig/capi-media-metadata-extractor.pc" + +capi-media-metadata-extractor_files = "" +capi-media-metadata-extractor_files += "capi-media-metadata-extractor.manifest" +capi-media-metadata-extractor_files += "capi-media-metadata-extractor.manifest" +capi-media-metadata-extractor_files += "/usr/lib/libcapi-media-metadata-extractor.so" + +FILES_${PN}-devel = "${capi-media-metadata-extractor-devel_files}" +FILES_${PN} = "${capi-media-metadata-extractor_files}" + +PKG_capi-media-metadata-extractor-devel= "capi-media-metadata-extractor-devel" +PKG_capi-media-metadata-extractor= "capi-media-metadata-extractor" + +require metadata-extractor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor_git.bb b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor_git.bb new file mode 100644 index 0000000..a247926 --- /dev/null +++ b/meta-tizen/recipes-tizen/metadata-extractor/metadata-extractor_git.bb @@ -0,0 +1,8 @@ +require metadata-extractor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/metadata-extractor;protocol=ssh;tag=2c77312d397db3ac8ee9bc381884e5f418ce2438;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-extraconf.inc b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-native_git.bb b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-native_git.bb new file mode 100644 index 0000000..81e048b --- /dev/null +++ b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap-native_git.bb @@ -0,0 +1,12 @@ +require mic-bootstrap.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/tools/mic-bootstrap;protocol=ssh;tag=dd4a5d486e1c6dfdde6044d7e6840020a8cf3ac3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap.inc b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap.inc new file mode 100644 index 0000000..abbe1e8 --- /dev/null +++ b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "mic bootstrap" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Tools" +LICENSE = "GPLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mic-bootstrap +PROVIDES += "mic-bootstrap" +RPROVIDES_mic-bootstrap += "mic-bootstrap" +# the PROVIDES rules is ignore "mic-bootstrap " +PROVIDES += "mic-bootstrap" +RPROVIDES_mic-bootstrap += "mic-bootstrap" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of mic-bootstrap +DEPENDS += "kmod" +DEPENDS += "syslinux" +DEPENDS += "grep" +DEPENDS += "rpm-security-plugin" +DEPENDS += "python-rpm" +DEPENDS += "libzypp-bindings" +DEPENDS += "mic" +DEPENDS += "psmisc" +DEPENDS += "syslinux-extlinux" +DEPENDS += "lsof" +DEPENDS += "python-xml" +DEPENDS += "util-linux" +DEPENDS += "rpm" + +do_patch() { + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + set +x + + mkdir -p ${D} + mkdir -p ${D}/bootstrap + rpm -qla > filestoinclude1 + + # ignore files - construct sed script + sedtmp="sedtmp.$$" + echo "s#^/usr/share/doc/packages.*##" >> $sedtmp + echo "s#^/usr/share/man.*##" >> $sedtmp + echo "s#^/usr/share/info.*##" >> $sedtmp + # ignore pyc and pyo + echo "s#^.*\.pyc\$##" >> $sedtmp + echo "s#^.*\.pyo\$##" >> $sedtmp + + # ignore default filesystem files + for i in `rpm -ql filesystem`; do + echo "s#^${i}\$##" >> $sedtmp + done + + #finish up + echo "/^\$/d" >> $sedtmp + + #execute + sed -f $sedtmp -i filestoinclude1 + + # tar copy to bootstrap dir under buildroot + # prefix /bootstrap will fix conflicts + tar -T filestoinclude1 -cpf - | ( cd ${D}/bootstrap && tar -xpf - ) + # tar copy /usr/bin and /usr/sbin to /bin and /sbin to fix symblic lost in tar + (cd /usr/bin && tar -cpf - *) | (cd ${D}/bootstrap/bin && tar -xpf -) + (cd /usr/sbin && tar -cpf - *) | (cd ${D}/bootstrap/sbin && tar -xpf -) + rm filestoinclude1 + + # Todo: refractor + # no directories, in filelist + find ${D} > filestoinclude2 + cat filestoinclude2 | sed -e "s#${D}##g" | uniq | sort > filestoinclude1 + for i in `cat filestoinclude1`; do + # no directories + if test -h ${D}/$i || ! test -d ${D}/$i; then + # + echo "$i" >> filestoinclude + fi + done + rm filestoinclude1 + rm filestoinclude2 + + set -x + + +} + +PACKAGES = "" +PACKAGES += "mic-bootstrap" + +mic-bootstrap_files = "" + +FILES_${PN} = "${mic-bootstrap_files}" + +PKG_mic-bootstrap= "mic-bootstrap" + +require mic-bootstrap-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap_git.bb b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap_git.bb new file mode 100644 index 0000000..df7024c --- /dev/null +++ b/meta-tizen/recipes-tizen/mic-bootstrap/mic-bootstrap_git.bb @@ -0,0 +1,8 @@ +require mic-bootstrap.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/tools/mic-bootstrap;protocol=ssh;tag=dd4a5d486e1c6dfdde6044d7e6840020a8cf3ac3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mic/mic-extraconf.inc b/meta-tizen/recipes-tizen/mic/mic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mic/mic-native_git.bb b/meta-tizen/recipes-tizen/mic/mic-native_git.bb new file mode 100644 index 0000000..b723d1a --- /dev/null +++ b/meta-tizen/recipes-tizen/mic/mic-native_git.bb @@ -0,0 +1,12 @@ +require mic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mic;protocol=ssh;tag=6a69ef958deb5042a1988ba06b96a1cf23fc0fc8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mic/mic.inc b/meta-tizen/recipes-tizen/mic/mic.inc new file mode 100644 index 0000000..6ce20a9 --- /dev/null +++ b/meta-tizen/recipes-tizen/mic/mic.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Image Creator for Linux Distributions" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mic +PROVIDES += "mic" +RPROVIDES_mic += "mic" + +RDEPENDS = "" +#RDEPENDS of mic (${PN}) +RDEPENDS_${PN} += "parted" +RDEPENDS_${PN} += "syslinux" +RDEPENDS_${PN} += "python-M2Crypto" +RDEPENDS_${PN} += "python-urlgrabber" +RDEPENDS_${PN} += "python-rpm" +RDEPENDS_${PN} += "qemu-linux-user" +RDEPENDS_${PN} += "dosfstools" +RDEPENDS_${PN} += "python-zypp" +RDEPENDS_${PN} += "/usr/bin/genisoimage" +RDEPENDS_${PN} += "device-mapper" +RDEPENDS_${PN} += "e2fsprogs" +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "yum" +RDEPENDS_${PN} += "btrfs-progs" +RDEPENDS_${PN} += "kpartx" +RDEPENDS_${PN} += "gzip" +RDEPENDS_${PN} += "cpio" +RDEPENDS_${PN} += "util-linux" +RDEPENDS_${PN} += "squashfs" +RDEPENDS_${PN} += "bzip2" + + +DEPENDS = "" +#DEPENDS of mic +DEPENDS += "python-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n mic-0.19 + cp ${S}/packaging/mic.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="$RPM_OPT_FLAGS" /usr/bin/python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + /usr/bin/python setup.py install --root=$RPM_BUILD_ROOT -O1 + + # install man page + mkdir -p ${D}//usr/share/man/man1 + + +} + +PACKAGES = "" +PACKAGES += "mic" + +mic_files = "" +mic_files += "mic.manifest" +mic_files += "doc/*" +mic_files += "README.rst AUTHORS COPYING ChangeLog" +mic_files += "/etc/mic" +mic_files += "/etc/mic/mic.conf" +mic_files += "/usr/lib/python2.7/site-packages/*" +mic_files += "/usr/lib/mic" +mic_files += "/usr/lib/mic/*" +mic_files += "/usr/bin/*" + +FILES_${PN} = "${mic_files}" + +PKG_mic= "mic" + +require mic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mic/mic_git.bb b/meta-tizen/recipes-tizen/mic/mic_git.bb new file mode 100644 index 0000000..98f609b --- /dev/null +++ b/meta-tizen/recipes-tizen/mic/mic_git.bb @@ -0,0 +1,8 @@ +require mic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mic;protocol=ssh;tag=6a69ef958deb5042a1988ba06b96a1cf23fc0fc8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mime-type/mime-type-extraconf.inc b/meta-tizen/recipes-tizen/mime-type/mime-type-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mime-type/mime-type-native_git.bb b/meta-tizen/recipes-tizen/mime-type/mime-type-native_git.bb new file mode 100644 index 0000000..62b7efe --- /dev/null +++ b/meta-tizen/recipes-tizen/mime-type/mime-type-native_git.bb @@ -0,0 +1,12 @@ +require mime-type.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/mime-type;protocol=ssh;tag=10b842377825d94b4d0367d60dc3f7586274a663;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mime-type/mime-type.inc b/meta-tizen/recipes-tizen/mime-type/mime-type.inc new file mode 100644 index 0000000..2766f4e --- /dev/null +++ b/meta-tizen/recipes-tizen/mime-type/mime-type.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "A MIME type library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "APIs" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-content-mime-type +PROVIDES += "capi-content-mime-type" +RPROVIDES_capi-content-mime-type += "capi-content-mime-type" + +#PROVIDES by capi-content-mime-type-devel +PROVIDES += "capi-content-mime-type-devel" +RPROVIDES_capi-content-mime-type-devel += "capi-content-mime-type-devel" +RPROVIDES_capi-content-mime-type-devel += "capi-content-mime-type-dev" + +RDEPENDS = "" +#RDEPENDS of capi-content-mime-type-devel (capi-content-${PN}-devel) +RDEPENDS_capi-content-${PN}-devel += "capi-content-mime-type" +RDEPENDS_capi-content-${PN}-devel += "pkgconfig(capi-base-common)" + + +DEPENDS = "" +#DEPENDS of capi-content-mime-type +DEPENDS += "pkgconfig(xdgmime)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-content-mime-type.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.0.2 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.0.2 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-content-mime-type" +PACKAGES += "capi-content-mime-type-devel" + +capi-content-mime-type_files = "" +capi-content-mime-type_files += "capi-content-mime-type.manifest" +capi-content-mime-type_files += "/usr/lib/lib*.so.*" +capi-content-mime-type_files += "capi-content-mime-type.manifest" + +capi-content-mime-type-devel_files = "" +capi-content-mime-type-devel_files += "capi-content-mime-type.manifest" +capi-content-mime-type-devel_files += "/usr/include/content/*.h" +capi-content-mime-type-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-content-mime-type-devel_files += "/usr/lib/lib*.so" + +FILES_${PN} = "${capi-content-mime-type_files}" +FILES_${PN}-devel = "${capi-content-mime-type-devel_files}" + +PKG_capi-content-mime-type= "capi-content-mime-type" +PKG_capi-content-mime-type-devel= "capi-content-mime-type-devel" + +require mime-type-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mime-type/mime-type_git.bb b/meta-tizen/recipes-tizen/mime-type/mime-type_git.bb new file mode 100644 index 0000000..ce9307a --- /dev/null +++ b/meta-tizen/recipes-tizen/mime-type/mime-type_git.bb @@ -0,0 +1,8 @@ +require mime-type.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/mime-type;protocol=ssh;tag=10b842377825d94b4d0367d60dc3f7586274a663;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/minicontrol/minicontrol-extraconf.inc b/meta-tizen/recipes-tizen/minicontrol/minicontrol-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/minicontrol/minicontrol-native_git.bb b/meta-tizen/recipes-tizen/minicontrol/minicontrol-native_git.bb new file mode 100644 index 0000000..5c5d237 --- /dev/null +++ b/meta-tizen/recipes-tizen/minicontrol/minicontrol-native_git.bb @@ -0,0 +1,12 @@ +require minicontrol.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/minicontrol;protocol=ssh;tag=3104d9f816d8b240b149bcf0653e7cf7d74bd30a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/minicontrol/minicontrol.inc b/meta-tizen/recipes-tizen/minicontrol/minicontrol.inc new file mode 100644 index 0000000..a7401b6 --- /dev/null +++ b/meta-tizen/recipes-tizen/minicontrol/minicontrol.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "Minicontrol Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Core Applications" +LICENSE = "Flora" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by minicontrol +PROVIDES += "minicontrol" +RPROVIDES_minicontrol += "minicontrol" + +#PROVIDES by minicontrol-devel +PROVIDES += "minicontrol-devel" +RPROVIDES_minicontrol-devel += "minicontrol-devel" +RPROVIDES_minicontrol-devel += "minicontrol-dev" + +RDEPENDS = "" +#RDEPENDS of minicontrol-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "minicontrol" + + +DEPENDS = "" +#DEPENDS of minicontrol +DEPENDS += "cmake" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(ecore-evas)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/minicontrol.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 -fPIC" + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "minicontrol" +PACKAGES += "minicontrol-devel" + +minicontrol_files = "" +minicontrol_files += "minicontrol.manifest" +minicontrol_files += "/usr/lib/libminicontrol-provider.so*" +minicontrol_files += "/usr/lib/libminicontrol-viewer.so*" +minicontrol_files += "/usr/lib/libminicontrol-monitor.so*" + +minicontrol-devel_files = "" +minicontrol-devel_files += "minicontrol.manifest" +minicontrol-devel_files += "/usr/include/minicontrol/*.h" +minicontrol-devel_files += "/usr/lib/pkgconfig/minicontrol-provider.pc" +minicontrol-devel_files += "/usr/lib/pkgconfig/minicontrol-monitor.pc" +minicontrol-devel_files += "/usr/lib/pkgconfig/minicontrol-viewer.pc" + +FILES_${PN} = "${minicontrol_files}" +FILES_${PN}-devel = "${minicontrol-devel_files}" + +PKG_minicontrol= "minicontrol" +PKG_minicontrol-devel= "minicontrol-devel" + +require minicontrol-extraconf.inc diff --git a/meta-tizen/recipes-tizen/minicontrol/minicontrol_git.bb b/meta-tizen/recipes-tizen/minicontrol/minicontrol_git.bb new file mode 100644 index 0000000..88403a8 --- /dev/null +++ b/meta-tizen/recipes-tizen/minicontrol/minicontrol_git.bb @@ -0,0 +1,8 @@ +require minicontrol.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/minicontrol;protocol=ssh;tag=3104d9f816d8b240b149bcf0653e7cf7d74bd30a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mkfontdir/mkfontdir-extraconf.inc b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mkfontdir/mkfontdir-native_git.bb b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir-native_git.bb new file mode 100644 index 0000000..2de83da --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir-native_git.bb @@ -0,0 +1,12 @@ +require mkfontdir.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mkfontdir;protocol=ssh;tag=5e93b821fa2cbf208952a883b1587d1265276fd9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mkfontdir/mkfontdir.inc b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir.inc new file mode 100644 index 0000000..cb31d12 --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Utility to create index of X font files" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mkfontdir +PROVIDES += "mkfontdir" +RPROVIDES_mkfontdir += "mkfontdir" + +RDEPENDS = "" +#RDEPENDS of mkfontdir (${PN}) +RDEPENDS_${PN} += "mkfontscale" + + +DEPENDS = "" +#DEPENDS of mkfontdir +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mkfontdir.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "mkfontdir" + +mkfontdir_files = "" +mkfontdir_files += "mkfontdir.manifest" +mkfontdir_files += "ChangeLog COPYING README" +mkfontdir_files += "/usr/bin/mkfontdir" +mkfontdir_files += "/usr/share/man/man1/mkfontdir.1.gz" + +FILES_${PN} = "${mkfontdir_files}" + +PKG_mkfontdir= "mkfontdir" + +require mkfontdir-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mkfontdir/mkfontdir_git.bb b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir_git.bb new file mode 100644 index 0000000..0c2d7fb --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontdir/mkfontdir_git.bb @@ -0,0 +1,8 @@ +require mkfontdir.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mkfontdir;protocol=ssh;tag=5e93b821fa2cbf208952a883b1587d1265276fd9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mkfontscale/mkfontscale-extraconf.inc b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mkfontscale/mkfontscale-native_git.bb b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale-native_git.bb new file mode 100644 index 0000000..825e0bf --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale-native_git.bb @@ -0,0 +1,12 @@ +require mkfontscale.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mkfontscale;protocol=ssh;tag=8ca716b0b6d071d255bdd1618da236100430bb16;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mkfontscale/mkfontscale.inc b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale.inc new file mode 100644 index 0000000..592827e --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Utility to create index of scalable font files for X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mkfontscale +PROVIDES += "mkfontscale" +RPROVIDES_mkfontscale += "mkfontscale" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of mkfontscale +DEPENDS += "zlib-devel" +DEPENDS += "freetype2" +DEPENDS += "pkgconfig(xorg-macros)" +DEPENDS += "pkgconfig-native" +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "libfontenc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mkfontscale.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "mkfontscale" + +mkfontscale_files = "" +mkfontscale_files += "mkfontscale.manifest" +mkfontscale_files += "ChangeLog COPYING README" +mkfontscale_files += "/usr/bin/mkfontscale" +mkfontscale_files += "/usr/share/man/man1/mkfontscale.1.gz" + +FILES_${PN} = "${mkfontscale_files}" + +PKG_mkfontscale= "mkfontscale" + +require mkfontscale-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mkfontscale/mkfontscale_git.bb b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale_git.bb new file mode 100644 index 0000000..e5b0283 --- /dev/null +++ b/meta-tizen/recipes-tizen/mkfontscale/mkfontscale_git.bb @@ -0,0 +1,8 @@ +require mkfontscale.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mkfontscale;protocol=ssh;tag=8ca716b0b6d071d255bdd1618da236100430bb16;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf-extraconf.inc b/meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf.inc b/meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf.inc new file mode 100644 index 0000000..7890580 --- /dev/null +++ b/meta-tizen/recipes-tizen/mmfw-sysconf/mmfw-sysconf.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Multimedia Framework system configuration package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "mmfw-sysconf-simulator" + +mmfw-sysconf-simulator_files = "" +mmfw-sysconf-simulator_files += "/etc/asound.conf" +mmfw-sysconf-simulator_files += "/etc/pulse/*" +mmfw-sysconf-simulator_files += "/usr/etc/*.ini" +mmfw-sysconf-simulator_files += "/usr/etc/gst-openmax.conf" +mmfw-sysconf-simulator_files += "/usr/share/pulseaudio/alsa-mixer/paths/*.conf" +mmfw-sysconf-simulator_files += "/usr/share/pulseaudio/alsa-mixer/paths/*.common" +mmfw-sysconf-simulator_files += "/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf" + +FILES_${PN}-simulator = "${mmfw-sysconf-simulator_files}" + +PKG_mmfw-sysconf-simulator= "mmfw-sysconf-simulator" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require mmfw-sysconf-rdepends.inc +require mmfw-sysconf-depends.inc +require mmfw-sysconf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-native_git.bb b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-native_git.bb new file mode 100644 index 0000000..4c568e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info-native_git.bb @@ -0,0 +1,12 @@ +require mobile-broadband-provider-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mobile-broadband-provider-info;protocol=ssh;tag=8a9d3c13cfccb63b48f9818aca07036e32c90396;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info.inc b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info.inc new file mode 100644 index 0000000..6d444a9 --- /dev/null +++ b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Moblie Broadband Dataprovider Database" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Applications/Internet" +LICENSE = "Creative Commons Public Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mobile-broadband-provider-info +PROVIDES += "mobile-broadband-provider-info" +RPROVIDES_mobile-broadband-provider-info += "mobile-broadband-provider-info" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mobile-broadband-provider-info.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + + + + +} + +PACKAGES = "" +PACKAGES += "mobile-broadband-provider-info" + +mobile-broadband-provider-info_files = "" +mobile-broadband-provider-info_files += "mobile-broadband-provider-info.manifest" +mobile-broadband-provider-info_files += "/usr/share/pkgconfig/mobile-broadband-provider-info.pc" +mobile-broadband-provider-info_files += "/usr/share/mobile-broadband-provider-info/*" + +FILES_${PN} = "${mobile-broadband-provider-info_files}" + +PKG_mobile-broadband-provider-info= "mobile-broadband-provider-info" + +require mobile-broadband-provider-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb new file mode 100644 index 0000000..7fb4faa --- /dev/null +++ b/meta-tizen/recipes-tizen/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb @@ -0,0 +1,8 @@ +require mobile-broadband-provider-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mobile-broadband-provider-info;protocol=ssh;tag=8a9d3c13cfccb63b48f9818aca07036e32c90396;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-extraconf.inc b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-native_git.bb b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-native_git.bb new file mode 100644 index 0000000..3f49fb6 --- /dev/null +++ b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts-native_git.bb @@ -0,0 +1,12 @@ +require monotype-fonts.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/monotype-fonts;protocol=ssh;tag=b290de4bb22346b179bf642edfeff2e0f8e41411;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts.inc b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts.inc new file mode 100644 index 0000000..11215e9 --- /dev/null +++ b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Fonts package that provides the Clear Sans font" +HOMEPAGE = "https://01.org/clear-sans" +SECTION = "Graphics & UI Framework/Fonts" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by monotype-fonts +PROVIDES += "monotype-fonts" +RPROVIDES_monotype-fonts += "monotype-fonts" + +RDEPENDS = "" +#RDEPENDS of monotype-fonts (${PN}) +RDEPENDS_${PN} += "/usr/bin/fc-cache" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/monotype-fonts.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/fonts/truetype + install -m 0644 TTF/*.ttf ${D}/usr/share/fonts/truetype/ + + +} + +PACKAGES = "" +PACKAGES += "monotype-fonts" + +monotype-fonts_files = "" +monotype-fonts_files += "monotype-fonts.manifest" +monotype-fonts_files += "/usr/share/fonts/truetype/*.ttf" + +FILES_${PN} = "${monotype-fonts_files}" + +PKG_monotype-fonts= "monotype-fonts" + +require monotype-fonts-extraconf.inc diff --git a/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts_git.bb b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts_git.bb new file mode 100644 index 0000000..8201a50 --- /dev/null +++ b/meta-tizen/recipes-tizen/monotype-fonts/monotype-fonts_git.bb @@ -0,0 +1,8 @@ +require monotype-fonts.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/monotype-fonts;protocol=ssh;tag=b290de4bb22346b179bf642edfeff2e0f8e41411;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mpc/mpc-extraconf.inc b/meta-tizen/recipes-tizen/mpc/mpc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mpc/mpc-native_git.bb b/meta-tizen/recipes-tizen/mpc/mpc-native_git.bb new file mode 100644 index 0000000..49605da --- /dev/null +++ b/meta-tizen/recipes-tizen/mpc/mpc-native_git.bb @@ -0,0 +1,12 @@ +require mpc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mpc;protocol=ssh;tag=09df21db11c471382a1832c73fcecbd54ca068fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mpc/mpc.inc b/meta-tizen/recipes-tizen/mpc/mpc.inc new file mode 100644 index 0000000..2799fb2 --- /dev/null +++ b/meta-tizen/recipes-tizen/mpc/mpc.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "MPC multiple-precision complex shared library" +HOMEPAGE = "http://www.multiprecision.org/mpc/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "LGPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mpc +PROVIDES += "mpc" +RPROVIDES_mpc += "mpc" + +#PROVIDES by mpc-devel +PROVIDES += "mpc-devel" +RPROVIDES_mpc-devel += "mpc-devel" +RPROVIDES_mpc-devel += "mpc-dev" + +#PROVIDES by libmpc +PROVIDES += "libmpc" +RPROVIDES_libmpc += "libmpc" + +RDEPENDS = "" +#RDEPENDS of mpc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "mpfr-dev" +RDEPENDS_${PN}-devel += "libmpc" + + +DEPENDS = "" +#DEPENDS of mpc +DEPENDS += "gmp" +DEPENDS += "mpfr-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mpc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + exit 0 + make check -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "mpc-devel" +PACKAGES += "libmpc" + +mpc-devel_files = "" +mpc-devel_files += "mpc.manifest" +mpc-devel_files += "AUTHORS NEWS COPYING.LESSER" +mpc-devel_files += "/usr/share/info/mpc.info.gz" +mpc-devel_files += "/usr/lib/libmpc.a" +mpc-devel_files += "/usr/lib/libmpc.so" +mpc-devel_files += "/usr/include/mpc.h" + +libmpc_files = "" +libmpc_files += "mpc.manifest" +libmpc_files += "/usr/lib/libmpc.so.3*" + +FILES_${PN}-devel = "${mpc-devel_files}" +FILES_lib${PN} = "${libmpc_files}" + +PKG_mpc-devel= "mpc-devel" +PKG_libmpc= "libmpc" + +require mpc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mpc/mpc_git.bb b/meta-tizen/recipes-tizen/mpc/mpc_git.bb new file mode 100644 index 0000000..ad53911 --- /dev/null +++ b/meta-tizen/recipes-tizen/mpc/mpc_git.bb @@ -0,0 +1,8 @@ +require mpc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mpc;protocol=ssh;tag=09df21db11c471382a1832c73fcecbd54ca068fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mpfr/mpfr-extraconf.inc b/meta-tizen/recipes-tizen/mpfr/mpfr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mpfr/mpfr.inc b/meta-tizen/recipes-tizen/mpfr/mpfr.inc new file mode 100644 index 0000000..5607be8 --- /dev/null +++ b/meta-tizen/recipes-tizen/mpfr/mpfr.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "The GNU multiple-precision floating-point library" +HOMEPAGE = "http://www.mpfr.org/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "LGPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libmpfr +PROVIDES += "libmpfr" +RPROVIDES_libmpfr += "libmpfr" + +#PROVIDES by mpfr-devel +PROVIDES += "mpfr-devel" +RPROVIDES_mpfr-devel += "mpfr-devel" +RPROVIDES_mpfr-devel += "mpfr-dev" + +#PROVIDES by mpfr +PROVIDES += "mpfr" +RPROVIDES_mpfr += "mpfr" + +RDEPENDS = "" +#RDEPENDS of mpfr-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libmpfr" +RDEPENDS_${PN}-devel += "gmp-dev" + + +DEPENDS = "" +#DEPENDS of mpfr +DEPENDS += "gmp" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mpfr.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-thread-safe \ + --enable-shared + make -j16 + + exit 0 + make check -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/mpfr + rm -rf ${D}/usr/share/doc/mpfr-3.1.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libmpfr" +PACKAGES += "mpfr-devel" + +libmpfr_files = "" +libmpfr_files += "mpfr.manifest" +libmpfr_files += "/usr/lib/libmpfr.so.4*" + +mpfr-devel_files = "" +mpfr-devel_files += "mpfr.manifest" +mpfr-devel_files += "/usr/lib/libmpfr.a" +mpfr-devel_files += "/usr/lib/libmpfr.so" +mpfr-devel_files += "/usr/include/mpf2mpfr.h" +mpfr-devel_files += "/usr/include/mpfr.h" + +FILES_lib${PN} = "${libmpfr_files}" +FILES_${PN}-devel = "${mpfr-devel_files}" + +PKG_libmpfr= "libmpfr" +PKG_mpfr-devel= "mpfr-devel" + +require mpfr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mpfr/mpfr_git.bb b/meta-tizen/recipes-tizen/mpfr/mpfr_git.bb new file mode 100644 index 0000000..a9de96d --- /dev/null +++ b/meta-tizen/recipes-tizen/mpfr/mpfr_git.bb @@ -0,0 +1,8 @@ +require mpfr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mpfr;protocol=ssh;tag=06e7bd566fbab49954fce7a3b41a113221b65e45;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/msg-service/msg-service-extraconf.inc b/meta-tizen/recipes-tizen/msg-service/msg-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/msg-service/msg-service-native_git.bb b/meta-tizen/recipes-tizen/msg-service/msg-service-native_git.bb new file mode 100644 index 0000000..5489ba2 --- /dev/null +++ b/meta-tizen/recipes-tizen/msg-service/msg-service-native_git.bb @@ -0,0 +1,12 @@ +require msg-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/messaging/msg-service;protocol=ssh;tag=c988cc8b55b9f0ce2623cb266288fe35143df635;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/msg-service/msg-service.inc b/meta-tizen/recipes-tizen/msg-service/msg-service.inc new file mode 100644 index 0000000..f3288b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/msg-service/msg-service.inc @@ -0,0 +1,237 @@ +DESCRIPTION = "Messaging Framework Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Samsung" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mms-plugin +PROVIDES += "mms-plugin" +RPROVIDES_mms-plugin += "mms-plugin" + +#PROVIDES by msg-service-tools +PROVIDES += "msg-service-tools" +RPROVIDES_msg-service-tools += "msg-service-tools" + +#PROVIDES by sms-plugin +PROVIDES += "sms-plugin" +RPROVIDES_sms-plugin += "sms-plugin" + +#PROVIDES by msg-service-devel +PROVIDES += "msg-service-devel" +RPROVIDES_msg-service-devel += "msg-service-devel" +RPROVIDES_msg-service-devel += "msg-service-dev" + +#PROVIDES by msg-service +PROVIDES += "msg-service" +RPROVIDES_msg-service += "msg-service" + +RDEPENDS = "" +#RDEPENDS of mms-plugin (mms-plugin) +RDEPENDS_mms-plugin += "/sbin/ldconfig" +RDEPENDS_mms-plugin += "msg-service" + +#RDEPENDS of msg-service-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "/sbin/ldconfig" +RDEPENDS_${PN}-tools += "/usr/bin/vconftool" +RDEPENDS_${PN}-tools += "msg-service" +RDEPENDS_${PN}-tools += "/usr/bin/sqlite3" + +#RDEPENDS of sms-plugin (sms-plugin) +RDEPENDS_sms-plugin += "/sbin/ldconfig" +RDEPENDS_sms-plugin += "msg-service" + +#RDEPENDS of msg-service-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "msg-service" + +#RDEPENDS of msg-service (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/usr/bin/vconftool" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + + +DEPENDS = "" +#DEPENDS of msg-service +DEPENDS += "pkgconfig(mmutil-imgp)" +DEPENDS += "contacts-service" +DEPENDS += "libslp-sensor" +DEPENDS += "libmm-session" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "cmake" +DEPENDS += "drm-client" +DEPENDS += "dlog" +DEPENDS += "libmm-fileinfo" +DEPENDS += "pkgconfig(capi-appfw-application)" +DEPENDS += "libsvi" +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(mm-player)" +DEPENDS += "libwbxml2" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "libmedia-thumbnail" +DEPENDS += "pkgconfig(mmutil-jpeg)" +DEPENDS += "libslp-db-util" +DEPENDS += "libnet-client" +DEPENDS += "libmm-sound" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "libslp-pm" +DEPENDS += "pkgconfig(notification)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/msg-service.manifest ${S}/packaging/msg-service-devel.manifest ${S}/packaging/msg-service-tools.manifest ${S}/packaging/sms-plugin.manifest ${S}/packaging/mms-plugin.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + mkdir -p ${D}/etc/config + + mkdir -p ${D}/var/log/msgfw + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/lib/systemd/user/tizen-middleware.target.wants + #install -m 0644 ${S}/packaging/msg-service.service ${D}/lib/systemd/user/ + ln -s ../msg-service.service ${D}/lib/systemd/user/tizen-middleware.target.wants/msg-service.service + ln -s ../msg-service-log.service ${D}/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service + + mkdir -p ${D}/etc/rc.d/rc3.d + ln -s /etc/rc.d/init.d/msg-server ${D}/etc/rc.d/rc3.d/S70msg-server + mkdir -p ${D}/etc/rc.d/rc5.d + ln -s /etc/rc.d/init.d/msg-server ${D}/etc/rc.d/rc5.d/S70msg-server + + mkdir -p ${D}/opt/usr/data/msg-service + + rm ${D}/etc/config/sysinfo-message.emul.xml + + + +} + +PACKAGES = "" +PACKAGES += "mms-plugin" +PACKAGES += "msg-service-tools" +PACKAGES += "sms-plugin" +PACKAGES += "msg-service-devel" +PACKAGES += "msg-service" + +mms-plugin_files = "" +mms-plugin_files += "mms-plugin.manifest" +mms-plugin_files += "/usr/lib/libmsg_mms_plugin.so" +mms-plugin_files += "/usr/share/license/msg-service/LICENSE.Flora" + +msg-service-tools_files = "" +msg-service-tools_files += "msg-service-tools.manifest" +msg-service-tools_files += "/usr/bin/msg-helper" +msg-service-tools_files += "/usr/bin/msg-server" +msg-service-tools_files += "/usr/share/media/Sherbet.wav" +msg-service-tools_files += "/etc/rc.d/init.d/msg-server" +msg-service-tools_files += "/etc/rc.d/rc3.d/S70msg-server" +msg-service-tools_files += "/etc/rc.d/rc5.d/S70msg-server" +msg-service-tools_files += "/lib/systemd/user/msg-service.service" +msg-service-tools_files += "/lib/systemd/user/msg-service-log.service" +msg-service-tools_files += "/lib/systemd/user/tizen-middleware.target.wants/msg-service.service" +msg-service-tools_files += "/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service" +msg-service-tools_files += "/usr/share/license/msg-service/LICENSE.Flora" +msg-service-tools_files += "/opt/etc/smack/accesses.d/msg-service.rule" +msg-service-tools_files += "/etc/config/sysinfo-message.xml" + +sms-plugin_files = "" +sms-plugin_files += "sms-plugin.manifest" +sms-plugin_files += "/usr/lib/libmsg_sms_plugin.so" +sms-plugin_files += "/usr/share/license/msg-service/LICENSE.Flora" + +msg-service-devel_files = "" +msg-service-devel_files += "msg-service-devel.manifest" +msg-service-devel_files += "/usr/lib/libmsg_mapi.so" +msg-service-devel_files += "/usr/lib/pkgconfig/msg-service.pc" +msg-service-devel_files += "/usr/include/msg-service/*" + +msg-service_files = "" +msg-service_files += "msg-service.manifest" +#Remove rpm attribut "%attr(775,root,db_msg_service)" +msg-service_files += "/opt/usr/data/msg-service" +msg-service_files += "/usr/lib/libmsg_plugin_manager.so" +msg-service_files += "/usr/lib/libmsg_mapi.so.*" +msg-service_files += "/usr/lib/libmsg_framework_handler.so" +msg-service_files += "/usr/lib/libmsg_transaction_manager.so" +msg-service_files += "/usr/lib/libmsg_utils.so" +msg-service_files += "/usr/lib/libmsg_transaction_proxy.so" +msg-service_files += "/usr/lib/libmsg_vobject.so" +msg-service_files += "/usr/share/license/msg-service/LICENSE.Flora" + +FILES_mms-plugin = "${mms-plugin_files}" +FILES_${PN}-tools = "${msg-service-tools_files}" +FILES_sms-plugin = "${sms-plugin_files}" +FILES_${PN}-devel = "${msg-service-devel_files}" +FILES_${PN} = "${msg-service_files}" + +PKG_mms-plugin= "mms-plugin" +PKG_msg-service-tools= "msg-service-tools" +PKG_sms-plugin= "sms-plugin" +PKG_msg-service-devel= "msg-service-devel" +PKG_msg-service= "msg-service" + +require msg-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/msg-service/msg-service_git.bb b/meta-tizen/recipes-tizen/msg-service/msg-service_git.bb new file mode 100644 index 0000000..6c2a3b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/msg-service/msg-service_git.bb @@ -0,0 +1,8 @@ +require msg-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/messaging/msg-service;protocol=ssh;tag=c988cc8b55b9f0ce2623cb266288fe35143df635;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mtdev/mtdev-extraconf.inc b/meta-tizen/recipes-tizen/mtdev/mtdev-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mtdev/mtdev-native_git.bb b/meta-tizen/recipes-tizen/mtdev/mtdev-native_git.bb new file mode 100644 index 0000000..9ab8a89 --- /dev/null +++ b/meta-tizen/recipes-tizen/mtdev/mtdev-native_git.bb @@ -0,0 +1,12 @@ +require mtdev.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mtdev;protocol=ssh;tag=c54956ad4584b3cc851baeadd50eb8a7f6f4d18d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mtdev/mtdev.inc b/meta-tizen/recipes-tizen/mtdev/mtdev.inc new file mode 100644 index 0000000..7afa5c3 --- /dev/null +++ b/meta-tizen/recipes-tizen/mtdev/mtdev.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Multitouch Protocol Translation Library" +HOMEPAGE = "http://bitmath.org/code/mtdev/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mtdev +PROVIDES += "mtdev" +RPROVIDES_mtdev += "mtdev" + +#PROVIDES by mtdev-devel +PROVIDES += "mtdev-devel" +RPROVIDES_mtdev-devel += "mtdev-devel" +RPROVIDES_mtdev-devel += "mtdev-dev" + +#PROVIDES by libmtdev +PROVIDES += "libmtdev" +RPROVIDES_libmtdev += "libmtdev" + +RDEPENDS = "" +#RDEPENDS of mtdev-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libmtdev" + + +DEPENDS = "" +#DEPENDS of mtdev +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mtdev.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "mtdev" +PACKAGES += "mtdev-devel" +PACKAGES += "libmtdev" + +mtdev_files = "" +mtdev_files += "mtdev.manifest" +mtdev_files += "COPYING" +mtdev_files += "/usr/bin/*" + +mtdev-devel_files = "" +mtdev-devel_files += "mtdev.manifest" +mtdev-devel_files += "/usr/lib/lib*.so" +mtdev-devel_files += "/usr/include/*" +mtdev-devel_files += "/usr/lib/pkgconfig/*.pc" + +libmtdev_files = "" +libmtdev_files += "mtdev.manifest" +libmtdev_files += "/usr/lib/lib*.so.*" + +FILES_${PN} = "${mtdev_files}" +FILES_${PN}-devel = "${mtdev-devel_files}" +FILES_lib${PN} = "${libmtdev_files}" + +PKG_mtdev= "mtdev" +PKG_mtdev-devel= "mtdev-devel" +PKG_libmtdev= "libmtdev" + +require mtdev-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mtdev/mtdev_git.bb b/meta-tizen/recipes-tizen/mtdev/mtdev_git.bb new file mode 100644 index 0000000..811179a --- /dev/null +++ b/meta-tizen/recipes-tizen/mtdev/mtdev_git.bb @@ -0,0 +1,8 @@ +require mtdev.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mtdev;protocol=ssh;tag=c54956ad4584b3cc851baeadd50eb8a7f6f4d18d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mtools/mtools-extraconf.inc b/meta-tizen/recipes-tizen/mtools/mtools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/mtools/mtools-native_git.bb b/meta-tizen/recipes-tizen/mtools/mtools-native_git.bb new file mode 100644 index 0000000..e3b818e --- /dev/null +++ b/meta-tizen/recipes-tizen/mtools/mtools-native_git.bb @@ -0,0 +1,12 @@ +require mtools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mtools;protocol=ssh;tag=231af7f45a0d646d95ec5e4eddef9be25aee5ef9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/mtools/mtools.inc b/meta-tizen/recipes-tizen/mtools/mtools.inc new file mode 100644 index 0000000..7f00df9 --- /dev/null +++ b/meta-tizen/recipes-tizen/mtools/mtools.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Access Files on an MS-DOS File System" +HOMEPAGE = "http://mtools.linux.lu/" +SECTION = "System/Filesystems" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by mtools-doc +PROVIDES += "mtools-doc" +RPROVIDES_mtools-doc += "mtools-doc" + +#PROVIDES by mtools-docs +PROVIDES += "mtools-docs " +RPROVIDES_mtools-docs += "mtools-docs " + +#PROVIDES by mtools +PROVIDES += "mtools" +RPROVIDES_mtools += "mtools" + +RDEPENDS = "" +#RDEPENDS of mtools-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "mtools" + + +DEPENDS = "" +#DEPENDS of mtools +DEPENDS += "autoconf-native" +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mtools.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoconf --force + export CC=gcc + export INSTALL_PROGRAM="install" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --includedir=/usr/src/linux/include + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d -m 755 ${D}/etc + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + cp -p mtools.conf ${D}/etc + + rm -rf ${D}/usr/share/man/man?*/f* + rm -rf ${D}/usr/bin/f* + + + +} + +PACKAGES = "" +PACKAGES += "mtools-docs" +PACKAGES += "mtools" + +mtools-docs_files = "" +mtools-docs_files += "/usr/share/info" +mtools-docs_files += "/usr/share/man" + +mtools_files = "" +mtools_files += "mtools.manifest" +mtools_files += "/etc/mtools.conf" +mtools_files += "/usr/bin/*" + +FILES_${PN}-docs = "${mtools-docs_files}" +FILES_${PN} = "${mtools_files}" + +PKG_mtools-docs= "mtools-docs" +PKG_mtools= "mtools" + +require mtools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/mtools/mtools_git.bb b/meta-tizen/recipes-tizen/mtools/mtools_git.bb new file mode 100644 index 0000000..01ca9c0 --- /dev/null +++ b/meta-tizen/recipes-tizen/mtools/mtools_git.bb @@ -0,0 +1,8 @@ +require mtools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mtools;protocol=ssh;tag=231af7f45a0d646d95ec5e4eddef9be25aee5ef9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/multipath-tools/multipath-tools-extraconf.inc b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/multipath-tools/multipath-tools-native_git.bb b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools-native_git.bb new file mode 100644 index 0000000..be38e17 --- /dev/null +++ b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools-native_git.bb @@ -0,0 +1,12 @@ +require multipath-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/multipath-tools;protocol=ssh;tag=cc098a1bc7751211548071606f201f3a5e68301a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/multipath-tools/multipath-tools.inc b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools.inc new file mode 100644 index 0000000..8e3e073 --- /dev/null +++ b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools.inc @@ -0,0 +1,101 @@ +DESCRIPTION = "Tools to Manage Multipathed Devices with the device-mapper" +HOMEPAGE = "http://christophe.varoqui.free.fr/" +SECTION = "System/Base" +LICENSE = "BSD-3-Clause GPL-2.0+ LGPL-2.1+ MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by kpartx +PROVIDES += "kpartx" +RPROVIDES_kpartx += "kpartx" + +#PROVIDES by multipath-tools +PROVIDES += "multipath-tools" +RPROVIDES_multipath-tools += "multipath-tools" + +RDEPENDS = "" +#RDEPENDS of kpartx (kpartx) +RDEPENDS_kpartx += "device-mapper" + +#RDEPENDS of multipath-tools (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "grep" +RDEPENDS_${PN} += "device-mapper" +RDEPENDS_${PN} += "kpartx" + + +DEPENDS = "" +#DEPENDS of multipath-tools +DEPENDS += "libaio" +DEPENDS += "device-mapper" +DEPENDS += "readline-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n multipath-tools-0.4.9 + cp ${S}/packaging/multipath-tools.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd kpartx + make CC="${HOST_SYS}-gcc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=/usr/lib + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + pushd kpartx + make DESTDIR=$RPM_BUILD_ROOT LIB=/usr/lib install + popd + + + +} + +PACKAGES = "" +PACKAGES += "kpartx" +PACKAGES += "multipath-tools" + +kpartx_files = "" +kpartx_files += "multipath-tools.manifest" +kpartx_files += "BSD-3-Clause ; GPL-2.0+ ; LGPL-2.1+ ; MIT COPYING" +kpartx_files += "/usr/lib/udev/rules.d/kpartx.rules" +kpartx_files += "/sbin/kpartx" +kpartx_files += "/lib/udev" +kpartx_files += "/lib/udev/kpartx_id" +kpartx_files += "/usr/share/man/man8/kpartx.8*" + +multipath-tools_files = "" +multipath-tools_files += "multipath-tools.manifest" + +FILES_kpartx = "${kpartx_files}" +FILES_${PN} = "${multipath-tools_files}" + +PKG_kpartx= "kpartx" +PKG_multipath-tools= "multipath-tools" + +require multipath-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/multipath-tools/multipath-tools_git.bb b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools_git.bb new file mode 100644 index 0000000..a0a7545 --- /dev/null +++ b/meta-tizen/recipes-tizen/multipath-tools/multipath-tools_git.bb @@ -0,0 +1,8 @@ +require multipath-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/multipath-tools;protocol=ssh;tag=cc098a1bc7751211548071606f201f3a5e68301a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nano/nano-extraconf.inc b/meta-tizen/recipes-tizen/nano/nano-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nano/nano-native_git.bb b/meta-tizen/recipes-tizen/nano/nano-native_git.bb new file mode 100644 index 0000000..4023f16 --- /dev/null +++ b/meta-tizen/recipes-tizen/nano/nano-native_git.bb @@ -0,0 +1,12 @@ +require nano.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nano;protocol=ssh;tag=512287cadcc31d9bc0a5702ff4ca5aa5155d7fd2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nano/nano.inc b/meta-tizen/recipes-tizen/nano/nano.inc new file mode 100644 index 0000000..52edba2 --- /dev/null +++ b/meta-tizen/recipes-tizen/nano/nano.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Pico Editor Clone with Enhancements" +HOMEPAGE = "http://www.nano-editor.org/" +SECTION = "Productivity/Editors/Other" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nano-docs +PROVIDES += "nano-docs " +RPROVIDES_nano-docs += "nano-docs " + +#PROVIDES by nano +PROVIDES += "nano" +RPROVIDES_nano += "nano" + +#PROVIDES by nano-locale +PROVIDES += "nano-locale " +RPROVIDES_nano-locale += "nano-locale " +# the PROVIDES rules is ignore "nano-lang-all = 2.3.1" +PROVIDES += "nano-lang-all" +RPROVIDES_nano-locale += "nano-lang-all" + +RDEPENDS = "" +#RDEPENDS of nano-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "nano" + + +DEPENDS = "" +#DEPENDS of nano +DEPENDS += "file" +DEPENDS += "ncurses-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nano.manifest . + + # Remove build time references so build-compare can do its work + FAKE_BUILDTIME=$(LC_ALL=C date -u -r ${S}/packaging//nano.changes '+%H:%M') + FAKE_BUILDDATE=$(LC_ALL=C date -u -r ${S}/packaging//nano.changes '+%b %e %Y') + sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/nano.c + sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-rpath --enable-utf8 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Remove doc files from /usr/share/nano (they should be in defaultdocdir) + rm -rf ${D}/usr/share/nano/man-html/ + rm -rf ${D}/usr/share/man/fr + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} nano --all-name + + + +} + +PACKAGES = "" +PACKAGES += "nano-locale" +PACKAGES += "nano-docs" +PACKAGES += "nano" + +nano-locale_files = "" + +nano-docs_files = "" +nano-docs_files += "/usr/share/info" +nano-docs_files += "/usr/share/man" + +nano_files = "" +nano_files += "nano.manifest" +nano_files += "/usr/bin/nano" +nano_files += "/usr/bin/rnano" +nano_files += "/usr/share/nano/" + +FILES_${PN}-locale = "${nano-locale_files}" +FILES_${PN}-docs = "${nano-docs_files}" +FILES_${PN} = "${nano_files}" + +PKG_nano-locale= "nano-locale" +PKG_nano-docs= "nano-docs" +PKG_nano= "nano" + +require nano-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nano/nano_git.bb b/meta-tizen/recipes-tizen/nano/nano_git.bb new file mode 100644 index 0000000..75177b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/nano/nano_git.bb @@ -0,0 +1,8 @@ +require nano.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nano;protocol=ssh;tag=512287cadcc31d9bc0a5702ff4ca5aa5155d7fd2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nasm/nasm-extraconf.inc b/meta-tizen/recipes-tizen/nasm/nasm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nasm/nasm-native_git.bb b/meta-tizen/recipes-tizen/nasm/nasm-native_git.bb new file mode 100644 index 0000000..537fd74 --- /dev/null +++ b/meta-tizen/recipes-tizen/nasm/nasm-native_git.bb @@ -0,0 +1,12 @@ +require nasm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nasm;protocol=ssh;tag=490bc1f2304f0b39583d2fccf798a22eb8ed10cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nasm/nasm.inc b/meta-tizen/recipes-tizen/nasm/nasm.inc new file mode 100644 index 0000000..3fcebc2 --- /dev/null +++ b/meta-tizen/recipes-tizen/nasm/nasm.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "Netwide Assembler (An x86 Assembler)" +HOMEPAGE = "http://nasm.sourceforge.net/" +SECTION = "Development/Languages" +LICENSE = "BSD-2-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nasm-doc +PROVIDES += "nasm-doc" +RPROVIDES_nasm-doc += "nasm-doc" + +#PROVIDES by nasm +PROVIDES += "nasm" +RPROVIDES_nasm += "nasm" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of nasm +DEPENDS += "makeinfo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nasm.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + touch -r ./ver.c ./ver.c.stamp + TS=$(LC_ALL=C date -u -r ${S}/packaging//nasm.changes '+%b %e %Y') + sed -i "s/__DATE__/\"$TS\"/g" ver.c + touch -r ./ver.c.stamp ./ver.c + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make all + + cd doc + make html info nasmdoc.ps nasmdoc.txt + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d -m 755 ${D}/usr/bin + install -d -m 755 ${D}//usr/share/man/man1 + install -d -m 755 ${D}//usr/share/doc/packages/nasm + install -d -m 755 ${D}//usr/share/doc/packages/nasm/rdoff + install -d -m 755 ${D}//usr/share/doc/packages/nasm/html + install -d -m 755 ${D}//usr/share/info + make INSTALLROOT=${D} install + make INSTALLROOT=${D} rdf_install + install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \ + ${D}//usr/share/doc/packages/nasm + install -m 644 rdoff/README rdoff/doc/* \ + ${D}//usr/share/doc/packages/nasm/rdoff + install -m 644 doc/html/* ${D}/usr/share/doc/packages/nasm/html + install -m 644 ndisasm.1 nasm.1 rdoff/*.1 ${D}/usr/share/man/man1 + install -m 644 doc/info/* ${D}/usr/share/info + + +} + +PACKAGES = "" +PACKAGES += "nasm-doc" +PACKAGES += "nasm" + +nasm-doc_files = "" +nasm-doc_files += "nasm.manifest" +nasm-doc_files += "/usr/share/doc/packages/nasm" +nasm-doc_files += "/usr/share/info/nasm*" + +nasm_files = "" +nasm_files += "nasm.manifest" +nasm_files += "LGPL-2.1+ LICENSE" +nasm_files += "/usr/bin/*" +nasm_files += "/usr/share/man/man1/*.1.gz" + +FILES_${PN}-doc = "${nasm-doc_files}" +FILES_${PN} = "${nasm_files}" + +PKG_nasm-doc= "nasm-doc" +PKG_nasm= "nasm" + +require nasm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nasm/nasm_git.bb b/meta-tizen/recipes-tizen/nasm/nasm_git.bb new file mode 100644 index 0000000..e624a3c --- /dev/null +++ b/meta-tizen/recipes-tizen/nasm/nasm_git.bb @@ -0,0 +1,8 @@ +require nasm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nasm;protocol=ssh;tag=490bc1f2304f0b39583d2fccf798a22eb8ed10cc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ncurses/ncurses-extraconf.inc b/meta-tizen/recipes-tizen/ncurses/ncurses-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ncurses/ncurses.inc b/meta-tizen/recipes-tizen/ncurses/ncurses.inc new file mode 100644 index 0000000..b873c36 --- /dev/null +++ b/meta-tizen/recipes-tizen/ncurses/ncurses.inc @@ -0,0 +1,598 @@ +DESCRIPTION = "New curses Libraries" +HOMEPAGE = "http://invisible-island.net/ncurses/ncurses.html" +SECTION = "Base/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ncurses-utils +PROVIDES += "ncurses-utils" +RPROVIDES_ncurses-utils += "ncurses-utils" +# the PROVIDES rules is ignore "ncurses:/usr/bin/tput " +PROVIDES += "ncurses:/usr/bin/tput" +RPROVIDES_ncurses-utils += "ncurses:/usr/bin/tput" + +#PROVIDES by terminfo-base +PROVIDES += "terminfo-base" +RPROVIDES_terminfo-base += "terminfo-base" +# the PROVIDES rules is ignore "ncurses:/usr/share/tabset " +PROVIDES += "ncurses:/usr/share/tabset" +RPROVIDES_terminfo-base += "ncurses:/usr/share/tabset" + +#PROVIDES by ncurses-devel +PROVIDES += "ncurses-devel" +RPROVIDES_ncurses-devel += "ncurses-devel" +RPROVIDES_ncurses-devel += "ncurses-dev" +# the PROVIDES rules is ignore "ncurses:/usr/include/ncurses.h " +PROVIDES += "ncurses:/usr/include/ncurses.h" +RPROVIDES_ncurses-devel += "ncurses:/usr/include/ncurses.h" + +#PROVIDES by ncurses +PROVIDES += "ncurses" +RPROVIDES_ncurses += "ncurses" + +#PROVIDES by ncurses-docs +PROVIDES += "ncurses-docs " +RPROVIDES_ncurses-docs += "ncurses-docs " + +#PROVIDES by libncurses +PROVIDES += "libncurses" +RPROVIDES_libncurses += "libncurses" +# the PROVIDES rules is ignore "ncurses = 5.9" +PROVIDES += "ncurses" +RPROVIDES_libncurses += "ncurses" + +#PROVIDES by libncurses6 +PROVIDES += "libncurses6" +RPROVIDES_libncurses6 += "libncurses6" +# the PROVIDES rules is ignore "ncurses = 6.0" +PROVIDES += "ncurses" +RPROVIDES_libncurses6 += "ncurses" + +#PROVIDES by terminfo +PROVIDES += "terminfo" +RPROVIDES_terminfo += "terminfo" + +RDEPENDS = "" +#RDEPENDS of ncurses-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ncurses" +RDEPENDS_${PN}-devel += "libncurses" +RDEPENDS_${PN}-devel += "libncurses6" + +#RDEPENDS of libncurses (lib${PN}) +RDEPENDS_lib${PN} += "terminfo-base" + +#RDEPENDS of libncurses6 (lib${PN}6) +RDEPENDS_lib${PN}6 += "terminfo-base" + + +DEPENDS = "" +#DEPENDS of ncurses +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ncurses-5.9 + cp ${S}/packaging/ncurses.manifest . + rm -vf include/ncurses_dll.h + rm -vf mkdirs.sh + rm -vf tar-copy.sh + rm -vf mk-dlls.sh + + +} + +do_configure() { +} + +do_compile() { + 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 () + { + local flag=$1; shift + local var=$1; shift + test -n "${flag}" -a -n "${var}" || return + case "${!var}" in + *${flag}*) return + esac + set -o noclobber + case "$flag" in + -Wl,*) + if echo 'int main () { return 0; }' | \ + ${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + ;; + *) + if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + esac + set +o noclobber + } + + test ! -f /.buildenv || . /.buildenv + OPATH=$PATH + FALLBK="xterm,linux,vt100,vt102" + CC=gcc + CXX=g++ + CFLAGS="${RPM_OPT_FLAGS} -pipe -D_REENTRANT" + if [[ "$BUILD_BASENAME" = debug-* ]] ; then + CFLAGS="${CFLAGS} -g -DTRACE" + fi + cflags -Wl,-O2 LDFLAGS + cflags -Wl,-Bsymbolic-functions LDFLAGS + cflags -Wl,--hash-size=8599 LDFLAGS + cflags -Wl,--as-needed LDFLAGS + CXXFLAGS=$CFLAGS + test -n "$TERM" || TERM=linux + GZIP="-9" + export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS + # + # Detect 64bit architecures and be sure that + # we use an unsigned long for chtype to be + # backward compatible with ncurses 5.4 + # + echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 - + if ./test64 ; then + WITHCHTYPE="--with-chtype=long" + else + WITHCHTYPE="" + CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCES -D_FILE_OFFSET_BITS=64" + fi + rm -f ./test64 + # + # For security of some configure and install scripts + # + TMPDIR=$(mktemp -d /tmp/ncurses.XXXXXXXX) || exit 1 + trap 'rm -rf ${TMPDIR}' EXIT + export TMPDIR + # + # No --enable-term-driver as this had crashed last time + # in ncurses/tinfo/lib_setup.c due to the fact that + # _nc_globals.term_driver was a NULL function pointer + # + # No --enable-tcap-names because we may have to recompile + # programs or foreign programs won't work + # + # No --enable-safe-sprintf because this seems to + # crash on some architectures + # + # No --enable-xmc-glitch because this seems to break yast2 + # on console/konsole (no magic cookie support on those?) + # + # No --with-termlib=tinfo because libncurses depend on + # libtinfo (is linked with) and therefore there is no + # advantage about splitting of a libtinfo (IMHO). + # + touch --reference=README config.sub config.guess + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --without-ada \ + --without-debug \ + --without-profile \ + --without-manpage-tbl \ + --with-shared \ + --with-normal \ + --with-manpage-format=gzip \ + --with-manpage-renames=${PWD}/man/man_db.renames \ + --with-manpage-aliases \ + --with-ospeed=speed_t \ + --with-gpm \ + --with-dlsym \ + --with-termlib=tinfo \ + --with-ticlib=tic \ + --with-xterm-kbs=del \ + --disable-root-environ \ + --disable-termcap \ + --disable-overwrite \ + --disable-rpath \ + --disable-leaks \ + --disable-xmc-glitch \ + --enable-symlinks \ + --enable-big-core \ + --enable-const \ + --enable-hashmap \ + --enable-no-padding \ + --enable-symlinks \ + --enable-sigwinch \ + --enable-pc-files \ + --with-pkg-config-libdir=/usr/lib/pkgconfig \ + --with-pkg-config \ + --enable-colorfgbg \ + --enable-sp-funcs \ + --without-pthread \ + --disable-reentrant \ + --disable-ext-mouse \ + --disable-widec \ + --disable-ext-colors \ + --enable-weak-symbols \ + --enable-wgetch-events \ + --enable-pthreads-eintr \ + --enable-string-hacks \ + --prefix=/usr \ + --exec-prefix=/usr\ + --libdir=/usr/lib \ + --datadir=/usr/share \ + --mandir=/usr/share/man \ + --includedir=/usr/include \ + "${WITHCHTYPE}" \ + --disable-widec \ + --disable-tic-depends \ + --with-ticlib=tic + #--with-pkg-config-libdir=/usr/lib/pkgconfig \ + # + # The configure line + # + c=$(grep '^ *$ *\./configure' config.log) + # + # This is a hack to be able to boot strap + # a libncurses with correct fallback.c. + # + make -j16 -C include + make -j16 -C ncurses fallback.c FALLBACK_LIST="" + make -j16 -C progs termsort.c transform.h infocmp tic + rm -f ncurses/fallback.c + PATH=$PWD/progs:$OPATH + LD_LIBRARY_PATH=$PWD/lib + export LD_LIBRARY_PATH PATH + pushd ncurses/ + TERMINFO=$PWD/tmp + export TERMINFO + mkdir -p $TERMINFO + export BUILD_TIC=$PWD/../progs/tic + $BUILD_TIC -I -r -e $FALLBK ../misc/terminfo.src > terminfo.src + $BUILD_TIC -o $TERMINFO -s terminfo.src + sh -e ./tinfo/MKfallback.sh $TERMINFO ../misc/terminfo.src $BUILD_TIC ${FALLBK//,/ } > fallback.c + rm -rf $TERMINFO + unset TERMINFO + cp -p fallback.c ../fallback.c.backup + popd + PATH=$OPATH + unset LD_LIBRARY_PATH + # + # Refresh second install path + # + rm -rf /var/tmp/ncurses-5.9-store + mkdir /var/tmp/ncurses-5.9-store + # + # Now rebuild libncurses and do the rest of this job + # + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make -j16 + lib=/usr/lib + inc=/usr/include/ncurses + # must not use 16 here (would lead to: ln: ncurses.h already exists) + make install DESTDIR=/var/tmp/ncurses-5.9-store includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term,termcap}.h /var/tmp/ncurses-5.9-store${inc%/*}/ + sh ${S}/packaging/edit.sed --cflags "-I${inc}" --libs "-lncurses" --libs "-ltinfo" /var/tmp/ncurses-5.9-store/usr/bin/ncurses5-config + # + # Now use --with-pthread for reentrant pthread support (abi > 5). + # + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make -j16 + lib=/usr/lib/ncurses6 + inc=/usr/include/ncurses6/ncurses + # must not use 16 here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=/var/tmp/ncurses-5.9-store includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term}.h /var/tmp/ncurses-5.9-store${inc%/*}/ + sh ${S}/packaging/edit.sed --cflags "-I${inc} -I${inc%/*}" --libs "-L${lib} -lncurses" --libs "-ltinfo" /var/tmp/ncurses-5.9-store/usr/bin/ncurses6-config + pushd man + sh ../edit_man.sh normal installing /var/tmp/ncurses-5.9-store/usr/share/man . ncurses6-config.1 + popd + # + # Now use --enable-widec for UTF8/wide character support. + # The libs with 16 bit wide characters are binary incompatible + # to the normal 8bit wide character libs. + # + eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make -j16 + lib=/usr/lib + inc=/usr/include/ncursesw + # must not use 16 here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=/var/tmp/ncurses-5.9-store includedir=${inc} libdir=${lib} + sh ${S}/packaging/edit.sed --cflags "-I${inc}" --libs "-lncursesw" --libs "-ltinfo" /var/tmp/ncurses-5.9-store/usr/bin/ncursesw5-config + pushd man + sh ../edit_man.sh normal installing /var/tmp/ncurses-5.9-store/usr/share/man . ncursesw5-config.1 + popd + # + # Do both --enable-widec and --with-pthread (abi > 5). + # + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make -j16 + lib=/usr/lib/ncurses6 + inc=/usr/include/ncurses6/ncursesw + # must not use 16 here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=/var/tmp/ncurses-5.9-store includedir=${inc} libdir=${lib} + sh ${S}/packaging/edit.sed --cflags "-I${inc} -I${inc%/*}" --libs "-L${lib} -lncursesw" --libs "-ltinfo" /var/tmp/ncurses-5.9-store/usr/bin/ncursesw6-config + pushd man + sh ../edit_man.sh normal installing /var/tmp/ncurses-5.9-store/usr/share/man . ncursesw6-config.1 + popd + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + GZIP="-9" + export GZIP + (cd /var/tmp/ncurses-5.9-store/; tar -cpSf - *)|tar -xpsSf - -C ${D}/ + rm -rf /var/tmp/ncurses-5.9-store + #mkdir -p ${D}/lib + for model in libncurses libncursest libncursesw libncursestw libtinfo + do + #for lib in ${D}/usr/lib/${model}.so.* ; do + # test -e "${lib}" || continue + # mv "${lib}" ${D}/lib/ || continue + #done + for lib in ${D}//usr/lib/${model}.so.5 ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#${D}} + lnk=${D}/usr/lib/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + #*) ln -sf ${lib} ${D}/usr/lib/${model}.so + esac + done + done + chmod 0755 ${D}//usr/lib/lib*.so.* + chmod 0755 ${D}//usr/lib/lib*.so.* + chmod a-x ${D}//usr/lib/lib*.a + if test -d ${D}/usr/lib/ncurses6 ; then + mv ${D}/usr/lib/ncurses6/*.so.6* ${D}/usr/lib/ + for lib in ${D}/usr/lib/ncurses6/*.so + do + lnk=$lib + lib=//usr/lib/${lib##*/}.6 + case "${lib##*/}" in + libncurses*) + rm -f "${lnk}" + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + libtinfo*) + test -L "${lnk}" || continue + ln -sf ${lib} ${lnk} + ;; + *) + test -L "${lnk}" || continue + ln -sf ../${lib##*/} ${lnk} + esac + done + for model in libncurses libncursest libncursesw libncursestw libtinfo + do + for lib in ${D}/usr/lib/${model}.so.* ; do + test -e "${lib}" || continue + #mv "${lib}" ${D}/lib/ || continue + done + for lib in ${D}//usr/lib/${model}.so.6 ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#${D}} + lnk=${D}/usr/lib/ncurses6/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo 'SEARCH_DIR(/usr/lib/ncurses6)' >> ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + *) : #ln -sf ${lib} ${D}/usr/lib/ncurses6/${model}.so + esac + done + done + chmod 0755 ${D}//usr/lib/lib*.so.6* + chmod 0755 ${D}//usr/lib/lib*.so.6* + chmod a-x ${D}//usr/lib/ncurses6/lib*.a + fi + test -n "${D}" || ldconfig -N + mkdir -p ${D}/usr/share/doc/packages/ncurses + bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2 + install -m 644 misc/terminfo.src.bz2 ${D}/usr/share/doc/packages/ncurses/ + install -m 644 doc/html/*.html ${D}/usr/share/doc/packages/ncurses/ + bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2 + install -m 644 doc/ncurses-intro.txt.bz2 ${D}/usr/share/doc/packages/ncurses/ + bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2 + install -m 644 doc/hackguide.txt.bz2 ${D}/usr/share/doc/packages/ncurses/ + install -m 644 README ${D}/usr/share/doc/packages/ncurses/ + install -m 644 NEWS ${D}/usr/share/doc/packages/ncurses/ + mkdir -p ${D}/etc + mkdir -p ${D}/usr/share/misc + LD_LIBRARY_PATH=$PWD/lib + export LD_LIBRARY_PATH + pushd ncurses/ + { echo "# See annotated version in /usr/share/doc/packages/ncurses/terminfo.src.bz2" + BUILD_TIC=$PWD/../progs/tic + $BUILD_TIC -C -r ../misc/terminfo.src | grep -E -v '^#'; } > termcap + # Gererate new termcap entries for various linux consoles + TERMCAP=termcap \ + TERMINFO=${D}/usr/share/terminfo \ + bash ${S}/packaging/handle.linux + install -m 0644 termcap.new ${D}/usr/share/misc/termcap + popd + unset LD_LIBRARY_PATH + if test `/usr/bin/id -u` = '0' ; then + chown root:root ${D}/usr/share/misc/termcap + chmod 0644 ${D}/usr/share/misc/termcap + fi + ln -sf /usr/share/misc/termcap ${D}/etc/termcap + (cat > default.list) <<-EOF + /usr/share/tabset/std + /usr/share/tabset/stdcrt + /usr/share/tabset/vt100 + /usr/share/tabset/vt300 + /usr/share/terminfo/a/ansi + /usr/share/terminfo/d/dumb + /usr/share/terminfo/g/gnome + /usr/share/terminfo/g/gnome-rh72 + /usr/share/terminfo/k/klone+color + /usr/share/terminfo/k/kvt + /usr/share/terminfo/l/linux + /usr/share/terminfo/l/linux-m + /usr/share/terminfo/l/linux-nic + /usr/share/terminfo/m/mlterm + /usr/share/terminfo/n/nxterm + /usr/share/terminfo/r/rxvt + /usr/share/terminfo/s/screen + /usr/share/terminfo/s/screen-w + /usr/share/terminfo/s/screen-256color + /usr/share/terminfo/s/sun + /usr/share/terminfo/u/unknown + /usr/share/terminfo/v/vt100 + /usr/share/terminfo/v/vt102 + /usr/share/terminfo/v/vt220 + /usr/share/terminfo/v/vt220-8 + /usr/share/terminfo/v/vt220-8bit + /usr/share/terminfo/v/vt320 + /usr/share/terminfo/v/vt52 + /usr/share/terminfo/x/xterm + /usr/share/terminfo/x/xterm-color + /usr/share/terminfo/x/xterm-256color + /usr/share/terminfo/x/xterm-basic + /usr/share/terminfo/x/xterm-nic + /usr/share/terminfo/x/xterm-r6 + EOF + find ${D}/usr/share/tabset/"" ${D}/usr/share/terminfo/"" \ + \( -type f -or -type l \) | \ + sed "s@^${D}@@g" | \ + grep -v -F -x -f default.list \ + > extension.list + rm -f ${D}/usr/lib/terminfo + + +} + +PACKAGES = "" +PACKAGES += "ncurses-docs" +PACKAGES += "ncurses-utils" +PACKAGES += "terminfo-base" +PACKAGES += "ncurses-devel" +PACKAGES += "ncurses" +PACKAGES += "libncurses" +PACKAGES += "libncurses6" + +ncurses-docs_files = "" +ncurses-docs_files += "/usr/share/info" +ncurses-docs_files += "/usr/share/man" +ncurses-docs_files += "/usr/share/doc/packages/ncurses/" +ncurses-docs_files += "/usr/share/doc/packages/ncurses/*" + +ncurses-utils_files = "" +ncurses-utils_files += "ncurses.manifest" +ncurses-utils_files += "/usr/bin/clear" +ncurses-utils_files += "/usr/bin/reset" +ncurses-utils_files += "/usr/bin/tabs" +ncurses-utils_files += "/usr/bin/toe" +ncurses-utils_files += "/usr/bin/tput" +ncurses-utils_files += "/usr/bin/tset" + +terminfo-base_files = "" +terminfo-base_files += "ncurses.manifest" +terminfo-base_files += "/etc/termcap" +terminfo-base_files += "/usr/share/misc/termcap" +terminfo-base_files += "/usr/share/tabset/" +terminfo-base_files += "/usr/share/terminfo/" +terminfo-base_files += "/usr/share/terminfo/*/" + +ncurses-devel_files = "" +ncurses-devel_files += "ncurses.manifest" +ncurses-devel_files += "/usr/bin/ncurses*-config" +ncurses-devel_files += "/usr/bin/captoinfo" +ncurses-devel_files += "/usr/bin/infocmp" +ncurses-devel_files += "/usr/bin/infotocap" +ncurses-devel_files += "/usr/bin/tic" +ncurses-devel_files += "/usr/include/ncurses/" +ncurses-devel_files += "/usr/include/ncursesw/" +ncurses-devel_files += "/usr/include/ncurses6/" +ncurses-devel_files += "/usr/include/ncurses6/ncurses/" +ncurses-devel_files += "/usr/include/ncurses6/ncursesw/" +ncurses-devel_files += "/usr/include/*.h" +ncurses-devel_files += "/usr/include/ncurses*/*.h" +ncurses-devel_files += "/usr/include/ncurses*/*/*.h" +ncurses-devel_files += "/usr/lib/ncurses6/" +ncurses-devel_files += "/usr/lib/lib*.a" +ncurses-devel_files += "/usr/lib/lib*.so" +ncurses-devel_files += "/usr/lib/pkgconfig/*.pc" +ncurses-devel_files += "/usr/lib/ncurses6/lib*.a" +ncurses-devel_files += "/usr/lib/ncurses6/lib*.so" + +ncurses_files = "" +ncurses_files += "ncurses.manifest" + +libncurses_files = "" +libncurses_files += "ncurses.manifest" +libncurses_files += "/usr/lib/lib*.so.5*" + +libncurses6_files = "" +libncurses6_files += "ncurses.manifest" +libncurses6_files += "/usr/lib/lib*.so.6*" + +FILES_${PN}-docs = "${ncurses-docs_files}" +FILES_${PN}-utils = "${ncurses-utils_files}" +FILES_terminfo-base = "${terminfo-base_files}" +FILES_${PN}-devel = "${ncurses-devel_files}" +FILES_${PN} = "${ncurses_files}" +FILES_lib${PN} = "${libncurses_files}" +FILES_lib${PN}6 = "${libncurses6_files}" + +PKG_ncurses-docs= "ncurses-docs" +PKG_ncurses-utils= "ncurses-utils" +PKG_terminfo-base= "terminfo-base" +PKG_ncurses-devel= "ncurses-devel" +PKG_ncurses= "ncurses" +PKG_libncurses= "libncurses" +PKG_libncurses6= "libncurses6" + +require ncurses-extraconf.inc diff --git a/meta-tizen/recipes-tizen/neard/neard-extraconf.inc b/meta-tizen/recipes-tizen/neard/neard-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/neard/neard-native_git.bb b/meta-tizen/recipes-tizen/neard/neard-native_git.bb new file mode 100644 index 0000000..ddac18f --- /dev/null +++ b/meta-tizen/recipes-tizen/neard/neard-native_git.bb @@ -0,0 +1,12 @@ +require neard.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neard;protocol=ssh;tag=98c95b675a8fb39ae817bd1938f8bc2465c15f19;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/neard/neard.inc b/meta-tizen/recipes-tizen/neard/neard.inc new file mode 100644 index 0000000..769c512 --- /dev/null +++ b/meta-tizen/recipes-tizen/neard/neard.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "Near Field Communication Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/NFC" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by neard +PROVIDES += "neard" +RPROVIDES_neard += "neard" + +#PROVIDES by neard-devel +PROVIDES += "neard-devel" +RPROVIDES_neard-devel += "neard-devel" +RPROVIDES_neard-devel += "neard-dev" + +#PROVIDES by neard-test +PROVIDES += "neard-test" +RPROVIDES_neard-test += "neard-test" + +RDEPENDS = "" +#RDEPENDS of neard (${PN}) +RDEPENDS_${PN} += "libnl3" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of neard-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "neard" + +#RDEPENDS of neard-test (${PN}-test) +RDEPENDS_${PN}-test += "pygobject" +RDEPENDS_${PN}-test += "neard" +RDEPENDS_${PN}-test += "dbus-python" + + +DEPENDS = "" +#DEPENDS of neard +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libnl-3.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/neard.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./bootstrap + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-debug \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-nfctype1=builtin \ + --enable-nfctype2=builtin \ + --enable-nfctype3=builtin \ + --enable-nfctype4=builtin \ + --enable-p2p=builtin \ + --enable-test + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Systemd service file + install -d ${D}/usr/lib/systemd/system/ + install -m 644 ${S}/packaging/neard.service ${D}/usr/lib/systemd/system/neard.service + install -d ${D}/usr/lib/systemd/system/network.target.wants/ + install -d ${D}/usr/lib/systemd/system/multi-user.target.wants/ + ln -s ../neard.service ${D}/usr/lib/systemd/system/network.target.wants/neard.service + ln -s ../neard.service ${D}/usr/lib/systemd/system/multi-user.target.wants/neard.service + + + mkdir -p ${D}/etc/neard + cp src/main.conf ${D}/etc/neard/main.conf + + +} + +PACKAGES = "" +PACKAGES += "neard" +PACKAGES += "neard-devel" +PACKAGES += "neard-test" + +neard_files = "" +neard_files += "neard.manifest" +neard_files += "/usr/share/man/man*/*" +neard_files += "/usr/libexec/nfc/neard" +neard_files += "/etc/neard/main.conf" +neard_files += "/etc/dbus-1/system.d/org.neard.conf" +neard_files += "/usr/lib/systemd/system/neard.service" +neard_files += "/usr/lib/systemd/system/network.target.wants/neard.service" +neard_files += "/usr/lib/systemd/system/multi-user.target.wants/neard.service" + +neard-devel_files = "" +neard-devel_files += "neard.manifest" +neard-devel_files += "/usr/include/near/*.h" +neard-devel_files += "/usr/lib/pkgconfig/*.pc" + +neard-test_files = "" +neard-test_files += "neard.manifest" +neard-test_files += "/usr/lib/neard/test/*" + +FILES_${PN} = "${neard_files}" +FILES_${PN}-devel = "${neard-devel_files}" +FILES_${PN}-test = "${neard-test_files}" + +PKG_neard= "neard" +PKG_neard-devel= "neard-devel" +PKG_neard-test= "neard-test" + +require neard-extraconf.inc diff --git a/meta-tizen/recipes-tizen/neard/neard_git.bb b/meta-tizen/recipes-tizen/neard/neard_git.bb new file mode 100644 index 0000000..9046dd9 --- /dev/null +++ b/meta-tizen/recipes-tizen/neard/neard_git.bb @@ -0,0 +1,8 @@ +require neard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neard;protocol=ssh;tag=98c95b675a8fb39ae817bd1938f8bc2465c15f19;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/neardal/neardal-extraconf.inc b/meta-tizen/recipes-tizen/neardal/neardal-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/neardal/neardal-native_git.bb b/meta-tizen/recipes-tizen/neardal/neardal-native_git.bb new file mode 100644 index 0000000..0e33fb0 --- /dev/null +++ b/meta-tizen/recipes-tizen/neardal/neardal-native_git.bb @@ -0,0 +1,12 @@ +require neardal.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neardal;protocol=ssh;tag=fe9042e311dc29c76b7c4b618f28ea1a517b6d7d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/neardal/neardal.inc b/meta-tizen/recipes-tizen/neardal/neardal.inc new file mode 100644 index 0000000..a5d200c --- /dev/null +++ b/meta-tizen/recipes-tizen/neardal/neardal.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Neard Abstraction Library (for Neard v0.7)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/NFC" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by neardal-devel +PROVIDES += "neardal-devel" +RPROVIDES_neardal-devel += "neardal-devel" +RPROVIDES_neardal-devel += "neardal-dev" + +#PROVIDES by neardal +PROVIDES += "neardal" +RPROVIDES_neardal += "neardal" + +RDEPENDS = "" +#RDEPENDS of neardal-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "neardal" + +#RDEPENDS of neardal (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of neardal +DEPENDS += "intltool-native" +inherit pythonnative +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libtool-cross" +DEPENDS += "dlog" +DEPENDS += "python-xml" +DEPENDS += "autoconf-native" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n neardal-0.7.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-traces --prefix=/usr + make + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # executed after install + +} + +PACKAGES = "" +PACKAGES += "neardal-devel" +PACKAGES += "neardal" + +neardal-devel_files = "" +neardal-devel_files += "/usr/include/neardal/*.h" +neardal-devel_files += "/usr/lib/pkgconfig/neardal.pc" +neardal-devel_files += "/usr/lib/libneardal.so" + +neardal_files = "" +neardal_files += "README AUTHORS NEWS" +neardal_files += "/usr/lib/libneardal.so.0" +neardal_files += "/usr/lib/libneardal.so.0.0.1" + +FILES_${PN}-devel = "${neardal-devel_files}" +FILES_${PN} = "${neardal_files}" + +PKG_neardal-devel= "neardal-devel" +PKG_neardal= "neardal" + +require neardal-extraconf.inc diff --git a/meta-tizen/recipes-tizen/neardal/neardal_git.bb b/meta-tizen/recipes-tizen/neardal/neardal_git.bb new file mode 100644 index 0000000..dd9fecf --- /dev/null +++ b/meta-tizen/recipes-tizen/neardal/neardal_git.bb @@ -0,0 +1,8 @@ +require neardal.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neardal;protocol=ssh;tag=fe9042e311dc29c76b7c4b618f28ea1a517b6d7d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/net-config/net-config-extraconf.inc b/meta-tizen/recipes-tizen/net-config/net-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/net-config/net-config-native_git.bb b/meta-tizen/recipes-tizen/net-config/net-config-native_git.bb new file mode 100644 index 0000000..2a1e083 --- /dev/null +++ b/meta-tizen/recipes-tizen/net-config/net-config-native_git.bb @@ -0,0 +1,12 @@ +require net-config.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/net-config;protocol=ssh;tag=a35c5e1be2c01ae6d00dc2fb42a13bb72569edd6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/net-config/net-config.inc b/meta-tizen/recipes-tizen/net-config/net-config.inc new file mode 100644 index 0000000..ebd4647 --- /dev/null +++ b/meta-tizen/recipes-tizen/net-config/net-config.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "TIZEN Network Configuration Module" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by net-config +PROVIDES += "net-config" +RPROVIDES_net-config += "net-config" + +RDEPENDS = "" +#RDEPENDS of net-config (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/usr/bin/vconftool" + + +DEPENDS = "" +#DEPENDS of net-config +DEPENDS += "libwifi-direct" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(syspopup-caller)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/net-config.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DCMAKE_INSTALL_PREFIX=/usr + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/dbus-1/system-services + cp resources/usr/share/dbus-1/services/net.netconfig.service ${D}/usr/share/dbus-1/system-services/net.netconfig.service + mkdir -p ${D}/etc/dbus-1/system.d + cp resources/etc/dbus-1/system.d/net-config.conf ${D}/etc/dbus-1/system.d/net-config.conf + mkdir -p ${D}/opt/etc + cp resources/opt/etc/resolv.conf ${D}/opt/etc/resolv.conf + + # Systemd service file + mkdir -p ${D}/lib/systemd/system + cp resources/usr/lib/systemd/system/net-config.service ${D}/lib/systemd/system/net-config.service + mkdir -p ${D}/lib/systemd/system/multi-user.target.wants/ + ln -s ../net-config.service ${D}/lib/systemd/system/multi-user.target.wants/net-config.service + + #License + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/net-config + + +} + +PACKAGES = "" +PACKAGES += "net-config" + +net-config_files = "" +net-config_files += "net-config.manifest" +net-config_files += "/usr/sbin/*" +net-config_files += "/usr/share/dbus-1/system-services/*" +net-config_files += "/etc/dbus-1/system.d/*" +net-config_files += "/lib/systemd/system/net-config.service" +net-config_files += "/lib/systemd/system/multi-user.target.wants/net-config.service" +net-config_files += "/usr/share/license/net-config" + +FILES_${PN} = "${net-config_files}" + +PKG_net-config= "net-config" + +require net-config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/net-config/net-config_git.bb b/meta-tizen/recipes-tizen/net-config/net-config_git.bb new file mode 100644 index 0000000..cc7c4a5 --- /dev/null +++ b/meta-tizen/recipes-tizen/net-config/net-config_git.bb @@ -0,0 +1,8 @@ +require net-config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/net-config;protocol=ssh;tag=a35c5e1be2c01ae6d00dc2fb42a13bb72569edd6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/net-popup/net-popup-extraconf.inc b/meta-tizen/recipes-tizen/net-popup/net-popup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/net-popup/net-popup.inc b/meta-tizen/recipes-tizen/net-popup/net-popup.inc new file mode 100644 index 0000000..67aef8a --- /dev/null +++ b/meta-tizen/recipes-tizen/net-popup/net-popup.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Network Notification Popup application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "App/Network" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.net-popup" + +org.tizen.net-popup_files = "" +org.tizen.net-popup_files += "org.tizen.net-popup.manifest" +org.tizen.net-popup_files += "/usr/apps/org.tizen.net-popup/bin/net-popup" +org.tizen.net-popup_files += "/usr/share/packages/org.tizen.net-popup.xml" +org.tizen.net-popup_files += "/usr/share/license/org.tizen.net-popup" +org.tizen.net-popup_files += "/usr/share/locale/*/LC_MESSAGES/net-popup.mo" +org.tizen.net-popup_files += "/etc/smack/accesses.d/org.tizen.net-popup.rule" + +FILES_${PN} = "${org.tizen.net-popup_files}" + +PKG_org.tizen.net-popup= "org.tizen.net-popup" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require net-popup-rdepends.inc +require net-popup-depends.inc +require net-popup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/net-tools/net-tools-extraconf.inc b/meta-tizen/recipes-tizen/net-tools/net-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/net-tools/net-tools-native_git.bb b/meta-tizen/recipes-tizen/net-tools/net-tools-native_git.bb new file mode 100644 index 0000000..1899650 --- /dev/null +++ b/meta-tizen/recipes-tizen/net-tools/net-tools-native_git.bb @@ -0,0 +1,12 @@ +require net-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/net-tools;protocol=ssh;tag=1bfd01a3262139d0c41c5d2c3c5fef5af004aa2f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/net-tools/net-tools.inc b/meta-tizen/recipes-tizen/net-tools/net-tools.inc new file mode 100644 index 0000000..175ab79 --- /dev/null +++ b/meta-tizen/recipes-tizen/net-tools/net-tools.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "Basic networking tools" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by net-tools-docs +PROVIDES += "net-tools-docs " +RPROVIDES_net-tools-docs += "net-tools-docs " + +#PROVIDES by net-tools +PROVIDES += "net-tools" +RPROVIDES_net-tools += "net-tools" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/net-tools.manifest . + + cp ${S}/packaging/net-tools-config.h ./config.h + cp ${S}/packaging/net-tools-config.make ./config.make + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fpie" + export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make BASEDIR=${D} mandir=/usr/share/man install + + mkdir -p ${D}/usr/sbin + mkdir -p ${D}/usr/bin + mv ${D}/bin/ifconfig ${D}/usr/sbin + mv ${D}/bin/route ${D}/usr/sbin + mv ${D}/bin/netstat ${D}/usr/bin + + + rm ${D}/sbin/rarp + + # remove hostname (has its own package) + rm ${D}/bin/dnsdomainname + rm ${D}/bin/domainname + rm ${D}/bin/hostname + rm ${D}/bin/nisdomainname + rm ${D}/bin/ypdomainname + + + +} + +PACKAGES = "" +PACKAGES += "net-tools-docs" +PACKAGES += "net-tools" + +net-tools-docs_files = "" +net-tools-docs_files += "/usr/share/info" +net-tools-docs_files += "/usr/share/man" + +net-tools_files = "" +net-tools_files += "net-tools.manifest" +net-tools_files += "/usr/bin/netstat" +net-tools_files += "/usr/sbin/ifconfig" +net-tools_files += "/usr/sbin/route" +net-tools_files += "/sbin/arp" +net-tools_files += "/sbin/ipmaddr" +net-tools_files += "/sbin/iptunnel" +net-tools_files += "/sbin/nameif" +net-tools_files += "/sbin/plipconfig" +net-tools_files += "/sbin/slattach" +net-tools_files += "/sbin/mii-tool" + +FILES_${PN}-docs = "${net-tools-docs_files}" +FILES_${PN} = "${net-tools_files}" + +PKG_net-tools-docs= "net-tools-docs" +PKG_net-tools= "net-tools" + +require net-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/net-tools/net-tools_git.bb b/meta-tizen/recipes-tizen/net-tools/net-tools_git.bb new file mode 100644 index 0000000..095720d --- /dev/null +++ b/meta-tizen/recipes-tizen/net-tools/net-tools_git.bb @@ -0,0 +1,8 @@ +require net-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/net-tools;protocol=ssh;tag=1bfd01a3262139d0c41c5d2c3c5fef5af004aa2f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nettle/nettle-extraconf.inc b/meta-tizen/recipes-tizen/nettle/nettle-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nettle/nettle-native_git.bb b/meta-tizen/recipes-tizen/nettle/nettle-native_git.bb new file mode 100644 index 0000000..8671f0d --- /dev/null +++ b/meta-tizen/recipes-tizen/nettle/nettle-native_git.bb @@ -0,0 +1,12 @@ +require nettle.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nettle;protocol=ssh;tag=81297f25ff4d7e7bf28e6fc95d9250474b7805a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nettle/nettle.inc b/meta-tizen/recipes-tizen/nettle/nettle.inc new file mode 100644 index 0000000..b55b5a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/nettle/nettle.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Cryptographic Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nettle +PROVIDES += "nettle" +RPROVIDES_nettle += "nettle" + +#PROVIDES by libhogweed +PROVIDES += "libhogweed" +RPROVIDES_libhogweed += "libhogweed" + +#PROVIDES by libnettle-devel +PROVIDES += "libnettle-devel" +RPROVIDES_libnettle-devel += "libnettle-devel" +RPROVIDES_libnettle-devel += "libnettle-dev" + +#PROVIDES by libnettle +PROVIDES += "libnettle" +RPROVIDES_libnettle += "libnettle" + +RDEPENDS = "" +#RDEPENDS of libnettle-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "gmp-dev" +RDEPENDS_lib${PN}-devel += "libhogweed" +RDEPENDS_lib${PN}-devel += "libnettle" + + +DEPENDS = "" +#DEPENDS of nettle +DEPENDS += "gmp" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nettle.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-shared + + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "nettle" +PACKAGES += "libhogweed" +PACKAGES += "libnettle-devel" +PACKAGES += "libnettle" + +nettle_files = "" +nettle_files += "nettle.manifest" +nettle_files += "/usr/bin/nettle-lfib-stream" +nettle_files += "/usr/bin/pkcs1-conv" +nettle_files += "/usr/bin/sexp-conv" +nettle_files += "/usr/bin/nettle-hash" + +libhogweed_files = "" +libhogweed_files += "nettle.manifest" +libhogweed_files += "/usr/lib/libhogweed.so.*" + +libnettle-devel_files = "" +libnettle-devel_files += "nettle.manifest" +libnettle-devel_files += "/usr/include/nettle" +libnettle-devel_files += "/usr/lib/libnettle.so" +libnettle-devel_files += "/usr/lib/libhogweed.so" +libnettle-devel_files += "/usr/share/info/nettle.info.gz" +libnettle-devel_files += "/usr/lib/pkgconfig/hogweed.pc" +libnettle-devel_files += "/usr/lib/pkgconfig/nettle.pc" + +libnettle_files = "" +libnettle_files += "nettle.manifest" +libnettle_files += "/usr/lib/libnettle.so.*" + +FILES_${PN} = "${nettle_files}" +FILES_libhogweed = "${libhogweed_files}" +FILES_lib${PN}-devel = "${libnettle-devel_files}" +FILES_lib${PN} = "${libnettle_files}" + +PKG_nettle= "nettle" +PKG_libhogweed= "libhogweed" +PKG_libnettle-devel= "libnettle-devel" +PKG_libnettle= "libnettle" + +require nettle-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nettle/nettle_git.bb b/meta-tizen/recipes-tizen/nettle/nettle_git.bb new file mode 100644 index 0000000..bbe0da9 --- /dev/null +++ b/meta-tizen/recipes-tizen/nettle/nettle_git.bb @@ -0,0 +1,8 @@ +require nettle.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nettle;protocol=ssh;tag=81297f25ff4d7e7bf28e6fc95d9250474b7805a7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/network-info/network-info-extraconf.inc b/meta-tizen/recipes-tizen/network-info/network-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/network-info/network-info-native_git.bb b/meta-tizen/recipes-tizen/network-info/network-info-native_git.bb new file mode 100644 index 0000000..515f60c --- /dev/null +++ b/meta-tizen/recipes-tizen/network-info/network-info-native_git.bb @@ -0,0 +1,12 @@ +require network-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/network-info;protocol=ssh;tag=ef4e98a2c9187bf5801515e2e4c2388d49b34aa5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/network-info/network-info.inc b/meta-tizen/recipes-tizen/network-info/network-info.inc new file mode 100644 index 0000000..aa21356 --- /dev/null +++ b/meta-tizen/recipes-tizen/network-info/network-info.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A Telephony Network Information library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-telephony-network-info +PROVIDES += "capi-telephony-network-info" +RPROVIDES_capi-telephony-network-info += "capi-telephony-network-info" + +#PROVIDES by capi-telephony-network-info-devel +PROVIDES += "capi-telephony-network-info-devel" +RPROVIDES_capi-telephony-network-info-devel += "capi-telephony-network-info-devel" +RPROVIDES_capi-telephony-network-info-devel += "capi-telephony-network-info-dev" + +RDEPENDS = "" +#RDEPENDS of capi-telephony-network-info-devel (capi-telephony-${PN}-devel) +RDEPENDS_capi-telephony-${PN}-devel += "capi-telephony-network-info" + + +DEPENDS = "" +#DEPENDS of capi-telephony-network-info +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-telephony-network-info.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-telephony-network-info" +PACKAGES += "capi-telephony-network-info-devel" + +capi-telephony-network-info_files = "" +capi-telephony-network-info_files += "capi-telephony-network-info.manifest" +capi-telephony-network-info_files += "/usr/lib/libcapi-telephony-network-info.so.*" + +capi-telephony-network-info-devel_files = "" +capi-telephony-network-info-devel_files += "capi-telephony-network-info.manifest" +capi-telephony-network-info-devel_files += "/usr/include/telephony/*.h" +capi-telephony-network-info-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-telephony-network-info-devel_files += "/usr/lib/libcapi-telephony-network-info.so" + +FILES_${PN} = "${capi-telephony-network-info_files}" +FILES_${PN}-devel = "${capi-telephony-network-info-devel_files}" + +PKG_capi-telephony-network-info= "capi-telephony-network-info" +PKG_capi-telephony-network-info-devel= "capi-telephony-network-info-devel" + +require network-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/network-info/network-info_git.bb b/meta-tizen/recipes-tizen/network-info/network-info_git.bb new file mode 100644 index 0000000..dc98252 --- /dev/null +++ b/meta-tizen/recipes-tizen/network-info/network-info_git.bb @@ -0,0 +1,8 @@ +require network-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/network-info;protocol=ssh;tag=ef4e98a2c9187bf5801515e2e4c2388d49b34aa5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nfc-manager/nfc-manager-extraconf.inc b/meta-tizen/recipes-tizen/nfc-manager/nfc-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nfc-manager/nfc-manager.inc b/meta-tizen/recipes-tizen/nfc-manager/nfc-manager.inc new file mode 100644 index 0000000..252f21c --- /dev/null +++ b/meta-tizen/recipes-tizen/nfc-manager/nfc-manager.inc @@ -0,0 +1,54 @@ +DESCRIPTION = "NFC framework manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Flora" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "nfc-client-lib" +PACKAGES += "nfc-manager" +PACKAGES += "nfc-client-lib-devel" +PACKAGES += "nfc-common-devel" + +nfc-client-lib_files = "" +nfc-client-lib_files += "nfc-manager.manifest" +nfc-client-lib_files += "/usr/lib/libnfc.so.*" + +nfc-manager_files = "" +nfc-manager_files += "nfc-manager.manifest" +nfc-manager_files += "/usr/bin/nfc-manager-daemon" +nfc-manager_files += "/usr/lib/systemd/system/nfc-manager.service" +nfc-manager_files += "/usr/lib/systemd/system/multi-user.target.wants/nfc-manager.service" +nfc-manager_files += "/usr/share/dbus-1/system-services/org.tizen.NetNfcService.service" +nfc-manager_files += "/usr/share/packages/nfc-manager.xml" +nfc-manager_files += "/usr/share/nfc-manager-daemon/sounds/*" + +nfc-client-lib-devel_files = "" +nfc-client-lib-devel_files += "/usr/lib/libnfc.so" +nfc-client-lib-devel_files += "/usr/lib/pkgconfig/nfc.pc" +nfc-client-lib-devel_files += "/usr/include/nfc/*.h" + +nfc-common-devel_files = "" +nfc-common-devel_files += "/usr/lib/pkgconfig/nfc-common.pc" +nfc-common-devel_files += "/usr/include/nfc-common/*.h" + +FILES_nfc-client-lib = "${nfc-client-lib_files}" +FILES_${PN} = "${nfc-manager_files}" +FILES_nfc-client-lib-devel = "${nfc-client-lib-devel_files}" +FILES_nfc-common-devel = "${nfc-common-devel_files}" + +PKG_nfc-client-lib= "nfc-client-lib" +PKG_nfc-manager= "nfc-manager" +PKG_nfc-client-lib-devel= "nfc-client-lib-devel" +PKG_nfc-common-devel= "nfc-common-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require nfc-manager-rdepends.inc +require nfc-manager-depends.inc +require nfc-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nfc/nfc-extraconf.inc b/meta-tizen/recipes-tizen/nfc/nfc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nfc/nfc.inc b/meta-tizen/recipes-tizen/nfc/nfc.inc new file mode 100644 index 0000000..b9bb0dc --- /dev/null +++ b/meta-tizen/recipes-tizen/nfc/nfc.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "NFC Core API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-network-nfc" +PACKAGES += "capi-network-nfc-devel" + +capi-network-nfc_files = "" +capi-network-nfc_files += "capi-network-nfc.manifest" +capi-network-nfc_files += "/usr/lib/libcapi-network-nfc.so.*" + +capi-network-nfc-devel_files = "" +capi-network-nfc-devel_files += "capi-network-nfc.manifest" +capi-network-nfc-devel_files += "/usr/include/network/*.h" +capi-network-nfc-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-network-nfc-devel_files += "/usr/lib/libcapi-network-nfc.so" + +FILES_${PN} = "${capi-network-nfc_files}" +FILES_${PN}-devel = "${capi-network-nfc-devel_files}" + +PKG_capi-network-nfc= "capi-network-nfc" +PKG_capi-network-nfc-devel= "capi-network-nfc-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require nfc-rdepends.inc +require nfc-depends.inc +require nfc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ninja/ninja-extraconf.inc b/meta-tizen/recipes-tizen/ninja/ninja-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ninja/ninja-native_git.bb b/meta-tizen/recipes-tizen/ninja/ninja-native_git.bb new file mode 100644 index 0000000..0f1c59a --- /dev/null +++ b/meta-tizen/recipes-tizen/ninja/ninja-native_git.bb @@ -0,0 +1,12 @@ +require ninja.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ninja;protocol=ssh;tag=133f21133f7f84019b192f59b178a16d5a11365e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ninja/ninja.inc b/meta-tizen/recipes-tizen/ninja/ninja.inc new file mode 100644 index 0000000..59a0bb8 --- /dev/null +++ b/meta-tizen/recipes-tizen/ninja/ninja.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "Ninja build system" +HOMEPAGE = "http://martine.github.com/ninja/" +SECTION = "System/Utilities" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ninja +PROVIDES += "ninja" +RPROVIDES_ninja += "ninja" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of ninja +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ninja.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python ./bootstrap.py + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + install -m 0755 ninja ${D}/usr/bin/ninja + + +} + +PACKAGES = "" +PACKAGES += "ninja" + +ninja_files = "" +ninja_files += "ninja.manifest" +ninja_files += "/usr/bin/ninja" + +FILES_${PN} = "${ninja_files}" + +PKG_ninja= "ninja" + +require ninja-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ninja/ninja_git.bb b/meta-tizen/recipes-tizen/ninja/ninja_git.bb new file mode 100644 index 0000000..80fb1d5 --- /dev/null +++ b/meta-tizen/recipes-tizen/ninja/ninja_git.bb @@ -0,0 +1,8 @@ +require ninja.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ninja;protocol=ssh;tag=133f21133f7f84019b192f59b178a16d5a11365e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nodejs/nodejs-extraconf.inc b/meta-tizen/recipes-tizen/nodejs/nodejs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nodejs/nodejs-native_git.bb b/meta-tizen/recipes-tizen/nodejs/nodejs-native_git.bb new file mode 100644 index 0000000..726fa76 --- /dev/null +++ b/meta-tizen/recipes-tizen/nodejs/nodejs-native_git.bb @@ -0,0 +1,12 @@ +require nodejs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nodejs;protocol=ssh;tag=ae108fbf071489b3635f7c9e612bfc2577051576;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nodejs/nodejs.inc b/meta-tizen/recipes-tizen/nodejs/nodejs.inc new file mode 100644 index 0000000..57a6da9 --- /dev/null +++ b/meta-tizen/recipes-tizen/nodejs/nodejs.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Evented I/O for V8 JavaScript" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nodejs-docs +PROVIDES += "nodejs-docs " +RPROVIDES_nodejs-docs += "nodejs-docs " + +#PROVIDES by nodejs +PROVIDES += "nodejs" +RPROVIDES_nodejs += "nodejs" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of nodejs +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +inherit pythonnative +DEPENDS += "openssl-devel" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ./configure --prefix=/usr --without-dtrace + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # cleanup leftover cruft + rm -fR ${D}/usr/lib/dtrace + find ${D}/usr/lib/node_modules -name '\.*' -delete + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib/node_modules | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "nodejs-docs" +PACKAGES += "nodejs" + +nodejs-docs_files = "" +nodejs-docs_files += "/usr/share/info" +nodejs-docs_files += "/usr/share/man" + +nodejs_files = "" +nodejs_files += "/usr/bin/node" +nodejs_files += "/usr/bin/npm" +nodejs_files += "/usr/lib/node_modules" +nodejs_files += "/usr/lib/node_modules/npm" +nodejs_files += "/usr/lib/node_modules/npm/*" + +FILES_${PN}-docs = "${nodejs-docs_files}" +FILES_${PN} = "${nodejs_files}" + +PKG_nodejs-docs= "nodejs-docs" +PKG_nodejs= "nodejs" + +require nodejs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nodejs/nodejs_git.bb b/meta-tizen/recipes-tizen/nodejs/nodejs_git.bb new file mode 100644 index 0000000..9193409 --- /dev/null +++ b/meta-tizen/recipes-tizen/nodejs/nodejs_git.bb @@ -0,0 +1,8 @@ +require nodejs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nodejs;protocol=ssh;tag=ae108fbf071489b3635f7c9e612bfc2577051576;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/notification/notification-extraconf.inc b/meta-tizen/recipes-tizen/notification/notification-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/notification/notification-native_git.bb b/meta-tizen/recipes-tizen/notification/notification-native_git.bb new file mode 100644 index 0000000..68ff29a --- /dev/null +++ b/meta-tizen/recipes-tizen/notification/notification-native_git.bb @@ -0,0 +1,12 @@ +require notification.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/notification;protocol=ssh;tag=abe7e659630557632e15ab7560855b535c4e8c5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/notification/notification.inc b/meta-tizen/recipes-tizen/notification/notification.inc new file mode 100644 index 0000000..bd3cfdd --- /dev/null +++ b/meta-tizen/recipes-tizen/notification/notification.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Notification Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by notification +PROVIDES += "notification" +RPROVIDES_notification += "notification" + +#PROVIDES by notification-devel +PROVIDES += "notification-devel" +RPROVIDES_notification-devel += "notification-devel" +RPROVIDES_notification-devel += "notification-dev" + +RDEPENDS = "" +#RDEPENDS of notification (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "/usr/bin/sqlite3" + +#RDEPENDS of notification-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "notification" + + +DEPENDS = "" +#DEPENDS of notification +DEPENDS += "cmake" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "ecore" +DEPENDS += "bundle" +DEPENDS += "ail" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(com-core)" +DEPENDS += "heynoti" +DEPENDS += "pkgconfig(eina)" +DEPENDS += "libslp-db-util" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/notification.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp -f LICENSE.APLv2.0 ${D}/usr/share/license/notification + + +} + +PACKAGES = "" +PACKAGES += "notification" +PACKAGES += "notification-devel" + +notification_files = "" +notification_files += "notification.manifest" +notification_files += "/usr/lib/libnotification.so*" +notification_files += "/usr/share/license/notification" + +notification-devel_files = "" +notification-devel_files += "/usr/include/notification/*.h" +notification-devel_files += "/usr/lib/pkgconfig/notification.pc" + +FILES_${PN} = "${notification_files}" +FILES_${PN}-devel = "${notification-devel_files}" + +PKG_notification= "notification" +PKG_notification-devel= "notification-devel" + +require notification-extraconf.inc diff --git a/meta-tizen/recipes-tizen/notification/notification_git.bb b/meta-tizen/recipes-tizen/notification/notification_git.bb new file mode 100644 index 0000000..22e037f --- /dev/null +++ b/meta-tizen/recipes-tizen/notification/notification_git.bb @@ -0,0 +1,8 @@ +require notification.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/notification;protocol=ssh;tag=abe7e659630557632e15ab7560855b535c4e8c5b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nspr/nspr-extraconf.inc b/meta-tizen/recipes-tizen/nspr/nspr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nspr/nspr.inc b/meta-tizen/recipes-tizen/nspr/nspr.inc new file mode 100644 index 0000000..15bb58c --- /dev/null +++ b/meta-tizen/recipes-tizen/nspr/nspr.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Netscape Portable Runtime" +HOMEPAGE = "http://www.mozilla.org/projects/nspr/" +SECTION = "Base/Libraries" +LICENSE = "MPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nspr-devel +PROVIDES += "nspr-devel" +RPROVIDES_nspr-devel += "nspr-devel" +RPROVIDES_nspr-devel += "nspr-dev" + +#PROVIDES by nspr +PROVIDES += "nspr" +RPROVIDES_nspr += "nspr" + +RDEPENDS = "" +#RDEPENDS of nspr-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "nspr" + + +DEPENDS = "" +#DEPENDS of nspr +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n nspr-4.10.2 -q + cp ${S}/packaging/nspr.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # set buildtime to "last-modification-time" + modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "${S}/packaging//nspr.changes")" + BUILD_STRING="$(date -u -d "${modified}" "+%F %T")" + BUILD_TIME="$(date -u -d "${modified}" "+%s000000")" + # + cd nspr + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + ./configure --enable-optimize="$CFLAGS" \ + --disable-debug \ + --enable-64bit \ + --libdir=/usr/lib \ + --includedir=/usr/include/nspr4 \ + --prefix=/usr + make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" -j16 + exit 0 + # Run test suite + perl ./pr/tests/runtests.pl 2>&1 | tee output.log + TEST_FAILURES=`grep -c FAILED ./output.log` || : + if [ $TEST_FAILURES -ne 0 ]; then + echo "error: test suite returned failure(s)" + exit 1 + fi + echo "test suite completed" + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + mkdir -p ${D}/usr/lib/nspr + mkdir -p ${D}/usr/lib/pkgconfig + mkdir -p ${D}/usr/include/nspr4 + cp nspr/config/nspr-config ${D}/usr/bin/ + cp nspr/config/nspr.pc ${D}/usr/lib/pkgconfig + cp -L nspr/dist/lib/*.so ${D}/usr/lib + cp -L nspr/dist/lib/*.a ${D}/usr/lib/nspr/ + cp -rL nspr/dist/include/nspr/* ${D}/usr/include/nspr4/ + # #31667 + chmod -x ${D}/usr/include/nspr4/prvrsion.h + + +} + +PACKAGES = "" +PACKAGES += "nspr-devel" +PACKAGES += "nspr" + +nspr-devel_files = "" +nspr-devel_files += "nspr.manifest" +nspr-devel_files += "/usr/bin/nspr-config" +nspr-devel_files += "/usr/lib/pkgconfig/nspr.pc" +nspr-devel_files += "/usr/include/nspr4/" +nspr-devel_files += "/usr/lib/nspr/" + +nspr_files = "" +nspr_files += "nspr.manifest" +nspr_files += "/usr/lib/*.so" + +FILES_${PN}-devel = "${nspr-devel_files}" +FILES_${PN} = "${nspr_files}" + +PKG_nspr-devel= "nspr-devel" +PKG_nspr= "nspr" + +require nspr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nss-mdns/nss-mdns-extraconf.inc b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nss-mdns/nss-mdns-native_git.bb b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns-native_git.bb new file mode 100644 index 0000000..0190c55 --- /dev/null +++ b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns-native_git.bb @@ -0,0 +1,12 @@ +require nss-mdns.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nss-mdns;protocol=ssh;tag=101c6f0f62516a61383fb0fbc669fe16bca2b1f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nss-mdns/nss-mdns.inc b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns.inc new file mode 100644 index 0000000..4af6f25 --- /dev/null +++ b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "Host Name Resolution Via Multicast DNS (Zeroconf) for glibc" +HOMEPAGE = "http://0pointer.de/lennart/projects/nss-mdns/" +SECTION = "Productivity/Networking/DNS/Utilities" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by nss-mdns +PROVIDES += "nss-mdns" +RPROVIDES_nss-mdns += "nss-mdns" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nss-mdns.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --libdir=/lib + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D -m0755 ${S}/packaging/nss-mdns-config ${D}/usr/sbin/nss-mdns-config + + +} + +PACKAGES = "" +PACKAGES += "nss-mdns" + +nss-mdns_files = "" +nss-mdns_files += "nss-mdns.manifest" +nss-mdns_files += "LICENSE" +nss-mdns_files += "/usr/sbin/nss-mdns-config" +nss-mdns_files += "/lib/libnss_mdns.so.2" +nss-mdns_files += "/lib/libnss_mdns_minimal.so.2" +nss-mdns_files += "/lib/libnss_mdns4.so.2" +nss-mdns_files += "/lib/libnss_mdns4_minimal.so.2" +nss-mdns_files += "/lib/libnss_mdns6.so.2" +nss-mdns_files += "/lib/libnss_mdns6_minimal.so.2" + +FILES_${PN} = "${nss-mdns_files}" + +PKG_nss-mdns= "nss-mdns" + +require nss-mdns-extraconf.inc diff --git a/meta-tizen/recipes-tizen/nss-mdns/nss-mdns_git.bb b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns_git.bb new file mode 100644 index 0000000..5f5e609 --- /dev/null +++ b/meta-tizen/recipes-tizen/nss-mdns/nss-mdns_git.bb @@ -0,0 +1,8 @@ +require nss-mdns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/nss-mdns;protocol=ssh;tag=101c6f0f62516a61383fb0fbc669fe16bca2b1f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/nss/nss-extraconf.inc b/meta-tizen/recipes-tizen/nss/nss-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/nss/nss.inc b/meta-tizen/recipes-tizen/nss/nss.inc new file mode 100644 index 0000000..3650820 --- /dev/null +++ b/meta-tizen/recipes-tizen/nss/nss.inc @@ -0,0 +1,282 @@ +DESCRIPTION = "Network Security Services" +HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/" +SECTION = "Security/Crypto Libraries" +LICENSE = "MPL-1.1 or GPL-2.0+ or LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsoftokn3 +PROVIDES += "libsoftokn3" +RPROVIDES_libsoftokn3 += "libsoftokn3" + +#PROVIDES by nss-tools +PROVIDES += "nss-tools" +RPROVIDES_nss-tools += "nss-tools" + +#PROVIDES by nss-devel +PROVIDES += "nss-devel" +RPROVIDES_nss-devel += "nss-devel" +RPROVIDES_nss-devel += "nss-dev" + +#PROVIDES by libfreebl3 +PROVIDES += "libfreebl3" +RPROVIDES_libfreebl3 += "libfreebl3" + +#PROVIDES by nss-certs +PROVIDES += "nss-certs" +RPROVIDES_nss-certs += "nss-certs" + +#PROVIDES by nss-sysinit +PROVIDES += "nss-sysinit" +RPROVIDES_nss-sysinit += "nss-sysinit" + +#PROVIDES by nss +PROVIDES += "nss" +RPROVIDES_nss += "nss" + +RDEPENDS = "" +#RDEPENDS of libsoftokn3 (libsoftokn3) +RDEPENDS_libsoftokn3 += "libfreebl3" + +#RDEPENDS of nss-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "nss" + +#RDEPENDS of nss-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsoftokn3" +RDEPENDS_${PN}-devel += "libfreebl3" +RDEPENDS_${PN}-devel += "nss" +RDEPENDS_${PN}-devel += "nspr-dev" + +#RDEPENDS of nss-sysinit (${PN}-sysinit) +RDEPENDS_${PN}-sysinit += "coreutils" +RDEPENDS_${PN}-sysinit += "nss" + +#RDEPENDS of nss (${PN}) +RDEPENDS_${PN} += "libsoftokn3" +RDEPENDS_${PN} += "libfreebl3" +RDEPENDS_${PN} += "nss-certs" +RDEPENDS_${PN} += "nspr" + + +DEPENDS = "" +#DEPENDS of nss +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig-native" +DEPENDS += "nspr" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n nss-3.15.4 -q + cp ${S}/packaging/nss.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + #modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "${S}/packaging//nss.changes")" + #DATE="\"$(date -d "${modified}" "+%b %e %Y")\"" + #TIME="\"$(date -d "${modified}" "+%R")\"" + #find . -name '*.[ch]' -print -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + + + cd nss + export FREEBL_NO_DEPEND=1 + export NSPR_INCLUDE_DIR=`nspr-config --includedir` + export NSPR_LIB_DIR=`nspr-config --libdir` + export OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + export LIBDIR=/usr/lib + export USE_64=1 + export NSS_USE_SYSTEM_SQLITE=1 + MAKE_FLAGS="BUILD_OPT=1 NSS_ENABLE_ECC=1" + make nss_build_all $MAKE_FLAGS + # run testsuite + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/usr/lib + mkdir -p $RPM_BUILD_ROOT/usr/libexec/nss + mkdir -p $RPM_BUILD_ROOT/usr/include/nss3 + mkdir -p $RPM_BUILD_ROOT/usr/bin + mkdir -p $RPM_BUILD_ROOT/usr/sbin + mkdir -p $RPM_BUILD_ROOT/etc/pki/nssdb + pushd dist/Linux* + # copy headers + cp -rL ../public/nss/*.h $RPM_BUILD_ROOT/usr/include/nss3 + # copy dynamic libs + cp -L lib/libnss3.so \ + lib/libnssdbm3.so \ + lib/libnssdbm3.chk \ + lib/libnssutil3.so \ + lib/libnssckbi.so \ + lib/libnsssysinit.so \ + lib/libsmime3.so \ + lib/libsoftokn3.so \ + lib/libsoftokn3.chk \ + lib/libssl3.so \ + $RPM_BUILD_ROOT/usr/lib + cp -L lib/libfreebl3.so \ + lib/libfreebl3.chk \ + $RPM_BUILD_ROOT//usr/lib + # copy static libs + cp -L lib/libcrmf.a \ + lib/libnssb.a \ + lib/libnssckfw.a \ + $RPM_BUILD_ROOT/usr/lib + # copy tools + cp -L bin/certutil \ + bin/cmsutil \ + bin/crlutil \ + bin/modutil \ + bin/pk12util \ + bin/signtool \ + bin/signver \ + bin/ssltap \ + $RPM_BUILD_ROOT/usr/bin + # copy unsupported tools + cp -L bin/atob \ + bin/btoa \ + bin/derdump \ + bin/ocspclnt \ + bin/pp \ + bin/selfserv \ + bin/shlibsign \ + bin/strsclnt \ + bin/symkeyutil \ + bin/tstclnt \ + bin/vfyserv \ + bin/vfychain \ + $RPM_BUILD_ROOT/usr/libexec/nss + # prepare pkgconfig file + mkdir -p $RPM_BUILD_ROOT/usr/lib/pkgconfig/ + sed "s:%LIBDIR%:/usr/lib:g + s:%VERSION%:3.15.4:g + s:%NSPR_VERSION%:4.9.2:g" \ + ${S}/packaging/nss.pc.in > $RPM_BUILD_ROOT/usr/lib/pkgconfig/nss.pc + # prepare nss-config file + popd + NSS_VMAJOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'` + NSS_VMINOR=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'` + NSS_VPATCH=`cat nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'` + cat ${S}/packaging/nss-config.in | sed -e "s,@libdir@,/usr/lib,g" \ + -e "s,@prefix@,/usr,g" \ + -e "s,@exec_prefix@,/usr,g" \ + -e "s,@includedir@,/usr/include/nss3,g" \ + -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \ + -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \ + -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \ + > $RPM_BUILD_ROOT//usr/bin/nss-config + chmod 755 $RPM_BUILD_ROOT//usr/bin/nss-config + # setup-nsssysinfo.sh + install -m 744 ${S}/packaging/setup-nsssysinit.sh $RPM_BUILD_ROOT/usr/sbin/ + # create empty NSS database + #LD_LIBRARY_PATH=$RPM_BUILD_ROOT/lib:$RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/bin/modutil -force -dbdir "sql:$RPM_BUILD_ROOT/etc/pki/nssdb" -create + #LD_LIBRARY_PATH=$RPM_BUILD_ROOT/lib:$RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/bin/certutil -N -d "sql:$RPM_BUILD_ROOT/etc/pki/nssdb" -f /dev/null 2>&1 > /dev/null + #chmod 644 "$RPM_BUILD_ROOT/etc/pki/nssdb"/* + #sed "s:${D}::g + #s/^library=$/library=libnsssysinit.so/ + #/^NSS/s/\(Flags=internal\)\(,[^m]\)/\1,moduleDBOnly\2/" \ + # $RPM_BUILD_ROOT/etc/pki/nssdb/pkcs11.txt > $RPM_BUILD_ROOT/etc/pki/nssdb/pkcs11.txt.sed + # mv $RPM_BUILD_ROOT/etc/pki/nssdb/pkcs11.txt{.sed,} + # copy empty NSS database + install -m 644 ${S}/packaging/cert9.db $RPM_BUILD_ROOT/etc/pki/nssdb + install -m 644 ${S}/packaging/key4.db $RPM_BUILD_ROOT/etc/pki/nssdb + install -m 644 ${S}/packaging/pkcs11.txt $RPM_BUILD_ROOT/etc/pki/nssdb + # create shlib sigs after extracting debuginfo + + +} + +PACKAGES = "" +PACKAGES += "libsoftokn3" +PACKAGES += "nss-tools" +PACKAGES += "nss-devel" +PACKAGES += "libfreebl3" +PACKAGES += "nss-certs" +PACKAGES += "nss-sysinit" +PACKAGES += "nss" + +libsoftokn3_files = "" +libsoftokn3_files += "nss.manifest" +libsoftokn3_files += "/usr/lib/libsoftokn3.so" +libsoftokn3_files += "/usr/lib/libsoftokn3.chk" +libsoftokn3_files += "/usr/lib/libnssdbm3.so" +libsoftokn3_files += "/usr/lib/libnssdbm3.chk" + +nss-tools_files = "" +nss-tools_files += "nss.manifest" +nss-tools_files += "/usr/bin/*" +nss-tools_files += "/usr/libexec/nss/" + +nss-devel_files = "" +nss-devel_files += "nss.manifest" +nss-devel_files += "/usr/include/nss3/" +nss-devel_files += "/usr/lib/*.a" +nss-devel_files += "/usr/lib/pkgconfig/*" + +libfreebl3_files = "" +libfreebl3_files += "nss.manifest" +libfreebl3_files += "/usr/lib/libfreebl3.so" +libfreebl3_files += "/usr/lib/libfreebl3.chk" + +nss-certs_files = "" +nss-certs_files += "nss.manifest" +nss-certs_files += "/usr/lib/libnssckbi.so" + +nss-sysinit_files = "" +nss-sysinit_files += "nss.manifest" +nss-sysinit_files += "/etc/pki" +nss-sysinit_files += "/etc/pki/nssdb" +nss-sysinit_files += "/etc/pki/nssdb/*" +nss-sysinit_files += "/usr/lib/libnsssysinit.so" +nss-sysinit_files += "/usr/sbin/setup-nsssysinit.sh" + +nss_files = "" +nss_files += "nss.manifest" +nss_files += "/usr/lib/libnss3.so" +nss_files += "/usr/lib/libnssutil3.so" +nss_files += "/usr/lib/libsmime3.so" +nss_files += "/usr/lib/libssl3.so" + +FILES_libsoftokn3 = "${libsoftokn3_files}" +FILES_${PN}-tools = "${nss-tools_files}" +FILES_${PN}-devel = "${nss-devel_files}" +FILES_libfreebl3 = "${libfreebl3_files}" +FILES_${PN}-certs = "${nss-certs_files}" +FILES_${PN}-sysinit = "${nss-sysinit_files}" +FILES_${PN} = "${nss_files}" + +PKG_libsoftokn3= "libsoftokn3" +PKG_nss-tools= "nss-tools" +PKG_nss-devel= "nss-devel" +PKG_libfreebl3= "libfreebl3" +PKG_nss-certs= "nss-certs" +PKG_nss-sysinit= "nss-sysinit" +PKG_nss= "nss" + +require nss-extraconf.inc diff --git a/meta-tizen/recipes-tizen/obexd/obexd-extraconf.inc b/meta-tizen/recipes-tizen/obexd/obexd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/obexd/obexd-native_git.bb b/meta-tizen/recipes-tizen/obexd/obexd-native_git.bb new file mode 100644 index 0000000..46b0ca4 --- /dev/null +++ b/meta-tizen/recipes-tizen/obexd/obexd-native_git.bb @@ -0,0 +1,12 @@ +require obexd.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/obexd;protocol=ssh;tag=6c58bd7f4ad00916eaf1f482bad1007ab597d653;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/obexd/obexd.inc b/meta-tizen/recipes-tizen/obexd/obexd.inc new file mode 100644 index 0000000..d4c09e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/obexd/obexd.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "D-Bus service for Obex Client access" +HOMEPAGE = "http://www.bluez.org/" +SECTION = "System/Service" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by obexd-client +PROVIDES += "obexd-client" +RPROVIDES_obexd-client += "obexd-client" + +#PROVIDES by obexd +PROVIDES += "obexd" +RPROVIDES_obexd += "obexd" + +#PROVIDES by obexd-server +PROVIDES += "obexd-server" +RPROVIDES_obexd-server += "obexd-server" + +#PROVIDES by obexd-test +PROVIDES += "obexd-test" +RPROVIDES_obexd-test += "obexd-test" + +RDEPENDS = "" +#RDEPENDS of obexd-client (${PN}-client) +RDEPENDS_${PN}-client += "obexd" + +#RDEPENDS of obexd-server (${PN}-server) +RDEPENDS_${PN}-server += "obexd" + +#RDEPENDS of obexd-test (${PN}-test) +RDEPENDS_${PN}-test += "python-xml" +RDEPENDS_${PN}-test += "obexd" +RDEPENDS_${PN}-test += "dbus-python" +RDEPENDS_${PN}-test += "python-gobject" + + +DEPENDS = "" +#DEPENDS of obexd +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "update-desktop-files" +DEPENDS += "bluez" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libical" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/obexd.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -f -i + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --libexecdir=/usr/lib/obex --with-phonebook=dummy \ + --disable-static + unset LD_AS_NEEDED + make -j16 + sed -i -e "s,@libexecdir@,/usr/lib/obex,g" ${S}/packaging/obexd-server.desktop + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir examples/ + + mkdir -p ${D}//etc/xdg/autostart/ + install -m 0644 ${S}/packaging/obexd-server.desktop ${D}//etc/xdg/autostart/ + install -m 0755 ${S}/packaging/obexd-setup.sh ${D}//usr/lib/obex/obexd-setup.sh + + chmod 755 test/* + + +} + +PACKAGES = "" +PACKAGES += "obexd-client" +PACKAGES += "obexd" +PACKAGES += "obexd-server" +PACKAGES += "obexd-test" + +obexd-client_files = "" +obexd-client_files += "obexd.manifest" +obexd-client_files += "/usr/lib/obex" +obexd-client_files += "/usr/lib/obex/obex-client" +obexd-client_files += "/usr/share/dbus-1/services/obex-client.service" + +obexd_files = "" +obexd_files += "obexd.manifest" + +obexd-server_files = "" +obexd-server_files += "obexd.manifest" +obexd-server_files += "/usr/lib/obex" +obexd-server_files += "/usr/lib/obex/obexd" +obexd-server_files += "/usr/lib/obex/obexd-setup.sh" +obexd-server_files += "/usr/share/dbus-1/services/obexd.service" +obexd-server_files += "/etc/xdg/autostart/obexd-server.desktop" + +obexd-test_files = "" +obexd-test_files += "obexd.manifest" +obexd-test_files += "test/*" + +FILES_${PN}-client = "${obexd-client_files}" +FILES_${PN} = "${obexd_files}" +FILES_${PN}-server = "${obexd-server_files}" +FILES_${PN}-test = "${obexd-test_files}" + +PKG_obexd-client= "obexd-client" +PKG_obexd= "obexd" +PKG_obexd-server= "obexd-server" +PKG_obexd-test= "obexd-test" + +require obexd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/obexd/obexd_git.bb b/meta-tizen/recipes-tizen/obexd/obexd_git.bb new file mode 100644 index 0000000..9e2a985 --- /dev/null +++ b/meta-tizen/recipes-tizen/obexd/obexd_git.bb @@ -0,0 +1,8 @@ +require obexd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/obexd;protocol=ssh;tag=6c58bd7f4ad00916eaf1f482bad1007ab597d653;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ofono/ofono-extraconf.inc b/meta-tizen/recipes-tizen/ofono/ofono-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ofono/ofono-native_git.bb b/meta-tizen/recipes-tizen/ofono/ofono-native_git.bb new file mode 100644 index 0000000..39312a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/ofono/ofono-native_git.bb @@ -0,0 +1,12 @@ +require ofono.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ofono;protocol=ssh;tag=581195abb2aef299ec1bcdbbc441c22f57796651;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ofono/ofono.inc b/meta-tizen/recipes-tizen/ofono/ofono.inc new file mode 100644 index 0000000..53b993c --- /dev/null +++ b/meta-tizen/recipes-tizen/ofono/ofono.inc @@ -0,0 +1,176 @@ +DESCRIPTION = "Open Source Telephony" +HOMEPAGE = "http://ofono.org" +SECTION = "Telephony/Cellular" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ofono-docs +PROVIDES += "ofono-docs " +RPROVIDES_ofono-docs += "ofono-docs " + +#PROVIDES by ofono-test +PROVIDES += "ofono-test" +RPROVIDES_ofono-test += "ofono-test" + +#PROVIDES by ofono-devel +PROVIDES += "ofono-devel" +RPROVIDES_ofono-devel += "ofono-devel" +RPROVIDES_ofono-devel += "ofono-dev" + +#PROVIDES by ofono +PROVIDES += "ofono" +RPROVIDES_ofono += "ofono" + +RDEPENDS = "" +#RDEPENDS of ofono-test (${PN}-test) +RDEPENDS_${PN}-test += "python-xml" +RDEPENDS_${PN}-test += "python-gobject" +RDEPENDS_${PN}-test += "dbus-python" +RDEPENDS_${PN}-test += "ofono" + +#RDEPENDS of ofono-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ofono" + +#RDEPENDS of ofono (${PN}) +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of ofono +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(mobile-broadband-provider-info)" +DEPENDS += "automake-native" +DEPENDS += "bluez" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(libudev)" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + cp ${S}/packaging/ofono.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --force --install + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-test \ + --disable-bluez4 \ + --with-systemdunitdir=/lib/systemd/system + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system/network.target.wants + ln -s ../ofono.service ${D}/usr/lib/systemd/system/network.target.wants/ofono.service + + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../ofono.service ${D}//lib/systemd/system/multi-user.target.wants/ofono.service + + + +} + +PACKAGES = "" +PACKAGES += "ofono-test" +PACKAGES += "ofono-docs" +PACKAGES += "ofono-devel" +PACKAGES += "ofono" + +ofono-test_files = "" +ofono-test_files += "ofono.manifest" +ofono-test_files += "/usr/lib/ofono/test/*" + +ofono-docs_files = "" +ofono-docs_files += "/usr/share/info" +ofono-docs_files += "/usr/share/man" + +ofono-devel_files = "" +ofono-devel_files += "ofono.manifest" +ofono-devel_files += "/usr/include/ofono/*.h" +ofono-devel_files += "/usr/lib/pkgconfig/ofono.pc" + +ofono_files = "" +ofono_files += "ofono.manifest" +ofono_files += "ofono.manifest" +ofono_files += "/etc/dbus-1/system.d/*.conf" +ofono_files += "/usr/sbin/*" +ofono_files += "/lib/systemd/system/network.target.wants/ofono.service" +ofono_files += "/lib/systemd/system/ofono.service" +ofono_files += "/lib/systemd/system/multi-user.target.wants/ofono.service" +ofono_files += "/etc/ofono/phonesim.conf" + +FILES_${PN}-test = "${ofono-test_files}" +FILES_${PN}-docs = "${ofono-docs_files}" +FILES_${PN}-devel = "${ofono-devel_files}" +FILES_${PN} = "${ofono_files}" + +PKG_ofono-test= "ofono-test" +PKG_ofono-docs= "ofono-docs" +PKG_ofono-devel= "ofono-devel" +PKG_ofono= "ofono" + +require ofono-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ofono/ofono_git.bb b/meta-tizen/recipes-tizen/ofono/ofono_git.bb new file mode 100644 index 0000000..d593bfc --- /dev/null +++ b/meta-tizen/recipes-tizen/ofono/ofono_git.bb @@ -0,0 +1,8 @@ +require ofono.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ofono;protocol=ssh;tag=581195abb2aef299ec1bcdbbc441c22f57796651;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-extraconf.inc b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-native_git.bb b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-native_git.bb new file mode 100644 index 0000000..98e07ca --- /dev/null +++ b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent-native_git.bb @@ -0,0 +1,12 @@ +require oma-ds-agent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/oma-ds-agent;protocol=ssh;tag=47e30b8e569328719424b1af9cd6c26b34f9d572;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent.inc b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent.inc new file mode 100644 index 0000000..2514e5b --- /dev/null +++ b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "OMA-DS Agent Daemon for Data Synchronization" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Device Management" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by oma-ds-agent +PROVIDES += "oma-ds-agent" +RPROVIDES_oma-ds-agent += "oma-ds-agent" + +#PROVIDES by ds-public-plugins +PROVIDES += "ds-public-plugins" +RPROVIDES_ds-public-plugins += "ds-public-plugins" + +RDEPENDS = "" +#RDEPENDS of oma-ds-agent (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of oma-ds-agent +DEPENDS += "cmake" +DEPENDS += "libslp-memo" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "expat" +DEPENDS += "pkgconfig(check)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sync-agent)" +DEPENDS += "contacts-service" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + if [ ! -d ${D}/opt/dbspace ] + then + mkdir -p ${D}/opt/dbspace + fi + + sqlite3 ${D}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "oma-ds-agent" +PACKAGES += "ds-public-plugins" + +oma-ds-agent_files = "" +oma-ds-agent_files += "oma-ds-agent.manifest" +oma-ds-agent_files += "/usr/share/dbus-1/system-services/com.samsung.omadsagent.service" +oma-ds-agent_files += "/usr/bin/oma-ds-agent" +oma-ds-agent_files += "/usr/share/oma-ds-cfg/*" +oma-ds-agent_files += "/usr/lib/systemd/system/oma-ds-agent.service" +oma-ds-agent_files += "/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service" +oma-ds-agent_files += "/etc/dbus-1/system.d/com.samsung.omadsagent.conf" + +ds-public-plugins_files = "" +ds-public-plugins_files += "ds-public-plugins.manifest" +ds-public-plugins_files += "/usr/lib/sync-agent/ds-public/*" + +FILES_${PN} = "${oma-ds-agent_files}" +FILES_ds-public-plugins = "${ds-public-plugins_files}" + +PKG_oma-ds-agent= "oma-ds-agent" +PKG_ds-public-plugins= "ds-public-plugins" + +require oma-ds-agent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent_git.bb b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent_git.bb new file mode 100644 index 0000000..c38699b --- /dev/null +++ b/meta-tizen/recipes-tizen/oma-ds-agent/oma-ds-agent_git.bb @@ -0,0 +1,8 @@ +require oma-ds-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/oma-ds-agent;protocol=ssh;tag=47e30b8e569328719424b1af9cd6c26b34f9d572;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openal-soft/openal-soft-extraconf.inc b/meta-tizen/recipes-tizen/openal-soft/openal-soft-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/openal-soft/openal-soft-native_git.bb b/meta-tizen/recipes-tizen/openal-soft/openal-soft-native_git.bb new file mode 100644 index 0000000..609f9c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/openal-soft/openal-soft-native_git.bb @@ -0,0 +1,12 @@ +require openal-soft.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openal-soft;protocol=ssh;tag=3d48b01fa5a83dc4e861130af44255af71a14466;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openal-soft/openal-soft.inc b/meta-tizen/recipes-tizen/openal-soft/openal-soft.inc new file mode 100644 index 0000000..8ba3648 --- /dev/null +++ b/meta-tizen/recipes-tizen/openal-soft/openal-soft.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "A cross-platform 3D audio API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by openal-soft +PROVIDES += "openal-soft" +RPROVIDES_openal-soft += "openal-soft" + +#PROVIDES by openal-soft-devel +PROVIDES += "openal-soft-devel" +RPROVIDES_openal-soft-devel += "openal-soft-devel" +RPROVIDES_openal-soft-devel += "openal-soft-dev" + +RDEPENDS = "" +#RDEPENDS of openal-soft-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "openal-soft" + + +DEPENDS = "" +#DEPENDS of openal-soft +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/openal-soft.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "openal-soft" +PACKAGES += "openal-soft-devel" + +openal-soft_files = "" +openal-soft_files += "openal-soft.manifest" +openal-soft_files += "/usr/bin/openal-info" +openal-soft_files += "/usr/lib/libopenal.so.*" + +openal-soft-devel_files = "" +openal-soft-devel_files += "openal-soft.manifest" +openal-soft-devel_files += "/usr/include/AL/*.h" +openal-soft-devel_files += "/usr/lib/libopenal.so" +openal-soft-devel_files += "/usr/lib/pkgconfig/openal.pc" + +FILES_${PN} = "${openal-soft_files}" +FILES_${PN}-devel = "${openal-soft-devel_files}" + +PKG_openal-soft= "openal-soft" +PKG_openal-soft-devel= "openal-soft-devel" + +require openal-soft-extraconf.inc diff --git a/meta-tizen/recipes-tizen/openal-soft/openal-soft_git.bb b/meta-tizen/recipes-tizen/openal-soft/openal-soft_git.bb new file mode 100644 index 0000000..03f7fae --- /dev/null +++ b/meta-tizen/recipes-tizen/openal-soft/openal-soft_git.bb @@ -0,0 +1,8 @@ +require openal-soft.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openal-soft;protocol=ssh;tag=3d48b01fa5a83dc4e861130af44255af71a14466;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openconnect/openconnect-extraconf.inc b/meta-tizen/recipes-tizen/openconnect/openconnect-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/openconnect/openconnect-native_git.bb b/meta-tizen/recipes-tizen/openconnect/openconnect-native_git.bb new file mode 100644 index 0000000..944206a --- /dev/null +++ b/meta-tizen/recipes-tizen/openconnect/openconnect-native_git.bb @@ -0,0 +1,12 @@ +require openconnect.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openconnect;protocol=ssh;tag=438d487626a37f1d4e5c1430328220bce5efb35e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openconnect/openconnect.inc b/meta-tizen/recipes-tizen/openconnect/openconnect.inc new file mode 100644 index 0000000..2ae566d --- /dev/null +++ b/meta-tizen/recipes-tizen/openconnect/openconnect.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Open client for Cisco AnyConnect VPN" +HOMEPAGE = "http://www.infradead.org/openconnect.html" +SECTION = "Networking/Security" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by openconnect +PROVIDES += "openconnect" +RPROVIDES_openconnect += "openconnect" + +#PROVIDES by openconnect-devel +PROVIDES += "openconnect-devel" +RPROVIDES_openconnect-devel += "openconnect-devel" +RPROVIDES_openconnect-devel += "openconnect-dev" + +#PROVIDES by openconnect-docs +PROVIDES += "openconnect-docs " +RPROVIDES_openconnect-docs += "openconnect-docs " + +RDEPENDS = "" +#RDEPENDS of openconnect (${PN}) +RDEPENDS_${PN} += "vpnc" + +#RDEPENDS of openconnect-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "openconnect" + + +DEPENDS = "" +#DEPENDS of openconnect +DEPENDS += "pkgconfig(libproxy-1.0)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig-native" +DEPENDS += "openssl-devel" +DEPENDS += "vpnc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/openconnect.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --docdir=/usr/share/doc/packages/openconnect/ --disable-nls + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "openconnect" +PACKAGES += "openconnect-docs" +PACKAGES += "openconnect-devel" + +openconnect_files = "" +openconnect_files += "openconnect.manifest" +openconnect_files += "/usr/lib/libopenconnect.so.*" +openconnect_files += "/usr/share/man/man8/*" +openconnect_files += "/usr/sbin/openconnect" + +openconnect-docs_files = "" +openconnect-docs_files += "/usr/share/info" +openconnect-docs_files += "/usr/share/man" + +openconnect-devel_files = "" +openconnect-devel_files += "openconnect.manifest" +openconnect-devel_files += "/usr/include/openconnect.h" +openconnect-devel_files += "/usr/lib/libopenconnect.so" +openconnect-devel_files += "/usr/lib/pkgconfig/openconnect.pc" + +FILES_${PN} = "${openconnect_files}" +FILES_${PN}-docs = "${openconnect-docs_files}" +FILES_${PN}-devel = "${openconnect-devel_files}" + +PKG_openconnect= "openconnect" +PKG_openconnect-docs= "openconnect-docs" +PKG_openconnect-devel= "openconnect-devel" + +require openconnect-extraconf.inc diff --git a/meta-tizen/recipes-tizen/openconnect/openconnect_git.bb b/meta-tizen/recipes-tizen/openconnect/openconnect_git.bb new file mode 100644 index 0000000..fb192cc --- /dev/null +++ b/meta-tizen/recipes-tizen/openconnect/openconnect_git.bb @@ -0,0 +1,8 @@ +require openconnect.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openconnect;protocol=ssh;tag=438d487626a37f1d4e5c1430328220bce5efb35e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opencore-amr/opencore-amr-extraconf.inc b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/opencore-amr/opencore-amr-native_git.bb b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr-native_git.bb new file mode 100644 index 0000000..0535ff3 --- /dev/null +++ b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr-native_git.bb @@ -0,0 +1,12 @@ +require opencore-amr.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/opencore-amr;protocol=ssh;tag=72a792824e352ad4084c3729154a444f57b7b8bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opencore-amr/opencore-amr.inc b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr.inc new file mode 100644 index 0000000..63477ca --- /dev/null +++ b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "opencore AMRNB dev package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "libdevel" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by opencore-amr-devel +PROVIDES += "opencore-amr-devel" +RPROVIDES_opencore-amr-devel += "opencore-amr-devel" +RPROVIDES_opencore-amr-devel += "opencore-amr-dev" + +#PROVIDES by opencore-amr +PROVIDES += "opencore-amr" +RPROVIDES_opencore-amr += "opencore-amr" + +RDEPENDS = "" +#RDEPENDS of opencore-amr-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "opencore-amr" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/opencore-amr.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/opencore-amr + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "opencore-amr-devel" +PACKAGES += "opencore-amr" + +opencore-amr-devel_files = "" +opencore-amr-devel_files += "opencore-amr.manifest" +opencore-amr-devel_files += "/usr/include/opencore-amrnb/*.h" +opencore-amr-devel_files += "/usr/include/opencore-amrwb/*.h" +opencore-amr-devel_files += "/usr/lib/libopencore-amrnb.so" +opencore-amr-devel_files += "/usr/lib/libopencore-amrwb.so" +opencore-amr-devel_files += "/usr/lib/pkgconfig/opencore-amrnb.pc" +opencore-amr-devel_files += "/usr/lib/pkgconfig/opencore-amrwb.pc" + +opencore-amr_files = "" +opencore-amr_files += "opencore-amr.manifest" +opencore-amr_files += "/usr/lib/libopencore-amrnb.so.0" +opencore-amr_files += "/usr/lib/libopencore-amrnb.so.0.0.2" +opencore-amr_files += "/usr/lib/libopencore-amrwb.so.0" +opencore-amr_files += "/usr/lib/libopencore-amrwb.so.0.0.2" +opencore-amr_files += "/usr/share/license/opencore-amr" + +FILES_${PN}-devel = "${opencore-amr-devel_files}" +FILES_${PN} = "${opencore-amr_files}" + +PKG_opencore-amr-devel= "opencore-amr-devel" +PKG_opencore-amr= "opencore-amr" + +require opencore-amr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/opencore-amr/opencore-amr_git.bb b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr_git.bb new file mode 100644 index 0000000..0831ad6 --- /dev/null +++ b/meta-tizen/recipes-tizen/opencore-amr/opencore-amr_git.bb @@ -0,0 +1,8 @@ +require opencore-amr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/opencore-amr;protocol=ssh;tag=72a792824e352ad4084c3729154a444f57b7b8bb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-extraconf.inc b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-native_git.bb b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-native_git.bb new file mode 100644 index 0000000..f61cbaa --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv-native_git.bb @@ -0,0 +1,12 @@ +require opengl-es-virtual-drv.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/opengl-es-virtual-drv;protocol=ssh;tag=9bac49a769fe5e048df214e463c01da2de757516;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv.inc b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv.inc new file mode 100644 index 0000000..da3a024 --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "The Virtual OpenGL ES library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/X Hardware Support" +LICENSE = "Samsung" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by opengl-es-virtual-drv-devel +PROVIDES += "opengl-es-virtual-drv-devel" +RPROVIDES_opengl-es-virtual-drv-devel += "opengl-es-virtual-drv-devel" +RPROVIDES_opengl-es-virtual-drv-devel += "opengl-es-virtual-drv-dev" +# the PROVIDES rules is ignore "opengl-es-drv-devel " +PROVIDES += "opengl-es-drv-devel" +RPROVIDES_opengl-es-virtual-drv-devel += "opengl-es-drv-devel" +RPROVIDES_opengl-es-virtual-drv-devel += "opengl-es-drv-dev" + +#PROVIDES by opengl-es-virtual-drv +PROVIDES += "opengl-es-virtual-drv" +RPROVIDES_opengl-es-virtual-drv += "opengl-es-virtual-drv" +# the PROVIDES rules is ignore "opengl-es-drv " +PROVIDES += "opengl-es-drv" +RPROVIDES_opengl-es-virtual-drv += "opengl-es-drv" + +RDEPENDS = "" +#RDEPENDS of opengl-es-virtual-drv-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "opengl-es-virtual-drv" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n opengl-es-virtual-drv-0.1.5 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --prefix=/usr + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/include + cp -a src/include/KHR ${D}/usr/include + + + +} + +PACKAGES = "" +PACKAGES += "opengl-es-virtual-drv-devel" +PACKAGES += "opengl-es-virtual-drv" + +opengl-es-virtual-drv-devel_files = "" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES/gl.h" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES/glplatform.h" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES/glext.h" +opengl-es-virtual-drv-devel_files += "/usr/include/EGL/egl.h" +opengl-es-virtual-drv-devel_files += "/usr/include/EGL/eglext.h" +opengl-es-virtual-drv-devel_files += "/usr/include/EGL/eglplatform.h" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES2/gl2.h" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES2/gl2platform.h" +opengl-es-virtual-drv-devel_files += "/usr/include/GLES2/gl2ext.h" +opengl-es-virtual-drv-devel_files += "/usr/include/KHR/khrplatform.h" +opengl-es-virtual-drv-devel_files += "/usr/lib/pkgconfig/gles20.pc" +opengl-es-virtual-drv-devel_files += "/usr/lib/pkgconfig/gles11.pc" + +opengl-es-virtual-drv_files = "" +opengl-es-virtual-drv_files += "opengl-es-virtual-drv.manifest" +opengl-es-virtual-drv_files += "/usr/lib/libGLESv1_CM.so" +opengl-es-virtual-drv_files += "/usr/lib/libGLESv2.so" +opengl-es-virtual-drv_files += "/usr/lib/libEGL.so" + +FILES_${PN}-devel = "${opengl-es-virtual-drv-devel_files}" +FILES_${PN} = "${opengl-es-virtual-drv_files}" + +PKG_opengl-es-virtual-drv-devel= "opengl-es-virtual-drv-devel" +PKG_opengl-es-virtual-drv= "opengl-es-virtual-drv" + +require opengl-es-virtual-drv-extraconf.inc diff --git a/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv_git.bb b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv_git.bb new file mode 100644 index 0000000..2d0be19 --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es-virtual-drv/opengl-es-virtual-drv_git.bb @@ -0,0 +1,8 @@ +require opengl-es-virtual-drv.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/opengl-es-virtual-drv;protocol=ssh;tag=9bac49a769fe5e048df214e463c01da2de757516;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opengl-es/opengl-es-extraconf.inc b/meta-tizen/recipes-tizen/opengl-es/opengl-es-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/opengl-es/opengl-es-native_git.bb b/meta-tizen/recipes-tizen/opengl-es/opengl-es-native_git.bb new file mode 100644 index 0000000..50b09f9 --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es/opengl-es-native_git.bb @@ -0,0 +1,12 @@ +require opengl-es.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/opengl-es;protocol=ssh;tag=ab24de8677671f27f52307248fb24ea4b105b1cb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/opengl-es/opengl-es.inc b/meta-tizen/recipes-tizen/opengl-es/opengl-es.inc new file mode 100644 index 0000000..1fb5dca --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es/opengl-es.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "Meta Package for the OpenGL ES library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics/Library" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by opengl-es-devel +PROVIDES += "opengl-es-devel" +RPROVIDES_opengl-es-devel += "opengl-es-devel" +RPROVIDES_opengl-es-devel += "opengl-es-dev" + +#PROVIDES by opengl-es +PROVIDES += "opengl-es" +RPROVIDES_opengl-es += "opengl-es" + +RDEPENDS = "" +#RDEPENDS of opengl-es-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "opengl-es-drv-dev" +RDEPENDS_${PN}-devel += "opengl-es" + +#RDEPENDS of opengl-es (${PN}) +RDEPENDS_${PN} += "opengl-es-drv" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/opengl-es.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}/usr/lib/pkgconfig + cp -a ./"pkgconfig_arm"/*.pc ${D}/usr/lib/pkgconfig/ + + + +} + +PACKAGES = "" +PACKAGES += "opengl-es-devel" +PACKAGES += "opengl-es" + +opengl-es-devel_files = "" +opengl-es-devel_files += "opengl-es.manifest" +opengl-es-devel_files += "/usr/lib/pkgconfig/opengl-es-11.pc" +opengl-es-devel_files += "/usr/lib/pkgconfig/opengl-es-20.pc" + +opengl-es_files = "" +opengl-es_files += "opengl-es.manifest" +opengl-es_files += "opengl-es.manifest" + +FILES_${PN}-devel = "${opengl-es-devel_files}" +FILES_${PN} = "${opengl-es_files}" + +PKG_opengl-es-devel= "opengl-es-devel" +PKG_opengl-es= "opengl-es" + +require opengl-es-extraconf.inc diff --git a/meta-tizen/recipes-tizen/opengl-es/opengl-es_git.bb b/meta-tizen/recipes-tizen/opengl-es/opengl-es_git.bb new file mode 100644 index 0000000..e427c40 --- /dev/null +++ b/meta-tizen/recipes-tizen/opengl-es/opengl-es_git.bb @@ -0,0 +1,8 @@ +require opengl-es.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/graphics/opengl-es;protocol=ssh;tag=ab24de8677671f27f52307248fb24ea4b105b1cb;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openssh/openssh-extraconf.inc b/meta-tizen/recipes-tizen/openssh/openssh-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/openssh/openssh-native_git.bb b/meta-tizen/recipes-tizen/openssh/openssh-native_git.bb new file mode 100644 index 0000000..9a6c2dc --- /dev/null +++ b/meta-tizen/recipes-tizen/openssh/openssh-native_git.bb @@ -0,0 +1,12 @@ +require openssh.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openssh;protocol=ssh;tag=8bbfa512de0be6e13bbf062de76302b9ebedbb87;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openssh/openssh.inc b/meta-tizen/recipes-tizen/openssh/openssh.inc new file mode 100644 index 0000000..33b9534 --- /dev/null +++ b/meta-tizen/recipes-tizen/openssh/openssh.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "Secure Shell Client and Server (Remote Login Program)" +HOMEPAGE = "http://www.openssh.com/" +SECTION = "System/Network" +LICENSE = "BSD-3-Clause and MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by openssh +PROVIDES += "openssh" +RPROVIDES_openssh += "openssh" + +RDEPENDS = "" +#RDEPENDS of openssh (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "pam-modules-extra" +RDEPENDS_${PN} += "/usr/bin/netstat" +RDEPENDS_${PN} += "pwdutils" + + +DEPENDS = "" +#DEPENDS of openssh +DEPENDS += "systemd" +DEPENDS += "autoconf-native" +DEPENDS += "pam-devel" +DEPENDS += "openssl-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/openssh.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + PIEFLAGS="-fpie" + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables $PIEFLAGS -fstack-protector" + export CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables $PIEFLAGS -fstack-protector" + export LDFLAGS="-pie" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-ssl-engine \ + --sysconfdir=/etc/ssh \ + --libexecdir=/usr/libexec/ssh \ + --with-pam \ + --with-privsep-path=/var/lib/empty \ + --with-sandbox=rlimit \ + --disable-strip \ + --with-xauth=/usr/bin/xauth \ + --target=x86_64-tizen-linux + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D}/ install + install -d -m 755 ${D}/etc/pam.d + install -d -m 755 ${D}/var/lib/sshd + install -m 644 ${S}/packaging/sshd.pamd ${D}/etc/pam.d/sshd + # install shell script to automate the process of adding your public key to a remote machine + install -m 755 contrib/ssh-copy-id ${D}/usr/bin + install -m 644 contrib/ssh-copy-id.1 ${D}/usr/share/man/man1 + sed -e "s,@LIBEXEC@,/usr/libexec,g" < ${S}/packaging/ssh-askpass > ${D}/usr/libexec/ssh/ssh-askpass + rm -f ${D}/usr/share/Ssh.bin + sed -i -e s@/usr/libexec@/usr/libexec@g ${D}/etc/ssh/sshd_config + + install -D -m 0755 ${S}/packaging/sshd-gen-keys-start ${D}/usr/sbin/sshd-gen-keys-start + # systemd + install -D -m 0644 ${S}/packaging/sshd.service ${D}/lib/systemd/system/sshd.service + install -D -m 0644 ${S}/packaging/sshd.socket ${D}/lib/systemd/system/sshd.socket + install -D -m 0644 ${S}/packaging/sshd@.service ${D}/lib/systemd/system/sshd@.service + + mkdir -p ${D}//lib/systemd/system/sockets.target.wants + ln -s ../sshd.socket ${D}//lib/systemd/system/sockets.target.wants/sshd.socket + + rm -rf ${D}//usr/share/man/cat* + rm -rf ${D}//usr/share/man/man* + + + + +} + +PACKAGES = "" +PACKAGES += "openssh" + +openssh_files = "" +openssh_files += "openssh.manifest" +#Remove rpm attribut "%attr(755,root,root)" +openssh_files += "/var/lib/sshd" +openssh_files += "/usr/bin/scp" +openssh_files += "/usr/bin/sftp" +openssh_files += "/usr/bin/slogin" +openssh_files += "/usr/bin/ssh-*" +openssh_files += "/usr/sbin/*" +openssh_files += "/usr/sbin/sshd-gen-keys-start" +openssh_files += "/lib/systemd/system/sshd.service" +openssh_files += "/lib/systemd/system/sshd@.service" +openssh_files += "/lib/systemd/system/sockets.target.wants/*.socket" +openssh_files += "/lib/systemd/system/sshd.socket" + +FILES_${PN} = "${openssh_files}" + +PKG_openssh= "openssh" + +require openssh-extraconf.inc diff --git a/meta-tizen/recipes-tizen/openssh/openssh_git.bb b/meta-tizen/recipes-tizen/openssh/openssh_git.bb new file mode 100644 index 0000000..58e9268 --- /dev/null +++ b/meta-tizen/recipes-tizen/openssh/openssh_git.bb @@ -0,0 +1,8 @@ +require openssh.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/openssh;protocol=ssh;tag=8bbfa512de0be6e13bbf062de76302b9ebedbb87;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/openssl/openssl-extraconf.inc b/meta-tizen/recipes-tizen/openssl/openssl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/openssl/openssl.inc b/meta-tizen/recipes-tizen/openssl/openssl.inc new file mode 100644 index 0000000..8dfc66c --- /dev/null +++ b/meta-tizen/recipes-tizen/openssl/openssl.inc @@ -0,0 +1,322 @@ +DESCRIPTION = "Secure Sockets and Transport Layer Security" +HOMEPAGE = "http://www.openssl.org/" +SECTION = "Security/Crypto Libraries" +LICENSE = "OpenSSL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by openssl-doc +PROVIDES += "openssl-doc" +RPROVIDES_openssl-doc += "openssl-doc" + +#PROVIDES by openssl-misc +PROVIDES += "openssl-misc" +RPROVIDES_openssl-misc += "openssl-misc" + +#PROVIDES by libopenssl-devel +PROVIDES += "libopenssl-devel" +RPROVIDES_libopenssl-devel += "libopenssl-devel" +RPROVIDES_libopenssl-devel += "libopenssl-dev" +# the PROVIDES rules is ignore "openssl-devel = 1.0.1e" +PROVIDES += "openssl-devel" +RPROVIDES_libopenssl-devel += "openssl-devel" +RPROVIDES_libopenssl-devel += "openssl-dev" + +#PROVIDES by openssl +PROVIDES += "openssl" +RPROVIDES_openssl += "openssl" +# the PROVIDES rules is ignore "ssl " +PROVIDES += "ssl" +RPROVIDES_openssl += "ssl" + +#PROVIDES by libopenssl +PROVIDES += "libopenssl" +RPROVIDES_libopenssl += "libopenssl" + +RDEPENDS = "" +#RDEPENDS of libopenssl-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "zlib-dev" +RDEPENDS_lib${PN}-devel += "openssl" +RDEPENDS_lib${PN}-devel += "libopenssl" + + +DEPENDS = "" +#DEPENDS of openssl +DEPENDS += "zlib-devel" +DEPENDS += "ed" +DEPENDS += "pkgconfig-native" +DEPENDS += "bc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/openssl.manifest . + + echo "adding/overwriting some entries in the 'table' hash in Configure" + # $dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags + export DSO_SCHEME='dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::' + cat </dev/null || function readlink { ( set +x; target=$(file $1 2>/dev/null); target=${target//* }; test -f $target && echo $target; ) } + for i in man?/*; do + if test -L $i ; then + LDEST=`readlink $i` + rm -f $i ${i}ssl + ln -sf ${LDEST}ssl ${i}ssl + else + mv $i ${i}ssl + fi + case `basename ${i%.*}` in + asn1parse|ca|config|crl|crl2pkcs7|crypto|dgst|dhparam|dsa|dsaparam|enc|gendsa|genrsa|nseq|openssl|passwd|pkcs12|pkcs7|pkcs8|rand|req|rsa|rsautl|s_client|s_server|smime|spkac|ssl|verify|version|x509) + # these are the pages mentioned in openssl(1). They go into the main package. + echo %doc /usr/share/man/${i}ssl.gz >> $OLDPWD/filelist.doc;; + *) + # the rest goes into the openssl-doc package. + echo %doc /usr/share/man/${i}ssl.gz >> $OLDPWD/filelist.doc;; + esac + done + popd + # + # check wether some shared library has been installed + # + ls -l $RPM_BUILD_ROOT/usr/lib + test -f $RPM_BUILD_ROOT/usr/lib/libssl.so.1.0.0 + test -f $RPM_BUILD_ROOT/usr/lib/libcrypto.so.1.0.0 + test -L $RPM_BUILD_ROOT/usr/lib/libssl.so + test -L $RPM_BUILD_ROOT/usr/lib/libcrypto.so + # + # see what we've got + # + cat > showciphers.c < + #include + int main(){ + unsigned int i; + SSL_CTX *ctx; + SSL *ssl; + SSL_METHOD *meth; + meth = SSLv23_client_method(); + SSLeay_add_ssl_algorithms(); + ctx = SSL_CTX_new(meth); + if (ctx == NULL) return 0; + ssl = SSL_new(ctx); + if (!ssl) return 0; + for (i=0; ; i++) { + int j, k; + SSL_CIPHER *sc; + sc = (meth->get_cipher)(i); + if (!sc) break; + k = SSL_CIPHER_get_bits(sc, &j); + printf("%s\n", sc->name); + } + return 0; + }; + EOF + gcc $RPM_OPT_FLAGS -I${RPM_BUILD_ROOT}/usr/include -c showciphers.c + gcc -o showciphers showciphers.o -L${RPM_BUILD_ROOT}/usr/lib -lssl -lcrypto + LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/usr/lib ./showciphers > AVAILABLE_CIPHERS || true + cat AVAILABLE_CIPHERS + # Do not install demo scripts executable under /usr/share/doc + find demos -type f -perm /111 -exec chmod 644 {} \; + + #process openssllib + mkdir $RPM_BUILD_ROOT/lib + mv $RPM_BUILD_ROOT/usr/lib/libssl.so.1.0.0 $RPM_BUILD_ROOT/lib/ + mv $RPM_BUILD_ROOT/usr/lib/libcrypto.so.1.0.0 $RPM_BUILD_ROOT/lib/ + mv $RPM_BUILD_ROOT/usr/lib/engines $RPM_BUILD_ROOT/lib/ + cd $RPM_BUILD_ROOT/usr/lib/ + ln -sf /lib/libssl.so.1.0.0 ./libssl.so + ln -sf /lib/libcrypto.so.1.0.0 ./libcrypto.so + + cd $RPM_BUILD_DIR + + + +} + +PACKAGES = "" +PACKAGES += "openssl-doc" +PACKAGES += "openssl-misc" +PACKAGES += "libopenssl-devel" +PACKAGES += "openssl" +PACKAGES += "libopenssl" + +openssl-doc_files = "" +openssl-doc_files += "openssl.manifest" +openssl-doc_files += "doc/* demos" +openssl-doc_files += "showciphers.c" + +openssl-misc_files = "" +openssl-misc_files += "openssl.manifest" +openssl-misc_files += "/usr/share/ssl/misc" +openssl-misc_files += "/usr/bin/c_rehash" + +libopenssl-devel_files = "" +libopenssl-devel_files += "openssl.manifest" +libopenssl-devel_files += "/usr/include/openssl/" +libopenssl-devel_files += "/usr/include/ssl" +libopenssl-devel_files += "/usr/lib/libssl.so" +libopenssl-devel_files += "/usr/lib/libcrypto.so" +libopenssl-devel_files += "/usr/lib/pkgconfig/libcrypto.pc" +libopenssl-devel_files += "/usr/lib/pkgconfig/libssl.pc" +libopenssl-devel_files += "/usr/lib/pkgconfig/openssl.pc" + +openssl_files = "" +openssl_files += "openssl.manifest" +openssl_files += "/etc/ssl" +openssl_files += "/etc/ssl/certs" +openssl_files += "(noreplace) /etc/ssl/openssl.cnf" +openssl_files += "/usr/share/ssl" +openssl_files += "/usr/bin/openssl" + +libopenssl_files = "" +libopenssl_files += "openssl.manifest" +libopenssl_files += "/lib/libssl.so.1.0.0" +libopenssl_files += "/lib/libcrypto.so.1.0.0" +libopenssl_files += "/lib/engines" + +FILES_${PN}-doc = "${openssl-doc_files}" +FILES_${PN}-misc = "${openssl-misc_files}" +FILES_lib${PN}-devel = "${libopenssl-devel_files}" +FILES_${PN} = "${openssl_files}" +FILES_lib${PN} = "${libopenssl_files}" + +PKG_openssl-doc= "openssl-doc" +PKG_openssl-misc= "openssl-misc" +PKG_libopenssl-devel= "libopenssl-devel" +PKG_openssl= "openssl" +PKG_libopenssl= "libopenssl" + +require openssl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/oprofile/oprofile-extraconf.inc b/meta-tizen/recipes-tizen/oprofile/oprofile-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/oprofile/oprofile-native_git.bb b/meta-tizen/recipes-tizen/oprofile/oprofile-native_git.bb new file mode 100644 index 0000000..75bb874 --- /dev/null +++ b/meta-tizen/recipes-tizen/oprofile/oprofile-native_git.bb @@ -0,0 +1,12 @@ +require oprofile.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/oprofile;protocol=ssh;tag=c17ba13925827d6d098185dc07ed3f06801ea76b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/oprofile/oprofile.inc b/meta-tizen/recipes-tizen/oprofile/oprofile.inc new file mode 100644 index 0000000..0f7a6f6 --- /dev/null +++ b/meta-tizen/recipes-tizen/oprofile/oprofile.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "System wide profiler" +HOMEPAGE = "http://oprofile.sf.net" +SECTION = "Base/Tools" +LICENSE = "GPL-2.0+ and LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by oprofile-jit +PROVIDES += "oprofile-jit" +RPROVIDES_oprofile-jit += "oprofile-jit" + +#PROVIDES by oprofile-docs +PROVIDES += "oprofile-docs " +RPROVIDES_oprofile-docs += "oprofile-docs " + +#PROVIDES by oprofile +PROVIDES += "oprofile" +RPROVIDES_oprofile += "oprofile" + +#PROVIDES by oprofile-devel +PROVIDES += "oprofile-devel" +RPROVIDES_oprofile-devel += "oprofile-devel" +RPROVIDES_oprofile-devel += "oprofile-dev" + +RDEPENDS = "" +#RDEPENDS of oprofile-jit (${PN}-jit) +RDEPENDS_${PN}-jit += "oprofile" + +#RDEPENDS of oprofile (${PN}) +RDEPENDS_${PN} += "pwdutils" +RDEPENDS_${PN} += "which" + +#RDEPENDS of oprofile-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "oprofile" + + +DEPENDS = "" +#DEPENDS of oprofile +DEPENDS += "pkgconfig(popt)" +DEPENDS += "binutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/oprofile.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-gui=no + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/ld.so.conf.d + echo "/usr/lib/oprofile" > ${D}/etc/ld.so.conf.d/oprofile-x86_64.conf + + rm -rf ${D}/usr/share/doc + + +} + +PACKAGES = "" +PACKAGES += "oprofile-jit" +PACKAGES += "oprofile" +PACKAGES += "oprofile-devel" +PACKAGES += "oprofile-docs" + +oprofile-jit_files = "" +oprofile-jit_files += "oprofile.manifest" +oprofile-jit_files += "/etc/ld.so.conf.d/*" +oprofile-jit_files += "/usr/lib/oprofile" + +oprofile_files = "" +oprofile_files += "oprofile.manifest" +oprofile_files += "/usr/bin/ophelp" +oprofile_files += "/usr/bin/opimport" +oprofile_files += "/usr/bin/opannotate" +oprofile_files += "/usr/bin/opcontrol" +oprofile_files += "/usr/bin/opgprof" +oprofile_files += "/usr/bin/opreport" +oprofile_files += "/usr/bin/oprofiled" +oprofile_files += "/usr/bin/oparchive" +oprofile_files += "/usr/bin/opjitconv" +oprofile_files += "/usr/bin/op-check-perfevents" +oprofile_files += "/usr/bin/operf" +oprofile_files += "/usr/share/oprofile" + +oprofile-devel_files = "" +oprofile-devel_files += "oprofile.manifest" +oprofile-devel_files += "/usr/include/opagent.h" + +oprofile-docs_files = "" +oprofile-docs_files += "/usr/share/info" +oprofile-docs_files += "/usr/share/man" + +FILES_${PN}-jit = "${oprofile-jit_files}" +FILES_${PN} = "${oprofile_files}" +FILES_${PN}-devel = "${oprofile-devel_files}" +FILES_${PN}-docs = "${oprofile-docs_files}" + +PKG_oprofile-jit= "oprofile-jit" +PKG_oprofile= "oprofile" +PKG_oprofile-devel= "oprofile-devel" +PKG_oprofile-docs= "oprofile-docs" + +require oprofile-extraconf.inc diff --git a/meta-tizen/recipes-tizen/oprofile/oprofile_git.bb b/meta-tizen/recipes-tizen/oprofile/oprofile_git.bb new file mode 100644 index 0000000..12742e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/oprofile/oprofile_git.bb @@ -0,0 +1,8 @@ +require oprofile.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/oprofile;protocol=ssh;tag=c17ba13925827d6d098185dc07ed3f06801ea76b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/orc/orc-extraconf.inc b/meta-tizen/recipes-tizen/orc/orc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/orc/orc-native_git.bb b/meta-tizen/recipes-tizen/orc/orc-native_git.bb new file mode 100644 index 0000000..9916740 --- /dev/null +++ b/meta-tizen/recipes-tizen/orc/orc-native_git.bb @@ -0,0 +1,12 @@ +require orc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/orc;protocol=ssh;tag=5d5416310f19fa5a3307a110d4975e74f5690219;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/orc/orc.inc b/meta-tizen/recipes-tizen/orc/orc.inc new file mode 100644 index 0000000..97cde7c --- /dev/null +++ b/meta-tizen/recipes-tizen/orc/orc.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "The Oil Runtime Compiler" +HOMEPAGE = "http://code.entropywave.com/projects/orc/" +SECTION = "Multimedia/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by orc-doc +PROVIDES += "orc-doc" +RPROVIDES_orc-doc += "orc-doc" + +#PROVIDES by liborc +PROVIDES += "liborc" +RPROVIDES_liborc += "liborc" + +#PROVIDES by orc +PROVIDES += "orc" +RPROVIDES_orc += "orc" +# the PROVIDES rules is ignore "orc-devel = 0.4.16" +PROVIDES += "orc-devel" +RPROVIDES_orc += "orc-devel" +RPROVIDES_orc += "orc-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of orc +DEPENDS += "libxslt" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/orc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --disable-gtk-doc + make -j16 + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # These are some examples that seem not to make sense to be distributed + rm -rf ${D}/usr/lib/orc + + + +} + +PACKAGES = "" +PACKAGES += "orc-doc" +PACKAGES += "liborc" +PACKAGES += "orc" + +orc-doc_files = "" +orc-doc_files += "orc.manifest" +orc-doc_files += "/usr/share/gtk-doc/html/orc/" + +liborc_files = "" +liborc_files += "orc.manifest" +liborc_files += "/usr/lib/liborc*-0.4.so.*" + +orc_files = "" +orc_files += "orc.manifest" +orc_files += "/usr/bin/orc-bugreport" +orc_files += "/usr/bin/orcc" +orc_files += "/usr/include/orc-0.4/" +orc_files += "/usr/lib/*.so" +orc_files += "/usr/lib/pkgconfig/orc-0.4.pc" +orc_files += "/usr/share/aclocal/orc.m4" + +FILES_${PN}-doc = "${orc-doc_files}" +FILES_lib${PN} = "${liborc_files}" +FILES_${PN} = "${orc_files}" + +PKG_orc-doc= "orc-doc" +PKG_liborc= "liborc" +PKG_orc= "orc" + +require orc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/orc/orc_git.bb b/meta-tizen/recipes-tizen/orc/orc_git.bb new file mode 100644 index 0000000..db697e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/orc/orc_git.bb @@ -0,0 +1,8 @@ +require orc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/orc;protocol=ssh;tag=5d5416310f19fa5a3307a110d4975e74f5690219;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/p11-kit/p11-kit-extraconf.inc b/meta-tizen/recipes-tizen/p11-kit/p11-kit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/p11-kit/p11-kit-native_git.bb b/meta-tizen/recipes-tizen/p11-kit/p11-kit-native_git.bb new file mode 100644 index 0000000..3d45ddc --- /dev/null +++ b/meta-tizen/recipes-tizen/p11-kit/p11-kit-native_git.bb @@ -0,0 +1,12 @@ +require p11-kit.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/p11-kit;protocol=ssh;tag=be63827d2b3b23e2635892f42de820524e44e252;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/p11-kit/p11-kit.inc b/meta-tizen/recipes-tizen/p11-kit/p11-kit.inc new file mode 100644 index 0000000..ac0fb4b --- /dev/null +++ b/meta-tizen/recipes-tizen/p11-kit/p11-kit.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Library to work with PKCS#11 modules" +HOMEPAGE = "http://p11-glue.freedesktop.org/p11-kit.html" +SECTION = "Security/Crypto Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by p11-kit-tools +PROVIDES += "p11-kit-tools" +RPROVIDES_p11-kit-tools += "p11-kit-tools" + +#PROVIDES by libp11-kit +PROVIDES += "libp11-kit" +RPROVIDES_libp11-kit += "libp11-kit" + +#PROVIDES by p11-kit-devel +PROVIDES += "p11-kit-devel" +RPROVIDES_p11-kit-devel += "p11-kit-devel" +RPROVIDES_p11-kit-devel += "p11-kit-dev" + +#PROVIDES by p11-kit +PROVIDES += "p11-kit" +RPROVIDES_p11-kit += "p11-kit" + +RDEPENDS = "" +#RDEPENDS of p11-kit-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libp11-kit" + + +DEPENDS = "" +#DEPENDS of p11-kit +DEPENDS += "libtasn1" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/p11-kit.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-trust-paths=/etc/ssl/ + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # Create pkcs11 config directory + test ! -e ${D}/etc/pkcs11/modules + install -d ${D}/etc/pkcs11/modules + # Remove sample config away to doc folder. Having the sample there would conflict + # with future versions of the library on file level. As replacement, we package + # the file as documentation file. + rm ${D}/etc/pkcs11/pkcs11.conf.example + + +} + +PACKAGES = "" +PACKAGES += "p11-kit-tools" +PACKAGES += "libp11-kit" +PACKAGES += "p11-kit-devel" + +p11-kit-tools_files = "" +p11-kit-tools_files += "p11-kit.manifest" +p11-kit-tools_files += "/usr/bin/p11-kit" + +libp11-kit_files = "" +libp11-kit_files += "p11-kit.manifest" +libp11-kit_files += "p11-kit/pkcs11.conf.example" +libp11-kit_files += "/etc/pkcs11" +libp11-kit_files += "/etc/pkcs11/modules/" +libp11-kit_files += "/usr/lib/libp11-kit.so.*" +libp11-kit_files += "/usr/lib/p11-kit-proxy.so" +libp11-kit_files += "/usr/lib/pkcs11" +libp11-kit_files += "/usr/lib/p11-kit" +libp11-kit_files += "/usr/lib/pkcs11/p11-kit-trust.so" +libp11-kit_files += "/usr/lib/p11-kit/p11-kit-extract-trust" +libp11-kit_files += "/usr/share/p11-kit" +libp11-kit_files += "/usr/share/p11-kit/modules" +libp11-kit_files += "/usr/share/p11-kit/modules/p11-kit-trust.module" + +p11-kit-devel_files = "" +p11-kit-devel_files += "p11-kit.manifest" +p11-kit-devel_files += "/usr/include/p11-kit-1/" +p11-kit-devel_files += "/usr/lib/libp11-kit.so" +p11-kit-devel_files += "/usr/lib/pkgconfig/p11-kit-1.pc" +p11-kit-devel_files += "%dir /usr/share/gtk-doc" +p11-kit-devel_files += "%dir /usr/share/gtk-doc/html" +p11-kit-devel_files += "/usr/share/gtk-doc/html/p11-kit/" + +FILES_${PN}-tools = "${p11-kit-tools_files}" +FILES_lib${PN} = "${libp11-kit_files}" +FILES_${PN}-devel = "${p11-kit-devel_files}" + +PKG_p11-kit-tools= "p11-kit-tools" +PKG_libp11-kit= "libp11-kit" +PKG_p11-kit-devel= "p11-kit-devel" + +require p11-kit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/p11-kit/p11-kit_git.bb b/meta-tizen/recipes-tizen/p11-kit/p11-kit_git.bb new file mode 100644 index 0000000..0ebbc0f --- /dev/null +++ b/meta-tizen/recipes-tizen/p11-kit/p11-kit_git.bb @@ -0,0 +1,8 @@ +require p11-kit.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/p11-kit;protocol=ssh;tag=be63827d2b3b23e2635892f42de820524e44e252;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/package-groups/package-groups-extraconf.inc b/meta-tizen/recipes-tizen/package-groups/package-groups-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/package-groups/package-groups.inc b/meta-tizen/recipes-tizen/package-groups/package-groups.inc new file mode 100644 index 0000000..48d398e --- /dev/null +++ b/meta-tizen/recipes-tizen/package-groups/package-groups.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "Tizen Package Groups" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "package-groups" + +package-groups_files = "" +package-groups_files += "package-groups.manifest" +package-groups_files += "/usr/share/package-groups/*.xml" + +FILES_${PN} = "${package-groups_files}" + +PKG_package-groups= "package-groups" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require package-groups-rdepends.inc +require package-groups-depends.inc +require package-groups-extraconf.inc diff --git a/meta-tizen/recipes-tizen/package-manager/package-manager-extraconf.inc b/meta-tizen/recipes-tizen/package-manager/package-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/package-manager/package-manager-native_git.bb b/meta-tizen/recipes-tizen/package-manager/package-manager-native_git.bb new file mode 100644 index 0000000..4698eb9 --- /dev/null +++ b/meta-tizen/recipes-tizen/package-manager/package-manager-native_git.bb @@ -0,0 +1,12 @@ +require package-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/package-manager;protocol=ssh;tag=de185961fecf4a6b72e072e0c430e59a9ee60be0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/package-manager/package-manager.inc b/meta-tizen/recipes-tizen/package-manager/package-manager.inc new file mode 100644 index 0000000..a237a98 --- /dev/null +++ b/meta-tizen/recipes-tizen/package-manager/package-manager.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Package Manager API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-appfw-package-manager-devel +PROVIDES += "capi-appfw-package-manager-devel" +RPROVIDES_capi-appfw-package-manager-devel += "capi-appfw-package-manager-devel" +RPROVIDES_capi-appfw-package-manager-devel += "capi-appfw-package-manager-dev" + +#PROVIDES by capi-appfw-package-manager +PROVIDES += "capi-appfw-package-manager" +RPROVIDES_capi-appfw-package-manager += "capi-appfw-package-manager" + +RDEPENDS = "" +#RDEPENDS of capi-appfw-package-manager-devel (capi-appfw-${PN}-devel) +RDEPENDS_capi-appfw-${PN}-devel += "capi-appfw-package-manager" + + +DEPENDS = "" +#DEPENDS of capi-appfw-package-manager +DEPENDS += "cmake" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(pkgmgr)" +DEPENDS += "ail" +DEPENDS += "pkgconfig(pkgmgr-info)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-package-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.0.29 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.0.29 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-appfw-package-manager-devel" +PACKAGES += "capi-appfw-package-manager" + +capi-appfw-package-manager-devel_files = "" +capi-appfw-package-manager-devel_files += "capi-appfw-package-manager.manifest" +capi-appfw-package-manager-devel_files += "/usr/include/appfw/package_manager.h" +capi-appfw-package-manager-devel_files += "/usr/include/appfw/package_info.h" +capi-appfw-package-manager-devel_files += "/usr/lib/libcapi-appfw-package-manager.so" +capi-appfw-package-manager-devel_files += "/usr/lib/pkgconfig/*.pc" + +capi-appfw-package-manager_files = "" +capi-appfw-package-manager_files += "capi-appfw-package-manager.manifest" +capi-appfw-package-manager_files += "/usr/lib/libcapi-appfw-package-manager.so.*" +capi-appfw-package-manager_files += "/usr/bin/pkgmgr_tool" + +FILES_${PN}-devel = "${capi-appfw-package-manager-devel_files}" +FILES_${PN} = "${capi-appfw-package-manager_files}" + +PKG_capi-appfw-package-manager-devel= "capi-appfw-package-manager-devel" +PKG_capi-appfw-package-manager= "capi-appfw-package-manager" + +require package-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/package-manager/package-manager_git.bb b/meta-tizen/recipes-tizen/package-manager/package-manager_git.bb new file mode 100644 index 0000000..3d0a3ae --- /dev/null +++ b/meta-tizen/recipes-tizen/package-manager/package-manager_git.bb @@ -0,0 +1,8 @@ +require package-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/package-manager;protocol=ssh;tag=de185961fecf4a6b72e072e0c430e59a9ee60be0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pacrunner/pacrunner-extraconf.inc b/meta-tizen/recipes-tizen/pacrunner/pacrunner-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pacrunner/pacrunner-native_git.bb b/meta-tizen/recipes-tizen/pacrunner/pacrunner-native_git.bb new file mode 100644 index 0000000..2696e9d --- /dev/null +++ b/meta-tizen/recipes-tizen/pacrunner/pacrunner-native_git.bb @@ -0,0 +1,12 @@ +require pacrunner.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pacrunner;protocol=ssh;tag=21cfe915c85b24f98678e19c979cc61c49a0e159;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pacrunner/pacrunner.inc b/meta-tizen/recipes-tizen/pacrunner/pacrunner.inc new file mode 100644 index 0000000..4d43b5b --- /dev/null +++ b/meta-tizen/recipes-tizen/pacrunner/pacrunner.inc @@ -0,0 +1,180 @@ +DESCRIPTION = "Proxy configuration daemon" +HOMEPAGE = "http://connman.net/" +SECTION = "Connectivity/Connection Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pacrunner-test +PROVIDES += "pacrunner-test" +RPROVIDES_pacrunner-test += "pacrunner-test" + +#PROVIDES by pacrunner-proxy-tools +PROVIDES += "pacrunner-proxy-tools" +RPROVIDES_pacrunner-proxy-tools += "pacrunner-proxy-tools" + +#PROVIDES by pacrunner-libproxy-devel +PROVIDES += "pacrunner-libproxy-devel" +RPROVIDES_pacrunner-libproxy-devel += "pacrunner-libproxy-devel" +RPROVIDES_pacrunner-libproxy-devel += "pacrunner-libproxy-dev" +# the PROVIDES rules is ignore "libproxy-devel <= 0.4.11-2" +PROVIDES += "libproxy-devel" +RPROVIDES_pacrunner-libproxy-devel += "libproxy-devel" +RPROVIDES_pacrunner-libproxy-devel += "libproxy-dev" + +#PROVIDES by pacrunner-libproxy +PROVIDES += "pacrunner-libproxy" +RPROVIDES_pacrunner-libproxy += "pacrunner-libproxy" +# the PROVIDES rules is ignore "libproxy <= 0.4.11-2" +PROVIDES += "libproxy" +RPROVIDES_pacrunner-libproxy += "libproxy" +# the PROVIDES rules is ignore "libproxy-pacrunner-webkit <= 0.4.11-2" +PROVIDES += "libproxy-pacrunner-webkit" +RPROVIDES_pacrunner-libproxy += "libproxy-pacrunner-webkit" + +#PROVIDES by pacrunner +PROVIDES += "pacrunner" +RPROVIDES_pacrunner += "pacrunner" + +RDEPENDS = "" +#RDEPENDS of pacrunner-test (${PN}-test) +RDEPENDS_${PN}-test += "pacrunner" + +#RDEPENDS of pacrunner-proxy-tools (${PN}-proxy-tools) +RDEPENDS_${PN}-proxy-tools += "pacrunner-libproxy" + +#RDEPENDS of pacrunner-libproxy (${PN}-libproxy) +RDEPENDS_${PN}-libproxy += "pacrunner" + +#RDEPENDS of pacrunner-libproxy-devel (${PN}-libproxy-devel) +RDEPENDS_${PN}-libproxy-devel += "pacrunner-libproxy" + + +DEPENDS = "" +#DEPENDS of pacrunner +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "v8-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pacrunner.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-v8 \ + --enable-libproxy \ + --enable-curl \ + --enable-test + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "pacrunner-test" +PACKAGES += "pacrunner-proxy-tools" +PACKAGES += "pacrunner" +PACKAGES += "pacrunner-libproxy" +PACKAGES += "pacrunner-libproxy-devel" + +pacrunner-test_files = "" +pacrunner-test_files += "pacrunner.manifest" +pacrunner-test_files += "/usr/lib/pacrunner/test/create-proxy-config" +pacrunner-test_files += "/usr/lib/pacrunner/test/find-proxy-for-url" +pacrunner-test_files += "/usr/bin/manual-proxy-test" + +pacrunner-proxy-tools_files = "" +pacrunner-proxy-tools_files += "pacrunner.manifest" +pacrunner-proxy-tools_files += "/usr/bin/proxy" + +pacrunner_files = "" +pacrunner_files += "pacrunner.manifest" +pacrunner_files += "/etc/dbus-1/system.d/pacrunner.conf" +pacrunner_files += "/usr/sbin/pacrunner" +pacrunner_files += "/usr/share/dbus-1/system-services/org.pacrunner.service" + +pacrunner-libproxy_files = "" +pacrunner-libproxy_files += "pacrunner.manifest" +pacrunner-libproxy_files += "/usr/lib/libproxy.so.*" + +pacrunner-libproxy-devel_files = "" +pacrunner-libproxy-devel_files += "pacrunner.manifest" +pacrunner-libproxy-devel_files += "/usr/include/proxy.h" +pacrunner-libproxy-devel_files += "/usr/lib/libproxy.so" +pacrunner-libproxy-devel_files += "/usr/lib/pkgconfig/libproxy-1.0.pc" + +FILES_${PN}-test = "${pacrunner-test_files}" +FILES_${PN}-proxy-tools = "${pacrunner-proxy-tools_files}" +FILES_${PN} = "${pacrunner_files}" +FILES_${PN}-libproxy = "${pacrunner-libproxy_files}" +FILES_${PN}-libproxy-devel = "${pacrunner-libproxy-devel_files}" + +PKG_pacrunner-test= "pacrunner-test" +PKG_pacrunner-proxy-tools= "pacrunner-proxy-tools" +PKG_pacrunner= "pacrunner" +PKG_pacrunner-libproxy= "pacrunner-libproxy" +PKG_pacrunner-libproxy-devel= "pacrunner-libproxy-devel" + +require pacrunner-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pacrunner/pacrunner_git.bb b/meta-tizen/recipes-tizen/pacrunner/pacrunner_git.bb new file mode 100644 index 0000000..6a0c59a --- /dev/null +++ b/meta-tizen/recipes-tizen/pacrunner/pacrunner_git.bb @@ -0,0 +1,8 @@ +require pacrunner.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pacrunner;protocol=ssh;tag=21cfe915c85b24f98678e19c979cc61c49a0e159;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pam/pam-extraconf.inc b/meta-tizen/recipes-tizen/pam/pam-extraconf.inc new file mode 100644 index 0000000..9564e9d --- /dev/null +++ b/meta-tizen/recipes-tizen/pam/pam-extraconf.inc @@ -0,0 +1 @@ +DEPENDS += "libtool-native" \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/pam/pam-native_git.bb b/meta-tizen/recipes-tizen/pam/pam-native_git.bb new file mode 100644 index 0000000..967ae34 --- /dev/null +++ b/meta-tizen/recipes-tizen/pam/pam-native_git.bb @@ -0,0 +1,12 @@ +require pam.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pam;protocol=ssh;tag=f879c183094dea0636c195bd96b96c2c00f32559;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pam/pam.inc b/meta-tizen/recipes-tizen/pam/pam.inc new file mode 100644 index 0000000..33c1ee2 --- /dev/null +++ b/meta-tizen/recipes-tizen/pam/pam.inc @@ -0,0 +1,261 @@ +DESCRIPTION = "PAM" +HOMEPAGE = "http://www.linux-pam.org/" +SECTION = "Security/Access Control" +LICENSE = "GPL-2.0+ or BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pam-modules-extra +PROVIDES += "pam-modules-extra" +RPROVIDES_pam-modules-extra += "pam-modules-extra" + +#PROVIDES by pam-docs +PROVIDES += "pam-docs " +RPROVIDES_pam-docs += "pam-docs " + +#PROVIDES by pam-locale +PROVIDES += "pam-locale " +RPROVIDES_pam-locale += "pam-locale " +# the PROVIDES rules is ignore "pam-lang-all = 1.1.6" +PROVIDES += "pam-lang-all" +RPROVIDES_pam-locale += "pam-lang-all" + +#PROVIDES by pam +PROVIDES += "pam" +RPROVIDES_pam += "pam" + +#PROVIDES by pam-devel +PROVIDES += "pam-devel" +RPROVIDES_pam-devel += "pam-devel" +RPROVIDES_pam-devel += "pam-dev" + +RDEPENDS = "" +#RDEPENDS of pam-modules-extra (${PN}-modules-extra) +RDEPENDS_${PN}-modules-extra += "pam" + +#RDEPENDS of pam-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "pam" + +#RDEPENDS of pam (${PN}) +RDEPENDS_${PN} += "/usr/bin/install" +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of pam-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pam" + + +DEPENDS = "" +#DEPENDS of pam +DEPENDS += "zlib-devel" +DEPENDS += "flex" +DEPENDS += "gcc-cross" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "automake-native" +DEPENDS += "bison-native" +DEPENDS += "net-tools" +DEPENDS += "smack-devel" +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" +DEPENDS += "db4" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Linux-PAM-1.1.6 + cp ${S}/packaging/pam.manifest . + + libtoolize -f #--copy --force && aclocal && autoheader + autoreconf + + +} + +do_configure() { +} + +do_compile() { + 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="-fPIC -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables " ; export CFLAGS + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --includedir=/usr/include/security \ + --enable-isadir=../../usr/lib/security \ + --disable-audit \ + --with-db-uniquename=_pam \ + --with-libiconv-prefix=/usr \ + --enable-read-both-confs && + + make CFLAGS="$CFLAGS -lfl -lcrypt" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # RPM uses docs from source tree + rm -rf ${D}/usr/share/doc/Linux-PAM + # Included in setup package + rm -f ${D}/etc/environment + + for phase in auth acct passwd session ; do + ln -sf pam_unix.so ${D}/usr/lib/security/pam_unix_${phase}.so + done + + # Install default pam configuration files + install -d -m 0755 ${D}/etc/pam.d + install -m 0644 ${S}/packaging/system-auth ${D}/etc/pam.d/ + install -m 0644 ${S}/packaging/other ${D}/etc/pam.d/ + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} Linux-PAM + + +} + +PACKAGES = "" +PACKAGES += "pam-modules-extra" +PACKAGES += "pam-devel" +PACKAGES += "pam" +PACKAGES += "pam-docs" +PACKAGES += "pam-locale" + +pam-modules-extra_files = "" +pam-modules-extra_files += "pam.manifest" +pam-modules-extra_files += "/usr/lib/security/pam_access.so" +pam-modules-extra_files += "/usr/lib/security/pam_debug.so" +pam-modules-extra_files += "/usr/lib/security/pam_echo.so" +pam-modules-extra_files += "/usr/lib/security/pam_exec.so" +pam-modules-extra_files += "/usr/lib/security/pam_faildelay.so" +pam-modules-extra_files += "/usr/lib/security/pam_filter.so" +pam-modules-extra_files += "/usr/lib/security/pam_ftp.so" +pam-modules-extra_files += "/usr/lib/security/pam_group.so" +pam-modules-extra_files += "/usr/lib/security/pam_issue.so" +pam-modules-extra_files += "/usr/lib/security/pam_listfile.so" +pam-modules-extra_files += "/usr/lib/security/pam_localuser.so" +pam-modules-extra_files += "/usr/lib/security/pam_mail.so" +pam-modules-extra_files += "/usr/lib/security/pam_motd.so" +pam-modules-extra_files += "/usr/lib/security/pam_pwhistory.so" +pam-modules-extra_files += "/usr/lib/security/pam_rhosts.so" +pam-modules-extra_files += "/usr/lib/security/pam_shells.so" +pam-modules-extra_files += "/usr/lib/security/pam_stress.so" +pam-modules-extra_files += "/usr/lib/security/pam_tally.so" +pam-modules-extra_files += "/usr/lib/security/pam_time.so" +pam-modules-extra_files += "/usr/lib/security/pam_timestamp.so" +pam-modules-extra_files += "/usr/lib/security/pam_umask.so" +pam-modules-extra_files += "/usr/lib/security/pam_unix_acct.so" +pam-modules-extra_files += "/usr/lib/security/pam_unix_auth.so" +pam-modules-extra_files += "/usr/lib/security/pam_unix_passwd.so" +pam-modules-extra_files += "/usr/lib/security/pam_unix_session.so" +pam-modules-extra_files += "/usr/lib/security/pam_warn.so" +pam-modules-extra_files += "/usr/lib/security/pam_smack.so" + +pam-devel_files = "" +pam-devel_files += "pam.manifest" +pam-devel_files += "/usr/include/security/*" +pam-devel_files += "/usr/lib/libpam.so" +pam-devel_files += "/usr/lib/libpam_misc.so" +pam-devel_files += "/usr/lib/libpamc.so" +pam-devel_files += "/usr/lib/security/pam_tally2.so" + +pam_files = "" +pam_files += "pam.manifest" +pam_files += "/sbin/pam_tally" +pam_files += "/sbin/pam_tally2" +pam_files += "/etc/security/limits.conf" +pam_files += "/usr/lib/libpam.so.*" +pam_files += "/usr/lib/libpam_misc.so.*" +pam_files += "/usr/lib/libpamc.so.*" +pam_files += "/usr/lib/security" +pam_files += "/usr/lib/security/pam_deny.so" +pam_files += "/usr/lib/security/pam_env.so" +pam_files += "/usr/lib/security/pam_keyinit.so" +pam_files += "/usr/lib/security/pam_limits.so" +pam_files += "/usr/lib/security/pam_loginuid.so" +pam_files += "/usr/lib/security/pam_namespace.so" +pam_files += "/usr/lib/security/pam_nologin.so" +pam_files += "/usr/lib/security/pam_permit.so" +pam_files += "/usr/lib/security/pam_lastlog.so" +pam_files += "/usr/lib/security/pam_rootok.so" +pam_files += "/usr/lib/security/pam_securetty.so" +pam_files += "/usr/lib/security/pam_succeed_if.so" +pam_files += "/usr/lib/security/pam_unix.so" +pam_files += "/usr/lib/security/pam_wheel.so" +pam_files += "/usr/lib/security/pam_xauth.so" +pam_files += "/usr/lib/security/pam_filter" +pam_files += "/usr/lib/security/pam_mkhomedir.so" +pam_files += "/etc/security" +pam_files += "/etc/security/access.conf" +pam_files += "/etc/security/group.conf" +pam_files += "/etc/security/namespace.conf" +pam_files += "/etc/security/pam_env.conf" +pam_files += "/etc/security/time.conf" +pam_files += "/etc/pam.d" +pam_files += "/etc/pam.d/system-auth" +pam_files += "/etc/pam.d/other" + +pam-docs_files = "" +pam-docs_files += "/usr/share/info" +pam-docs_files += "/usr/share/man" + +pam-locale_files = "" + +FILES_${PN}-modules-extra = "${pam-modules-extra_files}" +FILES_${PN}-devel = "${pam-devel_files}" +FILES_${PN} = "${pam_files}" +FILES_${PN}-docs = "${pam-docs_files}" +FILES_${PN}-locale = "${pam-locale_files}" + +PKG_pam-modules-extra= "pam-modules-extra" +PKG_pam-devel= "pam-devel" +PKG_pam= "pam" +PKG_pam-docs= "pam-docs" +PKG_pam-locale= "pam-locale" + +require pam-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pam/pam_git.bb b/meta-tizen/recipes-tizen/pam/pam_git.bb new file mode 100644 index 0000000..74582ac --- /dev/null +++ b/meta-tizen/recipes-tizen/pam/pam_git.bb @@ -0,0 +1,8 @@ +require pam.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pam;protocol=ssh;tag=f879c183094dea0636c195bd96b96c2c00f32559;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pango/pango-extraconf.inc b/meta-tizen/recipes-tizen/pango/pango-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pango/pango-native_git.bb b/meta-tizen/recipes-tizen/pango/pango-native_git.bb new file mode 100644 index 0000000..7b508a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/pango/pango-native_git.bb @@ -0,0 +1,12 @@ +require pango.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pango;protocol=ssh;tag=3e3d02e93fa86733b9185c7677dc25a61c9afd32;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pango/pango.inc b/meta-tizen/recipes-tizen/pango/pango.inc new file mode 100644 index 0000000..40c2210 --- /dev/null +++ b/meta-tizen/recipes-tizen/pango/pango.inc @@ -0,0 +1,195 @@ +DESCRIPTION = "Library for Layout and Rendering of Text" +HOMEPAGE = "http://www.pango.org/" +SECTION = "System/i18n" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pango-tools +PROVIDES += "pango-tools" +RPROVIDES_pango-tools += "pango-tools" + +#PROVIDES by pango-docs +PROVIDES += "pango-docs " +RPROVIDES_pango-docs += "pango-docs " + +#PROVIDES by typelib-Pango +PROVIDES += "typelib-Pango" +RPROVIDES_typelib-Pango += "typelib-Pango" + +#PROVIDES by pango-devel +PROVIDES += "pango-devel" +RPROVIDES_pango-devel += "pango-devel" +RPROVIDES_pango-devel += "pango-dev" + +#PROVIDES by pango +PROVIDES += "pango" +RPROVIDES_pango += "pango" + +#PROVIDES by libpango +PROVIDES += "libpango" +RPROVIDES_libpango += "libpango" +# the PROVIDES rules is ignore "pango = 1.34.1" +PROVIDES += "pango" +RPROVIDES_libpango += "pango" + +#PROVIDES by pango-module-thai-lang +PROVIDES += "pango-module-thai-lang" +RPROVIDES_pango-module-thai-lang += "pango-module-thai-lang" +# the PROVIDES rules is ignore "locale(pango:th_TH) " +PROVIDES += "locale(pango:th_TH)" +RPROVIDES_pango-module-thai-lang += "locale(pango:th_TH)" + +RDEPENDS = "" +#RDEPENDS of pango-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpango" + +#RDEPENDS of pango-module-thai-lang (${PN}-module-thai-lang) +RDEPENDS_${PN}-module-thai-lang += "pango-tools" + +#RDEPENDS of libpango (lib${PN}) +RDEPENDS_lib${PN} += "pango-tools" + + +DEPENDS = "" +#DEPENDS of pango +DEPENDS += "gcc-cross" +DEPENDS += "freetype2" +DEPENDS += "pkgconfig(fontconfig)" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "pkgconfig-native" +DEPENDS += "harfbuzz" +DEPENDS += "pkgconfig(libthai)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pango.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/etc/pango/ + touch ${D}/usr/lib/pango/1.8.0/pango.modules + # Install rpm macros + mkdir -p ${D}/etc/rpm + cp ${S}/packaging/macros.pango ${D}/etc/rpm + # Convenient %define for the scriplets + + +} + +PACKAGES = "" +PACKAGES += "pango-devel" +PACKAGES += "pango-module-thai-lang" +PACKAGES += "libpango" +PACKAGES += "pango-tools" +PACKAGES += "pango-docs" + +pango-devel_files = "" +pango-devel_files += "pango.manifest" +pango-devel_files += "/usr/lib/lib*.so" +pango-devel_files += "/usr/lib/pkgconfig/*.pc" +pango-devel_files += "/usr/include/pango-1.0/" +pango-devel_files += "/etc/rpm/macros.pango" + +pango-module-thai-lang_files = "" +pango-module-thai-lang_files += "pango.manifest" +pango-module-thai-lang_files += "/usr/lib/pango/1.8.0/modules/pango-thai-lang.so" + +libpango_files = "" +libpango_files += "pango.manifest" +libpango_files += "/usr/lib/pango" +libpango_files += "/usr/lib/pango/1.8.0" +libpango_files += "/usr/lib/pango/1.8.0/modules" +libpango_files += "/usr/lib/pango/1.8.0/modules/pango-arabic-lang.so" +libpango_files += "/usr/lib/pango/1.8.0/modules/pango-basic-fc.so" +libpango_files += "/usr/lib/pango/1.8.0/modules/pango-indic-lang.so" +libpango_files += "/usr/lib/lib*.so.*" +libpango_files += "/etc/pango" + +pango-tools_files = "" +pango-tools_files += "pango.manifest" +pango-tools_files += "/usr/bin/pango-querymodules*" +pango-tools_files += "/usr/bin/pango-view" + +pango-docs_files = "" +pango-docs_files += "/usr/share/info" +pango-docs_files += "/usr/share/man" +pango-docs_files += "" + +FILES_${PN}-devel = "${pango-devel_files}" +FILES_${PN}-module-thai-lang = "${pango-module-thai-lang_files}" +FILES_lib${PN} = "${libpango_files}" +FILES_${PN}-tools = "${pango-tools_files}" +FILES_${PN}-docs = "${pango-docs_files}" + +PKG_pango-devel= "pango-devel" +PKG_pango-module-thai-lang= "pango-module-thai-lang" +PKG_libpango= "libpango" +PKG_pango-tools= "pango-tools" +PKG_pango-docs= "pango-docs" + +require pango-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pango/pango_git.bb b/meta-tizen/recipes-tizen/pango/pango_git.bb new file mode 100644 index 0000000..f4b9f86 --- /dev/null +++ b/meta-tizen/recipes-tizen/pango/pango_git.bb @@ -0,0 +1,8 @@ +require pango.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pango;protocol=ssh;tag=3e3d02e93fa86733b9185c7677dc25a61c9afd32;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/parted/parted-extraconf.inc b/meta-tizen/recipes-tizen/parted/parted-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/parted/parted-native_git.bb b/meta-tizen/recipes-tizen/parted/parted-native_git.bb new file mode 100644 index 0000000..970562d --- /dev/null +++ b/meta-tizen/recipes-tizen/parted/parted-native_git.bb @@ -0,0 +1,12 @@ +require parted.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/parted;protocol=ssh;tag=c55a46ef685aebb1c11aae738d515b9ba5a68016;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/parted/parted.inc b/meta-tizen/recipes-tizen/parted/parted.inc new file mode 100644 index 0000000..8cbf65a --- /dev/null +++ b/meta-tizen/recipes-tizen/parted/parted.inc @@ -0,0 +1,156 @@ +DESCRIPTION = "The GNU disk partition manipulation program" +HOMEPAGE = "http://www.gnu.org/software/parted" +SECTION = "Applications/System" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by parted-docs +PROVIDES += "parted-docs " +RPROVIDES_parted-docs += "parted-docs " + +#PROVIDES by parted +PROVIDES += "parted" +RPROVIDES_parted += "parted" + +#PROVIDES by parted-locale +PROVIDES += "parted-locale " +RPROVIDES_parted-locale += "parted-locale " +# the PROVIDES rules is ignore "parted-lang-all = 3.1" +PROVIDES += "parted-lang-all" +RPROVIDES_parted-locale += "parted-lang-all" + +#PROVIDES by parted-devel +PROVIDES += "parted-devel" +RPROVIDES_parted-devel += "parted-devel" +RPROVIDES_parted-devel += "parted-dev" + +RDEPENDS = "" +#RDEPENDS of parted-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "parted" + +#RDEPENDS of parted-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "parted" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of parted +DEPENDS += "readline-devel" +DEPENDS += "ncurses" +DEPENDS += "texinfo-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libtool-cross" +DEPENDS += "e2fsprogs" +DEPENDS += "libuuid-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/parted.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --disable-device-mapper --with-readline --with-libdir=/usr/lib --exec-prefix=/usr + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} parted + + +} + +PACKAGES = "" +PACKAGES += "parted-devel" +PACKAGES += "parted-locale" +PACKAGES += "parted" +PACKAGES += "parted-docs" + +parted-devel_files = "" +parted-devel_files += "parted.manifest" +parted-devel_files += "/usr/include/parted" +parted-devel_files += "/usr/lib/libparted.so" +parted-devel_files += "/usr/lib/libparted-fs-resize.so" +parted-devel_files += "/usr/lib/pkgconfig/libparted.pc" + +parted-locale_files = "" + +parted_files = "" +parted_files += "parted.manifest" +parted_files += "/sbin/parted" +parted_files += "/sbin/partprobe" +parted_files += "/usr/lib/libparted*.so.*" + +parted-docs_files = "" +parted-docs_files += "/usr/share/info" +parted-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${parted-devel_files}" +FILES_${PN}-locale = "${parted-locale_files}" +FILES_${PN} = "${parted_files}" +FILES_${PN}-docs = "${parted-docs_files}" + +PKG_parted-devel= "parted-devel" +PKG_parted-locale= "parted-locale" +PKG_parted= "parted" +PKG_parted-docs= "parted-docs" + +require parted-extraconf.inc diff --git a/meta-tizen/recipes-tizen/parted/parted_git.bb b/meta-tizen/recipes-tizen/parted/parted_git.bb new file mode 100644 index 0000000..f478dfd --- /dev/null +++ b/meta-tizen/recipes-tizen/parted/parted_git.bb @@ -0,0 +1,8 @@ +require parted.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/parted;protocol=ssh;tag=c55a46ef685aebb1c11aae738d515b9ba5a68016;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/patch/patch-extraconf.inc b/meta-tizen/recipes-tizen/patch/patch-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/patch/patch-native_git.bb b/meta-tizen/recipes-tizen/patch/patch-native_git.bb new file mode 100644 index 0000000..a5fb88d --- /dev/null +++ b/meta-tizen/recipes-tizen/patch/patch-native_git.bb @@ -0,0 +1,12 @@ +require patch.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/patch;protocol=ssh;tag=b23e82b945254b1734a503989403b3bc706c9ede;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/patch/patch.inc b/meta-tizen/recipes-tizen/patch/patch.inc new file mode 100644 index 0000000..635cd63 --- /dev/null +++ b/meta-tizen/recipes-tizen/patch/patch.inc @@ -0,0 +1,101 @@ +DESCRIPTION = "The GNU patch command, for modifying/upgrading files" +HOMEPAGE = "http://www.gnu.org/software/patch/patch.html" +SECTION = "Development/Tools" +LICENSE = "GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by patch +PROVIDES += "patch" +RPROVIDES_patch += "patch" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/patch.manifest . + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_GNU_SOURCE" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "patch" + +patch_files = "" +patch_files += "patch.manifest" +patch_files += "/usr/bin/*" +patch_files += "/usr/share/man/*/*" + +FILES_${PN} = "${patch_files}" + +PKG_patch= "patch" + +require patch-extraconf.inc diff --git a/meta-tizen/recipes-tizen/patch/patch_git.bb b/meta-tizen/recipes-tizen/patch/patch_git.bb new file mode 100644 index 0000000..be0579b --- /dev/null +++ b/meta-tizen/recipes-tizen/patch/patch_git.bb @@ -0,0 +1,8 @@ +require patch.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/patch;protocol=ssh;tag=b23e82b945254b1734a503989403b3bc706c9ede;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/patchelf/patchelf-extraconf.inc b/meta-tizen/recipes-tizen/patchelf/patchelf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/patchelf/patchelf-native_git.bb b/meta-tizen/recipes-tizen/patchelf/patchelf-native_git.bb new file mode 100644 index 0000000..724327b --- /dev/null +++ b/meta-tizen/recipes-tizen/patchelf/patchelf-native_git.bb @@ -0,0 +1,12 @@ +require patchelf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/patchelf;protocol=ssh;tag=34472e50842c1462eb063abff391ae9c7abbdcba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/patchelf/patchelf.inc b/meta-tizen/recipes-tizen/patchelf/patchelf.inc new file mode 100644 index 0000000..5b55f87 --- /dev/null +++ b/meta-tizen/recipes-tizen/patchelf/patchelf.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "A utility for patching ELF binaries" +HOMEPAGE = "http://nixos.org/patchelf.html" +SECTION = "Development/Libraries/C and C++" +LICENSE = "GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by patchelf +PROVIDES += "patchelf" +RPROVIDES_patchelf += "patchelf" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of patchelf +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/patchelf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm ${D}/usr/share/doc/patchelf/README + + +} + +PACKAGES = "" +PACKAGES += "patchelf" + +patchelf_files = "" +patchelf_files += "patchelf.manifest" +patchelf_files += "README" +patchelf_files += "/usr/bin/*" +patchelf_files += "/usr/share/man/man*/patchelf.*" + +FILES_${PN} = "${patchelf_files}" + +PKG_patchelf= "patchelf" + +require patchelf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/patchelf/patchelf_git.bb b/meta-tizen/recipes-tizen/patchelf/patchelf_git.bb new file mode 100644 index 0000000..c6728a5 --- /dev/null +++ b/meta-tizen/recipes-tizen/patchelf/patchelf_git.bb @@ -0,0 +1,8 @@ +require patchelf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/patchelf;protocol=ssh;tag=34472e50842c1462eb063abff391ae9c7abbdcba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pattern-tools/pattern-tools-extraconf.inc b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pattern-tools/pattern-tools-native_git.bb b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools-native_git.bb new file mode 100644 index 0000000..8681411 --- /dev/null +++ b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools-native_git.bb @@ -0,0 +1,12 @@ +require pattern-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pattern-tools;protocol=ssh;tag=c5daa3aaf170968d9e8d436998a0a13dfd7f0c15;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pattern-tools/pattern-tools.inc b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools.inc new file mode 100644 index 0000000..24209aa --- /dev/null +++ b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "Pattern Tools" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pattern-tools +PROVIDES += "pattern-tools" +RPROVIDES_pattern-tools += "pattern-tools" + +RDEPENDS = "" +#RDEPENDS of pattern-tools (${PN}) +RDEPENDS_${PN} += "libxslt" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "python-yaml" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pattern-tools.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "pattern-tools" + +pattern-tools_files = "" +pattern-tools_files += "pattern-tools.manifest" +pattern-tools_files += "/usr/bin/merge-patterns" +pattern-tools_files += "/usr/share/package-groups/stylesheets/*.xsl" + +FILES_${PN} = "${pattern-tools_files}" + +PKG_pattern-tools= "pattern-tools" + +require pattern-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pattern-tools/pattern-tools_git.bb b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools_git.bb new file mode 100644 index 0000000..71851a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/pattern-tools/pattern-tools_git.bb @@ -0,0 +1,8 @@ +require pattern-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pattern-tools;protocol=ssh;tag=c5daa3aaf170968d9e8d436998a0a13dfd7f0c15;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pbzip2/pbzip2-extraconf.inc b/meta-tizen/recipes-tizen/pbzip2/pbzip2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pbzip2/pbzip2-native_git.bb b/meta-tizen/recipes-tizen/pbzip2/pbzip2-native_git.bb new file mode 100644 index 0000000..1fa9e5c --- /dev/null +++ b/meta-tizen/recipes-tizen/pbzip2/pbzip2-native_git.bb @@ -0,0 +1,12 @@ +require pbzip2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pbzip2;protocol=ssh;tag=b5f73dfa628887a6646cdf1f5ef259b7e87cd83d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pbzip2/pbzip2.inc b/meta-tizen/recipes-tizen/pbzip2/pbzip2.inc new file mode 100644 index 0000000..22de2ce --- /dev/null +++ b/meta-tizen/recipes-tizen/pbzip2/pbzip2.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "Parallel implementation of bzip2" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Other" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pbzip2 +PROVIDES += "pbzip2" +RPROVIDES_pbzip2 += "pbzip2" + +#PROVIDES by pbzip2-docs +PROVIDES += "pbzip2-docs " +RPROVIDES_pbzip2-docs += "pbzip2-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of pbzip2 +DEPENDS += "bzip2" +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pbzip2.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -Dm755 pbzip2 ${D}/usr/bin/pbzip2 + install -Dm644 pbzip2.1 ${D}/usr/share/man/man1/pbzip2.1 + ln -s pbzip2 ${D}/usr/bin/pbunzip2 + ln -s pbzip2 ${D}/usr/bin/pbzcat + + + +} + +PACKAGES = "" +PACKAGES += "pbzip2" +PACKAGES += "pbzip2-docs" + +pbzip2_files = "" +pbzip2_files += "pbzip2.manifest" +pbzip2_files += "/usr/bin/pbzip2" +pbzip2_files += "/usr/bin/pbunzip2" +pbzip2_files += "/usr/bin/pbzcat" + +pbzip2-docs_files = "" +pbzip2-docs_files += "/usr/share/info" +pbzip2-docs_files += "/usr/share/man" + +FILES_${PN} = "${pbzip2_files}" +FILES_${PN}-docs = "${pbzip2-docs_files}" + +PKG_pbzip2= "pbzip2" +PKG_pbzip2-docs= "pbzip2-docs" + +require pbzip2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pbzip2/pbzip2_git.bb b/meta-tizen/recipes-tizen/pbzip2/pbzip2_git.bb new file mode 100644 index 0000000..e38a530 --- /dev/null +++ b/meta-tizen/recipes-tizen/pbzip2/pbzip2_git.bb @@ -0,0 +1,8 @@ +require pbzip2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pbzip2;protocol=ssh;tag=b5f73dfa628887a6646cdf1f5ef259b7e87cd83d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pc-installer/pc-installer-extraconf.inc b/meta-tizen/recipes-tizen/pc-installer/pc-installer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pc-installer/pc-installer-native_git.bb b/meta-tizen/recipes-tizen/pc-installer/pc-installer-native_git.bb new file mode 100644 index 0000000..e82cbf2 --- /dev/null +++ b/meta-tizen/recipes-tizen/pc-installer/pc-installer-native_git.bb @@ -0,0 +1,12 @@ +require pc-installer.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pc-installer;protocol=ssh;tag=2e5cf8d04740ef39c21beab2b4ea5a2d332a320b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pc-installer/pc-installer.inc b/meta-tizen/recipes-tizen/pc-installer/pc-installer.inc new file mode 100644 index 0000000..6a6e93a --- /dev/null +++ b/meta-tizen/recipes-tizen/pc-installer/pc-installer.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "PC Installer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pc-installer +PROVIDES += "pc-installer" +RPROVIDES_pc-installer += "pc-installer" + +RDEPENDS = "" +#RDEPENDS of pc-installer (${PN}) +RDEPENDS_${PN} += "rsync" +RDEPENDS_${PN} += "gptfdisk" +RDEPENDS_${PN} += "dosfstools" +RDEPENDS_${PN} += "snapper" +RDEPENDS_${PN} += "plymouth" +RDEPENDS_${PN} += "syslinux-extlinux" +RDEPENDS_${PN} += "btrfs-progs" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pc-installer.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}//usr/sbin + install -d ${D}//etc/installer + install -d ${D}//lib/systemd/system + + install -m 0644 systemd/system-installer.service ${D}//lib/systemd/system + install -m 0775 scripts/system-installer ${D}//usr/sbin/system-installer + install -m 0775 scripts/installer-conf-creator ${D}//usr/sbin/installer-conf-creator + + +} + +PACKAGES = "" +PACKAGES += "pc-installer" + +pc-installer_files = "" +pc-installer_files += "pc-installer.manifest" +pc-installer_files += "/usr/sbin/system-installer" +pc-installer_files += "/usr/sbin/installer-conf-creator" +pc-installer_files += "/lib/systemd/system/system-installer.service" + +FILES_${PN} = "${pc-installer_files}" + +PKG_pc-installer= "pc-installer" + +require pc-installer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pc-installer/pc-installer_git.bb b/meta-tizen/recipes-tizen/pc-installer/pc-installer_git.bb new file mode 100644 index 0000000..986b059 --- /dev/null +++ b/meta-tizen/recipes-tizen/pc-installer/pc-installer_git.bb @@ -0,0 +1,8 @@ +require pc-installer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pc-installer;protocol=ssh;tag=2e5cf8d04740ef39c21beab2b4ea5a2d332a320b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pciutils/pciutils-extraconf.inc b/meta-tizen/recipes-tizen/pciutils/pciutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pciutils/pciutils-native_git.bb b/meta-tizen/recipes-tizen/pciutils/pciutils-native_git.bb new file mode 100644 index 0000000..682f794 --- /dev/null +++ b/meta-tizen/recipes-tizen/pciutils/pciutils-native_git.bb @@ -0,0 +1,12 @@ +require pciutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pciutils;protocol=ssh;tag=8a698d2538d424760dfbeba1341ef0748d98e9b3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pciutils/pciutils.inc b/meta-tizen/recipes-tizen/pciutils/pciutils.inc new file mode 100644 index 0000000..6cc413e --- /dev/null +++ b/meta-tizen/recipes-tizen/pciutils/pciutils.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "PCI utilities for Kernel version 2" +HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pciutils-docs +PROVIDES += "pciutils-docs " +RPROVIDES_pciutils-docs += "pciutils-docs " + +#PROVIDES by pciutils-devel +PROVIDES += "pciutils-devel" +RPROVIDES_pciutils-devel += "pciutils-devel" +RPROVIDES_pciutils-devel += "pciutils-dev" + +#PROVIDES by libpci +PROVIDES += "libpci" +RPROVIDES_libpci += "libpci" + +#PROVIDES by pciutils +PROVIDES += "pciutils" +RPROVIDES_pciutils += "pciutils" + +RDEPENDS = "" +#RDEPENDS of pciutils-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpci" + +#RDEPENDS of pciutils (${PN}) +RDEPENDS_${PN} += "pciutils-ids" + + +DEPENDS = "" +#DEPENDS of pciutils +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pciutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 OPT="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall" PREFIX=/usr LIBDIR=/usr/lib SBINDIR=/usr/sbin STRIP="" SHARED="yes" IDSDIR=/usr/share/hwdata + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install PREFIX=${D}/usr SBINDIR=${D}/usr/sbin \ + ROOT=${D}/ MANDIR=${D}//usr/share/man STRIP="" \ + SHARED="yes" LIBDIR=${D}//usr/lib IDSDIR=${D}//usr/share/hwdata + mkdir -p ${D}/usr/include/pci + cp -p lib/{pci,header,config,types}.h ${D}/usr/include/pci/ + rm -rf ${D}/usr/share/hwdata/pci.ids* + install -D -m 0644 lib/libpci.pc ${D}/usr/lib/pkgconfig/libpci.pc + ln -sf libpci.so.3 ${D}/usr/lib/libpci.so + + +} + +PACKAGES = "" +PACKAGES += "pciutils-docs" +PACKAGES += "pciutils-devel" +PACKAGES += "libpci" +PACKAGES += "pciutils" + +pciutils-docs_files = "" +pciutils-docs_files += "/usr/share/info" +pciutils-docs_files += "/usr/share/man" + +pciutils-devel_files = "" +pciutils-devel_files += "pciutils.manifest" +pciutils-devel_files += "/usr/include/pci/" +pciutils-devel_files += "/usr/lib/*.so" +pciutils-devel_files += "/usr/lib/pkgconfig/libpci.pc" + +libpci_files = "" +libpci_files += "pciutils.manifest" +libpci_files += "/usr/lib/libpci.so.*" + +pciutils_files = "" +pciutils_files += "pciutils.manifest" +pciutils_files += "/usr/sbin/*" + +FILES_${PN}-docs = "${pciutils-docs_files}" +FILES_${PN}-devel = "${pciutils-devel_files}" +FILES_libpci = "${libpci_files}" +FILES_${PN} = "${pciutils_files}" + +PKG_pciutils-docs= "pciutils-docs" +PKG_pciutils-devel= "pciutils-devel" +PKG_libpci= "libpci" +PKG_pciutils= "pciutils" + +require pciutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pciutils/pciutils_git.bb b/meta-tizen/recipes-tizen/pciutils/pciutils_git.bb new file mode 100644 index 0000000..02f5800 --- /dev/null +++ b/meta-tizen/recipes-tizen/pciutils/pciutils_git.bb @@ -0,0 +1,8 @@ +require pciutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pciutils;protocol=ssh;tag=8a698d2538d424760dfbeba1341ef0748d98e9b3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pcre/pcre-extraconf.inc b/meta-tizen/recipes-tizen/pcre/pcre-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pcre/pcre-native_git.bb b/meta-tizen/recipes-tizen/pcre/pcre-native_git.bb new file mode 100644 index 0000000..dee3f37 --- /dev/null +++ b/meta-tizen/recipes-tizen/pcre/pcre-native_git.bb @@ -0,0 +1,12 @@ +require pcre.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pcre;protocol=ssh;tag=9c2e8a728e754745e364793d1718dc219c522da0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pcre/pcre.inc b/meta-tizen/recipes-tizen/pcre/pcre.inc new file mode 100644 index 0000000..5e35184 --- /dev/null +++ b/meta-tizen/recipes-tizen/pcre/pcre.inc @@ -0,0 +1,214 @@ +DESCRIPTION = "A library for Perl-compatible regular expressions" +HOMEPAGE = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pcre +PROVIDES += "pcre" +RPROVIDES_pcre += "pcre" + +#PROVIDES by pcre-devel-static +PROVIDES += "pcre-devel-static" +RPROVIDES_pcre-devel-static += "pcre-devel-static" +RPROVIDES_pcre-devel-static += "pcre-dev" + +#PROVIDES by pcre-devel +PROVIDES += "pcre-devel" +RPROVIDES_pcre-devel += "pcre-devel" +RPROVIDES_pcre-devel += "pcre-dev" + +#PROVIDES by pcre-tools +PROVIDES += "pcre-tools" +RPROVIDES_pcre-tools += "pcre-tools" + +#PROVIDES by pcre-doc +PROVIDES += "pcre-doc" +RPROVIDES_pcre-doc += "pcre-doc" + +#PROVIDES by libpcreposix +PROVIDES += "libpcreposix" +RPROVIDES_libpcreposix += "libpcreposix" + +#PROVIDES by libpcre +PROVIDES += "libpcre" +RPROVIDES_libpcre += "libpcre" +# the PROVIDES rules is ignore "pcre = 8.31" +PROVIDES += "pcre" +RPROVIDES_libpcre += "pcre" + +#PROVIDES by libpcrecpp +PROVIDES += "libpcrecpp" +RPROVIDES_libpcrecpp += "libpcrecpp" + +RDEPENDS = "" +#RDEPENDS of pcre-devel-static (${PN}-devel-static) +RDEPENDS_${PN}-devel-static += "pcre-dev" + +#RDEPENDS of pcre-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpcre" +RDEPENDS_${PN}-devel += "libpcreposix" +RDEPENDS_${PN}-devel += "libpcrecpp" +RDEPENDS_${PN}-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of pcre +DEPENDS += "gcc-cross" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pcre.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # Available JIT archs see sljit/sljitConfig.h + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-jit \ + --enable-static \ + --with-link-size=2 \ + --with-match-limit=10000000 \ + --enable-newline-is-lf \ + --enable-utf8 \ + --enable-unicode-properties + make -j16 + + + exit 0 + export LANG=POSIX + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + mkdir -p ${D}//usr/share/doc/packages + mv ${D}/usr/share/doc/pcre ${D}//usr/share/doc/packages/pcre-doc + rm -f ${D}/usr/lib/*.la + + + +} + +PACKAGES = "" +PACKAGES += "pcre-devel-static" +PACKAGES += "pcre-devel" +PACKAGES += "pcre-tools" +PACKAGES += "pcre-doc" +PACKAGES += "libpcreposix" +PACKAGES += "libpcre" +PACKAGES += "libpcrecpp" + +pcre-devel-static_files = "" +pcre-devel-static_files += "pcre.manifest" +pcre-devel-static_files += "/usr/lib/*.a" + +pcre-devel_files = "" +pcre-devel_files += "pcre.manifest" +pcre-devel_files += "/usr/bin/pcre-config" +pcre-devel_files += "/usr/include/*" +pcre-devel_files += "/usr/lib/*.so" +pcre-devel_files += "/usr/lib/pkgconfig/libpcre.pc" +pcre-devel_files += "/usr/lib/pkgconfig/libpcrecpp.pc" +pcre-devel_files += "/usr/lib/pkgconfig/libpcreposix.pc" +pcre-devel_files += "/usr/share/man/man1/pcre-config.*" +pcre-devel_files += "/usr/share/man/man3/*.gz" + +pcre-tools_files = "" +pcre-tools_files += "pcre.manifest" +pcre-tools_files += "/usr/bin/pcregrep" +pcre-tools_files += "/usr/bin/pcretest" +pcre-tools_files += "/usr/share/man/man1/pcregrep.*" +pcre-tools_files += "/usr/share/man/man1/pcretest.*" + +pcre-doc_files = "" +pcre-doc_files += "pcre.manifest" +pcre-doc_files += "doc/html doc/*.txt" + +libpcreposix_files = "" +libpcreposix_files += "pcre.manifest" +libpcreposix_files += "/usr/lib/libpcreposix.so.*" + +libpcre_files = "" +libpcre_files += "pcre.manifest" +libpcre_files += "/usr/lib/libpcre.so.*" + +libpcrecpp_files = "" +libpcrecpp_files += "pcre.manifest" +libpcrecpp_files += "/usr/lib/libpcrecpp.so.*" + +FILES_${PN}-devel-static = "${pcre-devel-static_files}" +FILES_${PN}-devel = "${pcre-devel_files}" +FILES_${PN}-tools = "${pcre-tools_files}" +FILES_${PN}-doc = "${pcre-doc_files}" +FILES_lib${PN}posix = "${libpcreposix_files}" +FILES_lib${PN} = "${libpcre_files}" +FILES_lib${PN}cpp = "${libpcrecpp_files}" + +PKG_pcre-devel-static= "pcre-devel-static" +PKG_pcre-devel= "pcre-devel" +PKG_pcre-tools= "pcre-tools" +PKG_pcre-doc= "pcre-doc" +PKG_libpcreposix= "libpcreposix" +PKG_libpcre= "libpcre" +PKG_libpcrecpp= "libpcrecpp" + +require pcre-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pcre/pcre_git.bb b/meta-tizen/recipes-tizen/pcre/pcre_git.bb new file mode 100644 index 0000000..8c59376 --- /dev/null +++ b/meta-tizen/recipes-tizen/pcre/pcre_git.bb @@ -0,0 +1,8 @@ +require pcre.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pcre;protocol=ssh;tag=9c2e8a728e754745e364793d1718dc219c522da0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay-extraconf.inc b/meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay.inc b/meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay.inc new file mode 100644 index 0000000..7c97bac --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Crypt-SSLeay/perl-Crypt-SSLeay.inc @@ -0,0 +1,173 @@ +DESCRIPTION = "OpenSSL support for LWP" +HOMEPAGE = "http://search.cpan.org/dist/Crypt-SSLeay/" +SECTION = "Development/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Crypt-SSLeay +PROVIDES += "perl-Crypt-SSLeay" +RPROVIDES_perl-Crypt-SSLeay += "perl-Crypt-SSLeay" + +RDEPENDS = "" +#RDEPENDS of perl-Crypt-SSLeay (${PN}) +RDEPENDS_${PN} += "openssl" +RDEPENDS_${PN} += "perl(MIME::Base64)" + + +DEPENDS = "" +#DEPENDS of perl-Crypt-SSLeay +DEPENDS += "perl(MIME::Base64)" +DEPENDS += "openssl" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Crypt-SSLeay-0.64 + cp ${S}/packaging/perl-Crypt-SSLeay.manifest . + ### rpmlint + # wrong-file-end-of-line-encoding + /bin/perl -pi -e 's|\r\n|\n|' README + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CRYPT_SSLEAY_DEFAULT=/usr + /bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" + oe_runmake -j16 + + exit 0 + oe_runmake test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-Crypt-SSLeay.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Crypt-SSLeay" ]; then + fgen_file "/var/adm/perl-modules/perl-Crypt-SSLeay" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + + +} + +PACKAGES = "" +PACKAGES += "perl-Crypt-SSLeay" + +perl-Crypt-SSLeay_files = "" +perl-Crypt-SSLeay_files += "perl-Crypt-SSLeay.manifest" + +FILES_${PN} = "${perl-Crypt-SSLeay_files}" + +PKG_perl-Crypt-SSLeay= "perl-Crypt-SSLeay" + +require perl-Crypt-SSLeay-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-extraconf.inc b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-native_git.bb b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-native_git.bb new file mode 100644 index 0000000..45e06ed --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump-native_git.bb @@ -0,0 +1,12 @@ +require perl-Devel-Symdump.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Devel-Symdump;protocol=ssh;tag=97a914b7ae3cbb29947e4fb454581f09ada6d107;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump.inc b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump.inc new file mode 100644 index 0000000..a2ad380 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump.inc @@ -0,0 +1,168 @@ +DESCRIPTION = "Dump symbol names or the symbol table" +HOMEPAGE = "http://cpan.org/modules/by-module/Devel/" +SECTION = "Development/Libraries/Perl" +LICENSE = "Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Devel-Symdump +PROVIDES += "perl-Devel-Symdump" +RPROVIDES_perl-Devel-Symdump += "perl-Devel-Symdump" + +RDEPENDS = "" +#RDEPENDS of perl-Devel-Symdump (${PN}) +RDEPENDS_${PN} += "perl(Carp)" + + +DEPENDS = "" +#DEPENDS of perl-Devel-Symdump +DEPENDS += "perl(Test::Pod)" +DEPENDS += "perl(Test::More)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Devel-Symdump-2.08 + cp ${S}/packaging/perl-Devel-Symdump.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" perl Makefile.PL + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-Devel-Symdump.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Devel-Symdump" ]; then + fgen_file "/var/adm/perl-modules/perl-Devel-Symdump" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Devel-Symdump" + +perl-Devel-Symdump_files = "" +perl-Devel-Symdump_files += "perl-Devel-Symdump.manifest" +perl-Devel-Symdump_files += "ChangeLog SIGNATURE" + +FILES_${PN} = "${perl-Devel-Symdump_files}" + +PKG_perl-Devel-Symdump= "perl-Devel-Symdump" + +require perl-Devel-Symdump-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump_git.bb b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump_git.bb new file mode 100644 index 0000000..b6fbea8 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Devel-Symdump/perl-Devel-Symdump_git.bb @@ -0,0 +1,8 @@ +require perl-Devel-Symdump.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Devel-Symdump;protocol=ssh;tag=97a914b7ae3cbb29947e4fb454581f09ada6d107;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Error/perl-Error-extraconf.inc b/meta-tizen/recipes-tizen/perl-Error/perl-Error-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Error/perl-Error.inc b/meta-tizen/recipes-tizen/perl-Error/perl-Error.inc new file mode 100644 index 0000000..bc4c16b --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Error/perl-Error.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "Error/exception handling in an OO-ish way" +HOMEPAGE = "http://search.cpan.org/dist/Error/" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Error +PROVIDES += "perl-Error" +RPROVIDES_perl-Error += "perl-Error" + +RDEPENDS = "" +#RDEPENDS of perl-Error (${PN}) +RDEPENDS_${PN} += "perl(Scalar::Util)" +RDEPENDS_${PN} += "perl(warnings)" + + +DEPENDS = "" +#DEPENDS of perl-Error +DEPENDS += "perl(Scalar::Util)" +DEPENDS += "perl(warnings)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Error-0.17017 + cp ${S}/packaging/perl-Error.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Build.PL installdirs=vendor + ./Build build flags=-j16 + + exit 0 + ./Build test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + ./Build install destdir=${D} create_packlist=0 + + FILES=perl-Error.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Error" ]; then + fgen_file "/var/adm/perl-modules/perl-Error" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Error" + +perl-Error_files = "" +perl-Error_files += "perl-Error.manifest" +perl-Error_files += "ChangeLog examples README" + +FILES_${PN} = "${perl-Error_files}" + +PKG_perl-Error= "perl-Error" + +require perl-Error-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser-extraconf.inc b/meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser.inc b/meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser.inc new file mode 100644 index 0000000..c7b9dbe --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-HTML-Parser/perl-HTML-Parser.inc @@ -0,0 +1,173 @@ +DESCRIPTION = "Perl module for parsing HTML" +HOMEPAGE = "http://search.cpan.org/dist/HTML-Parser/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0+ or Artistic" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-HTML-Parser +PROVIDES += "perl-HTML-Parser" +RPROVIDES_perl-HTML-Parser += "perl-HTML-Parser" + +#PROVIDES by perl-HTML-Parser-docs +PROVIDES += "perl-HTML-Parser-docs " +RPROVIDES_perl-HTML-Parser-docs += "perl-HTML-Parser-docs " + +RDEPENDS = "" +#RDEPENDS of perl-HTML-Parser (${PN}) +RDEPENDS_${PN} += "perl(HTML::Tagset)" + + +DEPENDS = "" +#DEPENDS of perl-HTML-Parser +DEPENDS += "perl(HTML::Tagset)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n HTML-Parser-3.69 + cp ${S}/packaging/perl-HTML-Parser.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-HTML-Parser.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-HTML-Parser" ]; then + fgen_file "/var/adm/perl-modules/perl-HTML-Parser" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + + +} + +PACKAGES = "" +PACKAGES += "perl-HTML-Parser" +PACKAGES += "perl-HTML-Parser-docs" + +perl-HTML-Parser_files = "" + +perl-HTML-Parser-docs_files = "" +perl-HTML-Parser-docs_files += "/usr/share/info" +perl-HTML-Parser-docs_files += "/usr/share/man" + +FILES_${PN} = "${perl-HTML-Parser_files}" +FILES_${PN}-docs = "${perl-HTML-Parser-docs_files}" + +PKG_perl-HTML-Parser= "perl-HTML-Parser" +PKG_perl-HTML-Parser-docs= "perl-HTML-Parser-docs" + +require perl-HTML-Parser-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset-extraconf.inc b/meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset.inc b/meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset.inc new file mode 100644 index 0000000..2c6743c --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-HTML-Tagset/perl-HTML-Tagset.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "HTML::Tagset - data tables useful in parsing HTML" +HOMEPAGE = "http://search.cpan.org/dist/HTML-Tagset/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0+ or Artistic" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-HTML-Tagset +PROVIDES += "perl-HTML-Tagset" +RPROVIDES_perl-HTML-Tagset += "perl-HTML-Tagset" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-HTML-Tagset +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n HTML-Tagset-3.20 + cp ${S}/packaging/perl-HTML-Tagset.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-HTML-Tagset.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-HTML-Tagset" ]; then + fgen_file "/var/adm/perl-modules/perl-HTML-Tagset" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-HTML-Tagset" + +perl-HTML-Tagset_files = "" + +FILES_${PN} = "${perl-HTML-Tagset_files}" + +PKG_perl-HTML-Tagset= "perl-HTML-Tagset" + +require perl-HTML-Tagset-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus-extraconf.inc b/meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus.inc b/meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus.inc new file mode 100644 index 0000000..231452e --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Net-DBus/perl-Net-DBus.inc @@ -0,0 +1,172 @@ +DESCRIPTION = "Perl extension for the DBus message system" +HOMEPAGE = "http://search.cpan.org/dist/Net-DBus/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Net-DBus +PROVIDES += "perl-Net-DBus" +RPROVIDES_perl-Net-DBus += "perl-Net-DBus" + +RDEPENDS = "" +#RDEPENDS of perl-Net-DBus (${PN}) +RDEPENDS_${PN} += "perl(XML::Twig)" + + +DEPENDS = "" +#DEPENDS of perl-Net-DBus +DEPENDS += "perl(Test::Pod)" +DEPENDS += "perl(XML::Twig)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(pkg-config)" +inherit perlnative +DEPENDS += "perl(Test::Pod::Coverage)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Net-DBus-1.0.0 + cp ${S}/packaging/perl-Net-DBus.manifest . + find . -type f -print0 | xargs -0 chmod 644 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-Net-DBus.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Net-DBus" ]; then + fgen_file "/var/adm/perl-modules/perl-Net-DBus" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Net-DBus" + +perl-Net-DBus_files = "" +perl-Net-DBus_files += "perl-Net-DBus.manifest" +perl-Net-DBus_files += "AUTHORS CHANGES examples LICENSE Net-DBus.spec README" + +FILES_${PN} = "${perl-Net-DBus_files}" + +PKG_perl-Net-DBus= "perl-Net-DBus" + +require perl-Net-DBus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage-extraconf.inc b/meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage.inc b/meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage.inc new file mode 100644 index 0000000..21bd2a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Pod-Coverage/perl-Pod-Coverage.inc @@ -0,0 +1,166 @@ +DESCRIPTION = "Checks if the documentation of a module is comprehensive" +HOMEPAGE = "http://search.cpan.org/dist/Pod-Coverage/" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Pod-Coverage +PROVIDES += "perl-Pod-Coverage" +RPROVIDES_perl-Pod-Coverage += "perl-Pod-Coverage" + +RDEPENDS = "" +#RDEPENDS of perl-Pod-Coverage (${PN}) +RDEPENDS_${PN} += "perl(Devel::Symdump)" + + +DEPENDS = "" +#DEPENDS of perl-Pod-Coverage +DEPENDS += "perl(Devel::Symdump)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Pod-Coverage-0.22 + cp ${S}/packaging/perl-Pod-Coverage.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-Pod-Coverage.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Pod-Coverage" ]; then + fgen_file "/var/adm/perl-modules/perl-Pod-Coverage" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Pod-Coverage" + +perl-Pod-Coverage_files = "" +perl-Pod-Coverage_files += "perl-Pod-Coverage.manifest" + +FILES_${PN} = "${perl-Pod-Coverage_files}" + +PKG_perl-Pod-Coverage= "perl-Pod-Coverage" + +require perl-Pod-Coverage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Switch/perl-Switch-extraconf.inc b/meta-tizen/recipes-tizen/perl-Switch/perl-Switch-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Switch/perl-Switch.inc b/meta-tizen/recipes-tizen/perl-Switch/perl-Switch.inc new file mode 100644 index 0000000..02bbff7 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Switch/perl-Switch.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "A switch statement for Perl" +HOMEPAGE = "http://search.cpan.org/dist/Switch/" +SECTION = "Development/Libraries" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Switch +PROVIDES += "perl-Switch" +RPROVIDES_perl-Switch += "perl-Switch" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-Switch +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Switch-2.16 + cp ${S}/packaging/perl-Switch.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-Switch.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Switch" ]; then + fgen_file "/var/adm/perl-modules/perl-Switch" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Switch" + +perl-Switch_files = "" +perl-Switch_files += "perl-Switch.manifest" + +FILES_${PN} = "${perl-Switch_files}" + +PKG_perl-Switch= "perl-Switch" + +require perl-Switch-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-extraconf.inc b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-native_git.bb b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-native_git.bb new file mode 100644 index 0000000..7a2f1f8 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage-native_git.bb @@ -0,0 +1,12 @@ +require perl-Test-Pod-Coverage.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Test-Pod-Coverage;protocol=ssh;tag=1bdf99094c7998ab7fa63502367e163412735bf0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.inc b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.inc new file mode 100644 index 0000000..8e2c621 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.inc @@ -0,0 +1,163 @@ +DESCRIPTION = "Test::Pod::Coverage Perl module" +HOMEPAGE = "http://search.cpan.org/dist/Test-Pod-Coverage/" +SECTION = "Development/Libraries/Perl" +LICENSE = "Artistic-1.0 or GPL-1.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Test-Pod-Coverage +PROVIDES += "perl-Test-Pod-Coverage" +RPROVIDES_perl-Test-Pod-Coverage += "perl-Test-Pod-Coverage" + +RDEPENDS = "" +#RDEPENDS of perl-Test-Pod-Coverage (${PN}) +RDEPENDS_${PN} += "perl(Pod::Coverage)" + + +DEPENDS = "" +#DEPENDS of perl-Test-Pod-Coverage +DEPENDS += "perl(Test::Pod)" +DEPENDS += "perl(Pod::Coverage)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Test-Pod-Coverage-1.08 + cp ${S}/packaging/perl-Test-Pod-Coverage.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + # do not perl_process_packlist (noarch) + # remove .packlist file + rm -rf ${D}/usr/lib/perl/5.14.3/ + # remove perllocal.pod file + rm -rf ${D}/usr/lib/perl/5.14.3/ + + FILES=perl-Test-Pod-Coverage.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Test-Pod-Coverage" ]; then + fgen_file "/var/adm/perl-modules/perl-Test-Pod-Coverage" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Test-Pod-Coverage" + +perl-Test-Pod-Coverage_files = "" +perl-Test-Pod-Coverage_files += "perl-Test-Pod-Coverage.manifest" + +FILES_${PN} = "${perl-Test-Pod-Coverage_files}" + +PKG_perl-Test-Pod-Coverage= "perl-Test-Pod-Coverage" + +require perl-Test-Pod-Coverage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage_git.bb b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage_git.bb new file mode 100644 index 0000000..fecd1b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage_git.bb @@ -0,0 +1,8 @@ +require perl-Test-Pod-Coverage.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Test-Pod-Coverage;protocol=ssh;tag=1bdf99094c7998ab7fa63502367e163412735bf0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-extraconf.inc b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-native_git.bb b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-native_git.bb new file mode 100644 index 0000000..95be662 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod-native_git.bb @@ -0,0 +1,12 @@ +require perl-Test-Pod.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Test-Pod;protocol=ssh;tag=21d5274c376f968cf8332fe3fd1a58b323e192f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod.inc b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod.inc new file mode 100644 index 0000000..66db8be --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "check for POD errors in files" +HOMEPAGE = "http://search.cpan.org/dist/Test-Pod/" +SECTION = "Development/Libraries/Perl" +LICENSE = "Artistic-2.0 or GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-Test-Pod +PROVIDES += "perl-Test-Pod" +RPROVIDES_perl-Test-Pod += "perl-Test-Pod" + +RDEPENDS = "" +#RDEPENDS of perl-Test-Pod (${PN}) +RDEPENDS_${PN} += "perl(Test::Builder::Tester)" +RDEPENDS_${PN} += "perl(Pod::Simple)" +RDEPENDS_${PN} += "perl(Test::More)" +RDEPENDS_${PN} += "perl(File::Spec)" + + +DEPENDS = "" +#DEPENDS of perl-Test-Pod +DEPENDS += "perl(File::Spec)" +DEPENDS += "perl(Pod::Simple)" +DEPENDS += "perl(Test::More)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Test-Pod-1.45 + cp ${S}/packaging/perl-Test-Pod.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Build.PL installdirs=vendor + ./Build build flags=-j16 + + exit 0 + ./Build test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + ./Build install destdir=${D} create_packlist=0 + + FILES=perl-Test-Pod.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-Test-Pod" ]; then + fgen_file "/var/adm/perl-modules/perl-Test-Pod" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-Test-Pod" + +perl-Test-Pod_files = "" +perl-Test-Pod_files += "perl-Test-Pod.manifest" + +FILES_${PN} = "${perl-Test-Pod_files}" + +PKG_perl-Test-Pod= "perl-Test-Pod" + +require perl-Test-Pod-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod_git.bb b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod_git.bb new file mode 100644 index 0000000..f999315 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-Test-Pod/perl-Test-Pod_git.bb @@ -0,0 +1,8 @@ +require perl-Test-Pod.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-Test-Pod;protocol=ssh;tag=21d5274c376f968cf8332fe3fd1a58b323e192f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-extraconf.inc b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-native_git.bb b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-native_git.bb new file mode 100644 index 0000000..64a7625 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate-native_git.bb @@ -0,0 +1,12 @@ +require perl-TimeDate.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-TimeDate;protocol=ssh;tag=3727d57bb7aa46b7b363691a3f406bb274a78bba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate.inc b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate.inc new file mode 100644 index 0000000..c382ceb --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "A Perl module for time and date manipulation" +HOMEPAGE = "http://search.cpan.org/dist/TimeDate/" +SECTION = "Development/Libraries" +LICENSE = "GPL+ or Artistic" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-TimeDate +PROVIDES += "perl-TimeDate" +RPROVIDES_perl-TimeDate += "perl-TimeDate" + +RDEPENDS = "" +#RDEPENDS of perl-TimeDate (${PN}) +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" +#DEPENDS of perl-TimeDate +DEPENDS += "perl(ExtUtils::MakeMaker)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n TimeDate-1.20 + cp ${S}/packaging/perl-TimeDate.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make pure_install PERL_INSTALL_ROOT=${D} + find ${D} -type f -name .packlist -exec rm -f {} ';' + find ${D} -depth -type d -exec rmdir {} 2>/dev/null ';' + /bin/chmod -Rf a+rX,u+w,g-w,o-w ${D}/* + + + +} + +PACKAGES = "" +PACKAGES += "perl-TimeDate" + +perl-TimeDate_files = "" +perl-TimeDate_files += "perl-TimeDate.manifest" +perl-TimeDate_files += "/usr/lib/perl/5.14.3/Date/*" +perl-TimeDate_files += "/usr/lib/perl/5.14.3/Time/*" +perl-TimeDate_files += "/usr/share/man/man3/*.3*" + +FILES_${PN} = "${perl-TimeDate_files}" + +PKG_perl-TimeDate= "perl-TimeDate" + +require perl-TimeDate-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate_git.bb b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate_git.bb new file mode 100644 index 0000000..b8bbf2d --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-TimeDate/perl-TimeDate_git.bb @@ -0,0 +1,8 @@ +require perl-TimeDate.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-TimeDate;protocol=ssh;tag=3727d57bb7aa46b7b363691a3f406bb274a78bba;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-URI/perl-URI-extraconf.inc b/meta-tizen/recipes-tizen/perl-URI/perl-URI-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-URI/perl-URI-native_git.bb b/meta-tizen/recipes-tizen/perl-URI/perl-URI-native_git.bb new file mode 100644 index 0000000..6dd071b --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-URI/perl-URI-native_git.bb @@ -0,0 +1,12 @@ +require perl-URI.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-URI;protocol=ssh;tag=0e2128f4ea53b26235d8621c3ecb00dd80099657;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-URI/perl-URI.inc b/meta-tizen/recipes-tizen/perl-URI/perl-URI.inc new file mode 100644 index 0000000..b97d18b --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-URI/perl-URI.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "A Perl module implementing URI parsing and manipulation" +HOMEPAGE = "http://search.cpan.org/dist/URI/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0+ or Artistic" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-URI +PROVIDES += "perl-URI" +RPROVIDES_perl-URI += "perl-URI" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-URI +DEPENDS += "perl(MIME::Base64)" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n URI-1.60 + cp ${S}/packaging/perl-URI.manifest . + chmod 644 uri-test + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-URI.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-URI" ]; then + fgen_file "/var/adm/perl-modules/perl-URI" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-URI" + +perl-URI_files = "" + +FILES_${PN} = "${perl-URI_files}" + +PKG_perl-URI= "perl-URI" + +require perl-URI-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-URI/perl-URI_git.bb b/meta-tizen/recipes-tizen/perl-URI/perl-URI_git.bb new file mode 100644 index 0000000..3e6efa4 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-URI/perl-URI_git.bb @@ -0,0 +1,8 @@ +require perl-URI.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-URI;protocol=ssh;tag=0e2128f4ea53b26235d8621c3ecb00dd80099657;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-extraconf.inc b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-native_git.bb b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-native_git.bb new file mode 100644 index 0000000..5fb39b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl-native_git.bb @@ -0,0 +1,12 @@ +require perl-WWW-Curl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-WWW-Curl;protocol=ssh;tag=3d7755f418633e4b2eda8c8a4b1ae156ec1b65ed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl.inc b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl.inc new file mode 100644 index 0000000..313c0ea --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by +PROVIDES += "" +RPROVIDES_ += "" + +RDEPENDS = "" +#RDEPENDS of () +RDEPENDS_ += "libcurl" + + +DEPENDS = "" +#DEPENDS of +DEPENDS += "perl-Test-Pod-Coverage" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "c-ares" +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup + cp ${S}/packaging/perl-WWW-Curl.manifest . + chmod -R u+w ${WORKDIR}/perl-WWW-Curl-4.05 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + grep -rsl '^#!.*perl' . | + grep -v '.bak$' |xargs --no-run-if-empty \ + /bin/perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' + CFLAGS="$RPM_OPT_FLAGS" + /bin/perl Makefile.PL `/bin/perl -MExtUtils::MakeMaker -e ' print qq|PREFIX=${D}/usr| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` + oe_runmake + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + [ "${D}" != "/" ] && rm -rf ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install `/bin/perl -MExtUtils::MakeMaker -e ' print \$ExtUtils::MakeMaker::VERSION <= 6.05 ? qq|PREFIX=${D}/usr| : qq|DESTDIR=${D}| '` + + cmd=/usr/share/spec-helper/compress_files + [ -x $cmd ] || cmd=/usr/lib/rpm/brp-compress + [ -x $cmd ] && $cmd + + # SuSE Linux + if [ -e /etc/SuSE-release -o -e /etc/UnitedLinux-release ] + then + /bin/mkdir -p ${D}/var/adm/perl-modules + /bin/cat `find ${D} -name "perllocal.pod"` \ + | /bin/sed -e s+${D}++g \ + > ${D}/var/adm/perl-modules/perl-WWW-Curl + fi + + # remove special files + find ${D} -name "perllocal.pod" \ + -o -name ".packlist" \ + -o -name "*.bs" \ + |xargs -i rm -f {} + + # no empty directories + find ${D}/usr \ + -type d -depth \ + -exec rmdir {} \; 2>/dev/null + + /bin/perl -MFile::Find -le ' + find({ wanted => \&wanted, no_chdir => 1}, "${D}"); + print "%doc README.Win32 template inc Changes README LICENSE"; + for my $x (sort @dirs, @files) { + push @ret, $x unless indirs($x); + } + print join "\n", sort @ret; + + sub wanted { + return if /auto$/; + + local $_ = $File::Find::name; + my $f = $_; s|^\Q${D}\E||; + return unless length; + return $files[@files] = $_ if -f $f; + + $d = $_; + /\Q$d\E/ && return for reverse sort @INC; + $d =~ /\Q$_\E/ && return + for qw|/etc /usr/man /usr/bin /usr/share|; + + $dirs[@dirs] = $_; + } + + sub indirs { + my $x = shift; + $x =~ /^\Q$_\E\// && $x ne $_ && return 1 for @dirs; + } + ' > WWW-Curl-4.05-filelist + + [ -z WWW-Curl-4.05-filelist ] && { + echo "ERROR: empty %files listing" + exit -1 + } + + +} + +PACKAGES = "" +PACKAGES += "" + +_files = "" + +FILES_${PN} = "${_files}" + +PKG_= "" + +require perl-WWW-Curl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl_git.bb b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl_git.bb new file mode 100644 index 0000000..edac17b --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-WWW-Curl/perl-WWW-Curl_git.bb @@ -0,0 +1,8 @@ +require perl-WWW-Curl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-WWW-Curl;protocol=ssh;tag=3d7755f418633e4b2eda8c8a4b1ae156ec1b65ed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol-extraconf.inc b/meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol.inc b/meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol.inc new file mode 100644 index 0000000..21f8b2d --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-X11-Protocol/perl-X11-Protocol.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "Perl module for the X Window System Protocol, version 11" +HOMEPAGE = "http://search.cpan.org/dist/X11-Protocol/" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "perl-X11-Protocol" + +perl-X11-Protocol_files = "" +perl-X11-Protocol_files += "perl-X11-Protocol.manifest" + +FILES_${PN} = "${perl-X11-Protocol_files}" + +PKG_perl-X11-Protocol= "perl-X11-Protocol" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require perl-X11-Protocol-rdepends.inc +require perl-X11-Protocol-depends.inc +require perl-X11-Protocol-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-extraconf.inc b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-extraconf.inc new file mode 100644 index 0000000..f967cd3 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-extraconf.inc @@ -0,0 +1,6 @@ +# fix up sub MakeMaker project as arguments don't get propagated though +# see https://rt.cpan.org/Public/Bug/Display.html?id=28632 +do_configure_append() { + sed 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' -i Makefile Expat/Makefile + sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-native_git.bb b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-native_git.bb new file mode 100644 index 0000000..bf0d9cb --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser-native_git.bb @@ -0,0 +1,12 @@ +require perl-XML-Parser.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Parser;protocol=ssh;tag=a466ad372216f129768e25c4ef999c51a834f0cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser.inc b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser.inc new file mode 100644 index 0000000..4cd9c36 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser.inc @@ -0,0 +1,163 @@ +DESCRIPTION = "A perl module for parsing XML documents" +HOMEPAGE = "http://www.cpan.org/modules/by-module/XML/" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-XML-Parser +PROVIDES += "perl-XML-Parser" +RPROVIDES_perl-XML-Parser += "perl-XML-Parser" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-XML-Parser +DEPENDS += "expat" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n XML-Parser-2.41 -q + cp ${S}/packaging/perl-XML-Parser.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="$RPM_OPT_FLAGS" perl Makefile.PL + oe_runmake + + exit 0 + oe_runmake test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-XML-Parser.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-XML-Parser" ]; then + fgen_file "/var/adm/perl-modules/perl-XML-Parser" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-XML-Parser" + +perl-XML-Parser_files = "" +perl-XML-Parser_files += "perl-XML-Parser.manifest" + +FILES_${PN} = "${perl-XML-Parser_files}" + +PKG_perl-XML-Parser= "perl-XML-Parser" + +require perl-XML-Parser-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser_git.bb b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser_git.bb new file mode 100644 index 0000000..017dca0 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Parser/perl-XML-Parser_git.bb @@ -0,0 +1,8 @@ +require perl-XML-Parser.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Parser;protocol=ssh;tag=a466ad372216f129768e25c4ef999c51a834f0cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-extraconf.inc b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-native_git.bb b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-native_git.bb new file mode 100644 index 0000000..4b2f0ef --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple-native_git.bb @@ -0,0 +1,12 @@ +require perl-XML-Simple.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Simple;protocol=ssh;tag=763f57225253ab5978fbd470f9196d1ea8efbfcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple.inc b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple.inc new file mode 100644 index 0000000..6374065 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple.inc @@ -0,0 +1,91 @@ +DESCRIPTION = "Easy API to read/write XML (Perl module)" +HOMEPAGE = "http://cpan.org/modules/by-module/XML/" +SECTION = "Development/Libraries/Perl" +LICENSE = "Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-XML-Simple +PROVIDES += "perl-XML-Simple" +RPROVIDES_perl-XML-Simple += "perl-XML-Simple" + +RDEPENDS = "" +#RDEPENDS of perl-XML-Simple (${PN}) +RDEPENDS_${PN} += "libxml-parser-perl" + + +DEPENDS = "" +#DEPENDS of perl-XML-Simple +DEPENDS += "libxml-parser-perl" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n XML-Simple-2.18 + cp ${S}/packaging/perl-XML-Simple.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL + make + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + +} + +PACKAGES = "" +PACKAGES += "perl-XML-Simple" + +perl-XML-Simple_files = "" +perl-XML-Simple_files += "perl-XML-Simple.manifest" +perl-XML-Simple_files += "/usr/share/man/man?/*" +perl-XML-Simple_files += "/usr/lib/perl/5.14.3/XML" +perl-XML-Simple_files += "/usr/lib/perl/5.14.3/auto/XML" + +FILES_${PN} = "${perl-XML-Simple_files}" + +PKG_perl-XML-Simple= "perl-XML-Simple" + +require perl-XML-Simple-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple_git.bb b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple_git.bb new file mode 100644 index 0000000..d1add77 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Simple/perl-XML-Simple_git.bb @@ -0,0 +1,8 @@ +require perl-XML-Simple.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Simple;protocol=ssh;tag=763f57225253ab5978fbd470f9196d1ea8efbfcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-extraconf.inc b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-native_git.bb b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-native_git.bb new file mode 100644 index 0000000..b5a99b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig-native_git.bb @@ -0,0 +1,12 @@ +require perl-XML-Twig.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Twig;protocol=ssh;tag=58c6648c360fbd0dbc77e7eaecf931863988f8ec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig.inc b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig.inc new file mode 100644 index 0000000..679a37d --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Tree interface to XML documents" +HOMEPAGE = "http://search.cpan.org/dist/XML::Twig" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-1.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-XML-Twig +PROVIDES += "perl-XML-Twig" +RPROVIDES_perl-XML-Twig += "perl-XML-Twig" + +RDEPENDS = "" +#RDEPENDS of perl-XML-Twig (${PN}) +RDEPENDS_${PN} += "libxml-parser-perl" + + +DEPENDS = "" +#DEPENDS of perl-XML-Twig +DEPENDS += "libxml-parser-perl" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n XML-Twig-3.39 + cp ${S}/packaging/perl-XML-Twig.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL + make + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + +} + +PACKAGES = "" +PACKAGES += "perl-XML-Twig" + +perl-XML-Twig_files = "" +perl-XML-Twig_files += "perl-XML-Twig.manifest" +perl-XML-Twig_files += "/usr/lib/perl/5.14.3/XML" +perl-XML-Twig_files += "/usr/lib/perl/5.14.3/XML/Twig.pm" +perl-XML-Twig_files += "/usr/lib/perl/5.14.3/XML/Twig" +perl-XML-Twig_files += "/usr/bin/xml_grep" +perl-XML-Twig_files += "/usr/bin/xml_merge" +perl-XML-Twig_files += "/usr/bin/xml_pp" +perl-XML-Twig_files += "/usr/bin/xml_spellcheck" +perl-XML-Twig_files += "/usr/bin/xml_split" +perl-XML-Twig_files += "/usr/share/man/man1/xml_*.1.gz" +perl-XML-Twig_files += "/usr/share/man/man3/XML::Twig.3pm.gz" + +FILES_${PN} = "${perl-XML-Twig_files}" + +PKG_perl-XML-Twig= "perl-XML-Twig" + +require perl-XML-Twig-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig_git.bb b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig_git.bb new file mode 100644 index 0000000..699e8a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-XML-Twig/perl-XML-Twig_git.bb @@ -0,0 +1,8 @@ +require perl-XML-Twig.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-XML-Twig;protocol=ssh;tag=58c6648c360fbd0dbc77e7eaecf931863988f8ec;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-YAML/perl-YAML-extraconf.inc b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-YAML/perl-YAML-native_git.bb b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML-native_git.bb new file mode 100644 index 0000000..949b0bc --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML-native_git.bb @@ -0,0 +1,12 @@ +require perl-YAML.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-YAML;protocol=ssh;tag=bff6ca1ce847b306bd6c96b7c25e9615bab93b24;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-YAML/perl-YAML.inc b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML.inc new file mode 100644 index 0000000..02e8108 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "YAML Ain't Markup Language (tm)" +HOMEPAGE = "http://search.cpan.org/dist/YAML/" +SECTION = "Development/Libraries/Perl" +LICENSE = "GPL-2.0+ or Artistic-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-YAML +PROVIDES += "perl-YAML" +RPROVIDES_perl-YAML += "perl-YAML" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-YAML +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n YAML-0.84 + cp ${S}/packaging/perl-YAML.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-YAML.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-YAML" ]; then + fgen_file "/var/adm/perl-modules/perl-YAML" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-YAML" + +perl-YAML_files = "" + +FILES_${PN} = "${perl-YAML_files}" + +PKG_perl-YAML= "perl-YAML" + +require perl-YAML-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-YAML/perl-YAML_git.bb b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML_git.bb new file mode 100644 index 0000000..a66cd47 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-YAML/perl-YAML_git.bb @@ -0,0 +1,8 @@ +require perl-YAML.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-YAML;protocol=ssh;tag=bff6ca1ce847b306bd6c96b7c25e9615bab93b24;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-gettext/perl-gettext-extraconf.inc b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext-extraconf.inc new file mode 100644 index 0000000..90af060 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext-extraconf.inc @@ -0,0 +1 @@ +inherit cpan \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/perl-gettext/perl-gettext.inc b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext.inc new file mode 100644 index 0000000..82eb141 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "Message handling functions" +HOMEPAGE = "http://search.cpan.org/dist/gettext/" +SECTION = "Development/Libraries/Perl" +LICENSE = "Artistic-1.0 GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-gettext +PROVIDES += "perl-gettext" +RPROVIDES_perl-gettext += "perl-gettext" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of perl-gettext +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gettext-1.05 + cp ${S}/packaging/perl-gettext.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ x86_64 == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-gettext.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-gettext" ]; then + fgen_file "/var/adm/perl-modules/perl-gettext" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-gettext" + +perl-gettext_files = "" +perl-gettext_files += "perl-gettext.manifest" + +FILES_${PN} = "${perl-gettext_files}" + +PKG_perl-gettext= "perl-gettext" + +require perl-gettext-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl-gettext/perl-gettext_git.bb b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext_git.bb new file mode 100644 index 0000000..6fd8762 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-gettext/perl-gettext_git.bb @@ -0,0 +1,8 @@ +require perl-gettext.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/perl-gettext;protocol=ssh;tag=edbae5e768668b549e1ed09c89bc8b47b67a0f2d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl-extraconf.inc b/meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl.inc b/meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl.inc new file mode 100644 index 0000000..043576e --- /dev/null +++ b/meta-tizen/recipes-tizen/perl-libwww-perl/perl-libwww-perl.inc @@ -0,0 +1,163 @@ +DESCRIPTION = "A Perl interface to the World-Wide Web" +HOMEPAGE = "http://search.cpan.org/dist/libwww-perl/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0+ or Artistic" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-libwww-perl +PROVIDES += "perl-libwww-perl" +RPROVIDES_perl-libwww-perl += "perl-libwww-perl" + +RDEPENDS = "" +#RDEPENDS of perl-libwww-perl (${PN}) +RDEPENDS_${PN} += "perl-HTML-Parser" +RDEPENDS_${PN} += "perl(Compress::Zlib)" + + +DEPENDS = "" +#DEPENDS of perl-libwww-perl +DEPENDS += "perl(URI)" +DEPENDS += "perl(Compress::Zlib)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libwww-perl-5.836 + cp ${S}/packaging/perl-libwww-perl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + perl Makefile.PL INSTALLDIRS=vendor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT install_vendor + + if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -name .packlist -print0 | xargs -0 -r rm + if [ noarch == noarch ]; then + find $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//auto -depth -type d -print0 | xargs -0 -r rmdir + fi + fi + rm -f $RPM_BUILD_ROOT/usr/lib/perl/5.14.3//perllocal.pod + + + FILES=perl-libwww-perl.files + # fgen_dir func + # IN: dir + fgen_dir(){ + /bin/cat >> $FILES << EOF + %dir ${1} + EOF + } + # fgen_file func + # IN: file + fgen_file(){ + /bin/cat >> $FILES << EOF + ${1} + EOF + } + # check for files in /usr/lib/perl/5.14.3/ + RES=`find ${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3/ -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//$(basename ${file})" + done + fi + + # get all dirs into array + base_dir="${RPM_BUILD_ROOT}/usr/lib/perl/5.14.3//" + for dir in `find ${base_dir} -type d | sort`; do + if [ "$dir" = "${base_dir}" ]; then + continue + else + el=`echo $dir | gawk -F"${base_dir}" '{print $2}'` + all_dir=(${all_dir[@]} $el) + fi + done + + # build filelist + for i in ${all_dir[@]}; do + # do not add "dir {perl_vendorlib/arch}/auto", included in perl package + if [ "${i}" = "auto" ]; then + continue + fi + if [ "/usr/lib/perl/5.14.3//${i}" = "/usr/lib/perl/5.14.3//auto" ]; then + continue + else + if [ -d ${base_dir}/${i} ]; then + RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + fgen_dir "/usr/lib/perl/5.14.3//${i}" + for file in $RES; do + fgen_file "/usr/lib/perl/5.14.3//${i}/$(basename ${file})" + done + else + fgen_dir "/usr/lib/perl/5.14.3//${i}" + fi + fi + fi + done + # add man pages + # if exist :) + if [ -d "${RPM_BUILD_ROOT}/usr/share/man" ]; then + fgen_file "/usr/share/man/man?/*" + fi + + # add packlist file + # generated fom perllocal.pod + if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/perl-libwww-perl" ]; then + fgen_file "/var/adm/perl-modules/perl-libwww-perl" + fi + + # check for files in /usr/bin + if [ -d ${RPM_BUILD_ROOT}/usr/bin ]; then + RES=`find "${RPM_BUILD_ROOT}/usr/bin" -maxdepth 1 -type f` + if [ -n "$RES" ]; then + for file in $RES; do + fgen_file "/usr/bin/$(basename ${file})" + done + fi + fi + + +} + +PACKAGES = "" +PACKAGES += "perl-libwww-perl" + +perl-libwww-perl_files = "" + +FILES_${PN} = "${perl-libwww-perl_files}" + +PKG_perl-libwww-perl= "perl-libwww-perl" + +require perl-libwww-perl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/perl/perl-extraconf.inc b/meta-tizen/recipes-tizen/perl/perl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/perl/perl.inc b/meta-tizen/recipes-tizen/perl/perl.inc new file mode 100644 index 0000000..6c8ba61 --- /dev/null +++ b/meta-tizen/recipes-tizen/perl/perl.inc @@ -0,0 +1,319 @@ +DESCRIPTION = "The Perl interpreter" +HOMEPAGE = "http://www.perl.org/" +SECTION = "Platform Development/Perl" +LICENSE = "Artistic-1.0 or GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by perl-doc +PROVIDES += "perl-doc" +RPROVIDES_perl-doc += "perl-doc" +# the PROVIDES rules is ignore "perl:/usr/share/man/man3/CORE.3pm.gz " +PROVIDES += "perl:/usr/share/man/man3/CORE.3pm.gz" +RPROVIDES_perl-doc += "perl:/usr/share/man/man3/CORE.3pm.gz" + +#PROVIDES by perl +PROVIDES += "perl" +RPROVIDES_perl += "perl" +# the PROVIDES rules is ignore "/bin/perl " +PROVIDES += "/bin/perl" +RPROVIDES_perl += "/bin/perl" +# the PROVIDES rules is ignore "perl-500 " +PROVIDES += "perl-500" +RPROVIDES_perl += "perl-500" +# the PROVIDES rules is ignore "perl-macros " +PROVIDES += "perl-macros" +RPROVIDES_perl += "perl-macros" +# the PROVIDES rules is ignore "perl(:MODULE_COMPAT_5.16.3) " +PROVIDES += "perl(:MODULE_COMPAT_5.16.3)" +RPROVIDES_perl += "perl(:MODULE_COMPAT_5.16.3)" +# the PROVIDES rules is ignore "perl-base " +PROVIDES += "perl-base" +RPROVIDES_perl += "perl-base" +# the PROVIDES rules is ignore "perl-Filter-Simple " +PROVIDES += "perl-Filter-Simple" +RPROVIDES_perl += "perl-Filter-Simple" +# the PROVIDES rules is ignore "perl-I18N-LangTags " +PROVIDES += "perl-I18N-LangTags" +RPROVIDES_perl += "perl-I18N-LangTags" +# the PROVIDES rules is ignore "perl-MIME-Base64 " +PROVIDES += "perl-MIME-Base64" +RPROVIDES_perl += "perl-MIME-Base64" +# the PROVIDES rules is ignore "perl-Storable " +PROVIDES += "perl-Storable" +RPROVIDES_perl += "perl-Storable" +# the PROVIDES rules is ignore "perl-Test-Simple = 0.98-0" +PROVIDES += "perl-Test-Simple" +RPROVIDES_perl += "perl-Test-Simple" +# the PROVIDES rules is ignore "perl-Text-Balanced " +PROVIDES += "perl-Text-Balanced" +RPROVIDES_perl += "perl-Text-Balanced" +# the PROVIDES rules is ignore "perl-Time-HiRes " +PROVIDES += "perl-Time-HiRes" +RPROVIDES_perl += "perl-Time-HiRes" +# the PROVIDES rules is ignore "perl-libnet " +PROVIDES += "perl-libnet" +RPROVIDES_perl += "perl-libnet" +# the PROVIDES rules is ignore "perl-Compress-Raw-Zlib " +PROVIDES += "perl-Compress-Raw-Zlib" +RPROVIDES_perl += "perl-Compress-Raw-Zlib" +# the PROVIDES rules is ignore "perl-Compress-Zlib " +PROVIDES += "perl-Compress-Zlib" +RPROVIDES_perl += "perl-Compress-Zlib" +# the PROVIDES rules is ignore "perl-IO-Compress-Base " +PROVIDES += "perl-IO-Compress-Base" +RPROVIDES_perl += "perl-IO-Compress-Base" +# the PROVIDES rules is ignore "perl-IO-Compress-Zlib " +PROVIDES += "perl-IO-Compress-Zlib" +RPROVIDES_perl += "perl-IO-Compress-Zlib" +# the PROVIDES rules is ignore "perl-IO-Zlib " +PROVIDES += "perl-IO-Zlib" +RPROVIDES_perl += "perl-IO-Zlib" +# the PROVIDES rules is ignore "perl-Archive-Tar " +PROVIDES += "perl-Archive-Tar" +RPROVIDES_perl += "perl-Archive-Tar" +# the PROVIDES rules is ignore "perl-Module-Build " +PROVIDES += "perl-Module-Build" +RPROVIDES_perl += "perl-Module-Build" +# the PROVIDES rules is ignore "perl(Module::Build) = 0.3900" +PROVIDES += "perl(Module::Build)" +RPROVIDES_perl += "perl(Module::Build)" +# the PROVIDES rules is ignore "perl-Locale-Maketext-Simple " +PROVIDES += "perl-Locale-Maketext-Simple" +RPROVIDES_perl += "perl-Locale-Maketext-Simple" +# the PROVIDES rules is ignore "perl-Module-Pluggable " +PROVIDES += "perl-Module-Pluggable" +RPROVIDES_perl += "perl-Module-Pluggable" +# the PROVIDES rules is ignore "perl-Pod-Escapes " +PROVIDES += "perl-Pod-Escapes" +RPROVIDES_perl += "perl-Pod-Escapes" +# the PROVIDES rules is ignore "perl-Pod-Simple " +PROVIDES += "perl-Pod-Simple" +RPROVIDES_perl += "perl-Pod-Simple" +# the PROVIDES rules is ignore "perl-ExtUtils-ParseXS " +PROVIDES += "perl-ExtUtils-ParseXS" +RPROVIDES_perl += "perl-ExtUtils-ParseXS" +# the PROVIDES rules is ignore "perl-version " +PROVIDES += "perl-version" +RPROVIDES_perl += "perl-version" + +RDEPENDS = "" +#RDEPENDS of perl-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "perl" + + +DEPENDS = "" +#DEPENDS of perl +DEPENDS += "ncurses" +DEPENDS += "zlib-devel" +DEPENDS += "gdbm" +DEPENDS += "db4" +DEPENDS += "bzip2" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n perl-5.16.3 + cp ${S}/packaging/perl.manifest . + cp -p ${S}/packaging/README.macros . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e "s/--param=ssp-buffer-size=32//g" ) + export RPM_OPT_FLAGS + cp -a lib savelib + export LD_AS_NEEDED=0 + export BZIP2_LIB=/usr/lib + export BZIP2_INCLUDE=/usr/include + export BUILD_BZIP2=0 + options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'" + # always use glibc's setenv + options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'" + options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl" + chmod 755 ./configure.gnu + ./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options + make -j16 + cp -p libperl.so savelibperl.so + cp -p lib/Config.pm saveConfig.pm + cp -p lib/Config_heavy.pl saveConfig_heavy.pl + make clean > /dev/null + make clobber + rm -rf lib + mv savelib lib + ./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + cp -a $RPM_BUILD_ROOT/usr/lib/perl5/site_perl $RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl + cpa=`echo $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'` + cp=`echo "$cpa" | sed -e 's@/[^/]*$@@'` + vpa=`echo $cpa | sed -e 's@/perl5/@/perl5/vendor_perl/@'` + vp=`echo "$vpa" | sed -e 's@/[^/]*$@@'` + install -d $vp/auto + install -d $vpa/auto + install -m 555 savelibperl.so $cpa/CORE/libperl.so + install -m 444 saveConfig.pm $cpa/Config.pm + install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl + # install macros.perl file + install -D -m 644 ${S}/packaging/macros.perl $RPM_BUILD_ROOT/etc/rpm/macros.perl + pushd /usr/include + ( rpm -ql glibc-devel | fgrep '.h' + find /usr/include/asm/ -name \*.h + find /usr/include/asm-generic -name \*.h + find /usr/include/linux -name \*.h + ) | while read f; do + $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa ${f/\/usr\/include\//} || : + done + popd + d="`gcc -print-file-name=include`" + test -f "$d/stdarg.h" && (cd $d ; $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa stdarg.h stddef.h float.h) + # remove broken pm - we don't have the module + rm $RPM_BUILD_ROOT/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm + # we don't need this in here + rm $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE/libperl.a + #touch $RPM_BUILD_ROOT/usr/share/man/man3/perllocal.3pm + #touch $cpa/perllocal.pod + # test CVE-2007-5116 + $RPM_BUILD_ROOT/usr/bin/perl -e '$r=chr(128)."\\x{100}";/$r/' + # test perl-regexp-refoverflow.diff + $RPM_BUILD_ROOT/usr/bin/perl -e '/\6666666666/' + cat << EOF > perl-base-filelist + /usr/lib/perl5/5.16.3/B/Deparse.pm + /usr/lib/perl5/5.16.3/Carp.pm + /usr/lib/perl5/5.16.3/Carp/ + /usr/lib/perl5/5.16.3/Class/ + /usr/lib/perl5/5.16.3/Config/ + /usr/lib/perl5/5.16.3/Digest.pm + /usr/lib/perl5/5.16.3/Digest/ + /usr/lib/perl5/5.16.3/Exporter.pm + /usr/lib/perl5/5.16.3/Exporter/ + /usr/lib/perl5/5.16.3/File/ + /usr/lib/perl5/5.16.3/Getopt/ + /usr/lib/perl5/5.16.3/IPC/ + /usr/lib/perl5/5.16.3/Text/ + /usr/lib/perl5/5.16.3/Tie/Hash.pm + /usr/lib/perl5/5.16.3/XSLoader.pm + /usr/lib/perl5/5.16.3/warnings.pm + /usr/lib/perl5/5.16.3/warnings/ + /usr/lib/perl5/5.16.3/AutoLoader.pm + /usr/lib/perl5/5.16.3/FileHandle.pm + /usr/lib/perl5/5.16.3/SelectSaver.pm + /usr/lib/perl5/5.16.3/Symbol.pm + /usr/lib/perl5/5.16.3/base.pm + /usr/lib/perl5/5.16.3/bytes.pm + /usr/lib/perl5/5.16.3/bytes_heavy.pl + /usr/lib/perl5/5.16.3/constant.pm + /usr/lib/perl5/5.16.3/fields.pm + /usr/lib/perl5/5.16.3/feature.pm + /usr/lib/perl5/5.16.3/integer.pm + /usr/lib/perl5/5.16.3/locale.pm + /usr/lib/perl5/5.16.3/overload.pm + /usr/lib/perl5/5.16.3/overloading.pm + /usr/lib/perl5/5.16.3/strict.pm + /usr/lib/perl5/5.16.3/unicore/Heavy.pl + /usr/lib/perl5/5.16.3/utf8.pm + /usr/lib/perl5/5.16.3/utf8_heavy.pl + /usr/lib/perl5/5.16.3/vars.pm + /usr/lib/perl5/5.16.3/version.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Data/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Digest/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/File/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/List/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Scalar/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Dir.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/File.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Handle.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Pipe.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Poll.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Seekable.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Select.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Socket.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/IO/Socket/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/B.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Config.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Config_heavy.pl + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Cwd.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/DynaLoader.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Errno.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Fcntl.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/POSIX.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/Socket.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/attributes.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/Data/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/Digest/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/Fcntl/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/File/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/IO/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/List/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/Cwd/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/Socket/ + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/POSIX/POSIX.bs + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/POSIX/POSIX.so + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/lib.pm + /usr/lib/perl5/5.16.3/*-linux-thread-multi*/re.pm + EOF + + + + +} + +PACKAGES = "" +PACKAGES += "perl-doc" +PACKAGES += "perl" + +perl-doc_files = "" +perl-doc_files += "perl.manifest" +perl-doc_files += "README.macros" +perl-doc_files += "/usr/lib/perl5/*/pod" +perl-doc_files += "/usr/share/man/man?/*" + +perl_files = "" +perl_files += "perl.manifest" +perl_files += "/usr/lib/perl5" +perl_files += "/usr/lib/perl5/5.16.3" +perl_files += "/usr/lib/perl5/5.16.3/B" +perl_files += "/usr/lib/perl5/5.16.3/*-linux-thread-multi*" +perl_files += "/usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto" +perl_files += "/usr/lib/perl5/5.16.3/*-linux-thread-multi*/auto/POSIX" +perl_files += "/etc/rpm/macros.perl" +perl_files += "/usr/lib/perl5/*" +perl_files += "/usr/bin/*" + +FILES_${PN}-doc = "${perl-doc_files}" +FILES_${PN} = "${perl_files}" + +PKG_perl-doc= "perl-doc" +PKG_perl= "perl" + +require perl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/php/php-extraconf.inc b/meta-tizen/recipes-tizen/php/php-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/php/php.inc b/meta-tizen/recipes-tizen/php/php.inc new file mode 100644 index 0000000..ae84431 --- /dev/null +++ b/meta-tizen/recipes-tizen/php/php.inc @@ -0,0 +1,347 @@ +DESCRIPTION = "PHP5 Core Files" +HOMEPAGE = "http://www.php.net" +SECTION = "Development/Languages" +LICENSE = "PHP-3.01" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "php-dom" +PACKAGES += "php-mbstring" +PACKAGES += "php-xmlwriter" +PACKAGES += "php-soap" +PACKAGES += "php-sysvshm" +PACKAGES += "php-wddx" +PACKAGES += "php-calendar" +PACKAGES += "php-gettext" +PACKAGES += "php-zlib" +PACKAGES += "php-fileinfo" +PACKAGES += "php-sockets" +PACKAGES += "php-intl" +PACKAGES += "php-xmlrpc" +PACKAGES += "php-gmp" +PACKAGES += "php-readline" +PACKAGES += "php-xsl" +PACKAGES += "php-gd" +PACKAGES += "php-phar" +PACKAGES += "php-devel" +PACKAGES += "php-tokenizer" +PACKAGES += "php-xmlreader" +PACKAGES += "php-shmop" +PACKAGES += "php" +PACKAGES += "php-openssl" +PACKAGES += "php-sysvsem" +PACKAGES += "php-pear" +PACKAGES += "php-bz2" +PACKAGES += "php-posix" +PACKAGES += "php-curl" +PACKAGES += "php-ctype" +PACKAGES += "php-dba" +PACKAGES += "php-iconv" +PACKAGES += "php-sysvmsg" +PACKAGES += "php-bcmath" +PACKAGES += "php-zip" +PACKAGES += "php-json" +PACKAGES += "php-ftp" +PACKAGES += "php-pcntl" +PACKAGES += "php-exif" + +php-dom_files = "" +php-dom_files += "php.manifest" +php-dom_files += "/usr/lib/php/extensions/dom.so" +php-dom_files += "/etc/php/conf.d/dom.ini" + +php-mbstring_files = "" +php-mbstring_files += "php.manifest" +php-mbstring_files += "/usr/lib/php/extensions/mbstring.so" +php-mbstring_files += "/etc/php/conf.d/mbstring.ini" + +php-xmlwriter_files = "" +php-xmlwriter_files += "php.manifest" +php-xmlwriter_files += "/usr/lib/php/extensions/xmlwriter.so" +php-xmlwriter_files += "/etc/php/conf.d/xmlwriter.ini" + +php-soap_files = "" +php-soap_files += "php.manifest" +php-soap_files += "/usr/lib/php/extensions/soap.so" +php-soap_files += "/etc/php/conf.d/soap.ini" + +php-sysvshm_files = "" +php-sysvshm_files += "php.manifest" +php-sysvshm_files += "/usr/lib/php/extensions/sysvshm.so" +php-sysvshm_files += "/etc/php/conf.d/sysvshm.ini" + +php-wddx_files = "" +php-wddx_files += "php.manifest" +php-wddx_files += "/usr/lib/php/extensions/wddx.so" +php-wddx_files += "/etc/php/conf.d/wddx.ini" + +php-calendar_files = "" +php-calendar_files += "php.manifest" +php-calendar_files += "/usr/lib/php/extensions/calendar.so" +php-calendar_files += "/etc/php/conf.d/calendar.ini" + +php-gettext_files = "" +php-gettext_files += "php.manifest" +php-gettext_files += "/usr/lib/php/extensions/gettext.so" +php-gettext_files += "/etc/php/conf.d/gettext.ini" + +php-zlib_files = "" +php-zlib_files += "php.manifest" +php-zlib_files += "/usr/lib/php/extensions/zlib.so" +php-zlib_files += "/etc/php/conf.d/zlib.ini" + +php-fileinfo_files = "" +php-fileinfo_files += "php.manifest" +php-fileinfo_files += "/usr/lib/php/extensions/fileinfo.so" +php-fileinfo_files += "/etc/php/conf.d/fileinfo.ini" + +php-sockets_files = "" +php-sockets_files += "php.manifest" +php-sockets_files += "/usr/lib/php/extensions/sockets.so" +php-sockets_files += "/etc/php/conf.d/sockets.ini" + +php-intl_files = "" +php-intl_files += "php.manifest" +php-intl_files += "/usr/lib/php/extensions/intl.so" +php-intl_files += "/etc/php/conf.d/intl.ini" + +php-xmlrpc_files = "" +php-xmlrpc_files += "php.manifest" +php-xmlrpc_files += "/usr/lib/php/extensions/xmlrpc.so" +php-xmlrpc_files += "/etc/php/conf.d/xmlrpc.ini" + +php-gmp_files = "" +php-gmp_files += "php.manifest" +php-gmp_files += "/usr/lib/php/extensions/gmp.so" +php-gmp_files += "/etc/php/conf.d/gmp.ini" + +php-readline_files = "" +php-readline_files += "php.manifest" +php-readline_files += "/usr/lib/php/extensions/readline.so" +php-readline_files += "/etc/php/conf.d/readline.ini" + +php-xsl_files = "" +php-xsl_files += "php.manifest" +php-xsl_files += "/usr/lib/php/extensions/xsl.so" +php-xsl_files += "/etc/php/conf.d/xsl.ini" + +php-gd_files = "" +php-gd_files += "php.manifest" +php-gd_files += "/usr/lib/php/extensions/gd.so" +php-gd_files += "/etc/php/conf.d/gd.ini" + +php-phar_files = "" +php-phar_files += "php.manifest" +php-phar_files += "/usr/lib/php/extensions/phar.so" +php-phar_files += "/etc/php/conf.d/phar.ini" +php-phar_files += "/usr/bin/phar" +php-phar_files += "/usr/bin/phar.phar" + +php-devel_files = "" +php-devel_files += "php.manifest" +php-devel_files += "/usr/include/php" +php-devel_files += "/usr/bin/phpize" +php-devel_files += "/usr/bin/php-config" +php-devel_files += "/usr/bin/pecl" +php-devel_files += "/usr/lib/php/build" +php-devel_files += "/etc/rpm/macros.php" + +php-tokenizer_files = "" +php-tokenizer_files += "php.manifest" +php-tokenizer_files += "/usr/lib/php/extensions/tokenizer.so" +php-tokenizer_files += "/etc/php/conf.d/tokenizer.ini" + +php-xmlreader_files = "" +php-xmlreader_files += "php.manifest" +php-xmlreader_files += "/usr/lib/php/extensions/xmlreader.so" +php-xmlreader_files += "/etc/php/conf.d/xmlreader.ini" + +php-shmop_files = "" +php-shmop_files += "php.manifest" +php-shmop_files += "/usr/lib/php/extensions/shmop.so" +php-shmop_files += "/etc/php/conf.d/shmop.ini" + +php_files = "" +php_files += "php.manifest" +php_files += "/usr/share/man/man1/*" +php_files += "/etc/php" +php_files += "/etc/php/conf.d" +php_files += "/etc/php/cli" +php_files += "/etc/php/cli/php.ini" +php_files += "/usr/bin/php" +php_files += "/usr/lib/php" +php_files += "/usr/lib/php/extensions" +php_files += "/usr/share/php" + +php-openssl_files = "" +php-openssl_files += "php.manifest" +php-openssl_files += "/usr/lib/php/extensions/openssl.so" +php-openssl_files += "/etc/php/conf.d/openssl.ini" + +php-sysvsem_files = "" +php-sysvsem_files += "php.manifest" +php-sysvsem_files += "/usr/lib/php/extensions/sysvsem.so" +php-sysvsem_files += "/etc/php/conf.d/sysvsem.ini" + +php-pear_files = "" +php-pear_files += "php.manifest" +php-pear_files += "/usr/bin/pear" +php-pear_files += "/etc/php/cli/pear.conf" +php-pear_files += "/usr/share/php/PEAR" +php-pear_files += "/var/lib/pear" + +php-bz2_files = "" +php-bz2_files += "php.manifest" +php-bz2_files += "/usr/lib/php/extensions/bz2.so" +php-bz2_files += "/etc/php/conf.d/bz2.ini" + +php-posix_files = "" +php-posix_files += "php.manifest" +php-posix_files += "/usr/lib/php/extensions/posix.so" +php-posix_files += "/etc/php/conf.d/posix.ini" + +php-curl_files = "" +php-curl_files += "php.manifest" +php-curl_files += "/usr/lib/php/extensions/curl.so" +php-curl_files += "/etc/php/conf.d/curl.ini" + +php-ctype_files = "" +php-ctype_files += "php.manifest" +php-ctype_files += "/usr/lib/php/extensions/ctype.so" +php-ctype_files += "/etc/php/conf.d/ctype.ini" + +php-dba_files = "" +php-dba_files += "php.manifest" +php-dba_files += "/usr/lib/php/extensions/dba.so" +php-dba_files += "/etc/php/conf.d/dba.ini" + +php-iconv_files = "" +php-iconv_files += "php.manifest" +php-iconv_files += "/usr/lib/php/extensions/iconv.so" +php-iconv_files += "/etc/php/conf.d/iconv.ini" + +php-sysvmsg_files = "" +php-sysvmsg_files += "php.manifest" +php-sysvmsg_files += "/usr/lib/php/extensions/sysvmsg.so" +php-sysvmsg_files += "/etc/php/conf.d/sysvmsg.ini" + +php-bcmath_files = "" +php-bcmath_files += "php.manifest" +php-bcmath_files += "/usr/lib/php/extensions/bcmath.so" +php-bcmath_files += "/etc/php/conf.d/bcmath.ini" + +php-zip_files = "" +php-zip_files += "php.manifest" +php-zip_files += "/usr/lib/php/extensions/zip.so" +php-zip_files += "/etc/php/conf.d/zip.ini" + +php-json_files = "" +php-json_files += "php.manifest" +php-json_files += "/usr/lib/php/extensions/json.so" +php-json_files += "/etc/php/conf.d/json.ini" + +php-ftp_files = "" +php-ftp_files += "php.manifest" +php-ftp_files += "/usr/lib/php/extensions/ftp.so" +php-ftp_files += "/etc/php/conf.d/ftp.ini" + +php-pcntl_files = "" +php-pcntl_files += "php.manifest" +php-pcntl_files += "/usr/lib/php/extensions/pcntl.so" +php-pcntl_files += "/etc/php/conf.d/pcntl.ini" + +php-exif_files = "" +php-exif_files += "php.manifest" +php-exif_files += "/usr/lib/php/extensions/exif.so" +php-exif_files += "/etc/php/conf.d/exif.ini" + +FILES_${PN}-dom = "${php-dom_files}" +FILES_${PN}-mbstring = "${php-mbstring_files}" +FILES_${PN}-xmlwriter = "${php-xmlwriter_files}" +FILES_${PN}-soap = "${php-soap_files}" +FILES_${PN}-sysvshm = "${php-sysvshm_files}" +FILES_${PN}-wddx = "${php-wddx_files}" +FILES_${PN}-calendar = "${php-calendar_files}" +FILES_${PN}-gettext = "${php-gettext_files}" +FILES_${PN}-zlib = "${php-zlib_files}" +FILES_${PN}-fileinfo = "${php-fileinfo_files}" +FILES_${PN}-sockets = "${php-sockets_files}" +FILES_${PN}-intl = "${php-intl_files}" +FILES_${PN}-xmlrpc = "${php-xmlrpc_files}" +FILES_${PN}-gmp = "${php-gmp_files}" +FILES_${PN}-readline = "${php-readline_files}" +FILES_${PN}-xsl = "${php-xsl_files}" +FILES_${PN}-gd = "${php-gd_files}" +FILES_${PN}-phar = "${php-phar_files}" +FILES_${PN}-devel = "${php-devel_files}" +FILES_${PN}-tokenizer = "${php-tokenizer_files}" +FILES_${PN}-xmlreader = "${php-xmlreader_files}" +FILES_${PN}-shmop = "${php-shmop_files}" +FILES_${PN} = "${php_files}" +FILES_${PN}-openssl = "${php-openssl_files}" +FILES_${PN}-sysvsem = "${php-sysvsem_files}" +FILES_${PN}-pear = "${php-pear_files}" +FILES_${PN}-bz2 = "${php-bz2_files}" +FILES_${PN}-posix = "${php-posix_files}" +FILES_${PN}-curl = "${php-curl_files}" +FILES_${PN}-ctype = "${php-ctype_files}" +FILES_${PN}-dba = "${php-dba_files}" +FILES_${PN}-iconv = "${php-iconv_files}" +FILES_${PN}-sysvmsg = "${php-sysvmsg_files}" +FILES_${PN}-bcmath = "${php-bcmath_files}" +FILES_${PN}-zip = "${php-zip_files}" +FILES_${PN}-json = "${php-json_files}" +FILES_${PN}-ftp = "${php-ftp_files}" +FILES_${PN}-pcntl = "${php-pcntl_files}" +FILES_${PN}-exif = "${php-exif_files}" + +PKG_php-dom= "php-dom" +PKG_php-mbstring= "php-mbstring" +PKG_php-xmlwriter= "php-xmlwriter" +PKG_php-soap= "php-soap" +PKG_php-sysvshm= "php-sysvshm" +PKG_php-wddx= "php-wddx" +PKG_php-calendar= "php-calendar" +PKG_php-gettext= "php-gettext" +PKG_php-zlib= "php-zlib" +PKG_php-fileinfo= "php-fileinfo" +PKG_php-sockets= "php-sockets" +PKG_php-intl= "php-intl" +PKG_php-xmlrpc= "php-xmlrpc" +PKG_php-gmp= "php-gmp" +PKG_php-readline= "php-readline" +PKG_php-xsl= "php-xsl" +PKG_php-gd= "php-gd" +PKG_php-phar= "php-phar" +PKG_php-devel= "php-devel" +PKG_php-tokenizer= "php-tokenizer" +PKG_php-xmlreader= "php-xmlreader" +PKG_php-shmop= "php-shmop" +PKG_php= "php" +PKG_php-openssl= "php-openssl" +PKG_php-sysvsem= "php-sysvsem" +PKG_php-pear= "php-pear" +PKG_php-bz2= "php-bz2" +PKG_php-posix= "php-posix" +PKG_php-curl= "php-curl" +PKG_php-ctype= "php-ctype" +PKG_php-dba= "php-dba" +PKG_php-iconv= "php-iconv" +PKG_php-sysvmsg= "php-sysvmsg" +PKG_php-bcmath= "php-bcmath" +PKG_php-zip= "php-zip" +PKG_php-json= "php-json" +PKG_php-ftp= "php-ftp" +PKG_php-pcntl= "php-pcntl" +PKG_php-exif= "php-exif" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require php-rdepends.inc +require php-depends.inc +require php-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pims-ipc/pims-ipc-native_git.bb b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc-native_git.bb new file mode 100644 index 0000000..a529f09 --- /dev/null +++ b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc-native_git.bb @@ -0,0 +1,12 @@ +require pims-ipc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/pims-ipc;protocol=ssh;tag=9300ed95d75b0d3c6dc0805d60f08eff7fc907a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pims-ipc/pims-ipc.inc b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc.inc new file mode 100644 index 0000000..0b3cb29 --- /dev/null +++ b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "library for PIMs IPC" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pims-ipc +PROVIDES += "pims-ipc" +RPROVIDES_pims-ipc += "pims-ipc" + +#PROVIDES by pims-ipc-devel +PROVIDES += "pims-ipc-devel" +RPROVIDES_pims-ipc-devel += "pims-ipc-devel" +RPROVIDES_pims-ipc-devel += "pims-ipc-dev" + +RDEPENDS = "" +#RDEPENDS of pims-ipc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pims-ipc" + + +DEPENDS = "" +#DEPENDS of pims-ipc +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "pkgconfig(libzmq)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pims-ipc.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "pims-ipc" +PACKAGES += "pims-ipc-devel" + +pims-ipc_files = "" +pims-ipc_files += "pims-ipc.manifest" +pims-ipc_files += "/usr/lib/libpims-ipc.so.*" + +pims-ipc-devel_files = "" +pims-ipc-devel_files += "pims-ipc.manifest" +pims-ipc-devel_files += "/usr/include/pims-ipc/*.h" +pims-ipc-devel_files += "/usr/lib/*.so" +pims-ipc-devel_files += "/usr/lib/pims_ipc_test" +pims-ipc-devel_files += "/usr/lib/pkgconfig/pims-ipc.pc" + +FILES_${PN} = "${pims-ipc_files}" +FILES_${PN}-devel = "${pims-ipc-devel_files}" + +PKG_pims-ipc= "pims-ipc" +PKG_pims-ipc-devel= "pims-ipc-devel" + +require pims-ipc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pims-ipc/pims-ipc_git.bb b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc_git.bb new file mode 100644 index 0000000..54e45fc --- /dev/null +++ b/meta-tizen/recipes-tizen/pims-ipc/pims-ipc_git.bb @@ -0,0 +1,8 @@ +require pims-ipc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/pims-ipc;protocol=ssh;tag=9300ed95d75b0d3c6dc0805d60f08eff7fc907a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pixman/pixman-extraconf.inc b/meta-tizen/recipes-tizen/pixman/pixman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pixman/pixman-native_git.bb b/meta-tizen/recipes-tizen/pixman/pixman-native_git.bb new file mode 100644 index 0000000..188770d --- /dev/null +++ b/meta-tizen/recipes-tizen/pixman/pixman-native_git.bb @@ -0,0 +1,12 @@ +require pixman.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pixman;protocol=ssh;tag=339ed7f5530179529970fb87a143789ce88e338b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pixman/pixman.inc b/meta-tizen/recipes-tizen/pixman/pixman.inc new file mode 100644 index 0000000..9794dbf --- /dev/null +++ b/meta-tizen/recipes-tizen/pixman/pixman.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Pixel manipulation library" +HOMEPAGE = "http://www.x.org/" +SECTION = "Graphics/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pixman-devel +PROVIDES += "pixman-devel" +RPROVIDES_pixman-devel += "pixman-devel" +RPROVIDES_pixman-devel += "pixman-dev" + +#PROVIDES by pixman +PROVIDES += "pixman" +RPROVIDES_pixman += "pixman" + +RDEPENDS = "" +#RDEPENDS of pixman-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pixman" + + +DEPENDS = "" +#DEPENDS of pixman +DEPENDS += "pkgconfig(libpng12)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pixman.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-arm-iwmmxt + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "pixman-devel" +PACKAGES += "pixman" + +pixman-devel_files = "" +pixman-devel_files += "pixman.manifest" +pixman-devel_files += "/usr/include/pixman-1" +pixman-devel_files += "/usr/include/pixman-1/pixman.h" +pixman-devel_files += "/usr/include/pixman-1/pixman-version.h" +pixman-devel_files += "/usr/lib/libpixman-1*.so" +pixman-devel_files += "/usr/lib/pkgconfig/pixman-1.pc" + +pixman_files = "" +pixman_files += "pixman.manifest" +pixman_files += "/usr/lib/libpixman-1*.so.*" + +FILES_${PN}-devel = "${pixman-devel_files}" +FILES_${PN} = "${pixman_files}" + +PKG_pixman-devel= "pixman-devel" +PKG_pixman= "pixman" + +require pixman-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pixman/pixman_git.bb b/meta-tizen/recipes-tizen/pixman/pixman_git.bb new file mode 100644 index 0000000..3949020 --- /dev/null +++ b/meta-tizen/recipes-tizen/pixman/pixman_git.bb @@ -0,0 +1,8 @@ +require pixman.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pixman;protocol=ssh;tag=339ed7f5530179529970fb87a143789ce88e338b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pkg-config/pkg-config-extraconf.inc b/meta-tizen/recipes-tizen/pkg-config/pkg-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pkg-config/pkg-config.inc b/meta-tizen/recipes-tizen/pkg-config/pkg-config.inc new file mode 100644 index 0000000..13ca4fa --- /dev/null +++ b/meta-tizen/recipes-tizen/pkg-config/pkg-config.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A library management system" +HOMEPAGE = "http://pkgconfig.freedesktop.org/" +SECTION = "Base/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pkg-config-docs +PROVIDES += "pkg-config-docs " +RPROVIDES_pkg-config-docs += "pkg-config-docs " + +#PROVIDES by pkg-config +PROVIDES += "pkg-config" +RPROVIDES_pkg-config += "pkg-config" +# the PROVIDES rules is ignore "pkgconfig = 0.28" +PROVIDES += "pkgconfig" +RPROVIDES_pkg-config += "pkgconfig" +# the PROVIDES rules is ignore "pkgconfig(pkg-config) = 0.28" +PROVIDES += "pkgconfig(pkg-config)" +RPROVIDES_pkg-config += "pkgconfig(pkg-config)" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pkg-config.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info\ + --with-internal-glib \ + --with-pc_path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib/pkgconfig + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm ${D}/usr/share/doc/pkg-config/pkg-config-guide.html + + +} + +PACKAGES = "" +PACKAGES += "pkg-config-docs" +PACKAGES += "pkg-config" + +pkg-config-docs_files = "" +pkg-config-docs_files += "/usr/share/info" +pkg-config-docs_files += "/usr/share/man" + +pkg-config_files = "" +pkg-config_files += "pkg-config.manifest" +pkg-config_files += "/usr/bin/pkg-config" +pkg-config_files += "/usr/bin/*-pkg-config" +pkg-config_files += "/usr/share/aclocal" +pkg-config_files += "/usr/share/aclocal/pkg.m4" + +FILES_${PN}-docs = "${pkg-config-docs_files}" +FILES_${PN} = "${pkg-config_files}" + +PKG_pkg-config-docs= "pkg-config-docs" +PKG_pkg-config= "pkg-config" + +require pkg-config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-extraconf.inc b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-native_git.bb b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-native_git.bb new file mode 100644 index 0000000..064ee5c --- /dev/null +++ b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info-native_git.bb @@ -0,0 +1,12 @@ +require pkgmgr-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/pkgmgr-info;protocol=ssh;tag=ea4b6878402b97e87f004eaae074e9b6571da8df;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc new file mode 100644 index 0000000..de6d39f --- /dev/null +++ b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "Packager Manager infomation api for package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Package Management" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pkgmgr-info-parser +PROVIDES += "pkgmgr-info-parser" +RPROVIDES_pkgmgr-info-parser += "pkgmgr-info-parser" + +#PROVIDES by pkgmgr-info-parser-devel +PROVIDES += "pkgmgr-info-parser-devel" +RPROVIDES_pkgmgr-info-parser-devel += "pkgmgr-info-parser-devel" +RPROVIDES_pkgmgr-info-parser-devel += "pkgmgr-info-parser-dev" + +#PROVIDES by pkgmgr-info +PROVIDES += "pkgmgr-info" +RPROVIDES_pkgmgr-info += "pkgmgr-info" + +#PROVIDES by pkgmgr-info-devel +PROVIDES += "pkgmgr-info-devel" +RPROVIDES_pkgmgr-info-devel += "pkgmgr-info-devel" +RPROVIDES_pkgmgr-info-devel += "pkgmgr-info-dev" + +RDEPENDS = "" +#RDEPENDS of pkgmgr-info-parser (${PN}-parser) +RDEPENDS_${PN}-parser += "pkgmgr-info" + +#RDEPENDS of pkgmgr-info-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgmgr-info" + +#RDEPENDS of pkgmgr-info-parser-devel (${PN}-parser-devel) +RDEPENDS_${PN}-parser-devel += "pkgmgr-info" + + +DEPENDS = "" +#DEPENDS of pkgmgr-info +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "libslp-db-util" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pkgmgr-info.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/usr/apps/tmp + touch ${D}/opt/usr/apps/tmp/pkgmgr_tmp.txt + + # create the directory for hosting Read-Write application manifest files + mkdir -p ${D}/opt/share/packages/ + + +} + +PACKAGES = "" +PACKAGES += "pkgmgr-info-parser" +PACKAGES += "pkgmgr-info-parser-devel" +PACKAGES += "pkgmgr-info-devel" +PACKAGES += "pkgmgr-info" + +pkgmgr-info-parser_files = "" +pkgmgr-info-parser_files += "pkgmgr-info.manifest" +pkgmgr-info-parser_files += "/usr/lib/libpkgmgr_parser.so.*" +pkgmgr-info-parser_files += "/etc/package-manager/preload/preload_list.txt" +pkgmgr-info-parser_files += "/etc/package-manager/preload/manifest.xsd" +pkgmgr-info-parser_files += "/etc/package-manager/preload/xml.xsd" +pkgmgr-info-parser_files += "/etc/package-manager/parser_path.conf" +pkgmgr-info-parser_files += "/etc/package-manager/parserlib/metadata/mdparser_list.txt" +pkgmgr-info-parser_files += "/etc/package-manager/parserlib/category/category_parser_list.txt" +pkgmgr-info-parser_files += "/etc/package-manager/parserlib/tag_parser_list.txt" + +pkgmgr-info-parser-devel_files = "" +pkgmgr-info-parser-devel_files += "pkgmgr-info.manifest" +pkgmgr-info-parser-devel_files += "/usr/include/pkgmgr/pkgmgr_parser.h" +pkgmgr-info-parser-devel_files += "/usr/include/pkgmgr/pkgmgr_parser_db.h" +pkgmgr-info-parser-devel_files += "/usr/lib/pkgconfig/pkgmgr-parser.pc" +pkgmgr-info-parser-devel_files += "/usr/lib/libpkgmgr_parser.so" + +pkgmgr-info-devel_files = "" +pkgmgr-info-devel_files += "pkgmgr-info.manifest" +pkgmgr-info-devel_files += "/usr/include/pkgmgr-info.h" +pkgmgr-info-devel_files += "/usr/lib/pkgconfig/pkgmgr-info.pc" +pkgmgr-info-devel_files += "/usr/lib/libpkgmgr-info.so" + +pkgmgr-info_files = "" +pkgmgr-info_files += "pkgmgr-info.manifest" +pkgmgr-info_files += "/usr/lib/libpkgmgr-info.so.*" +#Remove rpm attribut "%attr(771,app,app)" +pkgmgr-info_files += "/opt/usr/apps/tmp" +pkgmgr-info_files += "/opt/usr/apps/tmp/pkgmgr_tmp.txt" +pkgmgr-info_files += "/opt/share/packages" + +FILES_${PN}-parser = "${pkgmgr-info-parser_files}" +FILES_${PN}-parser-devel = "${pkgmgr-info-parser-devel_files}" +FILES_${PN}-devel = "${pkgmgr-info-devel_files}" +FILES_${PN} = "${pkgmgr-info_files}" + +PKG_pkgmgr-info-parser= "pkgmgr-info-parser" +PKG_pkgmgr-info-parser-devel= "pkgmgr-info-parser-devel" +PKG_pkgmgr-info-devel= "pkgmgr-info-devel" +PKG_pkgmgr-info= "pkgmgr-info" + +require pkgmgr-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info_git.bb b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info_git.bb new file mode 100644 index 0000000..c8bf517 --- /dev/null +++ b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info_git.bb @@ -0,0 +1,8 @@ +require pkgmgr-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/pkgmgr-info;protocol=ssh;tag=ea4b6878402b97e87f004eaae074e9b6571da8df;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/player/player-extraconf.inc b/meta-tizen/recipes-tizen/player/player-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/player/player.inc b/meta-tizen/recipes-tizen/player/player.inc new file mode 100644 index 0000000..a24b99b --- /dev/null +++ b/meta-tizen/recipes-tizen/player/player.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "A Media Player library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-media-player" +PACKAGES += "capi-media-player-devel" + +capi-media-player_files = "" +capi-media-player_files += "capi-media-player.manifest" +capi-media-player_files += "capi-media-player.manifest" +capi-media-player_files += "/usr/lib/libcapi-media-player.so.*" +capi-media-player_files += "/usr/share/license/capi-media-player" +capi-media-player_files += "/usr/bin/*" + +capi-media-player-devel_files = "" +capi-media-player-devel_files += "capi-media-player.manifest" +capi-media-player-devel_files += "/usr/include/media/*.h" +capi-media-player-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-player-devel_files += "/usr/lib/libcapi-media-player.so" + +FILES_${PN} = "${capi-media-player_files}" +FILES_${PN}-devel = "${capi-media-player-devel_files}" + +PKG_capi-media-player= "capi-media-player" +PKG_capi-media-player-devel= "capi-media-player-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require player-rdepends.inc +require player-depends.inc +require player-extraconf.inc diff --git a/meta-tizen/recipes-tizen/plymouth/plymouth-extraconf.inc b/meta-tizen/recipes-tizen/plymouth/plymouth-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/plymouth/plymouth-native_git.bb b/meta-tizen/recipes-tizen/plymouth/plymouth-native_git.bb new file mode 100644 index 0000000..952862f --- /dev/null +++ b/meta-tizen/recipes-tizen/plymouth/plymouth-native_git.bb @@ -0,0 +1,12 @@ +require plymouth.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/plymouth;protocol=ssh;tag=956d9cfb921c894bbbfac6fd7213dbb81ad55164;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/plymouth/plymouth.inc b/meta-tizen/recipes-tizen/plymouth/plymouth.inc new file mode 100644 index 0000000..b06052f --- /dev/null +++ b/meta-tizen/recipes-tizen/plymouth/plymouth.inc @@ -0,0 +1,486 @@ +DESCRIPTION = "Graphical Boot Animation and Logger" +HOMEPAGE = "http://freedesktop.org/software/plymouth/releases" +SECTION = "Base/Startup" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libply-splash-core +PROVIDES += "libply-splash-core" +RPROVIDES_libply-splash-core += "libply-splash-core" + +#PROVIDES by plymouth-x11-renderer +PROVIDES += "plymouth-x11-renderer" +RPROVIDES_plymouth-x11-renderer += "plymouth-x11-renderer" + +#PROVIDES by plymouth-theme-fade-in +PROVIDES += "plymouth-theme-fade-in" +RPROVIDES_plymouth-theme-fade-in += "plymouth-theme-fade-in" + +#PROVIDES by libply-splash-graphics +PROVIDES += "libply-splash-graphics" +RPROVIDES_libply-splash-graphics += "libply-splash-graphics" + +#PROVIDES by plymouth-theme-script +PROVIDES += "plymouth-theme-script" +RPROVIDES_plymouth-theme-script += "plymouth-theme-script" + +#PROVIDES by plymouth-docs +PROVIDES += "plymouth-docs " +RPROVIDES_plymouth-docs += "plymouth-docs " + +#PROVIDES by plymouth-theme-spinfinity +PROVIDES += "plymouth-theme-spinfinity" +RPROVIDES_plymouth-theme-spinfinity += "plymouth-theme-spinfinity" + +#PROVIDES by libply +PROVIDES += "libply" +RPROVIDES_libply += "libply" + +#PROVIDES by plymouth-theme-solar +PROVIDES += "plymouth-theme-solar" +RPROVIDES_plymouth-theme-solar += "plymouth-theme-solar" + +#PROVIDES by plymouth-plugin-label +PROVIDES += "plymouth-plugin-label" +RPROVIDES_plymouth-plugin-label += "plymouth-plugin-label" + +#PROVIDES by plymouth-plugin-fade-throbber +PROVIDES += "plymouth-plugin-fade-throbber" +RPROVIDES_plymouth-plugin-fade-throbber += "plymouth-plugin-fade-throbber" + +#PROVIDES by plymouth +PROVIDES += "plymouth" +RPROVIDES_plymouth += "plymouth" + +#PROVIDES by libply-boot-client +PROVIDES += "libply-boot-client" +RPROVIDES_libply-boot-client += "libply-boot-client" + +#PROVIDES by plymouth-plugin-script +PROVIDES += "plymouth-plugin-script" +RPROVIDES_plymouth-plugin-script += "plymouth-plugin-script" + +#PROVIDES by plymouth-plugin-two-step +PROVIDES += "plymouth-plugin-two-step" +RPROVIDES_plymouth-plugin-two-step += "plymouth-plugin-two-step" + +#PROVIDES by plymouth-theme-spinner +PROVIDES += "plymouth-theme-spinner" +RPROVIDES_plymouth-theme-spinner += "plymouth-theme-spinner" + +#PROVIDES by plymouth-plugin-space-flares +PROVIDES += "plymouth-plugin-space-flares" +RPROVIDES_plymouth-plugin-space-flares += "plymouth-plugin-space-flares" + +#PROVIDES by plymouth-plugin-throbgress +PROVIDES += "plymouth-plugin-throbgress" +RPROVIDES_plymouth-plugin-throbgress += "plymouth-plugin-throbgress" + +#PROVIDES by plymouth-devel +PROVIDES += "plymouth-devel" +RPROVIDES_plymouth-devel += "plymouth-devel" +RPROVIDES_plymouth-devel += "plymouth-dev" + +#PROVIDES by plymouth-scripts +PROVIDES += "plymouth-scripts" +RPROVIDES_plymouth-scripts += "plymouth-scripts" + +RDEPENDS = "" +#RDEPENDS of plymouth-x11-renderer (${PN}-x11-renderer) +RDEPENDS_${PN}-x11-renderer += "plymouth" + +#RDEPENDS of plymouth-theme-fade-in (${PN}-theme-fade-in) +RDEPENDS_${PN}-theme-fade-in += "plymouth-scripts" +RDEPENDS_${PN}-theme-fade-in += "plymouth-plugin-label" +RDEPENDS_${PN}-theme-fade-in += "plymouth-plugin-fade-throbber" + +#RDEPENDS of plymouth-theme-script (${PN}-theme-script) +RDEPENDS_${PN}-theme-script += "plymouth-plugin-script" +RDEPENDS_${PN}-theme-script += "plymouth-scripts" + +#RDEPENDS of plymouth-theme-spinfinity (${PN}-theme-spinfinity) +RDEPENDS_${PN}-theme-spinfinity += "plymouth" +RDEPENDS_${PN}-theme-spinfinity += "plymouth-plugin-throbgress" +RDEPENDS_${PN}-theme-spinfinity += "plymouth-scripts" + +#RDEPENDS of libply (libply) +RDEPENDS_libply += "libply-boot-client" + +#RDEPENDS of plymouth-theme-solar (${PN}-theme-solar) +RDEPENDS_${PN}-theme-solar += "plymouth-scripts" +RDEPENDS_${PN}-theme-solar += "plymouth-plugin-space-flares" + +#RDEPENDS of plymouth-plugin-label (${PN}-plugin-label) +RDEPENDS_${PN}-plugin-label += "libply-splash-core" + +#RDEPENDS of plymouth-plugin-fade-throbber (${PN}-plugin-fade-throbber) +RDEPENDS_${PN}-plugin-fade-throbber += "libply-splash-core" +RDEPENDS_${PN}-plugin-fade-throbber += "libply" +RDEPENDS_${PN}-plugin-fade-throbber += "libply-splash-graphics" + +#RDEPENDS of plymouth (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "dracut" +RDEPENDS_${PN} += "plymouth-scripts" + +#RDEPENDS of plymouth-plugin-script (${PN}-plugin-script) +RDEPENDS_${PN}-plugin-script += "libply-splash-core" +RDEPENDS_${PN}-plugin-script += "libply" +RDEPENDS_${PN}-plugin-script += "libply-splash-graphics" + +#RDEPENDS of plymouth-plugin-two-step (${PN}-plugin-two-step) +RDEPENDS_${PN}-plugin-two-step += "libply-splash-core" +RDEPENDS_${PN}-plugin-two-step += "libply" +RDEPENDS_${PN}-plugin-two-step += "plymouth-plugin-label" +RDEPENDS_${PN}-plugin-two-step += "libply-splash-graphics" + +#RDEPENDS of plymouth-theme-spinner (${PN}-theme-spinner) +RDEPENDS_${PN}-theme-spinner += "plymouth-scripts" +RDEPENDS_${PN}-theme-spinner += "plymouth-plugin-two-step" + +#RDEPENDS of plymouth-plugin-space-flares (${PN}-plugin-space-flares) +RDEPENDS_${PN}-plugin-space-flares += "libply-splash-core" +RDEPENDS_${PN}-plugin-space-flares += "libply" +RDEPENDS_${PN}-plugin-space-flares += "libply-splash-graphics" +RDEPENDS_${PN}-plugin-space-flares += "plymouth-plugin-label" + +#RDEPENDS of plymouth-plugin-throbgress (${PN}-plugin-throbgress) +RDEPENDS_${PN}-plugin-throbgress += "libply-splash-core" +RDEPENDS_${PN}-plugin-throbgress += "libply" +RDEPENDS_${PN}-plugin-throbgress += "libply-splash-graphics" +RDEPENDS_${PN}-plugin-throbgress += "plymouth-plugin-label" + +#RDEPENDS of plymouth-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "plymouth-x11-renderer" +RDEPENDS_${PN}-devel += "libply-splash-core" +RDEPENDS_${PN}-devel += "libply-splash-graphics" +RDEPENDS_${PN}-devel += "libply" +RDEPENDS_${PN}-devel += "pkgconfig" +RDEPENDS_${PN}-devel += "plymouth" +RDEPENDS_${PN}-devel += "libply-boot-client" + +#RDEPENDS of plymouth-scripts (${PN}-scripts) +RDEPENDS_${PN}-scripts += "gzip" +RDEPENDS_${PN}-scripts += "coreutils" +RDEPENDS_${PN}-scripts += "plymouth" +RDEPENDS_${PN}-scripts += "cpio" +RDEPENDS_${PN}-scripts += "findutils" + + +DEPENDS = "" +#DEPENDS of libply-splash-graphics +#DEPENDS of plymouth-plugin-label +#DEPENDS of plymouth +DEPENDS += "pkgconfig(pango)" +DEPENDS += "pkgconfig(libdrm_intel)" +DEPENDS += "pkgconfig(libkms)" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "automake-native" +DEPENDS += "xz" +DEPENDS += "pkgconfig(systemd)" +DEPENDS += "libtool-cross" +DEPENDS += "libpng" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/plymouth.manifest . + + # replace builddate with patch0date + sed -i "s/__DATE__/\"$(stat -c %y ${S}/packaging//plymouth.changes)\"/" src/main.c + + # Change the default theme + sed -i -e 's/fade-in/tizen/g' src/plymouthd.defaults + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fiv + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --disable-gtk \ + --enable-systemd-integration \ + --enable-tracing --disable-tests \ + --with-background-start-color-stop=0x1A3D1F \ + --with-background-end-color-stop=0x4EA65C \ + --with-background-color=0x3391cd \ + --disable-gdm-transition \ + --without-system-root-install \ + --without-rhgb-compat-link \ + --with-boot-tty=/dev/tty7 \ + --with-shutdown-tty=/dev/tty1 \ + --without-gdm-autostart-file \ + --with-release-file=/etc/os-release + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}//usr/bin/rhgb-client + #rm -f ${D}/usr/libexec/plymouth/plymouth-generate-initrd + #rm -f ${D}/usr/libexec/plymouth/plymouth-populate-initrd + + # Glow isn't quite ready for primetime + rm -rf ${D}/usr/share/plymouth/glow/ + rm -rf ${D}/usr/share/plymouth/themes/glow/ + rm -f ${D}/usr/lib/plymouth/glow.so + #mv ${D}/lib/systemd ${D}//usr/lib + + mkdir -p ${D}/var/lib/plymouth + mkdir -p ${D}/var/run/plymouth + cp $RPM_SOURCE_DIR/boot-duration ${D}/usr/share/plymouth/default-boot-duration + cp $RPM_SOURCE_DIR/boot-duration ${D}/var/lib/plymouth + cp ${D}//usr/share/plymouth/plymouthd.defaults ${D}//etc/plymouth/plymouth.conf + + +} + +PACKAGES = "" +PACKAGES += "libply-splash-core" +PACKAGES += "plymouth-x11-renderer" +PACKAGES += "plymouth-scripts" +PACKAGES += "libply-splash-graphics" +PACKAGES += "plymouth-theme-script" +PACKAGES += "plymouth-theme-fade-in" +PACKAGES += "plymouth-theme-spinfinity" +PACKAGES += "libply" +PACKAGES += "plymouth-theme-solar" +PACKAGES += "plymouth-plugin-label" +PACKAGES += "plymouth-plugin-fade-throbber" +PACKAGES += "plymouth" +PACKAGES += "libply-boot-client" +PACKAGES += "plymouth-plugin-script" +PACKAGES += "plymouth-plugin-two-step" +PACKAGES += "plymouth-theme-spinner" +PACKAGES += "plymouth-docs" +PACKAGES += "plymouth-plugin-throbgress" +PACKAGES += "plymouth-devel" +PACKAGES += "plymouth-plugin-space-flares" + +libply-splash-core_files = "" +libply-splash-core_files += "plymouth.manifest" +libply-splash-core_files += "/usr/lib/libply-splash-core.so.2*" + +plymouth-x11-renderer_files = "" +plymouth-x11-renderer_files += "plymouth.manifest" + +plymouth-scripts_files = "" +plymouth-scripts_files += "plymouth.manifest" +plymouth-scripts_files += "/usr/libexec/plymouth" +plymouth-scripts_files += "/usr/sbin/plymouth-set-default-theme" +plymouth-scripts_files += "/usr/libexec/plymouth/plymouth-update-initrd" + +libply-splash-graphics_files = "" +libply-splash-graphics_files += "plymouth.manifest" +libply-splash-graphics_files += "/usr/lib/libply-splash-graphics.so.2*" + +plymouth-theme-script_files = "" +plymouth-theme-script_files += "plymouth.manifest" +plymouth-theme-script_files += "/usr/share/plymouth/themes/script/" +plymouth-theme-script_files += "/usr/share/plymouth/themes/script/*.png" +plymouth-theme-script_files += "/usr/share/plymouth/themes/script/script.script" +plymouth-theme-script_files += "/usr/share/plymouth/themes/script/script.plymouth" + +plymouth-theme-fade-in_files = "" +plymouth-theme-fade-in_files += "plymouth.manifest" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in/bullet.png" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in/entry.png" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in/lock.png" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in/star.png" +plymouth-theme-fade-in_files += "/usr/share/plymouth/themes/fade-in/fade-in.plymouth" + +plymouth-theme-spinfinity_files = "" +plymouth-theme-spinfinity_files += "plymouth.manifest" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/box.png" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/bullet.png" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/entry.png" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/lock.png" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/throbber-[0-3][0-9].png" +plymouth-theme-spinfinity_files += "/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth" + +libply_files = "" +libply_files += "plymouth.manifest" +libply_files += "/usr/lib/libply.so.2*" + +plymouth-theme-solar_files = "" +plymouth-theme-solar_files += "plymouth.manifest" +plymouth-theme-solar_files += "/usr/share/plymouth/themes/solar" +plymouth-theme-solar_files += "/usr/share/plymouth/themes/solar/*.png" +plymouth-theme-solar_files += "/usr/share/plymouth/themes/solar/solar.plymouth" + +plymouth-plugin-label_files = "" +plymouth-plugin-label_files += "plymouth.manifest" +plymouth-plugin-label_files += "/usr/lib/plymouth/label.so" + +plymouth-plugin-fade-throbber_files = "" +plymouth-plugin-fade-throbber_files += "plymouth.manifest" +plymouth-plugin-fade-throbber_files += "/usr/lib/plymouth/fade-throbber.so" + +plymouth_files = "" +plymouth_files += "plymouth.manifest" +plymouth_files += "/usr/libexec/plymouth/*" +plymouth_files += "/usr/share/plymouth" +plymouth_files += "/usr/share/plymouth/themes" +plymouth_files += "/usr/share/plymouth/themes/details" +plymouth_files += "/usr/share/plymouth/themes/text" +plymouth_files += "/var/lib/plymouth" +plymouth_files += "/usr/lib/plymouth" +plymouth_files += "/usr/lib/plymouth/renderers" +plymouth_files += "/etc/plymouth" +plymouth_files += "/etc/plymouth/plymouthd.conf" +plymouth_files += "/etc/plymouth/plymouth.conf" +plymouth_files += "/usr/sbin/plymouthd" +plymouth_files += "/usr/bin/plymouth" +plymouth_files += "/usr/lib/plymouth/details.so" +plymouth_files += "/usr/lib/plymouth/text.so" +plymouth_files += "/usr/lib/plymouth/renderers/drm*" +plymouth_files += "/usr/lib/plymouth/renderers/frame-buffer*" +plymouth_files += "/usr/share/plymouth/default-boot-duration" +plymouth_files += "/usr/share/plymouth/themes/details/details.plymouth" +plymouth_files += "/usr/share/plymouth/themes/text/text.plymouth" +plymouth_files += "/usr/share/plymouth/plymouthd.defaults" +plymouth_files += "/usr/share/plymouth/bizcom.png" +plymouth_files += "/var/spool/plymouth" +plymouth_files += "/lib/systemd/system/*" + +libply-boot-client_files = "" +libply-boot-client_files += "plymouth.manifest" +libply-boot-client_files += "/usr/lib/libply-boot-client.so.2*" + +plymouth-plugin-script_files = "" +plymouth-plugin-script_files += "plymouth.manifest" +plymouth-plugin-script_files += "/usr/lib/plymouth/script.so" + +plymouth-plugin-two-step_files = "" +plymouth-plugin-two-step_files += "plymouth.manifest" +plymouth-plugin-two-step_files += "/usr/lib/plymouth/two-step.so" + +plymouth-theme-spinner_files = "" +plymouth-theme-spinner_files += "plymouth.manifest" +plymouth-theme-spinner_files += "/usr/share/plymouth/themes/spinner" +plymouth-theme-spinner_files += "/usr/share/plymouth/themes/spinner/*.*" + +plymouth-docs_files = "" +plymouth-docs_files += "/usr/share/info" +plymouth-docs_files += "/usr/share/man" + +plymouth-plugin-throbgress_files = "" +plymouth-plugin-throbgress_files += "plymouth.manifest" +plymouth-plugin-throbgress_files += "/usr/lib/plymouth/throbgress.so" + +plymouth-devel_files = "" +plymouth-devel_files += "plymouth.manifest" +plymouth-devel_files += "/usr/lib/libply.so" +plymouth-devel_files += "/usr/lib/libply-splash-core.so" +plymouth-devel_files += "/usr/lib/libply-boot-client.so" +plymouth-devel_files += "/usr/lib/libply-splash-graphics.so" +plymouth-devel_files += "/usr/lib/pkgconfig/ply-splash-core.pc" +plymouth-devel_files += "/usr/lib/pkgconfig/ply-splash-graphics.pc" +plymouth-devel_files += "/usr/lib/pkgconfig/ply-boot-client.pc" +plymouth-devel_files += "/usr/include/plymouth-1" + +plymouth-plugin-space-flares_files = "" +plymouth-plugin-space-flares_files += "plymouth.manifest" +plymouth-plugin-space-flares_files += "/usr/lib/plymouth/space-flares.so" + +FILES_libply-splash-core = "${libply-splash-core_files}" +FILES_${PN}-x11-renderer = "${plymouth-x11-renderer_files}" +FILES_${PN}-scripts = "${plymouth-scripts_files}" +FILES_libply-splash-graphics = "${libply-splash-graphics_files}" +FILES_${PN}-theme-script = "${plymouth-theme-script_files}" +FILES_${PN}-theme-fade-in = "${plymouth-theme-fade-in_files}" +FILES_${PN}-theme-spinfinity = "${plymouth-theme-spinfinity_files}" +FILES_libply = "${libply_files}" +FILES_${PN}-theme-solar = "${plymouth-theme-solar_files}" +FILES_${PN}-plugin-label = "${plymouth-plugin-label_files}" +FILES_${PN}-plugin-fade-throbber = "${plymouth-plugin-fade-throbber_files}" +FILES_${PN} = "${plymouth_files}" +FILES_libply-boot-client = "${libply-boot-client_files}" +FILES_${PN}-plugin-script = "${plymouth-plugin-script_files}" +FILES_${PN}-plugin-two-step = "${plymouth-plugin-two-step_files}" +FILES_${PN}-theme-spinner = "${plymouth-theme-spinner_files}" +FILES_${PN}-docs = "${plymouth-docs_files}" +FILES_${PN}-plugin-throbgress = "${plymouth-plugin-throbgress_files}" +FILES_${PN}-devel = "${plymouth-devel_files}" +FILES_${PN}-plugin-space-flares = "${plymouth-plugin-space-flares_files}" + +PKG_libply-splash-core= "libply-splash-core" +PKG_plymouth-x11-renderer= "plymouth-x11-renderer" +PKG_plymouth-scripts= "plymouth-scripts" +PKG_libply-splash-graphics= "libply-splash-graphics" +PKG_plymouth-theme-script= "plymouth-theme-script" +PKG_plymouth-theme-fade-in= "plymouth-theme-fade-in" +PKG_plymouth-theme-spinfinity= "plymouth-theme-spinfinity" +PKG_libply= "libply" +PKG_plymouth-theme-solar= "plymouth-theme-solar" +PKG_plymouth-plugin-label= "plymouth-plugin-label" +PKG_plymouth-plugin-fade-throbber= "plymouth-plugin-fade-throbber" +PKG_plymouth= "plymouth" +PKG_libply-boot-client= "libply-boot-client" +PKG_plymouth-plugin-script= "plymouth-plugin-script" +PKG_plymouth-plugin-two-step= "plymouth-plugin-two-step" +PKG_plymouth-theme-spinner= "plymouth-theme-spinner" +PKG_plymouth-docs= "plymouth-docs" +PKG_plymouth-plugin-throbgress= "plymouth-plugin-throbgress" +PKG_plymouth-devel= "plymouth-devel" +PKG_plymouth-plugin-space-flares= "plymouth-plugin-space-flares" + +require plymouth-extraconf.inc diff --git a/meta-tizen/recipes-tizen/plymouth/plymouth_git.bb b/meta-tizen/recipes-tizen/plymouth/plymouth_git.bb new file mode 100644 index 0000000..12fa3b7 --- /dev/null +++ b/meta-tizen/recipes-tizen/plymouth/plymouth_git.bb @@ -0,0 +1,8 @@ +require plymouth.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/plymouth;protocol=ssh;tag=956d9cfb921c894bbbfac6fd7213dbb81ad55164;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/poi/poi-extraconf.inc b/meta-tizen/recipes-tizen/poi/poi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/poi/poi-native_git.bb b/meta-tizen/recipes-tizen/poi/poi-native_git.bb new file mode 100644 index 0000000..3735790 --- /dev/null +++ b/meta-tizen/recipes-tizen/poi/poi-native_git.bb @@ -0,0 +1,12 @@ +require poi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/poi;protocol=ssh;tag=ac204d89cb7270906399e2908d32de7431b9f21c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/poi/poi.inc b/meta-tizen/recipes-tizen/poi/poi.inc new file mode 100644 index 0000000..71259ad --- /dev/null +++ b/meta-tizen/recipes-tizen/poi/poi.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "A Location POI library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-location-poi +PROVIDES += "capi-location-poi" +RPROVIDES_capi-location-poi += "capi-location-poi" + +#PROVIDES by capi-location-poi-devel +PROVIDES += "capi-location-poi-devel" +RPROVIDES_capi-location-poi-devel += "capi-location-poi-devel" +RPROVIDES_capi-location-poi-devel += "capi-location-poi-dev" + +RDEPENDS = "" +#RDEPENDS of capi-location-poi-devel (capi-location-${PN}-devel) +RDEPENDS_capi-location-${PN}-devel += "capi-location-poi" + + +DEPENDS = "" +#DEPENDS of capi-location-poi +DEPENDS += "pkgconfig(location)" +DEPENDS += "pkgconfig(capi-location-manager)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-location-poi.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.3 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.3 -DMAJORVER=${MAJORVER} + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-location-poi" +PACKAGES += "capi-location-poi-devel" + +capi-location-poi_files = "" +capi-location-poi_files += "capi-location-poi.manifest" +capi-location-poi_files += "capi-location-poi.manifest" +capi-location-poi_files += "/usr/lib/libcapi-location-poi.so.*" + +capi-location-poi-devel_files = "" +capi-location-poi-devel_files += "capi-location-poi.manifest" +capi-location-poi-devel_files += "/usr/include/location/*.h" +capi-location-poi-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-location-poi-devel_files += "/usr/lib/libcapi-location-poi.so" + +FILES_${PN} = "${capi-location-poi_files}" +FILES_${PN}-devel = "${capi-location-poi-devel_files}" + +PKG_capi-location-poi= "capi-location-poi" +PKG_capi-location-poi-devel= "capi-location-poi-devel" + +require poi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/poi/poi_git.bb b/meta-tizen/recipes-tizen/poi/poi_git.bb new file mode 100644 index 0000000..6cb4a04 --- /dev/null +++ b/meta-tizen/recipes-tizen/poi/poi_git.bb @@ -0,0 +1,8 @@ +require poi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/poi;protocol=ssh;tag=ac204d89cb7270906399e2908d32de7431b9f21c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/polkit/polkit-extraconf.inc b/meta-tizen/recipes-tizen/polkit/polkit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/polkit/polkit.inc b/meta-tizen/recipes-tizen/polkit/polkit.inc new file mode 100644 index 0000000..1b25005 --- /dev/null +++ b/meta-tizen/recipes-tizen/polkit/polkit.inc @@ -0,0 +1,84 @@ +DESCRIPTION = "PolicyKit Authorization Framework" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/PolicyKit" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "polkit-locale" +PACKAGES += "polkit-docs" +PACKAGES += "libpolkit" +PACKAGES += "polkit" +PACKAGES += "typelib-Polkit" +PACKAGES += "polkit-devel" + +polkit-locale_files = "" + +polkit-docs_files = "" +polkit-docs_files += "/usr/share/info" +polkit-docs_files += "/usr/share/man" + +libpolkit_files = "" +libpolkit_files += "/usr/lib/libpolkit-agent-1.so.*" +libpolkit_files += "/usr/lib/libpolkit-gobject-1.so.*" + +polkit_files = "" +polkit_files += "/usr/share/dbus-1" +polkit_files += "/usr/share/dbus-1/system-services" +polkit_files += "/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service" +polkit_files += "/usr/share/polkit-1" +polkit_files += "/usr/share/polkit-1/actions" +polkit_files += "/usr/share/polkit-1/actions/org.freedesktop.policykit.policy" +polkit_files += "/etc/dbus-1" +polkit_files += "/etc/dbus-1/system.d" +polkit_files += "/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf" +polkit_files += "/etc/pam.d/polkit-1" +polkit_files += "/etc/polkit-1" +polkit_files += "/etc/polkit-1/rules.d/50-default.rules" +polkit_files += "/usr/bin/pkaction" +polkit_files += "/usr/bin/pkcheck" +polkit_files += "/usr/bin/pkttyagent" +polkit_files += "/usr/lib/polkit-1" +polkit_files += "/usr/lib/polkit-1/polkitd" +polkit_files += "/var/lib/polkit" +polkit_files += "/lib/systemd/system/graphical.target.wants/polkit.service" +polkit_files += "/lib/systemd/system/polkit.service" + +typelib-Polkit_files = "" +typelib-Polkit_files += "/usr/lib/girepository-1.0/Polkit-1.0.typelib" +typelib-Polkit_files += "/usr/lib/girepository-1.0/PolkitAgent-1.0.typelib" + +polkit-devel_files = "" +polkit-devel_files += "/usr/lib/libpolkit-agent-1.so" +polkit-devel_files += "/usr/lib/libpolkit-gobject-1.so" +polkit-devel_files += "/usr/lib/pkgconfig/polkit-agent-1.pc" +polkit-devel_files += "/usr/lib/pkgconfig/polkit-gobject-1.pc" +polkit-devel_files += "/usr/include/polkit-1/" +polkit-devel_files += "/usr/bin/pk-example-frobnicate" +polkit-devel_files += "/usr/share/gir-1.0/*.gir" +polkit-devel_files += "/usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy" + +FILES_${PN}-locale = "${polkit-locale_files}" +FILES_${PN}-docs = "${polkit-docs_files}" +FILES_lib${PN} = "${libpolkit_files}" +FILES_${PN} = "${polkit_files}" +FILES_typelib-Polkit = "${typelib-Polkit_files}" +FILES_${PN}-devel = "${polkit-devel_files}" + +PKG_polkit-locale= "polkit-locale" +PKG_polkit-docs= "polkit-docs" +PKG_libpolkit= "libpolkit" +PKG_polkit= "polkit" +PKG_typelib-Polkit= "typelib-Polkit" +PKG_polkit-devel= "polkit-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require polkit-rdepends.inc +require polkit-depends.inc +require polkit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/poppler-data/poppler-data-extraconf.inc b/meta-tizen/recipes-tizen/poppler-data/poppler-data-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/poppler-data/poppler-data-native_git.bb b/meta-tizen/recipes-tizen/poppler-data/poppler-data-native_git.bb new file mode 100644 index 0000000..e652bef --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler-data/poppler-data-native_git.bb @@ -0,0 +1,12 @@ +require poppler-data.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/poppler-data;protocol=ssh;tag=6e197ca1c5434cb2b7956573f2c7798cdfd75ab1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/poppler-data/poppler-data.inc b/meta-tizen/recipes-tizen/poppler-data/poppler-data.inc new file mode 100644 index 0000000..1746b9b --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler-data/poppler-data.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Encoding Files for use with libpoppler" +HOMEPAGE = "http://poppler.freedesktop.org/" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by poppler-data +PROVIDES += "poppler-data" +RPROVIDES_poppler-data += "poppler-data" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/poppler-data.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 prefix=/usr + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install prefix=/usr + + +} + +PACKAGES = "" +PACKAGES += "poppler-data" + +poppler-data_files = "" +poppler-data_files += "poppler-data.manifest" +poppler-data_files += "BSD-3-Clause ; GPL-2.0 COPYING COPYING.adobe COPYING.gpl2" +poppler-data_files += "/usr/share/poppler" + +FILES_${PN} = "${poppler-data_files}" + +PKG_poppler-data= "poppler-data" + +require poppler-data-extraconf.inc diff --git a/meta-tizen/recipes-tizen/poppler-data/poppler-data_git.bb b/meta-tizen/recipes-tizen/poppler-data/poppler-data_git.bb new file mode 100644 index 0000000..f77e38e --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler-data/poppler-data_git.bb @@ -0,0 +1,8 @@ +require poppler-data.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/poppler-data;protocol=ssh;tag=6e197ca1c5434cb2b7956573f2c7798cdfd75ab1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/poppler/poppler-extraconf.inc b/meta-tizen/recipes-tizen/poppler/poppler-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/poppler/poppler-native_git.bb b/meta-tizen/recipes-tizen/poppler/poppler-native_git.bb new file mode 100644 index 0000000..85b2bf5 --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler/poppler-native_git.bb @@ -0,0 +1,12 @@ +require poppler.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/poppler;protocol=ssh;tag=d8c217cdb0fb6943e796c50f834bbbdd74cbcd21;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/poppler/poppler.inc b/meta-tizen/recipes-tizen/poppler/poppler.inc new file mode 100644 index 0000000..51ffcda --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler/poppler.inc @@ -0,0 +1,252 @@ +DESCRIPTION = "PDF rendering library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpoppler-glib +PROVIDES += "libpoppler-glib" +RPROVIDES_libpoppler-glib += "libpoppler-glib" +# the PROVIDES rules is ignore "poppler-glib = 0.24.1" +PROVIDES += "poppler-glib" +RPROVIDES_libpoppler-glib += "poppler-glib" + +#PROVIDES by libpoppler-glib-devel +PROVIDES += "libpoppler-glib-devel" +RPROVIDES_libpoppler-glib-devel += "libpoppler-glib-devel" +RPROVIDES_libpoppler-glib-devel += "libpoppler-glib-dev" +# the PROVIDES rules is ignore "poppler-glib-devel = 0.24.1-1" +PROVIDES += "poppler-glib-devel" +RPROVIDES_libpoppler-glib-devel += "poppler-glib-devel" +RPROVIDES_libpoppler-glib-devel += "poppler-glib-dev" + +#PROVIDES by libpoppler +PROVIDES += "libpoppler" +RPROVIDES_libpoppler += "libpoppler" +# the PROVIDES rules is ignore "poppler = 0.24.1" +PROVIDES += "poppler" +RPROVIDES_libpoppler += "poppler" + +#PROVIDES by libpoppler-devel +PROVIDES += "libpoppler-devel" +RPROVIDES_libpoppler-devel += "libpoppler-devel" +RPROVIDES_libpoppler-devel += "libpoppler-dev" +# the PROVIDES rules is ignore "poppler-devel = 0.24.1-1" +PROVIDES += "poppler-devel" +RPROVIDES_libpoppler-devel += "poppler-devel" +RPROVIDES_libpoppler-devel += "poppler-dev" + +#PROVIDES by poppler +PROVIDES += "poppler" +RPROVIDES_poppler += "poppler" + +#PROVIDES by poppler-tools +PROVIDES += "poppler-tools" +RPROVIDES_poppler-tools += "poppler-tools" +# the PROVIDES rules is ignore "poppler-tools = 0.24.1" +PROVIDES += "poppler-tools" +RPROVIDES_poppler-tools += "poppler-tools" +# the PROVIDES rules is ignore "xpdf-tools " +PROVIDES += "xpdf-tools" +RPROVIDES_poppler-tools += "xpdf-tools" +# the PROVIDES rules is ignore "pdftohtml " +PROVIDES += "pdftohtml" +RPROVIDES_poppler-tools += "pdftohtml" + +RDEPENDS = "" +#RDEPENDS of libpoppler-glib-devel (lib${PN}-glib-devel) +RDEPENDS_lib${PN}-glib-devel += "libpoppler-dev" +RDEPENDS_lib${PN}-glib-devel += "libpoppler-glib" + +#RDEPENDS of libpoppler-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libpoppler" + +#RDEPENDS of poppler-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libpoppler" + + +DEPENDS = "" +#DEPENDS of poppler +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(cairo-pdf)" +DEPENDS += "freetype2" +DEPENDS += "pkgconfig(cairo-svg)" +DEPENDS += "pkgconfig(fontconfig)" +DEPENDS += "pkgconfig(cairo-ps)" +DEPENDS += "pkgconfig(cairo)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(cairo-ft)" +DEPENDS += "pkgconfig(lcms2)" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "libjpeg-turbo" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "curl" +DEPENDS += "libtiff-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpoppler-cpp.manifest . + cp ${S}/packaging/libpoppler-glib.manifest . + cp ${S}/packaging/libpoppler.manifest . + cp ${S}/packaging/poppler-tools.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --prefix=/usr --localstatedir=/opt/var --sysconfdir=/opt/etc --datarootdir=/usr/share \ + --enable-shared --disable-static \ + --enable-libjpeg --disable-libopenjpeg --enable-libtiff \ + --enable-largefile \ + --enable-zlib --disable-libcurl \ + --enable-libpng \ + --enable-cairo-output \ + --enable-splash-output \ + --enable-poppler-glib \ + --enable-introspection=auto \ + --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf \ + --disable-poppler-qt4 --disable-poppler-qt5 \ + --disable-gtk-test \ + --enable-xpdf-headers \ + --enable-compile-warnings=yes \ + --enable-cms=lcms2 --without-x --with-font-configuration=fontconfig + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + /bin/cp -a config.h ${D}/usr/include/poppler/ + + rm ${D}/usr/lib/*.la + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/libpoppler + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/libpoppler-glib + cp ${WORKDIR}/git/COPYING ${D}/usr/share/license/poppler-tools + + + +} + +PACKAGES = "" +PACKAGES += "libpoppler-glib-devel" +PACKAGES += "libpoppler" +PACKAGES += "libpoppler-glib" +PACKAGES += "libpoppler-devel" +PACKAGES += "poppler-tools" + +libpoppler-glib-devel_files = "" +libpoppler-glib-devel_files += "/usr/lib/libpoppler-glib.so" +libpoppler-glib-devel_files += "/usr/lib/pkgconfig/poppler-glib.pc" +libpoppler-glib-devel_files += "/usr/include/poppler/glib/*.h" + +libpoppler_files = "" +libpoppler_files += "libpoppler.manifest" +libpoppler_files += "/usr/share/license/libpoppler" +libpoppler_files += "/usr/lib/libpoppler.so.43*" + +libpoppler-glib_files = "" +libpoppler-glib_files += "libpoppler-glib.manifest" +libpoppler-glib_files += "/usr/share/license/libpoppler-glib" +libpoppler-glib_files += "/usr/lib/libpoppler-glib.so.8*" + +libpoppler-devel_files = "" +libpoppler-devel_files += "/usr/lib/libpoppler.so" +libpoppler-devel_files += "/usr/include/poppler/" +libpoppler-devel_files += "/usr/include/poppler/config.h" +libpoppler-devel_files += "/usr/include/poppler/[A-Z]*" +libpoppler-devel_files += "/usr/include/poppler/fofi" +libpoppler-devel_files += "/usr/include/poppler/goo" +libpoppler-devel_files += "/usr/include/poppler/splash" +libpoppler-devel_files += "/usr/include/poppler/poppler-config.h" +libpoppler-devel_files += "/usr/lib/pkgconfig/poppler-cairo.pc" +libpoppler-devel_files += "/usr/lib/pkgconfig/poppler-splash.pc" +libpoppler-devel_files += "/usr/lib/pkgconfig/poppler.pc" + +poppler-tools_files = "" +poppler-tools_files += "poppler-tools.manifest" +poppler-tools_files += "/usr/share/license/poppler-tools" +poppler-tools_files += "/usr/bin/pdfinfo" +poppler-tools_files += "/usr/bin/pdfseparate" +poppler-tools_files += "/usr/bin/pdftoppm" +poppler-tools_files += "/usr/bin/pdftops" +poppler-tools_files += "/usr/bin/pdfunite" + +FILES_lib${PN}-glib-devel = "${libpoppler-glib-devel_files}" +FILES_lib${PN} = "${libpoppler_files}" +FILES_lib${PN}-glib = "${libpoppler-glib_files}" +FILES_lib${PN}-devel = "${libpoppler-devel_files}" +FILES_${PN}-tools = "${poppler-tools_files}" + +PKG_libpoppler-glib-devel= "libpoppler-glib-devel" +PKG_libpoppler= "libpoppler" +PKG_libpoppler-glib= "libpoppler-glib" +PKG_libpoppler-devel= "libpoppler-devel" +PKG_poppler-tools= "poppler-tools" + +require poppler-extraconf.inc diff --git a/meta-tizen/recipes-tizen/poppler/poppler_git.bb b/meta-tizen/recipes-tizen/poppler/poppler_git.bb new file mode 100644 index 0000000..a6871eb --- /dev/null +++ b/meta-tizen/recipes-tizen/poppler/poppler_git.bb @@ -0,0 +1,8 @@ +require poppler.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/poppler;protocol=ssh;tag=d8c217cdb0fb6943e796c50f834bbbdd74cbcd21;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/popt/popt-extraconf.inc b/meta-tizen/recipes-tizen/popt/popt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/popt/popt.inc b/meta-tizen/recipes-tizen/popt/popt.inc new file mode 100644 index 0000000..828e3ce --- /dev/null +++ b/meta-tizen/recipes-tizen/popt/popt.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "A C library for parsing command line parameters" +HOMEPAGE = "http://www.rpm5.org/" +SECTION = "Base/Libraries" +LICENSE = "XFree86-1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libpopt +PROVIDES += "libpopt" +RPROVIDES_libpopt += "libpopt" +# the PROVIDES rules is ignore "popt = 1.16" +PROVIDES += "popt" +RPROVIDES_libpopt += "popt" + +#PROVIDES by popt-locale +PROVIDES += "popt-locale " +RPROVIDES_popt-locale += "popt-locale " +# the PROVIDES rules is ignore "popt-lang-all = 1.16" +PROVIDES += "popt-lang-all" +RPROVIDES_popt-locale += "popt-lang-all" + +#PROVIDES by popt-devel +PROVIDES += "popt-devel" +RPROVIDES_popt-devel += "popt-devel" +RPROVIDES_popt-devel += "popt-dev" + +#PROVIDES by popt +PROVIDES += "popt" +RPROVIDES_popt += "popt" + +RDEPENDS = "" +#RDEPENDS of popt-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "popt" + +#RDEPENDS of popt-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libpopt" + + +DEPENDS = "" +#DEPENDS of popt + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/popt.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} popt + + +} + +PACKAGES = "" +PACKAGES += "libpopt" +PACKAGES += "popt-devel" +PACKAGES += "popt-locale" + +libpopt_files = "" +libpopt_files += "popt.manifest" +libpopt_files += "/usr/lib/libpopt.so.*" + +popt-devel_files = "" +popt-devel_files += "popt.manifest" +popt-devel_files += "README" +popt-devel_files += "/usr/lib/libpopt.so" +popt-devel_files += "/usr/include/popt.h" +popt-devel_files += "/usr/share/man/man3/popt.3*" +popt-devel_files += "/usr/lib/pkgconfig/popt.pc" + +popt-locale_files = "" + +FILES_lib${PN} = "${libpopt_files}" +FILES_${PN}-devel = "${popt-devel_files}" +FILES_${PN}-locale = "${popt-locale_files}" + +PKG_libpopt= "libpopt" +PKG_popt-devel= "popt-devel" +PKG_popt-locale= "popt-locale" + +require popt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/power-manager/power-manager-extraconf.inc b/meta-tizen/recipes-tizen/power-manager/power-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/power-manager/power-manager-native_git.bb b/meta-tizen/recipes-tizen/power-manager/power-manager-native_git.bb new file mode 100644 index 0000000..eaaa248 --- /dev/null +++ b/meta-tizen/recipes-tizen/power-manager/power-manager-native_git.bb @@ -0,0 +1,12 @@ +require power-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/power-manager;protocol=ssh;tag=9acc07812294b63e060ae1b44b34df118b6e304d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/power-manager/power-manager.inc b/meta-tizen/recipes-tizen/power-manager/power-manager.inc new file mode 100644 index 0000000..d62ade0 --- /dev/null +++ b/meta-tizen/recipes-tizen/power-manager/power-manager.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "Power manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Power Management" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by power-manager +PROVIDES += "power-manager" +RPROVIDES_power-manager += "power-manager" + +RDEPENDS = "" +#RDEPENDS of power-manager (${PN}) +RDEPENDS_${PN} += "system-server" +RDEPENDS_${PN} += "/usr/bin/vconftool" + + +DEPENDS = "" +#DEPENDS of power-manager +DEPENDS += "cmake" +DEPENDS += "pkgconfig(device-node)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "libslp-sensor" +DEPENDS += "heynoti" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "devman" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/power-manager.manifest . + #for real device + CFLAGS+=" -DX86" + export CFLAGS + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m 0644 ${S}/packaging/power-manager.service ${D}/usr/lib/systemd/system/power-manager.service + ln -s ../power-manager.service ${D}/usr/lib/systemd/system/multi-user.target.wants/power-manager.service + + +} + +PACKAGES = "" +PACKAGES += "power-manager" + +power-manager_files = "" +power-manager_files += "power-manager.manifest" +power-manager_files += "/usr/bin/pm_event" +power-manager_files += "/usr/bin/pmctrl" +power-manager_files += "/usr/bin/power_manager" +power-manager_files += "/usr/lib/systemd/system/power-manager.service" +power-manager_files += "/usr/lib/systemd/system/multi-user.target.wants/power-manager.service" +power-manager_files += "/usr/share/power-manager/udev-rules/91-power-manager.rules" + +FILES_${PN} = "${power-manager_files}" + +PKG_power-manager= "power-manager" + +require power-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/power-manager/power-manager_git.bb b/meta-tizen/recipes-tizen/power-manager/power-manager_git.bb new file mode 100644 index 0000000..b971ffc --- /dev/null +++ b/meta-tizen/recipes-tizen/power-manager/power-manager_git.bb @@ -0,0 +1,8 @@ +require power-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/power-manager;protocol=ssh;tag=9acc07812294b63e060ae1b44b34df118b6e304d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/power/power-extraconf.inc b/meta-tizen/recipes-tizen/power/power-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/power/power-native_git.bb b/meta-tizen/recipes-tizen/power/power-native_git.bb new file mode 100644 index 0000000..c89c226 --- /dev/null +++ b/meta-tizen/recipes-tizen/power/power-native_git.bb @@ -0,0 +1,12 @@ +require power.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/power;protocol=ssh;tag=f58d6291c3a787f8fde033a050317f1aaea37226;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/power/power.inc b/meta-tizen/recipes-tizen/power/power.inc new file mode 100644 index 0000000..fd77b15 --- /dev/null +++ b/meta-tizen/recipes-tizen/power/power.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A power library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-power +PROVIDES += "capi-system-power" +RPROVIDES_capi-system-power += "capi-system-power" + +#PROVIDES by capi-system-power-devel +PROVIDES += "capi-system-power-devel" +RPROVIDES_capi-system-power-devel += "capi-system-power-devel" +RPROVIDES_capi-system-power-devel += "capi-system-power-dev" + +RDEPENDS = "" +#RDEPENDS of capi-system-power-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "capi-system-power" + + +DEPENDS = "" +#DEPENDS of capi-system-power +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "libslp-pm" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/capi-system-power.manifest . + MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-system-power" +PACKAGES += "capi-system-power-devel" + +capi-system-power_files = "" +capi-system-power_files += "capi-system-power.manifest" +capi-system-power_files += "capi-system-power.manifest" +capi-system-power_files += "/usr/lib/libcapi-system-power.so.*" + +capi-system-power-devel_files = "" +capi-system-power-devel_files += "capi-system-power.manifest" +capi-system-power-devel_files += "/usr/include/system/power.h" +capi-system-power-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-power-devel_files += "/usr/lib/libcapi-system-power.so" + +FILES_${PN} = "${capi-system-power_files}" +FILES_${PN}-devel = "${capi-system-power-devel_files}" + +PKG_capi-system-power= "capi-system-power" +PKG_capi-system-power-devel= "capi-system-power-devel" + +require power-extraconf.inc diff --git a/meta-tizen/recipes-tizen/power/power_git.bb b/meta-tizen/recipes-tizen/power/power_git.bb new file mode 100644 index 0000000..9b7d3d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/power/power_git.bb @@ -0,0 +1,8 @@ +require power.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/power;protocol=ssh;tag=f58d6291c3a787f8fde033a050317f1aaea37226;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/powertop/powertop-extraconf.inc b/meta-tizen/recipes-tizen/powertop/powertop-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/powertop/powertop-native_git.bb b/meta-tizen/recipes-tizen/powertop/powertop-native_git.bb new file mode 100644 index 0000000..a0166e4 --- /dev/null +++ b/meta-tizen/recipes-tizen/powertop/powertop-native_git.bb @@ -0,0 +1,12 @@ +require powertop.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/powertop;protocol=ssh;tag=f6b0d9de6a1b323ccd287e28fd1bcaf886719ab7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/powertop/powertop.inc b/meta-tizen/recipes-tizen/powertop/powertop.inc new file mode 100644 index 0000000..b9f9fae --- /dev/null +++ b/meta-tizen/recipes-tizen/powertop/powertop.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "A tool that is used for power diagnostics" +HOMEPAGE = "http://www.01.org" +SECTION = "System/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by powertop +PROVIDES += "powertop" +RPROVIDES_powertop += "powertop" + +#PROVIDES by powertop-locale +PROVIDES += "powertop-locale " +RPROVIDES_powertop-locale += "powertop-locale " +# the PROVIDES rules is ignore "powertop-lang-all = 2.5" +PROVIDES += "powertop-lang-all" +RPROVIDES_powertop-locale += "powertop-lang-all" + +#PROVIDES by powertop-docs +PROVIDES += "powertop-docs " +RPROVIDES_powertop-docs += "powertop-docs " + +RDEPENDS = "" +#RDEPENDS of powertop-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "powertop" + + +DEPENDS = "" +#DEPENDS of powertop +DEPENDS += "ncurses" +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(libnl-1)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pciutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/powertop.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} powertop + + + +} + +PACKAGES = "" +PACKAGES += "powertop" +PACKAGES += "powertop-locale" +PACKAGES += "powertop-docs" + +powertop_files = "" +powertop_files += "powertop.manifest" +powertop_files += "/usr/sbin/powertop" + +powertop-locale_files = "" + +powertop-docs_files = "" +powertop-docs_files += "/usr/share/info" +powertop-docs_files += "/usr/share/man" + +FILES_${PN} = "${powertop_files}" +FILES_${PN}-locale = "${powertop-locale_files}" +FILES_${PN}-docs = "${powertop-docs_files}" + +PKG_powertop= "powertop" +PKG_powertop-locale= "powertop-locale" +PKG_powertop-docs= "powertop-docs" + +require powertop-extraconf.inc diff --git a/meta-tizen/recipes-tizen/powertop/powertop_git.bb b/meta-tizen/recipes-tizen/powertop/powertop_git.bb new file mode 100644 index 0000000..4c2ba31 --- /dev/null +++ b/meta-tizen/recipes-tizen/powertop/powertop_git.bb @@ -0,0 +1,8 @@ +require powertop.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/powertop;protocol=ssh;tag=f6b0d9de6a1b323ccd287e28fd1bcaf886719ab7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ppl/ppl-extraconf.inc b/meta-tizen/recipes-tizen/ppl/ppl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ppl/ppl-native_git.bb b/meta-tizen/recipes-tizen/ppl/ppl-native_git.bb new file mode 100644 index 0000000..2a86afd --- /dev/null +++ b/meta-tizen/recipes-tizen/ppl/ppl-native_git.bb @@ -0,0 +1,12 @@ +require ppl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ppl;protocol=ssh;tag=a0aad599d383f3ebfc6db0eef4101050cb00b9d5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ppl/ppl.inc b/meta-tizen/recipes-tizen/ppl/ppl.inc new file mode 100644 index 0000000..56263dd --- /dev/null +++ b/meta-tizen/recipes-tizen/ppl/ppl.inc @@ -0,0 +1,203 @@ +DESCRIPTION = "The Parma Polyhedra Library" +HOMEPAGE = "http://www.cs.unipr.it/ppl/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libppl_c +PROVIDES += "libppl_c" +RPROVIDES_libppl_c += "libppl_c" + +#PROVIDES by libppl +PROVIDES += "libppl" +RPROVIDES_libppl += "libppl" + +#PROVIDES by ppl +PROVIDES += "ppl" +RPROVIDES_ppl += "ppl" + +#PROVIDES by ppl-devel-static +PROVIDES += "ppl-devel-static" +RPROVIDES_ppl-devel-static += "ppl-devel-static" +RPROVIDES_ppl-devel-static += "ppl-dev" + +#PROVIDES by ppl-doc +PROVIDES += "ppl-doc" +RPROVIDES_ppl-doc += "ppl-doc" + +#PROVIDES by ppl-devel +PROVIDES += "ppl-devel" +RPROVIDES_ppl-devel += "ppl-devel" +RPROVIDES_ppl-devel += "ppl-dev" + +RDEPENDS = "" +#RDEPENDS of ppl-devel-static (${PN}-devel-static) +RDEPENDS_${PN}-devel-static += "ppl-dev" + +#RDEPENDS of ppl-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libppl_c" +RDEPENDS_${PN}-devel += "gmp-dev" +RDEPENDS_${PN}-devel += "libppl" + + +DEPENDS = "" +#DEPENDS of ppl +DEPENDS += "gcc-cross" +DEPENDS += "gmp" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ppl-0.11.2 + cp ${S}/packaging/ppl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-shared --with-pic --disable-rpath \ + --disable-watchdog + #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + #sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} INSTALL="install -p" install + # We don't build the binary, so delete its manpage + rm -f ${D}/usr/share/man/man1/ppl_lpsol.1 + # We don't build pwl + rm -Rf ${D}/usr/share/doc/pwl + # The pdf is enough + rm -f ${D}/usr/share/doc/ppl/ppl-user-*.ps.gz + rm -f ${D}/usr/share/doc/ppl/ChangeLog + rm -f ${D}/usr/share/doc/ppl/TODO + rm -f ${D}/usr/share/doc/ppl/gpl.* + rm -f ${D}/usr/share/doc/ppl/fdl.ps.gz + rm -f ${D}/usr/share/doc/ppl/fdl.pdf + rm -Rf ${D}/usr/share/doc/ppl/ppl-user-prolog-interface-0.11.2* + rm -Rf ${D}/usr/share/doc/ppl/ppl-user-ocaml-interface-0.11.2* + rm -Rf ${D}/usr/share/doc/ppl/ppl-user-java-interface-0.11.2* + + +} + +PACKAGES = "" +PACKAGES += "ppl-devel" +PACKAGES += "libppl" +PACKAGES += "ppl" +PACKAGES += "libppl_c" +PACKAGES += "ppl-doc" +PACKAGES += "ppl-devel-static" + +ppl-devel_files = "" +ppl-devel_files += "ppl.manifest" +ppl-devel_files += "/usr/share/doc/ppl/README.configure" +ppl-devel_files += "/usr/include/ppl.hh" +ppl-devel_files += "/usr/include/ppl_c.h" +ppl-devel_files += "/usr/lib/libppl.so" +ppl-devel_files += "/usr/lib/libppl_c.so" +ppl-devel_files += "/usr/bin/ppl-config" +ppl-devel_files += "/usr/share/man/man1/ppl-config.1.gz" +ppl-devel_files += "/usr/share/man/man3/libppl.3.gz" +ppl-devel_files += "/usr/share/man/man3/libppl_c.3.gz" +ppl-devel_files += "/usr/share/aclocal" +ppl-devel_files += "/usr/share/aclocal/ppl.m4" +ppl-devel_files += "/usr/share/aclocal/ppl_c.m4" + +libppl_files = "" +libppl_files += "ppl.manifest" +libppl_files += "/usr/lib/libppl.so.*" + +ppl_files = "" +ppl_files += "ppl.manifest" +ppl_files += "/usr/share/doc/ppl" +ppl_files += "/usr/share/doc/ppl/BUGS" +ppl_files += "/usr/share/doc/ppl/COPYING" +ppl_files += "/usr/share/doc/ppl/CREDITS" +ppl_files += "/usr/share/doc/ppl/NEWS" +ppl_files += "/usr/share/doc/ppl/README" +ppl_files += "/usr/bin/ppl_lcdd" +ppl_files += "/usr/bin/ppl_pips" +ppl_files += "/usr/share/man/man1/ppl_lcdd.1.gz" +ppl_files += "/usr/share/man/man1/ppl_pips.1.gz" + +libppl_c_files = "" +libppl_c_files += "ppl.manifest" +libppl_c_files += "/usr/lib/libppl_c.so.*" + +ppl-doc_files = "" +ppl-doc_files += "ppl.manifest" +ppl-doc_files += "/usr/share/doc/ppl/README.doc" +ppl-doc_files += "/usr/share/doc/ppl/fdl.txt" +ppl-doc_files += "/usr/share/doc/ppl/ppl-user-0.11.2-html/" +ppl-doc_files += "/usr/share/doc/ppl/ppl-user-c-interface-0.11.2-html/" +ppl-doc_files += "/usr/share/doc/ppl/ppl-user-0.11.2.pdf" +ppl-doc_files += "/usr/share/doc/ppl/ppl-user-c-interface-0.11.2.pdf" + +ppl-devel-static_files = "" +ppl-devel-static_files += "ppl.manifest" +ppl-devel-static_files += "/usr/lib/libppl.a" +ppl-devel-static_files += "/usr/lib/libppl.la" +ppl-devel-static_files += "/usr/lib/libppl_c.a" +ppl-devel-static_files += "/usr/lib/libppl_c.la" + +FILES_${PN}-devel = "${ppl-devel_files}" +FILES_lib${PN} = "${libppl_files}" +FILES_${PN} = "${ppl_files}" +FILES_lib${PN}_c = "${libppl_c_files}" +FILES_${PN}-doc = "${ppl-doc_files}" +FILES_${PN}-devel-static = "${ppl-devel-static_files}" + +PKG_ppl-devel= "ppl-devel" +PKG_libppl= "libppl" +PKG_ppl= "ppl" +PKG_libppl_c= "libppl_c" +PKG_ppl-doc= "ppl-doc" +PKG_ppl-devel-static= "ppl-devel-static" + +require ppl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ppl/ppl_git.bb b/meta-tizen/recipes-tizen/ppl/ppl_git.bb new file mode 100644 index 0000000..90478c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/ppl/ppl_git.bb @@ -0,0 +1,8 @@ +require ppl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ppl;protocol=ssh;tag=a0aad599d383f3ebfc6db0eef4101050cb00b9d5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/prelink/prelink-extraconf.inc b/meta-tizen/recipes-tizen/prelink/prelink-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/prelink/prelink.inc b/meta-tizen/recipes-tizen/prelink/prelink.inc new file mode 100644 index 0000000..3d85fb2 --- /dev/null +++ b/meta-tizen/recipes-tizen/prelink/prelink.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "An ELF Prelinking Utility" +HOMEPAGE = "http://people.redhat.com/jakub/prelink/" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by prelink +PROVIDES += "prelink" +RPROVIDES_prelink += "prelink" + +#PROVIDES by prelink-docs +PROVIDES += "prelink-docs " +RPROVIDES_prelink-docs += "prelink-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of prelink +DEPENDS += "gcc-cross" +DEPENDS += "libelf0" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n prelink + cp ${S}/packaging/prelink.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # This package failed when testing with -Wl,-as-needed being default. + # So we disable it here, if you want to retest, just delete this comment and the line below. + export LD_AS_NEEDED=0 + # Uninitialized memory in dynamic loader in ifunc3 test. + export -n MALLOC_PERTURB_ + unset MALLOC_PERTURB_ + + CFLAGS="$RPM_OPT_FLAGS" \ + ./configure --prefix=/usr --mandir=/usr/share/man || cat config.log + make -j16 + + exit 0 + make -C testsuite check-harder + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT/etc + sed -e "s,LIBDIR,lib," ${S}/packaging/prelink.conf > $RPM_BUILD_ROOT/etc/prelink.conf + mkdir -p $FILLUP_DIR $RPM_BUILD_ROOT/sbin/conf.d + install -m 0755 -d $RPM_BUILD_ROOT/var/lib/prelink + mkdir -p $RPM_BUILD_ROOT/etc/rpm + cat > $RPM_BUILD_ROOT/etc/rpm/macros.prelink < $RPM_BUILD_ROOT/usr/share/man/man8/adduser.8 + + + +} + +PACKAGES = "" +PACKAGES += "pwdutils-docs" +PACKAGES += "pwdutils" + +pwdutils-docs_files = "" +pwdutils-docs_files += "/usr/share/info" +pwdutils-docs_files += "/usr/share/man" + +pwdutils_files = "" +pwdutils_files += "pwdutils.manifest" +pwdutils_files += "/etc/login.defs" +pwdutils_files += "/etc/pam.d/chage" +pwdutils_files += "/etc/pam.d/chfn" +pwdutils_files += "/etc/pam.d/chsh" +pwdutils_files += "/etc/pam.d/passwd" +pwdutils_files += "/etc/pam.d/shadow" +pwdutils_files += "/etc/pam.d/useradd" +pwdutils_files += "/etc/default/useradd" +pwdutils_files += "/etc/default/passwd" +pwdutils_files += "/etc/pwdutils" +pwdutils_files += "/etc/pwdutils/logging" +pwdutils_files += "/usr/bin/sg" +pwdutils_files += "/usr/sbin/chpasswd" +pwdutils_files += "/usr/sbin/groupadd" +pwdutils_files += "/usr/sbin/groupdel" +pwdutils_files += "/usr/sbin/groupmod" +pwdutils_files += "/usr/sbin/grpck" +pwdutils_files += "/usr/sbin/grpconv" +pwdutils_files += "/usr/sbin/grpunconv" +pwdutils_files += "/usr/sbin/pwck" +pwdutils_files += "/usr/sbin/pwconv" +pwdutils_files += "/usr/sbin/pwunconv" +pwdutils_files += "/usr/sbin/useradd" +pwdutils_files += "/usr/sbin/userdel" +pwdutils_files += "/usr/sbin/usermod" +pwdutils_files += "/usr/sbin/vigr" +pwdutils_files += "/usr/sbin/vipw" +pwdutils_files += "/usr/lib/pwdutils" +pwdutils_files += "/usr/lib/pwdutils/liblog_syslog.so.1*" + +FILES_${PN}-docs = "${pwdutils-docs_files}" +FILES_${PN} = "${pwdutils_files}" + +PKG_pwdutils-docs= "pwdutils-docs" +PKG_pwdutils= "pwdutils" + +require pwdutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb b/meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb new file mode 100644 index 0000000..f1e419f --- /dev/null +++ b/meta-tizen/recipes-tizen/pwdutils/pwdutils_git.bb @@ -0,0 +1,8 @@ +require pwdutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pwdutils;protocol=ssh;tag=d194a26d170ea0b84a6488f6b234d1092280c4b4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pygobject2/pygobject2-extraconf.inc b/meta-tizen/recipes-tizen/pygobject2/pygobject2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/pygobject2/pygobject2-native_git.bb b/meta-tizen/recipes-tizen/pygobject2/pygobject2-native_git.bb new file mode 100644 index 0000000..31388dd --- /dev/null +++ b/meta-tizen/recipes-tizen/pygobject2/pygobject2-native_git.bb @@ -0,0 +1,12 @@ +require pygobject2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pygobject2;protocol=ssh;tag=ab8bccfcb4b6be6d38390d730780d82c56c77308;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/pygobject2/pygobject2.inc b/meta-tizen/recipes-tizen/pygobject2/pygobject2.inc new file mode 100644 index 0000000..83cae2a --- /dev/null +++ b/meta-tizen/recipes-tizen/pygobject2/pygobject2.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Python bindings for GObject" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Languages" +LICENSE = "LGPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pygobject +PROVIDES += "pygobject" +RPROVIDES_pygobject += "pygobject" + +#PROVIDES by pygobject-doc +PROVIDES += "pygobject-doc" +RPROVIDES_pygobject-doc += "pygobject-doc" + +#PROVIDES by pygobject-codegen +PROVIDES += "pygobject-codegen" +RPROVIDES_pygobject-codegen += "pygobject-codegen" + +#PROVIDES by pygobject-devel +PROVIDES += "pygobject-devel" +RPROVIDES_pygobject-devel += "pygobject-devel" +RPROVIDES_pygobject-devel += "pygobject-dev" + +RDEPENDS = "" +#RDEPENDS of pygobject-devel (pygobject-devel) +RDEPENDS_pygobject-devel += "pygobject" +RDEPENDS_pygobject-devel += "pygobject-codegen" +RDEPENDS_pygobject-devel += "glib2-dev" +RDEPENDS_pygobject-devel += "pkgconfig" +RDEPENDS_pygobject-devel += "pygobject-doc" + + +DEPENDS = "" +#DEPENDS of pygobject +DEPENDS += "glib" +DEPENDS += "python-devel" +DEPENDS += "libtool-cross" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pygobject.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-thread + export tagname=CC + make LIBTOOL=/usr/bin/libtool + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + export tagname=CC + make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install + find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f + + rm examples/Makefile* + + +} + +PACKAGES = "" +PACKAGES += "pygobject-codegen" +PACKAGES += "pygobject" +PACKAGES += "pygobject-doc" +PACKAGES += "pygobject-devel" + +pygobject-codegen_files = "" +pygobject-codegen_files += "pygobject.manifest" +pygobject-codegen_files += "/usr/bin/pygobject-codegen-2.0" +pygobject-codegen_files += "/usr/share/pygobject/2.0" +pygobject-codegen_files += "/usr/share/pygobject/2.0/codegen" + +pygobject_files = "" +pygobject_files += "pygobject.manifest" +pygobject_files += "AUTHORS NEWS README" +pygobject_files += "/usr/lib/libpyglib-2.0-python.so*" +pygobject_files += "/usr/lib/python2.7/site-packages/gtk-2.0" +pygobject_files += "/usr/lib/python2.7/site-packages/gtk-2.0/dsextras.*" +pygobject_files += "/usr/lib/python2.7/site-packages/pygtk.*" +pygobject_files += "/usr/lib/python2.7/site-packages/gtk-2.0/gio" +pygobject_files += "/usr/lib/python2.7/site-packages/gtk-2.0/glib" +pygobject_files += "/usr/lib/python2.7/site-packages/gtk-2.0/gobject" + +pygobject-doc_files = "" +pygobject-doc_files += "pygobject.manifest" +pygobject-doc_files += "examples" +pygobject-doc_files += "/usr/share/gtk-doc/html/pygobject" +pygobject-doc_files += "/usr/share/pygobject/xsl" + +pygobject-devel_files = "" +pygobject-devel_files += "pygobject.manifest" +pygobject-devel_files += "/usr/share/pygobject" +pygobject-devel_files += "/usr/include/pygtk-2.0" +pygobject-devel_files += "/usr/share/pygobject/2.0/defs" +pygobject-devel_files += "/usr/include/pygtk-2.0/pyglib.h" +pygobject-devel_files += "/usr/include/pygtk-2.0/pygobject.h" +pygobject-devel_files += "/usr/lib/pkgconfig/pygobject-2.0.pc" + +FILES_${PN}-codegen = "${pygobject-codegen_files}" +FILES_${PN} = "${pygobject_files}" +FILES_${PN}-doc = "${pygobject-doc_files}" +FILES_${PN}-devel = "${pygobject-devel_files}" + +PKG_pygobject-codegen= "pygobject-codegen" +PKG_pygobject= "pygobject" +PKG_pygobject-doc= "pygobject-doc" +PKG_pygobject-devel= "pygobject-devel" + +require pygobject2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/pygobject2/pygobject2_git.bb b/meta-tizen/recipes-tizen/pygobject2/pygobject2_git.bb new file mode 100644 index 0000000..c329049 --- /dev/null +++ b/meta-tizen/recipes-tizen/pygobject2/pygobject2_git.bb @@ -0,0 +1,8 @@ +require pygobject2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pygobject2;protocol=ssh;tag=ab8bccfcb4b6be6d38390d730780d82c56c77308;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-extraconf.inc b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-native_git.bb b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-native_git.bb new file mode 100644 index 0000000..c0d1261 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah-native_git.bb @@ -0,0 +1,12 @@ +require python-Cheetah.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-Cheetah;protocol=ssh;tag=233a54fa2616d3b19b7559e1a77ed64163fcbcf3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah.inc b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah.inc new file mode 100644 index 0000000..d6f492e --- /dev/null +++ b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah.inc @@ -0,0 +1,100 @@ +DESCRIPTION = "Cheetah is a template engine and code generation tool" +HOMEPAGE = "http://www.cheetahtemplate.org/" +SECTION = "Development/Languages/Python" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-Cheetah +PROVIDES += "python-Cheetah" +RPROVIDES_python-Cheetah += "python-Cheetah" +# the PROVIDES rules is ignore "python-cheetah = 2.4.4" +PROVIDES += "python-cheetah" +RPROVIDES_python-Cheetah += "python-cheetah" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-Cheetah +inherit pythonnative +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Cheetah-2.4.4 + cp ${S}/packaging/python-Cheetah.manifest . + # Remove she-bang lines for non-executable scripts: + sed -i "1d" cheetah/{Tests/{Unicode,Filters,Parser,Template,Regressions,Cheps,Analyzer,Test,Misc,CheetahWrapper,SyntaxAndOutput,NameMapper,Performance},ImportHooks,Utils/Misc,Servlet,NameMapper,Parser,DirectiveAnalyzer}.py + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "python-Cheetah" + +python-Cheetah_files = "" +python-Cheetah_files += "python-Cheetah.manifest" +python-Cheetah_files += "LICENSE" +python-Cheetah_files += "/usr/bin/cheetah*" +python-Cheetah_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-Cheetah_files}" + +PKG_python-Cheetah= "python-Cheetah" + +require python-Cheetah-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah_git.bb b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah_git.bb new file mode 100644 index 0000000..652abcc --- /dev/null +++ b/meta-tizen/recipes-tizen/python-Cheetah/python-Cheetah_git.bb @@ -0,0 +1,8 @@ +require python-Cheetah.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-Cheetah;protocol=ssh;tag=233a54fa2616d3b19b7559e1a77ed64163fcbcf3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-extraconf.inc b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-native_git.bb b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-native_git.bb new file mode 100644 index 0000000..0459188 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto-native_git.bb @@ -0,0 +1,12 @@ +require python-M2Crypto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-M2Crypto;protocol=ssh;tag=60dc7fafc560768347b6c9bae9f79ff4b3901240;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto.inc b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto.inc new file mode 100644 index 0000000..be4544c --- /dev/null +++ b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto.inc @@ -0,0 +1,78 @@ +DESCRIPTION = "Crypto and SSL toolkit for Python" +HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" +SECTION = "Platfrom Development/Python" +LICENSE = "MIT and ZPL-2.0 and BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-M2Crypto +PROVIDES += "python-M2Crypto" +RPROVIDES_python-M2Crypto += "python-M2Crypto" +# the PROVIDES rules is ignore "python-m2crypto = 0.21.1" +PROVIDES += "python-m2crypto" +RPROVIDES_python-M2Crypto += "python-m2crypto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-M2Crypto +inherit pythonnative +DEPENDS += "swig" +DEPENDS += "python-distribute" +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n M2Crypto-0.21.1 + cp ${S}/packaging/python-M2Crypto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "python-M2Crypto" + +python-M2Crypto_files = "" +python-M2Crypto_files += "python-M2Crypto.manifest" +python-M2Crypto_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-M2Crypto_files}" + +PKG_python-M2Crypto= "python-M2Crypto" + +require python-M2Crypto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto_git.bb b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto_git.bb new file mode 100644 index 0000000..eeab5ef --- /dev/null +++ b/meta-tizen/recipes-tizen/python-M2Crypto/python-M2Crypto_git.bb @@ -0,0 +1,8 @@ +require python-M2Crypto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-M2Crypto;protocol=ssh;tag=60dc7fafc560768347b6c9bae9f79ff4b3901240;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-extraconf.inc b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-native_git.bb b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-native_git.bb new file mode 100644 index 0000000..bfa5403 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML-native_git.bb @@ -0,0 +1,12 @@ +require python-PyYAML.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-PyYAML;protocol=ssh;tag=a2dc4c5c085f50e51582945f8703aa495a981019;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML.inc b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML.inc new file mode 100644 index 0000000..801cdfe --- /dev/null +++ b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML.inc @@ -0,0 +1,82 @@ +DESCRIPTION = "YAML parser and emitter for Python" +HOMEPAGE = "http://pyyaml.org/wiki/PyYAML" +SECTION = "Development/Languages/Python" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-PyYAML +PROVIDES += "python-PyYAML" +RPROVIDES_python-PyYAML += "python-PyYAML" +# the PROVIDES rules is ignore "python-yaml = 3.10" +PROVIDES += "python-yaml" +RPROVIDES_python-PyYAML += "python-yaml" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-PyYAML +inherit pythonnative +DEPENDS += "python-nose" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n PyYAML-3.10 + cp ${S}/packaging/python-PyYAML.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + find examples -type f | xargs chmod -x # Fix example permissions + + exit 0 + python setup.py test + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "python-PyYAML" + +python-PyYAML_files = "" +python-PyYAML_files += "python-PyYAML.manifest" +python-PyYAML_files += "LICENSE" +python-PyYAML_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-PyYAML_files}" + +PKG_python-PyYAML= "python-PyYAML" + +require python-PyYAML-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML_git.bb b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML_git.bb new file mode 100644 index 0000000..bc0aa72 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-PyYAML/python-PyYAML_git.bb @@ -0,0 +1,8 @@ +require python-PyYAML.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-PyYAML;protocol=ssh;tag=a2dc4c5c085f50e51582945f8703aa495a981019;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-ZSI/python-ZSI-extraconf.inc b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-ZSI/python-ZSI-native_git.bb b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI-native_git.bb new file mode 100644 index 0000000..5c9815c --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI-native_git.bb @@ -0,0 +1,12 @@ +require python-ZSI.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-ZSI;protocol=ssh;tag=bf2e35fcc66d2a80d50f505e123dc74b4893e3e3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-ZSI/python-ZSI.inc b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI.inc new file mode 100644 index 0000000..db71908 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Zolera SOAP Infrastructure" +HOMEPAGE = "http://pywebsvcs.sf.net" +SECTION = "Development/Languages/Python" +LICENSE = "Python" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-ZSI +PROVIDES += "python-ZSI" +RPROVIDES_python-ZSI += "python-ZSI" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-ZSI +inherit pythonnative +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ZSI-2.1-a1 + cp ${S}/packaging/python-ZSI.manifest . + find doc -type f -name .cvsignore -exec rm {} \; # Remove CVS files + #sed -i '1d' ZSI/{auth,client,digest_auth,dispatch,fault,generate/wsdl2dispatch,__init__,parse,resolvers,schema,ServiceContainer,TCapache,TCcompound,TCnumbers,TC,TCtimes,writer,wstools/c14n,wstools/__init__}.py # Remove she-bang line + #chmod -x doc/guide02-wsdl2py.tex # Remove executable bit from tex file + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r doc | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + + +} + +PACKAGES = "" +PACKAGES += "python-ZSI" + +python-ZSI_files = "" +python-ZSI_files += "python-ZSI.manifest" +python-ZSI_files += "/usr/bin/wsdl2py" +python-ZSI_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-ZSI_files}" + +PKG_python-ZSI= "python-ZSI" + +require python-ZSI-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-ZSI/python-ZSI_git.bb b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI_git.bb new file mode 100644 index 0000000..4d9dba1 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ZSI/python-ZSI_git.bb @@ -0,0 +1,8 @@ +require python-ZSI.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-ZSI;protocol=ssh;tag=bf2e35fcc66d2a80d50f505e123dc74b4893e3e3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-cairo/python-cairo-extraconf.inc b/meta-tizen/recipes-tizen/python-cairo/python-cairo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-cairo/python-cairo-native_git.bb b/meta-tizen/recipes-tizen/python-cairo/python-cairo-native_git.bb new file mode 100644 index 0000000..f2b6d67 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cairo/python-cairo-native_git.bb @@ -0,0 +1,12 @@ +require python-cairo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-cairo;protocol=ssh;tag=57fd7f1e0f60e7e685c4abae1200f75561973d67;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-cairo/python-cairo.inc b/meta-tizen/recipes-tizen/python-cairo/python-cairo.inc new file mode 100644 index 0000000..bccecde --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cairo/python-cairo.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Python Bindings for Cairo" +HOMEPAGE = "http://www.cairographics.org/" +SECTION = "Development/Libraries/Python" +LICENSE = "LGPL-2.1+ or MPL-1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-cairo-devel +PROVIDES += "python-cairo-devel" +RPROVIDES_python-cairo-devel += "python-cairo-devel" +RPROVIDES_python-cairo-devel += "python-cairo-dev" + +#PROVIDES by python-cairo +PROVIDES += "python-cairo" +RPROVIDES_python-cairo += "python-cairo" + +RDEPENDS = "" +#RDEPENDS of python-cairo-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "cairo-dev" +RDEPENDS_${PN}-devel += "python-dev" +RDEPENDS_${PN}-devel += "python-cairo" + + +DEPENDS = "" +#DEPENDS of python-cairo +inherit pythonnative +DEPENDS += "cairo" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n py2cairo-1.10.0 + cp ${S}/packaging/python-cairo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' + ./waf configure --prefix=/usr --libdir=/usr/lib + ./waf build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + ./waf install --destdir=${D} + # waf is broken and generated byte-code that references the build root, see http://code.google.com/p/waf/issues/detail?id=986 + + find ${D}//usr/lib/python2.7/site-packages -name '*.pyc' -exec rm -f {} \; + python -c "import sys, os, compileall; br='${D}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" ${D}//usr/lib/python2.7/site-packages + + find ${D}//usr/lib/python2.7/site-packages -name '*.pyc' -exec rm -f {} \; + python -c "import sys, os, compileall; br='${D}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" ${D}//usr/lib/python2.7/site-packages + + find ${D}//usr/lib/python2.7/site-packages -name '*.pyo' -exec rm -f {} \; + python -O -c "import sys, os, compileall; br='${D}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" ${D}//usr/lib/python2.7/site-packages + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}//usr/lib/python2.7/site-packages | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "python-cairo-devel" +PACKAGES += "python-cairo" + +python-cairo-devel_files = "" +python-cairo-devel_files += "python-cairo.manifest" +python-cairo-devel_files += "/usr/include/pycairo/" +python-cairo-devel_files += "/usr/lib/pkgconfig/pycairo.pc" + +python-cairo_files = "" +python-cairo_files += "python-cairo.manifest" +python-cairo_files += "COPYING COPYING-*" +python-cairo_files += "/usr/lib/python2.7/site-packages/cairo/" + +FILES_${PN}-devel = "${python-cairo-devel_files}" +FILES_${PN} = "${python-cairo_files}" + +PKG_python-cairo-devel= "python-cairo-devel" +PKG_python-cairo= "python-cairo" + +require python-cairo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-cairo/python-cairo_git.bb b/meta-tizen/recipes-tizen/python-cairo/python-cairo_git.bb new file mode 100644 index 0000000..fe5e3ff --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cairo/python-cairo_git.bb @@ -0,0 +1,8 @@ +require python-cairo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-cairo;protocol=ssh;tag=57fd7f1e0f60e7e685c4abae1200f75561973d67;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-coverage/python-coverage-extraconf.inc b/meta-tizen/recipes-tizen/python-coverage/python-coverage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-coverage/python-coverage-native_git.bb b/meta-tizen/recipes-tizen/python-coverage/python-coverage-native_git.bb new file mode 100644 index 0000000..aebc9ca --- /dev/null +++ b/meta-tizen/recipes-tizen/python-coverage/python-coverage-native_git.bb @@ -0,0 +1,12 @@ +require python-coverage.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-coverage;protocol=ssh;tag=1d72c85817e97ac13ac619add1b83a95b08d9c93;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-coverage/python-coverage.inc b/meta-tizen/recipes-tizen/python-coverage/python-coverage.inc new file mode 100644 index 0000000..d9e2ab7 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-coverage/python-coverage.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "Code coverage measurement for Python" +HOMEPAGE = "http://nedbatchelder.com/code/coverage" +SECTION = "Platform Development/Python" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-coverage +PROVIDES += "python-coverage" +RPROVIDES_python-coverage += "python-coverage" + +RDEPENDS = "" +#RDEPENDS of python-coverage (${PN}) +RDEPENDS_${PN} += "python-xml" + + +DEPENDS = "" +#DEPENDS of python-coverage +inherit pythonnative +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n coverage-3.6 + cp ${S}/packaging/python-coverage.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "python-coverage" + +python-coverage_files = "" +python-coverage_files += "python-coverage.manifest" +python-coverage_files += "/usr/bin/coverage*" +python-coverage_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-coverage_files}" + +PKG_python-coverage= "python-coverage" + +require python-coverage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-coverage/python-coverage_git.bb b/meta-tizen/recipes-tizen/python-coverage/python-coverage_git.bb new file mode 100644 index 0000000..2d9a096 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-coverage/python-coverage_git.bb @@ -0,0 +1,8 @@ +require python-coverage.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-coverage;protocol=ssh;tag=1d72c85817e97ac13ac619add1b83a95b08d9c93;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-cython/python-cython-extraconf.inc b/meta-tizen/recipes-tizen/python-cython/python-cython-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-cython/python-cython-native_git.bb b/meta-tizen/recipes-tizen/python-cython/python-cython-native_git.bb new file mode 100644 index 0000000..aca270f --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cython/python-cython-native_git.bb @@ -0,0 +1,12 @@ +require python-cython.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-cython;protocol=ssh;tag=81337cc58f1036fa314aa1c76ef79502cf6e7f05;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-cython/python-cython.inc b/meta-tizen/recipes-tizen/python-cython/python-cython.inc new file mode 100644 index 0000000..414d50a --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cython/python-cython.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "The Cython compiler for writing C extensions for the Python language" +HOMEPAGE = "http://www.cython.org" +SECTION = "Development/Languages/Python" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-cython +PROVIDES += "python-cython" +RPROVIDES_python-cython += "python-cython" +# the PROVIDES rules is ignore "python-cython = 0.20" +PROVIDES += "python-cython" +RPROVIDES_python-cython += "python-cython" + +RDEPENDS = "" +#RDEPENDS of python-cython (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "python-libxml2" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "update-alternatives" + + +DEPENDS = "" +#DEPENDS of python-cython +inherit pythonnative +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Cython-0.20 + sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py # Fix non-executable scripts + sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding + mv bin/cython bin/cython-2.7 + mv bin/cygdb bin/cygdb-2.7 + sed -i "s|bin/cython|bin/cython-2.7|" setup.py + sed -i "s|bin/cygdb|bin/cygdb-2.7|" setup.py + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + ln -s /usr/bin/cython-2.7 ${D}/usr/bin/cython + ln -s /usr/bin/cygdb-2.7 ${D}/usr/bin/cygdb + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}/usr/lib/python2.7/site-packages | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "python-cython" + +python-cython_files = "" +python-cython_files += "README.txt ToDo.txt USAGE.txt Doc Demos" +python-cython_files += "/usr/bin/cygdb-2.7" +python-cython_files += "/usr/bin/cython-2.7" +python-cython_files += "/usr/lib/python2.7/site-packages/Cython/" +python-cython_files += "/usr/lib/python2.7/site-packages/Cython-0.20-py2.7.egg-info" +python-cython_files += "/usr/lib/python2.7/site-packages/cython.py*" +python-cython_files += "/usr/lib/python2.7/site-packages/pyximport/" + +FILES_${PN} = "${python-cython_files}" + +PKG_python-cython= "python-cython" + +require python-cython-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-cython/python-cython_git.bb b/meta-tizen/recipes-tizen/python-cython/python-cython_git.bb new file mode 100644 index 0000000..4c8ff38 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-cython/python-cython_git.bb @@ -0,0 +1,8 @@ +require python-cython.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-cython;protocol=ssh;tag=81337cc58f1036fa314aa1c76ef79502cf6e7f05;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-distribute/python-distribute-extraconf.inc b/meta-tizen/recipes-tizen/python-distribute/python-distribute-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-distribute/python-distribute-native_git.bb b/meta-tizen/recipes-tizen/python-distribute/python-distribute-native_git.bb new file mode 100644 index 0000000..bd8e460 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-distribute/python-distribute-native_git.bb @@ -0,0 +1,12 @@ +require python-distribute.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-distribute;protocol=ssh;tag=731bc0e2f68b1dda409a5f3a1f1499fb13fdb22c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-distribute/python-distribute.inc b/meta-tizen/recipes-tizen/python-distribute/python-distribute.inc new file mode 100644 index 0000000..73aeda3 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-distribute/python-distribute.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Easily download, build, install, upgrade, and uninstall Python packages" +HOMEPAGE = "http://packages.python.org/distribute" +SECTION = "Development/Languages/Python" +LICENSE = "Python-2.0 or ZPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-distribute +PROVIDES += "python-distribute" +RPROVIDES_python-distribute += "python-distribute" +# the PROVIDES rules is ignore "python-setuptools = 0.6.30" +PROVIDES += "python-setuptools" +RPROVIDES_python-distribute += "python-setuptools" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-distribute +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n distribute-0.6.30 + cp ${S}/packaging/python-distribute.manifest . + rm -f distribute.egg-info/*.orig + chmod -x {.,docs}/*.txt # Fix executable bits for documentation + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + rm -rf ${D}/usr/lib/python2.7/site-packages/setuptools/tests # Don't install tests + rm -rf ${D}/usr/lib/python2.7/site-packages/setuptools/*.exe # Remove unneeded files + + +} + +PACKAGES = "" +PACKAGES += "python-distribute" + +python-distribute_files = "" +python-distribute_files += "python-distribute.manifest" +python-distribute_files += "/usr/bin/easy_install" +python-distribute_files += "/usr/bin/easy_install-2.7" +python-distribute_files += "/usr/lib/python2.7/site-packages/easy_install.py*" +python-distribute_files += "/usr/lib/python2.7/site-packages/pkg_resources.py*" +python-distribute_files += "/usr/lib/python2.7/site-packages/_markerlib/" +python-distribute_files += "/usr/lib/python2.7/site-packages/setuptools.pth" +python-distribute_files += "/usr/lib/python2.7/site-packages/setuptools/" +python-distribute_files += "/usr/lib/python2.7/site-packages/site.py*" +python-distribute_files += "/usr/lib/python2.7/site-packages/distribute-0.6.30-py2.7.egg-info/" +python-distribute_files += "/usr/lib/python2.7/site-packages/setuptools-*-py2.7.egg-info" + +FILES_${PN} = "${python-distribute_files}" + +PKG_python-distribute= "python-distribute" + +require python-distribute-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-distribute/python-distribute_git.bb b/meta-tizen/recipes-tizen/python-distribute/python-distribute_git.bb new file mode 100644 index 0000000..4eab215 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-distribute/python-distribute_git.bb @@ -0,0 +1,8 @@ +require python-distribute.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-distribute;protocol=ssh;tag=731bc0e2f68b1dda409a5f3a1f1499fb13fdb22c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-ecore/python-ecore-extraconf.inc b/meta-tizen/recipes-tizen/python-ecore/python-ecore-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-ecore/python-ecore-native_git.bb b/meta-tizen/recipes-tizen/python-ecore/python-ecore-native_git.bb new file mode 100644 index 0000000..f4d44df --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ecore/python-ecore-native_git.bb @@ -0,0 +1,12 @@ +require python-ecore.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-ecore;protocol=ssh;tag=c2d6af84ec0c25e33d2ab080a3482dda9b0c8508;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-ecore/python-ecore.inc b/meta-tizen/recipes-tizen/python-ecore/python-ecore.inc new file mode 100644 index 0000000..ece1a77 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ecore/python-ecore.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "Edbus python bindings" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "EFL" +LICENSE = "LGPL2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-ecore +PROVIDES += "python-ecore" +RPROVIDES_python-ecore += "python-ecore" + +#PROVIDES by python-ecore-devel +PROVIDES += "python-ecore-devel" +RPROVIDES_python-ecore-devel += "python-ecore-devel" +RPROVIDES_python-ecore-devel += "python-ecore-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-ecore +inherit pythonnative +DEPENDS += "ecore" +DEPENDS += "dbus-python" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/python-ecore.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-ecore" +PACKAGES += "python-ecore-devel" + +python-ecore_files = "" +python-ecore_files += "python-ecore.manifest" +python-ecore_files += "/usr/lib/python2.7/site-packages/ecore" + +python-ecore-devel_files = "" +python-ecore-devel_files += "python-ecore.manifest" +python-ecore-devel_files += "/usr/share/python-ecore/examples" +python-ecore-devel_files += "/usr/include/python-ecore/ecore" +python-ecore-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${python-ecore_files}" +FILES_${PN}-devel = "${python-ecore-devel_files}" + +PKG_python-ecore= "python-ecore" +PKG_python-ecore-devel= "python-ecore-devel" + +require python-ecore-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-ecore/python-ecore_git.bb b/meta-tizen/recipes-tizen/python-ecore/python-ecore_git.bb new file mode 100644 index 0000000..3217f8d --- /dev/null +++ b/meta-tizen/recipes-tizen/python-ecore/python-ecore_git.bb @@ -0,0 +1,8 @@ +require python-ecore.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-ecore;protocol=ssh;tag=c2d6af84ec0c25e33d2ab080a3482dda9b0c8508;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-edbus/python-edbus-extraconf.inc b/meta-tizen/recipes-tizen/python-edbus/python-edbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-edbus/python-edbus-native_git.bb b/meta-tizen/recipes-tizen/python-edbus/python-edbus-native_git.bb new file mode 100644 index 0000000..f7a98af --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edbus/python-edbus-native_git.bb @@ -0,0 +1,12 @@ +require python-edbus.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-edbus;protocol=ssh;tag=002d893c0cc3979da173eccc6de8d3a16f8c7058;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-edbus/python-edbus.inc b/meta-tizen/recipes-tizen/python-edbus/python-edbus.inc new file mode 100644 index 0000000..d7b7e93 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edbus/python-edbus.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Edbus python bindings" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "EFL" +LICENSE = "LGPL2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-edbus +PROVIDES += "python-edbus" +RPROVIDES_python-edbus += "python-edbus" + +#PROVIDES by python-edbus-devel +PROVIDES += "python-edbus-devel" +RPROVIDES_python-edbus-devel += "python-edbus-devel" +RPROVIDES_python-edbus-devel += "python-edbus-dev" + +RDEPENDS = "" +#RDEPENDS of python-edbus (${PN}) +RDEPENDS_${PN} += "edbus" +RDEPENDS_${PN} += "dbus-python" + +#RDEPENDS of python-edbus-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "python-edbus" + + +DEPENDS = "" +#DEPENDS of python-edbus +inherit pythonnative +DEPENDS += "pkgconfig(edbus)" +DEPENDS += "dbus-python" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n python-e_dbus-1.7.0 + cp ${S}/packaging/python-edbus.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-edbus" +PACKAGES += "python-edbus-devel" + +python-edbus_files = "" +python-edbus_files += "python-edbus.manifest" +python-edbus_files += "/usr/lib/python2.7/site-packages/e_dbus.so" + +python-edbus-devel_files = "" +python-edbus-devel_files += "python-edbus.manifest" +python-edbus-devel_files += "/usr/lib/pkgconfig/python-edbus.pc" + +FILES_${PN} = "${python-edbus_files}" +FILES_${PN}-devel = "${python-edbus-devel_files}" + +PKG_python-edbus= "python-edbus" +PKG_python-edbus-devel= "python-edbus-devel" + +require python-edbus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-edbus/python-edbus_git.bb b/meta-tizen/recipes-tizen/python-edbus/python-edbus_git.bb new file mode 100644 index 0000000..dd24839 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edbus/python-edbus_git.bb @@ -0,0 +1,8 @@ +require python-edbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-edbus;protocol=ssh;tag=002d893c0cc3979da173eccc6de8d3a16f8c7058;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-edje/python-edje-extraconf.inc b/meta-tizen/recipes-tizen/python-edje/python-edje-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-edje/python-edje-native_git.bb b/meta-tizen/recipes-tizen/python-edje/python-edje-native_git.bb new file mode 100644 index 0000000..268bb0c --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edje/python-edje-native_git.bb @@ -0,0 +1,12 @@ +require python-edje.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-edje;protocol=ssh;tag=4f671dd80c45cd7da1aa942ffe3f4aa9849c0323;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-edje/python-edje.inc b/meta-tizen/recipes-tizen/python-edje/python-edje.inc new file mode 100644 index 0000000..52936fa --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edje/python-edje.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Edje python bindings" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "EFL" +LICENSE = "LGPL2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-edje-devel +PROVIDES += "python-edje-devel" +RPROVIDES_python-edje-devel += "python-edje-devel" +RPROVIDES_python-edje-devel += "python-edje-dev" + +#PROVIDES by python-edje +PROVIDES += "python-edje" +RPROVIDES_python-edje += "python-edje" + +RDEPENDS = "" +#RDEPENDS of python-edje-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(python-evas)" +RDEPENDS_${PN}-devel += "pkgconfig(edje)" + + +DEPENDS = "" +#DEPENDS of python-edje +inherit pythonnative +DEPENDS += "pkgconfig(python-evas)" +DEPENDS += "pkgconfig(edje)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/python-edje.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-edje-devel" +PACKAGES += "python-edje" + +python-edje-devel_files = "" +python-edje-devel_files += "python-edje.manifest" +python-edje-devel_files += "/usr/share/python-edje/examples" +python-edje-devel_files += "/usr/lib/pkgconfig/*.pc" +python-edje-devel_files += "/usr/include/python-edje/edje" + +python-edje_files = "" +python-edje_files += "python-edje.manifest" +python-edje_files += "/usr/lib/python2.7/site-packages/edje" + +FILES_${PN}-devel = "${python-edje-devel_files}" +FILES_${PN} = "${python-edje_files}" + +PKG_python-edje-devel= "python-edje-devel" +PKG_python-edje= "python-edje" + +require python-edje-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-edje/python-edje_git.bb b/meta-tizen/recipes-tizen/python-edje/python-edje_git.bb new file mode 100644 index 0000000..9d3b667 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-edje/python-edje_git.bb @@ -0,0 +1,8 @@ +require python-edje.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-edje;protocol=ssh;tag=4f671dd80c45cd7da1aa942ffe3f4aa9849c0323;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-elementary/python-elementary-extraconf.inc b/meta-tizen/recipes-tizen/python-elementary/python-elementary-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-elementary/python-elementary.inc b/meta-tizen/recipes-tizen/python-elementary/python-elementary.inc new file mode 100644 index 0000000..3003701 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-elementary/python-elementary.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Edbus python bindings" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "EFL" +LICENSE = "LGPL2.1" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "python-elementary" +PACKAGES += "python-elementary-devel" + +python-elementary_files = "" +python-elementary_files += "python-elementary.manifest" +python-elementary_files += "/usr/lib/python2.7/site-packages/elementary" + +python-elementary-devel_files = "" +python-elementary-devel_files += "python-elementary.manifest" +python-elementary-devel_files += "/usr/share/python-elementary/examples" +python-elementary-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${python-elementary_files}" +FILES_${PN}-devel = "${python-elementary-devel_files}" + +PKG_python-elementary= "python-elementary" +PKG_python-elementary-devel= "python-elementary-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require python-elementary-rdepends.inc +require python-elementary-depends.inc +require python-elementary-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-evas/python-evas-extraconf.inc b/meta-tizen/recipes-tizen/python-evas/python-evas-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-evas/python-evas-native_git.bb b/meta-tizen/recipes-tizen/python-evas/python-evas-native_git.bb new file mode 100644 index 0000000..8bdb9ee --- /dev/null +++ b/meta-tizen/recipes-tizen/python-evas/python-evas-native_git.bb @@ -0,0 +1,12 @@ +require python-evas.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-evas;protocol=ssh;tag=b8f98acf93c078c896299c6a9ad384752ef71748;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-evas/python-evas.inc b/meta-tizen/recipes-tizen/python-evas/python-evas.inc new file mode 100644 index 0000000..da2f5a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-evas/python-evas.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "Evas python bindings" +HOMEPAGE = "http://www.enlightenment.org" +SECTION = "EFL" +LICENSE = "LGPL2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-evas +PROVIDES += "python-evas" +RPROVIDES_python-evas += "python-evas" + +#PROVIDES by python-evas-devel +PROVIDES += "python-evas-devel" +RPROVIDES_python-evas-devel += "python-evas-devel" +RPROVIDES_python-evas-devel += "python-evas-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-evas +inherit pythonnative +DEPENDS += "pkgconfig(evas)" +DEPENDS += "dbus-python" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/python-evas.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-evas" +PACKAGES += "python-evas-devel" + +python-evas_files = "" +python-evas_files += "python-evas.manifest" +python-evas_files += "/usr/lib/python2.7/site-packages/evas" + +python-evas-devel_files = "" +python-evas-devel_files += "python-evas.manifest" +python-evas-devel_files += "/usr/share/python-evas/examples/01-smart_object.py" +python-evas-devel_files += "/usr/include/python-evas/evas" +python-evas-devel_files += "/usr/lib/pkgconfig/python-evas.pc" + +FILES_${PN} = "${python-evas_files}" +FILES_${PN}-devel = "${python-evas-devel_files}" + +PKG_python-evas= "python-evas" +PKG_python-evas-devel= "python-evas-devel" + +require python-evas-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-evas/python-evas_git.bb b/meta-tizen/recipes-tizen/python-evas/python-evas_git.bb new file mode 100644 index 0000000..cb24037 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-evas/python-evas_git.bb @@ -0,0 +1,8 @@ +require python-evas.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-evas;protocol=ssh;tag=b8f98acf93c078c896299c6a9ad384752ef71748;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-gobject/python-gobject-extraconf.inc b/meta-tizen/recipes-tizen/python-gobject/python-gobject-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-gobject/python-gobject-native_git.bb b/meta-tizen/recipes-tizen/python-gobject/python-gobject-native_git.bb new file mode 100644 index 0000000..023b48e --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gobject/python-gobject-native_git.bb @@ -0,0 +1,12 @@ +require python-gobject.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-gobject;protocol=ssh;tag=b52bdecc1599e6a557456711b068eba907890758;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-gobject/python-gobject.inc b/meta-tizen/recipes-tizen/python-gobject/python-gobject.inc new file mode 100644 index 0000000..00d0d9d --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gobject/python-gobject.inc @@ -0,0 +1,189 @@ +DESCRIPTION = "Python bindings for GObject" +HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/pygobject/" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-gobject-cairo +PROVIDES += "python-gobject-cairo" +RPROVIDES_python-gobject-cairo += "python-gobject-cairo" + +#PROVIDES by python-gobject +PROVIDES += "python-gobject" +RPROVIDES_python-gobject += "python-gobject" +# the PROVIDES rules is ignore "pygobject3 " +PROVIDES += "pygobject3" +RPROVIDES_python-gobject += "pygobject3" + +#PROVIDES by python-gobject-pygtkcompat +PROVIDES += "python-gobject-pygtkcompat" +RPROVIDES_python-gobject-pygtkcompat += "python-gobject-pygtkcompat" + +#PROVIDES by python-gobject-devel +PROVIDES += "python-gobject-devel" +RPROVIDES_python-gobject-devel += "python-gobject-devel" +RPROVIDES_python-gobject-devel += "python-gobject-dev" + +#PROVIDES by libpyglib-gi-python +PROVIDES += "libpyglib-gi-python" +RPROVIDES_libpyglib-gi-python += "libpyglib-gi-python" + +RDEPENDS = "" +#RDEPENDS of python-gobject-cairo (${PN}-cairo) +RDEPENDS_${PN}-cairo += "python-gobject" + +#RDEPENDS of python-gobject-pygtkcompat (${PN}-pygtkcompat) +RDEPENDS_${PN}-pygtkcompat += "python-gobject" + +#RDEPENDS of python-gobject-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "python-gobject" +RDEPENDS_${PN}-devel += "libpyglib-gi-python" + + +DEPENDS = "" +#DEPENDS of python-gobject +DEPENDS += "glib" +DEPENDS += "gobject-introspection" +DEPENDS += "pkgconfig(cairo-gobject)" +inherit pythonnative +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "python-cairo" +DEPENDS += "libffi" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n pygobject-3.8.0 + cp ${S}/packaging/python-gobject.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm examples/Makefile* + + _target=""; + _symlinks=0; + + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "python-gobject-cairo" +PACKAGES += "python-gobject" +PACKAGES += "python-gobject-pygtkcompat" +PACKAGES += "python-gobject-devel" +PACKAGES += "libpyglib-gi-python" + +python-gobject-cairo_files = "" +python-gobject-cairo_files += "python-gobject.manifest" +python-gobject-cairo_files += "/usr/lib/python2.7/site-packages/gi/_gi_cairo.so" + +python-gobject_files = "" +python-gobject_files += "python-gobject.manifest" +python-gobject_files += "/usr/lib/python2.7/site-packages/gi/" +python-gobject_files += "/usr/lib/python2.7/site-packages/pygobject-*" + +python-gobject-pygtkcompat_files = "" +python-gobject-pygtkcompat_files += "python-gobject.manifest" +python-gobject-pygtkcompat_files += "/usr/lib/python2.7/site-packages/pygtkcompat" + +python-gobject-devel_files = "" +python-gobject-devel_files += "python-gobject.manifest" +python-gobject-devel_files += "/usr/include/pygobject-3.0/" +python-gobject-devel_files += "/usr/lib/*.so" +python-gobject-devel_files += "/usr/lib/pkgconfig/pygobject-3.0.pc" + +libpyglib-gi-python_files = "" +libpyglib-gi-python_files += "python-gobject.manifest" +libpyglib-gi-python_files += "/usr/lib/libpyglib-gi-2.0-python2.so.0*" + +FILES_${PN}-cairo = "${python-gobject-cairo_files}" +FILES_${PN} = "${python-gobject_files}" +FILES_${PN}-pygtkcompat = "${python-gobject-pygtkcompat_files}" +FILES_${PN}-devel = "${python-gobject-devel_files}" +FILES_libpyglib-gi-python = "${libpyglib-gi-python_files}" + +PKG_python-gobject-cairo= "python-gobject-cairo" +PKG_python-gobject= "python-gobject" +PKG_python-gobject-pygtkcompat= "python-gobject-pygtkcompat" +PKG_python-gobject-devel= "python-gobject-devel" +PKG_libpyglib-gi-python= "libpyglib-gi-python" + +require python-gobject-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-gobject/python-gobject_git.bb b/meta-tizen/recipes-tizen/python-gobject/python-gobject_git.bb new file mode 100644 index 0000000..6de5e5e --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gobject/python-gobject_git.bb @@ -0,0 +1,8 @@ +require python-gobject.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-gobject;protocol=ssh;tag=b52bdecc1599e6a557456711b068eba907890758;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-gpgme/python-gpgme-extraconf.inc b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-gpgme/python-gpgme-native_git.bb b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme-native_git.bb new file mode 100644 index 0000000..c945675 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme-native_git.bb @@ -0,0 +1,12 @@ +require python-gpgme.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-gpgme;protocol=ssh;tag=31500c793429f201822f61d78a34a9181245087b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-gpgme/python-gpgme.inc b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme.inc new file mode 100644 index 0000000..196409d --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme.inc @@ -0,0 +1,76 @@ +DESCRIPTION = "A Python module for working with OpenPGP messages" +HOMEPAGE = "http://pypi.python.org/pypi/pygpgme" +SECTION = "Platform Development/Python" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-gpgme +PROVIDES += "python-gpgme" +RPROVIDES_python-gpgme += "python-gpgme" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-gpgme +inherit pythonnative +DEPENDS += "gpgme" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n pygpgme-0.1 + cp ${S}/packaging/python-gpgme.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + /usr/bin/python setup.py install --root $RPM_BUILD_ROOT --prefix=/usr + # No need to ship the tests + rm -rf $RPM_BUILD_ROOT/usr/lib/python2.7/site-packages/gpgme/tests/ + + + +} + +PACKAGES = "" +PACKAGES += "python-gpgme" + +python-gpgme_files = "" +python-gpgme_files += "python-gpgme.manifest" +python-gpgme_files += "README PKG-INFO" +python-gpgme_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-gpgme_files}" + +PKG_python-gpgme= "python-gpgme" + +require python-gpgme-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-gpgme/python-gpgme_git.bb b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme_git.bb new file mode 100644 index 0000000..fa29936 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-gpgme/python-gpgme_git.bb @@ -0,0 +1,8 @@ +require python-gpgme.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-gpgme;protocol=ssh;tag=31500c793429f201822f61d78a34a9181245087b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-iniparse/python-iniparse-extraconf.inc b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-iniparse/python-iniparse-native_git.bb b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse-native_git.bb new file mode 100644 index 0000000..c63280a --- /dev/null +++ b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse-native_git.bb @@ -0,0 +1,12 @@ +require python-iniparse.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-iniparse;protocol=ssh;tag=484ca3dca436e198445bf9f2264a3db0451b07ed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-iniparse/python-iniparse.inc b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse.inc new file mode 100644 index 0000000..e16356f --- /dev/null +++ b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse.inc @@ -0,0 +1,75 @@ +DESCRIPTION = "Python Module for Accessing and Modifying Configuration Data in INI files" +HOMEPAGE = "http://code.google.com/p/iniparse/" +SECTION = "Platform Development/Python" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-iniparse +PROVIDES += "python-iniparse" +RPROVIDES_python-iniparse += "python-iniparse" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-iniparse +inherit pythonnative +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n iniparse-0.4 + cp ${S}/packaging/python-iniparse.manifest . + chmod 644 html/index.html + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --root ${D} --prefix=/usr + rm -rf ${D}/usr/share/doc/iniparse-0.4 # Remove unwanted stuff + + +} + +PACKAGES = "" +PACKAGES += "python-iniparse" + +python-iniparse_files = "" +python-iniparse_files += "python-iniparse.manifest" +python-iniparse_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-iniparse_files}" + +PKG_python-iniparse= "python-iniparse" + +require python-iniparse-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-iniparse/python-iniparse_git.bb b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse_git.bb new file mode 100644 index 0000000..b3d26d6 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-iniparse/python-iniparse_git.bb @@ -0,0 +1,8 @@ +require python-iniparse.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-iniparse;protocol=ssh;tag=484ca3dca436e198445bf9f2264a3db0451b07ed;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-libxml2/python-libxml2-extraconf.inc b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-libxml2/python-libxml2-native_git.bb b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2-native_git.bb new file mode 100644 index 0000000..9dd1f47 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2-native_git.bb @@ -0,0 +1,12 @@ +require python-libxml2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxml2;protocol=ssh;tag=e52e7cd8d3553116787eb0573f3b3d379f09698a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-libxml2/python-libxml2.inc b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2.inc new file mode 100644 index 0000000..dbbbe6c --- /dev/null +++ b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Python Bindings for libxml2" +HOMEPAGE = "http://xmlsoft.org" +SECTION = "Platform Development/Python" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-libxml2 +PROVIDES += "python-libxml2" +RPROVIDES_python-libxml2 += "python-libxml2" +# the PROVIDES rules is ignore "libxml2-python = 2.8.0" +PROVIDES += "libxml2-python" +RPROVIDES_python-libxml2 += "libxml2-python" + +RDEPENDS = "" +#RDEPENDS of python-libxml2 (${PN}) +RDEPENDS_${PN} += "libxml2" + + +DEPENDS = "" +#DEPENDS of python-libxml2 +inherit pythonnative +DEPENDS += "libxml2" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libxml2-2.8.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-fexceptions \ + --with-history \ + --enable-ipv6 \ + --with-sax1 \ + --with-regexps \ + --with-threads \ + --with-reader \ + --with-http + + # use libxml2 as built by libxml2 source package + mkdir .libs + cp -v /usr/lib/libxml2.la . + make -C python -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make -C python install \ + DESTDIR=${D} \ + pythondir=/usr/lib/python2.7/site-packages \ + PYTHON_SITE_PACKAGES=/usr/lib/python2.7/site-packages + chmod a-x python/tests/*.py + # Unwanted doc stuff + rm -fr ${D}/usr/share/doc + rm -f python/tests/Makefile* + # #223696 + rm -f ${D}/usr/lib/python2.7/site-packages/*.{la,a} + + +} + +PACKAGES = "" +PACKAGES += "python-libxml2" + +python-libxml2_files = "" +python-libxml2_files += "python/libxml2class.txt" +python-libxml2_files += "python/tests" +python-libxml2_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-libxml2_files}" + +PKG_python-libxml2= "python-libxml2" + +require python-libxml2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-libxml2/python-libxml2_git.bb b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2_git.bb new file mode 100644 index 0000000..24dc96c --- /dev/null +++ b/meta-tizen/recipes-tizen/python-libxml2/python-libxml2_git.bb @@ -0,0 +1,8 @@ +require python-libxml2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libxml2;protocol=ssh;tag=e52e7cd8d3553116787eb0573f3b3d379f09698a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-lxml/python-lxml-extraconf.inc b/meta-tizen/recipes-tizen/python-lxml/python-lxml-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-lxml/python-lxml-native_git.bb b/meta-tizen/recipes-tizen/python-lxml/python-lxml-native_git.bb new file mode 100644 index 0000000..e1b5111 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-lxml/python-lxml-native_git.bb @@ -0,0 +1,12 @@ +require python-lxml.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-lxml;protocol=ssh;tag=89b6fc6a4d352ebfe61e1873dabe71406a0490e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-lxml/python-lxml.inc b/meta-tizen/recipes-tizen/python-lxml/python-lxml.inc new file mode 100644 index 0000000..fad2d9d --- /dev/null +++ b/meta-tizen/recipes-tizen/python-lxml/python-lxml.inc @@ -0,0 +1,76 @@ +DESCRIPTION = "Powerful and Pythonic XML processing library" +HOMEPAGE = "http://lxml.de/" +SECTION = "Development/Languages/Python" +LICENSE = "BSD-3-Clause and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-lxml +PROVIDES += "python-lxml" +RPROVIDES_python-lxml += "python-lxml" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-lxml +inherit pythonnative +DEPENDS += "libxslt" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lxml-2.3.4 + cp ${S}/packaging/python-lxml.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "python-lxml" + +python-lxml_files = "" +python-lxml_files += "python-lxml.manifest" +python-lxml_files += "LICENSES.txt" +python-lxml_files += "/usr/lib/python2.7/site-packages/lxml/" +python-lxml_files += "/usr/lib/python2.7/site-packages/lxml-2.3.4-py2.7.egg-info" + +FILES_${PN} = "${python-lxml_files}" + +PKG_python-lxml= "python-lxml" + +require python-lxml-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-lxml/python-lxml_git.bb b/meta-tizen/recipes-tizen/python-lxml/python-lxml_git.bb new file mode 100644 index 0000000..b55d2c0 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-lxml/python-lxml_git.bb @@ -0,0 +1,8 @@ +require python-lxml.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-lxml;protocol=ssh;tag=89b6fc6a4d352ebfe61e1873dabe71406a0490e1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-magic/python-magic-extraconf.inc b/meta-tizen/recipes-tizen/python-magic/python-magic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-magic/python-magic-native_git.bb b/meta-tizen/recipes-tizen/python-magic/python-magic-native_git.bb new file mode 100644 index 0000000..eff592e --- /dev/null +++ b/meta-tizen/recipes-tizen/python-magic/python-magic-native_git.bb @@ -0,0 +1,12 @@ +require python-magic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/file;protocol=ssh;tag=72acf80e4af18196418c2e60324a779c6516cb27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-magic/python-magic.inc b/meta-tizen/recipes-tizen/python-magic/python-magic.inc new file mode 100644 index 0000000..f66df62 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-magic/python-magic.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "Python module to use libmagic" +HOMEPAGE = "http://www.darwinsys.com/file/" +SECTION = "Development/Languages/Python" +LICENSE = "BSD-3-Clause and BSD-4-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-magic +PROVIDES += "python-magic" +RPROVIDES_python-magic += "python-magic" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-magic +inherit pythonnative +DEPENDS += "zlib-devel" +DEPENDS += "libtool-cross" +DEPENDS += "findutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n file-5.11 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + pushd python + python setup.py install --root=${D} \ + --prefix=/usr \ + --record-rpm=../python_files + popd + + +} + +PACKAGES = "" +PACKAGES += "python-magic" + +python-magic_files = "" + +FILES_${PN} = "${python-magic_files}" + +PKG_python-magic= "python-magic" + +require python-magic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-magic/python-magic_git.bb b/meta-tizen/recipes-tizen/python-magic/python-magic_git.bb new file mode 100644 index 0000000..bf849a9 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-magic/python-magic_git.bb @@ -0,0 +1,8 @@ +require python-magic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/file;protocol=ssh;tag=72acf80e4af18196418c2e60324a779c6516cb27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-markdown/python-markdown-extraconf.inc b/meta-tizen/recipes-tizen/python-markdown/python-markdown-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-markdown/python-markdown-native_git.bb b/meta-tizen/recipes-tizen/python-markdown/python-markdown-native_git.bb new file mode 100644 index 0000000..37cff52 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-markdown/python-markdown-native_git.bb @@ -0,0 +1,12 @@ +require python-markdown.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-markdown;protocol=ssh;tag=c42db7e0384c74cb4f55366a9e8b00edd0973885;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-markdown/python-markdown.inc b/meta-tizen/recipes-tizen/python-markdown/python-markdown.inc new file mode 100644 index 0000000..26d9942 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-markdown/python-markdown.inc @@ -0,0 +1,81 @@ +DESCRIPTION = "Markdown implementation in Python" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Languages" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-markdown +PROVIDES += "python-markdown" +RPROVIDES_python-markdown += "python-markdown" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-markdown +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Markdown-2.0.3 + + # remove shebangs + find markdown -type f -name '*.py' \ + -exec sed -i -e '/^#!/{1D}' {} \; + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python-markdown.manifest . + /usr/bin/python setup.py build + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + /usr/bin/python setup.py install -O1 --skip-build --root ${D} --prefix /usr + + + +} + +PACKAGES = "" +PACKAGES += "python-markdown" + +python-markdown_files = "" +python-markdown_files += "python-markdown.manifest" +python-markdown_files += "/usr/lib/python2.7/site-packages/*" +python-markdown_files += "/usr/bin/markdown" + +FILES_${PN} = "${python-markdown_files}" + +PKG_python-markdown= "python-markdown" + +require python-markdown-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-markdown/python-markdown_git.bb b/meta-tizen/recipes-tizen/python-markdown/python-markdown_git.bb new file mode 100644 index 0000000..b1dce18 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-markdown/python-markdown_git.bb @@ -0,0 +1,8 @@ +require python-markdown.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-markdown;protocol=ssh;tag=c42db7e0384c74cb4f55366a9e8b00edd0973885;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-nose/python-nose-extraconf.inc b/meta-tizen/recipes-tizen/python-nose/python-nose-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-nose/python-nose-native_git.bb b/meta-tizen/recipes-tizen/python-nose/python-nose-native_git.bb new file mode 100644 index 0000000..ee8404b --- /dev/null +++ b/meta-tizen/recipes-tizen/python-nose/python-nose-native_git.bb @@ -0,0 +1,12 @@ +require python-nose.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-nose;protocol=ssh;tag=e20b3d3d2b78c099b2a78e6298c18473a51b468a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-nose/python-nose.inc b/meta-tizen/recipes-tizen/python-nose/python-nose.inc new file mode 100644 index 0000000..0ba6823 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-nose/python-nose.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "Nose extends unittest to make testing easier" +HOMEPAGE = "http://readthedocs.org/docs/nose/" +SECTION = "Development/Languages/Python" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-nose +PROVIDES += "python-nose" +RPROVIDES_python-nose += "python-nose" + +RDEPENDS = "" +#RDEPENDS of python-nose (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "python-distribute" + + +DEPENDS = "" +#DEPENDS of python-nose +inherit pythonnative +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n nose-1.1.2 + cp ${S}/packaging/python-nose.manifest . + sed -i 's,man/man1,share/man/man1,' setup.py + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + exit 0 + python setup.py test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + + +} + +PACKAGES = "" +PACKAGES += "python-nose" + +python-nose_files = "" +python-nose_files += "python-nose.manifest" +python-nose_files += "NEWS README.txt lgpl.txt" +python-nose_files += "/usr/bin/nosetests*" +python-nose_files += "/usr/share/man/man*/nosetests*" +python-nose_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-nose_files}" + +PKG_python-nose= "python-nose" + +require python-nose-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-nose/python-nose_git.bb b/meta-tizen/recipes-tizen/python-nose/python-nose_git.bb new file mode 100644 index 0000000..dcc9f68 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-nose/python-nose_git.bb @@ -0,0 +1,8 @@ +require python-nose.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-nose;protocol=ssh;tag=e20b3d3d2b78c099b2a78e6298c18473a51b468a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-extraconf.inc b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-native_git.bb b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-native_git.bb new file mode 100644 index 0000000..4908d3a --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL-native_git.bb @@ -0,0 +1,12 @@ +require python-pyOpenSSL.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pyOpenSSL;protocol=ssh;tag=86127911c0159224e4d58325c9dc25a59bb91f5e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL.inc b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL.inc new file mode 100644 index 0000000..690b1b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Python wrapper module around the OpenSSL library" +HOMEPAGE = "http://launchpad.net/pyopenssl" +SECTION = "Development/Languages/Python" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-pyOpenSSL +PROVIDES += "python-pyOpenSSL" +RPROVIDES_python-pyOpenSSL += "python-pyOpenSSL" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of python-pyOpenSSL +inherit pythonnative +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n pyOpenSSL-0.13 + cp ${S}/packaging/python-pyOpenSSL.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "python-pyOpenSSL" + +python-pyOpenSSL_files = "" +python-pyOpenSSL_files += "python-pyOpenSSL.manifest" +python-pyOpenSSL_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-pyOpenSSL_files}" + +PKG_python-pyOpenSSL= "python-pyOpenSSL" + +require python-pyOpenSSL-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL_git.bb b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL_git.bb new file mode 100644 index 0000000..0fa9297 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pyOpenSSL/python-pyOpenSSL_git.bb @@ -0,0 +1,8 @@ +require python-pyOpenSSL.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pyOpenSSL;protocol=ssh;tag=86127911c0159224e4d58325c9dc25a59bb91f5e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pycurl/python-pycurl-extraconf.inc b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-pycurl/python-pycurl-native_git.bb b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl-native_git.bb new file mode 100644 index 0000000..1435d16 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl-native_git.bb @@ -0,0 +1,12 @@ +require python-pycurl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pycurl;protocol=ssh;tag=e6210e3c041913a4b0c27e20b8ebf2926626b85a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pycurl/python-pycurl.inc b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl.inc new file mode 100644 index 0000000..6c08b09 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "A Python interface to libcurl" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Platform Development/Python" +LICENSE = "LGPL-2.1+ or MIT/X11" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-pycurl +PROVIDES += "python-pycurl" +RPROVIDES_python-pycurl += "python-pycurl" +# the PROVIDES rules is ignore "pycurl = 7.19.0-0" +PROVIDES += "pycurl" +RPROVIDES_python-pycurl += "pycurl" + +RDEPENDS = "" +#RDEPENDS of python-pycurl (${PN}) +RDEPENDS_${PN} += "libcurl" + + +DEPENDS = "" +#DEPENDS of python-pycurl +inherit pythonnative +DEPENDS += "curl" +DEPENDS += "c-ares" +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n pycurl-7.19.0 + chmod a-x examples/* + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python-pycurl.manifest . + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DHAVE_CURL_OPENSSL" + python setup.py build + + exit 0 + export PYTHONPATH=$PWD/build/lib* + python tests/test_internals.py -q + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install -O1 --skip-build --root=${D} --prefix=/usr + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/python-pycurl + rm -rf ${D}/usr/share/doc/python-pycurl-7.19.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-pycurl" + +python-pycurl_files = "" +python-pycurl_files += "python-pycurl.manifest" +python-pycurl_files += "python-pycurl.manifest" +python-pycurl_files += "/usr/lib/python2.7/site-packages/curl/*" +python-pycurl_files += "/usr/lib/python2.7/site-packages/pycurl*" + +FILES_${PN} = "${python-pycurl_files}" + +PKG_python-pycurl= "python-pycurl" + +require python-pycurl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-pycurl/python-pycurl_git.bb b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl_git.bb new file mode 100644 index 0000000..79acf9a --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pycurl/python-pycurl_git.bb @@ -0,0 +1,8 @@ +require python-pycurl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pycurl;protocol=ssh;tag=e6210e3c041913a4b0c27e20b8ebf2926626b85a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pygments/python-pygments-extraconf.inc b/meta-tizen/recipes-tizen/python-pygments/python-pygments-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-pygments/python-pygments-native_git.bb b/meta-tizen/recipes-tizen/python-pygments/python-pygments-native_git.bb new file mode 100644 index 0000000..fc6a687 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pygments/python-pygments-native_git.bb @@ -0,0 +1,12 @@ +require python-pygments.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pygments;protocol=ssh;tag=4c0f547ab0e94189f9b44a053abf0819984c629b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-pygments/python-pygments.inc b/meta-tizen/recipes-tizen/python-pygments/python-pygments.inc new file mode 100644 index 0000000..2bd7eed --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pygments/python-pygments.inc @@ -0,0 +1,81 @@ +DESCRIPTION = "A syntax highlighting engine written in Python" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-pygments +PROVIDES += "python-pygments" +RPROVIDES_python-pygments += "python-pygments" + +RDEPENDS = "" +#RDEPENDS of python-pygments (${PN}) +RDEPENDS_${PN} += "python-setuptools" + + +DEPENDS = "" +#DEPENDS of python-pygments +inherit pythonnative +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python-pygments.manifest . + /usr/bin/python setup.py build + /bin/sed -i 's/\r//' LICENSE + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + /usr/bin/python setup.py install -O1 --skip-build --root ${D} --prefix=/usr + + +} + +PACKAGES = "" +PACKAGES += "python-pygments" + +python-pygments_files = "" +python-pygments_files += "python-pygments.manifest" +python-pygments_files += "/usr/lib/python2.7/site-packages/*" +python-pygments_files += "/usr/bin/pygmentize" + +FILES_${PN} = "${python-pygments_files}" + +PKG_python-pygments= "python-pygments" + +require python-pygments-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-pygments/python-pygments_git.bb b/meta-tizen/recipes-tizen/python-pygments/python-pygments_git.bb new file mode 100644 index 0000000..b6656c9 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-pygments/python-pygments_git.bb @@ -0,0 +1,8 @@ +require python-pygments.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-pygments;protocol=ssh;tag=4c0f547ab0e94189f9b44a053abf0819984c629b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-requests/python-requests-extraconf.inc b/meta-tizen/recipes-tizen/python-requests/python-requests-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-requests/python-requests-native_git.bb b/meta-tizen/recipes-tizen/python-requests/python-requests-native_git.bb new file mode 100644 index 0000000..3d8c7ea --- /dev/null +++ b/meta-tizen/recipes-tizen/python-requests/python-requests-native_git.bb @@ -0,0 +1,12 @@ +require python-requests.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-requests;protocol=ssh;tag=10e958cb8d3786946e30d4114f8afe27b9daccaf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-requests/python-requests.inc b/meta-tizen/recipes-tizen/python-requests/python-requests.inc new file mode 100644 index 0000000..2c2aabc --- /dev/null +++ b/meta-tizen/recipes-tizen/python-requests/python-requests.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Awesome Python HTTP Library That's Actually Usable" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-requests +PROVIDES += "python-requests" +RPROVIDES_python-requests += "python-requests" + +RDEPENDS = "" +#RDEPENDS of python-requests (${PN}) +RDEPENDS_${PN} += "python" + + +DEPENDS = "" +#DEPENDS of python-requests +inherit pythonnative +DEPENDS += "fdupes-native" +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n requests-2.2.1 + cp ${S}/packaging/python-requests.manifest . + # for rpmlint warning: remove shebang from python library + sed -i '/^#!/d' ./requests/certs.py + sed -i '/^#!/d' ./requests/packages/chardet/chardetect.py + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + exit 0 + python setup.py test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --skip-build --prefix=/usr --root=${D} + + _target=""; + _symlinks=0; + + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "python-requests" + +python-requests_files = "" +python-requests_files += "python-requests.manifest" +python-requests_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-requests_files}" + +PKG_python-requests= "python-requests" + +require python-requests-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-requests/python-requests_git.bb b/meta-tizen/recipes-tizen/python-requests/python-requests_git.bb new file mode 100644 index 0000000..6047fed --- /dev/null +++ b/meta-tizen/recipes-tizen/python-requests/python-requests_git.bb @@ -0,0 +1,8 @@ +require python-requests.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-requests;protocol=ssh;tag=10e958cb8d3786946e30d4114f8afe27b9daccaf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-rpm/python-rpm-extraconf.inc b/meta-tizen/recipes-tizen/python-rpm/python-rpm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-rpm/python-rpm-native_git.bb b/meta-tizen/recipes-tizen/python-rpm/python-rpm-native_git.bb new file mode 100644 index 0000000..5a797e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-rpm/python-rpm-native_git.bb @@ -0,0 +1,12 @@ +require python-rpm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpm;protocol=ssh;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-rpm/python-rpm.inc b/meta-tizen/recipes-tizen/python-rpm/python-rpm.inc new file mode 100644 index 0000000..1e94dad --- /dev/null +++ b/meta-tizen/recipes-tizen/python-rpm/python-rpm.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Python Bindings for Manipulating RPM Packages" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Package Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-rpm +PROVIDES += "python-rpm" +RPROVIDES_python-rpm += "python-rpm" + +RDEPENDS = "" +#RDEPENDS of python-rpm (${PN}) +RDEPENDS_${PN} += "rpm" + + +DEPENDS = "" +#DEPENDS of python-rpm +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "xz-devel" +DEPENDS += "uthash-devel" +DEPENDS += "ncurses" +DEPENDS += "libxml2" +DEPENDS += "elfutils" +DEPENDS += "attr" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "acl" +DEPENDS += "lua-native" +DEPENDS += "libtool-cross" +DEPENDS += "file" +DEPENDS += "popt" +DEPENDS += "libcap" +DEPENDS += "nss" +DEPENDS += "pkgconfig(libsmack)" +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n rpm-4.11.0.1 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/lib + # only installing in python/ does not work because rpm links against + # installed libs at install time + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + find ${D} -not -type d -and -not -path ${D}/usr/lib/python*/site-packages/rpm/\* -print0 | xargs -0 rm + pushd ${D}//usr/lib/python*/site-packages/rpm + rm -f _rpmmodule.a _rpmmodule.la + #python /usr/lib/python*/py_compile.py *.py + #python -O /usr/lib/python*/py_compile.py *.py + popd + + +} + +PACKAGES = "" +PACKAGES += "python-rpm" + +python-rpm_files = "" +python-rpm_files += "/usr/lib/python*/*/*" + +FILES_${PN} = "${python-rpm_files}" + +PKG_python-rpm= "python-rpm" + +require python-rpm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-rpm/python-rpm_git.bb b/meta-tizen/recipes-tizen/python-rpm/python-rpm_git.bb new file mode 100644 index 0000000..22a28cd --- /dev/null +++ b/meta-tizen/recipes-tizen/python-rpm/python-rpm_git.bb @@ -0,0 +1,8 @@ +require python-rpm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpm;protocol=ssh;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-setuptools/python-setuptools-native_git.bb b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools-native_git.bb new file mode 100644 index 0000000..0c8c3f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools-native_git.bb @@ -0,0 +1,12 @@ +require python-setuptools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-setuptools;protocol=ssh;tag=556fe37505b60a30d7e053d95d8a9aeb789a7b30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-setuptools/python-setuptools.inc b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools.inc new file mode 100644 index 0000000..3c64b49 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools.inc @@ -0,0 +1,101 @@ +DESCRIPTION = "Easily build and distribute Python packages" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Python or ZPLv2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-setuptools-devel +PROVIDES += "python-setuptools-devel" +RPROVIDES_python-setuptools-devel += "python-setuptools-devel" +RPROVIDES_python-setuptools-devel += "python-setuptools-dev" + +#PROVIDES by python-setuptools +PROVIDES += "python-setuptools" +RPROVIDES_python-setuptools += "python-setuptools" + +RDEPENDS = "" +#RDEPENDS of python-setuptools-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "python-setuptools" +RDEPENDS_${PN}-devel += "python-dev" + + +DEPENDS = "" +#DEPENDS of python-setuptools +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n setuptools-0.6c11 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python-setuptools.manifest . + find -name '*.txt' | xargs chmod -x + find -name '*.py' | xargs sed -i '1s|^#!python|#!/usr/bin/python|' + CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + /usr/bin/python setup.py install -O1 --skip-build \ + --root $RPM_BUILD_ROOT \ + --prefix /usr \ + --single-version-externally-managed + + rm -rf $RPM_BUILD_ROOT/usr/lib/python2.7/site-packages/setuptools/tests + + install -p -m 0644 ${S}/packaging/psfl.txt ${S}/packaging/zpl.txt . + find $RPM_BUILD_ROOT/usr/lib/python2.7/site-packages -name '*.exe' | xargs rm -f + chmod +x $RPM_BUILD_ROOT/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py + + + +} + +PACKAGES = "" +PACKAGES += "python-setuptools-devel" +PACKAGES += "python-setuptools" + +python-setuptools-devel_files = "" +python-setuptools-devel_files += "python-setuptools.manifest" +python-setuptools-devel_files += "/usr/lib/python2.7/site-packages/easy_install*" +python-setuptools-devel_files += "/usr/bin/*" + +python-setuptools_files = "" +python-setuptools_files += "python-setuptools.manifest" +python-setuptools_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN}-devel = "${python-setuptools-devel_files}" +FILES_${PN} = "${python-setuptools_files}" + +PKG_python-setuptools-devel= "python-setuptools-devel" +PKG_python-setuptools= "python-setuptools" + +require python-setuptools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-setuptools/python-setuptools_git.bb b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools_git.bb new file mode 100644 index 0000000..d333be1 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-setuptools/python-setuptools_git.bb @@ -0,0 +1,8 @@ +require python-setuptools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-setuptools;protocol=ssh;tag=556fe37505b60a30d7e053d95d8a9aeb789a7b30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-sqlite/python-sqlite-extraconf.inc b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-sqlite/python-sqlite-native_git.bb b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite-native_git.bb new file mode 100644 index 0000000..72f0f44 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite-native_git.bb @@ -0,0 +1,12 @@ +require python-sqlite.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-sqlite;protocol=ssh;tag=1790f105a2c4130762e24f87060aaf1a78e22616;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-sqlite/python-sqlite.inc b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite.inc new file mode 100644 index 0000000..b7c178a --- /dev/null +++ b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x" +HOMEPAGE = "http://pysqlite.googlecode.com/" +SECTION = "Platform Development/Python" +LICENSE = "Zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-sqlite +PROVIDES += "python-sqlite" +RPROVIDES_python-sqlite += "python-sqlite" + +RDEPENDS = "" +#RDEPENDS of python-sqlite (${PN}) +RDEPENDS_${PN} += "sqlite3" + + +DEPENDS = "" +#DEPENDS of python-sqlite +inherit pythonnative +DEPENDS += "sqlite3-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n pysqlite-2.6.3 + cp ${S}/packaging/python-sqlite.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + rm -rf ${D}/usr/pysqlite2-doc # Remove wrongly installed junk + + +} + +PACKAGES = "" +PACKAGES += "python-sqlite" + +python-sqlite_files = "" +python-sqlite_files += "python-sqlite.manifest" +python-sqlite_files += "/usr/lib/python2.7/site-packages/*" + +FILES_${PN} = "${python-sqlite_files}" + +PKG_python-sqlite= "python-sqlite" + +require python-sqlite-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-sqlite/python-sqlite_git.bb b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite_git.bb new file mode 100644 index 0000000..268635e --- /dev/null +++ b/meta-tizen/recipes-tizen/python-sqlite/python-sqlite_git.bb @@ -0,0 +1,8 @@ +require python-sqlite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-sqlite;protocol=ssh;tag=1790f105a2c4130762e24f87060aaf1a78e22616;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-extraconf.inc b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-native_git.bb b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-native_git.bb new file mode 100644 index 0000000..516e870 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber-native_git.bb @@ -0,0 +1,12 @@ +require python-urlgrabber.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-urlgrabber;protocol=ssh;tag=0acddc325ed11e1d6cbed796a0a4adb4bdb67412;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber.inc b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber.inc new file mode 100644 index 0000000..fef9674 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "A high-level cross-protocol url-grabber" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-urlgrabber +PROVIDES += "python-urlgrabber" +RPROVIDES_python-urlgrabber += "python-urlgrabber" +# the PROVIDES rules is ignore "urlgrabber = 3.9.1-0" +PROVIDES += "urlgrabber" +RPROVIDES_python-urlgrabber += "urlgrabber" + +RDEPENDS = "" +#RDEPENDS of python-urlgrabber (${PN}) +RDEPENDS_${PN} += "python-pycurl" +RDEPENDS_${PN} += "python-M2Crypto" + + +DEPENDS = "" +#DEPENDS of python-urlgrabber +inherit pythonnative +DEPENDS += "python-pycurl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n urlgrabber-3.9.1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python-urlgrabber.manifest . + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --root=${D} -O1 --prefix=/usr + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/python-urlgrabber + rm -rf ${D}/usr/share/doc/python-urlgrabber-3.9.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "python-urlgrabber" + +python-urlgrabber_files = "" +python-urlgrabber_files += "python-urlgrabber.manifest" +python-urlgrabber_files += "/usr/bin/urlgrabber" +python-urlgrabber_files += "/usr/lib/python2.7/site-packages/urlgrabber*" + +FILES_${PN} = "${python-urlgrabber_files}" + +PKG_python-urlgrabber= "python-urlgrabber" + +require python-urlgrabber-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber_git.bb b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber_git.bb new file mode 100644 index 0000000..bf5f814 --- /dev/null +++ b/meta-tizen/recipes-tizen/python-urlgrabber/python-urlgrabber_git.bb @@ -0,0 +1,8 @@ +require python-urlgrabber.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-urlgrabber;protocol=ssh;tag=0acddc325ed11e1d6cbed796a0a4adb4bdb67412;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/python/python-extraconf.inc b/meta-tizen/recipes-tizen/python/python-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/python/python.inc b/meta-tizen/recipes-tizen/python/python.inc new file mode 100644 index 0000000..72929b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/python/python.inc @@ -0,0 +1,376 @@ +DESCRIPTION = "Python Interpreter" +HOMEPAGE = "http://www.python.org/" +SECTION = "Development/Languages" +LICENSE = "Python-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python +PROVIDES += "python" +RPROVIDES_python += "python" +# the PROVIDES rules is ignore "python = 2.7" +PROVIDES += "python" +RPROVIDES_python += "python" +# the PROVIDES rules is ignore "/bin/python " +PROVIDES += "/bin/python" +RPROVIDES_python += "/bin/python" + +#PROVIDES by python-xml +PROVIDES += "python-xml" +RPROVIDES_python-xml += "python-xml" +# the PROVIDES rules is ignore "pyxml = 0.8.5" +PROVIDES += "pyxml" +RPROVIDES_python-xml += "pyxml" + +#PROVIDES by libpython +PROVIDES += "libpython" +RPROVIDES_libpython += "libpython" + +#PROVIDES by python-curses +PROVIDES += "python-curses" +RPROVIDES_python-curses += "python-curses" +# the PROVIDES rules is ignore "pyth_cur " +PROVIDES += "pyth_cur" +RPROVIDES_python-curses += "pyth_cur" + +#PROVIDES by python-devel +PROVIDES += "python-devel" +RPROVIDES_python-devel += "python-devel" +RPROVIDES_python-devel += "python-dev" + +RDEPENDS = "" +#RDEPENDS of python-xml (${PN}-xml) +RDEPENDS_${PN}-xml += "python" + +#RDEPENDS of python-curses (${PN}-curses) +RDEPENDS_${PN}-curses += "python" + +#RDEPENDS of python-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "python" +RDEPENDS_${PN}-devel += "glibc-dev" + + +DEPENDS = "" +#DEPENDS of python +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "fdupes-native" +DEPENDS += "readline-devel" +DEPENDS += "ncurses" +DEPENDS += "openssl" +DEPENDS += "automake-native" +DEPENDS += "gmp" +DEPENDS += "db4" +DEPENDS += "sqlite-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Python-2.7.3 + + # drop Autoconf version requirement + sed -i 's/^version_required/dnl version_required/' configure.in + + # remove newslist.py because of bad license + rm Demo/scripts/newslist.* + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/python.manifest . + export OPT=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g") + + autoreconf -f -i . # Modules/_ctypes/libffi + # prevent make from trying to rebuild asdl stuff, which requires existing + # python installation + touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --docdir=/usr/share/doc/packages/python \ + --enable-ipv6 \ + --with-fpectl \ + --enable-shared \ + --enable-unicode=ucs4 + + LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ + make -j16 profile-opt + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # replace rest of /usr/local/bin/python or /usr/bin/python2.x with /usr/bin/python + find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! *(/usr/.*bin/(env +)?)?python' | xargs sed -r -i -e '1s@^#![[:space:]]*(/usr/(local/)?bin/(env +)?)?python([0-9]+\.[0-9]+)?@#!/usr/bin/python@' + # the grep inbetween makes it much faster + ######################################## + # install it + ######################################## + export OPT=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g") + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # install site-specific tweaks + #ln -s python2.7 ${D}/usr/bin/python2 + install -m 644 ${S}/packaging/python.csh ${D}/usr/lib/python2.7/distutils + install -m 644 ${S}/packaging/_local.pth ${D}/usr/lib/python2.7/site-packages + install -d -m 755 ${D}/etc/rpm + install -m 644 ${S}/packaging/macros.python ${D}/etc/rpm + # make sure /usr/lib/python/site-packages exists even on lib64 machines + mkdir -p ${D}/usr/lib/python2.7/site-packages + + ######################################## + # some cleanups + ######################################## + # remove hard links and replace them with symlinks + for dir in bin include lib ; do + rm -f ${D}//usr/$dir/python + ln -s python2.7 ${D}//usr/$dir/python + done + # kill imageop.so, it's insecure + rm -f ${D}//usr/lib/python2.7/lib-dynload/imageop.so + # replace duplicate .pyo/.pyc with hardlinks + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}//usr/lib/python2.7 | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + ######################################## + # documentation + ######################################## + export PDOCS=${D}/usr/share/doc/packages/python + install -d -m 755 $PDOCS + install -c -m 644 README $PDOCS/ + ln -s python2.7.1.gz ${D}/usr/share/man/man1/python.1.gz + + ######################################## + # devel + ######################################## + # install Makefile.pre.in and Makefile.pre + cp Makefile Makefile.pre.in Makefile.pre ${D}/usr/lib/python2.7/config/ + + ######################################## + # startup script + ######################################## + install -d -m 755 ${D}/etc/profile.d + install -m 644 ${S}/packaging/pythonstart ${D}/etc + install -m 644 ${S}/packaging/python.sh ${S}/packaging/python.csh ${D}/etc/profile.d + + rm -rf ${D}/usr/bin/idle + rm -rf ${D}/usr/lib/python2.7/idlelib + rm -rf ${D}/usr/lib/python2.7/lib-tk + + +} + +PACKAGES = "" +PACKAGES += "python-xml" +PACKAGES += "python" +PACKAGES += "libpython" +PACKAGES += "python-devel" +PACKAGES += "python-curses" + +python-xml_files = "" +python-xml_files += "python.manifest" +python-xml_files += "/usr/lib/python2.7/xml" +python-xml_files += "/usr/lib/python2.7/lib-dynload/pyexpat.so" + +python_files = "" +python_files += "python.manifest" +python_files += "/usr/share/doc/packages/python" +python_files += "/usr/share/doc/packages/python/README" +python_files += "/etc/pythonstart" +python_files += "/etc/profile.d/python.*" +python_files += "/usr/lib/python2.7" +python_files += "/usr/lib/python2.7/ssl.py*" +python_files += "/usr/lib/python2.7/bsddb" +python_files += "/usr/lib/python2.7/sqlite3" +python_files += "/usr/lib/python2.7/lib-dynload" +python_files += "/usr/lib/python2.7/lib-dynload/_bsddb.so" +python_files += "/usr/lib/python2.7/lib-dynload/_hashlib.so" +python_files += "/usr/lib/python2.7/lib-dynload/_sqlite3.so" +python_files += "/usr/lib/python2.7/lib-dynload/_ssl.so" +python_files += "/usr/lib/python2.7/lib-dynload/readline.so" +python_files += "/etc/rpm/macros.python" +python_files += "/usr/share/man/man1/python.1*" +python_files += "/usr/share/man/man1/python2.7.1*" +python_files += "/usr/include/python2.7" +python_files += "/usr/include/python2.7/pyconfig.h" +python_files += "/usr/lib/python" +python_files += "/usr/lib/python2.7" +python_files += "/usr/lib/python2.7/site-packages" +python_files += "/usr/lib/python2.7" +python_files += "/usr/lib/python2.7/config" +python_files += "/usr/lib/python2.7/config/Setup" +python_files += "/usr/lib/python2.7/config/Makefile" +python_files += "/usr/lib/python2.7/*.*" +python_files += "/usr/lib/python2.7/compiler" +python_files += "/usr/lib/python2.7/ctypes" +python_files += "/usr/lib/python2.7/distutils" +python_files += "/usr/lib/python2.7/email" +python_files += "/usr/lib/python2.7/encodings" +python_files += "/usr/lib/python2.7/hotshot" +python_files += "/usr/lib/python2.7/importlib" +python_files += "/usr/lib/python2.7/json" +python_files += "/usr/lib/python2.7/lib2to3" +python_files += "/usr/lib/python2.7/logging" +python_files += "/usr/lib/python2.7/multiprocessing" +python_files += "/usr/lib/python2.7/plat-*" +python_files += "/usr/lib/python2.7/pydoc_data" +python_files += "/usr/lib/python2.7/unittest" +python_files += "/usr/lib/python2.7/wsgiref" +python_files += "/usr/lib/python2.7/site-packages" +python_files += "/usr/lib/python2.7/site-packages/README" +python_files += "/usr/lib/python2.7/site-packages/_local.pth" +python_files += "/usr/lib/python2.7/lib-dynload" +python_files += "/usr/lib/python2.7/lib-dynload/_bisect.so" +python_files += "/usr/lib/python2.7/lib-dynload/_csv.so" +python_files += "/usr/lib/python2.7/lib-dynload/_collections.so" +python_files += "/usr/lib/python2.7/lib-dynload/_ctypes.so" +python_files += "/usr/lib/python2.7/lib-dynload/_ctypes_test.so" +python_files += "/usr/lib/python2.7/lib-dynload/_elementtree.so" +python_files += "/usr/lib/python2.7/lib-dynload/_functools.so" +python_files += "/usr/lib/python2.7/lib-dynload/_heapq.so" +python_files += "/usr/lib/python2.7/lib-dynload/_hotshot.so" +python_files += "/usr/lib/python2.7/lib-dynload/_io.so" +python_files += "/usr/lib/python2.7/lib-dynload/nis.so" +python_files += "/usr/lib/python2.7/lib-dynload/_json.so" +python_files += "/usr/lib/python2.7/lib-dynload/_locale.so" +python_files += "/usr/lib/python2.7/lib-dynload/_lsprof.so" +python_files += "/usr/lib/python2.7/lib-dynload/audioop.so" +python_files += "/usr/lib/python2.7/lib-dynload/dbm.so" +python_files += "/usr/lib/python2.7/lib-dynload/_multiprocessing.so" +python_files += "/usr/lib/python2.7/lib-dynload/_random.so" +python_files += "/usr/lib/python2.7/lib-dynload/_socket.so" +python_files += "/usr/lib/python2.7/lib-dynload/_struct.so" +python_files += "/usr/lib/python2.7/lib-dynload/_testcapi.so" +python_files += "/usr/lib/python2.7/lib-dynload/array.so" +python_files += "/usr/lib/python2.7/lib-dynload/binascii.so" +python_files += "/usr/lib/python2.7/lib-dynload/bz2.so" +python_files += "/usr/lib/python2.7/lib-dynload/cPickle.so" +python_files += "/usr/lib/python2.7/lib-dynload/cStringIO.so" +python_files += "/usr/lib/python2.7/lib-dynload/cmath.so" +python_files += "/usr/lib/python2.7/lib-dynload/crypt.so" +python_files += "/usr/lib/python2.7/lib-dynload/datetime.so" +python_files += "/usr/lib/python2.7/lib-dynload/fcntl.so" +python_files += "/usr/lib/python2.7/lib-dynload/future_builtins.so" +python_files += "/usr/lib/python2.7/lib-dynload/grp.so" +python_files += "/usr/lib/python2.7/lib-dynload/itertools.so" +python_files += "/usr/lib/python2.7/lib-dynload/linuxaudiodev.so" +python_files += "/usr/lib/python2.7/lib-dynload/math.so" +python_files += "/usr/lib/python2.7/lib-dynload/mmap.so" +python_files += "/usr/lib/python2.7/lib-dynload/operator.so" +python_files += "/usr/lib/python2.7/lib-dynload/ossaudiodev.so" +python_files += "/usr/lib/python2.7/lib-dynload/parser.so" +python_files += "/usr/lib/python2.7/lib-dynload/resource.so" +python_files += "/usr/lib/python2.7/lib-dynload/select.so" +python_files += "/usr/lib/python2.7/lib-dynload/spwd.so" +python_files += "/usr/lib/python2.7/lib-dynload/strop.so" +python_files += "/usr/lib/python2.7/lib-dynload/syslog.so" +python_files += "/usr/lib/python2.7/lib-dynload/termios.so" +python_files += "/usr/lib/python2.7/lib-dynload/time.so" +python_files += "/usr/lib/python2.7/lib-dynload/unicodedata.so" +python_files += "/usr/lib/python2.7/lib-dynload/zlib.so" +python_files += "/usr/lib/python2.7/lib-dynload/_codecs*.so" +python_files += "/usr/lib/python2.7/lib-dynload/_multibytecodec.so" +python_files += "/usr/lib/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info" +python_files += "/usr/bin/python2" + +libpython_files = "" +libpython_files += "python.manifest" +libpython_files += "/usr/lib/libpython*.so.*" + +python-devel_files = "" +python-devel_files += "python.manifest" +python-devel_files += "/usr/lib/python2.7/config/*" +python-devel_files += "/usr/lib/libpython*.so" +python-devel_files += "/usr/lib/pkgconfig/python-2.7.pc" +python-devel_files += "/usr/lib/pkgconfig/python.pc" +python-devel_files += "/usr/lib/pkgconfig/python2.pc" +python-devel_files += "/usr/include/python*" +python-devel_files += "/usr/lib/python2.7/test" +python-devel_files += "/usr/bin/python-config" +python-devel_files += "/usr/bin/python2-config" +python-devel_files += "/usr/bin/python2.7-config" + +python-curses_files = "" +python-curses_files += "python.manifest" +python-curses_files += "/usr/lib/python2.7/curses" +python-curses_files += "/usr/lib/python2.7/lib-dynload/_curses.so" +python-curses_files += "/usr/lib/python2.7/lib-dynload/_curses_panel.so" + +FILES_${PN}-xml = "${python-xml_files}" +FILES_${PN} = "${python_files}" +FILES_lib${PN} = "${libpython_files}" +FILES_${PN}-devel = "${python-devel_files}" +FILES_${PN}-curses = "${python-curses_files}" + +PKG_python-xml= "python-xml" +PKG_python= "python" +PKG_libpython= "libpython" +PKG_python-devel= "python-devel" +PKG_python-curses= "python-curses" + +require python-extraconf.inc diff --git a/meta-tizen/recipes-tizen/python/python_git.bb b/meta-tizen/recipes-tizen/python/python_git.bb new file mode 100644 index 0000000..3876ff6 --- /dev/null +++ b/meta-tizen/recipes-tizen/python/python_git.bb @@ -0,0 +1,8 @@ +require python.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python;protocol=ssh;tag=17609363aeba2937526f67242f920ffffe0ba0f6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qemu/qemu-extraconf.inc b/meta-tizen/recipes-tizen/qemu/qemu-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qemu/qemu.inc b/meta-tizen/recipes-tizen/qemu/qemu.inc new file mode 100644 index 0000000..16d85b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/qemu/qemu.inc @@ -0,0 +1,227 @@ +DESCRIPTION = "Universal CPU emulator" +HOMEPAGE = "http://www.qemu.org/" +SECTION = "System/Utilities" +LICENSE = "BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qemu-tools +PROVIDES += "qemu-tools" +RPROVIDES_qemu-tools += "qemu-tools" +# the PROVIDES rules is ignore "qemu:/usr/libexec/qemu-bridge-helper " +PROVIDES += "qemu:/usr/libexec/qemu-bridge-helper" +RPROVIDES_qemu-tools += "qemu:/usr/libexec/qemu-bridge-helper" + +#PROVIDES by qemu-linux-user +PROVIDES += "qemu-linux-user" +RPROVIDES_qemu-linux-user += "qemu-linux-user" +# the PROVIDES rules is ignore "qemu:/usr/bin/qemu-arm " +PROVIDES += "qemu:/usr/bin/qemu-arm" +RPROVIDES_qemu-linux-user += "qemu:/usr/bin/qemu-arm" + +#PROVIDES by qemu +PROVIDES += "qemu" +RPROVIDES_qemu += "qemu" + +#PROVIDES by qemu-guest-agent +PROVIDES += "qemu-guest-agent" +RPROVIDES_qemu-guest-agent += "qemu-guest-agent" +# the PROVIDES rules is ignore "qemu:/usr/bin/qemu-ga " +PROVIDES += "qemu:/usr/bin/qemu-ga" +RPROVIDES_qemu-guest-agent += "qemu:/usr/bin/qemu-ga" + +RDEPENDS = "" +#RDEPENDS of qemu (${PN}) +RDEPENDS_${PN} += "timezone" +RDEPENDS_${PN} += "pwdutils" +RDEPENDS_${PN} += "/usr/sbin/groupadd" + + +DEPENDS = "" +#DEPENDS of qemu +DEPENDS += "glib" +DEPENDS += "bison-native" +DEPENDS += "zlib-devel-static" +DEPENDS += "attr" +DEPENDS += "SDL" +DEPENDS += "ncurses" +DEPENDS += "libjpeg-turbo" +DEPENDS += "pwdutils" +DEPENDS += "e2fsprogs" +inherit pythonnative +DEPENDS += "libcap-ng" +DEPENDS += "gnutls" +DEPENDS += "libpng" +DEPENDS += "libcap" +DEPENDS += "curl" +DEPENDS += "fdupes-native" +DEPENDS += "pcre" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qemu-1.6.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # build QEMU + mkdir -p dynamic + # build qemu-system + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/libexec \ + --enable-curl \ + --enable-virtfs \ + --disable-linux-aio \ + --extra-cflags="$QEMU_OPT_FLAGS" \ + --enable-system \ + --disable-linux-user \ + --enable-sdl + + make -j16 V=1 + mv *-softmmu/qemu-system-* dynamic + mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic + #mv qemu-img.1 qemu-nbd.8 dynamic + mv qemu-ga dynamic + mv fsdev/virtfs-proxy-helper dynamic + make clean + # build userland emus + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/libexec \ + --enable-linux-user \ + --disable-system \ + --static --disable-linux-aio \ + --extra-cflags="$QEMU_OPT_FLAGS" + make -j16 V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + rm -fr $RPM_BUILD_ROOT//usr/share/doc + install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT//usr/bin + install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT//usr/bin + install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT//usr/bin + install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT//usr/bin + install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT//usr/bin + install -m 755 dynamic/virtfs-proxy-helper $RPM_BUILD_ROOT//usr/bin + install -d -m 755 $RPM_BUILD_ROOT//usr/sbin + install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT//usr/sbin + install -d -m 755 $RPM_BUILD_ROOT//usr/libexec + install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT//usr/libexec + install -d -m 755 $RPM_BUILD_ROOT//usr/share/man/man1 + install -D -m 644 ${S}/packaging/bridge.conf $RPM_BUILD_ROOT//etc/qemu/bridge.conf + mkdir -p $RPM_BUILD_ROOT/emul/ia32-linux + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "qemu-tools" +PACKAGES += "qemu-linux-user" +PACKAGES += "qemu" +PACKAGES += "qemu-guest-agent" + +qemu-tools_files = "" +qemu-tools_files += "/usr/bin/qemu-io" +qemu-tools_files += "/usr/bin/qemu-img" +qemu-tools_files += "/usr/bin/qemu-nbd" +qemu-tools_files += "/usr/bin/virtfs-proxy-helper" +qemu-tools_files += "/etc/qemu" +qemu-tools_files += "/etc/qemu/bridge.conf" + +qemu-linux-user_files = "" +qemu-linux-user_files += "/usr/bin/qemu-alpha" +qemu-linux-user_files += "/usr/bin/qemu-arm" +qemu-linux-user_files += "/usr/bin/qemu-armeb" +qemu-linux-user_files += "/usr/bin/qemu-cris" +qemu-linux-user_files += "/usr/bin/qemu-i386" +qemu-linux-user_files += "/usr/bin/qemu-m68k" +qemu-linux-user_files += "/usr/bin/qemu-microblaze" +qemu-linux-user_files += "/usr/bin/qemu-microblazeel" +qemu-linux-user_files += "/usr/bin/qemu-mips" +qemu-linux-user_files += "/usr/bin/qemu-mips64" +qemu-linux-user_files += "/usr/bin/qemu-mips64el" +qemu-linux-user_files += "/usr/bin/qemu-mipsel" +qemu-linux-user_files += "/usr/bin/qemu-mipsn32" +qemu-linux-user_files += "/usr/bin/qemu-mipsn32el" +qemu-linux-user_files += "/usr/bin/qemu-or32" +qemu-linux-user_files += "/usr/bin/qemu-ppc64abi32" +qemu-linux-user_files += "/usr/bin/qemu-ppc64" +qemu-linux-user_files += "/usr/bin/qemu-ppc" +qemu-linux-user_files += "/usr/bin/qemu-s390x" +qemu-linux-user_files += "/usr/bin/qemu-sh4" +qemu-linux-user_files += "/usr/bin/qemu-sh4eb" +qemu-linux-user_files += "/usr/bin/qemu-sparc32plus" +qemu-linux-user_files += "/usr/bin/qemu-sparc64" +qemu-linux-user_files += "/usr/bin/qemu-sparc" +qemu-linux-user_files += "/usr/bin/qemu-unicore32" +qemu-linux-user_files += "/usr/bin/qemu-x86_64" +qemu-linux-user_files += "/usr/bin/qemu-*-binfmt" +qemu-linux-user_files += "/usr/sbin/qemu-binfmt-conf.sh" + +qemu_files = "" +qemu_files += "COPYING COPYING.LIB Changelog README VERSION" +qemu_files += "/usr/bin/qemu-system-*" +qemu_files += "/usr/share/qemu" +qemu_files += "/etc/qemu" +qemu_files += "/etc/qemu/target-x86_64.conf" + +qemu-guest-agent_files = "" + +FILES_${PN}-tools = "${qemu-tools_files}" +FILES_${PN}-linux-user = "${qemu-linux-user_files}" +FILES_${PN} = "${qemu_files}" +FILES_${PN}-guest-agent = "${qemu-guest-agent_files}" + +PKG_qemu-tools= "qemu-tools" +PKG_qemu-linux-user= "qemu-linux-user" +PKG_qemu= "qemu" +PKG_qemu-guest-agent= "qemu-guest-agent" + +require qemu-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qpdf/qpdf-extraconf.inc b/meta-tizen/recipes-tizen/qpdf/qpdf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qpdf/qpdf-native_git.bb b/meta-tizen/recipes-tizen/qpdf/qpdf-native_git.bb new file mode 100644 index 0000000..5ea7aba --- /dev/null +++ b/meta-tizen/recipes-tizen/qpdf/qpdf-native_git.bb @@ -0,0 +1,12 @@ +require qpdf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qpdf;protocol=ssh;tag=0561f388f298abbf6d6cebe3aafbb71f22b2d61e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qpdf/qpdf.inc b/meta-tizen/recipes-tizen/qpdf/qpdf.inc new file mode 100644 index 0000000..edc1792 --- /dev/null +++ b/meta-tizen/recipes-tizen/qpdf/qpdf.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "Command-line tools and library for transforming PDF files" +HOMEPAGE = "http://qpdf.sourceforge.net/" +SECTION = "System/Libraries" +LICENSE = "Artistic-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qpdf-devel +PROVIDES += "qpdf-devel" +RPROVIDES_qpdf-devel += "qpdf-devel" +RPROVIDES_qpdf-devel += "qpdf-dev" + +#PROVIDES by qpdf +PROVIDES += "qpdf" +RPROVIDES_qpdf += "qpdf" + +#PROVIDES by qpdf-docs +PROVIDES += "qpdf-docs " +RPROVIDES_qpdf-docs += "qpdf-docs " + +RDEPENDS = "" +#RDEPENDS of qpdf-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(libpcre)" +RDEPENDS_${PN}-devel += "zlib-dev" +RDEPENDS_${PN}-devel += "qpdf" + + +DEPENDS = "" +#DEPENDS of qpdf +DEPENDS += "pcre" +DEPENDS += "zlib-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/qpdf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --without-docdir + + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}//usr/share/doc/qpdf + rm ${D}//usr/bin/* + + +} + +PACKAGES = "" +PACKAGES += "qpdf-devel" +PACKAGES += "qpdf" +PACKAGES += "qpdf-docs" + +qpdf-devel_files = "" +qpdf-devel_files += "qpdf.manifest" +qpdf-devel_files += "/usr/include/*" +qpdf-devel_files += "/usr/lib/libqpdf*.so" +qpdf-devel_files += "/usr/lib/pkgconfig/*.pc" + +qpdf_files = "" +qpdf_files += "qpdf.manifest" +qpdf_files += "/usr/lib/libqpdf*.so.*" + +qpdf-docs_files = "" +qpdf-docs_files += "/usr/share/info" +qpdf-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${qpdf-devel_files}" +FILES_${PN} = "${qpdf_files}" +FILES_${PN}-docs = "${qpdf-docs_files}" + +PKG_qpdf-devel= "qpdf-devel" +PKG_qpdf= "qpdf" +PKG_qpdf-docs= "qpdf-docs" + +require qpdf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qpdf/qpdf_git.bb b/meta-tizen/recipes-tizen/qpdf/qpdf_git.bb new file mode 100644 index 0000000..b5fc2ab --- /dev/null +++ b/meta-tizen/recipes-tizen/qpdf/qpdf_git.bb @@ -0,0 +1,8 @@ +require qpdf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qpdf;protocol=ssh;tag=0561f388f298abbf6d6cebe3aafbb71f22b2d61e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtbase/qtbase-extraconf.inc b/meta-tizen/recipes-tizen/qtbase/qtbase-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtbase/qtbase-native_git.bb b/meta-tizen/recipes-tizen/qtbase/qtbase-native_git.bb new file mode 100644 index 0000000..8f9139a --- /dev/null +++ b/meta-tizen/recipes-tizen/qtbase/qtbase-native_git.bb @@ -0,0 +1,12 @@ +require qtbase.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtbase;protocol=ssh;tag=bb52096ba07589ea701fe65ed29022c21f860a30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtbase/qtbase.inc b/meta-tizen/recipes-tizen/qtbase/qtbase.inc new file mode 100644 index 0000000..a4751bd --- /dev/null +++ b/meta-tizen/recipes-tizen/qtbase/qtbase.inc @@ -0,0 +1,949 @@ +DESCRIPTION = "Cross-platform application and UI framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-plugin-bearer-connman +PROVIDES += "qt5-plugin-bearer-connman" +RPROVIDES_qt5-plugin-bearer-connman += "qt5-plugin-bearer-connman" + +#PROVIDES by qt5-qtsql +PROVIDES += "qt5-qtsql" +RPROVIDES_qt5-qtsql += "qt5-qtsql" + +#PROVIDES by qt5-qtprintsupport-devel +PROVIDES += "qt5-qtprintsupport-devel" +RPROVIDES_qt5-qtprintsupport-devel += "qt5-qtprintsupport-devel" +RPROVIDES_qt5-qtprintsupport-devel += "qt5-qtprintsupport-dev" + +#PROVIDES by qt5-plugin-imageformat-jpeg +PROVIDES += "qt5-plugin-imageformat-jpeg" +RPROVIDES_qt5-plugin-imageformat-jpeg += "qt5-plugin-imageformat-jpeg" + +#PROVIDES by qt5-qtgui-devel +PROVIDES += "qt5-qtgui-devel" +RPROVIDES_qt5-qtgui-devel += "qt5-qtgui-devel" +RPROVIDES_qt5-qtgui-devel += "qt5-qtgui-dev" + +#PROVIDES by qt5-qtgui +PROVIDES += "qt5-qtgui" +RPROVIDES_qt5-qtgui += "qt5-qtgui" + +#PROVIDES by qt5-plugin-bearer-generic +PROVIDES += "qt5-plugin-bearer-generic" +RPROVIDES_qt5-plugin-bearer-generic += "qt5-plugin-bearer-generic" + +#PROVIDES by qt5-plugin-platform-minimalegl +PROVIDES += "qt5-plugin-platform-minimalegl" +RPROVIDES_qt5-plugin-platform-minimalegl += "qt5-plugin-platform-minimalegl" + +#PROVIDES by qt5-qtprintsupport +PROVIDES += "qt5-qtprintsupport" +RPROVIDES_qt5-qtprintsupport += "qt5-qtprintsupport" + +#PROVIDES by qt5-tools +PROVIDES += "qt5-tools" +RPROVIDES_qt5-tools += "qt5-tools" + +#PROVIDES by qt5-plugin-platform-offscreen +PROVIDES += "qt5-plugin-platform-offscreen" +RPROVIDES_qt5-plugin-platform-offscreen += "qt5-plugin-platform-offscreen" + +#PROVIDES by qt5-qtnetwork-devel +PROVIDES += "qt5-qtnetwork-devel" +RPROVIDES_qt5-qtnetwork-devel += "qt5-qtnetwork-devel" +RPROVIDES_qt5-qtnetwork-devel += "qt5-qtnetwork-dev" + +#PROVIDES by qt5-plugin-platform-eglfs +PROVIDES += "qt5-plugin-platform-eglfs" +RPROVIDES_qt5-plugin-platform-eglfs += "qt5-plugin-platform-eglfs" + +#PROVIDES by qt5-qtbootstrap-devel +PROVIDES += "qt5-qtbootstrap-devel" +RPROVIDES_qt5-qtbootstrap-devel += "qt5-qtbootstrap-devel" +RPROVIDES_qt5-qtbootstrap-devel += "qt5-qtbootstrap-dev" + +#PROVIDES by qt5-qtconcurrent-devel +PROVIDES += "qt5-qtconcurrent-devel" +RPROVIDES_qt5-qtconcurrent-devel += "qt5-qtconcurrent-devel" +RPROVIDES_qt5-qtconcurrent-devel += "qt5-qtconcurrent-dev" + +#PROVIDES by qt5-qtxml-devel +PROVIDES += "qt5-qtxml-devel" +RPROVIDES_qt5-qtxml-devel += "qt5-qtxml-devel" +RPROVIDES_qt5-qtxml-devel += "qt5-qtxml-dev" + +#PROVIDES by qt5-qtcore +PROVIDES += "qt5-qtcore" +RPROVIDES_qt5-qtcore += "qt5-qtcore" + +#PROVIDES by qt5-plugin-platforminputcontext-compose +PROVIDES += "qt5-plugin-platforminputcontext-compose" +RPROVIDES_qt5-plugin-platforminputcontext-compose += "qt5-plugin-platforminputcontext-compose" + +#PROVIDES by qt5-qtcore-devel +PROVIDES += "qt5-qtcore-devel" +RPROVIDES_qt5-qtcore-devel += "qt5-qtcore-devel" +RPROVIDES_qt5-qtcore-devel += "qt5-qtcore-dev" + +#PROVIDES by qt5-plugin-generic-evdev +PROVIDES += "qt5-plugin-generic-evdev" +RPROVIDES_qt5-plugin-generic-evdev += "qt5-plugin-generic-evdev" + +#PROVIDES by qt5-plugin-sqldriver-sqlite +PROVIDES += "qt5-plugin-sqldriver-sqlite" +RPROVIDES_qt5-plugin-sqldriver-sqlite += "qt5-plugin-sqldriver-sqlite" + +#PROVIDES by qt5-qmake +PROVIDES += "qt5-qmake" +RPROVIDES_qt5-qmake += "qt5-qmake" + +#PROVIDES by qt5 +PROVIDES += "qt5" +RPROVIDES_qt5 += "qt5" + +#PROVIDES by qt5-plugin-platform-linuxfb +PROVIDES += "qt5-plugin-platform-linuxfb" +RPROVIDES_qt5-plugin-platform-linuxfb += "qt5-plugin-platform-linuxfb" + +#PROVIDES by qt5-qttest +PROVIDES += "qt5-qttest" +RPROVIDES_qt5-qttest += "qt5-qttest" + +#PROVIDES by qt5-qtsql-devel +PROVIDES += "qt5-qtsql-devel" +RPROVIDES_qt5-qtsql-devel += "qt5-qtsql-devel" +RPROVIDES_qt5-qtsql-devel += "qt5-qtsql-dev" + +#PROVIDES by qt5-qtconcurrent +PROVIDES += "qt5-qtconcurrent" +RPROVIDES_qt5-qtconcurrent += "qt5-qtconcurrent" + +#PROVIDES by qt5-qtwidgets-devel +PROVIDES += "qt5-qtwidgets-devel" +RPROVIDES_qt5-qtwidgets-devel += "qt5-qtwidgets-devel" +RPROVIDES_qt5-qtwidgets-devel += "qt5-qtwidgets-dev" + +#PROVIDES by qt5-qtdbus-devel +PROVIDES += "qt5-qtdbus-devel" +RPROVIDES_qt5-qtdbus-devel += "qt5-qtdbus-devel" +RPROVIDES_qt5-qtdbus-devel += "qt5-qtdbus-dev" + +#PROVIDES by qt5-plugin-imageformat-ico +PROVIDES += "qt5-plugin-imageformat-ico" +RPROVIDES_qt5-plugin-imageformat-ico += "qt5-plugin-imageformat-ico" + +#PROVIDES by qt5-qtopengl-devel +PROVIDES += "qt5-qtopengl-devel" +RPROVIDES_qt5-qtopengl-devel += "qt5-qtopengl-devel" +RPROVIDES_qt5-qtopengl-devel += "qt5-qtopengl-dev" + +#PROVIDES by qt5-plugin-bearer-nm +PROVIDES += "qt5-plugin-bearer-nm" +RPROVIDES_qt5-plugin-bearer-nm += "qt5-plugin-bearer-nm" + +#PROVIDES by qt5-plugin-platform-minimal +PROVIDES += "qt5-plugin-platform-minimal" +RPROVIDES_qt5-plugin-platform-minimal += "qt5-plugin-platform-minimal" + +#PROVIDES by qt5-qttest-devel +PROVIDES += "qt5-qttest-devel" +RPROVIDES_qt5-qttest-devel += "qt5-qttest-devel" +RPROVIDES_qt5-qttest-devel += "qt5-qttest-dev" + +#PROVIDES by qt5-qtplatformsupport-devel +PROVIDES += "qt5-qtplatformsupport-devel" +RPROVIDES_qt5-qtplatformsupport-devel += "qt5-qtplatformsupport-devel" +RPROVIDES_qt5-qtplatformsupport-devel += "qt5-qtplatformsupport-dev" + +#PROVIDES by qt5-default +PROVIDES += "qt5-default" +RPROVIDES_qt5-default += "qt5-default" +# the PROVIDES rules is ignore "qt-default " +PROVIDES += "qt-default" +RPROVIDES_qt5-default += "qt-default" + +#PROVIDES by qt5-plugin-accessible-widgets +PROVIDES += "qt5-plugin-accessible-widgets" +RPROVIDES_qt5-plugin-accessible-widgets += "qt5-plugin-accessible-widgets" + +#PROVIDES by qt5-qtopengl +PROVIDES += "qt5-qtopengl" +RPROVIDES_qt5-qtopengl += "qt5-qtopengl" + +#PROVIDES by qt5-qtxml +PROVIDES += "qt5-qtxml" +RPROVIDES_qt5-qtxml += "qt5-qtxml" + +#PROVIDES by qt5-qtnetwork +PROVIDES += "qt5-qtnetwork" +RPROVIDES_qt5-qtnetwork += "qt5-qtnetwork" + +#PROVIDES by qt5-plugin-imageformat-gif +PROVIDES += "qt5-plugin-imageformat-gif" +RPROVIDES_qt5-plugin-imageformat-gif += "qt5-plugin-imageformat-gif" + +#PROVIDES by qt5-qtwidgets +PROVIDES += "qt5-qtwidgets" +RPROVIDES_qt5-qtwidgets += "qt5-qtwidgets" + +#PROVIDES by qt5-qtdbus +PROVIDES += "qt5-qtdbus" +RPROVIDES_qt5-qtdbus += "qt5-qtdbus" + +#PROVIDES by qt5-plugin-platforminputcontext-ibus +PROVIDES += "qt5-plugin-platforminputcontext-ibus" +RPROVIDES_qt5-plugin-platforminputcontext-ibus += "qt5-plugin-platforminputcontext-ibus" + +#PROVIDES by qt5-plugin-printsupport-cups +PROVIDES += "qt5-plugin-printsupport-cups" +RPROVIDES_qt5-plugin-printsupport-cups += "qt5-plugin-printsupport-cups" + +RDEPENDS = "" +#RDEPENDS of qt5-plugin-bearer-connman (qt5-plugin-bearer-connman) +RDEPENDS_qt5-plugin-bearer-connman += "qt5-qtcore" + +#RDEPENDS of qt5-qtsql (qt5-qtsql) +RDEPENDS_qt5-qtsql += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtprintsupport-devel (qt5-qtprintsupport-devel) +RDEPENDS_qt5-qtprintsupport-devel += "qt5-qtprintsupport" + +#RDEPENDS of qt5-plugin-imageformat-jpeg (qt5-plugin-imageformat-jpeg) +RDEPENDS_qt5-plugin-imageformat-jpeg += "qt5-qtcore" + +#RDEPENDS of qt5-qtgui-devel (qt5-qtgui-devel) +RDEPENDS_qt5-qtgui-devel += "qt5-qtopengl-dev" +RDEPENDS_qt5-qtgui-devel += "qt5-qtgui" + +#RDEPENDS of qt5-qtgui (qt5-qtgui) +RDEPENDS_qt5-qtgui += "/sbin/ldconfig" + +#RDEPENDS of qt5-plugin-bearer-generic (qt5-plugin-bearer-generic) +RDEPENDS_qt5-plugin-bearer-generic += "qt5-qtcore" + +#RDEPENDS of qt5-plugin-platform-minimalegl (qt5-plugin-platform-minimalegl) +RDEPENDS_qt5-plugin-platform-minimalegl += "qt5-qtcore" + +#RDEPENDS of qt5-qtprintsupport (qt5-qtprintsupport) +RDEPENDS_qt5-qtprintsupport += "/sbin/ldconfig" + +#RDEPENDS of qt5-tools (qt5-tools) +RDEPENDS_qt5-tools += "qtchooser" + +#RDEPENDS of qt5-plugin-platform-offscreen (qt5-plugin-platform-offscreen) +RDEPENDS_qt5-plugin-platform-offscreen += "qt5-qtcore" + +#RDEPENDS of qt5-qtnetwork-devel (qt5-qtnetwork-devel) +RDEPENDS_qt5-qtnetwork-devel += "qt5-qtnetwork" + +#RDEPENDS of qt5-plugin-platform-eglfs (qt5-plugin-platform-eglfs) +RDEPENDS_qt5-plugin-platform-eglfs += "qt5-qtcore" + +#RDEPENDS of qt5-qtconcurrent-devel (qt5-qtconcurrent-devel) +RDEPENDS_qt5-qtconcurrent-devel += "qt5-qtconcurrent" + +#RDEPENDS of qt5-qtxml-devel (qt5-qtxml-devel) +RDEPENDS_qt5-qtxml-devel += "qt5-qtxml" + +#RDEPENDS of qt5-qtcore (qt5-qtcore) +RDEPENDS_qt5-qtcore += "/sbin/ldconfig" + +#RDEPENDS of qt5-plugin-platforminputcontext-compose (qt5-plugin-platforminputcontext-compose) +RDEPENDS_qt5-plugin-platforminputcontext-compose += "qt5-qtcore" + +#RDEPENDS of qt5-qtcore-devel (qt5-qtcore-devel) +RDEPENDS_qt5-qtcore-devel += "qtchooser" +RDEPENDS_qt5-qtcore-devel += "qt5-qmake" +RDEPENDS_qt5-qtcore-devel += "qt5-tools" +RDEPENDS_qt5-qtcore-devel += "fontconfig-dev" +RDEPENDS_qt5-qtcore-devel += "qt5-qtcore" + +#RDEPENDS of qt5-plugin-generic-evdev (qt5-plugin-generic-evdev) +RDEPENDS_qt5-plugin-generic-evdev += "qt5-qtcore" + +#RDEPENDS of qt5-plugin-sqldriver-sqlite (qt5-plugin-sqldriver-sqlite) +RDEPENDS_qt5-plugin-sqldriver-sqlite += "qt5-qtcore" + +#RDEPENDS of qt5-qmake (qt5-qmake) +RDEPENDS_qt5-qmake += "qtchooser" + +#RDEPENDS of qt5-plugin-platform-linuxfb (qt5-plugin-platform-linuxfb) +RDEPENDS_qt5-plugin-platform-linuxfb += "qt5-qtcore" + +#RDEPENDS of qt5-qttest (qt5-qttest) +RDEPENDS_qt5-qttest += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtsql-devel (qt5-qtsql-devel) +RDEPENDS_qt5-qtsql-devel += "qt5-qtsql" + +#RDEPENDS of qt5-qtconcurrent (qt5-qtconcurrent) +RDEPENDS_qt5-qtconcurrent += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtwidgets-devel (qt5-qtwidgets-devel) +RDEPENDS_qt5-qtwidgets-devel += "qt5-qtwidgets" + +#RDEPENDS of qt5-qtdbus-devel (qt5-qtdbus-devel) +RDEPENDS_qt5-qtdbus-devel += "pkgconfig(dbus-1)" +RDEPENDS_qt5-qtdbus-devel += "qt5-qtdbus" + +#RDEPENDS of qt5-plugin-imageformat-ico (qt5-plugin-imageformat-ico) +RDEPENDS_qt5-plugin-imageformat-ico += "qt5-qtcore" + +#RDEPENDS of qt5-qtopengl-devel (qt5-qtopengl-devel) +RDEPENDS_qt5-qtopengl-devel += "pkgconfig(egl)" +RDEPENDS_qt5-qtopengl-devel += "qt5-qtopengl" + +#RDEPENDS of qt5-plugin-bearer-nm (qt5-plugin-bearer-nm) +RDEPENDS_qt5-plugin-bearer-nm += "qt5-qtcore" + +#RDEPENDS of qt5-plugin-platform-minimal (qt5-plugin-platform-minimal) +RDEPENDS_qt5-plugin-platform-minimal += "qt5-qtcore" + +#RDEPENDS of qt5-qttest-devel (qt5-qttest-devel) +RDEPENDS_qt5-qttest-devel += "qt5-qttest" + +#RDEPENDS of qt5-default (qt5-default) +RDEPENDS_qt5-default += "qtchooser" + +#RDEPENDS of qt5-plugin-accessible-widgets (qt5-plugin-accessible-widgets) +RDEPENDS_qt5-plugin-accessible-widgets += "qt5-qtcore" + +#RDEPENDS of qt5-qtopengl (qt5-qtopengl) +RDEPENDS_qt5-qtopengl += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtxml (qt5-qtxml) +RDEPENDS_qt5-qtxml += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtnetwork (qt5-qtnetwork) +RDEPENDS_qt5-qtnetwork += "/sbin/ldconfig" + +#RDEPENDS of qt5-plugin-imageformat-gif (qt5-plugin-imageformat-gif) +RDEPENDS_qt5-plugin-imageformat-gif += "qt5-qtcore" + +#RDEPENDS of qt5-qtwidgets (qt5-qtwidgets) +RDEPENDS_qt5-qtwidgets += "/sbin/ldconfig" + +#RDEPENDS of qt5-qtdbus (qt5-qtdbus) +RDEPENDS_qt5-qtdbus += "/sbin/ldconfig" + +#RDEPENDS of qt5-plugin-platforminputcontext-ibus (qt5-plugin-platforminputcontext-ibus) +RDEPENDS_qt5-plugin-platforminputcontext-ibus += "qt5-qtcore" + +#RDEPENDS of qt5-plugin-printsupport-cups (qt5-plugin-printsupport-cups) +RDEPENDS_qt5-plugin-printsupport-cups += "qt5-qtcore" + + +DEPENDS = "" +#DEPENDS of qt5 +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "cups" +DEPENDS += "pkgconfig(sqlite3)" +DEPENDS += "pkgconfig(libpng)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libSM" +DEPENDS += "pam" +DEPENDS += "flex" +DEPENDS += "pkgconfig(fontconfig)" +inherit pythonnative +DEPENDS += "libICE" +DEPENDS += "pkgconfig(mtdev)" +DEPENDS += "mesa" +DEPENDS += "pkgconfig(libxslt)" +DEPENDS += "readline-devel" +DEPENDS += "zlib-devel" +DEPENDS += "freetype2" +DEPENDS += "libxkbcommon" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "libjpeg-turbo" +DEPENDS += "pkgconfig(udev)" +DEPENDS += "openssl" +DEPENDS += "pkgconfig(icu-uc)" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-5.2.2/qtbase + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + touch .git + + MAKEFLAGS=-j16 \ + ./configure --disable-static \ + -confirm-license \ + -developer-build \ + -no-warnings-are-errors \ + -platform devices/linux-g++-tizen \ + -device-option TIZEN_PROFILE=pc \ + -device-option QT_QPA_DEFAULT_PLATFORM=wayland \ + -opengl es2 \ + -prefix "/usr" \ + -bindir "/usr/lib/qt5/bin" \ + -libdir "/usr/lib" \ + -docdir "/usr/share/doc/packages/qt5/" \ + -headerdir "/usr/include/qt5" \ + -datadir "/usr/share/qt5" \ + -plugindir "/usr/lib/qt5/plugins" \ + -importdir "/usr/lib/qt5/imports" \ + -translationdir "/usr/share/qt5/translations" \ + -sysconfdir "/etc/xdg" \ + -examplesdir "/usr/lib/qt5/examples" \ + -archdatadir "/usr/share/qt5" \ + -testsdir "/usr/lib/qt5/tests" \ + -qmldir "/usr/lib/qt5/qml" \ + -libexecdir "/usr/lib/qt5/libexec" \ + -opensource \ + -no-sql-ibase \ + -no-sql-mysql \ + -no-sql-odbc \ + -no-sql-psql \ + -plugin-sql-sqlite \ + -no-sql-sqlite2 \ + -no-sql-tds \ + -system-sqlite \ + -audio-backend \ + -system-zlib \ + -system-libpng \ + -system-libjpeg \ + -no-rpath \ + -optimized-qmake \ + -dbus-linked \ + -no-strip \ + -no-separate-debug-info \ + -verbose \ + -no-gtkstyle \ + -no-openvg \ + -nomake tests \ + -nomake examples \ + -no-xinput2 \ + -no-xcb + + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + INSTALL_ROOT=${D} oe_runmake install + + find ${D}/usr/share/doc/packages/qt5/ -type f -exec chmod ugo-x {} \; + + # Make sure these are around + mkdir -p ${D}/usr/include/qt5/ + mkdir -p ${D}/usr/share/qt5/ + mkdir -p ${D}/usr/lib/qt5/plugins/ + mkdir -p ${D}/usr/lib/qt5/imports/ + mkdir -p ${D}/usr/lib/qt5/translations/ + mkdir -p ${D}/usr/lib/qt5/examples/ + # + # Install qmake rpm macros + install -D -p -m 0644 ${S}/packaging//macros.qt5-default \ + ${D}/etc/rpm/macros.qt5-default + + # Add a configuration link for qtchooser - the 5.conf is installed by qtchooser + mkdir -p ${D}/etc/xdg/qtchooser + ln -s /etc/xdg/qtchooser/5.conf ${D}/etc/xdg/qtchooser/default.conf + + # + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/share | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-plugin-bearer-connman" +PACKAGES += "qt5-qtsql" +PACKAGES += "qt5-qtprintsupport-devel" +PACKAGES += "qt5-plugin-imageformat-jpeg" +PACKAGES += "qt5-qtgui-devel" +PACKAGES += "qt5-plugin-imageformat-gif" +PACKAGES += "qt5-plugin-bearer-generic" +PACKAGES += "qt5-plugin-platform-minimalegl" +PACKAGES += "qt5-qtprintsupport" +PACKAGES += "qt5-tools" +PACKAGES += "qt5-qtsql-devel" +PACKAGES += "qt5-plugin-platform-offscreen" +PACKAGES += "qt5-qtnetwork-devel" +PACKAGES += "qt5-plugin-platform-eglfs" +PACKAGES += "qt5-qtbootstrap-devel" +PACKAGES += "qt5-qtconcurrent-devel" +PACKAGES += "qt5-qtxml-devel" +PACKAGES += "qt5-qtcore" +PACKAGES += "qt5-plugin-platforminputcontext-compose" +PACKAGES += "qt5-qtcore-devel" +PACKAGES += "qt5-plugin-sqldriver-sqlite" +PACKAGES += "qt5-qmake" +PACKAGES += "qt5-plugin-platform-linuxfb" +PACKAGES += "qt5-plugin-generic-evdev" +PACKAGES += "qt5-qttest" +PACKAGES += "qt5-qtconcurrent" +PACKAGES += "qt5-qtwidgets-devel" +PACKAGES += "qt5-qtdbus-devel" +PACKAGES += "qt5-plugin-imageformat-ico" +PACKAGES += "qt5-qtopengl-devel" +PACKAGES += "qt5-plugin-bearer-nm" +PACKAGES += "qt5-plugin-platform-minimal" +PACKAGES += "qt5-qttest-devel" +PACKAGES += "qt5-qtplatformsupport-devel" +PACKAGES += "qt5-default" +PACKAGES += "qt5-plugin-accessible-widgets" +PACKAGES += "qt5-qtopengl" +PACKAGES += "qt5-qtxml" +PACKAGES += "qt5-qtnetwork" +PACKAGES += "qt5-qtgui" +PACKAGES += "qt5-qtwidgets" +PACKAGES += "qt5-qtdbus" +PACKAGES += "qt5-plugin-platforminputcontext-ibus" +PACKAGES += "qt5-plugin-printsupport-cups" + +qt5-plugin-bearer-connman_files = "" +qt5-plugin-bearer-connman_files += "/usr/lib/qt5/plugins/bearer/libqconnmanbearer.so" + +qt5-qtsql_files = "" +qt5-qtsql_files += "/usr/lib/libQt5Sql.so.*" + +qt5-qtprintsupport-devel_files = "" +qt5-qtprintsupport-devel_files += "/usr/include/qt5/QtPrintSupport" +qt5-qtprintsupport-devel_files += "/usr/lib/libQt5PrintSupport.prl" +qt5-qtprintsupport-devel_files += "/usr/lib/libQt5PrintSupport.la" +qt5-qtprintsupport-devel_files += "/usr/lib/libQt5PrintSupport.so" +qt5-qtprintsupport-devel_files += "/usr/lib/pkgconfig/Qt5PrintSupport.pc" +qt5-qtprintsupport-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_printsupport.pri" +qt5-qtprintsupport-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_printsupport_private.pri" + +qt5-plugin-imageformat-jpeg_files = "" +qt5-plugin-imageformat-jpeg_files += "/usr/lib/qt5/plugins/imageformats/libqjpeg.so" + +qt5-qtgui-devel_files = "" +qt5-qtgui-devel_files += "/usr/include/qt5/QtGui" +qt5-qtgui-devel_files += "/usr/lib/libQt5Gui.prl" +qt5-qtgui-devel_files += "/usr/lib/libQt5Gui.la" +qt5-qtgui-devel_files += "/usr/lib/libQt5Gui.so" +qt5-qtgui-devel_files += "/usr/lib/pkgconfig/Qt5Gui.pc" +qt5-qtgui-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_gui.pri" +qt5-qtgui-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_gui_private.pri" + +qt5-plugin-imageformat-gif_files = "" +qt5-plugin-imageformat-gif_files += "/usr/lib/qt5/plugins/imageformats/libqgif.so" + +qt5-plugin-bearer-generic_files = "" +qt5-plugin-bearer-generic_files += "/usr/lib/qt5/plugins/bearer/libqgenericbearer.so" + +qt5-plugin-platform-minimalegl_files = "" +qt5-plugin-platform-minimalegl_files += "/usr/lib/qt5/plugins/platforms/libqminimalegl.so" + +qt5-qtprintsupport_files = "" +qt5-qtprintsupport_files += "/usr/lib/libQt5PrintSupport.so.*" + +qt5-tools_files = "" +qt5-tools_files += "/usr/lib/qt5/bin/moc" +qt5-tools_files += "/usr/lib/qt5/bin/rcc" +qt5-tools_files += "/usr/lib/qt5/bin/syncqt.pl" +qt5-tools_files += "/usr/lib/qt5/bin/uic" +qt5-tools_files += "/usr/lib/qt5/bin/qdoc" +qt5-tools_files += "/usr/share/doc/packages/qt5/*" + +qt5-qtsql-devel_files = "" +qt5-qtsql-devel_files += "/usr/include/qt5/QtSql" +qt5-qtsql-devel_files += "/usr/lib/libQt5Sql.prl" +qt5-qtsql-devel_files += "/usr/lib/libQt5Sql.la" +qt5-qtsql-devel_files += "/usr/lib/libQt5Sql.so" +qt5-qtsql-devel_files += "/usr/lib/pkgconfig/Qt5Sql.pc" +qt5-qtsql-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_sql.pri" +qt5-qtsql-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_sql_private.pri" + +qt5-plugin-platform-offscreen_files = "" +qt5-plugin-platform-offscreen_files += "/usr/lib/qt5/plugins/platforms/libqoffscreen.so" + +qt5-qtnetwork-devel_files = "" +qt5-qtnetwork-devel_files += "/usr/include/qt5/QtNetwork" +qt5-qtnetwork-devel_files += "/usr/lib/libQt5Network.prl" +qt5-qtnetwork-devel_files += "/usr/lib/libQt5Network.la" +qt5-qtnetwork-devel_files += "/usr/lib/libQt5Network.so" +qt5-qtnetwork-devel_files += "/usr/lib/pkgconfig/Qt5Network.pc" +qt5-qtnetwork-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_network.pri" +qt5-qtnetwork-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_network_private.pri" + +qt5-plugin-platform-eglfs_files = "" +qt5-plugin-platform-eglfs_files += "/usr/lib/qt5/plugins/platforms/libqeglfs.so" + +qt5-qtbootstrap-devel_files = "" +qt5-qtbootstrap-devel_files += "/usr/lib/libQt5Bootstrap.prl" +qt5-qtbootstrap-devel_files += "/usr/lib/libQt5Bootstrap.la" +qt5-qtbootstrap-devel_files += "/usr/lib/libQt5Bootstrap.a" +qt5-qtbootstrap-devel_files += "/usr/lib/pkgconfig/Qt5Bootstrap.pc" +qt5-qtbootstrap-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri" + +qt5-qtconcurrent-devel_files = "" +qt5-qtconcurrent-devel_files += "/usr/include/qt5/QtConcurrent" +qt5-qtconcurrent-devel_files += "/usr/lib/libQt5Concurrent.prl" +qt5-qtconcurrent-devel_files += "/usr/lib/libQt5Concurrent.la" +qt5-qtconcurrent-devel_files += "/usr/lib/libQt5Concurrent.so" +qt5-qtconcurrent-devel_files += "/usr/lib/pkgconfig/Qt5Concurrent.pc" +qt5-qtconcurrent-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_concurrent.pri" +qt5-qtconcurrent-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_concurrent_private.pri" + +qt5-qtxml-devel_files = "" +qt5-qtxml-devel_files += "/usr/include/qt5/QtXml" +qt5-qtxml-devel_files += "/usr/lib/libQt5Xml.prl" +qt5-qtxml-devel_files += "/usr/lib/libQt5Xml.la" +qt5-qtxml-devel_files += "/usr/lib/libQt5Xml.so" +qt5-qtxml-devel_files += "/usr/lib/pkgconfig/Qt5Xml.pc" +qt5-qtxml-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_xml.pri" +qt5-qtxml-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_xml_private.pri" + +qt5-qtcore_files = "" +qt5-qtcore_files += "/usr/include/qt5/" +qt5-qtcore_files += "/usr/share/qt5/" +qt5-qtcore_files += "/usr/lib/qt5/plugins/" +qt5-qtcore_files += "/usr/lib/qt5/imports/" +qt5-qtcore_files += "/usr/lib/qt5/translations/" +qt5-qtcore_files += "/usr/lib/qt5/examples/" +qt5-qtcore_files += "/usr/lib/libQt5Core.so.*" + +qt5-plugin-platforminputcontext-compose_files = "" +qt5-plugin-platforminputcontext-compose_files += "/usr/lib/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" + +qt5-qtcore-devel_files = "" +qt5-qtcore-devel_files += "/usr/include/qt5/QtCore" +qt5-qtcore-devel_files += "/usr/lib/libQt5Core.prl" +qt5-qtcore-devel_files += "/usr/lib/libQt5Core.la" +qt5-qtcore-devel_files += "/usr/lib/libQt5Core.so" +qt5-qtcore-devel_files += "/usr/lib/pkgconfig/Qt5Core.pc" +qt5-qtcore-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_core.pri" +qt5-qtcore-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_core_private.pri" +qt5-qtcore-devel_files += "/usr/lib/cmake" + +qt5-plugin-sqldriver-sqlite_files = "" +qt5-plugin-sqldriver-sqlite_files += "/usr/lib/qt5/plugins/sqldrivers/libqsqlite.so" + +qt5-qmake_files = "" +qt5-qmake_files += "/usr/lib/qt5/bin/qmake" +qt5-qmake_files += "/usr/share/qt5/mkspecs/aix-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/blackberry*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/common" +qt5-qmake_files += "/usr/share/qt5/mkspecs/cygwin-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/darwin-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/features" +qt5-qmake_files += "/usr/share/qt5/mkspecs/freebsd-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/hpux-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/hpuxi-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/hurd-g++" +qt5-qmake_files += "/usr/share/qt5/mkspecs/irix-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/linux-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/lynxos-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/macx-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/netbsd-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/openbsd-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/qconfig.pri" +qt5-qmake_files += "/usr/share/qt5/mkspecs/qfeatures.pri" +qt5-qmake_files += "/usr/share/qt5/mkspecs/qmodule.pri" +qt5-qmake_files += "/usr/share/qt5/mkspecs/qnx*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/sco-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/solaris-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/tru64-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/unixware-*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/unsupported" +qt5-qmake_files += "/usr/share/qt5/mkspecs/win32-g++" +qt5-qmake_files += "/usr/share/qt5/mkspecs/win32-icc" +qt5-qmake_files += "/usr/share/qt5/mkspecs/win32-msvc20*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/wince*" +qt5-qmake_files += "/usr/share/qt5/mkspecs/devices" +qt5-qmake_files += "/usr/share/qt5/mkspecs/qdevice.pri" +qt5-qmake_files += "/usr/share/qt5/mkspecs/winphone-arm-msvc2012" +qt5-qmake_files += "/usr/share/qt5/mkspecs/winphone-x86-msvc2012" +qt5-qmake_files += "/usr/share/qt5/mkspecs/winrt-arm-msvc2012" +qt5-qmake_files += "/usr/share/qt5/mkspecs/winrt-x64-msvc2012" +qt5-qmake_files += "/usr/share/qt5/mkspecs/winrt-x86-msvc2012" +qt5-qmake_files += "/etc/rpm/macros.qt5-default" + +qt5-plugin-platform-linuxfb_files = "" +qt5-plugin-platform-linuxfb_files += "/usr/lib/qt5/plugins/platforms/libqlinuxfb.so" + +qt5-plugin-generic-evdev_files = "" +qt5-plugin-generic-evdev_files += "/usr/lib/qt5/plugins/generic/libqevdev*plugin.so" + +qt5-qttest_files = "" +qt5-qttest_files += "/usr/lib/libQt5Test.so.*" + +qt5-qtconcurrent_files = "" +qt5-qtconcurrent_files += "/usr/lib/libQt5Concurrent.so.*" + +qt5-qtwidgets-devel_files = "" +qt5-qtwidgets-devel_files += "/usr/include/qt5/QtWidgets" +qt5-qtwidgets-devel_files += "/usr/lib/libQt5Widgets.prl" +qt5-qtwidgets-devel_files += "/usr/lib/libQt5Widgets.la" +qt5-qtwidgets-devel_files += "/usr/lib/libQt5Widgets.so" +qt5-qtwidgets-devel_files += "/usr/lib/pkgconfig/Qt5Widgets.pc" +qt5-qtwidgets-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_widgets.pri" +qt5-qtwidgets-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_widgets_private.pri" + +qt5-qtdbus-devel_files = "" +qt5-qtdbus-devel_files += "/usr/lib/qt5/bin/qdbuscpp2xml" +qt5-qtdbus-devel_files += "/usr/lib/qt5/bin/qdbusxml2cpp" +qt5-qtdbus-devel_files += "/usr/include/qt5/QtDBus" +qt5-qtdbus-devel_files += "/usr/lib/libQt5DBus.so" +qt5-qtdbus-devel_files += "/usr/lib/libQt5DBus.prl" +qt5-qtdbus-devel_files += "/usr/lib/libQt5DBus.la" +qt5-qtdbus-devel_files += "/usr/lib/pkgconfig/Qt5DBus.pc" +qt5-qtdbus-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_dbus.pri" +qt5-qtdbus-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_dbus_private.pri" + +qt5-plugin-imageformat-ico_files = "" +qt5-plugin-imageformat-ico_files += "/usr/lib/qt5/plugins/imageformats/libqico.so" + +qt5-qtopengl-devel_files = "" +qt5-qtopengl-devel_files += "/usr/include/qt5/QtOpenGL" +qt5-qtopengl-devel_files += "/usr/include/qt5/QtOpenGLExtensions" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGL.prl" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGL.la" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGLExtensions.prl" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGLExtensions.la" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGL.so" +qt5-qtopengl-devel_files += "/usr/lib/libQt5OpenGLExtensions.a" +qt5-qtopengl-devel_files += "/usr/lib/pkgconfig/Qt5OpenGL.pc" +qt5-qtopengl-devel_files += "/usr/lib/pkgconfig/Qt5OpenGLExtensions.pc" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_opengl.pri" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_opengl_private.pri" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/android-g++/qmake.conf" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/android-g++/qplatformdefs.h" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions.pri" +qt5-qtopengl-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri" + +qt5-plugin-bearer-nm_files = "" +qt5-plugin-bearer-nm_files += "/usr/lib/qt5/plugins/bearer/libqnmbearer.so" + +qt5-plugin-platform-minimal_files = "" +qt5-plugin-platform-minimal_files += "/usr/lib/qt5/plugins/platforms/libqminimal.so" + +qt5-qttest-devel_files = "" +qt5-qttest-devel_files += "/usr/include/qt5/QtTest" +qt5-qttest-devel_files += "/usr/lib/libQt5Test.prl" +qt5-qttest-devel_files += "/usr/lib/libQt5Test.la" +qt5-qttest-devel_files += "/usr/lib/libQt5Test.so" +qt5-qttest-devel_files += "/usr/lib/pkgconfig/Qt5Test.pc" +qt5-qttest-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_testlib.pri" +qt5-qttest-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_testlib_private.pri" + +qt5-qtplatformsupport-devel_files = "" +qt5-qtplatformsupport-devel_files += "/usr/include/qt5/QtPlatformSupport" +qt5-qtplatformsupport-devel_files += "/usr/lib/libQt5PlatformSupport.prl" +qt5-qtplatformsupport-devel_files += "/usr/lib/libQt5PlatformSupport.la" +qt5-qtplatformsupport-devel_files += "/usr/lib/libQt5PlatformSupport.a" +qt5-qtplatformsupport-devel_files += "/usr/lib/pkgconfig/Qt5PlatformSupport.pc" +qt5-qtplatformsupport-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri" + +qt5-default_files = "" +qt5-default_files += "/etc/xdg/qtchooser/default.conf" + +qt5-plugin-accessible-widgets_files = "" +qt5-plugin-accessible-widgets_files += "/usr/lib/qt5/plugins/accessible/libqtaccessiblewidgets.so" + +qt5-qtopengl_files = "" +qt5-qtopengl_files += "/usr/lib/libQt5OpenGL.so.*" + +qt5-qtxml_files = "" +qt5-qtxml_files += "/usr/lib/libQt5Xml.so.*" + +qt5-qtnetwork_files = "" +qt5-qtnetwork_files += "/usr/lib/libQt5Network.so.*" + +qt5-qtgui_files = "" +qt5-qtgui_files += "/usr/lib/libQt5Gui.so.*" + +qt5-qtwidgets_files = "" +qt5-qtwidgets_files += "/usr/lib/libQt5Widgets.so.*" + +qt5-qtdbus_files = "" +qt5-qtdbus_files += "/usr/lib/libQt5DBus.so.*" + +qt5-plugin-platforminputcontext-ibus_files = "" +qt5-plugin-platforminputcontext-ibus_files += "/usr/lib/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" + +qt5-plugin-printsupport-cups_files = "" +qt5-plugin-printsupport-cups_files += "/usr/lib/qt5/plugins/printsupport/libcupsprintersupport.so" + +FILES_${PN}-plugin-bearer-connman = "${qt5-plugin-bearer-connman_files}" +FILES_${PN}-qtsql = "${qt5-qtsql_files}" +FILES_${PN}-qtprintsupport-devel = "${qt5-qtprintsupport-devel_files}" +FILES_${PN}-plugin-imageformat-jpeg = "${qt5-plugin-imageformat-jpeg_files}" +FILES_${PN}-qtgui-devel = "${qt5-qtgui-devel_files}" +FILES_${PN}-plugin-imageformat-gif = "${qt5-plugin-imageformat-gif_files}" +FILES_${PN}-plugin-bearer-generic = "${qt5-plugin-bearer-generic_files}" +FILES_${PN}-plugin-platform-minimalegl = "${qt5-plugin-platform-minimalegl_files}" +FILES_${PN}-qtprintsupport = "${qt5-qtprintsupport_files}" +FILES_${PN}-tools = "${qt5-tools_files}" +FILES_${PN}-qtsql-devel = "${qt5-qtsql-devel_files}" +FILES_${PN}-plugin-platform-offscreen = "${qt5-plugin-platform-offscreen_files}" +FILES_${PN}-qtnetwork-devel = "${qt5-qtnetwork-devel_files}" +FILES_${PN}-plugin-platform-eglfs = "${qt5-plugin-platform-eglfs_files}" +FILES_${PN}-qtbootstrap-devel = "${qt5-qtbootstrap-devel_files}" +FILES_${PN}-qtconcurrent-devel = "${qt5-qtconcurrent-devel_files}" +FILES_${PN}-qtxml-devel = "${qt5-qtxml-devel_files}" +FILES_${PN}-qtcore = "${qt5-qtcore_files}" +FILES_${PN}-plugin-platforminputcontext-compose = "${qt5-plugin-platforminputcontext-compose_files}" +FILES_${PN}-qtcore-devel = "${qt5-qtcore-devel_files}" +FILES_${PN}-plugin-sqldriver-sqlite = "${qt5-plugin-sqldriver-sqlite_files}" +FILES_${PN}-qmake = "${qt5-qmake_files}" +FILES_${PN}-plugin-platform-linuxfb = "${qt5-plugin-platform-linuxfb_files}" +FILES_${PN}-plugin-generic-evdev = "${qt5-plugin-generic-evdev_files}" +FILES_${PN}-qttest = "${qt5-qttest_files}" +FILES_${PN}-qtconcurrent = "${qt5-qtconcurrent_files}" +FILES_${PN}-qtwidgets-devel = "${qt5-qtwidgets-devel_files}" +FILES_${PN}-qtdbus-devel = "${qt5-qtdbus-devel_files}" +FILES_${PN}-plugin-imageformat-ico = "${qt5-plugin-imageformat-ico_files}" +FILES_${PN}-qtopengl-devel = "${qt5-qtopengl-devel_files}" +FILES_${PN}-plugin-bearer-nm = "${qt5-plugin-bearer-nm_files}" +FILES_${PN}-plugin-platform-minimal = "${qt5-plugin-platform-minimal_files}" +FILES_${PN}-qttest-devel = "${qt5-qttest-devel_files}" +FILES_${PN}-qtplatformsupport-devel = "${qt5-qtplatformsupport-devel_files}" +FILES_${PN}-default = "${qt5-default_files}" +FILES_${PN}-plugin-accessible-widgets = "${qt5-plugin-accessible-widgets_files}" +FILES_${PN}-qtopengl = "${qt5-qtopengl_files}" +FILES_${PN}-qtxml = "${qt5-qtxml_files}" +FILES_${PN}-qtnetwork = "${qt5-qtnetwork_files}" +FILES_${PN}-qtgui = "${qt5-qtgui_files}" +FILES_${PN}-qtwidgets = "${qt5-qtwidgets_files}" +FILES_${PN}-qtdbus = "${qt5-qtdbus_files}" +FILES_${PN}-plugin-platforminputcontext-ibus = "${qt5-plugin-platforminputcontext-ibus_files}" +FILES_${PN}-plugin-printsupport-cups = "${qt5-plugin-printsupport-cups_files}" + +PKG_qt5-plugin-bearer-connman= "qt5-plugin-bearer-connman" +PKG_qt5-qtsql= "qt5-qtsql" +PKG_qt5-qtprintsupport-devel= "qt5-qtprintsupport-devel" +PKG_qt5-plugin-imageformat-jpeg= "qt5-plugin-imageformat-jpeg" +PKG_qt5-qtgui-devel= "qt5-qtgui-devel" +PKG_qt5-plugin-imageformat-gif= "qt5-plugin-imageformat-gif" +PKG_qt5-plugin-bearer-generic= "qt5-plugin-bearer-generic" +PKG_qt5-plugin-platform-minimalegl= "qt5-plugin-platform-minimalegl" +PKG_qt5-qtprintsupport= "qt5-qtprintsupport" +PKG_qt5-tools= "qt5-tools" +PKG_qt5-qtsql-devel= "qt5-qtsql-devel" +PKG_qt5-plugin-platform-offscreen= "qt5-plugin-platform-offscreen" +PKG_qt5-qtnetwork-devel= "qt5-qtnetwork-devel" +PKG_qt5-plugin-platform-eglfs= "qt5-plugin-platform-eglfs" +PKG_qt5-qtbootstrap-devel= "qt5-qtbootstrap-devel" +PKG_qt5-qtconcurrent-devel= "qt5-qtconcurrent-devel" +PKG_qt5-qtxml-devel= "qt5-qtxml-devel" +PKG_qt5-qtcore= "qt5-qtcore" +PKG_qt5-plugin-platforminputcontext-compose= "qt5-plugin-platforminputcontext-compose" +PKG_qt5-qtcore-devel= "qt5-qtcore-devel" +PKG_qt5-plugin-sqldriver-sqlite= "qt5-plugin-sqldriver-sqlite" +PKG_qt5-qmake= "qt5-qmake" +PKG_qt5-plugin-platform-linuxfb= "qt5-plugin-platform-linuxfb" +PKG_qt5-plugin-generic-evdev= "qt5-plugin-generic-evdev" +PKG_qt5-qttest= "qt5-qttest" +PKG_qt5-qtconcurrent= "qt5-qtconcurrent" +PKG_qt5-qtwidgets-devel= "qt5-qtwidgets-devel" +PKG_qt5-qtdbus-devel= "qt5-qtdbus-devel" +PKG_qt5-plugin-imageformat-ico= "qt5-plugin-imageformat-ico" +PKG_qt5-qtopengl-devel= "qt5-qtopengl-devel" +PKG_qt5-plugin-bearer-nm= "qt5-plugin-bearer-nm" +PKG_qt5-plugin-platform-minimal= "qt5-plugin-platform-minimal" +PKG_qt5-qttest-devel= "qt5-qttest-devel" +PKG_qt5-qtplatformsupport-devel= "qt5-qtplatformsupport-devel" +PKG_qt5-default= "qt5-default" +PKG_qt5-plugin-accessible-widgets= "qt5-plugin-accessible-widgets" +PKG_qt5-qtopengl= "qt5-qtopengl" +PKG_qt5-qtxml= "qt5-qtxml" +PKG_qt5-qtnetwork= "qt5-qtnetwork" +PKG_qt5-qtgui= "qt5-qtgui" +PKG_qt5-qtwidgets= "qt5-qtwidgets" +PKG_qt5-qtdbus= "qt5-qtdbus" +PKG_qt5-plugin-platforminputcontext-ibus= "qt5-plugin-platforminputcontext-ibus" +PKG_qt5-plugin-printsupport-cups= "qt5-plugin-printsupport-cups" + +require qtbase-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtbase/qtbase_git.bb b/meta-tizen/recipes-tizen/qtbase/qtbase_git.bb new file mode 100644 index 0000000..434728c --- /dev/null +++ b/meta-tizen/recipes-tizen/qtbase/qtbase_git.bb @@ -0,0 +1,8 @@ +require qtbase.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtbase;protocol=ssh;tag=bb52096ba07589ea701fe65ed29022c21f860a30;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtchooser/qtchooser-extraconf.inc b/meta-tizen/recipes-tizen/qtchooser/qtchooser-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtchooser/qtchooser-native_git.bb b/meta-tizen/recipes-tizen/qtchooser/qtchooser-native_git.bb new file mode 100644 index 0000000..7315e8d --- /dev/null +++ b/meta-tizen/recipes-tizen/qtchooser/qtchooser-native_git.bb @@ -0,0 +1,12 @@ +require qtchooser.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtchooser;protocol=ssh;tag=e51a87981c2ff0297a5362d152bdc068723c221d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtchooser/qtchooser.inc b/meta-tizen/recipes-tizen/qtchooser/qtchooser.inc new file mode 100644 index 0000000..b469f2b --- /dev/null +++ b/meta-tizen/recipes-tizen/qtchooser/qtchooser.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Qt Chooser" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qtchooser +PROVIDES += "qtchooser" +RPROVIDES_qtchooser += "qtchooser" + +RDEPENDS = "" +#RDEPENDS of qtchooser (${PN}) +RDEPENDS_${PN} += "qt-default" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qtchooser-39.tar.bz2 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/xdg/qtchooser + mkdir -p ${D}/etc/rpm/ + cp ${S}/packaging/macros.qmake ${D}/etc/rpm/macros.qmake + + mkdir -p ${D}/etc/xdg/qtchooser + + # Add configuration file for qt5 + echo "/usr/lib/qt5/bin" > ${D}/etc/xdg/qtchooser/5.conf + echo "/usr/lib" >> ${D}/etc/xdg/qtchooser/5.conf + + + +} + +PACKAGES = "" +PACKAGES += "qtchooser" + +qtchooser_files = "" +qtchooser_files += "LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL" +qtchooser_files += "/etc/xdg/qtchooser" +qtchooser_files += "/etc/rpm/macros.qmake" +qtchooser_files += "/etc/xdg/qtchooser/5.conf" +qtchooser_files += "/usr/bin/qtchooser" +qtchooser_files += "/usr/bin/assistant" +qtchooser_files += "/usr/bin/designer" +qtchooser_files += "/usr/bin/lconvert" +qtchooser_files += "/usr/bin/linguist" +qtchooser_files += "/usr/bin/lrelease" +qtchooser_files += "/usr/bin/lupdate" +qtchooser_files += "/usr/bin/moc" +qtchooser_files += "/usr/bin/pixeltool" +qtchooser_files += "/usr/bin/qcollectiongenerator" +qtchooser_files += "/usr/bin/qdbus" +qtchooser_files += "/usr/bin/qdbuscpp2xml" +qtchooser_files += "/usr/bin/qdbusviewer" +qtchooser_files += "/usr/bin/qdbusxml2cpp" +qtchooser_files += "/usr/bin/qdoc" +qtchooser_files += "/usr/bin/qdoc3" +qtchooser_files += "/usr/bin/qglinfo" +qtchooser_files += "/usr/bin/qhelpconverter" +qtchooser_files += "/usr/bin/qhelpgenerator" +qtchooser_files += "/usr/bin/qmake" +qtchooser_files += "/usr/bin/qtpaths" +qtchooser_files += "/usr/bin/qml" +qtchooser_files += "/usr/bin/qml1plugindump" +qtchooser_files += "/usr/bin/qmlbundle" +qtchooser_files += "/usr/bin/qmlmin" +qtchooser_files += "/usr/bin/qmlplugindump" +qtchooser_files += "/usr/bin/qmlprofiler" +qtchooser_files += "/usr/bin/qmlscene" +qtchooser_files += "/usr/bin/qmltestrunner" +qtchooser_files += "/usr/bin/qmlviewer" +qtchooser_files += "/usr/bin/qmlimportscanner" +qtchooser_files += "/usr/bin/qtconfig" +qtchooser_files += "/usr/bin/rcc" +qtchooser_files += "/usr/bin/uic" +qtchooser_files += "/usr/bin/uic3" +qtchooser_files += "/usr/bin/xmlpatterns" +qtchooser_files += "/usr/bin/xmlpatternsvalidator" +qtchooser_files += "/usr/share/man/man1/qtchooser.1.gz" + +FILES_${PN} = "${qtchooser_files}" + +PKG_qtchooser= "qtchooser" + +require qtchooser-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtchooser/qtchooser_git.bb b/meta-tizen/recipes-tizen/qtchooser/qtchooser_git.bb new file mode 100644 index 0000000..b0e1297 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtchooser/qtchooser_git.bb @@ -0,0 +1,8 @@ +require qtchooser.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtchooser;protocol=ssh;tag=e51a87981c2ff0297a5362d152bdc068723c221d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-extraconf.inc b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-native_git.bb b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-native_git.bb new file mode 100644 index 0000000..5e88b75 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative-native_git.bb @@ -0,0 +1,12 @@ +require qtdeclarative.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtdeclarative;protocol=ssh;tag=7756204192459b0aece4e5104608f773b4b2d4da;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative.inc b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative.inc new file mode 100644 index 0000000..ca12c4a --- /dev/null +++ b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative.inc @@ -0,0 +1,488 @@ +DESCRIPTION = "Qt Declarative library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtdeclarative +PROVIDES += "qt5-qtdeclarative" +RPROVIDES_qt5-qtdeclarative += "qt5-qtdeclarative" + +#PROVIDES by qt5-qtdeclarative-import-folderlistmodel +PROVIDES += "qt5-qtdeclarative-import-folderlistmodel" +RPROVIDES_qt5-qtdeclarative-import-folderlistmodel += "qt5-qtdeclarative-import-folderlistmodel" + +#PROVIDES by qt5-qtdeclarative-devel +PROVIDES += "qt5-qtdeclarative-devel" +RPROVIDES_qt5-qtdeclarative-devel += "qt5-qtdeclarative-devel" +RPROVIDES_qt5-qtdeclarative-devel += "qt5-qtdeclarative-dev" + +#PROVIDES by qt5-qtdeclarative-import-qtquick2plugin +PROVIDES += "qt5-qtdeclarative-import-qtquick2plugin" +RPROVIDES_qt5-qtdeclarative-import-qtquick2plugin += "qt5-qtdeclarative-import-qtquick2plugin" + +#PROVIDES by qt5-qtdeclarative-qtquickparticles +PROVIDES += "qt5-qtdeclarative-qtquickparticles" +RPROVIDES_qt5-qtdeclarative-qtquickparticles += "qt5-qtdeclarative-qtquickparticles" + +#PROVIDES by qt5-qtdeclarative-import-xmllistmodel +PROVIDES += "qt5-qtdeclarative-import-xmllistmodel" +RPROVIDES_qt5-qtdeclarative-import-xmllistmodel += "qt5-qtdeclarative-import-xmllistmodel" + +#PROVIDES by qt5-qtdeclarative-import-settings +PROVIDES += "qt5-qtdeclarative-import-settings" +RPROVIDES_qt5-qtdeclarative-import-settings += "qt5-qtdeclarative-import-settings" + +#PROVIDES by qt5-qtdeclarative-plugin-accessible +PROVIDES += "qt5-qtdeclarative-plugin-accessible" +RPROVIDES_qt5-qtdeclarative-plugin-accessible += "qt5-qtdeclarative-plugin-accessible" + +#PROVIDES by qt5-qtdeclarative-import-dialogs +PROVIDES += "qt5-qtdeclarative-import-dialogs" +RPROVIDES_qt5-qtdeclarative-import-dialogs += "qt5-qtdeclarative-import-dialogs" + +#PROVIDES by qt5-qtdeclarative-qtquick-devel +PROVIDES += "qt5-qtdeclarative-qtquick-devel" +RPROVIDES_qt5-qtdeclarative-qtquick-devel += "qt5-qtdeclarative-qtquick-devel" +RPROVIDES_qt5-qtdeclarative-qtquick-devel += "qt5-qtdeclarative-qtquick-dev" + +#PROVIDES by qt5-qtdeclarative-devel-tools +PROVIDES += "qt5-qtdeclarative-devel-tools" +RPROVIDES_qt5-qtdeclarative-devel-tools += "qt5-qtdeclarative-devel-tools" +RPROVIDES_qt5-qtdeclarative-devel-tools += "qt5-qtdeclarative-dev" + +#PROVIDES by qt5-qtdeclarative-import-window2 +PROVIDES += "qt5-qtdeclarative-import-window2" +RPROVIDES_qt5-qtdeclarative-import-window2 += "qt5-qtdeclarative-import-window2" + +#PROVIDES by qt5-qtdeclarative-qtdeclarativetools-devel +PROVIDES += "qt5-qtdeclarative-qtdeclarativetools-devel" +RPROVIDES_qt5-qtdeclarative-qtdeclarativetools-devel += "qt5-qtdeclarative-qtdeclarativetools-devel" +RPROVIDES_qt5-qtdeclarative-qtdeclarativetools-devel += "qt5-qtdeclarative-qtdeclarativetools-dev" + +#PROVIDES by qt5-qtdeclarative-import-models2 +PROVIDES += "qt5-qtdeclarative-import-models2" +RPROVIDES_qt5-qtdeclarative-import-models2 += "qt5-qtdeclarative-import-models2" + +#PROVIDES by qt5-qtdeclarative-import-qttest +PROVIDES += "qt5-qtdeclarative-import-qttest" +RPROVIDES_qt5-qtdeclarative-import-qttest += "qt5-qtdeclarative-import-qttest" + +#PROVIDES by qt5-qtdeclarative-qmlscene +PROVIDES += "qt5-qtdeclarative-qmlscene" +RPROVIDES_qt5-qtdeclarative-qmlscene += "qt5-qtdeclarative-qmlscene" + +#PROVIDES by qt5-qtdeclarative-qtquicktest +PROVIDES += "qt5-qtdeclarative-qtquicktest" +RPROVIDES_qt5-qtdeclarative-qtquicktest += "qt5-qtdeclarative-qtquicktest" + +#PROVIDES by qt5-qtdeclarative-qtquicktest-devel +PROVIDES += "qt5-qtdeclarative-qtquicktest-devel" +RPROVIDES_qt5-qtdeclarative-qtquicktest-devel += "qt5-qtdeclarative-qtquicktest-devel" +RPROVIDES_qt5-qtdeclarative-qtquicktest-devel += "qt5-qtdeclarative-qtquicktest-dev" + +#PROVIDES by qt5-qtdeclarative-qtquick +PROVIDES += "qt5-qtdeclarative-qtquick" +RPROVIDES_qt5-qtdeclarative-qtquick += "qt5-qtdeclarative-qtquick" + +#PROVIDES by qt5-qtdeclarative-import-privatewidgets +PROVIDES += "qt5-qtdeclarative-import-privatewidgets" +RPROVIDES_qt5-qtdeclarative-import-privatewidgets += "qt5-qtdeclarative-import-privatewidgets" + +#PROVIDES by qt5-qtdeclarative-import-particles2 +PROVIDES += "qt5-qtdeclarative-import-particles2" +RPROVIDES_qt5-qtdeclarative-import-particles2 += "qt5-qtdeclarative-import-particles2" + +#PROVIDES by qt5-qtdeclarative-plugin-qmlinspector +PROVIDES += "qt5-qtdeclarative-plugin-qmlinspector" +RPROVIDES_qt5-qtdeclarative-plugin-qmlinspector += "qt5-qtdeclarative-plugin-qmlinspector" + +#PROVIDES by qt5-qtdeclarative-qml +PROVIDES += "qt5-qtdeclarative-qml" +RPROVIDES_qt5-qtdeclarative-qml += "qt5-qtdeclarative-qml" + +#PROVIDES by qt5-qtdeclarative-qtquickparticles-devel +PROVIDES += "qt5-qtdeclarative-qtquickparticles-devel" +RPROVIDES_qt5-qtdeclarative-qtquickparticles-devel += "qt5-qtdeclarative-qtquickparticles-devel" +RPROVIDES_qt5-qtdeclarative-qtquickparticles-devel += "qt5-qtdeclarative-qtquickparticles-dev" + +#PROVIDES by qt5-qtdeclarative-import-localstorageplugin +PROVIDES += "qt5-qtdeclarative-import-localstorageplugin" +RPROVIDES_qt5-qtdeclarative-import-localstorageplugin += "qt5-qtdeclarative-import-localstorageplugin" + +RDEPENDS = "" +#RDEPENDS of qt5-qtdeclarative-import-folderlistmodel (qt5-${PN}-import-folderlistmodel) +RDEPENDS_qt5-${PN}-import-folderlistmodel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-devel (qt5-${PN}-devel) +RDEPENDS_qt5-${PN}-devel += "qt5-qtsql-dev" +RDEPENDS_qt5-${PN}-devel += "qt5-qtnetwork-dev" +RDEPENDS_qt5-${PN}-devel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-qtquick2plugin (qt5-${PN}-import-qtquick2plugin) +RDEPENDS_qt5-${PN}-import-qtquick2plugin += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquickparticles (qt5-${PN}-qtquickparticles) +RDEPENDS_qt5-${PN}-qtquickparticles += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-xmllistmodel (qt5-${PN}-import-xmllistmodel) +RDEPENDS_qt5-${PN}-import-xmllistmodel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-settings (qt5-${PN}-import-settings) +RDEPENDS_qt5-${PN}-import-settings += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-plugin-accessible (qt5-${PN}-plugin-accessible) +RDEPENDS_qt5-${PN}-plugin-accessible += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-dialogs (qt5-${PN}-import-dialogs) +RDEPENDS_qt5-${PN}-import-dialogs += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquick-devel (qt5-${PN}-qtquick-devel) +RDEPENDS_qt5-${PN}-qtquick-devel += "qt5-qtdeclarative-qtquick" +RDEPENDS_qt5-${PN}-qtquick-devel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-devel-tools (qt5-${PN}-devel-tools) +RDEPENDS_qt5-${PN}-devel-tools += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-window2 (qt5-${PN}-import-window2) +RDEPENDS_qt5-${PN}-import-window2 += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtdeclarativetools-devel (qt5-${PN}-${PN}tools-devel) +RDEPENDS_qt5-${PN}-${PN}tools-devel += "qt5-qtdeclarative-dev" +RDEPENDS_qt5-${PN}-${PN}tools-devel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-models2 (qt5-${PN}-import-models2) +RDEPENDS_qt5-${PN}-import-models2 += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-qttest (qt5-${PN}-import-qttest) +RDEPENDS_qt5-${PN}-import-qttest += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qmlscene (qt5-${PN}-qmlscene) +RDEPENDS_qt5-${PN}-qmlscene += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquicktest (qt5-${PN}-qtquicktest) +RDEPENDS_qt5-${PN}-qtquicktest += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qtquicktest += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquicktest-devel (qt5-${PN}-qtquicktest-devel) +RDEPENDS_qt5-${PN}-qtquicktest-devel += "qt5-qtdeclarative-dev" +RDEPENDS_qt5-${PN}-qtquicktest-devel += "qt5-qtdeclarative-qtquicktest" +RDEPENDS_qt5-${PN}-qtquicktest-devel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquick (qt5-${PN}-qtquick) +RDEPENDS_qt5-${PN}-qtquick += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-privatewidgets (qt5-${PN}-import-privatewidgets) +RDEPENDS_qt5-${PN}-import-privatewidgets += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-particles2 (qt5-${PN}-import-particles2) +RDEPENDS_qt5-${PN}-import-particles2 += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-plugin-qmlinspector (qt5-${PN}-plugin-qmlinspector) +RDEPENDS_qt5-${PN}-plugin-qmlinspector += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qml (qt5-${PN}-qml) +RDEPENDS_qt5-${PN}-qml += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-qtquickparticles-devel (qt5-${PN}-qtquickparticles-devel) +RDEPENDS_qt5-${PN}-qtquickparticles-devel += "qt5-qtdeclarative-qtquickparticles" +RDEPENDS_qt5-${PN}-qtquickparticles-devel += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtdeclarative-import-localstorageplugin (qt5-${PN}-import-localstorageplugin) +RDEPENDS_qt5-${PN}-import-localstorageplugin += "qt5-qtdeclarative" + + +DEPENDS = "" +#DEPENDS of qt5-qtdeclarative +inherit pythonnative +DEPENDS += "gdb" +DEPENDS += "fdupes-native" +DEPENDS += "qt5-qtxmlpatterns-devel" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtdeclarative-5.2.2/qtdeclarative + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git + + qmake -qt=5 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + # Fix wrong path in pkgconfig files + find ${D}/usr/lib/pkgconfig -type f -name '*.pc' \ + -exec perl -pi -e "s, -L${WORKDIR}/?\S+,,g" {} \; + # Fix wrong path in prl files + find ${D}/usr/lib -type f -name '*.prl' \ + -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; + # Remove unneeded .la files + rm -f ${D}/usr/lib/*.la + + # We don't need qt5/Qt/ + rm -rf ${D}/usr/include/qt5/Qt + + # Manually copy qmldevtools static library + cp lib/libQt5QmlDevTools.a ${D}/usr/lib + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtdeclarative" +PACKAGES += "qt5-qtdeclarative-import-folderlistmodel" +PACKAGES += "qt5-qtdeclarative-qtquickparticles" +PACKAGES += "qt5-qtdeclarative-import-qtquick2plugin" +PACKAGES += "qt5-qtdeclarative-devel" +PACKAGES += "qt5-qtdeclarative-import-xmllistmodel" +PACKAGES += "qt5-qtdeclarative-import-settings" +PACKAGES += "qt5-qtdeclarative-plugin-accessible" +PACKAGES += "qt5-qtdeclarative-import-dialogs" +PACKAGES += "qt5-qtdeclarative-qtquick-devel" +PACKAGES += "qt5-qtdeclarative-devel-tools" +PACKAGES += "qt5-qtdeclarative-import-window2" +PACKAGES += "qt5-qtdeclarative-qtdeclarativetools-devel" +PACKAGES += "qt5-qtdeclarative-import-models2" +PACKAGES += "qt5-qtdeclarative-import-qttest" +PACKAGES += "qt5-qtdeclarative-qmlscene" +PACKAGES += "qt5-qtdeclarative-qtquicktest" +PACKAGES += "qt5-qtdeclarative-qtquicktest-devel" +PACKAGES += "qt5-qtdeclarative-qtquick" +PACKAGES += "qt5-qtdeclarative-import-privatewidgets" +PACKAGES += "qt5-qtdeclarative-import-particles2" +PACKAGES += "qt5-qtdeclarative-plugin-qmlinspector" +PACKAGES += "qt5-qtdeclarative-qml" +PACKAGES += "qt5-qtdeclarative-qtquickparticles-devel" +PACKAGES += "qt5-qtdeclarative-import-localstorageplugin" + +qt5-qtdeclarative_files = "" +qt5-qtdeclarative_files += "/usr/lib/libQt5Qml.so.5" +qt5-qtdeclarative_files += "/usr/lib/libQt5Qml.so.5.*" + +qt5-qtdeclarative-import-folderlistmodel_files = "" +qt5-qtdeclarative-import-folderlistmodel_files += "/usr/lib/qt5/qml/Qt/labs/folderlistmodel/*" + +qt5-qtdeclarative-qtquickparticles_files = "" +qt5-qtdeclarative-qtquickparticles_files += "/usr/lib/libQt5QuickParticles.so.5" +qt5-qtdeclarative-qtquickparticles_files += "/usr/lib/libQt5QuickParticles.so.5.*" + +qt5-qtdeclarative-import-qtquick2plugin_files = "" +qt5-qtdeclarative-import-qtquick2plugin_files += "/usr/lib/qt5/qml/QtQuick.2" + +qt5-qtdeclarative-devel_files = "" +qt5-qtdeclarative-devel_files += "/usr/lib/libQt5Qml.so" +qt5-qtdeclarative-devel_files += "/usr/lib/libQt5Qml.prl" +qt5-qtdeclarative-devel_files += "/usr/lib/pkgconfig/Qt5Qml.pc" +qt5-qtdeclarative-devel_files += "/usr/include/qt5/QtQml" +qt5-qtdeclarative-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_qml.pri" +qt5-qtdeclarative-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_qml_private.pri" +qt5-qtdeclarative-devel_files += "/usr/lib/cmake" + +qt5-qtdeclarative-import-xmllistmodel_files = "" +qt5-qtdeclarative-import-xmllistmodel_files += "/usr/lib/qt5/qml/QtQuick/XmlListModel" + +qt5-qtdeclarative-import-settings_files = "" +qt5-qtdeclarative-import-settings_files += "/usr/lib/qt5/qml/Qt/labs/settings" + +qt5-qtdeclarative-plugin-accessible_files = "" +qt5-qtdeclarative-plugin-accessible_files += "/usr/lib/qt5/plugins/accessible/libqtaccessiblequick.so" + +qt5-qtdeclarative-import-dialogs_files = "" +qt5-qtdeclarative-import-dialogs_files += "/usr/lib/qt5/qml/QtQuick/Dialogs" + +qt5-qtdeclarative-qtquick-devel_files = "" +qt5-qtdeclarative-qtquick-devel_files += "/usr/lib/libQt5Quick.so" +qt5-qtdeclarative-qtquick-devel_files += "/usr/lib/libQt5Quick.prl" +qt5-qtdeclarative-qtquick-devel_files += "/usr/lib/pkgconfig/Qt5Quick.pc" +qt5-qtdeclarative-qtquick-devel_files += "/usr/include/qt5/QtQuick" +qt5-qtdeclarative-qtquick-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_quick.pri" +qt5-qtdeclarative-qtquick-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_quick_private.pri" + +qt5-qtdeclarative-devel-tools_files = "" + +qt5-qtdeclarative-import-window2_files = "" +qt5-qtdeclarative-import-window2_files += "/usr/lib/qt5/qml/QtQuick/Window.2" + +qt5-qtdeclarative-qtdeclarativetools-devel_files = "" +qt5-qtdeclarative-qtdeclarativetools-devel_files += "/usr/lib/libQt5QmlDevTools.a" +qt5-qtdeclarative-qtdeclarativetools-devel_files += "/usr/lib/libQt5QmlDevTools.prl" +qt5-qtdeclarative-qtdeclarativetools-devel_files += "/usr/lib/pkgconfig/Qt5QmlDevTools.pc" +qt5-qtdeclarative-qtdeclarativetools-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri" + +qt5-qtdeclarative-import-models2_files = "" +qt5-qtdeclarative-import-models2_files += "/usr/lib/qt5/qml/QtQml/Models.2" + +qt5-qtdeclarative-import-qttest_files = "" +qt5-qtdeclarative-import-qttest_files += "/usr/lib/qt5/qml/QtTest" + +qt5-qtdeclarative-qmlscene_files = "" + +qt5-qtdeclarative-qtquicktest_files = "" +qt5-qtdeclarative-qtquicktest_files += "/usr/lib/libQt5QuickTest.so.5" +qt5-qtdeclarative-qtquicktest_files += "/usr/lib/libQt5QuickTest.so.5.*" + +qt5-qtdeclarative-qtquicktest-devel_files = "" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/include/qt5/QtQuickTest" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/lib/libQt5QuickTest.so" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/lib/libQt5QuickTest.prl" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/lib/pkgconfig/Qt5QuickTest.pc" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_qmltest.pri" +qt5-qtdeclarative-qtquicktest-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_qmltest_private.pri" + +qt5-qtdeclarative-qtquick_files = "" +qt5-qtdeclarative-qtquick_files += "/usr/lib/libQt5Quick.so.5" +qt5-qtdeclarative-qtquick_files += "/usr/lib/libQt5Quick.so.5.*" + +qt5-qtdeclarative-import-privatewidgets_files = "" +qt5-qtdeclarative-import-privatewidgets_files += "/usr/lib/qt5/qml/QtQuick/PrivateWidgets" + +qt5-qtdeclarative-import-particles2_files = "" +qt5-qtdeclarative-import-particles2_files += "/usr/lib/qt5/qml/QtQuick/Particles.2" + +qt5-qtdeclarative-plugin-qmlinspector_files = "" +qt5-qtdeclarative-plugin-qmlinspector_files += "/usr/lib/qt5/plugins/qmltooling/*" + +qt5-qtdeclarative-qml_files = "" + +qt5-qtdeclarative-qtquickparticles-devel_files = "" +qt5-qtdeclarative-qtquickparticles-devel_files += "/usr/include/qt5/QtQuickParticles" +qt5-qtdeclarative-qtquickparticles-devel_files += "/usr/lib/libQt5QuickParticles.so" +qt5-qtdeclarative-qtquickparticles-devel_files += "/usr/lib/libQt5QuickParticles.prl" +qt5-qtdeclarative-qtquickparticles-devel_files += "/usr/lib/pkgconfig/Qt5QuickParticles.pc" +qt5-qtdeclarative-qtquickparticles-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri" + +qt5-qtdeclarative-import-localstorageplugin_files = "" +qt5-qtdeclarative-import-localstorageplugin_files += "/usr/lib/qt5/qml/QtQuick/LocalStorage" + +FILES_${PN} = "${qt5-qtdeclarative_files}" +FILES_${PN}-import-folderlistmodel = "${qt5-qtdeclarative-import-folderlistmodel_files}" +FILES_${PN}-qtquickparticles = "${qt5-qtdeclarative-qtquickparticles_files}" +FILES_${PN}-import-qtquick2plugin = "${qt5-qtdeclarative-import-qtquick2plugin_files}" +FILES_${PN}-devel = "${qt5-qtdeclarative-devel_files}" +FILES_${PN}-import-xmllistmodel = "${qt5-qtdeclarative-import-xmllistmodel_files}" +FILES_${PN}-import-settings = "${qt5-qtdeclarative-import-settings_files}" +FILES_${PN}-plugin-accessible = "${qt5-qtdeclarative-plugin-accessible_files}" +FILES_${PN}-import-dialogs = "${qt5-qtdeclarative-import-dialogs_files}" +FILES_${PN}-qtquick-devel = "${qt5-qtdeclarative-qtquick-devel_files}" +FILES_${PN}-devel-tools = "${qt5-qtdeclarative-devel-tools_files}" +FILES_${PN}-import-window2 = "${qt5-qtdeclarative-import-window2_files}" +FILES_${PN}-qtdeclarativetools-devel = "${qt5-qtdeclarative-qtdeclarativetools-devel_files}" +FILES_${PN}-import-models2 = "${qt5-qtdeclarative-import-models2_files}" +FILES_${PN}-import-qttest = "${qt5-qtdeclarative-import-qttest_files}" +FILES_${PN}-qmlscene = "${qt5-qtdeclarative-qmlscene_files}" +FILES_${PN}-qtquicktest = "${qt5-qtdeclarative-qtquicktest_files}" +FILES_${PN}-qtquicktest-devel = "${qt5-qtdeclarative-qtquicktest-devel_files}" +FILES_${PN}-qtquick = "${qt5-qtdeclarative-qtquick_files}" +FILES_${PN}-import-privatewidgets = "${qt5-qtdeclarative-import-privatewidgets_files}" +FILES_${PN}-import-particles2 = "${qt5-qtdeclarative-import-particles2_files}" +FILES_${PN}-plugin-qmlinspector = "${qt5-qtdeclarative-plugin-qmlinspector_files}" +FILES_${PN}-qml = "${qt5-qtdeclarative-qml_files}" +FILES_${PN}-qtquickparticles-devel = "${qt5-qtdeclarative-qtquickparticles-devel_files}" +FILES_${PN}-import-localstorageplugin = "${qt5-qtdeclarative-import-localstorageplugin_files}" + +PKG_qt5-qtdeclarative= "qt5-qtdeclarative" +PKG_qt5-qtdeclarative-import-folderlistmodel= "qt5-qtdeclarative-import-folderlistmodel" +PKG_qt5-qtdeclarative-qtquickparticles= "qt5-qtdeclarative-qtquickparticles" +PKG_qt5-qtdeclarative-import-qtquick2plugin= "qt5-qtdeclarative-import-qtquick2plugin" +PKG_qt5-qtdeclarative-devel= "qt5-qtdeclarative-devel" +PKG_qt5-qtdeclarative-import-xmllistmodel= "qt5-qtdeclarative-import-xmllistmodel" +PKG_qt5-qtdeclarative-import-settings= "qt5-qtdeclarative-import-settings" +PKG_qt5-qtdeclarative-plugin-accessible= "qt5-qtdeclarative-plugin-accessible" +PKG_qt5-qtdeclarative-import-dialogs= "qt5-qtdeclarative-import-dialogs" +PKG_qt5-qtdeclarative-qtquick-devel= "qt5-qtdeclarative-qtquick-devel" +PKG_qt5-qtdeclarative-devel-tools= "qt5-qtdeclarative-devel-tools" +PKG_qt5-qtdeclarative-import-window2= "qt5-qtdeclarative-import-window2" +PKG_qt5-qtdeclarative-qtdeclarativetools-devel= "qt5-qtdeclarative-qtdeclarativetools-devel" +PKG_qt5-qtdeclarative-import-models2= "qt5-qtdeclarative-import-models2" +PKG_qt5-qtdeclarative-import-qttest= "qt5-qtdeclarative-import-qttest" +PKG_qt5-qtdeclarative-qmlscene= "qt5-qtdeclarative-qmlscene" +PKG_qt5-qtdeclarative-qtquicktest= "qt5-qtdeclarative-qtquicktest" +PKG_qt5-qtdeclarative-qtquicktest-devel= "qt5-qtdeclarative-qtquicktest-devel" +PKG_qt5-qtdeclarative-qtquick= "qt5-qtdeclarative-qtquick" +PKG_qt5-qtdeclarative-import-privatewidgets= "qt5-qtdeclarative-import-privatewidgets" +PKG_qt5-qtdeclarative-import-particles2= "qt5-qtdeclarative-import-particles2" +PKG_qt5-qtdeclarative-plugin-qmlinspector= "qt5-qtdeclarative-plugin-qmlinspector" +PKG_qt5-qtdeclarative-qml= "qt5-qtdeclarative-qml" +PKG_qt5-qtdeclarative-qtquickparticles-devel= "qt5-qtdeclarative-qtquickparticles-devel" +PKG_qt5-qtdeclarative-import-localstorageplugin= "qt5-qtdeclarative-import-localstorageplugin" + +require qtdeclarative-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative_git.bb b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative_git.bb new file mode 100644 index 0000000..4a3a326 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtdeclarative/qtdeclarative_git.bb @@ -0,0 +1,8 @@ +require qtdeclarative.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtdeclarative;protocol=ssh;tag=7756204192459b0aece4e5104608f773b4b2d4da;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-extraconf.inc b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-native_git.bb b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-native_git.bb new file mode 100644 index 0000000..0e6feec --- /dev/null +++ b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects-native_git.bb @@ -0,0 +1,12 @@ +require qtgraphicaleffects.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtgraphicaleffects;protocol=ssh;tag=82146cad070b04379c930e72573f983a75372621;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects.inc b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects.inc new file mode 100644 index 0000000..56fdfc9 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects.inc @@ -0,0 +1,79 @@ +DESCRIPTION = "Qt Graphical Effects" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtgraphicaleffects +PROVIDES += "qt5-qtgraphicaleffects" +RPROVIDES_qt5-qtgraphicaleffects += "qt5-qtgraphicaleffects" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of qt5-qtgraphicaleffects +DEPENDS += "fdupes-native" +DEPENDS += "qtdeclarative" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtgraphicaleffects-5.2.2/qtgraphicaleffects + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git # To make sure syncqt is used + + %qmake5 CONFIG+=package + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtgraphicaleffects" + +qt5-qtgraphicaleffects_files = "" +qt5-qtgraphicaleffects_files += "/usr/lib/qt5/qml/QtGraphicalEffects/*" + +FILES_${PN} = "${qt5-qtgraphicaleffects_files}" + +PKG_qt5-qtgraphicaleffects= "qt5-qtgraphicaleffects" + +require qtgraphicaleffects-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects_git.bb b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects_git.bb new file mode 100644 index 0000000..be64f83 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtgraphicaleffects/qtgraphicaleffects_git.bb @@ -0,0 +1,8 @@ +require qtgraphicaleffects.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtgraphicaleffects;protocol=ssh;tag=82146cad070b04379c930e72573f983a75372621;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtimageformats/qtimageformats-extraconf.inc b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtimageformats/qtimageformats-native_git.bb b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats-native_git.bb new file mode 100644 index 0000000..b177b2d --- /dev/null +++ b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats-native_git.bb @@ -0,0 +1,12 @@ +require qtimageformats.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtimageformats;protocol=ssh;tag=dd9e61a4e1e195a50aaf0b885f3f14eb27730131;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtimageformats/qtimageformats.inc b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats.inc new file mode 100644 index 0000000..47f4bf4 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Qt Imageformats" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtimageformats +PROVIDES += "qt5-qtimageformats" +RPROVIDES_qt5-qtimageformats += "qt5-qtimageformats" + +#PROVIDES by qt5-qtimageformats-plugin-wbmp +PROVIDES += "qt5-qtimageformats-plugin-wbmp" +RPROVIDES_qt5-qtimageformats-plugin-wbmp += "qt5-qtimageformats-plugin-wbmp" + +#PROVIDES by qt5-qtimageformats-plugin-mng +PROVIDES += "qt5-qtimageformats-plugin-mng" +RPROVIDES_qt5-qtimageformats-plugin-mng += "qt5-qtimageformats-plugin-mng" + +#PROVIDES by qt5-qtimageformats-devel +PROVIDES += "qt5-qtimageformats-devel" +RPROVIDES_qt5-qtimageformats-devel += "qt5-qtimageformats-devel" +RPROVIDES_qt5-qtimageformats-devel += "qt5-qtimageformats-dev" + +#PROVIDES by qt5-qtimageformats-plugin-tiff +PROVIDES += "qt5-qtimageformats-plugin-tiff" +RPROVIDES_qt5-qtimageformats-plugin-tiff += "qt5-qtimageformats-plugin-tiff" + +#PROVIDES by qt5-qtimageformats-plugin-tga +PROVIDES += "qt5-qtimageformats-plugin-tga" +RPROVIDES_qt5-qtimageformats-plugin-tga += "qt5-qtimageformats-plugin-tga" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of qt5-qtimageformats +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtimageformats-5.2.2/qtimageformats + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git # Make sure syncqt is run + + qmake -qt=5 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtimageformats-plugin-tiff" +PACKAGES += "qt5-qtimageformats-plugin-mng" +PACKAGES += "qt5-qtimageformats-plugin-wbmp" +PACKAGES += "qt5-qtimageformats-devel" +PACKAGES += "qt5-qtimageformats-plugin-tga" + +qt5-qtimageformats-plugin-tiff_files = "" +qt5-qtimageformats-plugin-tiff_files += "/usr/lib/qt5/plugins/imageformats/libqtiff.so" + +qt5-qtimageformats-plugin-mng_files = "" +qt5-qtimageformats-plugin-mng_files += "/usr/lib/qt5/plugins/imageformats/libqmng.so" + +qt5-qtimageformats-plugin-wbmp_files = "" +qt5-qtimageformats-plugin-wbmp_files += "/usr/lib/qt5/plugins/imageformats/libqwbmp.so" + +qt5-qtimageformats-devel_files = "" +qt5-qtimageformats-devel_files += "/usr/lib/cmake" + +qt5-qtimageformats-plugin-tga_files = "" +qt5-qtimageformats-plugin-tga_files += "/usr/lib/qt5/plugins/imageformats/libqtga.so" + +FILES_${PN}-plugin-tiff = "${qt5-qtimageformats-plugin-tiff_files}" +FILES_${PN}-plugin-mng = "${qt5-qtimageformats-plugin-mng_files}" +FILES_${PN}-plugin-wbmp = "${qt5-qtimageformats-plugin-wbmp_files}" +FILES_${PN}-devel = "${qt5-qtimageformats-devel_files}" +FILES_${PN}-plugin-tga = "${qt5-qtimageformats-plugin-tga_files}" + +PKG_qt5-qtimageformats-plugin-tiff= "qt5-qtimageformats-plugin-tiff" +PKG_qt5-qtimageformats-plugin-mng= "qt5-qtimageformats-plugin-mng" +PKG_qt5-qtimageformats-plugin-wbmp= "qt5-qtimageformats-plugin-wbmp" +PKG_qt5-qtimageformats-devel= "qt5-qtimageformats-devel" +PKG_qt5-qtimageformats-plugin-tga= "qt5-qtimageformats-plugin-tga" + +require qtimageformats-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtimageformats/qtimageformats_git.bb b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats_git.bb new file mode 100644 index 0000000..3f8f22d --- /dev/null +++ b/meta-tizen/recipes-tizen/qtimageformats/qtimageformats_git.bb @@ -0,0 +1,8 @@ +require qtimageformats.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtimageformats;protocol=ssh;tag=dd9e61a4e1e195a50aaf0b885f3f14eb27730131;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-extraconf.inc b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-native_git.bb b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-native_git.bb new file mode 100644 index 0000000..367864c --- /dev/null +++ b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia-native_git.bb @@ -0,0 +1,12 @@ +require qtmultimedia.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtmultimedia;protocol=ssh;tag=ab04031896c7f0de245b3da2f674de0291912e45;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia.inc b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia.inc new file mode 100644 index 0000000..ec98fc6 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia.inc @@ -0,0 +1,252 @@ +DESCRIPTION = "Qt Multimedia module" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder +PROVIDES += "qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder" +RPROVIDES_qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder += "qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder" + +#PROVIDES by qt5-qtmultimedia +PROVIDES += "qt5-qtmultimedia" +RPROVIDES_qt5-qtmultimedia += "qt5-qtmultimedia" + +#PROVIDES by qt5-qtmultimedia-plugin-mediaservice-gstmediacapture +PROVIDES += "qt5-qtmultimedia-plugin-mediaservice-gstmediacapture" +RPROVIDES_qt5-qtmultimedia-plugin-mediaservice-gstmediacapture += "qt5-qtmultimedia-plugin-mediaservice-gstmediacapture" + +#PROVIDES by qt5-qtdeclarative-import-multimedia +PROVIDES += "qt5-qtdeclarative-import-multimedia" +RPROVIDES_qt5-qtdeclarative-import-multimedia += "qt5-qtdeclarative-import-multimedia" + +#PROVIDES by qt5-qtmultimedia-gsttools +PROVIDES += "qt5-qtmultimedia-gsttools" +RPROVIDES_qt5-qtmultimedia-gsttools += "qt5-qtmultimedia-gsttools" + +#PROVIDES by qt5-qtmultimedia-plugin-playlistformats-m3u +PROVIDES += "qt5-qtmultimedia-plugin-playlistformats-m3u" +RPROVIDES_qt5-qtmultimedia-plugin-playlistformats-m3u += "qt5-qtmultimedia-plugin-playlistformats-m3u" + +#PROVIDES by qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer +PROVIDES += "qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer" +RPROVIDES_qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer += "qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer" + +#PROVIDES by qt5-qtmultimedia-devel +PROVIDES += "qt5-qtmultimedia-devel" +RPROVIDES_qt5-qtmultimedia-devel += "qt5-qtmultimedia-devel" +RPROVIDES_qt5-qtmultimedia-devel += "qt5-qtmultimedia-dev" + +#PROVIDES by qt5-qtmultimedia-plugin-mediaservice-gstcamerabin +PROVIDES += "qt5-qtmultimedia-plugin-mediaservice-gstcamerabin" +RPROVIDES_qt5-qtmultimedia-plugin-mediaservice-gstcamerabin += "qt5-qtmultimedia-plugin-mediaservice-gstcamerabin" + +RDEPENDS = "" +#RDEPENDS of qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder (qt5-${PN}-plugin-mediaservice-gstaudiodecoder) +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstaudiodecoder += "qt5-qtmultimedia-gsttools" +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstaudiodecoder += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-plugin-mediaservice-gstmediacapture (qt5-${PN}-plugin-mediaservice-gstmediacapture) +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstmediacapture += "qt5-qtmultimedia-gsttools" +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstmediacapture += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtdeclarative-import-multimedia (qt5-qtdeclarative-import-multimedia) +RDEPENDS_qt5-qtdeclarative-import-multimedia += "qt5-qtdeclarative" +RDEPENDS_qt5-qtdeclarative-import-multimedia += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-gsttools (qt5-${PN}-gsttools) +RDEPENDS_qt5-${PN}-gsttools += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-plugin-playlistformats-m3u (qt5-${PN}-plugin-playlistformats-m3u) +RDEPENDS_qt5-${PN}-plugin-playlistformats-m3u += "qt5-qtmultimedia-gsttools" +RDEPENDS_qt5-${PN}-plugin-playlistformats-m3u += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer (qt5-${PN}-plugin-mediaservice-gstmediaplayer) +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstmediaplayer += "qt5-qtmultimedia-gsttools" +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstmediaplayer += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-devel (qt5-${PN}-devel) +RDEPENDS_qt5-${PN}-devel += "qt5-qtmultimedia" + +#RDEPENDS of qt5-qtmultimedia-plugin-mediaservice-gstcamerabin (qt5-${PN}-plugin-mediaservice-gstcamerabin) +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstcamerabin += "qt5-qtmultimedia-gsttools" +RDEPENDS_qt5-${PN}-plugin-mediaservice-gstcamerabin += "qt5-qtmultimedia" + + +DEPENDS = "" +#DEPENDS of qt5-qtmultimedia +DEPENDS += "pkgconfig(gstreamer-interfaces-0.10)" +DEPENDS += "pkgconfig(alsa)" +DEPENDS += "pkgconfig(gstreamer-base-0.10)" +DEPENDS += "pkgconfig(gstreamer-app-0.10)" +DEPENDS += "pkgconfig(gstreamer-audio-0.10)" +DEPENDS += "pkgconfig(gstreamer-video-0.10)" +DEPENDS += "qtdeclarative" +DEPENDS += "pkgconfig(gstreamer-pbutils-0.10)" +DEPENDS += "pkgconfig(gstreamer-0.10)" +DEPENDS += "fdupes-native" +DEPENDS += "qtbase" +DEPENDS += "pkgconfig(gstreamer-plugins-bad-0.10)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtmultimedia-5.2.2/qtmultimedia + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git + + qmake -qt=5 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + # Fix wrong path in pkgconfig files + find ${D}/usr/lib/pkgconfig -type f -name '*.pc' \ + -exec perl -pi -e "s, -L${WORKDIR}/?\S+,,g" {} \; + # Fix wrong path in prl files + find ${D}/usr/lib -type f -name '*.prl' \ + -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; + + + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}//usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder" +PACKAGES += "qt5-qtmultimedia" +PACKAGES += "qt5-qtmultimedia-plugin-mediaservice-gstmediacapture" +PACKAGES += "qt5-qtdeclarative-import-multimedia" +PACKAGES += "qt5-qtmultimedia-gsttools" +PACKAGES += "qt5-qtmultimedia-plugin-playlistformats-m3u" +PACKAGES += "qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer" +PACKAGES += "qt5-qtmultimedia-devel" +PACKAGES += "qt5-qtmultimedia-plugin-mediaservice-gstcamerabin" + +qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder_files = "" +qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder_files += "/usr/lib/qt5/plugins/mediaservice/libgstaudiodecoder.so" + +qt5-qtmultimedia_files = "" +qt5-qtmultimedia_files += "/usr/lib/libQt5Multimedia.so.5" +qt5-qtmultimedia_files += "/usr/lib/libQt5Multimedia.so.5.*" +qt5-qtmultimedia_files += "/usr/lib/libQt5MultimediaWidgets.so.5" +qt5-qtmultimedia_files += "/usr/lib/libQt5MultimediaWidgets.so.5.*" +qt5-qtmultimedia_files += "/usr/lib/libQt5MultimediaQuick_p.so.5" +qt5-qtmultimedia_files += "/usr/lib/libQt5MultimediaQuick_p.so.5.*" + +qt5-qtmultimedia-plugin-mediaservice-gstmediacapture_files = "" +qt5-qtmultimedia-plugin-mediaservice-gstmediacapture_files += "/usr/lib/qt5/plugins/mediaservice/libgstmediacapture.so" + +qt5-qtdeclarative-import-multimedia_files = "" +qt5-qtdeclarative-import-multimedia_files += "/usr/lib/qt5/qml/QtMultimedia/" + +qt5-qtmultimedia-gsttools_files = "" +qt5-qtmultimedia-gsttools_files += "/usr/lib/libqgsttools_p.so.1" +qt5-qtmultimedia-gsttools_files += "/usr/lib/libqgsttools_p.so.1.*" + +qt5-qtmultimedia-plugin-playlistformats-m3u_files = "" +qt5-qtmultimedia-plugin-playlistformats-m3u_files += "/usr/lib/qt5/plugins/playlistformats/libqtmultimedia_m3u.so" + +qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer_files = "" +qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer_files += "/usr/lib/qt5/plugins/mediaservice/libgstmediaplayer.so" + +qt5-qtmultimedia-devel_files = "" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5Multimedia.so" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaWidgets.so" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaQuick_p.so" +qt5-qtmultimedia-devel_files += "/usr/lib/libqgsttools_p.so" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5Multimedia.prl" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5Multimedia.la" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaWidgets.prl" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaWidgets.la" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaQuick_p.prl" +qt5-qtmultimedia-devel_files += "/usr/lib/libQt5MultimediaQuick_p.la" +qt5-qtmultimedia-devel_files += "/usr/lib/libqgsttools_p.prl" +qt5-qtmultimedia-devel_files += "/usr/lib/pkgconfig/*" +qt5-qtmultimedia-devel_files += "/usr/include/qt5/*" +qt5-qtmultimedia-devel_files += "/usr/share/qt5/mkspecs/" +qt5-qtmultimedia-devel_files += "/usr/lib/cmake/" + +qt5-qtmultimedia-plugin-mediaservice-gstcamerabin_files = "" +qt5-qtmultimedia-plugin-mediaservice-gstcamerabin_files += "/usr/lib/qt5/plugins/mediaservice/libgstcamerabin.so" + +FILES_${PN}-plugin-mediaservice-gstaudiodecoder = "${qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder_files}" +FILES_${PN} = "${qt5-qtmultimedia_files}" +FILES_${PN}-plugin-mediaservice-gstmediacapture = "${qt5-qtmultimedia-plugin-mediaservice-gstmediacapture_files}" +FILES_qt5-qtdeclarative-import-multimedia = "${qt5-qtdeclarative-import-multimedia_files}" +FILES_${PN}-gsttools = "${qt5-qtmultimedia-gsttools_files}" +FILES_${PN}-plugin-playlistformats-m3u = "${qt5-qtmultimedia-plugin-playlistformats-m3u_files}" +FILES_${PN}-plugin-mediaservice-gstmediaplayer = "${qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer_files}" +FILES_${PN}-devel = "${qt5-qtmultimedia-devel_files}" +FILES_${PN}-plugin-mediaservice-gstcamerabin = "${qt5-qtmultimedia-plugin-mediaservice-gstcamerabin_files}" + +PKG_qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder= "qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder" +PKG_qt5-qtmultimedia= "qt5-qtmultimedia" +PKG_qt5-qtmultimedia-plugin-mediaservice-gstmediacapture= "qt5-qtmultimedia-plugin-mediaservice-gstmediacapture" +PKG_qt5-qtdeclarative-import-multimedia= "qt5-qtdeclarative-import-multimedia" +PKG_qt5-qtmultimedia-gsttools= "qt5-qtmultimedia-gsttools" +PKG_qt5-qtmultimedia-plugin-playlistformats-m3u= "qt5-qtmultimedia-plugin-playlistformats-m3u" +PKG_qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer= "qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer" +PKG_qt5-qtmultimedia-devel= "qt5-qtmultimedia-devel" +PKG_qt5-qtmultimedia-plugin-mediaservice-gstcamerabin= "qt5-qtmultimedia-plugin-mediaservice-gstcamerabin" + +require qtmultimedia-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia_git.bb b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia_git.bb new file mode 100644 index 0000000..9708275 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtmultimedia/qtmultimedia_git.bb @@ -0,0 +1,8 @@ +require qtmultimedia.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtmultimedia;protocol=ssh;tag=ab04031896c7f0de245b3da2f674de0291912e45;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-extraconf.inc b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-native_git.bb b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-native_git.bb new file mode 100644 index 0000000..044165f --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen-native_git.bb @@ -0,0 +1,12 @@ +require qtquickcontrols-tizen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtquickcontrols-tizen;protocol=ssh;tag=f4a4872aff9e0f02daf2dbf77d1258c6ead27b52;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen.inc b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen.inc new file mode 100644 index 0000000..cc43aab --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen.inc @@ -0,0 +1,100 @@ +DESCRIPTION = "Qt Quick Controls Tizen" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1 or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtquickcontrols-tizen +PROVIDES += "qt5-qtquickcontrols-tizen" +RPROVIDES_qt5-qtquickcontrols-tizen += "qt5-qtquickcontrols-tizen" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of qt5-qtquickcontrols-tizen +DEPENDS += "fdupes-native" +DEPENDS += "qtdeclarative" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtquickcontrols-tizen-5.2.2 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git # To make sure syncqt is used + + %qmake5 + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtquickcontrols-tizen" + +qt5-qtquickcontrols-tizen_files = "" +qt5-qtquickcontrols-tizen_files += "/usr/lib/qt5/qml/QtQuick/Controls/Tizen" +qt5-qtquickcontrols-tizen_files += "/usr/lib/qt5/qml/QtQuick/Controls/Styles/Tizen" + +FILES_${PN} = "${qt5-qtquickcontrols-tizen_files}" + +PKG_qt5-qtquickcontrols-tizen= "qt5-qtquickcontrols-tizen" + +require qtquickcontrols-tizen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen_git.bb b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen_git.bb new file mode 100644 index 0000000..e04b450 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols-tizen/qtquickcontrols-tizen_git.bb @@ -0,0 +1,8 @@ +require qtquickcontrols-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtquickcontrols-tizen;protocol=ssh;tag=f4a4872aff9e0f02daf2dbf77d1258c6ead27b52;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-extraconf.inc b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-native_git.bb b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-native_git.bb new file mode 100644 index 0000000..987eca2 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols-native_git.bb @@ -0,0 +1,12 @@ +require qtquickcontrols.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtquickcontrols;protocol=ssh;tag=99bc788c3b47a7c722cfe9bd6e9023c32c0c0c42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols.inc b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols.inc new file mode 100644 index 0000000..26cfcea --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols.inc @@ -0,0 +1,80 @@ +DESCRIPTION = "Qt Quick Controls" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtquickcontrols +PROVIDES += "qt5-qtquickcontrols" +RPROVIDES_qt5-qtquickcontrols += "qt5-qtquickcontrols" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of qt5-qtquickcontrols +DEPENDS += "fdupes-native" +DEPENDS += "qtdeclarative" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtquickcontrols-5.2.2 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git # To make sure syncqt is used + + %qmake5 + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtquickcontrols" + +qt5-qtquickcontrols_files = "" +qt5-qtquickcontrols_files += "/usr/lib/qt5/qml/QtQuick/Controls" +qt5-qtquickcontrols_files += "/usr/lib/qt5/qml/QtQuick/Layouts" + +FILES_${PN} = "${qt5-qtquickcontrols_files}" + +PKG_qt5-qtquickcontrols= "qt5-qtquickcontrols" + +require qtquickcontrols-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols_git.bb b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols_git.bb new file mode 100644 index 0000000..ebfcdf9 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtquickcontrols/qtquickcontrols_git.bb @@ -0,0 +1,8 @@ +require qtquickcontrols.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtquickcontrols;protocol=ssh;tag=99bc788c3b47a7c722cfe9bd6e9023c32c0c0c42;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtsensors/qtsensors-extraconf.inc b/meta-tizen/recipes-tizen/qtsensors/qtsensors-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtsensors/qtsensors-native_git.bb b/meta-tizen/recipes-tizen/qtsensors/qtsensors-native_git.bb new file mode 100644 index 0000000..7e504a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtsensors/qtsensors-native_git.bb @@ -0,0 +1,12 @@ +require qtsensors.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtsensors;protocol=ssh;tag=d9c9cd35473de4a5989ed93e6a26bd2a90ecafef;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtsensors/qtsensors.inc b/meta-tizen/recipes-tizen/qtsensors/qtsensors.inc new file mode 100644 index 0000000..bbbc567 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtsensors/qtsensors.inc @@ -0,0 +1,191 @@ +DESCRIPTION = "Qt Sensors module" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtsensors-devel +PROVIDES += "qt5-qtsensors-devel" +RPROVIDES_qt5-qtsensors-devel += "qt5-qtsensors-devel" +RPROVIDES_qt5-qtsensors-devel += "qt5-qtsensors-dev" + +#PROVIDES by qt5-qtsensors-plugin-gestures-sensor +PROVIDES += "qt5-qtsensors-plugin-gestures-sensor" +RPROVIDES_qt5-qtsensors-plugin-gestures-sensor += "qt5-qtsensors-plugin-gestures-sensor" + +#PROVIDES by qt5-qtsensors-plugin-gestures-shake +PROVIDES += "qt5-qtsensors-plugin-gestures-shake" +RPROVIDES_qt5-qtsensors-plugin-gestures-shake += "qt5-qtsensors-plugin-gestures-shake" + +#PROVIDES by qt5-qtdeclarative-import-sensors +PROVIDES += "qt5-qtdeclarative-import-sensors" +RPROVIDES_qt5-qtdeclarative-import-sensors += "qt5-qtdeclarative-import-sensors" + +#PROVIDES by qt5-qtsensors-plugin-tizen +PROVIDES += "qt5-qtsensors-plugin-tizen" +RPROVIDES_qt5-qtsensors-plugin-tizen += "qt5-qtsensors-plugin-tizen" + +#PROVIDES by qt5-qtsensors +PROVIDES += "qt5-qtsensors" +RPROVIDES_qt5-qtsensors += "qt5-qtsensors" + +#PROVIDES by qt5-qtsensors-plugin-generic +PROVIDES += "qt5-qtsensors-plugin-generic" +RPROVIDES_qt5-qtsensors-plugin-generic += "qt5-qtsensors-plugin-generic" + +RDEPENDS = "" +#RDEPENDS of qt5-qtsensors-devel (qt5-${PN}-devel) +RDEPENDS_qt5-${PN}-devel += "qt5-qtsensors" + +#RDEPENDS of qt5-qtsensors-plugin-gestures-sensor (qt5-${PN}-plugin-gestures-sensor) +RDEPENDS_qt5-${PN}-plugin-gestures-sensor += "qt5-qtsensors" + +#RDEPENDS of qt5-qtsensors-plugin-gestures-shake (qt5-${PN}-plugin-gestures-shake) +RDEPENDS_qt5-${PN}-plugin-gestures-shake += "qt5-qtsensors" + +#RDEPENDS of qt5-qtdeclarative-import-sensors (qt5-qtdeclarative-import-sensors) +RDEPENDS_qt5-qtdeclarative-import-sensors += "qt5-qtsensors" +RDEPENDS_qt5-qtdeclarative-import-sensors += "qt5-qtdeclarative" + +#RDEPENDS of qt5-qtsensors-plugin-tizen (qt5-${PN}-plugin-tizen) +RDEPENDS_qt5-${PN}-plugin-tizen += "qt5-qtsensors" + +#RDEPENDS of qt5-qtsensors-plugin-generic (qt5-${PN}-plugin-generic) +RDEPENDS_qt5-${PN}-plugin-generic += "qt5-qtsensors" + + +DEPENDS = "" +#DEPENDS of qt5-qtsensors +DEPENDS += "pkgconfig(capi-system-sensor)" +DEPENDS += "fdupes-native" +DEPENDS += "qtdeclarative" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtsensors-5.2.2/qtsensors + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git + qmake -qt=5 + #CONFIG+=sensorfw + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + # Remove unneeded .la files + rm -f ${D}//usr/lib/*.la + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}//usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtsensors-devel" +PACKAGES += "qt5-qtsensors-plugin-generic" +PACKAGES += "qt5-qtsensors-plugin-gestures-shake" +PACKAGES += "qt5-qtdeclarative-import-sensors" +PACKAGES += "qt5-qtsensors-plugin-tizen" +PACKAGES += "qt5-qtsensors" +PACKAGES += "qt5-qtsensors-plugin-gestures-sensor" + +qt5-qtsensors-devel_files = "" +qt5-qtsensors-devel_files += "/usr/lib/libQt5Sensors.so" +qt5-qtsensors-devel_files += "/usr/lib/libQt5Sensors.prl" +qt5-qtsensors-devel_files += "/usr/lib/pkgconfig/*" +qt5-qtsensors-devel_files += "/usr/include/qt5/*" +qt5-qtsensors-devel_files += "/usr/share/qt5/mkspecs" +qt5-qtsensors-devel_files += "/usr/lib/cmake" + +qt5-qtsensors-plugin-generic_files = "" +qt5-qtsensors-plugin-generic_files += "/usr/lib/qt5/plugins/sensors/libqtsensors_generic.so" + +qt5-qtsensors-plugin-gestures-shake_files = "" +qt5-qtsensors-plugin-gestures-shake_files += "/usr/lib/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so" + +qt5-qtdeclarative-import-sensors_files = "" +qt5-qtdeclarative-import-sensors_files += "/usr/lib/qt5/qml/QtSensors" + +qt5-qtsensors-plugin-tizen_files = "" +qt5-qtsensors-plugin-tizen_files += "/usr/lib/qt5/plugins/sensors/libqtsensors_tizen.so" + +qt5-qtsensors_files = "" +qt5-qtsensors_files += "/usr/lib/libQt5Sensors.so.5" +qt5-qtsensors_files += "/usr/lib/libQt5Sensors.so.5.*" + +qt5-qtsensors-plugin-gestures-sensor_files = "" +qt5-qtsensors-plugin-gestures-sensor_files += "/usr/lib/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so" + +FILES_${PN}-devel = "${qt5-qtsensors-devel_files}" +FILES_${PN}-plugin-generic = "${qt5-qtsensors-plugin-generic_files}" +FILES_${PN}-plugin-gestures-shake = "${qt5-qtsensors-plugin-gestures-shake_files}" +FILES_qt5-qtdeclarative-import-sensors = "${qt5-qtdeclarative-import-sensors_files}" +FILES_${PN}-plugin-tizen = "${qt5-qtsensors-plugin-tizen_files}" +FILES_${PN} = "${qt5-qtsensors_files}" +FILES_${PN}-plugin-gestures-sensor = "${qt5-qtsensors-plugin-gestures-sensor_files}" + +PKG_qt5-qtsensors-devel= "qt5-qtsensors-devel" +PKG_qt5-qtsensors-plugin-generic= "qt5-qtsensors-plugin-generic" +PKG_qt5-qtsensors-plugin-gestures-shake= "qt5-qtsensors-plugin-gestures-shake" +PKG_qt5-qtdeclarative-import-sensors= "qt5-qtdeclarative-import-sensors" +PKG_qt5-qtsensors-plugin-tizen= "qt5-qtsensors-plugin-tizen" +PKG_qt5-qtsensors= "qt5-qtsensors" +PKG_qt5-qtsensors-plugin-gestures-sensor= "qt5-qtsensors-plugin-gestures-sensor" + +require qtsensors-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtsensors/qtsensors_git.bb b/meta-tizen/recipes-tizen/qtsensors/qtsensors_git.bb new file mode 100644 index 0000000..ec288ff --- /dev/null +++ b/meta-tizen/recipes-tizen/qtsensors/qtsensors_git.bb @@ -0,0 +1,8 @@ +require qtsensors.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtsensors;protocol=ssh;tag=d9c9cd35473de4a5989ed93e6a26bd2a90ecafef;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qttools/qttools-extraconf.inc b/meta-tizen/recipes-tizen/qttools/qttools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qttools/qttools-native_git.bb b/meta-tizen/recipes-tizen/qttools/qttools-native_git.bb new file mode 100644 index 0000000..1309b21 --- /dev/null +++ b/meta-tizen/recipes-tizen/qttools/qttools-native_git.bb @@ -0,0 +1,12 @@ +require qttools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qttools;protocol=ssh;tag=673cca0b5a082625b480fb878c5e7a8312fb4542;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qttools/qttools.inc b/meta-tizen/recipes-tizen/qttools/qttools.inc new file mode 100644 index 0000000..511b2b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/qttools/qttools.inc @@ -0,0 +1,318 @@ +DESCRIPTION = "Development tools for Qt" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qttools-qdbus +PROVIDES += "qt5-qttools-qdbus" +RPROVIDES_qt5-qttools-qdbus += "qt5-qttools-qdbus" + +#PROVIDES by qt5-qttools-pixeltool +PROVIDES += "qt5-qttools-pixeltool" +RPROVIDES_qt5-qttools-pixeltool += "qt5-qttools-pixeltool" + +#PROVIDES by qt5-qttools +PROVIDES += "qt5-qttools" +RPROVIDES_qt5-qttools += "qt5-qttools" + +#PROVIDES by qt5-qttools-linguist +PROVIDES += "qt5-qttools-linguist" +RPROVIDES_qt5-qttools-linguist += "qt5-qttools-linguist" + +#PROVIDES by qt5-qttools-qtclucene +PROVIDES += "qt5-qttools-qtclucene" +RPROVIDES_qt5-qttools-qtclucene += "qt5-qttools-qtclucene" + +#PROVIDES by qt5-qttools-qtdesigner +PROVIDES += "qt5-qttools-qtdesigner" +RPROVIDES_qt5-qttools-qtdesigner += "qt5-qttools-qtdesigner" + +#PROVIDES by qt5-qttools-qthelp +PROVIDES += "qt5-qttools-qthelp" +RPROVIDES_qt5-qttools-qthelp += "qt5-qttools-qthelp" + +#PROVIDES by qt5-qttools-qthelp-devel +PROVIDES += "qt5-qttools-qthelp-devel" +RPROVIDES_qt5-qttools-qthelp-devel += "qt5-qttools-qthelp-devel" +RPROVIDES_qt5-qttools-qthelp-devel += "qt5-qttools-qthelp-dev" + +#PROVIDES by qt5-qttools-qtuitools +PROVIDES += "qt5-qttools-qtuitools" +RPROVIDES_qt5-qttools-qtuitools += "qt5-qttools-qtuitools" + +#PROVIDES by qt5-qttools-qtuitools-devel +PROVIDES += "qt5-qttools-qtuitools-devel" +RPROVIDES_qt5-qttools-qtuitools-devel += "qt5-qttools-qtuitools-devel" +RPROVIDES_qt5-qttools-qtuitools-devel += "qt5-qttools-qtuitools-dev" + +#PROVIDES by qt5-qttools-qtclucene-devel +PROVIDES += "qt5-qttools-qtclucene-devel" +RPROVIDES_qt5-qttools-qtclucene-devel += "qt5-qttools-qtclucene-devel" +RPROVIDES_qt5-qttools-qtclucene-devel += "qt5-qttools-qtclucene-dev" + +#PROVIDES by qt5-qttools-qtdesigner-devel +PROVIDES += "qt5-qttools-qtdesigner-devel" +RPROVIDES_qt5-qttools-qtdesigner-devel += "qt5-qttools-qtdesigner-devel" +RPROVIDES_qt5-qttools-qtdesigner-devel += "qt5-qttools-qtdesigner-dev" + +RDEPENDS = "" +#RDEPENDS of qt5-qttools-qdbus (qt5-${PN}-qdbus) +RDEPENDS_qt5-${PN}-qdbus += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qdbus += "qt5-qttools" + +#RDEPENDS of qt5-qttools-pixeltool (qt5-${PN}-pixeltool) +RDEPENDS_qt5-${PN}-pixeltool += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-pixeltool += "qt5-qttools" + +#RDEPENDS of qt5-qttools-linguist (qt5-${PN}-linguist) +RDEPENDS_qt5-${PN}-linguist += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-linguist += "qt5-qttools" + +#RDEPENDS of qt5-qttools-qtclucene (qt5-${PN}-qtclucene) +RDEPENDS_qt5-${PN}-qtclucene += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qtclucene += "qt5-qttools" + +#RDEPENDS of qt5-qttools-qtdesigner (qt5-${PN}-qtdesigner) +RDEPENDS_qt5-${PN}-qtdesigner += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qtdesigner += "qt5-qttools" + +#RDEPENDS of qt5-qttools-qthelp (qt5-${PN}-qthelp) +RDEPENDS_qt5-${PN}-qthelp += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qthelp += "qt5-qttools" + +#RDEPENDS of qt5-qttools-qthelp-devel (qt5-${PN}-qthelp-devel) +RDEPENDS_qt5-${PN}-qthelp-devel += "/sbin/ldconfig" + +#RDEPENDS of qt5-qttools-qtuitools (qt5-${PN}-qtuitools) +RDEPENDS_qt5-${PN}-qtuitools += "/sbin/ldconfig" +RDEPENDS_qt5-${PN}-qtuitools += "qt5-qttools" + +#RDEPENDS of qt5-qttools-qtuitools-devel (qt5-${PN}-qtuitools-devel) +RDEPENDS_qt5-${PN}-qtuitools-devel += "/sbin/ldconfig" + +#RDEPENDS of qt5-qttools-qtclucene-devel (qt5-${PN}-qtclucene-devel) +RDEPENDS_qt5-${PN}-qtclucene-devel += "/sbin/ldconfig" + +#RDEPENDS of qt5-qttools-qtdesigner-devel (qt5-${PN}-qtdesigner-devel) +RDEPENDS_qt5-${PN}-qtdesigner-devel += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of qt5-qttools +DEPENDS += "fdupes-native" +DEPENDS += "qtdeclarative" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qttools-5.2.2/qttools + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git + qmake -qt=5 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/lib | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/share | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qttools-qdbus" +PACKAGES += "qt5-qttools-qtuitools" +PACKAGES += "qt5-qttools" +PACKAGES += "qt5-qttools-linguist" +PACKAGES += "qt5-qttools-qtclucene" +PACKAGES += "qt5-qttools-qtdesigner" +PACKAGES += "qt5-qttools-qthelp" +PACKAGES += "qt5-qttools-qthelp-devel" +PACKAGES += "qt5-qttools-pixeltool" +PACKAGES += "qt5-qttools-qtuitools-devel" +PACKAGES += "qt5-qttools-qtclucene-devel" +PACKAGES += "qt5-qttools-qtdesigner-devel" + +qt5-qttools-qdbus_files = "" + +qt5-qttools-qtuitools_files = "" + +qt5-qttools_files = "" + +qt5-qttools-linguist_files = "" +qt5-qttools-linguist_files += "/usr/share/qt5/phrasebooks" +qt5-qttools-linguist_files += "/usr/lib/cmake/Qt5Linguist*" + +qt5-qttools-qtclucene_files = "" +qt5-qttools-qtclucene_files += "/usr/lib/libQt5CLucene.so.*" + +qt5-qttools-qtdesigner_files = "" +qt5-qttools-qtdesigner_files += "/usr/lib/libQt5Designer*.so.*" + +qt5-qttools-qthelp_files = "" +qt5-qttools-qthelp_files += "/usr/lib/libQt5Help.so.*" + +qt5-qttools-qthelp-devel_files = "" +qt5-qttools-qthelp-devel_files += "/usr/include/qt5/QtHelp" +qt5-qttools-qthelp-devel_files += "/usr/lib/libQt5Help.prl" +qt5-qttools-qthelp-devel_files += "/usr/lib/libQt5Help.la" +qt5-qttools-qthelp-devel_files += "/usr/lib/libQt5Help.so" +qt5-qttools-qthelp-devel_files += "/usr/lib/pkgconfig/Qt5Help.pc" +qt5-qttools-qthelp-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_help.pri" +qt5-qttools-qthelp-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_help_private.pri" +qt5-qttools-qthelp-devel_files += "/usr/lib/cmake/Qt5Help" + +qt5-qttools-pixeltool_files = "" + +qt5-qttools-qtuitools-devel_files = "" +qt5-qttools-qtuitools-devel_files += "/usr/include/qt5/QtUiTools" +qt5-qttools-qtuitools-devel_files += "/usr/lib/libQt5UiTools.prl" +qt5-qttools-qtuitools-devel_files += "/usr/lib/libQt5UiTools.a" +qt5-qttools-qtuitools-devel_files += "/usr/lib/libQt5UiTools.la" +qt5-qttools-qtuitools-devel_files += "/usr/lib/pkgconfig/Qt5UiTools.pc" +qt5-qttools-qtuitools-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_uitools.pri" +qt5-qttools-qtuitools-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_uitools_private.pri" +qt5-qttools-qtuitools-devel_files += "/usr/lib/cmake/Qt5UiTools" + +qt5-qttools-qtclucene-devel_files = "" +qt5-qttools-qtclucene-devel_files += "/usr/include/qt5/QtCLucene" +qt5-qttools-qtclucene-devel_files += "/usr/lib/libQt5CLucene.prl" +qt5-qttools-qtclucene-devel_files += "/usr/lib/libQt5CLucene.la" +qt5-qttools-qtclucene-devel_files += "/usr/lib/libQt5CLucene.so" +qt5-qttools-qtclucene-devel_files += "/usr/lib/pkgconfig/Qt5CLucene.pc" +qt5-qttools-qtclucene-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_clucene_private.pri" +qt5-qttools-qtclucene-devel_files += "" + +qt5-qttools-qtdesigner-devel_files = "" +qt5-qttools-qtdesigner-devel_files += "/usr/include/qt5/QtDesigner" +qt5-qttools-qtdesigner-devel_files += "/usr/include/qt5/QtDesignerComponents" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/libQt5Designer*.so" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/libQt5Designer*.prl" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/libQt5Designer*.la" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/libQt5Designer*.prl" +qt5-qttools-qtdesigner-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_designer*.pri" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/pkgconfig/Qt5Designer*.pc" +qt5-qttools-qtdesigner-devel_files += "/usr/lib/cmake/Qt5Designer" + +FILES_${PN}-qdbus = "${qt5-qttools-qdbus_files}" +FILES_${PN}-qtuitools = "${qt5-qttools-qtuitools_files}" +FILES_${PN} = "${qt5-qttools_files}" +FILES_${PN}-linguist = "${qt5-qttools-linguist_files}" +FILES_${PN}-qtclucene = "${qt5-qttools-qtclucene_files}" +FILES_${PN}-qtdesigner = "${qt5-qttools-qtdesigner_files}" +FILES_${PN}-qthelp = "${qt5-qttools-qthelp_files}" +FILES_${PN}-qthelp-devel = "${qt5-qttools-qthelp-devel_files}" +FILES_${PN}-pixeltool = "${qt5-qttools-pixeltool_files}" +FILES_${PN}-qtuitools-devel = "${qt5-qttools-qtuitools-devel_files}" +FILES_${PN}-qtclucene-devel = "${qt5-qttools-qtclucene-devel_files}" +FILES_${PN}-qtdesigner-devel = "${qt5-qttools-qtdesigner-devel_files}" + +PKG_qt5-qttools-qdbus= "qt5-qttools-qdbus" +PKG_qt5-qttools-qtuitools= "qt5-qttools-qtuitools" +PKG_qt5-qttools= "qt5-qttools" +PKG_qt5-qttools-linguist= "qt5-qttools-linguist" +PKG_qt5-qttools-qtclucene= "qt5-qttools-qtclucene" +PKG_qt5-qttools-qtdesigner= "qt5-qttools-qtdesigner" +PKG_qt5-qttools-qthelp= "qt5-qttools-qthelp" +PKG_qt5-qttools-qthelp-devel= "qt5-qttools-qthelp-devel" +PKG_qt5-qttools-pixeltool= "qt5-qttools-pixeltool" +PKG_qt5-qttools-qtuitools-devel= "qt5-qttools-qtuitools-devel" +PKG_qt5-qttools-qtclucene-devel= "qt5-qttools-qtclucene-devel" +PKG_qt5-qttools-qtdesigner-devel= "qt5-qttools-qtdesigner-devel" + +require qttools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qttools/qttools_git.bb b/meta-tizen/recipes-tizen/qttools/qttools_git.bb new file mode 100644 index 0000000..12ac346 --- /dev/null +++ b/meta-tizen/recipes-tizen/qttools/qttools_git.bb @@ -0,0 +1,8 @@ +require qttools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qttools;protocol=ssh;tag=673cca0b5a082625b480fb878c5e7a8312fb4542;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtwayland/qtwayland-extraconf.inc b/meta-tizen/recipes-tizen/qtwayland/qtwayland-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtwayland/qtwayland-native_git.bb b/meta-tizen/recipes-tizen/qtwayland/qtwayland-native_git.bb new file mode 100644 index 0000000..edb1d7b --- /dev/null +++ b/meta-tizen/recipes-tizen/qtwayland/qtwayland-native_git.bb @@ -0,0 +1,12 @@ +require qtwayland.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtwayland;protocol=ssh;tag=ce73ccf54ff9bd5dbba9289d2eb4ebbea8002549;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtwayland/qtwayland.inc b/meta-tizen/recipes-tizen/qtwayland/qtwayland.inc new file mode 100644 index 0000000..2f96aeb --- /dev/null +++ b/meta-tizen/recipes-tizen/qtwayland/qtwayland.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Qt Wayland compositor" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1+ or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtwayland +PROVIDES += "qt5-qtwayland" +RPROVIDES_qt5-qtwayland += "qt5-qtwayland" + +#PROVIDES by qt5-qtwayland-devel +PROVIDES += "qt5-qtwayland-devel" +RPROVIDES_qt5-qtwayland-devel += "qt5-qtwayland-devel" +RPROVIDES_qt5-qtwayland-devel += "qt5-qtwayland-dev" + +RDEPENDS = "" +#RDEPENDS of qt5-qtwayland-devel (qt5-${PN}-devel) +RDEPENDS_qt5-${PN}-devel += "qt5-qtwayland" + + +DEPENDS = "" +#DEPENDS of qt5-qtwayland +DEPENDS += "pkgconfig(wayland-cursor)" +DEPENDS += "libxkbcommon" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "pkgconfig(mtdev)" +DEPENDS += "libffi" +DEPENDS += "mesa" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "qtbase" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtwayland-5.2.2/qtwayland + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + export QT_WAYLAND_GL_CONFIG=wayland_egl + touch .git + qmake -qt=5 + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake_install + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtwayland" +PACKAGES += "qt5-qtwayland-devel" + +qt5-qtwayland_files = "" +qt5-qtwayland_files += "/usr/lib/libQt5WaylandClient.so.5*" +qt5-qtwayland_files += "/usr/lib/qt5/plugins/platforms/libqwayland-generic.so" +qt5-qtwayland_files += "/usr/lib/qt5/plugins/platforms/libqwayland-egl.so" +qt5-qtwayland_files += "/usr/lib/qt5/plugins/wayland-graphics-integration/client/libwayland-egl.so" +qt5-qtwayland_files += "/usr/lib/qt5/plugins/wayland-graphics-integration/client/libdrm-egl-server.so" + +qt5-qtwayland-devel_files = "" +qt5-qtwayland-devel_files += "/usr/lib/libQt5WaylandClient.so" +qt5-qtwayland-devel_files += "/usr/include/qt5/*" +qt5-qtwayland-devel_files += "/usr/lib/libQt5WaylandClient.la" +qt5-qtwayland-devel_files += "/usr/lib/libQt5WaylandClient.prl" +qt5-qtwayland-devel_files += "/usr/lib/pkgconfig/Qt5WaylandClient.pc" +qt5-qtwayland-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient.pri" +qt5-qtwayland-devel_files += "/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient_private.pri" +qt5-qtwayland-devel_files += "/usr/lib/qt5/bin/qtwaylandscanner" +qt5-qtwayland-devel_files += "/usr/lib/cmake" + +FILES_${PN} = "${qt5-qtwayland_files}" +FILES_${PN}-devel = "${qt5-qtwayland-devel_files}" + +PKG_qt5-qtwayland= "qt5-qtwayland" +PKG_qt5-qtwayland-devel= "qt5-qtwayland-devel" + +require qtwayland-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtwayland/qtwayland_git.bb b/meta-tizen/recipes-tizen/qtwayland/qtwayland_git.bb new file mode 100644 index 0000000..2fd1836 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtwayland/qtwayland_git.bb @@ -0,0 +1,8 @@ +require qtwayland.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtwayland;protocol=ssh;tag=ce73ccf54ff9bd5dbba9289d2eb4ebbea8002549;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-extraconf.inc b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-native_git.bb b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-native_git.bb new file mode 100644 index 0000000..ac67dab --- /dev/null +++ b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns-native_git.bb @@ -0,0 +1,12 @@ +require qtxmlpatterns.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtxmlpatterns;protocol=ssh;tag=1f0f14a897a4d0ec95f9c42202ac3e0005ce2ddc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns.inc b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns.inc new file mode 100644 index 0000000..35b9fa2 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "Qt XML Patterns library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Libraries" +LICENSE = "LGPL-2.1 or GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by qt5-qtxmlpatterns +PROVIDES += "qt5-qtxmlpatterns" +RPROVIDES_qt5-qtxmlpatterns += "qt5-qtxmlpatterns" + +#PROVIDES by qt5-qtxmlpatterns-devel +PROVIDES += "qt5-qtxmlpatterns-devel" +RPROVIDES_qt5-qtxmlpatterns-devel += "qt5-qtxmlpatterns-devel" +RPROVIDES_qt5-qtxmlpatterns-devel += "qt5-qtxmlpatterns-dev" + +RDEPENDS = "" +#RDEPENDS of qt5-qtxmlpatterns-devel (qt5-${PN}-devel) +RDEPENDS_qt5-${PN}-devel += "qt5-qtxmlpatterns" + + +DEPENDS = "" +#DEPENDS of qt5-qtxmlpatterns +DEPENDS += "fdupes-native" +DEPENDS += "qtbase" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n qt5-qtxmlpatterns-5.2.2/qtxmlpatterns + + # The original source assumes build happens within a monolithic tree. + # The tool used is syncqt, which complains a lot but really only wants + # to know where the mkspecs may be found. Hence the environment variable + # name is a little misleading. + # + # XXX: FOR THE LOVE OF ALL THAT MAY BE HOLY - DO NOT USE RPMBUILD AND + # ITS INTERNAL qmake MACRO. IT BREAKS THE BUILD! + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export QTDIR=/usr/share/qt5 + touch .git + qmake -qt=5 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + %qmake5_install + # Remove unneeded .la files + rm -f ${D}//usr/lib/*.la + # Fix wrong path in prl files + find ${D}/usr/lib -type f -name '*.prl' \ + -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; + + # We don't need qt5/Qt/ + rm -rf ${D}/usr/include/qt5/Qt + + # + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/include | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + + + #### Pre/Post section + + +} + +PACKAGES = "" +PACKAGES += "qt5-qtxmlpatterns" +PACKAGES += "qt5-qtxmlpatterns-devel" + +qt5-qtxmlpatterns_files = "" +qt5-qtxmlpatterns_files += "/usr/lib/libQt5XmlPatterns.so.*" + +qt5-qtxmlpatterns-devel_files = "" +qt5-qtxmlpatterns-devel_files += "/usr/lib/libQt5XmlPatterns.so" +qt5-qtxmlpatterns-devel_files += "/usr/lib/libQt5XmlPatterns.prl" +qt5-qtxmlpatterns-devel_files += "/usr/lib/pkgconfig/*" +qt5-qtxmlpatterns-devel_files += "/usr/include/qt5" +qt5-qtxmlpatterns-devel_files += "/usr/share/qt5/mkspecs" +qt5-qtxmlpatterns-devel_files += "/usr/lib/cmake" + +FILES_${PN} = "${qt5-qtxmlpatterns_files}" +FILES_${PN}-devel = "${qt5-qtxmlpatterns-devel_files}" + +PKG_qt5-qtxmlpatterns= "qt5-qtxmlpatterns" +PKG_qt5-qtxmlpatterns-devel= "qt5-qtxmlpatterns-devel" + +require qtxmlpatterns-extraconf.inc diff --git a/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns_git.bb b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns_git.bb new file mode 100644 index 0000000..7656193 --- /dev/null +++ b/meta-tizen/recipes-tizen/qtxmlpatterns/qtxmlpatterns_git.bb @@ -0,0 +1,8 @@ +require qtxmlpatterns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/qtxmlpatterns;protocol=ssh;tag=1f0f14a897a4d0ec95f9c42202ac3e0005ce2ddc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/radio/radio-extraconf.inc b/meta-tizen/recipes-tizen/radio/radio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/radio/radio-native_git.bb b/meta-tizen/recipes-tizen/radio/radio-native_git.bb new file mode 100644 index 0000000..88499a3 --- /dev/null +++ b/meta-tizen/recipes-tizen/radio/radio-native_git.bb @@ -0,0 +1,12 @@ +require radio.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/radio;protocol=ssh;tag=4285844d4b16db4133ac99c1c44f92b6facd983e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/radio/radio.inc b/meta-tizen/recipes-tizen/radio/radio.inc new file mode 100644 index 0000000..c52c075 --- /dev/null +++ b/meta-tizen/recipes-tizen/radio/radio.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "A Radio library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-radio +PROVIDES += "capi-media-radio" +RPROVIDES_capi-media-radio += "capi-media-radio" + +#PROVIDES by capi-media-radio-devel +PROVIDES += "capi-media-radio-devel" +RPROVIDES_capi-media-radio-devel += "capi-media-radio-devel" +RPROVIDES_capi-media-radio-devel += "capi-media-radio-dev" + +RDEPENDS = "" +#RDEPENDS of capi-media-radio-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-radio" + + +DEPENDS = "" +#DEPENDS of capi-media-radio +DEPENDS += "cmake" +DEPENDS += "dlog" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libmm-radio" +DEPENDS += "common" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-radio.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "capi-media-radio" +PACKAGES += "capi-media-radio-devel" + +capi-media-radio_files = "" +capi-media-radio_files += "capi-media-radio.manifest" +capi-media-radio_files += "/usr/lib/libcapi-media-radio.so.*" + +capi-media-radio-devel_files = "" +capi-media-radio-devel_files += "capi-media-radio.manifest" +capi-media-radio-devel_files += "/usr/include/media/radio.h" +capi-media-radio-devel_files += "/usr/lib/pkgconfig/capi-media-radio.pc" +capi-media-radio-devel_files += "/usr/lib/libcapi-media-radio.so" + +FILES_${PN} = "${capi-media-radio_files}" +FILES_${PN}-devel = "${capi-media-radio-devel_files}" + +PKG_capi-media-radio= "capi-media-radio" +PKG_capi-media-radio-devel= "capi-media-radio-devel" + +require radio-extraconf.inc diff --git a/meta-tizen/recipes-tizen/radio/radio_git.bb b/meta-tizen/recipes-tizen/radio/radio_git.bb new file mode 100644 index 0000000..d84f2a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/radio/radio_git.bb @@ -0,0 +1,8 @@ +require radio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/radio;protocol=ssh;tag=4285844d4b16db4133ac99c1c44f92b6facd983e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ragel/ragel-extraconf.inc b/meta-tizen/recipes-tizen/ragel/ragel-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ragel/ragel-native_git.bb b/meta-tizen/recipes-tizen/ragel/ragel-native_git.bb new file mode 100644 index 0000000..0673e14 --- /dev/null +++ b/meta-tizen/recipes-tizen/ragel/ragel-native_git.bb @@ -0,0 +1,12 @@ +require ragel.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ragel;protocol=ssh;tag=17ed260cfad50c82495daeca85d52bbb243cd2a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ragel/ragel.inc b/meta-tizen/recipes-tizen/ragel/ragel.inc new file mode 100644 index 0000000..446c15c --- /dev/null +++ b/meta-tizen/recipes-tizen/ragel/ragel.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Ragel State Machine Compiler" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ragel +PROVIDES += "ragel" +RPROVIDES_ragel += "ragel" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ragel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/ragel + rm -rf ${D}/usr/share/doc/ragel-6.6 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "ragel" + +ragel_files = "" +ragel_files += "ragel.manifest" +ragel_files += "ragel.manifest" +ragel_files += "/usr/bin/ragel" + +FILES_${PN} = "${ragel_files}" + +PKG_ragel= "ragel" + +require ragel-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ragel/ragel_git.bb b/meta-tizen/recipes-tizen/ragel/ragel_git.bb new file mode 100644 index 0000000..00ba4ba --- /dev/null +++ b/meta-tizen/recipes-tizen/ragel/ragel_git.bb @@ -0,0 +1,8 @@ +require ragel.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ragel;protocol=ssh;tag=17ed260cfad50c82495daeca85d52bbb243cd2a2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/randrproto/randrproto-extraconf.inc b/meta-tizen/recipes-tizen/randrproto/randrproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/randrproto/randrproto-native_git.bb b/meta-tizen/recipes-tizen/randrproto/randrproto-native_git.bb new file mode 100644 index 0000000..5760511 --- /dev/null +++ b/meta-tizen/recipes-tizen/randrproto/randrproto-native_git.bb @@ -0,0 +1,12 @@ +require randrproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/randrproto;protocol=ssh;tag=d12d69687b89345ec24cd3f5aa6a40445e8aef2c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/randrproto/randrproto.inc b/meta-tizen/recipes-tizen/randrproto/randrproto.inc new file mode 100644 index 0000000..663c0c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/randrproto/randrproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by randrproto +PROVIDES += "randrproto" +RPROVIDES_randrproto += "randrproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of randrproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/randrproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/randrproto + rm -rf ${D}/usr/share/doc/randrproto-1.4.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "randrproto" + +randrproto_files = "" +randrproto_files += "randrproto.manifest" +randrproto_files += "/usr/include/X11/extensions/*.h" +randrproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${randrproto_files}" + +PKG_randrproto= "randrproto" + +require randrproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/randrproto/randrproto_git.bb b/meta-tizen/recipes-tizen/randrproto/randrproto_git.bb new file mode 100644 index 0000000..59bfc51 --- /dev/null +++ b/meta-tizen/recipes-tizen/randrproto/randrproto_git.bb @@ -0,0 +1,8 @@ +require randrproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/randrproto;protocol=ssh;tag=d12d69687b89345ec24cd3f5aa6a40445e8aef2c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/raptor/raptor-extraconf.inc b/meta-tizen/recipes-tizen/raptor/raptor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/raptor/raptor-native_git.bb b/meta-tizen/recipes-tizen/raptor/raptor-native_git.bb new file mode 100644 index 0000000..93fb05e --- /dev/null +++ b/meta-tizen/recipes-tizen/raptor/raptor-native_git.bb @@ -0,0 +1,12 @@ +require raptor.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/raptor;protocol=ssh;tag=1bb91f5afced6ecc519540b159dcfb6abf607017;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/raptor/raptor.inc b/meta-tizen/recipes-tizen/raptor/raptor.inc new file mode 100644 index 0000000..9b56c4f --- /dev/null +++ b/meta-tizen/recipes-tizen/raptor/raptor.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "RDF Parser Toolkit" +HOMEPAGE = "http://www.redland.opensource.ac.uk/raptor/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+ or GPL-2.0+ or Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libraptor +PROVIDES += "libraptor" +RPROVIDES_libraptor += "libraptor" + +#PROVIDES by raptor +PROVIDES += "raptor" +RPROVIDES_raptor += "raptor" + +#PROVIDES by libraptor-devel +PROVIDES += "libraptor-devel" +RPROVIDES_libraptor-devel += "libraptor-devel" +RPROVIDES_libraptor-devel += "libraptor-dev" +# the PROVIDES rules is ignore "raptor-devel = 2.0.8" +PROVIDES += "raptor-devel" +RPROVIDES_libraptor-devel += "raptor-devel" +RPROVIDES_libraptor-devel += "raptor-dev" + +RDEPENDS = "" +#RDEPENDS of libraptor-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libraptor" +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "raptor" + + +DEPENDS = "" +#DEPENDS of raptor +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "curl" +DEPENDS += "autoconf-native" +DEPENDS += "pkgconfig(libxslt)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n raptor2-2.0.8 + cp ${S}/packaging/raptor.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-gtk-doc --disable-static --with-pic --with-html-dir=/usr/share/doc/packages + make + + exit 0 + export MALLOC_CHECK_=2 + make check + unset MALLOC_CHECK_ + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}//usr/share/doc/packages + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/raptor + rm -rf ${D}/usr/share/doc/raptor-2.0.8 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libraptor" +PACKAGES += "raptor" +PACKAGES += "libraptor-devel" + +libraptor_files = "" +libraptor_files += "raptor.manifest" +libraptor_files += "/usr/lib/libraptor2.so.0*" + +raptor_files = "" +raptor_files += "raptor.manifest" +raptor_files += "/usr/bin/rapper" + +libraptor-devel_files = "" +libraptor-devel_files += "raptor.manifest" +libraptor-devel_files += "/usr/lib/lib*.so" +libraptor-devel_files += "/usr/include/*" +libraptor-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_lib${PN} = "${libraptor_files}" +FILES_${PN} = "${raptor_files}" +FILES_lib${PN}-devel = "${libraptor-devel_files}" + +PKG_libraptor= "libraptor" +PKG_raptor= "raptor" +PKG_libraptor-devel= "libraptor-devel" + +require raptor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/raptor/raptor_git.bb b/meta-tizen/recipes-tizen/raptor/raptor_git.bb new file mode 100644 index 0000000..d58868e --- /dev/null +++ b/meta-tizen/recipes-tizen/raptor/raptor_git.bb @@ -0,0 +1,8 @@ +require raptor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/raptor;protocol=ssh;tag=1bb91f5afced6ecc519540b159dcfb6abf607017;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/re2/re2-extraconf.inc b/meta-tizen/recipes-tizen/re2/re2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/re2/re2-native_git.bb b/meta-tizen/recipes-tizen/re2/re2-native_git.bb new file mode 100644 index 0000000..9e64de5 --- /dev/null +++ b/meta-tizen/recipes-tizen/re2/re2-native_git.bb @@ -0,0 +1,12 @@ +require re2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/re2;protocol=ssh;tag=4ae165f74795e7a24135199b894cfec36a36d210;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/re2/re2.inc b/meta-tizen/recipes-tizen/re2/re2.inc new file mode 100644 index 0000000..4693fac --- /dev/null +++ b/meta-tizen/recipes-tizen/re2/re2.inc @@ -0,0 +1,93 @@ +DESCRIPTION = "An efficient, principled regular expression library" +HOMEPAGE = "http://code.google.com/p/re2/" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by re2 +PROVIDES += "re2" +RPROVIDES_re2 += "re2" + +#PROVIDES by libre2 +PROVIDES += "libre2" +RPROVIDES_libre2 += "libre2" + +#PROVIDES by re2-devel +PROVIDES += "re2-devel" +RPROVIDES_re2-devel += "re2-devel" +RPROVIDES_re2-devel += "re2-dev" + +RDEPENDS = "" +#RDEPENDS of re2-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libre2" + + +DEPENDS = "" +#DEPENDS of re2 +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n re2 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 CXXFLAGS="$RPM_OPT_FLAGS -Wall -pthread" libdir=/usr/lib prefix=/usr + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=$RPM_BUILD_ROOT libdir=/usr/lib prefix=/usr install + rm $RPM_BUILD_ROOT/usr/lib/libre2.a + + + +} + +PACKAGES = "" +PACKAGES += "libre2" +PACKAGES += "re2-devel" + +libre2_files = "" +libre2_files += "AUTHORS README" +libre2_files += "/usr/lib/libre2.so.0" +libre2_files += "/usr/lib/libre2.so.0.0.0" + +re2-devel_files = "" +re2-devel_files += "/usr/include/re2" +re2-devel_files += "/usr/lib/libre2.so" + +FILES_lib${PN} = "${libre2_files}" +FILES_${PN}-devel = "${re2-devel_files}" + +PKG_libre2= "libre2" +PKG_re2-devel= "re2-devel" + +require re2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/re2/re2_git.bb b/meta-tizen/recipes-tizen/re2/re2_git.bb new file mode 100644 index 0000000..dfdf44e --- /dev/null +++ b/meta-tizen/recipes-tizen/re2/re2_git.bb @@ -0,0 +1,8 @@ +require re2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/re2;protocol=ssh;tag=4ae165f74795e7a24135199b894cfec36a36d210;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/re2c/re2c-extraconf.inc b/meta-tizen/recipes-tizen/re2c/re2c-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/re2c/re2c-native_git.bb b/meta-tizen/recipes-tizen/re2c/re2c-native_git.bb new file mode 100644 index 0000000..0e91ed6 --- /dev/null +++ b/meta-tizen/recipes-tizen/re2c/re2c-native_git.bb @@ -0,0 +1,12 @@ +require re2c.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/re2c;protocol=ssh;tag=ece40865434f8e3663ddb52ee8b0bd1669d7695e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/re2c/re2c.inc b/meta-tizen/recipes-tizen/re2c/re2c.inc new file mode 100644 index 0000000..326732f --- /dev/null +++ b/meta-tizen/recipes-tizen/re2c/re2c.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "Tool for generating C-based recognizers from regular expressions" +HOMEPAGE = "http://re2c.org/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "SUSE-Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by re2c +PROVIDES += "re2c" +RPROVIDES_re2c += "re2c" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of re2c +DEPENDS += "gcc-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/re2c.manifest . + find -type d -name .svn -print0 | xargs -r0 rm -rf + find CHANGELOG lessons examples -type f -print0 \ + | xargs -r0 chmod -v a-x + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 re2c + #regenerate file scanner.cc + rm -f scanner.cc + ./re2c -g scanner.re > scanner.cc + rm -f re2c scanner.o + make -j16 + + exit 0 + make test + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "re2c" + +re2c_files = "" +re2c_files += "re2c.manifest" +re2c_files += "/usr/bin/re2c" +re2c_files += "/usr/share/man/man1/re2c.1*" + +FILES_${PN} = "${re2c_files}" + +PKG_re2c= "re2c" + +require re2c-extraconf.inc diff --git a/meta-tizen/recipes-tizen/re2c/re2c_git.bb b/meta-tizen/recipes-tizen/re2c/re2c_git.bb new file mode 100644 index 0000000..89f1894 --- /dev/null +++ b/meta-tizen/recipes-tizen/re2c/re2c_git.bb @@ -0,0 +1,8 @@ +require re2c.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/re2c;protocol=ssh;tag=ece40865434f8e3663ddb52ee8b0bd1669d7695e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/readline/readline-extraconf.inc b/meta-tizen/recipes-tizen/readline/readline-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/readline/readline.inc b/meta-tizen/recipes-tizen/readline/readline.inc new file mode 100644 index 0000000..cc629cc --- /dev/null +++ b/meta-tizen/recipes-tizen/readline/readline.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "The Readline Library" +HOMEPAGE = "http://www.gnu.org/software/bash/bash.html" +SECTION = "Base/Libraries" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libreadline +PROVIDES += "libreadline" +RPROVIDES_libreadline += "libreadline" + +#PROVIDES by readline +PROVIDES += "readline" +RPROVIDES_readline += "readline" +# the PROVIDES rules is ignore "bash://usr/lib/libreadline.so.5 " +PROVIDES += "bash://usr/lib/libreadline.so.5" +RPROVIDES_readline += "bash://usr/lib/libreadline.so.5" + +#PROVIDES by readline-devel +PROVIDES += "readline-devel" +RPROVIDES_readline-devel += "readline-devel" +RPROVIDES_readline-devel += "readline-dev" +# the PROVIDES rules is ignore "bash:/usr/lib/libreadline.a " +PROVIDES += "bash:/usr/lib/libreadline.a" +RPROVIDES_readline-devel += "bash:/usr/lib/libreadline.a" + +RDEPENDS = "" +#RDEPENDS of readline-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libreadline" +RDEPENDS_${PN}-devel += "ncurses-dev" + + +DEPENDS = "" +#DEPENDS of readline +DEPENDS += "ncurses" +DEPENDS += "autoconf-native" +DEPENDS += "bison-native" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n readline-5.2 + cp ${S}/packaging/readline.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoconf + cflags () + { + local flag=$1; shift + case "-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" in + *${flag}*) return + esac + if test -n "$1" && gcc -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + local var=$1; shift + eval $var=\${$var:+\$$var\ }$flag + fi + } + echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 - + if ./test64 ; then + LARGEFILE="" + else + LARGEFILE="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" + fi + rm -f ./test64 + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g" + LDFLAGS="" + cflags -std=gnu89 CFLAGS + cflags -Wuninitialized CFLAGS + cflags -Wextra CFLAGS + cflags -Wno-unprototyped-calls CFLAGS + cflags -Wno-switch-enum CFLAGS + cflags -ftree-loop-linear CFLAGS + cflags -pipe CFLAGS + cflags -Wl,--as-needed LDFLAGS + cflags -Wl,-O,2 LDFLAGS + CC=gcc + CC_FOR_BUILD="$CC" + CFLAGS_FOR_BUILD="$CFLAGS" + LDFLAGS_FOR_BUILD="$LDFLAGS" + export CC_FOR_BUILD CFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD CFLAGS LDFLAGS CC + ./configure --build=x86_64-tizen-linux \ + --prefix=/usr \ + --with-curses \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libdir=/usr/lib + make + make documentation + ln -sf shlib/libreadline.so.5.2 libreadline.so + ln -sf shlib/libreadline.so.5.2 libreadline.so.5 + ln -sf shlib/libhistory.so.5.2 libhistory.so + ln -sf shlib/libhistory.so.5.2 libhistory.so.5 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install htmldir=/usr/share/doc/packages/readline DESTDIR=${D} + make install-shared libdir=//usr/lib linkagedir=/usr/lib DESTDIR=${D} + rm -rf ${D}/usr/share/doc/packages/bash + rm -rf ${D}/usr/share/doc/packages/readline + chmod 0755 ${D}//usr/lib/libhistory.so.5.2 + chmod 0755 ${D}//usr/lib/libreadline.so.5.2 + rm -f ${D}//usr/lib/libhistory.so.5.2*old + rm -f ${D}//usr/lib/libreadline.so.5.2*old + # remove unpackaged files + #rm -fv ${D}/usr/lib/libhistory.so.* + #rm -fv ${D}/usr/lib/libreadline.so.* + rm -fv ${D}/usr/share/man/man3/history.3* + rm -fv ${D}/usr/share/info/*.info* + + +} + +PACKAGES = "" +PACKAGES += "libreadline" +PACKAGES += "readline-devel" + +libreadline_files = "" +libreadline_files += "readline.manifest" +libreadline_files += "/usr/lib/libhistory.so.5" +libreadline_files += "/usr/lib/libhistory.so.5.2" +libreadline_files += "/usr/lib/libreadline.so.5" +libreadline_files += "/usr/lib/libreadline.so.5.2" + +readline-devel_files = "" +readline-devel_files += "readline.manifest" +readline-devel_files += "/usr/include/readline/" +readline-devel_files += "/usr/lib/libhistory.a" +readline-devel_files += "/usr/lib/libhistory.so" +readline-devel_files += "/usr/lib/libreadline.a" +readline-devel_files += "/usr/lib/libreadline.so" +readline-devel_files += "/usr/share/man/man3/readline.3.gz" + +FILES_lib${PN} = "${libreadline_files}" +FILES_${PN}-devel = "${readline-devel_files}" + +PKG_libreadline= "libreadline" +PKG_readline-devel= "readline-devel" + +require readline-extraconf.inc diff --git a/meta-tizen/recipes-tizen/recordproto/recordproto-extraconf.inc b/meta-tizen/recipes-tizen/recordproto/recordproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/recordproto/recordproto-native_git.bb b/meta-tizen/recipes-tizen/recordproto/recordproto-native_git.bb new file mode 100644 index 0000000..260bf0a --- /dev/null +++ b/meta-tizen/recipes-tizen/recordproto/recordproto-native_git.bb @@ -0,0 +1,12 @@ +require recordproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/recordproto;protocol=ssh;tag=a49e8ebaed34dfc230be6c197702bcca900662c8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/recordproto/recordproto.inc b/meta-tizen/recipes-tizen/recordproto/recordproto.inc new file mode 100644 index 0000000..c5ed621 --- /dev/null +++ b/meta-tizen/recipes-tizen/recordproto/recordproto.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by recordproto +PROVIDES += "recordproto" +RPROVIDES_recordproto += "recordproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of recordproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/recordproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/recordproto + rm -rf ${D}/usr/share/doc/recordproto-1.14.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "recordproto" + +recordproto_files = "" +recordproto_files += "recordproto.manifest" +recordproto_files += "/usr/include/X11/extensions/*.h" +recordproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${recordproto_files}" + +PKG_recordproto= "recordproto" + +require recordproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/recordproto/recordproto_git.bb b/meta-tizen/recipes-tizen/recordproto/recordproto_git.bb new file mode 100644 index 0000000..b530993 --- /dev/null +++ b/meta-tizen/recipes-tizen/recordproto/recordproto_git.bb @@ -0,0 +1,8 @@ +require recordproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/recordproto;protocol=ssh;tag=a49e8ebaed34dfc230be6c197702bcca900662c8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/remix/remix-extraconf.inc b/meta-tizen/recipes-tizen/remix/remix-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/remix/remix-native_git.bb b/meta-tizen/recipes-tizen/remix/remix-native_git.bb new file mode 100644 index 0000000..80df32a --- /dev/null +++ b/meta-tizen/recipes-tizen/remix/remix-native_git.bb @@ -0,0 +1,12 @@ +require remix.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/remix;protocol=ssh;tag=bcfdce550685004fdfbca004c5efcaf13c76db21;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/remix/remix.inc b/meta-tizen/recipes-tizen/remix/remix.inc new file mode 100644 index 0000000..eabab43 --- /dev/null +++ b/meta-tizen/recipes-tizen/remix/remix.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "An audio sequencing and mixing library" +HOMEPAGE = "http://www.metadecks.org/software/remix/" +SECTION = "Multimedia/Audio" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libremix +PROVIDES += "libremix" +RPROVIDES_libremix += "libremix" + +#PROVIDES by remix-devel +PROVIDES += "remix-devel" +RPROVIDES_remix-devel += "remix-devel" +RPROVIDES_remix-devel += "remix-dev" + +#PROVIDES by remix +PROVIDES += "remix" +RPROVIDES_remix += "remix" + +RDEPENDS = "" +#RDEPENDS of remix-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libremix" + + +DEPENDS = "" +#DEPENDS of remix +DEPENDS += "pkgconfig(sndfile)" +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/remix.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/remix + rm -rf ${D}/usr/share/doc/remix-0.2.4 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libremix" +PACKAGES += "remix-devel" + +libremix_files = "" +libremix_files += "remix.manifest" +libremix_files += "/usr/lib/libremix.so.*" +libremix_files += "/usr/lib/libctxdata.so.*" +libremix_files += "/usr/lib/remix" +libremix_files += "/usr/lib/remix/libremix_ladspa*" +libremix_files += "/usr/lib/remix/libremix_noise*" + +remix-devel_files = "" +remix-devel_files += "remix.manifest" +remix-devel_files += "/usr/lib/libremix.so" +remix-devel_files += "/usr/lib/libctxdata.so" +remix-devel_files += "/usr/lib/pkgconfig/*.pc" +remix-devel_files += "/usr/include/ctxdata.h" +remix-devel_files += "/usr/include/remix" +remix-devel_files += "/usr/include/remix/*.h" + +FILES_lib${PN} = "${libremix_files}" +FILES_${PN}-devel = "${remix-devel_files}" + +PKG_libremix= "libremix" +PKG_remix-devel= "remix-devel" + +require remix-extraconf.inc diff --git a/meta-tizen/recipes-tizen/remix/remix_git.bb b/meta-tizen/recipes-tizen/remix/remix_git.bb new file mode 100644 index 0000000..2f4c4e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/remix/remix_git.bb @@ -0,0 +1,8 @@ +require remix.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/remix;protocol=ssh;tag=bcfdce550685004fdfbca004c5efcaf13c76db21;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/renderproto/renderproto-extraconf.inc b/meta-tizen/recipes-tizen/renderproto/renderproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/renderproto/renderproto-native_git.bb b/meta-tizen/recipes-tizen/renderproto/renderproto-native_git.bb new file mode 100644 index 0000000..613005e --- /dev/null +++ b/meta-tizen/recipes-tizen/renderproto/renderproto-native_git.bb @@ -0,0 +1,12 @@ +require renderproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/renderproto;protocol=ssh;tag=29b3c24d1d4288edc923e0d1d3f87831d0a23a47;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/renderproto/renderproto.inc b/meta-tizen/recipes-tizen/renderproto/renderproto.inc new file mode 100644 index 0000000..c66475e --- /dev/null +++ b/meta-tizen/recipes-tizen/renderproto/renderproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by renderproto +PROVIDES += "renderproto" +RPROVIDES_renderproto += "renderproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of renderproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/renderproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/renderproto + rm -rf ${D}/usr/share/doc/renderproto-0.11.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "renderproto" + +renderproto_files = "" +renderproto_files += "renderproto.manifest" +renderproto_files += "/usr/include/X11/extensions/*.h" +renderproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${renderproto_files}" + +PKG_renderproto= "renderproto" + +require renderproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/renderproto/renderproto_git.bb b/meta-tizen/recipes-tizen/renderproto/renderproto_git.bb new file mode 100644 index 0000000..11f8b02 --- /dev/null +++ b/meta-tizen/recipes-tizen/renderproto/renderproto_git.bb @@ -0,0 +1,8 @@ +require renderproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/renderproto;protocol=ssh;tag=29b3c24d1d4288edc923e0d1d3f87831d0a23a47;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/resourceproto/resourceproto-extraconf.inc b/meta-tizen/recipes-tizen/resourceproto/resourceproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/resourceproto/resourceproto-native_git.bb b/meta-tizen/recipes-tizen/resourceproto/resourceproto-native_git.bb new file mode 100644 index 0000000..650e920 --- /dev/null +++ b/meta-tizen/recipes-tizen/resourceproto/resourceproto-native_git.bb @@ -0,0 +1,12 @@ +require resourceproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/resourceproto;protocol=ssh;tag=95c570f683c13ce14d2179281b6c81b0f8d245ca;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/resourceproto/resourceproto.inc b/meta-tizen/recipes-tizen/resourceproto/resourceproto.inc new file mode 100644 index 0000000..70bd8fc --- /dev/null +++ b/meta-tizen/recipes-tizen/resourceproto/resourceproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by resourceproto +PROVIDES += "resourceproto" +RPROVIDES_resourceproto += "resourceproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of resourceproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/resourceproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/resourceproto + rm -rf ${D}/usr/share/doc/resourceproto-1.2.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "resourceproto" + +resourceproto_files = "" +resourceproto_files += "resourceproto.manifest" +resourceproto_files += "/usr/include/X11/extensions/*.h" +resourceproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${resourceproto_files}" + +PKG_resourceproto= "resourceproto" + +require resourceproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/resourceproto/resourceproto_git.bb b/meta-tizen/recipes-tizen/resourceproto/resourceproto_git.bb new file mode 100644 index 0000000..68043d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/resourceproto/resourceproto_git.bb @@ -0,0 +1,8 @@ +require resourceproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/resourceproto;protocol=ssh;tag=95c570f683c13ce14d2179281b6c81b0f8d245ca;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rfkill/rfkill-extraconf.inc b/meta-tizen/recipes-tizen/rfkill/rfkill-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rfkill/rfkill-native_git.bb b/meta-tizen/recipes-tizen/rfkill/rfkill-native_git.bb new file mode 100644 index 0000000..38d83e9 --- /dev/null +++ b/meta-tizen/recipes-tizen/rfkill/rfkill-native_git.bb @@ -0,0 +1,12 @@ +require rfkill.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rfkill;protocol=ssh;tag=8fdd6c46986b07bc8c354f7f8e0af8b233eb4055;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rfkill/rfkill.inc b/meta-tizen/recipes-tizen/rfkill/rfkill.inc new file mode 100644 index 0000000..b13335a --- /dev/null +++ b/meta-tizen/recipes-tizen/rfkill/rfkill.inc @@ -0,0 +1,84 @@ +DESCRIPTION = "Tool for enabling and disabling wireless devices" +HOMEPAGE = "http://wireless.kernel.org/download/rfkill/" +SECTION = "Productivity/Networking/Other" +LICENSE = "ISC" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rfkill-docs +PROVIDES += "rfkill-docs " +RPROVIDES_rfkill-docs += "rfkill-docs " + +#PROVIDES by rfkill +PROVIDES += "rfkill" +RPROVIDES_rfkill += "rfkill" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/rfkill.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -Dm755 rfkill ${D}/usr/sbin/rfkill + install -Dm644 rfkill.8 ${D}/usr/share/man/man8/rfkill.8 + + + +} + +PACKAGES = "" +PACKAGES += "rfkill-docs" +PACKAGES += "rfkill" + +rfkill-docs_files = "" +rfkill-docs_files += "/usr/share/info" +rfkill-docs_files += "/usr/share/man" + +rfkill_files = "" +rfkill_files += "rfkill.manifest" +rfkill_files += "COPYING" +rfkill_files += "/usr/sbin/rfkill" + +FILES_${PN}-docs = "${rfkill-docs_files}" +FILES_${PN} = "${rfkill_files}" + +PKG_rfkill-docs= "rfkill-docs" +PKG_rfkill= "rfkill" + +require rfkill-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rfkill/rfkill_git.bb b/meta-tizen/recipes-tizen/rfkill/rfkill_git.bb new file mode 100644 index 0000000..8402941 --- /dev/null +++ b/meta-tizen/recipes-tizen/rfkill/rfkill_git.bb @@ -0,0 +1,8 @@ +require rfkill.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rfkill;protocol=ssh;tag=8fdd6c46986b07bc8c354f7f8e0af8b233eb4055;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rng-tools/rng-tools-extraconf.inc b/meta-tizen/recipes-tizen/rng-tools/rng-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rng-tools/rng-tools-native_git.bb b/meta-tizen/recipes-tizen/rng-tools/rng-tools-native_git.bb new file mode 100644 index 0000000..a924db9 --- /dev/null +++ b/meta-tizen/recipes-tizen/rng-tools/rng-tools-native_git.bb @@ -0,0 +1,12 @@ +require rng-tools.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rng-tools;protocol=ssh;tag=06763962209d71b8d6e48e1c73c643b10636fb73;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rng-tools/rng-tools.inc b/meta-tizen/recipes-tizen/rng-tools/rng-tools.inc new file mode 100644 index 0000000..a4ec3d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/rng-tools/rng-tools.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "A random number generator daemon" +HOMEPAGE = "http://sourceforge.net/projects/gkernel" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rng-tools +PROVIDES += "rng-tools" +RPROVIDES_rng-tools += "rng-tools" + +#PROVIDES by rng-tools-docs +PROVIDES += "rng-tools-docs " +RPROVIDES_rng-tools-docs += "rng-tools-docs " + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/rng-tools.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -Dm0644 ${S}/packaging/rngd.service ${D}/usr/lib/systemd/system/rngd.service + + + +} + +PACKAGES = "" +PACKAGES += "rng-tools" +PACKAGES += "rng-tools-docs" + +rng-tools_files = "" +rng-tools_files += "rng-tools.manifest" +rng-tools_files += "/usr/bin/rngtest" +rng-tools_files += "/usr/lib/systemd/system/rngd.service" +rng-tools_files += "/usr/sbin/rngd" + +rng-tools-docs_files = "" +rng-tools-docs_files += "/usr/share/info" +rng-tools-docs_files += "/usr/share/man" + +FILES_${PN} = "${rng-tools_files}" +FILES_${PN}-docs = "${rng-tools-docs_files}" + +PKG_rng-tools= "rng-tools" +PKG_rng-tools-docs= "rng-tools-docs" + +require rng-tools-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rng-tools/rng-tools_git.bb b/meta-tizen/recipes-tizen/rng-tools/rng-tools_git.bb new file mode 100644 index 0000000..e57fd95 --- /dev/null +++ b/meta-tizen/recipes-tizen/rng-tools/rng-tools_git.bb @@ -0,0 +1,8 @@ +require rng-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rng-tools;protocol=ssh;tag=06763962209d71b8d6e48e1c73c643b10636fb73;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/route/route-extraconf.inc b/meta-tizen/recipes-tizen/route/route-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/route/route-native_git.bb b/meta-tizen/recipes-tizen/route/route-native_git.bb new file mode 100644 index 0000000..3f0bf0a --- /dev/null +++ b/meta-tizen/recipes-tizen/route/route-native_git.bb @@ -0,0 +1,12 @@ +require route.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/route;protocol=ssh;tag=2c419cf9945bc8628821828efcea7b10994c25f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/route/route.inc b/meta-tizen/recipes-tizen/route/route.inc new file mode 100644 index 0000000..02fdd56 --- /dev/null +++ b/meta-tizen/recipes-tizen/route/route.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "A Location Route library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-location-route +PROVIDES += "capi-location-route" +RPROVIDES_capi-location-route += "capi-location-route" + +#PROVIDES by capi-location-route-devel +PROVIDES += "capi-location-route-devel" +RPROVIDES_capi-location-route-devel += "capi-location-route-devel" +RPROVIDES_capi-location-route-devel += "capi-location-route-dev" + +RDEPENDS = "" +#RDEPENDS of capi-location-route-devel (capi-location-${PN}-devel) +RDEPENDS_capi-location-${PN}-devel += "capi-location-route" + + +DEPENDS = "" +#DEPENDS of capi-location-route +DEPENDS += "pkgconfig(location)" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "pkgconfig(capi-location-manager)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-location-route.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.4 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.4 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-location-route" +PACKAGES += "capi-location-route-devel" + +capi-location-route_files = "" +capi-location-route_files += "capi-location-route.manifest" +capi-location-route_files += "/usr/lib/libcapi-location-route.so.*" + +capi-location-route-devel_files = "" +capi-location-route-devel_files += "capi-location-route.manifest" +capi-location-route-devel_files += "/usr/include/location/*.h" +capi-location-route-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-location-route-devel_files += "/usr/lib/libcapi-location-route.so" + +FILES_${PN} = "${capi-location-route_files}" +FILES_${PN}-devel = "${capi-location-route-devel_files}" + +PKG_capi-location-route= "capi-location-route" +PKG_capi-location-route-devel= "capi-location-route-devel" + +require route-extraconf.inc diff --git a/meta-tizen/recipes-tizen/route/route_git.bb b/meta-tizen/recipes-tizen/route/route_git.bb new file mode 100644 index 0000000..edd2501 --- /dev/null +++ b/meta-tizen/recipes-tizen/route/route_git.bb @@ -0,0 +1,8 @@ +require route.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/route;protocol=ssh;tag=2c419cf9945bc8628821828efcea7b10994c25f5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpm-installer/rpm-installer-extraconf.inc b/meta-tizen/recipes-tizen/rpm-installer/rpm-installer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpm-installer/rpm-installer.inc b/meta-tizen/recipes-tizen/rpm-installer/rpm-installer.inc new file mode 100644 index 0000000..fd83b75 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpm-installer/rpm-installer.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "Native rpm installer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "rpm-installer" + +rpm-installer_files = "" +rpm-installer_files += "rpm-installer.manifest" + +FILES_${PN} = "${rpm-installer_files}" + +PKG_rpm-installer= "rpm-installer" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require rpm-installer-rdepends.inc +require rpm-installer-depends.inc +require rpm-installer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpm/rpm-extraconf.inc b/meta-tizen/recipes-tizen/rpm/rpm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpm/rpm.inc b/meta-tizen/recipes-tizen/rpm/rpm.inc new file mode 100644 index 0000000..0d604ea --- /dev/null +++ b/meta-tizen/recipes-tizen/rpm/rpm.inc @@ -0,0 +1,366 @@ +DESCRIPTION = "The RPM Package Manager" +HOMEPAGE = "http://www.rpm.org" +SECTION = "Base/Package Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rpm-security-plugin +PROVIDES += "rpm-security-plugin" +RPROVIDES_rpm-security-plugin += "rpm-security-plugin" + +#PROVIDES by rpm-build +PROVIDES += "rpm-build" +RPROVIDES_rpm-build += "rpm-build" +# the PROVIDES rules is ignore "rpmbuild " +PROVIDES += "rpmbuild" +RPROVIDES_rpm-build += "rpmbuild" +# the PROVIDES rules is ignore "rpm:/usr/bin/rpmbuild " +PROVIDES += "rpm:/usr/bin/rpmbuild" +RPROVIDES_rpm-build += "rpm:/usr/bin/rpmbuild" + +#PROVIDES by rpm-locale +PROVIDES += "rpm-locale " +RPROVIDES_rpm-locale += "rpm-locale " +# the PROVIDES rules is ignore "rpm-lang-all = 4.11.0.1" +PROVIDES += "rpm-lang-all" +RPROVIDES_rpm-locale += "rpm-lang-all" + +#PROVIDES by rpm-devel +PROVIDES += "rpm-devel" +RPROVIDES_rpm-devel += "rpm-devel" +RPROVIDES_rpm-devel += "rpm-dev" + +#PROVIDES by rpm +PROVIDES += "rpm" +RPROVIDES_rpm += "rpm" +# the PROVIDES rules is ignore "rpminst " +PROVIDES += "rpminst" +RPROVIDES_rpm += "rpminst" +# the PROVIDES rules is ignore "rpm-libs " +PROVIDES += "rpm-libs" +RPROVIDES_rpm += "rpm-libs" + +#PROVIDES by rpm-docs +PROVIDES += "rpm-docs " +RPROVIDES_rpm-docs += "rpm-docs " + +RDEPENDS = "" +#RDEPENDS of rpm-security-plugin (${PN}-security-plugin) +RDEPENDS_${PN}-security-plugin += "libxml2" +RDEPENDS_${PN}-security-plugin += "smack" +RDEPENDS_${PN}-security-plugin += "nss" +RDEPENDS_${PN}-security-plugin += "rpm" + +#RDEPENDS of rpm-build (${PN}-build) +RDEPENDS_${PN}-build += "glibc-dev" +RDEPENDS_${PN}-build += "bzip2" +RDEPENDS_${PN}-build += "make" +RDEPENDS_${PN}-build += "gcc" +RDEPENDS_${PN}-build += "patch" +RDEPENDS_${PN}-build += "xz" +RDEPENDS_${PN}-build += "findutils" +RDEPENDS_${PN}-build += "gzip" +RDEPENDS_${PN}-build += "rpm" +RDEPENDS_${PN}-build += "binutils" + +#RDEPENDS of rpm-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "rpm" + +#RDEPENDS of rpm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "popt-dev" +RDEPENDS_${PN}-devel += "rpm" + + +DEPENDS = "" +#DEPENDS of rpm +DEPENDS += "pkgconfig(nss)" +DEPENDS += "findutils" +DEPENDS += "file" +DEPENDS += "popt" +DEPENDS += "patch" +DEPENDS += "make" +DEPENDS += "gcc-cross" +DEPENDS += "xz-devel" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "lua-native" +DEPENDS += "uthash-devel" +DEPENDS += "libcap" +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "ncurses" +DEPENDS += "bzip2" +DEPENDS += "libtool-cross" +DEPENDS += "attr" +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "acl" +DEPENDS += "gzip" +DEPENDS += "elfutils" +DEPENDS += "binutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n rpm-4.11.0.1 + ### PREP BEGIN ### + cp ${S}/packaging/rpm.manifest . + rm -rf sqlite + tar xjf ${S}/packaging/db-4.8.30.tar.bz2 + ln -s db-4.8.30 db + chmod -R u+w db/* + # will get linked from db3 + rm -f rpmdb/db.h + patch -p0 < ${S}/packaging/db-4.8.30-integration.dif + + if [ -s /etc/rpm/tizen_macros ]; then + cp -a /etc/rpm/tizen_macros ${S}/packaging/rpm-tizen_macros + fi + cp -a ${S}/packaging/rpm-tizen_macros tizen_macros + rm -f m4/libtool.m4 + rm -f m4/lt*.m4 + ### PREP END ### + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ### BUILD BEGIN ### + CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`" + export CPPFLAGS + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -ffunction-sections" + export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections" + + BUILDTARGET="--build=x86_64-tizen-linux" + + export CCFLAGS+=" -fPIC " + export CXXFLAGS+=" -fPIC " + export CFLAGS+=" -fPIC " + + cd db3 + ./configure --build=${TARGET_SYS} --host=x86_64-linux-gnu + cd .. + + cp db3/configure db3/configure.ac + autoreconf -Wcross --verbose --install --force + ./configure --build=${TARGET_SYS} --host=x86_64-linux-gnu \ + --disable-dependency-tracking \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-lua \ + --with-acl \ + --with-cap \ + --enable-shared \ + --with-msm $BUILDTARGET + + make -j16 + ### BUILD END ### + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/lib + mkdir -p ${D}/usr/share/locale + ln -s ../share/locale ${D}/usr/lib/locale + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -m 644 db3/db.h ${D}/usr/include/rpm + # remove .la file and the static variant of libpopt + # have to remove the dependency from other .la files as well + #for f in ${D}//usr/lib/*.la; do + # sed -i -e "s,/lib/libpopt.la,-lpopt,g" $f + #done + mkdir -p ${D}/etc/rpm + cp -a tizen_macros ${D}/usr/lib/rpm + mkdir -p ${D}/usr/lib/rpm/tizen + install -m 755 ${S}/packaging/find-docs.sh ${D}/usr/lib/rpm/tizen + install -m 755 ${S}/packaging/find-provides.ksyms ${D}/usr/lib/rpm + install -m 644 ${S}/packaging/device-sec-policy ${D}/etc/device-sec-policy + install -m 644 ${S}/packaging/device-sec-policy ${D}/usr/lib/rpm-plugins/msm-device-sec-policy + ln -s ../tizen_macros ${D}/usr/lib/rpm/tizen/macros + for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do + mkdir -p ${D}/usr/src/packages/$d + chmod 755 ${D}/usr/src/packages/$d + done + for d in ${D}/usr/lib/rpm/platform/*-linux/macros ; do + dd=${d%-linux/macros} + dd=${dd##*/} + mkdir ${D}/usr/src/packages/RPMS/$dd + chmod 755 ${D}/usr/src/packages/RPMS/$dd + done + mkdir -p ${D}/var/lib/rpm + gzip -9 ${D}//usr/share/man/man[18]/*.[18] + export RPM_BUILD_ROOT + chmod 755 doc/manual + rm -rf doc/manual/Makefile* + rm -f ${D}/usr/lib/rpmpopt + rm -rf ${D}/usr/share/man/{fr,ja,ko,pl,ru,sk} + rm -f ${D}/usr/share/locale/de/LC_MESSAGES/rpm.mo + rm -f ${D}/usr/lib/rpm/cpanflute ${D}/usr/lib/rpm/cpanflute2 + install -m 755 scripts/find-supplements{,.ksyms} ${D}/usr/lib/rpm + install -m 755 scripts/firmware.prov ${D}/usr/lib/rpm + install -m 755 scripts/debuginfo.prov ${D}/usr/lib/rpm + rm -f ${D}/usr/lib/locale ${D}/usr/lib/rpmrc + mkdir -p ${D}/etc/rpm + chmod 755 ${D}/etc/rpm + mkdir -p ${D}/usr/lib/rpm/macros.d + # remove some nonsense or non-working scripts + pushd ${D}/usr/lib/rpm/ + for f in rpm2cpio.sh rpm.daily rpmdiff* rpm.log rpm.xinetd freshen.sh u_pkg.sh \ + magic magic.mgc magic.mime* rpmfile *.pl javadeps brp-redhat \ + brp-strip-static-archive vpkg-provides*.sh http.req sql.req tcl.req \ + rpmdb_* brp-sparc64-linux brp-strip-comment-note brp-java-gcjcompile + do + rm -f $f + done + for i in /usr/share/automake-*/*; do + if test -f "$i" && test -f "${i##*/}"; then + rm -f "${i##*/}" + fi + done + popd + rm -rf ${D}//usr/lib/python2.7 + rm -f ${D}/usr/lib/*.la + rm -f ${D}/usr/lib/rpm-plugins/*.la + sh ${D}/usr/lib/rpm/find-lang.sh ${D} rpm + + +} + +PACKAGES = "" +PACKAGES += "rpm-security-plugin" +PACKAGES += "rpm-build" +PACKAGES += "rpm-devel" +PACKAGES += "rpm-locale" +PACKAGES += "rpm-docs" +PACKAGES += "rpm" + +rpm-security-plugin_files = "" +rpm-security-plugin_files += "rpm.manifest" +rpm-security-plugin_files += "/usr/lib/rpm-plugins/msm.so" +rpm-security-plugin_files += "/usr/lib/rpm-plugins/msm-device-sec-policy" +rpm-security-plugin_files += "/etc/device-sec-policy" + +rpm-build_files = "" +rpm-build_files += "rpm.manifest" +rpm-build_files += "/usr/bin/rpmbuild" +rpm-build_files += "/usr/bin/gendiff" +rpm-build_files += "/usr/bin/rpmspec" +rpm-build_files += "/usr/bin/rpmsign" +rpm-build_files += "/usr/lib/rpm/tizen/find-*" +rpm-build_files += "/usr/lib/rpm/brp-*" +rpm-build_files += "/usr/lib/rpm/find-supplements*" +rpm-build_files += "/usr/lib/rpm/check-*" +rpm-build_files += "/usr/lib/rpm/debugedit" +rpm-build_files += "/usr/lib/rpm/find-debuginfo.sh" +rpm-build_files += "/usr/lib/rpm/find-lang.sh" +rpm-build_files += "/usr/lib/rpm/find-provides.ksyms" +rpm-build_files += "/usr/lib/rpm/*provides*" +rpm-build_files += "/usr/lib/rpm/*requires*" +rpm-build_files += "/usr/lib/rpm/*deps*" +rpm-build_files += "/usr/lib/rpm/*.prov" +rpm-build_files += "/usr/lib/rpm/*.req" +rpm-build_files += "/usr/lib/rpm/macros.*" +rpm-build_files += "/usr/lib/rpm/fileattrs" + +rpm-devel_files = "" +rpm-devel_files += "rpm.manifest" +rpm-devel_files += "/usr/bin/rpmgraph" +rpm-devel_files += "/usr/include/rpm" +rpm-devel_files += "/usr/lib/librpm.so" +rpm-devel_files += "/usr/lib/librpmbuild.so" +rpm-devel_files += "/usr/lib/librpmio.so" +rpm-devel_files += "/usr/lib/librpmsign.so" +rpm-devel_files += "/usr/lib/pkgconfig/rpm.pc" + +rpm-locale_files = "" + +rpm-docs_files = "" +rpm-docs_files += "/usr/share/info" +rpm-docs_files += "/usr/share/man" +rpm-docs_files += "GROUPS" + +rpm_files = "" +rpm_files += "rpm.manifest" +rpm_files += "/etc/rpm" +rpm_files += "/bin/rpm" +rpm_files += "/usr/bin/rpm2cpio" +rpm_files += "/usr/bin/rpmdb" +rpm_files += "/usr/bin/rpmkeys" +rpm_files += "/usr/bin/rpmquery" +rpm_files += "/usr/bin/rpmverify" +rpm_files += "/usr/bin/rpmqpack" +rpm_files += "/usr/lib/rpm/macros" +rpm_files += "/usr/lib/rpm/macros.d" +rpm_files += "/usr/lib/rpm/rpmpopt*" +rpm_files += "/usr/lib/rpm/rpmrc" +rpm_files += "/usr/lib/rpm/tizen/macros" +rpm_files += "/usr/lib/rpm/tizen_macros" +rpm_files += "/usr/lib/rpm/rpm.supp" +rpm_files += "/usr/lib/rpm/tgpg" +rpm_files += "/usr/lib/rpm/platform" +rpm_files += "/usr/lib/rpm-plugins" +rpm_files += "/usr/lib/rpm-plugins/exec.so" +rpm_files += "/usr/lib/librpm.so.*" +rpm_files += "/usr/lib/librpmio.so.*" +rpm_files += "/usr/lib/librpmbuild.so.*" +rpm_files += "/usr/lib/librpmsign.so.*" +rpm_files += "/var/lib/rpm" +#Remove rpm attribut "%attr(755,root,root)" +rpm_files += "/usr/src/packages/BUILD" +#Remove rpm attribut "%attr(755,root,root)" +rpm_files += "/usr/src/packages/SPECS" +#Remove rpm attribut "%attr(755,root,root)" +rpm_files += "/usr/src/packages/SOURCES" +#Remove rpm attribut "%attr(755,root,root)" +rpm_files += "/usr/src/packages/SRPMS" + +FILES_${PN}-security-plugin = "${rpm-security-plugin_files}" +FILES_${PN}-build = "${rpm-build_files}" +FILES_${PN}-devel = "${rpm-devel_files}" +FILES_${PN}-locale = "${rpm-locale_files}" +FILES_${PN}-docs = "${rpm-docs_files}" +FILES_${PN} = "${rpm_files}" + +PKG_rpm-security-plugin= "rpm-security-plugin" +PKG_rpm-build= "rpm-build" +PKG_rpm-devel= "rpm-devel" +PKG_rpm-locale= "rpm-locale" +PKG_rpm-docs= "rpm-docs" +PKG_rpm= "rpm" + +require rpm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpm/rpm_git.bb b/meta-tizen/recipes-tizen/rpm/rpm_git.bb new file mode 100644 index 0000000..8c11fae --- /dev/null +++ b/meta-tizen/recipes-tizen/rpm/rpm_git.bb @@ -0,0 +1,8 @@ +require rpm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpm;protocol=ssh;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-extraconf.inc b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-native_git.bb b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-native_git.bb new file mode 100644 index 0000000..0ba2449 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini-native_git.bb @@ -0,0 +1,12 @@ +require rpmlint-mini.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint-mini;protocol=ssh;tag=811427acbd1eea9ee2031905e97d35e7c3461320;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini.inc b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini.inc new file mode 100644 index 0000000..498d44a --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini.inc @@ -0,0 +1,172 @@ +DESCRIPTION = "Rpm correctness checker" +HOMEPAGE = "http://rpmlint.zarb.org/" +SECTION = "System/Packages" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rpmlint-mini +PROVIDES += "rpmlint-mini" +RPROVIDES_rpmlint-mini += "rpmlint-mini" + +RDEPENDS = "" +#RDEPENDS of rpmlint-mini (${PN}) +RDEPENDS_${PN} += "cpio" + + +DEPENDS = "" +#DEPENDS of rpmlint-mini +DEPENDS += "glib" +DEPENDS += "python-rpm" +DEPENDS += "dash" +inherit pythonnative +DEPENDS += "rpmlint" +DEPENDS += "libtool-cross" +DEPENDS += "python-magic" + +do_patch() { + #extracte source 99 + pushd ${S}/../ + unp ${S}/packaging/desktop-file-utils-0.20.tar.xz + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -b 99 + cp ${S}/packaging/rpmlint-mini.manifest . + cd ../desktop-file-utils-0.20 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd ../desktop-file-utils-0.20 + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + pushd src + make desktop-file-validate V=1 DESKTOP_FILE_UTILS_LIBS="/usr/lib/libglib-2.0.a -lpthread -lrt" + popd + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd ../desktop-file-utils-0.20 + pwd + # test if the rpmlint works at all + set +e + /usr/bin/rpmlint rpmlint + test $? -gt 0 -a $? -lt 60 && exit 1 + set -e + # okay, lets put it together + mkdir -p $RPM_BUILD_ROOT/opt/testing/share/rpmlint + install -m 755 -D src/desktop-file-validate $RPM_BUILD_ROOT/opt/testing/bin/desktop-file-validate + cp -a /usr/share/rpmlint/*.py $RPM_BUILD_ROOT/opt/testing/share/rpmlint + # install config files + install -d -m 755 $RPM_BUILD_ROOT/opt/testing/share/rpmlint/mini + for i in /etc/rpmlint/{licenses,rpmgroups,pie}.config; do + cp $i $RPM_BUILD_ROOT/opt/testing/share/rpmlint/mini + done + install -m 644 -D /usr/share/rpmlint/config $RPM_BUILD_ROOT/opt/testing/share/rpmlint/config + install -m 644 "${S}/packaging/rpmlint-mini.config" $RPM_BUILD_ROOT/opt/testing/share/rpmlint + # extra data + install -m 755 -d $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data + #install -m 644 /etc/polkit-default-privs.standard $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data + install -m 644 -D /usr/include/python2.7/pyconfig.h $RPM_BUILD_ROOT/opt/testing/include/python2.7/pyconfig.h + # + cd /usr/lib/python2.7 + for f in $(<${S}/packaging/rpmlint-deps.txt); do + echo $f + find -path "*/$f" -exec install -D {} $RPM_BUILD_ROOT/opt/testing/lib/python2.7/{} \; + done + install -m 644 /usr/lib/python2.7/site-packages/magic.py $RPM_BUILD_ROOT/opt/testing/lib/python2.7/site-packages/magic.py + install -D /usr/bin/python $RPM_BUILD_ROOT/opt/testing/bin/python + cp -a /usr/lib/libmagic.so.* $RPM_BUILD_ROOT/opt/testing/lib + cp -a /usr/lib/libpython2.7.so.* $RPM_BUILD_ROOT/opt/testing/lib + cp -a /usr/bin/rpmlint $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.py + pushd $RPM_BUILD_ROOT/opt/testing/share/rpmlint + PYTHONOPTIMIZE=1 python /usr/lib/python2.7/py_compile.py *.py + rm *.py + popd + pushd $RPM_BUILD_ROOT/opt/testing/lib/python2.7/site-packages/ + PYTHONOPTIMIZE=1 python /usr/lib/python2.7/py_compile.py *.py + rm *.py + popd + rm -rf $RPM_BUILD_ROOT/{usr,etc} + rm -f $RPM_BUILD_ROOT/opt/testing/bin/rpmlint + install -m 755 -D ${S}/packaging/rpmlint.wrapper $RPM_BUILD_ROOT/opt/testing/bin/rpmlint + # hackatlon + cat << EOF > ${WORKDIR}/git/rpmlint-mini-requires + cat - > file.list + /usr/share/spec2yocto/macro/find-requires rpmlint-mini < file.list > requires.list + /usr/share/spec2yocto/macro/find-provides rpmlint-mini < file.list > provides.list + while read i; do + grep -F -v "\$i" requires.list > requires.list.new + mv requires.list.new requires.list + done < provides.list + cat requires.list + rm -f requires.list provides.list file.list + EOF + chmod +x ${WORKDIR}/git/rpmlint-mini-requires + # final run check to detect python dep changes + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/opt/testing/lib + PYTHONPATH=$RPM_BUILD_ROOT/opt/testing/share/rpmlint + export PYTHONPATH LD_LIBRARY_PATH + $RPM_BUILD_ROOT/opt/testing/bin/python -tt -u -O $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.pyo --help || exit 1 + echo ".. ok" + + + +} + +PACKAGES = "" +PACKAGES += "rpmlint-mini" + +rpmlint-mini_files = "" +rpmlint-mini_files += "rpmlint-mini.manifest" +rpmlint-mini_files += "/opt/testing" + +FILES_${PN} = "${rpmlint-mini_files}" + +PKG_rpmlint-mini= "rpmlint-mini" + +require rpmlint-mini-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini_git.bb b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini_git.bb new file mode 100644 index 0000000..fa781a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-mini/rpmlint-mini_git.bb @@ -0,0 +1,8 @@ +require rpmlint-mini.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint-mini;protocol=ssh;tag=811427acbd1eea9ee2031905e97d35e7c3461320;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-extraconf.inc b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-native_git.bb b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-native_git.bb new file mode 100644 index 0000000..47fc767 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen-native_git.bb @@ -0,0 +1,12 @@ +require rpmlint-tizen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint-tizen;protocol=ssh;tag=f16ab02b9e5f12fdfd375351acf5ff0455c58215;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen.inc b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen.inc new file mode 100644 index 0000000..a956062 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen.inc @@ -0,0 +1,82 @@ +DESCRIPTION = "Rpm correctness checker - Tizen Trunk configuration" +HOMEPAGE = "http://rpmlint.zarb.org/" +SECTION = "System/Packages" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rpmlint-tizen +PROVIDES += "rpmlint-tizen" +RPROVIDES_rpmlint-tizen += "rpmlint-tizen" + +#PROVIDES by rpmlint-tizen-strict +PROVIDES += "rpmlint-tizen-strict" +RPROVIDES_rpmlint-tizen-strict += "rpmlint-tizen-strict" + +RDEPENDS = "" +#RDEPENDS of rpmlint-tizen (${PN}) +RDEPENDS_${PN} += "rpmlint-mini" + + +DEPENDS = "" + +do_patch() { + cp ${S}/packaging/COPYING . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -m 644 -D ${S}/packaging/config $RPM_BUILD_ROOT/etc/rpmlint/factory.config + install -m 644 -D ${S}/packaging/config.strict $RPM_BUILD_ROOT/etc/rpmlint/factory-strict.config + + +} + +PACKAGES = "" +PACKAGES += "rpmlint-tizen" +PACKAGES += "rpmlint-tizen-strict" + +rpmlint-tizen_files = "" +rpmlint-tizen_files += "/etc/rpmlint" +rpmlint-tizen_files += "/etc/rpmlint/factory.config" + +rpmlint-tizen-strict_files = "" +rpmlint-tizen-strict_files += "/etc/rpmlint" +rpmlint-tizen-strict_files += "/etc/rpmlint/factory-strict.config" + +FILES_${PN} = "${rpmlint-tizen_files}" +FILES_${PN}-strict = "${rpmlint-tizen-strict_files}" + +PKG_rpmlint-tizen= "rpmlint-tizen" +PKG_rpmlint-tizen-strict= "rpmlint-tizen-strict" + +require rpmlint-tizen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen_git.bb b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen_git.bb new file mode 100644 index 0000000..6fa8e5f --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint-tizen/rpmlint-tizen_git.bb @@ -0,0 +1,8 @@ +require rpmlint-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint-tizen;protocol=ssh;tag=f16ab02b9e5f12fdfd375351acf5ff0455c58215;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint/rpmlint-extraconf.inc b/meta-tizen/recipes-tizen/rpmlint/rpmlint-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpmlint/rpmlint-native_git.bb b/meta-tizen/recipes-tizen/rpmlint/rpmlint-native_git.bb new file mode 100644 index 0000000..5d57e2f --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint/rpmlint-native_git.bb @@ -0,0 +1,12 @@ +require rpmlint.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint;protocol=ssh;tag=2a2ab3bb783a40c9b0610f84723202be197ba86c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmlint/rpmlint.inc b/meta-tizen/recipes-tizen/rpmlint/rpmlint.inc new file mode 100644 index 0000000..c75fc41 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint/rpmlint.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "Rpm correctness checker" +HOMEPAGE = "http://rpmlint.zarb.org/" +SECTION = "Development/Packaging" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rpmlint +PROVIDES += "rpmlint" +RPROVIDES_rpmlint += "rpmlint" + +RDEPENDS = "" +#RDEPENDS of rpmlint (${PN}) +RDEPENDS_${PN} += "python-rpm" +RDEPENDS_${PN} += "cpio" +RDEPENDS_${PN} += "dash" +RDEPENDS_${PN} += "findutils" +RDEPENDS_${PN} += "file" +RDEPENDS_${PN} += "python-magic" +RDEPENDS_${PN} += "desktop-file-utils" +RDEPENDS_${PN} += "/usr/bin/readelf" +RDEPENDS_${PN} += "bash" + + +DEPENDS = "" +#DEPENDS of rpmlint +DEPENDS += "python-rpm" +DEPENDS += "xz" + +do_patch() { + #extracte source 1 + pushd ${S} + unp ${S}/packaging/rpmlint-checks-master.tar.gz + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n rpmlint-1.4 -a1 + cp ${S}/packaging/rpmlint.manifest . + cp ${S}/packaging/config . + # Only move top-level python files + chmod 0755 rpmlint-checks-master/*.py + mv rpmlint-checks-master/*.py . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # the provided bash-completion does not work and only prints bash errors + rm -rf ${D}/etc/bash_completion.d + mv ${D}/etc/rpmlint/config ${D}/usr/share/rpmlint/config + head -n 8 ${D}/usr/share/rpmlint/config > ${D}/etc/rpmlint/config + # make sure that the package is sane + python -tt ${S}/packaging/syntax-validator.py ${D}/usr/share/rpmlint/*.py ${D}/usr/share/rpmlint/config + install -m 644 ${S}/packaging/rpmgroups.config ${D}//etc/rpmlint/ + install -m 644 ${S}/packaging/pie.config ${D}//etc/rpmlint/ + install -m 644 ${S}/packaging/licenses.config ${D}//etc/rpmlint/ + + + +} + +PACKAGES = "" +PACKAGES += "rpmlint" + +rpmlint_files = "" +rpmlint_files += "rpmlint.manifest" +rpmlint_files += "/usr/bin/*" +rpmlint_files += "/usr/share/rpmlint" +rpmlint_files += "/etc/rpmlint/config" +rpmlint_files += "/etc/rpmlint/licenses.config" +rpmlint_files += "/etc/rpmlint/rpmgroups.config" +rpmlint_files += "/etc/rpmlint/pie.config" +rpmlint_files += "/etc/rpmlint" +rpmlint_files += "/usr/share/man/man1/rpmlint.1.gz" + +FILES_${PN} = "${rpmlint_files}" + +PKG_rpmlint= "rpmlint" + +require rpmlint-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpmlint/rpmlint_git.bb b/meta-tizen/recipes-tizen/rpmlint/rpmlint_git.bb new file mode 100644 index 0000000..7da8876 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmlint/rpmlint_git.bb @@ -0,0 +1,8 @@ +require rpmlint.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmlint;protocol=ssh;tag=2a2ab3bb783a40c9b0610f84723202be197ba86c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmorphan/rpmorphan-extraconf.inc b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rpmorphan/rpmorphan-native_git.bb b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan-native_git.bb new file mode 100644 index 0000000..a293756 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan-native_git.bb @@ -0,0 +1,12 @@ +require rpmorphan.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmorphan;protocol=ssh;tag=901aa7f38cb8841312a4d9f4752a235d31d01850;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rpmorphan/rpmorphan.inc b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan.inc new file mode 100644 index 0000000..af8b781 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "List packages that have no dependencies (like deborphan)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rpmorphan +PROVIDES += "rpmorphan" +RPROVIDES_rpmorphan += "rpmorphan" + +RDEPENDS = "" +#RDEPENDS of rpmorphan (${PN}) +RDEPENDS_${PN} += "rpm" +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/rpmorphan.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "rpmorphan" + +rpmorphan_files = "" +rpmorphan_files += "rpmorphan.manifest" +rpmorphan_files += "COPYING" +rpmorphan_files += "/usr/bin/rpmorphan-lib.pl" +rpmorphan_files += "/usr/bin/rpmorphan-curses-lib.pl" +rpmorphan_files += "/usr/bin/rpmorphan-tk-lib.pl" +rpmorphan_files += "/usr/bin/rpmorphan.pl" +rpmorphan_files += "/usr/bin/rpmorphan" +rpmorphan_files += "/usr/bin/grpmorphan" +rpmorphan_files += "/usr/bin/rpmusage.pl" +rpmorphan_files += "/usr/bin/rpmusage" +rpmorphan_files += "/usr/bin/rpmdep.pl" +rpmorphan_files += "/usr/bin/rpmdep" +rpmorphan_files += "/usr/bin/rpmduplicates.pl" +rpmorphan_files += "/usr/bin/rpmduplicates" +rpmorphan_files += "/usr/bin/rpmextra.pl" +rpmorphan_files += "/usr/bin/rpmextra" +rpmorphan_files += "/var/lib/rpmorphan" +#Remove rpm attribut "%attr(644, root, root)" +rpmorphan_files += "/var/lib/rpmorphan/keep" +rpmorphan_files += "/usr/lib/rpmorphan" +rpmorphan_files += "/usr/lib/rpmorphan/locale" +rpmorphan_files += "/usr/lib/rpmorphan/locale/en" +rpmorphan_files += "/usr/lib/rpmorphan/locale/fr_FR" +rpmorphan_files += "/etc/logrotate.d/rpmorphan" +rpmorphan_files += "/etc/rpmorphanrc" +rpmorphan_files += "/usr/share/man/man1/rpmorphan.1*" +rpmorphan_files += "/usr/share/man/man1/rpmusage.1*" +rpmorphan_files += "/usr/share/man/man1/rpmdep.1*" +rpmorphan_files += "/usr/share/man/man1/rpmduplicates.1*" +rpmorphan_files += "/usr/share/man/man1/rpmextra.1*" + +FILES_${PN} = "${rpmorphan_files}" + +PKG_rpmorphan= "rpmorphan" + +require rpmorphan-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rpmorphan/rpmorphan_git.bb b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan_git.bb new file mode 100644 index 0000000..36d4588 --- /dev/null +++ b/meta-tizen/recipes-tizen/rpmorphan/rpmorphan_git.bb @@ -0,0 +1,8 @@ +require rpmorphan.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpmorphan;protocol=ssh;tag=901aa7f38cb8841312a4d9f4752a235d31d01850;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rsync/rsync-extraconf.inc b/meta-tizen/recipes-tizen/rsync/rsync-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/rsync/rsync-native_git.bb b/meta-tizen/recipes-tizen/rsync/rsync-native_git.bb new file mode 100644 index 0000000..6d02209 --- /dev/null +++ b/meta-tizen/recipes-tizen/rsync/rsync-native_git.bb @@ -0,0 +1,12 @@ +require rsync.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rsync;protocol=ssh;tag=3381e6608736923263ab869d5994de8554038a67;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/rsync/rsync.inc b/meta-tizen/recipes-tizen/rsync/rsync.inc new file mode 100644 index 0000000..c187b00 --- /dev/null +++ b/meta-tizen/recipes-tizen/rsync/rsync.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "A program for synchronizing files over a network" +HOMEPAGE = "http://rsync.samba.org/" +SECTION = "Applications/Internet" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by rsync-support +PROVIDES += "rsync-support" +RPROVIDES_rsync-support += "rsync-support" + +#PROVIDES by rsync +PROVIDES += "rsync" +RPROVIDES_rsync += "rsync" + +#PROVIDES by rsync-docs +PROVIDES += "rsync-docs " +RPROVIDES_rsync-docs += "rsync-docs " + +RDEPENDS = "" +#RDEPENDS of rsync-support (${PN}-support) +RDEPENDS_${PN}-support += "rsync" + + +DEPENDS = "" +#DEPENDS of rsync +DEPENDS += "popt" +DEPENDS += "attr" +DEPENDS += "acl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/rsync.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "rsync" +PACKAGES += "rsync-docs" + +rsync_files = "" +rsync_files += "rsync.manifest" +rsync_files += "COPYING" +rsync_files += "/usr/bin/rsync" + +rsync-docs_files = "" +rsync-docs_files += "/usr/share/info" +rsync-docs_files += "/usr/share/man" + +FILES_${PN} = "${rsync_files}" +FILES_${PN}-docs = "${rsync-docs_files}" + +PKG_rsync= "rsync" +PKG_rsync-docs= "rsync-docs" + +require rsync-extraconf.inc diff --git a/meta-tizen/recipes-tizen/rsync/rsync_git.bb b/meta-tizen/recipes-tizen/rsync/rsync_git.bb new file mode 100644 index 0000000..25eb68e --- /dev/null +++ b/meta-tizen/recipes-tizen/rsync/rsync_git.bb @@ -0,0 +1,8 @@ +require rsync.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rsync;protocol=ssh;tag=3381e6608736923263ab869d5994de8554038a67;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ruby/ruby-extraconf.inc b/meta-tizen/recipes-tizen/ruby/ruby-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ruby/ruby-native_git.bb b/meta-tizen/recipes-tizen/ruby/ruby-native_git.bb new file mode 100644 index 0000000..c92b5fc --- /dev/null +++ b/meta-tizen/recipes-tizen/ruby/ruby-native_git.bb @@ -0,0 +1,12 @@ +require ruby.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ruby;protocol=ssh;tag=b342baaa2d04f466bdda28deb4356fcea33d6597;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ruby/ruby.inc b/meta-tizen/recipes-tizen/ruby/ruby.inc new file mode 100644 index 0000000..c491e4b --- /dev/null +++ b/meta-tizen/recipes-tizen/ruby/ruby.inc @@ -0,0 +1,201 @@ +DESCRIPTION = "An Interpreted Object-Oriented Scripting Language" +HOMEPAGE = "http://www.ruby-lang.org/" +SECTION = "Development/Languages/Ruby" +LICENSE = "BSD-2-Clause or Ruby" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ruby-devel +PROVIDES += "ruby-devel" +RPROVIDES_ruby-devel += "ruby-devel" +RPROVIDES_ruby-devel += "ruby-dev" +# the PROVIDES rules is ignore "rubygems19 = 1.3.7" +PROVIDES += "rubygems19" +RPROVIDES_ruby-devel += "rubygems19" +# the PROVIDES rules is ignore "rubygems19_with_buildroot_patch " +PROVIDES += "rubygems19_with_buildroot_patch" +RPROVIDES_ruby-devel += "rubygems19_with_buildroot_patch" + +#PROVIDES by ruby-examples +PROVIDES += "ruby-examples" +RPROVIDES_ruby-examples += "ruby-examples" + +#PROVIDES by ruby-doc-ri +PROVIDES += "ruby-doc-ri" +RPROVIDES_ruby-doc-ri += "ruby-doc-ri" + +#PROVIDES by ruby-test-suite +PROVIDES += "ruby-test-suite" +RPROVIDES_ruby-test-suite += "ruby-test-suite" + +#PROVIDES by ruby-doc-html +PROVIDES += "ruby-doc-html" +RPROVIDES_ruby-doc-html += "ruby-doc-html" + +#PROVIDES by ruby +PROVIDES += "ruby" +RPROVIDES_ruby += "ruby" +# the PROVIDES rules is ignore "rubygem-rake = 0.9.2.2" +PROVIDES += "rubygem-rake" +RPROVIDES_ruby += "rubygem-rake" +# the PROVIDES rules is ignore "ruby(abi) = 1.9.1" +PROVIDES += "ruby(abi)" +RPROVIDES_ruby += "ruby(abi)" + +RDEPENDS = "" +#RDEPENDS of ruby-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ruby" + +#RDEPENDS of ruby-examples (${PN}-examples) +RDEPENDS_${PN}-examples += "ruby" + +#RDEPENDS of ruby-doc-ri (${PN}-doc-ri) +RDEPENDS_${PN}-doc-ri += "ruby" + +#RDEPENDS of ruby-test-suite (${PN}-test-suite) +RDEPENDS_${PN}-test-suite += "ruby" + +#RDEPENDS of ruby-doc-html (${PN}-doc-html) +RDEPENDS_${PN}-doc-html += "ruby" + + +DEPENDS = "" +#DEPENDS of ruby +DEPENDS += "zlib-devel" +DEPENDS += "ncurses" +DEPENDS += "openssl" +DEPENDS += "libyaml-devel" +DEPENDS += "ca-certificates" +DEPENDS += "libffi" +DEPENDS += "gdbm" +DEPENDS += "readline" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ruby-1.9.3-p448 + cp ${S}/packaging/ruby.manifest . + + find sample -type f -print0 | xargs -r0 chmod a-x + grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ + | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby1.9$1|' + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --target=x86_64-tizen-linux \ + --with-mantype=man \ + --enable-shared \ + --disable-static \ + --disable-rpath + oe_runmake all V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- V=1 + /bin/install -D -m 0644 ${S}/packaging/ruby.macros ${D}/etc/rpm/macros.ruby19 + /bin/install -D -m 0755 ${S}/packaging/gem_install_wrapper.sh ${D}/usr/lib/rpm/gem_install_wrapper.sh + + + +} + +PACKAGES = "" +PACKAGES += "ruby-doc-ri" +PACKAGES += "ruby" +PACKAGES += "ruby-devel" + +ruby-doc-ri_files = "" +ruby-doc-ri_files += "ruby.manifest" +ruby-doc-ri_files += "/usr/share/ri/" +ruby-doc-ri_files += "/usr/share/ri/1.9.1/" + +ruby_files = "" +ruby_files += "ruby.manifest" +ruby_files += "/etc/rpm/macros.ruby19" +ruby_files += "/usr/bin/erb" +ruby_files += "/usr/bin/gem" +ruby_files += "/usr/bin/irb" +ruby_files += "/usr/bin/rake" +ruby_files += "/usr/bin/rdoc" +ruby_files += "/usr/bin/ri" +ruby_files += "/usr/bin/ruby" +ruby_files += "/usr/bin/testrb" +ruby_files += "/usr/lib/libruby.so.1.9*" +ruby_files += "/usr/lib/ruby/" +ruby_files += "/usr/lib/rpm/gem_install_wrapper.sh" +ruby_files += "/usr/share/man/man1/ri.1*" +ruby_files += "/usr/share/man/man1/irb.1*" +ruby_files += "/usr/share/man/man1/erb.1*" +ruby_files += "/usr/share/man/man1/rake.1*" +ruby_files += "/usr/share/man/man1/ruby.1*" +ruby_files += "COPYING COPYING.ja GPL" + +ruby-devel_files = "" +ruby-devel_files += "ruby.manifest" +ruby-devel_files += "/usr/include/ruby-1.9.1" +ruby-devel_files += "/usr/lib/libruby.so" +ruby-devel_files += "/usr/lib/pkgconfig/ruby-1.9.pc" + +FILES_${PN}-doc-ri = "${ruby-doc-ri_files}" +FILES_${PN} = "${ruby_files}" +FILES_${PN}-devel = "${ruby-devel_files}" + +PKG_ruby-doc-ri= "ruby-doc-ri" +PKG_ruby= "ruby" +PKG_ruby-devel= "ruby-devel" + +require ruby-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ruby/ruby_git.bb b/meta-tizen/recipes-tizen/ruby/ruby_git.bb new file mode 100644 index 0000000..dde35e1 --- /dev/null +++ b/meta-tizen/recipes-tizen/ruby/ruby_git.bb @@ -0,0 +1,8 @@ +require ruby.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ruby;protocol=ssh;tag=b342baaa2d04f466bdda28deb4356fcea33d6597;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/runtime-info/runtime-info-extraconf.inc b/meta-tizen/recipes-tizen/runtime-info/runtime-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/runtime-info/runtime-info-native_git.bb b/meta-tizen/recipes-tizen/runtime-info/runtime-info-native_git.bb new file mode 100644 index 0000000..54fc6d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/runtime-info/runtime-info-native_git.bb @@ -0,0 +1,12 @@ +require runtime-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/runtime-info;protocol=ssh;tag=03db94f453f8a070164efd0369d192f739773a80;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc b/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc new file mode 100644 index 0000000..a66bace --- /dev/null +++ b/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "A Runtime Information library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-runtime-info-devel +PROVIDES += "capi-system-runtime-info-devel" +RPROVIDES_capi-system-runtime-info-devel += "capi-system-runtime-info-devel" +RPROVIDES_capi-system-runtime-info-devel += "capi-system-runtime-info-dev" + +#PROVIDES by capi-system-runtime-info +PROVIDES += "capi-system-runtime-info" +RPROVIDES_capi-system-runtime-info += "capi-system-runtime-info" + +RDEPENDS = "" +#RDEPENDS of capi-system-runtime-info-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "pkgconfig(capi-base-common)" +RDEPENDS_capi-system-${PN}-devel += "capi-system-runtime-info" + + +DEPENDS = "" +#DEPENDS of capi-system-runtime-info +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-runtime-info.manifest ${S}/packaging/capi-system-runtime-info-devel.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.0.3 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.0.3 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-system-runtime-info-devel" +PACKAGES += "capi-system-runtime-info" + +capi-system-runtime-info-devel_files = "" +capi-system-runtime-info-devel_files += "capi-system-runtime-info-devel.manifest" +capi-system-runtime-info-devel_files += "/usr/include/system/*.h" +capi-system-runtime-info-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-runtime-info-devel_files += "/usr/lib/lib*.so" + +capi-system-runtime-info_files = "" +capi-system-runtime-info_files += "capi-system-runtime-info.manifest" +capi-system-runtime-info_files += "/usr/lib/lib*.so.*" + +FILES_${PN}-devel = "${capi-system-runtime-info-devel_files}" +FILES_${PN} = "${capi-system-runtime-info_files}" + +PKG_capi-system-runtime-info-devel= "capi-system-runtime-info-devel" +PKG_capi-system-runtime-info= "capi-system-runtime-info" + +require runtime-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/runtime-info/runtime-info_git.bb b/meta-tizen/recipes-tizen/runtime-info/runtime-info_git.bb new file mode 100644 index 0000000..a92ca50 --- /dev/null +++ b/meta-tizen/recipes-tizen/runtime-info/runtime-info_git.bb @@ -0,0 +1,8 @@ +require runtime-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/runtime-info;protocol=ssh;tag=03db94f453f8a070164efd0369d192f739773a80;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sbc/sbc-extraconf.inc b/meta-tizen/recipes-tizen/sbc/sbc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sbc/sbc-native_git.bb b/meta-tizen/recipes-tizen/sbc/sbc-native_git.bb new file mode 100644 index 0000000..4b5d630 --- /dev/null +++ b/meta-tizen/recipes-tizen/sbc/sbc-native_git.bb @@ -0,0 +1,12 @@ +require sbc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sbc;protocol=ssh;tag=0994e77d249446fe97d4cdd370fbeb2d53b7531b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sbc/sbc.inc b/meta-tizen/recipes-tizen/sbc/sbc.inc new file mode 100644 index 0000000..f128f4e --- /dev/null +++ b/meta-tizen/recipes-tizen/sbc/sbc.inc @@ -0,0 +1,111 @@ +DESCRIPTION = "Bluetooth SBC Utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sbc +PROVIDES += "sbc" +RPROVIDES_sbc += "sbc" + +#PROVIDES by sbc-devel +PROVIDES += "sbc-devel" +RPROVIDES_sbc-devel += "sbc-devel" +RPROVIDES_sbc-devel += "sbc-dev" + +RDEPENDS = "" +#RDEPENDS of sbc-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "sbc" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of sbc +DEPENDS += "pkgconfig(sndfile)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-shared --disable-static --prefix=/usr + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} + rm -rf ${D}/usr/lib/*.la + + +} + +PACKAGES = "" +PACKAGES += "sbc" +PACKAGES += "sbc-devel" + +sbc_files = "" +sbc_files += "/usr/bin/sbcinfo" +sbc_files += "/usr/bin/sbcdec" +sbc_files += "/usr/bin/sbcenc" +sbc_files += "/usr/lib/libsbc.so.*" + +sbc-devel_files = "" +sbc-devel_files += "/usr/include/sbc/*" +sbc-devel_files += "/usr/lib/libsbc.so" +sbc-devel_files += "/usr/lib/pkgconfig/sbc.pc" + +FILES_${PN} = "${sbc_files}" +FILES_${PN}-devel = "${sbc-devel_files}" + +PKG_sbc= "sbc" +PKG_sbc-devel= "sbc-devel" + +require sbc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sbc/sbc_git.bb b/meta-tizen/recipes-tizen/sbc/sbc_git.bb new file mode 100644 index 0000000..01b5b19 --- /dev/null +++ b/meta-tizen/recipes-tizen/sbc/sbc_git.bb @@ -0,0 +1,8 @@ +require sbc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sbc;protocol=ssh;tag=0994e77d249446fe97d4cdd370fbeb2d53b7531b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/scons/scons-extraconf.inc b/meta-tizen/recipes-tizen/scons/scons-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/scons/scons-native_git.bb b/meta-tizen/recipes-tizen/scons/scons-native_git.bb new file mode 100644 index 0000000..917509c --- /dev/null +++ b/meta-tizen/recipes-tizen/scons/scons-native_git.bb @@ -0,0 +1,12 @@ +require scons.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/scons;protocol=ssh;tag=762c7020bd74c758bab6a54c0144105f42a5594b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/scons/scons.inc b/meta-tizen/recipes-tizen/scons/scons.inc new file mode 100644 index 0000000..fe3c13e --- /dev/null +++ b/meta-tizen/recipes-tizen/scons/scons.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Replacement for Make" +HOMEPAGE = "http://www.scons.org/" +SECTION = "Development/Tools/Building" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by scons +PROVIDES += "scons" +RPROVIDES_scons += "scons" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of scons +inherit pythonnative +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/scons.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS" + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} --install-lib=/usr/lib/python2.7/site-packages + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/bin | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "scons" + +scons_files = "" +scons_files += "scons.manifest" +scons_files += "/usr/bin/*" +scons_files += "/usr/lib/python2.7/site-packages/SCons/" +scons_files += "/usr/lib/python2.7/site-packages/*.egg-info" +scons_files += "/usr/share/man/man1/*.gz" + +FILES_${PN} = "${scons_files}" + +PKG_scons= "scons" + +require scons-extraconf.inc diff --git a/meta-tizen/recipes-tizen/scons/scons_git.bb b/meta-tizen/recipes-tizen/scons/scons_git.bb new file mode 100644 index 0000000..ede1b55 --- /dev/null +++ b/meta-tizen/recipes-tizen/scons/scons_git.bb @@ -0,0 +1,8 @@ +require scons.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/scons;protocol=ssh;tag=762c7020bd74c758bab6a54c0144105f42a5594b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/screen/screen-extraconf.inc b/meta-tizen/recipes-tizen/screen/screen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/screen/screen-native_git.bb b/meta-tizen/recipes-tizen/screen/screen-native_git.bb new file mode 100644 index 0000000..18f56bf --- /dev/null +++ b/meta-tizen/recipes-tizen/screen/screen-native_git.bb @@ -0,0 +1,12 @@ +require screen.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/screen;protocol=ssh;tag=402f139002bb66fc7d9f01b657e750c156bc2ab2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/screen/screen.inc b/meta-tizen/recipes-tizen/screen/screen.inc new file mode 100644 index 0000000..bd8ef16 --- /dev/null +++ b/meta-tizen/recipes-tizen/screen/screen.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A program to allow multiple screens on a VT100/ANSI Terminal" +HOMEPAGE = "http://www.gnu.org/software/screen/" +SECTION = "System/Console" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by screen +PROVIDES += "screen" +RPROVIDES_screen += "screen" + +RDEPENDS = "" +#RDEPENDS of screen (${PN}) +RDEPENDS_${PN} += "coreutils" + + +DEPENDS = "" +#DEPENDS of screen +DEPENDS += "ncurses" +DEPENDS += "makeinfo" +DEPENDS += "utempter-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup + cp ${S}/packaging/screen.manifest . + +} + +do_configure() { +} + +do_compile() { + 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="-DMAXWIN=1000 $RPM_OPT_FLAGS" + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \ + --with-sys-screenrc=/etc/screenrc \ + --with-pty-group=5 \ + --enable-use-locale \ + --enable-colors256 \ + --verbose + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=$RPM_BUILD_ROOT + rm -f $RPM_BUILD_ROOT/usr/bin/screen + mv $RPM_BUILD_ROOT/usr/bin/screen-4.0.4 $RPM_BUILD_ROOT/usr/bin/screen + chmod 755 $RPM_BUILD_ROOT/usr/bin/screen + mkdir -p $RPM_BUILD_ROOT/etc + mkdir -p $RPM_BUILD_ROOT/usr/lib + mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d + mkdir -p $RPM_BUILD_ROOT/var/run/screens + chmod 755 $RPM_BUILD_ROOT/var/run/screens + mkdir -p $RPM_BUILD_ROOT/var/run/uscreens + chmod 1777 $RPM_BUILD_ROOT/var/run/uscreens + install -m 644 screenrc $RPM_BUILD_ROOT/etc/screenrc + install -m 644 ${S}/packaging/screen.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d + + +} + +PACKAGES = "" +PACKAGES += "screen" + +screen_files = "" +screen_files += "screen.manifest" +screen_files += "/etc/screenrc" +screen_files += "/usr/share/screen" +screen_files += "/usr/lib/tmpfiles.d" +screen_files += "/usr/lib/tmpfiles.d/screen.conf" +screen_files += "/usr/share/screen/utf8encodings" +screen_files += "/usr/share/info/screen.info*.gz" +screen_files += "/usr/share/man/man1/screen.1.gz" + +FILES_${PN} = "${screen_files}" + +PKG_screen= "screen" + +require screen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/screen/screen_git.bb b/meta-tizen/recipes-tizen/screen/screen_git.bb new file mode 100644 index 0000000..4f578cd --- /dev/null +++ b/meta-tizen/recipes-tizen/screen/screen_git.bb @@ -0,0 +1,8 @@ +require screen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/screen;protocol=ssh;tag=402f139002bb66fc7d9f01b657e750c156bc2ab2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-extraconf.inc b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-native_git.bb b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-native_git.bb new file mode 100644 index 0000000..46d9588 --- /dev/null +++ b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto-native_git.bb @@ -0,0 +1,12 @@ +require scrnsaverproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/scrnsaverproto;protocol=ssh;tag=cbb042a55780a636f1bf1a09af6d767d1954a67e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto.inc b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto.inc new file mode 100644 index 0000000..3f8a599 --- /dev/null +++ b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by scrnsaverproto +PROVIDES += "scrnsaverproto" +RPROVIDES_scrnsaverproto += "scrnsaverproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of scrnsaverproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/scrnsaverproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/scrnsaverproto + rm -rf ${D}/usr/share/doc/scrnsaverproto-1.2.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "scrnsaverproto" + +scrnsaverproto_files = "" +scrnsaverproto_files += "scrnsaverproto.manifest" +scrnsaverproto_files += "/usr/include/X11/extensions/*.h" +scrnsaverproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${scrnsaverproto_files}" + +PKG_scrnsaverproto= "scrnsaverproto" + +require scrnsaverproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto_git.bb b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto_git.bb new file mode 100644 index 0000000..c7e1eac --- /dev/null +++ b/meta-tizen/recipes-tizen/scrnsaverproto/scrnsaverproto_git.bb @@ -0,0 +1,8 @@ +require scrnsaverproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/scrnsaverproto;protocol=ssh;tag=cbb042a55780a636f1bf1a09af6d767d1954a67e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sdbd/sdbd-extraconf.inc b/meta-tizen/recipes-tizen/sdbd/sdbd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sdbd/sdbd-native_git.bb b/meta-tizen/recipes-tizen/sdbd/sdbd-native_git.bb new file mode 100644 index 0000000..0a06127 --- /dev/null +++ b/meta-tizen/recipes-tizen/sdbd/sdbd-native_git.bb @@ -0,0 +1,12 @@ +require sdbd.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/sdk/target/sdbd;protocol=ssh;tag=b4d305e5e1cefa42d3300f7601493bce58f9c107;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sdbd/sdbd.inc b/meta-tizen/recipes-tizen/sdbd/sdbd.inc new file mode 100644 index 0000000..e94208c --- /dev/null +++ b/meta-tizen/recipes-tizen/sdbd/sdbd.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "SDB daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Utilities" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sdbd +PROVIDES += "sdbd" +RPROVIDES_sdbd += "sdbd" + +RDEPENDS = "" +#RDEPENDS of sdbd (${PN}) +RDEPENDS_${PN} += "dbus" + + +DEPENDS = "" +#DEPENDS of sdbd +DEPENDS += "capi-system-info-devel" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sdbd.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system + install -m 0644 ${S}/packaging/sdbd_device.service ${D}/usr/lib/systemd/system/sdbd.service + + mkdir -p ${D}/usr/sbin + install -m 755 script/sdk_launch ${D}/usr/sbin/ + + +} + +PACKAGES = "" +PACKAGES += "sdbd" + +sdbd_files = "" +sdbd_files += "sdbd.manifest" +sdbd_files += "/usr/sbin/sdbd" +sdbd_files += "/usr/sbin/sdk_launch" +sdbd_files += "/etc/init.d/sdbd" +sdbd_files += "/usr/lib/systemd/system/sdbd.service" + +FILES_${PN} = "${sdbd_files}" + +PKG_sdbd= "sdbd" + +require sdbd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sdbd/sdbd_git.bb b/meta-tizen/recipes-tizen/sdbd/sdbd_git.bb new file mode 100644 index 0000000..fbefcea --- /dev/null +++ b/meta-tizen/recipes-tizen/sdbd/sdbd_git.bb @@ -0,0 +1,8 @@ +require sdbd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/sdk/target/sdbd;protocol=ssh;tag=b4d305e5e1cefa42d3300f7601493bce58f9c107;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/secure-storage/secure-storage-extraconf.inc b/meta-tizen/recipes-tizen/secure-storage/secure-storage-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/secure-storage/secure-storage-native_git.bb b/meta-tizen/recipes-tizen/secure-storage/secure-storage-native_git.bb new file mode 100644 index 0000000..e5fb069 --- /dev/null +++ b/meta-tizen/recipes-tizen/secure-storage/secure-storage-native_git.bb @@ -0,0 +1,12 @@ +require secure-storage.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/secure-storage;protocol=ssh;tag=35e82577b3b6acacc9f37569e2ed244885a7f178;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/secure-storage/secure-storage.inc b/meta-tizen/recipes-tizen/secure-storage/secure-storage.inc new file mode 100644 index 0000000..c620bc3 --- /dev/null +++ b/meta-tizen/recipes-tizen/secure-storage/secure-storage.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "Secure storage" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Security" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by secure-storage +PROVIDES += "secure-storage" +RPROVIDES_secure-storage += "secure-storage" + +#PROVIDES by ss-server +PROVIDES += "ss-server" +RPROVIDES_ss-server += "ss-server" + +#PROVIDES by libss-client-devel +PROVIDES += "libss-client-devel" +RPROVIDES_libss-client-devel += "libss-client-devel" +RPROVIDES_libss-client-devel += "libss-client-dev" + +#PROVIDES by libss-client +PROVIDES += "libss-client" +RPROVIDES_libss-client += "libss-client" +# the PROVIDES rules is ignore "libss-client.so " +PROVIDES += "libss-client.so" +RPROVIDES_libss-client += "libss-client.so" + +RDEPENDS = "" +#RDEPENDS of libss-client (libss-client) +RDEPENDS_libss-client += "dukgenerator" + +#RDEPENDS of ss-server (ss-server) +RDEPENDS_ss-server += "/usr/bin/systemctl" +RDEPENDS_ss-server += "libss-client" +RDEPENDS_ss-server += "systemd" + +#RDEPENDS of libss-client-devel (libss-client-devel) +RDEPENDS_libss-client-devel += "libss-client" + + +DEPENDS = "" +#DEPENDS of secure-storage +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "dukgenerator" +DEPENDS += "cmake" +DEPENDS += "openssl" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(libsystemd-daemon)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libss-client.manifest ${S}/packaging/libss-client-devel.manifest ${S}/packaging/ss-server.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + mkdir -p ${D}/usr/lib/systemd/system/sockets.target.wants + ln -s ../secure-storage.service ${D}/usr/lib/systemd/system/multi-user.target.wants/secure-storage.service + ln -s ../secure-storage.socket ${D}/usr/lib/systemd/system/sockets.target.wants/secure-storage.socket + + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/ss-server + cp LICENSE.APLv2 ${D}/usr/share/license/libss-client + + +} + +PACKAGES = "" +PACKAGES += "libss-client" +PACKAGES += "ss-server" +PACKAGES += "libss-client-devel" + +libss-client_files = "" +libss-client_files += "libss-client.manifest" +libss-client_files += "/usr/lib/libss-client.so.*" +libss-client_files += "/usr/share/license/libss-client" + +ss-server_files = "" +ss-server_files += "ss-server.manifest" +ss-server_files += "/usr/bin/ss-server" +ss-server_files += "/usr/lib/systemd/system/secure-storage.service" +ss-server_files += "/usr/lib/systemd/system/multi-user.target.wants/secure-storage.service" +ss-server_files += "/usr/lib/systemd/system/secure-storage.socket" +ss-server_files += "/usr/lib/systemd/system/sockets.target.wants/secure-storage.socket" +ss-server_files += "/usr/share/secure-storage/config" +ss-server_files += "/usr/share/license/ss-server" + +libss-client-devel_files = "" +libss-client-devel_files += "libss-client-devel.manifest" +libss-client-devel_files += "/usr/include/ss_manager.h" +libss-client-devel_files += "/usr/lib/pkgconfig/secure-storage.pc" +libss-client-devel_files += "/usr/lib/libss-client.so" + +FILES_libss-client = "${libss-client_files}" +FILES_ss-server = "${ss-server_files}" +FILES_libss-client-devel = "${libss-client-devel_files}" + +PKG_libss-client= "libss-client" +PKG_ss-server= "ss-server" +PKG_libss-client-devel= "libss-client-devel" + +require secure-storage-extraconf.inc diff --git a/meta-tizen/recipes-tizen/secure-storage/secure-storage_git.bb b/meta-tizen/recipes-tizen/secure-storage/secure-storage_git.bb new file mode 100644 index 0000000..0647aa3 --- /dev/null +++ b/meta-tizen/recipes-tizen/secure-storage/secure-storage_git.bb @@ -0,0 +1,8 @@ +require secure-storage.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/secure-storage;protocol=ssh;tag=35e82577b3b6acacc9f37569e2ed244885a7f178;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/security-server/security-server-extraconf.inc b/meta-tizen/recipes-tizen/security-server/security-server-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/security-server/security-server-native_git.bb b/meta-tizen/recipes-tizen/security-server/security-server-native_git.bb new file mode 100644 index 0000000..dbf64a7 --- /dev/null +++ b/meta-tizen/recipes-tizen/security-server/security-server-native_git.bb @@ -0,0 +1,12 @@ +require security-server.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/security-server;protocol=ssh;tag=11ca1f4df79c54eb2f1c6b1037bc7fa8eddf0495;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/security-server/security-server.inc b/meta-tizen/recipes-tizen/security-server/security-server.inc new file mode 100644 index 0000000..1c0b05f --- /dev/null +++ b/meta-tizen/recipes-tizen/security-server/security-server.inc @@ -0,0 +1,168 @@ +DESCRIPTION = "Security server and utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by security-server-certs +PROVIDES += "security-server-certs" +RPROVIDES_security-server-certs += "security-server-certs" + +#PROVIDES by security-server-devel +PROVIDES += "security-server-devel" +RPROVIDES_security-server-devel += "security-server-devel" +RPROVIDES_security-server-devel += "security-server-dev" + +#PROVIDES by security-server +PROVIDES += "security-server" +RPROVIDES_security-server += "security-server" + +#PROVIDES by libsecurity-server-client +PROVIDES += "libsecurity-server-client" +RPROVIDES_libsecurity-server-client += "libsecurity-server-client" + +#PROVIDES by libsecurity-server-client-devel +PROVIDES += "libsecurity-server-client-devel" +RPROVIDES_libsecurity-server-client-devel += "libsecurity-server-client-devel" +RPROVIDES_libsecurity-server-client-devel += "libsecurity-server-client-dev" + +RDEPENDS = "" +#RDEPENDS of security-server-certs (${PN}-certs) +RDEPENDS_${PN}-certs += "security-server" + +#RDEPENDS of security-server-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "security-server" + +#RDEPENDS of libsecurity-server-client-devel (lib${PN}-client-devel) +RDEPENDS_lib${PN}-client-devel += "libsecurity-server-client" + +#RDEPENDS of libsecurity-server-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "/sbin/ldconfig" +RDEPENDS_lib${PN}-client += "security-server" + +#RDEPENDS of security-server (${PN}) +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of security-server +DEPENDS += "cmake" +DEPENDS += "attr" +DEPENDS += "zip" +DEPENDS += "pkgconfig(libsmack)" +DEPENDS += "openssl" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(libprivilege-control)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/security-server.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS+="-Wl,--rpath=/usr/lib" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DVERSION=0.0.73 \ + -DCMAKE_BUILD_TYPE= \ + -DSMACK=Off + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/security-server + cp LICENSE ${D}/usr/share/license/libsecurity-server-client + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m 0644 ${S}/packaging/security-server.service ${D}/usr/lib/systemd/system/security-server.service + ln -s ../security-server.service ${D}/usr/lib/systemd/system/multi-user.target.wants/security-server.service + + + +} + +PACKAGES = "" +PACKAGES += "security-server" +PACKAGES += "libsecurity-server-client" +PACKAGES += "libsecurity-server-client-devel" + +security-server_files = "" +security-server_files += "security-server.manifest" +security-server_files += "/usr/lib/systemd/system/multi-user.target.wants/security-server.service" +security-server_files += "/usr/lib/systemd/system/security-server.service" +security-server_files += "/usr/share/license/security-server" + +libsecurity-server-client_files = "" +libsecurity-server-client_files += "security-server.manifest" +libsecurity-server-client_files += "/usr/lib/libsecurity-server-client.so.*" +libsecurity-server-client_files += "/usr/share/license/libsecurity-server-client" + +libsecurity-server-client-devel_files = "" +libsecurity-server-client-devel_files += "security-server.manifest" +libsecurity-server-client-devel_files += "/usr/lib/libsecurity-server-client.so" +libsecurity-server-client-devel_files += "/usr/include/security-server/security-server.h" +libsecurity-server-client-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${security-server_files}" +FILES_lib${PN}-client = "${libsecurity-server-client_files}" +FILES_lib${PN}-client-devel = "${libsecurity-server-client-devel_files}" + +PKG_security-server= "security-server" +PKG_libsecurity-server-client= "libsecurity-server-client" +PKG_libsecurity-server-client-devel= "libsecurity-server-client-devel" + +require security-server-extraconf.inc diff --git a/meta-tizen/recipes-tizen/security-server/security-server_git.bb b/meta-tizen/recipes-tizen/security-server/security-server_git.bb new file mode 100644 index 0000000..23ae7ad --- /dev/null +++ b/meta-tizen/recipes-tizen/security-server/security-server_git.bb @@ -0,0 +1,8 @@ +require security-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/security-server;protocol=ssh;tag=11ca1f4df79c54eb2f1c6b1037bc7fa8eddf0495;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sed/sed-extraconf.inc b/meta-tizen/recipes-tizen/sed/sed-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sed/sed.inc b/meta-tizen/recipes-tizen/sed/sed.inc new file mode 100644 index 0000000..c1ec062 --- /dev/null +++ b/meta-tizen/recipes-tizen/sed/sed.inc @@ -0,0 +1,108 @@ +DESCRIPTION = "A Stream-Oriented Non-Interactive Text Editor" +HOMEPAGE = "http://www.gnu.org/directory/sed.html" +SECTION = "Base/Tools" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sed-docs +PROVIDES += "sed-docs " +RPROVIDES_sed-docs += "sed-docs " + +#PROVIDES by sed +PROVIDES += "sed" +RPROVIDES_sed += "sed" +# the PROVIDES rules is ignore "base:/bin/sed " +PROVIDES += "base:/bin/sed" +RPROVIDES_sed += "base:/bin/sed" +# the PROVIDES rules is ignore "/bin/sed " +PROVIDES += "/bin/sed" +RPROVIDES_sed += "/bin/sed" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sed +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sed.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls \ + --without-included-regex \ + x86_64-tizen-linux + make -j16 + make -j16 check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "sed-docs" +PACKAGES += "sed" + +sed-docs_files = "" +sed-docs_files += "/usr/share/info" +sed-docs_files += "/usr/share/man" + +sed_files = "" +sed_files += "sed.manifest" +sed_files += "/usr/bin/sed" +sed_files += "COPYING*" + +FILES_${PN}-docs = "${sed-docs_files}" +FILES_${PN} = "${sed_files}" + +PKG_sed-docs= "sed-docs" +PKG_sed= "sed" + +require sed-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sensor-framework/sensor-framework-extraconf.inc b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sensor-framework/sensor-framework-native_git.bb b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework-native_git.bb new file mode 100644 index 0000000..0eacc48 --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework-native_git.bb @@ -0,0 +1,12 @@ +require sensor-framework.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sensor-framework;protocol=ssh;tag=71bcf8ea1048dd83b4a913934f424bfd922d4af5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sensor-framework/sensor-framework.inc b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework.inc new file mode 100644 index 0000000..d7cc57a --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Sensor framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Framework/system" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sensor-framework +PROVIDES += "sensor-framework" +RPROVIDES_sensor-framework += "sensor-framework" + +RDEPENDS = "" +#RDEPENDS of sensor-framework (${PN}) +RDEPENDS_${PN} += "/usr/bin/vconftool" + + +DEPENDS = "" +#DEPENDS of sensor-framework +DEPENDS += "libsf-common" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "heynoti" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sensor-framework.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM_ARCH=arch_ia + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/sensor-framework + + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + install -m 0644 ${S}/packaging/sensor-framework.service ${D}/usr/lib/systemd/system/ + ln -s ../sensor-framework.service ${D}/usr/lib/systemd/system/multi-user.target.wants/sensor-framework.service + + # FIXME: remove initscripts after we start using systemd + mkdir -p ${D}/etc/rc.d/rc3.d + mkdir -p ${D}/etc/rc.d/rc4.d + ln -s ../init.d/sfsvc ${D}/etc/rc.d/rc3.d/S40sfsvc + ln -s ../init.d/sfsvc ${D}/etc/rc.d/rc4.d/S40sfsvc + + +} + +PACKAGES = "" +PACKAGES += "sensor-framework" + +sensor-framework_files = "" +sensor-framework_files += "sensor-framework.manifest" +sensor-framework_files += "/etc/rc.d/rc3.d/S40sfsvc" +sensor-framework_files += "/etc/rc.d/rc4.d/S40sfsvc" +sensor-framework_files += "/usr/bin/sf_server" +sensor-framework_files += "/usr/lib/systemd/system/sensor-framework.service" +sensor-framework_files += "/usr/lib/systemd/system/multi-user.target.wants/sensor-framework.service" +sensor-framework_files += "/usr/share/license/sensor-framework" + +FILES_${PN} = "${sensor-framework_files}" + +PKG_sensor-framework= "sensor-framework" + +require sensor-framework-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sensor-framework/sensor-framework_git.bb b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework_git.bb new file mode 100644 index 0000000..c57b2c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor-framework/sensor-framework_git.bb @@ -0,0 +1,8 @@ +require sensor-framework.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sensor-framework;protocol=ssh;tag=71bcf8ea1048dd83b4a913934f424bfd922d4af5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sensor/sensor-extraconf.inc b/meta-tizen/recipes-tizen/sensor/sensor-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sensor/sensor-native_git.bb b/meta-tizen/recipes-tizen/sensor/sensor-native_git.bb new file mode 100644 index 0000000..4ed1af6 --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor/sensor-native_git.bb @@ -0,0 +1,12 @@ +require sensor.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sensor;protocol=ssh;tag=27e942b01a6edc3748961c5c81f2b55586b5ca14;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sensor/sensor.inc b/meta-tizen/recipes-tizen/sensor/sensor.inc new file mode 100644 index 0000000..76ae0ae --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor/sensor.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "A Sensor library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "framework/system" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-sensor-devel +PROVIDES += "capi-system-sensor-devel" +RPROVIDES_capi-system-sensor-devel += "capi-system-sensor-devel" +RPROVIDES_capi-system-sensor-devel += "capi-system-sensor-dev" + +#PROVIDES by capi-system-sensor +PROVIDES += "capi-system-sensor" +RPROVIDES_capi-system-sensor += "capi-system-sensor" + +RDEPENDS = "" +#RDEPENDS of capi-system-sensor-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "capi-system-sensor" + + +DEPENDS = "" +#DEPENDS of capi-system-sensor +DEPENDS += "cmake" +DEPENDS += "libslp-sensor" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-sensor.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.17 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.17 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/capi-system-sensor + + +} + +PACKAGES = "" +PACKAGES += "capi-system-sensor-devel" +PACKAGES += "capi-system-sensor" + +capi-system-sensor-devel_files = "" +capi-system-sensor-devel_files += "capi-system-sensor.manifest" +capi-system-sensor-devel_files += "/usr/include/system/sensors.h" +capi-system-sensor-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-sensor-devel_files += "/usr/lib/libcapi-system-sensor.so" +capi-system-sensor-devel_files += "/usr/share/license/capi-system-sensor" + +capi-system-sensor_files = "" +capi-system-sensor_files += "capi-system-sensor.manifest" +capi-system-sensor_files += "/usr/lib/libcapi-system-sensor.so.*" + +FILES_${PN}-devel = "${capi-system-sensor-devel_files}" +FILES_${PN} = "${capi-system-sensor_files}" + +PKG_capi-system-sensor-devel= "capi-system-sensor-devel" +PKG_capi-system-sensor= "capi-system-sensor" + +require sensor-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sensor/sensor_git.bb b/meta-tizen/recipes-tizen/sensor/sensor_git.bb new file mode 100644 index 0000000..a62efab --- /dev/null +++ b/meta-tizen/recipes-tizen/sensor/sensor_git.bb @@ -0,0 +1,8 @@ +require sensor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sensor;protocol=ssh;tag=27e942b01a6edc3748961c5c81f2b55586b5ca14;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/serial/serial-extraconf.inc b/meta-tizen/recipes-tizen/serial/serial-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/serial/serial-native_git.bb b/meta-tizen/recipes-tizen/serial/serial-native_git.bb new file mode 100644 index 0000000..95c3f8d --- /dev/null +++ b/meta-tizen/recipes-tizen/serial/serial-native_git.bb @@ -0,0 +1,12 @@ +require serial.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/serial;protocol=ssh;tag=5d5a6639ace5cfbc1a7abff102e5018c9cf8acb6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/serial/serial.inc b/meta-tizen/recipes-tizen/serial/serial.inc new file mode 100644 index 0000000..de1f7f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/serial/serial.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Network Serial Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-serial-devel +PROVIDES += "capi-network-serial-devel" +RPROVIDES_capi-network-serial-devel += "capi-network-serial-devel" +RPROVIDES_capi-network-serial-devel += "capi-network-serial-dev" + +#PROVIDES by capi-network-serial +PROVIDES += "capi-network-serial" +RPROVIDES_capi-network-serial += "capi-network-serial" + +RDEPENDS = "" +#RDEPENDS of capi-network-serial-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-network-serial" + + +DEPENDS = "" +#DEPENDS of capi-network-serial +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "dbus-glib" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-serial.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.0.7 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.0.7 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "capi-network-serial-devel" +PACKAGES += "capi-network-serial" + +capi-network-serial-devel_files = "" +capi-network-serial-devel_files += "capi-network-serial.manifest" +capi-network-serial-devel_files += "/usr/include/network/serial.h" +capi-network-serial-devel_files += "/usr/lib/pkgconfig/capi-network-serial.pc" +capi-network-serial-devel_files += "/usr/lib/libcapi-network-serial.so" + +capi-network-serial_files = "" +capi-network-serial_files += "capi-network-serial.manifest" +capi-network-serial_files += "/usr/lib/libcapi-network-serial.so.*" + +FILES_${PN}-devel = "${capi-network-serial-devel_files}" +FILES_${PN} = "${capi-network-serial_files}" + +PKG_capi-network-serial-devel= "capi-network-serial-devel" +PKG_capi-network-serial= "capi-network-serial" + +require serial-extraconf.inc diff --git a/meta-tizen/recipes-tizen/serial/serial_git.bb b/meta-tizen/recipes-tizen/serial/serial_git.bb new file mode 100644 index 0000000..1babfd5 --- /dev/null +++ b/meta-tizen/recipes-tizen/serial/serial_git.bb @@ -0,0 +1,8 @@ +require serial.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/serial;protocol=ssh;tag=5d5a6639ace5cfbc1a7abff102e5018c9cf8acb6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sessreg/sessreg-extraconf.inc b/meta-tizen/recipes-tizen/sessreg/sessreg-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sessreg/sessreg-native_git.bb b/meta-tizen/recipes-tizen/sessreg/sessreg-native_git.bb new file mode 100644 index 0000000..747816b --- /dev/null +++ b/meta-tizen/recipes-tizen/sessreg/sessreg-native_git.bb @@ -0,0 +1,12 @@ +require sessreg.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sessreg;protocol=ssh;tag=59d6be87da03db7979f316eb886e95d68dbd2eaa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sessreg/sessreg.inc b/meta-tizen/recipes-tizen/sessreg/sessreg.inc new file mode 100644 index 0000000..37be4d2 --- /dev/null +++ b/meta-tizen/recipes-tizen/sessreg/sessreg.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Utility to manage utmp/wtmp entries for X sessions" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sessreg +PROVIDES += "sessreg" +RPROVIDES_sessreg += "sessreg" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sessreg +DEPENDS += "pkgconfig(xproto)" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sessreg.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "sessreg" + +sessreg_files = "" +sessreg_files += "sessreg.manifest" +sessreg_files += "COPYING" +sessreg_files += "/usr/bin/sessreg" +sessreg_files += "/usr/share/man/man1/sessreg.1.gz" + +FILES_${PN} = "${sessreg_files}" + +PKG_sessreg= "sessreg" + +require sessreg-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sessreg/sessreg_git.bb b/meta-tizen/recipes-tizen/sessreg/sessreg_git.bb new file mode 100644 index 0000000..48dbbbb --- /dev/null +++ b/meta-tizen/recipes-tizen/sessreg/sessreg_git.bb @@ -0,0 +1,8 @@ +require sessreg.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sessreg;protocol=ssh;tag=59d6be87da03db7979f316eb886e95d68dbd2eaa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/settings/settings-extraconf.inc b/meta-tizen/recipes-tizen/settings/settings-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/settings/settings.inc b/meta-tizen/recipes-tizen/settings/settings.inc new file mode 100644 index 0000000..36d0817 --- /dev/null +++ b/meta-tizen/recipes-tizen/settings/settings.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "Setting application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "misc" +LICENSE = "Flora License, Version 1" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.setting" + +org.tizen.setting_files = "" +org.tizen.setting_files += "settings.manifest" +org.tizen.setting_files += "/usr/apps/org.tizen.setting/bin/setting" +org.tizen.setting_files += "/usr/apps/org.tizen.setting/bin/setting_conf_util" +org.tizen.setting_files += "/opt/data/setting/setting.cfg" +org.tizen.setting_files += "/usr/share/packages/org.tizen.setting.xml" +org.tizen.setting_files += "/opt/etc/smack/accesses.d/org.tizen.setting.rule" +org.tizen.setting_files += "/usr/share/icons/default/small/org.tizen.setting.png" +org.tizen.setting_files += "/opt/share/settings/*" +org.tizen.setting_files += "/usr/apps/org.tizen.setting/res/*" +org.tizen.setting_files += "/usr/apps/org.tizen.setting/lib/*" +org.tizen.setting_files += "/usr/apps/org.tizen.setting/data/*" +org.tizen.setting_files += "/usr/ug/lib/*" +org.tizen.setting_files += "/opt/data/setting/langlist.xml" +org.tizen.setting_files += "/opt/data/setting/plugin-cfg/*" +org.tizen.setting_files += "/opt/data/setting/plugin-xml/*" +org.tizen.setting_files += "/opt/media/Open_Source_Announcement.html" + +FILES_${PN} = "${org.tizen.setting_files}" + +PKG_org.tizen.setting= "org.tizen.setting" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require settings-rdepends.inc +require settings-depends.inc +require settings-extraconf.inc diff --git a/meta-tizen/recipes-tizen/setup-ivi/setup-ivi-extraconf.inc b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/setup-ivi/setup-ivi-native_git.bb b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi-native_git.bb new file mode 100644 index 0000000..3a30cfd --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi-native_git.bb @@ -0,0 +1,12 @@ +require setup-ivi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/setup-ivi;protocol=ssh;tag=3f74c7f66be172b3e05666d3cec52b945f3a9ac5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setup-ivi/setup-ivi.inc b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi.inc new file mode 100644 index 0000000..8e85e3f --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Various early setup programs" +HOMEPAGE = "http://www.tizen.org" +SECTION = "System/Configuration" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by setup-gummiboot +PROVIDES += "setup-gummiboot" +RPROVIDES_setup-gummiboot += "setup-gummiboot" +# the PROVIDES rules is ignore "virtual-setup-ivi-bootloader " +PROVIDES += "virtual-setup-ivi-bootloader" +RPROVIDES_setup-gummiboot += "virtual-setup-ivi-bootloader" + +#PROVIDES by setup-ivi-clone +PROVIDES += "setup-ivi-clone" +RPROVIDES_setup-ivi-clone += "setup-ivi-clone" + +#PROVIDES by setup-extlinux +PROVIDES += "setup-extlinux" +RPROVIDES_setup-extlinux += "setup-extlinux" +# the PROVIDES rules is ignore "virtual-setup-ivi-bootloader " +PROVIDES += "virtual-setup-ivi-bootloader" +RPROVIDES_setup-extlinux += "virtual-setup-ivi-bootloader" + +#PROVIDES by setup-ivi +PROVIDES += "setup-ivi" +RPROVIDES_setup-ivi += "setup-ivi" + +RDEPENDS = "" +#RDEPENDS of setup-gummiboot (setup-gummiboot) +RDEPENDS_setup-gummiboot += "gummiboot" +RDEPENDS_setup-gummiboot += "setup-ivi" + +#RDEPENDS of setup-ivi-clone (${PN}-clone) +RDEPENDS_${PN}-clone += "/usr/bin/mount" +RDEPENDS_${PN}-clone += "systemd" +RDEPENDS_${PN}-clone += "/usr/bin/sync" +RDEPENDS_${PN}-clone += "/usr/bin/uuidgen" +RDEPENDS_${PN}-clone += "setup-ivi" +RDEPENDS_${PN}-clone += "dosfstools" +RDEPENDS_${PN}-clone += "rsync" +RDEPENDS_${PN}-clone += "e2fsprogs" +RDEPENDS_${PN}-clone += "/usr/bin/udevadm" +RDEPENDS_${PN}-clone += "gptfdisk" +RDEPENDS_${PN}-clone += "/usr/bin/tail" + +#RDEPENDS of setup-ivi (${PN}) +RDEPENDS_${PN} += "/usr/bin/tr" +RDEPENDS_${PN} += "/usr/bin/sort" +RDEPENDS_${PN} += "virtual-setup-ivi-bootloader" +RDEPENDS_${PN} += "/usr/bin/grep" +RDEPENDS_${PN} += "/usr/bin/printenv" +RDEPENDS_${PN} += "/usr/bin/sed" +RDEPENDS_${PN} += "/usr/bin/printf" + +#RDEPENDS of setup-extlinux (setup-extlinux) +RDEPENDS_setup-extlinux += "syslinux-extlinux" +RDEPENDS_setup-extlinux += "setup-ivi" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n setup-ivi-1.0 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ### + ### INSTALL + ### + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}//usr/sbin + install -d ${D}//usr/share/setup-ivi + install -d ${D}//lib/systemd/system + + install -m755 setup-ivi-boot ${D}//usr/sbin + install -m755 setup-ivi-fstab ${D}//usr/sbin + install -m755 setup-ivi-bootloader-conf ${D}//usr/sbin + install -m755 setup-ivi-clone ${D}//usr/sbin + install -m755 setup-ivi-clone-service ${D}//usr/sbin + install -m644 ivi-clone.service ${D}//lib/systemd/system + install -m755 setup-gummiboot-conf ${D}//usr/sbin + install -m755 setup-extlinux-conf ${D}//usr/sbin + install -m644 setup-ivi-sh-functions ${D}//usr/share/setup-ivi + install -m644 installerfw-sh-functions ${D}//usr/share/setup-ivi + + ### + ### CLEAN + ### + +} + +PACKAGES = "" +PACKAGES += "setup-gummiboot" +PACKAGES += "setup-ivi-clone" +PACKAGES += "setup-extlinux" +PACKAGES += "setup-ivi" + +setup-gummiboot_files = "" +setup-gummiboot_files += "/usr/sbin/setup-gummiboot-conf" + +setup-ivi-clone_files = "" +setup-ivi-clone_files += "/usr/sbin/setup-ivi-clone" +setup-ivi-clone_files += "/usr/sbin/setup-ivi-clone-service" +setup-ivi-clone_files += "/lib/systemd/system/ivi-clone.service" + +setup-extlinux_files = "" +setup-extlinux_files += "/usr/sbin/setup-extlinux-conf" + +setup-ivi_files = "" +setup-ivi_files += "/usr/sbin/setup-ivi-boot" +setup-ivi_files += "/usr/sbin/setup-ivi-fstab" +setup-ivi_files += "/usr/sbin/setup-ivi-bootloader-conf" +setup-ivi_files += "/usr/share/setup-ivi/setup-ivi-sh-functions" +setup-ivi_files += "/usr/share/setup-ivi/installerfw-sh-functions" + +FILES_setup-gummiboot = "${setup-gummiboot_files}" +FILES_${PN}-clone = "${setup-ivi-clone_files}" +FILES_setup-extlinux = "${setup-extlinux_files}" +FILES_${PN} = "${setup-ivi_files}" + +PKG_setup-gummiboot= "setup-gummiboot" +PKG_setup-ivi-clone= "setup-ivi-clone" +PKG_setup-extlinux= "setup-extlinux" +PKG_setup-ivi= "setup-ivi" + +require setup-ivi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/setup-ivi/setup-ivi_git.bb b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi_git.bb new file mode 100644 index 0000000..dcd7d6c --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-ivi/setup-ivi_git.bb @@ -0,0 +1,8 @@ +require setup-ivi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/setup-ivi;protocol=ssh;tag=3f74c7f66be172b3e05666d3cec52b945f3a9ac5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-extraconf.inc b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-native_git.bb b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-native_git.bb new file mode 100644 index 0000000..529eb06 --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi-native_git.bb @@ -0,0 +1,12 @@ +require setup-mbr-ivi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/setup-mbr-ivi;protocol=ssh;tag=d1b5242b3219a90ca39179a72addee00ab7713ab;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi.inc b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi.inc new file mode 100644 index 0000000..8275607 --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi.inc @@ -0,0 +1,87 @@ +DESCRIPTION = "Legacy BIOS boot setup" +HOMEPAGE = "http://www.tizen.org" +SECTION = "System/Configuration" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by setup-mbr-ivi +PROVIDES += "setup-mbr-ivi" +RPROVIDES_setup-mbr-ivi += "setup-mbr-ivi" + +RDEPENDS = "" +#RDEPENDS of setup-mbr-ivi (${PN}) +RDEPENDS_${PN} += "/usr/bin/dd" +RDEPENDS_${PN} += "/usr/bin/sort" +RDEPENDS_${PN} += "/usr/bin/grep" +RDEPENDS_${PN} += "syslinux-extlinux" +RDEPENDS_${PN} += "/usr/bin/sed" +RDEPENDS_${PN} += "/usr/bin/printf" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n setup-mbr-ivi-1.0 + + ### + ### BUILD + ### + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + ### + ### INSTALL + ### + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}//usr/sbin + install -m755 setup-mbr-ivi ${D}//usr/sbin + install -m755 setup-extlinux-conf ${D}//usr/sbin + + ### + ### CLEAN + ### + +} + +PACKAGES = "" +PACKAGES += "setup-mbr-ivi" + +setup-mbr-ivi_files = "" +setup-mbr-ivi_files += "/usr/sbin/setup-mbr-ivi" +setup-mbr-ivi_files += "/usr/sbin/setup-extlinux-conf" + +FILES_${PN} = "${setup-mbr-ivi_files}" + +PKG_setup-mbr-ivi= "setup-mbr-ivi" + +require setup-mbr-ivi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi_git.bb b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi_git.bb new file mode 100644 index 0000000..cf6406a --- /dev/null +++ b/meta-tizen/recipes-tizen/setup-mbr-ivi/setup-mbr-ivi_git.bb @@ -0,0 +1,8 @@ +require setup-mbr-ivi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/setup-mbr-ivi;protocol=ssh;tag=d1b5242b3219a90ca39179a72addee00ab7713ab;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setup/setup-extraconf.inc b/meta-tizen/recipes-tizen/setup/setup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/setup/setup-native_git.bb b/meta-tizen/recipes-tizen/setup/setup-native_git.bb new file mode 100644 index 0000000..27191f1 --- /dev/null +++ b/meta-tizen/recipes-tizen/setup/setup-native_git.bb @@ -0,0 +1,12 @@ +require setup.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/setup;protocol=ssh;tag=2c4806e5793f33eeb65de45bcc228357bf4775b6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setup/setup.inc b/meta-tizen/recipes-tizen/setup/setup.inc new file mode 100644 index 0000000..30c378c --- /dev/null +++ b/meta-tizen/recipes-tizen/setup/setup.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "A set of system configuration and setup files" +HOMEPAGE = "https://fedorahosted.org/setup/" +SECTION = "Base/Configuration" +LICENSE = "Public Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by setup +PROVIDES += "setup" +RPROVIDES_setup += "setup" + +#PROVIDES by setup-docs +PROVIDES += "setup-docs " +RPROVIDES_setup-docs += "setup-docs " + +#PROVIDES by setup-misc +PROVIDES += "setup-misc" +RPROVIDES_setup-misc += "setup-misc" + +RDEPENDS = "" +#RDEPENDS of setup-misc (${PN}-misc) +RDEPENDS_${PN}-misc += "setup" + + +DEPENDS = "" +#DEPENDS of setup +DEPENDS += "bash" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + cp ${S}/packaging/setup.manifest . + ./shadowconvert.sh + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + exit 0 + # Run any sanity checks. + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cp -ar files/* ${D} + touch ${D}/etc/environment + chmod 0644 ${D}/etc/environment + chmod 0400 ${D}/etc/{shadow,gshadow} + touch ${D}/etc/fstab + ln -nsf /proc/self/mounts ${D}/etc/mtab + + + rm ${D}//etc/filesystems + + #throw away useless and dangerous update stuff until rpm will be able to + #handle it ( http://rpm.org/ticket/6 ) + +} + +PACKAGES = "" +PACKAGES += "setup" +PACKAGES += "setup-misc" +PACKAGES += "setup-docs" + +setup_files = "" +setup_files += "setup.manifest" +setup_files += "setup.manifest" +setup_files += "/etc/aliases" +setup_files += "/etc/environment" +setup_files += "/etc/host.conf" +setup_files += "/etc/printcap" +setup_files += "/etc/bashrc" +setup_files += "/etc/profile" +setup_files += "/etc/profile.d" +setup_files += "%verify(not md5 size mtime) /etc/shells" +setup_files += "/run/*" +setup_files += "/etc/profile.d/*" + +setup-misc_files = "" +setup-misc_files += "setup.manifest" +setup-misc_files += "/usr/bin/*" +setup-misc_files += "/usr/sbin/*" + +setup-docs_files = "" +setup-docs_files += "/usr/share/info" +setup-docs_files += "/usr/share/man" + +FILES_${PN} = "${setup_files}" +FILES_${PN}-misc = "${setup-misc_files}" +FILES_${PN}-docs = "${setup-docs_files}" + +PKG_setup= "setup" +PKG_setup-misc= "setup-misc" +PKG_setup-docs= "setup-docs" + +require setup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/setup/setup_git.bb b/meta-tizen/recipes-tizen/setup/setup_git.bb new file mode 100644 index 0000000..1f3232e --- /dev/null +++ b/meta-tizen/recipes-tizen/setup/setup_git.bb @@ -0,0 +1,8 @@ +require setup.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/setup;protocol=ssh;tag=2c4806e5793f33eeb65de45bcc228357bf4775b6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/setxkbmap/setxkbmap-extraconf.inc b/meta-tizen/recipes-tizen/setxkbmap/setxkbmap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/setxkbmap/setxkbmap.inc b/meta-tizen/recipes-tizen/setxkbmap/setxkbmap.inc new file mode 100644 index 0000000..966634b --- /dev/null +++ b/meta-tizen/recipes-tizen/setxkbmap/setxkbmap.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Utility to change the keyboard layout in X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "setxkbmap" + +setxkbmap_files = "" +setxkbmap_files += "setxkbmap.manifest" +setxkbmap_files += "COPYING" +setxkbmap_files += "/usr/bin/setxkbmap" +setxkbmap_files += "/usr/share/man/man1/setxkbmap.1.gz" + +FILES_${PN} = "${setxkbmap_files}" + +PKG_setxkbmap= "setxkbmap" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require setxkbmap-rdepends.inc +require setxkbmap-depends.inc +require setxkbmap-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sgml-common/sgml-common-extraconf.inc b/meta-tizen/recipes-tizen/sgml-common/sgml-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sgml-common/sgml-common-native_git.bb b/meta-tizen/recipes-tizen/sgml-common/sgml-common-native_git.bb new file mode 100644 index 0000000..ebe6181 --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-common/sgml-common-native_git.bb @@ -0,0 +1,12 @@ +require sgml-common.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sgml-common;protocol=ssh;tag=5949f1a0f29a5db939edca077d8723bcfa377c0d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sgml-common/sgml-common.inc b/meta-tizen/recipes-tizen/sgml-common/sgml-common.inc new file mode 100644 index 0000000..f95f56d --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-common/sgml-common.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Common SGML catalog and DTD files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Text" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sgml-common +PROVIDES += "sgml-common" +RPROVIDES_sgml-common += "sgml-common" + +#PROVIDES by xml-common +PROVIDES += "xml-common" +RPROVIDES_xml-common += "xml-common" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sgml-common +DEPENDS += "libxml2" +DEPENDS += "config(docbook_4)" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cat ${S}/packaging/sgml-common-umask.patch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/sgml-common-xmldir.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + + # replace bogus links with files + for file in COPYING INSTALL install-sh missing mkinstalldirs; do + rm $file + cp -p /usr/share/automake-1.12/$file . + done + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR="${D}" htmldir='/usr/share/doc' INSTALL='install -p' + mkdir ${D}/etc/xml + mkdir -p ${D}/usr/share/sgml/docbook + # Create an empty XML catalog. + XMLCATALOG=${D}/etc/xml/catalog + /usr/bin/xmlcatalog --noout --create $XMLCATALOG + # Now put the common DocBook entries in it + /usr/bin/xmlcatalog --noout --add "delegatePublic" \ + "-//OASIS//ENTITIES DocBook XML" \ + "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG + /usr/bin/xmlcatalog --noout --add "delegatePublic" \ + "-//OASIS//DTD DocBook XML" \ + "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG + /usr/bin/xmlcatalog --noout --add "delegatePublic" \ + "ISO 8879:1986" \ + "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG + /usr/bin/xmlcatalog --noout --add "delegateSystem" \ + "http://www.oasis-open.org/docbook/" \ + "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG + /usr/bin/xmlcatalog --noout --add "delegateURI" \ + "http://www.oasis-open.org/docbook/" \ + "file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG + # Also create the common DocBook catalog + /usr/bin/xmlcatalog --noout --create \ + ${D}/usr/share/sgml/docbook/xmlcatalog + + rm -f ${D}/usr/share/sgml/xml.dcl + + install -p -m0644 ${S}/packaging/xml.dcl ${S}/packaging/xml.soc ${S}/packaging/html.dcl ${S}/packaging/html.soc \ + ${D}/usr/share/sgml + + rm -rf ${D}/usr/share/xml/* + rm -f ${D}/usr/share/doc/*.html + + + +} + +PACKAGES = "" +PACKAGES += "sgml-common" +PACKAGES += "xml-common" + +sgml-common_files = "" +sgml-common_files += "/etc/sgml" +sgml-common_files += "/etc/sgml/sgml.conf" +sgml-common_files += "/usr/share/sgml" +sgml-common_files += "/usr/share/sgml/sgml-iso-entities-8879.1986" +sgml-common_files += "/usr/share/sgml/sgml-iso-entities-8879.1986/*" +sgml-common_files += "/usr/share/sgml/xml.dcl" +sgml-common_files += "/usr/share/sgml/xml.soc" +sgml-common_files += "/usr/share/sgml/html.dcl" +sgml-common_files += "/usr/share/sgml/html.soc" +sgml-common_files += "/usr/bin/sgmlwhich" +sgml-common_files += "/usr/bin/install-catalog" +sgml-common_files += "/usr/share/man/man8/install-catalog.8*" + +xml-common_files = "" +xml-common_files += "/etc/xml" +xml-common_files += "%verify(not md5 size mtime) /etc/xml/catalog" +xml-common_files += "/usr/share/sgml" +xml-common_files += "/usr/share/sgml/docbook" +xml-common_files += "/usr/share/xml" + +FILES_${PN} = "${sgml-common_files}" +FILES_xml-common = "${xml-common_files}" + +PKG_sgml-common= "sgml-common" +PKG_xml-common= "xml-common" + +require sgml-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sgml-common/sgml-common_git.bb b/meta-tizen/recipes-tizen/sgml-common/sgml-common_git.bb new file mode 100644 index 0000000..bbfdc6a --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-common/sgml-common_git.bb @@ -0,0 +1,8 @@ +require sgml-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sgml-common;protocol=ssh;tag=5949f1a0f29a5db939edca077d8723bcfa377c0d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sgml-skel/sgml-skel-extraconf.inc b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sgml-skel/sgml-skel-native_git.bb b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel-native_git.bb new file mode 100644 index 0000000..5b525dd --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel-native_git.bb @@ -0,0 +1,12 @@ +require sgml-skel.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sgml-skel;protocol=ssh;tag=a3c551b81491f43c7e3540f3d3a893ffcf3a0cce;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sgml-skel/sgml-skel.inc b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel.inc new file mode 100644 index 0000000..42b3c3a --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel.inc @@ -0,0 +1,111 @@ +DESCRIPTION = "Helper Scripts for the SGML System" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Productivity/Publishing/SGML" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sgml-skel +PROVIDES += "sgml-skel" +RPROVIDES_sgml-skel += "sgml-skel" + +RDEPENDS = "" +#RDEPENDS of sgml-skel (${PN}) +RDEPENDS_${PN} += "libxml2-tools" +RDEPENDS_${PN} += "/usr/bin/mv" +RDEPENDS_${PN} += "/usr/bin/awk" +RDEPENDS_${PN} += "/usr/bin/chmod" + + +DEPENDS = "" +#DEPENDS of sgml-skel +DEPENDS += "libxml2" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sgml-skel.manifest . + cp ${S}/packaging/install-catalog.in . + cp ${S}/packaging/edit-xml-catalog.sh . + + +} + +do_configure() { +} + +do_compile() { + 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="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + autoreconf -i -f + ./configure --prefix=/usr --infodir=/usr/share/info \ + --datadir=/usr/share --mandir=/usr/share/man \ + --build $RPM_ARCH-tizen-linux + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -m755 install-catalog.in ${D}/usr/bin/install-catalog + install -m755 edit-xml-catalog.sh \ + ${D}/usr/bin/edit-xml-catalog + ln -sf sgml2xmlcat.sh ${D}/usr/bin/sgmlcat2x.sh + ln -sf install-catalog ${D}/usr/bin/install-catalog.sh + install -d -m755 ${D}/usr/share/sgml + install -d -m755 ${D}/etc/{sgml,xml} + install -d -m755 ${D}/var/lib/sgml + touch ${D}/etc/sgml/catalog + xmlcatalog --noout --create ${D}/etc/xml/tizen-catalog.xml + xmlcatalog --noout --create ${D}/etc/xml/catalog + xmlcatalog --noout --add "nextCatalog" "tizen-catalog.xml" "tizen-catalog.xml" \ + ${D}/etc/xml/catalog + + +} + +PACKAGES = "" +PACKAGES += "sgml-skel" + +sgml-skel_files = "" +sgml-skel_files += "sgml-skel.manifest" +sgml-skel_files += "AUTHORS COPYING NEWS README*" +sgml-skel_files += "%verify(not md5 size mtime) /etc/xml/catalog" +sgml-skel_files += "/etc/sgml" +sgml-skel_files += "/etc/xml" +sgml-skel_files += "/usr/bin/*" +sgml-skel_files += "/var/lib/sgml" + +FILES_${PN} = "${sgml-skel_files}" + +PKG_sgml-skel= "sgml-skel" + +require sgml-skel-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sgml-skel/sgml-skel_git.bb b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel_git.bb new file mode 100644 index 0000000..785b6b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/sgml-skel/sgml-skel_git.bb @@ -0,0 +1,8 @@ +require sgml-skel.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sgml-skel;protocol=ssh;tag=a3c551b81491f43c7e3540f3d3a893ffcf3a0cce;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-extraconf.inc b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-native_git.bb b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-native_git.bb new file mode 100644 index 0000000..2834bec --- /dev/null +++ b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info-native_git.bb @@ -0,0 +1,12 @@ +require shared-mime-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/shared-mime-info;protocol=ssh;tag=666f2a09020e48b49a92221fb728f18e03177b8a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info.inc b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info.inc new file mode 100644 index 0000000..eb9014b --- /dev/null +++ b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info.inc @@ -0,0 +1,161 @@ +DESCRIPTION = "Shared MIME Database" +HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info" +SECTION = "Base/Configuration" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by shared-mime-info +PROVIDES += "shared-mime-info" +RPROVIDES_shared-mime-info += "shared-mime-info" +# the PROVIDES rules is ignore "shared-mime-info-devel = 1.0" +PROVIDES += "shared-mime-info-devel" +RPROVIDES_shared-mime-info += "shared-mime-info-devel" +RPROVIDES_shared-mime-info += "shared-mime-info-dev" + +#PROVIDES by shared-mime-info-docs +PROVIDES += "shared-mime-info-docs " +RPROVIDES_shared-mime-info-docs += "shared-mime-info-docs " + +#PROVIDES by shared-mime-info-locale +PROVIDES += "shared-mime-info-locale " +RPROVIDES_shared-mime-info-locale += "shared-mime-info-locale " +# the PROVIDES rules is ignore "shared-mime-info-lang-all = 1.0" +PROVIDES += "shared-mime-info-lang-all" +RPROVIDES_shared-mime-info-locale += "shared-mime-info-lang-all" + +#PROVIDES by shared-mime-info-tools +PROVIDES += "shared-mime-info-tools" +RPROVIDES_shared-mime-info-tools += "shared-mime-info-tools" + +RDEPENDS = "" +#RDEPENDS of shared-mime-info-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "shared-mime-info" + +#RDEPENDS of shared-mime-info-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "shared-mime-info" + +#RDEPENDS of shared-mime-info (${PN}) +RDEPENDS_${PN} += "/usr/bin/fgrep" +RDEPENDS_${PN} += "/usr/bin/rm" +RDEPENDS_${PN} += "/usr/bin/mkdir" + + +DEPENDS = "" +#DEPENDS of shared-mime-info +DEPENDS += "libxml2" +DEPENDS += "intltool-native" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/shared-mime-info.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make V=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install ${S}/packaging/mime-info-to-mime ${D}/usr/bin/ + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} shared-mime-info --without-C + # Install rpm macros + install -D -m644 ${S}/packaging/macros.shared-mime-info ${D}/etc/rpm/macros.shared-mime-info + + + +} + +PACKAGES = "" +PACKAGES += "shared-mime-info-tools" +PACKAGES += "shared-mime-info-docs" +PACKAGES += "shared-mime-info-locale" +PACKAGES += "shared-mime-info" + +shared-mime-info-tools_files = "" +shared-mime-info-tools_files += "shared-mime-info.manifest" +shared-mime-info-tools_files += "/usr/bin/mime-info-to-mime" + +shared-mime-info-docs_files = "" +shared-mime-info-docs_files += "/usr/share/info" +shared-mime-info-docs_files += "/usr/share/man" + +shared-mime-info-locale_files = "" + +shared-mime-info_files = "" +shared-mime-info_files += "shared-mime-info.manifest" +shared-mime-info_files += "/usr/bin/update-mime-database" +shared-mime-info_files += "/usr/share/mime/packages/*.xml" +shared-mime-info_files += "/usr/share/pkgconfig/*.pc" +shared-mime-info_files += "/etc/rpm/macros.shared-mime-info" + +FILES_${PN}-tools = "${shared-mime-info-tools_files}" +FILES_${PN}-docs = "${shared-mime-info-docs_files}" +FILES_${PN}-locale = "${shared-mime-info-locale_files}" +FILES_${PN} = "${shared-mime-info_files}" + +PKG_shared-mime-info-tools= "shared-mime-info-tools" +PKG_shared-mime-info-docs= "shared-mime-info-docs" +PKG_shared-mime-info-locale= "shared-mime-info-locale" +PKG_shared-mime-info= "shared-mime-info" + +require shared-mime-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info_git.bb b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info_git.bb new file mode 100644 index 0000000..5399d8d --- /dev/null +++ b/meta-tizen/recipes-tizen/shared-mime-info/shared-mime-info_git.bb @@ -0,0 +1,8 @@ +require shared-mime-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/shared-mime-info;protocol=ssh;tag=666f2a09020e48b49a92221fb728f18e03177b8a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/shortcut/shortcut-extraconf.inc b/meta-tizen/recipes-tizen/shortcut/shortcut-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/shortcut/shortcut-native_git.bb b/meta-tizen/recipes-tizen/shortcut/shortcut-native_git.bb new file mode 100644 index 0000000..8c9d08f --- /dev/null +++ b/meta-tizen/recipes-tizen/shortcut/shortcut-native_git.bb @@ -0,0 +1,12 @@ +require shortcut.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/shortcut;protocol=ssh;tag=502c7807b32ad01020a8b679bd7f4160d9992f6f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/shortcut/shortcut.inc b/meta-tizen/recipes-tizen/shortcut/shortcut.inc new file mode 100644 index 0000000..972943e --- /dev/null +++ b/meta-tizen/recipes-tizen/shortcut/shortcut.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Shortcut add feature supporting library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "HomeTF/Framework" +LICENSE = "Apache License" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libshortcut-devel +PROVIDES += "libshortcut-devel" +RPROVIDES_libshortcut-devel += "libshortcut-devel" +RPROVIDES_libshortcut-devel += "libshortcut-dev" + +#PROVIDES by libshortcut +PROVIDES += "libshortcut" +RPROVIDES_libshortcut += "libshortcut" + +RDEPENDS = "" +#RDEPENDS of libshortcut-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libshortcut" + +#RDEPENDS of libshortcut (lib${PN}) +RDEPENDS_lib${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of libshortcut +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(com-core)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sqlite3)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libslp-db-util" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libshortcut.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/dbspace + touch ${D}/opt/dbspace/.shortcut_service.db + touch ${D}/opt/dbspace/.shortcut_service.db-journal + + +} + +PACKAGES = "" +PACKAGES += "libshortcut-devel" +PACKAGES += "libshortcut" + +libshortcut-devel_files = "" +libshortcut-devel_files += "libshortcut.manifest" +libshortcut-devel_files += "/usr/include/shortcut/shortcut_PG.h" +libshortcut-devel_files += "/usr/include/shortcut/shortcut.h" +libshortcut-devel_files += "/usr/lib/pkgconfig/shortcut.pc" + +libshortcut_files = "" +libshortcut_files += "libshortcut.manifest" +libshortcut_files += "/usr/lib/*.so*" +libshortcut_files += "/usr/etc/package-manager/parserlib/*" +libshortcut_files += "/usr/share/license/*" + +FILES_${PN}-devel = "${libshortcut-devel_files}" +FILES_${PN} = "${libshortcut_files}" + +PKG_libshortcut-devel= "libshortcut-devel" +PKG_libshortcut= "libshortcut" + +require shortcut-extraconf.inc diff --git a/meta-tizen/recipes-tizen/shortcut/shortcut_git.bb b/meta-tizen/recipes-tizen/shortcut/shortcut_git.bb new file mode 100644 index 0000000..7f74e2f --- /dev/null +++ b/meta-tizen/recipes-tizen/shortcut/shortcut_git.bb @@ -0,0 +1,8 @@ +require shortcut.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/shortcut;protocol=ssh;tag=502c7807b32ad01020a8b679bd7f4160d9992f6f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sim/sim-extraconf.inc b/meta-tizen/recipes-tizen/sim/sim-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sim/sim-native_git.bb b/meta-tizen/recipes-tizen/sim/sim-native_git.bb new file mode 100644 index 0000000..3fe54b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/sim/sim-native_git.bb @@ -0,0 +1,12 @@ +require sim.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sim;protocol=ssh;tag=c1be96eb809b36b5886fcdc662c538ab62fac990;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sim/sim.inc b/meta-tizen/recipes-tizen/sim/sim.inc new file mode 100644 index 0000000..2aebe55 --- /dev/null +++ b/meta-tizen/recipes-tizen/sim/sim.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Telephony SIM Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Telephony/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-telephony-sim +PROVIDES += "capi-telephony-sim" +RPROVIDES_capi-telephony-sim += "capi-telephony-sim" + +#PROVIDES by capi-telephony-sim-devel +PROVIDES += "capi-telephony-sim-devel" +RPROVIDES_capi-telephony-sim-devel += "capi-telephony-sim-devel" +RPROVIDES_capi-telephony-sim-devel += "capi-telephony-sim-dev" + +RDEPENDS = "" +#RDEPENDS of capi-telephony-sim-devel (capi-telephony-${PN}-devel) +RDEPENDS_capi-telephony-${PN}-devel += "capi-telephony-sim" + + +DEPENDS = "" +#DEPENDS of capi-telephony-sim +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-telephony-sim.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.7 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.7 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-telephony-sim" +PACKAGES += "capi-telephony-sim-devel" + +capi-telephony-sim_files = "" +capi-telephony-sim_files += "capi-telephony-sim.manifest" +capi-telephony-sim_files += "capi-telephony-sim.manifest" +capi-telephony-sim_files += "/usr/lib/libcapi-telephony-sim.so.*" + +capi-telephony-sim-devel_files = "" +capi-telephony-sim-devel_files += "capi-telephony-sim.manifest" +capi-telephony-sim-devel_files += "/usr/include/telephony/sim.h" +capi-telephony-sim-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-telephony-sim-devel_files += "/usr/lib/libcapi-telephony-sim.so" + +FILES_${PN} = "${capi-telephony-sim_files}" +FILES_${PN}-devel = "${capi-telephony-sim-devel_files}" + +PKG_capi-telephony-sim= "capi-telephony-sim" +PKG_capi-telephony-sim-devel= "capi-telephony-sim-devel" + +require sim-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sim/sim_git.bb b/meta-tizen/recipes-tizen/sim/sim_git.bb new file mode 100644 index 0000000..62fde6e --- /dev/null +++ b/meta-tizen/recipes-tizen/sim/sim_git.bb @@ -0,0 +1,8 @@ +require sim.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sim;protocol=ssh;tag=c1be96eb809b36b5886fcdc662c538ab62fac990;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-native_git.bb b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-native_git.bb new file mode 100644 index 0000000..5e92db0 --- /dev/null +++ b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr-native_git.bb @@ -0,0 +1,12 @@ +require slp-pkgmgr.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;protocol=ssh;tag=9f13493a8a45a9eb1d7ed15a5f4e5f35243e70e7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc new file mode 100644 index 0000000..11ae14b --- /dev/null +++ b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc @@ -0,0 +1,240 @@ +DESCRIPTION = "Packager Manager client library package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Package Management" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by pkgmgr-client +PROVIDES += "pkgmgr-client" +RPROVIDES_pkgmgr-client += "pkgmgr-client" + +#PROVIDES by pkgmgr +PROVIDES += "pkgmgr" +RPROVIDES_pkgmgr += "pkgmgr" + +#PROVIDES by pkgmgr-server +PROVIDES += "pkgmgr-server" +RPROVIDES_pkgmgr-server += "pkgmgr-server" + +#PROVIDES by pkgmgr-types-devel +PROVIDES += "pkgmgr-types-devel" +RPROVIDES_pkgmgr-types-devel += "pkgmgr-types-devel" +RPROVIDES_pkgmgr-types-devel += "pkgmgr-types-dev" + +#PROVIDES by pkgmgr-client-devel +PROVIDES += "pkgmgr-client-devel" +RPROVIDES_pkgmgr-client-devel += "pkgmgr-client-devel" +RPROVIDES_pkgmgr-client-devel += "pkgmgr-client-dev" + +#PROVIDES by pkgmgr-installer-devel +PROVIDES += "pkgmgr-installer-devel" +RPROVIDES_pkgmgr-installer-devel += "pkgmgr-installer-devel" +RPROVIDES_pkgmgr-installer-devel += "pkgmgr-installer-dev" + +#PROVIDES by pkgmgr-installer +PROVIDES += "pkgmgr-installer" +RPROVIDES_pkgmgr-installer += "pkgmgr-installer" + +RDEPENDS = "" +#RDEPENDS of pkgmgr-client (pkgmgr-client) +RDEPENDS_pkgmgr-client += "shared-mime-info" +RDEPENDS_pkgmgr-client += "pkgmgr" + +#RDEPENDS of pkgmgr-server (pkgmgr-server) +RDEPENDS_pkgmgr-server += "pkgmgr" + +#RDEPENDS of pkgmgr-types-devel (pkgmgr-types-devel) +RDEPENDS_pkgmgr-types-devel += "pkgmgr" + +#RDEPENDS of pkgmgr-client-devel (pkgmgr-client-devel) +RDEPENDS_pkgmgr-client-devel += "pkgmgr" + +#RDEPENDS of pkgmgr-installer-devel (pkgmgr-installer-devel) +RDEPENDS_pkgmgr-installer-devel += "pkgmgr" + +#RDEPENDS of pkgmgr-installer (pkgmgr-installer) +RDEPENDS_pkgmgr-installer += "pkgmgr" + + +DEPENDS = "" +#DEPENDS of pkgmgr +DEPENDS += "bundle" +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "unzip" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(dbus-1)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "app-core" +DEPENDS += "pkgmgr-info" +DEPENDS += "ail" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "dlog" +DEPENDS += "ecore" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pkgmgr.manifest ${S}/packaging/pkgmgr-client.manifest ${S}/packaging/pkgmgr-client-devel.manifest ${S}/packaging/pkgmgr-server.manifest ${S}/packaging/pkgmgr-installer.manifest ${S}/packaging/pkgmgr-installer-devel.manifest ${S}/packaging/pkgmgr-types-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -DX11_SUPPORT=Off + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}/usr/bin/pkgmgr_backend_sample + rm -f ${D}/usr/lib/libpkgmgr_backend_lib_sample.so + rm -f ${D}/usr/lib/libpkgmgr_parser_lib_sample.so + + mkdir -p ${D}/etc/package-manager/backend + mkdir -p ${D}/etc/package-manager/backendlib + mkdir -p ${D}/etc/opt/upgrade + + mkdir -p ${D}/etc/package-manager/server + + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} package-manager + +} + +PACKAGES = "" +PACKAGES += "pkgmgr-client" +PACKAGES += "pkgmgr" +PACKAGES += "pkgmgr-server" +PACKAGES += "pkgmgr-types-devel" +PACKAGES += "pkgmgr-client-devel" +PACKAGES += "pkgmgr-installer-devel" +PACKAGES += "pkgmgr-installer" + +pkgmgr-client_files = "" +pkgmgr-client_files += "pkgmgr-client.manifest" +pkgmgr-client_files += "/etc/package-manager" +pkgmgr-client_files += "/etc/package-manager/pkg_path.conf" +pkgmgr-client_files += "/usr/lib/libpkgmgr-client.so.*" + +pkgmgr_files = "" +pkgmgr_files += "pkgmgr.manifest" +pkgmgr_files += "/etc/package-manager/backend" +pkgmgr_files += "/etc/package-manager/backendlib" +pkgmgr_files += "/etc/opt/upgrade" +pkgmgr_files += "/etc/opt/upgrade/pkgmgr.patch.sh" +pkgmgr_files += "/usr/bin/pkgcmd" +pkgmgr_files += "/usr/bin/pkg_initdb" +pkgmgr_files += "/usr/bin/pkg_getsize" +pkgmgr_files += "/usr/bin/pkginfo" +pkgmgr_files += "/usr/bin/pkgmgr-install" +pkgmgr_files += "/usr/share/packages" +pkgmgr_files += "/usr/share/packages/org.tizen.pkgmgr-install.xml" +pkgmgr_files += "/usr/share/mime/packages/mime.wac.xml" +pkgmgr_files += "/usr/share/mime/packages/mime.tpk.xml" + +pkgmgr-server_files = "" +pkgmgr-server_files += "pkgmgr-server.manifest" +pkgmgr-server_files += "/usr/share/dbus-1/system-services/org.tizen.slp.pkgmgr.service" +pkgmgr-server_files += "/etc/dbus-1/system.d/org.tizen.slp.pkgmgr.conf" +pkgmgr-server_files += "/usr/bin/pkgmgr-server" +pkgmgr-server_files += "/etc/package-manager/server" + +pkgmgr-types-devel_files = "" +pkgmgr-types-devel_files += "pkgmgr-types-devel.manifest" +pkgmgr-types-devel_files += "/usr/include/package-manager-types.h" +pkgmgr-types-devel_files += "/usr/include/package-manager-plugin.h" +pkgmgr-types-devel_files += "/usr/lib/pkgconfig/pkgmgr-types.pc" + +pkgmgr-client-devel_files = "" +pkgmgr-client-devel_files += "pkgmgr-client-devel.manifest" +pkgmgr-client-devel_files += "/usr/include/package-manager.h" +pkgmgr-client-devel_files += "/usr/include/pkgmgr-dbinfo.h" +pkgmgr-client-devel_files += "/usr/lib/pkgconfig/pkgmgr.pc" +pkgmgr-client-devel_files += "/usr/lib/libpkgmgr-client.so" + +pkgmgr-installer-devel_files = "" +pkgmgr-installer-devel_files += "pkgmgr-installer-devel.manifest" +pkgmgr-installer-devel_files += "/usr/include/pkgmgr" +pkgmgr-installer-devel_files += "/usr/include/pkgmgr/pkgmgr_installer.h" +pkgmgr-installer-devel_files += "/usr/lib/pkgconfig/pkgmgr-installer-status-broadcast-server.pc" +pkgmgr-installer-devel_files += "/usr/lib/pkgconfig/pkgmgr-installer.pc" +pkgmgr-installer-devel_files += "/usr/lib/pkgconfig/pkgmgr-installer-client.pc" +pkgmgr-installer-devel_files += "/usr/lib/libpkgmgr_installer.so" +pkgmgr-installer-devel_files += "/usr/lib/libpkgmgr_installer_client.so" +pkgmgr-installer-devel_files += "/usr/lib/libpkgmgr_installer_status_broadcast_server.so" + +pkgmgr-installer_files = "" +pkgmgr-installer_files += "pkgmgr-installer.manifest" +pkgmgr-installer_files += "/usr/lib/libpkgmgr_installer.so.*" +pkgmgr-installer_files += "/usr/lib/libpkgmgr_installer_status_broadcast_server.so.*" +pkgmgr-installer_files += "/usr/lib/libpkgmgr_installer_client.so.*" + +FILES_${PN}-client = "${pkgmgr-client_files}" +FILES_${PN} = "${pkgmgr_files}" +FILES_${PN}-server = "${pkgmgr-server_files}" +FILES_${PN}-types-devel = "${pkgmgr-types-devel_files}" +FILES_${PN}-client-devel = "${pkgmgr-client-devel_files}" +FILES_${PN}-installer-devel = "${pkgmgr-installer-devel_files}" +FILES_${PN}-installer = "${pkgmgr-installer_files}" + +PKG_pkgmgr-client= "pkgmgr-client" +PKG_pkgmgr= "pkgmgr" +PKG_pkgmgr-server= "pkgmgr-server" +PKG_pkgmgr-types-devel= "pkgmgr-types-devel" +PKG_pkgmgr-client-devel= "pkgmgr-client-devel" +PKG_pkgmgr-installer-devel= "pkgmgr-installer-devel" +PKG_pkgmgr-installer= "pkgmgr-installer" + +require slp-pkgmgr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb new file mode 100644 index 0000000..6f2ba7a --- /dev/null +++ b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb @@ -0,0 +1,8 @@ +require slp-pkgmgr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;protocol=ssh;tag=9f13493a8a45a9eb1d7ed15a5f4e5f35243e70e7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/smack/smack-extraconf.inc b/meta-tizen/recipes-tizen/smack/smack-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/smack/smack-native_git.bb b/meta-tizen/recipes-tizen/smack/smack-native_git.bb new file mode 100644 index 0000000..f728698 --- /dev/null +++ b/meta-tizen/recipes-tizen/smack/smack-native_git.bb @@ -0,0 +1,12 @@ +require smack.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/smack;protocol=ssh;tag=464f3bbca76e113a79382a09ceea74a06ded3142;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/smack/smack.inc b/meta-tizen/recipes-tizen/smack/smack.inc new file mode 100644 index 0000000..a4e67d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/smack/smack.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "Selection of tools for developers working with Smack" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by smack-devel +PROVIDES += "smack-devel" +RPROVIDES_smack-devel += "smack-devel" +RPROVIDES_smack-devel += "smack-dev" + +#PROVIDES by smack +PROVIDES += "smack" +RPROVIDES_smack += "smack" + +#PROVIDES by libsmack +PROVIDES += "libsmack" +RPROVIDES_libsmack += "libsmack" + +#PROVIDES by smack-docs +PROVIDES += "smack-docs " +RPROVIDES_smack-docs += "smack-docs " + +RDEPENDS = "" +#RDEPENDS of smack-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsmack" + + +DEPENDS = "" +#DEPENDS of smack +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/smack.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf --install --symlink + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-systemdsystemunitdir=/usr/lib/systemd/system + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d ${D}/etc/smack/accesses.d + install -d ${D}/etc/smack/cipso.d + install -d ${D}/smack + + + +} + +PACKAGES = "" +PACKAGES += "smack-devel" +PACKAGES += "smack" +PACKAGES += "libsmack" +PACKAGES += "smack-docs" + +smack-devel_files = "" +smack-devel_files += "smack.manifest" +smack-devel_files += "/usr/include/sys/smack.h" +smack-devel_files += "/usr/lib/libsmack.so" +smack-devel_files += "/usr/lib/pkgconfig/libsmack.pc" + +smack_files = "" +smack_files += "smack.manifest" +smack_files += "/etc/smack" +smack_files += "/etc/smack/accesses.d" +smack_files += "/etc/smack/cipso.d" + +libsmack_files = "" +libsmack_files += "smack.manifest" +libsmack_files += "/usr/lib/libsmack.so.*" + +smack-docs_files = "" +smack-docs_files += "/usr/share/info" +smack-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${smack-devel_files}" +FILES_${PN} = "${smack_files}" +FILES_lib${PN} = "${libsmack_files}" +FILES_${PN}-docs = "${smack-docs_files}" + +PKG_smack-devel= "smack-devel" +PKG_smack= "smack" +PKG_libsmack= "libsmack" +PKG_smack-docs= "smack-docs" + +require smack-extraconf.inc diff --git a/meta-tizen/recipes-tizen/smack/smack_git.bb b/meta-tizen/recipes-tizen/smack/smack_git.bb new file mode 100644 index 0000000..0ea6037 --- /dev/null +++ b/meta-tizen/recipes-tizen/smack/smack_git.bb @@ -0,0 +1,8 @@ +require smack.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/smack;protocol=ssh;tag=464f3bbca76e113a79382a09ceea74a06ded3142;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/smartcard-service/smartcard-service-extraconf.inc b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/smartcard-service/smartcard-service-native_git.bb b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service-native_git.bb new file mode 100644 index 0000000..8b029bc --- /dev/null +++ b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service-native_git.bb @@ -0,0 +1,12 @@ +require smartcard-service.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/smartcard-service;protocol=ssh;tag=2b952f512092b75bcc3a75eb0660fb14efabe46c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/smartcard-service/smartcard-service.inc b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service.inc new file mode 100644 index 0000000..5695ec0 --- /dev/null +++ b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service.inc @@ -0,0 +1,170 @@ +DESCRIPTION = "Smartcard Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by smartcard-service-devel +PROVIDES += "smartcard-service-devel" +RPROVIDES_smartcard-service-devel += "smartcard-service-devel" +RPROVIDES_smartcard-service-devel += "smartcard-service-dev" + +#PROVIDES by smartcard-service +PROVIDES += "smartcard-service" +RPROVIDES_smartcard-service += "smartcard-service" + +#PROVIDES by smartcard-service-common-devel +PROVIDES += "smartcard-service-common-devel" +RPROVIDES_smartcard-service-common-devel += "smartcard-service-common-devel" +RPROVIDES_smartcard-service-common-devel += "smartcard-service-common-dev" + +#PROVIDES by smartcard-service-server +PROVIDES += "smartcard-service-server" +RPROVIDES_smartcard-service-server += "smartcard-service-server" + +#PROVIDES by smartcard-service-common +PROVIDES += "smartcard-service-common" +RPROVIDES_smartcard-service-common += "smartcard-service-common" + +RDEPENDS = "" +#RDEPENDS of smartcard-service-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "smartcard-service" + +#RDEPENDS of smartcard-service (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" +RDEPENDS_${PN} += "smartcard-service-common" + +#RDEPENDS of smartcard-service-common-devel (${PN}-common-devel) +RDEPENDS_${PN}-common-devel += "smartcard-service-common" + +#RDEPENDS of smartcard-service-server (${PN}-server) +RDEPENDS_${PN}-server += "smartcard-service-common" + + +DEPENDS = "" +#DEPENDS of smartcard-service +DEPENDS += "pkgconfig(security-server)" +DEPENDS += "cmake" +DEPENDS += "slp-pkgmgr" +inherit pythonnative +DEPENDS += "pkgconfig(aul)" +DEPENDS += "openssl" +DEPENDS += "dlog" +DEPENDS += "pkgmgr-info" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(gio-unix-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/smartcard-service.manifest ${S}/packaging/smartcard-service-devel.manifest ${S}/packaging/smartcard-service-common.manifest ${S}/packaging/smartcard-service-common-devel.manifest ${S}/packaging/smartcard-service-server.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.28 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . "-DUSE_AUTOSTART=1" -DFULLVER=0.1.28 -DMAJORVER=${MAJORVER} + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "smartcard-service-devel" +PACKAGES += "smartcard-service" +PACKAGES += "smartcard-service-common-devel" +PACKAGES += "smartcard-service-server" +PACKAGES += "smartcard-service-common" + +smartcard-service-devel_files = "" +smartcard-service-devel_files += "smartcard-service-devel.manifest" +smartcard-service-devel_files += "/usr/include/smartcard-service/*" +smartcard-service-devel_files += "/usr/lib/libsmartcard-service.so" +smartcard-service-devel_files += "/usr/lib/pkgconfig/smartcard-service.pc" + +smartcard-service_files = "" +smartcard-service_files += "smartcard-service.manifest" +smartcard-service_files += "/usr/lib/libsmartcard-service.so.*" + +smartcard-service-common-devel_files = "" +smartcard-service-common-devel_files += "smartcard-service-common-devel.manifest" +smartcard-service-common-devel_files += "/usr/include/smartcard-service-common/*" +smartcard-service-common-devel_files += "/usr/lib/libsmartcard-service-common.so" +smartcard-service-common-devel_files += "/usr/lib/pkgconfig/smartcard-service-common.pc" + +smartcard-service-server_files = "" +smartcard-service-server_files += "smartcard-service-server.manifest" +smartcard-service-server_files += "/usr/bin/smartcard-daemon" +smartcard-service-server_files += "/usr/share/packages/smartcard-service-server.xml" +smartcard-service-server_files += "/usr/share/dbus-1/services/org.tizen.smartcard_service.service" + +smartcard-service-common_files = "" +smartcard-service-common_files += "smartcard-service-common.manifest" +smartcard-service-common_files += "/usr/lib/libsmartcard-service-common.so.*" + +FILES_${PN}-devel = "${smartcard-service-devel_files}" +FILES_${PN} = "${smartcard-service_files}" +FILES_${PN}-common-devel = "${smartcard-service-common-devel_files}" +FILES_${PN}-server = "${smartcard-service-server_files}" +FILES_${PN}-common = "${smartcard-service-common_files}" + +PKG_smartcard-service-devel= "smartcard-service-devel" +PKG_smartcard-service= "smartcard-service" +PKG_smartcard-service-common-devel= "smartcard-service-common-devel" +PKG_smartcard-service-server= "smartcard-service-server" +PKG_smartcard-service-common= "smartcard-service-common" + +require smartcard-service-extraconf.inc diff --git a/meta-tizen/recipes-tizen/smartcard-service/smartcard-service_git.bb b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service_git.bb new file mode 100644 index 0000000..0bcefa9 --- /dev/null +++ b/meta-tizen/recipes-tizen/smartcard-service/smartcard-service_git.bb @@ -0,0 +1,8 @@ +require smartcard-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/smartcard-service;protocol=ssh;tag=2b952f512092b75bcc3a75eb0660fb14efabe46c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/snapper/snapper-extraconf.inc b/meta-tizen/recipes-tizen/snapper/snapper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/snapper/snapper-native_git.bb b/meta-tizen/recipes-tizen/snapper/snapper-native_git.bb new file mode 100644 index 0000000..a3806cb --- /dev/null +++ b/meta-tizen/recipes-tizen/snapper/snapper-native_git.bb @@ -0,0 +1,12 @@ +require snapper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/snapper;protocol=ssh;tag=77bcc296e7c6dc40cb2131f94d05c8281ce8e1f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/snapper/snapper.inc b/meta-tizen/recipes-tizen/snapper/snapper.inc new file mode 100644 index 0000000..bc3fa25 --- /dev/null +++ b/meta-tizen/recipes-tizen/snapper/snapper.inc @@ -0,0 +1,227 @@ +DESCRIPTION = "Tool for filesystem snapshot management" +HOMEPAGE = "http://en.opensuse.org/Portal:Snapper" +SECTION = "System/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsnapper +PROVIDES += "libsnapper" +RPROVIDES_libsnapper += "libsnapper" + +#PROVIDES by snapper-locale +PROVIDES += "snapper-locale " +RPROVIDES_snapper-locale += "snapper-locale " +# the PROVIDES rules is ignore "snapper-lang-all = 0.1.5" +PROVIDES += "snapper-lang-all" +RPROVIDES_snapper-locale += "snapper-lang-all" + +#PROVIDES by snapper-zypp-plugin +PROVIDES += "snapper-zypp-plugin" +RPROVIDES_snapper-zypp-plugin += "snapper-zypp-plugin" + +#PROVIDES by libsnapper-devel +PROVIDES += "libsnapper-devel" +RPROVIDES_libsnapper-devel += "libsnapper-devel" +RPROVIDES_libsnapper-devel += "libsnapper-dev" + +#PROVIDES by snapper +PROVIDES += "snapper" +RPROVIDES_snapper += "snapper" + +RDEPENDS = "" +#RDEPENDS of libsnapper (lib${PN}) +RDEPENDS_lib${PN} += "util-linux" + +#RDEPENDS of snapper-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "snapper" + +#RDEPENDS of snapper-zypp-plugin (${PN}-zypp-plugin) +RDEPENDS_${PN}-zypp-plugin += "zypp-plugin-python" +RDEPENDS_${PN}-zypp-plugin += "snapper" +RDEPENDS_${PN}-zypp-plugin += "dbus-python" +RDEPENDS_${PN}-zypp-plugin += "libzypp(plugin:commit)" + +#RDEPENDS of libsnapper-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libsnapper" +RDEPENDS_lib${PN}-devel += "libxml2-dev" +RDEPENDS_lib${PN}-devel += "boost-dev" +RDEPENDS_lib${PN}-devel += "gcc-c++" +RDEPENDS_lib${PN}-devel += "libstdc++-dev" + +#RDEPENDS of snapper (${PN}) +RDEPENDS_${PN} += "libsnapper" +RDEPENDS_${PN} += "diffutils" + + +DEPENDS = "" +#DEPENDS of snapper +DEPENDS += "gcc-cross" +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "libxml2" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libzypp" +DEPENDS += "sed" +DEPENDS += "libtool-cross" +DEPENDS += "boost" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n snapper-0.1.5 + cp ${S}/packaging/snapper.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" + export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-ext4 --disable-silent-rules --disable-pam + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/ + mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/multi-user.target.wants + + install -D scripts/snapper-hourly $RPM_BUILD_ROOT/usr/sbin/snapper-hourly + install -D scripts/snapper-daily $RPM_BUILD_ROOT/usr/sbin/snapper-daily + install -D data/snapper-hourly.timer $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-hourly.timer + install -D data/snapper-hourly.service $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-hourly.service + install -D data/snapper-daily.timer $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-daily.timer + install -D data/snapper-daily.service $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-daily.service + install -D data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper + install -D $RPM_BUILD_ROOT/etc/snapper/config-templates/default $RPM_BUILD_ROOT/etc/snapper/configs/root + + sed -i 's|ALLOW_USERS=""|ALLOW_USERS="root"|' $RPM_BUILD_ROOT/etc/snapper/configs/root + sed -i 's|SNAPPER_CONFIGS=""|SNAPPER_CONFIGS="root"|' $RPM_BUILD_ROOT/etc/sysconfig/snapper + + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../snapper-hourly.timer ${D}//lib/systemd/system/multi-user.target.wants/snapper-hourly.timer + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../snapper-daily.timer ${D}//lib/systemd/system/multi-user.target.wants/snapper-daily.timer + + rm -rf ${D}/usr/share/doc/snapper + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} snapper + + +} + +PACKAGES = "" +PACKAGES += "libsnapper" +PACKAGES += "snapper-locale" +PACKAGES += "libsnapper-devel" +PACKAGES += "snapper-zypp-plugin" +PACKAGES += "snapper" + +libsnapper_files = "" +libsnapper_files += "snapper.manifest" +libsnapper_files += "/usr/lib/libsnapper.so.*" +libsnapper_files += "/etc/snapper" +libsnapper_files += "/etc/snapper/configs" +libsnapper_files += "/etc/snapper/configs/root" +libsnapper_files += "/etc/snapper/config-templates" +libsnapper_files += "/etc/snapper/config-templates/default" +libsnapper_files += "/etc/snapper/filters" +libsnapper_files += "/etc/snapper/filters/*.txt" +libsnapper_files += "/etc/sysconfig/snapper" + +snapper-locale_files = "" + +libsnapper-devel_files = "" +libsnapper-devel_files += "snapper.manifest" +libsnapper-devel_files += "/usr/lib/libsnapper.so" +libsnapper-devel_files += "/usr/include/snapper" + +snapper-zypp-plugin_files = "" +snapper-zypp-plugin_files += "snapper.manifest" +snapper-zypp-plugin_files += "/usr/lib/zypp/plugins/commit/snapper.py*" + +snapper_files = "" +snapper_files += "snapper.manifest" +snapper_files += "/usr/bin/snapper" +snapper_files += "/usr/sbin/snapperd" +snapper_files += "/usr/sbin/snapper-hourly" +snapper_files += "/usr/sbin/snapper-daily" +snapper_files += "/etc/dbus-1/system.d/org.opensuse.Snapper.conf" +snapper_files += "/usr/share/dbus-1/system-services/org.opensuse.Snapper.service" +snapper_files += "/lib/systemd/system/snapper-hourly.timer" +snapper_files += "/lib/systemd/system/multi-user.target.wants/snapper-hourly.timer" +snapper_files += "/lib/systemd/system/snapper-hourly.service" +snapper_files += "/lib/systemd/system/snapper-daily.timer" +snapper_files += "/lib/systemd/system/multi-user.target.wants/snapper-daily.timer" +snapper_files += "/lib/systemd/system/snapper-daily.service" + +FILES_lib${PN} = "${libsnapper_files}" +FILES_${PN}-locale = "${snapper-locale_files}" +FILES_lib${PN}-devel = "${libsnapper-devel_files}" +FILES_${PN}-zypp-plugin = "${snapper-zypp-plugin_files}" +FILES_${PN} = "${snapper_files}" + +PKG_libsnapper= "libsnapper" +PKG_snapper-locale= "snapper-locale" +PKG_libsnapper-devel= "libsnapper-devel" +PKG_snapper-zypp-plugin= "snapper-zypp-plugin" +PKG_snapper= "snapper" + +require snapper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/snapper/snapper_git.bb b/meta-tizen/recipes-tizen/snapper/snapper_git.bb new file mode 100644 index 0000000..2d060c8 --- /dev/null +++ b/meta-tizen/recipes-tizen/snapper/snapper_git.bb @@ -0,0 +1,8 @@ +require snapper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/snapper;protocol=ssh;tag=77bcc296e7c6dc40cb2131f94d05c8281ce8e1f1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager-extraconf.inc b/meta-tizen/recipes-tizen/sound-manager/sound-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager-native_git.bb b/meta-tizen/recipes-tizen/sound-manager/sound-manager-native_git.bb new file mode 100644 index 0000000..54c81d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/sound-manager/sound-manager-native_git.bb @@ -0,0 +1,12 @@ +require sound-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sound-manager;protocol=ssh;tag=cf15d56b4f8a8255cb5861cc0228c2c3172d7ca0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc new file mode 100644 index 0000000..d1b943d --- /dev/null +++ b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Sound Manager library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-sound-manager-devel +PROVIDES += "capi-media-sound-manager-devel" +RPROVIDES_capi-media-sound-manager-devel += "capi-media-sound-manager-devel" +RPROVIDES_capi-media-sound-manager-devel += "capi-media-sound-manager-dev" + +#PROVIDES by capi-media-sound-manager +PROVIDES += "capi-media-sound-manager" +RPROVIDES_capi-media-sound-manager += "capi-media-sound-manager" + +RDEPENDS = "" +#RDEPENDS of capi-media-sound-manager-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-sound-manager" + + +DEPENDS = "" +#DEPENDS of capi-media-sound-manager +DEPENDS += "libmm-sound" +DEPENDS += "cmake" +DEPENDS += "libmm-session" +DEPENDS += "dlog" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-sound-manager.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-media-sound-manager-devel" +PACKAGES += "capi-media-sound-manager" + +capi-media-sound-manager-devel_files = "" +capi-media-sound-manager-devel_files += "capi-media-sound-manager.manifest" +capi-media-sound-manager-devel_files += "/usr/include/media/sound_manager.h" +capi-media-sound-manager-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-sound-manager-devel_files += "/usr/lib/libcapi-media-sound-manager.so" + +capi-media-sound-manager_files = "" +capi-media-sound-manager_files += "capi-media-sound-manager.manifest" +capi-media-sound-manager_files += "/usr/lib/libcapi-media-sound-manager.so.*" +capi-media-sound-manager_files += "capi-media-sound-manager.manifest" + +FILES_${PN}-devel = "${capi-media-sound-manager-devel_files}" +FILES_${PN} = "${capi-media-sound-manager_files}" + +PKG_capi-media-sound-manager-devel= "capi-media-sound-manager-devel" +PKG_capi-media-sound-manager= "capi-media-sound-manager" + +require sound-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager_git.bb b/meta-tizen/recipes-tizen/sound-manager/sound-manager_git.bb new file mode 100644 index 0000000..cf8aa32 --- /dev/null +++ b/meta-tizen/recipes-tizen/sound-manager/sound-manager_git.bb @@ -0,0 +1,8 @@ +require sound-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sound-manager;protocol=ssh;tag=cf15d56b4f8a8255cb5861cc0228c2c3172d7ca0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/speex/speex-extraconf.inc b/meta-tizen/recipes-tizen/speex/speex-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/speex/speex-native_git.bb b/meta-tizen/recipes-tizen/speex/speex-native_git.bb new file mode 100644 index 0000000..645c28e --- /dev/null +++ b/meta-tizen/recipes-tizen/speex/speex-native_git.bb @@ -0,0 +1,12 @@ +require speex.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/speex;protocol=ssh;tag=07717be8159a192033af8e6777bf988234019352;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/speex/speex.inc b/meta-tizen/recipes-tizen/speex/speex.inc new file mode 100644 index 0000000..d5a4c60 --- /dev/null +++ b/meta-tizen/recipes-tizen/speex/speex.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "An Open Source, Patent Free Speech Codec" +HOMEPAGE = "http://www.speex.org/" +SECTION = "Multimedia/Audio" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by speex +PROVIDES += "speex" +RPROVIDES_speex += "speex" + +#PROVIDES by libspeex +PROVIDES += "libspeex" +RPROVIDES_libspeex += "libspeex" + +#PROVIDES by libspeexdsp +PROVIDES += "libspeexdsp" +RPROVIDES_libspeexdsp += "libspeexdsp" + +#PROVIDES by speex-devel +PROVIDES += "speex-devel" +RPROVIDES_speex-devel += "speex-devel" +RPROVIDES_speex-devel += "speex-dev" + +RDEPENDS = "" +#RDEPENDS of speex-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "libspeex" +RDEPENDS_${PN}-devel += "libspeexdsp" +RDEPENDS_${PN}-devel += "libogg-dev" + + +DEPENDS = "" +#DEPENDS of speex +DEPENDS += "libtool-cross" +DEPENDS += "libogg" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n speex-1.2rc1 + cp ${S}/packaging/speex.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --with-ogg-libraries=/usr/lib + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # remove duped documents + rm -rf ${D}/usr/share/doc/speex* + + +} + +PACKAGES = "" +PACKAGES += "speex" +PACKAGES += "libspeex" +PACKAGES += "libspeexdsp" +PACKAGES += "speex-devel" + +speex_files = "" +speex_files += "speex.manifest" +speex_files += "/usr/bin/speex*" +speex_files += "/usr/share/man/man?/*" + +libspeex_files = "" +libspeex_files += "speex.manifest" +libspeex_files += "/usr/lib/libspeex.so.*" + +libspeexdsp_files = "" +libspeexdsp_files += "speex.manifest" +libspeexdsp_files += "/usr/lib/libspeexdsp.so.*" + +speex-devel_files = "" +speex-devel_files += "speex.manifest" +speex-devel_files += "/usr/include/*" +speex-devel_files += "/usr/lib/lib*.so" +speex-devel_files += "/usr/lib/pkgconfig/*.pc" +speex-devel_files += "/usr/share/aclocal/*.m4" + +FILES_${PN} = "${speex_files}" +FILES_lib${PN} = "${libspeex_files}" +FILES_lib${PN}dsp = "${libspeexdsp_files}" +FILES_${PN}-devel = "${speex-devel_files}" + +PKG_speex= "speex" +PKG_libspeex= "libspeex" +PKG_libspeexdsp= "libspeexdsp" +PKG_speex-devel= "speex-devel" + +require speex-extraconf.inc diff --git a/meta-tizen/recipes-tizen/speex/speex_git.bb b/meta-tizen/recipes-tizen/speex/speex_git.bb new file mode 100644 index 0000000..108657a --- /dev/null +++ b/meta-tizen/recipes-tizen/speex/speex_git.bb @@ -0,0 +1,8 @@ +require speex.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/speex;protocol=ssh;tag=07717be8159a192033af8e6777bf988234019352;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sppc/sppc-extraconf.inc b/meta-tizen/recipes-tizen/sppc/sppc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sppc/sppc-native_git.bb b/meta-tizen/recipes-tizen/sppc/sppc-native_git.bb new file mode 100644 index 0000000..3821f77 --- /dev/null +++ b/meta-tizen/recipes-tizen/sppc/sppc-native_git.bb @@ -0,0 +1,12 @@ +require sppc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/sppc;protocol=ssh;tag=a3cfb75871c9bccd1edc98903296f223e2537521;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sppc/sppc.inc b/meta-tizen/recipes-tizen/sppc/sppc.inc new file mode 100644 index 0000000..f23da51 --- /dev/null +++ b/meta-tizen/recipes-tizen/sppc/sppc.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "Push services and client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framwork/Service" +LICENSE = "Flora" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by push +PROVIDES += "push" +RPROVIDES_push += "push" + +#PROVIDES by push-bin +PROVIDES += "push-bin" +RPROVIDES_push-bin += "push-bin" + +#PROVIDES by push-tool +PROVIDES += "push-tool" +RPROVIDES_push-tool += "push-tool" + +#PROVIDES by libpush-devel +PROVIDES += "libpush-devel" +RPROVIDES_libpush-devel += "libpush-devel" +RPROVIDES_libpush-devel += "libpush-dev" + +#PROVIDES by libpush +PROVIDES += "libpush" +RPROVIDES_libpush += "libpush" +# the PROVIDES rules is ignore "libpush.so.0 " +PROVIDES += "libpush.so.0" +RPROVIDES_libpush += "libpush.so.0" + +RDEPENDS = "" +#RDEPENDS of push-bin (push-bin) +RDEPENDS_push-bin += "badge" + +#RDEPENDS of push-tool (push-tool) +RDEPENDS_push-tool += "push-bin" +RDEPENDS_push-tool += "libpush" + +#RDEPENDS of libpush-devel (libpush-devel) +RDEPENDS_libpush-devel += "capi-appfw-application-dev" +RDEPENDS_libpush-devel += "libpush" + + +DEPENDS = "" +#DEPENDS of push +DEPENDS += "pkgconfig(libtzplatform-config)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libpush.manifest ${S}/packaging/libpush-devel.manifest ${S}/packaging/push-bin.manifest ${S}/packaging/push-tool.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + + mkdir -p ${D}/usr/bin + mkdir -p ${D}/usr/lib/pkgconfig + mkdir -p ${D}/usr/include + mkdir -p ${D}/usr/share/push + mkdir -p ${D}/etc/init.d + mkdir -p ${D}/etc/rc.d/{rc3.d,rc5.d} + mkdir -p ${D}/usr/lib/systemd/user/tizen-middleware.target.wants + + + #libpush + cp -a x86/lib/libpush.so.* ${D}/usr/lib + #libpush-devel + cp -a x86/include/push.h ${D}/usr/include + cp -a x86/lib/pkgconfig/push.pc ${D}/usr/lib/pkgconfig/push.pc + cp -a x86/lib/libpush.so ${D}/usr/lib + #push-bin + cp -a x86/bin/pushd ${D}/usr/bin + cp -a x86/share/push/PushServerTrust.cer ${D}/usr/share/push/PushServerTrust.cer + cp -a x86/etc/init.d/pushd ${D}/etc/init.d/pushd + cp -a x86/etc/rc.d/rc3.d/S90pushd ${D}/etc/rc.d/rc3.d/S90pushd + cp -a x86/etc/rc.d/rc5.d/S90pushd ${D}/etc/rc.d/rc5.d/S90pushd + cp -a x86/lib/systemd/user/pushd.service ${D}/usr/lib/systemd/user/pushd.service + cp -a x86/lib/systemd/user/tizen-middleware.target.wants/pushd.service \ + ${D}/usr/lib/systemd/user/tizen-middleware.target.wants/pushd.service + #push-tool + cp -a x86/bin/push_tool ${D}/usr/bin + + #if [ -f /usr/lib/rpm-plugins/msm.so ] + #then + # chsmack -a "_" -e "_" ${D}/etc/init.d/pushd + # chsmack -a "_" -e "_" ${D}/etc/rc.d/rc3.d/S90pushd + # chsmack -a "_" -e "_" ${D}/etc/rc.d/rc5.d/S90pushd + #fi + + install -D -m 0750 ${S}/packaging/init_push_DB.sh ${D}/usr/share/push/init_push_DB.sh + + +} + +PACKAGES = "" +PACKAGES += "push-bin" +PACKAGES += "push-tool" +PACKAGES += "libpush-devel" +PACKAGES += "libpush" + +push-bin_files = "" +push-bin_files += "push-bin.manifest" +push-bin_files += "/usr/bin/pushd" +push-bin_files += "/usr/share/push/*.cer" +push-bin_files += "/etc/init.d/pushd" +push-bin_files += "/etc/rc.d/rc3.d/S90pushd" +push-bin_files += "/etc/rc.d/rc5.d/S90pushd" +push-bin_files += "/usr/lib/systemd/user/pushd.service" +push-bin_files += "/usr/lib/systemd/user/tizen-middleware.target.wants/pushd.service" +push-bin_files += "/usr/share/push/init_push_DB.sh" + +push-tool_files = "" +push-tool_files += "push-tool.manifest" +push-tool_files += "/usr/bin/push_tool" + +libpush-devel_files = "" +libpush-devel_files += "libpush-devel.manifest" +libpush-devel_files += "/usr/lib/pkgconfig/*.pc" +libpush-devel_files += "/usr/lib/libpush.so" + +libpush_files = "" +libpush_files += "libpush.manifest" + +FILES_${PN}-bin = "${push-bin_files}" +FILES_${PN}-tool = "${push-tool_files}" +FILES_lib${PN}-devel = "${libpush-devel_files}" +FILES_lib${PN} = "${libpush_files}" + +PKG_push-bin= "push-bin" +PKG_push-tool= "push-tool" +PKG_libpush-devel= "libpush-devel" +PKG_libpush= "libpush" + +require sppc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sppc/sppc_git.bb b/meta-tizen/recipes-tizen/sppc/sppc_git.bb new file mode 100644 index 0000000..efbcfa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/sppc/sppc_git.bb @@ -0,0 +1,8 @@ +require sppc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/sppc;protocol=ssh;tag=a3cfb75871c9bccd1edc98903296f223e2537521;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sqlite/sqlite-extraconf.inc b/meta-tizen/recipes-tizen/sqlite/sqlite-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sqlite/sqlite-native_git.bb b/meta-tizen/recipes-tizen/sqlite/sqlite-native_git.bb new file mode 100644 index 0000000..e07b86d --- /dev/null +++ b/meta-tizen/recipes-tizen/sqlite/sqlite-native_git.bb @@ -0,0 +1,12 @@ +require sqlite.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sqlite;protocol=ssh;tag=6d3eef95de5a510d5b5d1ab49db7ed5dc806d6e6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sqlite/sqlite.inc b/meta-tizen/recipes-tizen/sqlite/sqlite.inc new file mode 100644 index 0000000..fd049e7 --- /dev/null +++ b/meta-tizen/recipes-tizen/sqlite/sqlite.inc @@ -0,0 +1,176 @@ +DESCRIPTION = "Embeddable SQL Database Engine" +HOMEPAGE = "http://www.sqlite.org/" +SECTION = "System/Database" +LICENSE = "Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libsqlite +PROVIDES += "libsqlite" +RPROVIDES_libsqlite += "libsqlite" +# the PROVIDES rules is ignore "libsqlit3 " +PROVIDES += "libsqlit3" +RPROVIDES_libsqlite += "libsqlit3" + +#PROVIDES by sqlite-docs +PROVIDES += "sqlite-docs " +RPROVIDES_sqlite-docs += "sqlite-docs " + +#PROVIDES by sqlite +PROVIDES += "sqlite" +RPROVIDES_sqlite += "sqlite" +# the PROVIDES rules is ignore "sqlite3 " +PROVIDES += "sqlite3" +RPROVIDES_sqlite += "sqlite3" + +#PROVIDES by sqlite-devel +PROVIDES += "sqlite-devel" +RPROVIDES_sqlite-devel += "sqlite-devel" +RPROVIDES_sqlite-devel += "sqlite-dev" +# the PROVIDES rules is ignore "sqlite3-devel = 3.7.14" +PROVIDES += "sqlite3-devel" +RPROVIDES_sqlite-devel += "sqlite3-devel" +RPROVIDES_sqlite-devel += "sqlite3-dev" + +RDEPENDS = "" +#RDEPENDS of sqlite (${PN}) +RDEPENDS_${PN} += "libsqlite" + +#RDEPENDS of sqlite-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libsqlite" +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "sqlite" + + +DEPENDS = "" +#DEPENDS of sqlite +DEPENDS += "readline" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n sqlite-autoconf-3071400 + cp ${S}/packaging/sqlite.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=`echo -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables |sed -e 's/-ffast-math//g'` + chmod +x autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --enable-threadsafe + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libsqlite" +PACKAGES += "sqlite" +PACKAGES += "sqlite-devel" +PACKAGES += "sqlite-docs" + +libsqlite_files = "" +libsqlite_files += "sqlite.manifest" +libsqlite_files += "/usr/lib/libsqlite*.so.*" + +sqlite_files = "" +sqlite_files += "sqlite.manifest" +sqlite_files += "/usr/bin/sqlite3" + +sqlite-devel_files = "" +sqlite-devel_files += "sqlite.manifest" +sqlite-devel_files += "/usr/include/*.h" +sqlite-devel_files += "/usr/lib/libsqlite*.so" +sqlite-devel_files += "/usr/lib/pkgconfig/sqlite3.pc" + +sqlite-docs_files = "" +sqlite-docs_files += "/usr/share/info" +sqlite-docs_files += "/usr/share/man" + +FILES_lib${PN} = "${libsqlite_files}" +FILES_${PN} = "${sqlite_files}" +FILES_${PN}-devel = "${sqlite-devel_files}" +FILES_${PN}-docs = "${sqlite-docs_files}" + +PKG_libsqlite= "libsqlite" +PKG_sqlite= "sqlite" +PKG_sqlite-devel= "sqlite-devel" +PKG_sqlite-docs= "sqlite-docs" + +require sqlite-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sqlite/sqlite_git.bb b/meta-tizen/recipes-tizen/sqlite/sqlite_git.bb new file mode 100644 index 0000000..f542d75 --- /dev/null +++ b/meta-tizen/recipes-tizen/sqlite/sqlite_git.bb @@ -0,0 +1,8 @@ +require sqlite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sqlite;protocol=ssh;tag=6d3eef95de5a510d5b5d1ab49db7ed5dc806d6e6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/squashfs/squashfs-extraconf.inc b/meta-tizen/recipes-tizen/squashfs/squashfs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/squashfs/squashfs-native_git.bb b/meta-tizen/recipes-tizen/squashfs/squashfs-native_git.bb new file mode 100644 index 0000000..aa0c65e --- /dev/null +++ b/meta-tizen/recipes-tizen/squashfs/squashfs-native_git.bb @@ -0,0 +1,12 @@ +require squashfs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/squashfs;protocol=ssh;tag=c06efd7649f50d77ad9b0e21d22416d2f383b6c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/squashfs/squashfs.inc b/meta-tizen/recipes-tizen/squashfs/squashfs.inc new file mode 100644 index 0000000..ae8468b --- /dev/null +++ b/meta-tizen/recipes-tizen/squashfs/squashfs.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "A Read-Only File System with Efficient Compression" +HOMEPAGE = "http://squashfs.sourceforge.net/" +SECTION = "System/Filesystems" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by squashfs +PROVIDES += "squashfs" +RPROVIDES_squashfs += "squashfs" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of squashfs +DEPENDS += "zlib-devel" +DEPENDS += "lzma-devel" +DEPENDS += "attr" +DEPENDS += "lzo" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n squashfs4.2 + cp ${S}/packaging/squashfs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + sed -i -e "s#-O2#-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables#g" squashfs-tools/Makefile + make -j16 -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + install -m 755 squashfs-tools/{un,mk}squashfs ${D}/usr/bin + + +} + +PACKAGES = "" +PACKAGES += "squashfs" + +squashfs_files = "" +squashfs_files += "squashfs.manifest" +squashfs_files += "/usr/bin/*squashfs" + +FILES_${PN} = "${squashfs_files}" + +PKG_squashfs= "squashfs" + +require squashfs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/squashfs/squashfs_git.bb b/meta-tizen/recipes-tizen/squashfs/squashfs_git.bb new file mode 100644 index 0000000..76ed87c --- /dev/null +++ b/meta-tizen/recipes-tizen/squashfs/squashfs_git.bb @@ -0,0 +1,8 @@ +require squashfs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/squashfs;protocol=ssh;tag=c06efd7649f50d77ad9b0e21d22416d2f383b6c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/starter/starter-extraconf.inc b/meta-tizen/recipes-tizen/starter/starter-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/starter/starter.inc b/meta-tizen/recipes-tizen/starter/starter.inc new file mode 100644 index 0000000..5e770c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/starter/starter.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "starter" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Startup" +LICENSE = "TO_BE/FILLED_IN" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "starter" + +starter_files = "" +starter_files += "starter.manifest" +starter_files += "/etc/init.d/rd4starter" +starter_files += "/etc/init.d/rd3starter" +starter_files += "/usr/bin/starter" +starter_files += "/usr/ug/lib/libug-lockscreen-options.so" +starter_files += "/usr/ug/lib/libug-lockscreen-options.so.0.1.0" +starter_files += "/usr/lib/systemd/user/starter.path" +starter_files += "/usr/lib/systemd/user/starter.service" +starter_files += "/usr/lib/systemd/user/core-efl.target.wants/starter.path" +starter_files += "/usr/share/license/starter" +starter_files += "/opt/data/home-daemon" + +FILES_${PN} = "${starter_files}" + +PKG_starter= "starter" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require starter-rdepends.inc +require starter-depends.inc +require starter-extraconf.inc diff --git a/meta-tizen/recipes-tizen/status/status-extraconf.inc b/meta-tizen/recipes-tizen/status/status-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/status/status-native_git.bb b/meta-tizen/recipes-tizen/status/status-native_git.bb new file mode 100644 index 0000000..742d8d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/status/status-native_git.bb @@ -0,0 +1,12 @@ +require status.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/status;protocol=ssh;tag=2afa6a6447a70d20f63c67d5ae59cf26608146d9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/status/status.inc b/meta-tizen/recipes-tizen/status/status.inc new file mode 100644 index 0000000..4fb3e3e --- /dev/null +++ b/meta-tizen/recipes-tizen/status/status.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "status library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TBD" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by status +PROVIDES += "status" +RPROVIDES_status += "status" + +#PROVIDES by status-devel +PROVIDES += "status-devel" +RPROVIDES_status-devel += "status-devel" +RPROVIDES_status-devel += "status-dev" + +RDEPENDS = "" +#RDEPENDS of status (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of status-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "status" + + +DEPENDS = "" +#DEPENDS of status +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/status.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp -f LICENSE ${D}/usr/share/license/status + + + +} + +PACKAGES = "" +PACKAGES += "status" +PACKAGES += "status-devel" + +status_files = "" +status_files += "status.manifest" +status_files += "/usr/lib/*.so*" +status_files += "/usr/share/license/status" + +status-devel_files = "" +status-devel_files += "status.manifest" +status-devel_files += "/usr/include/status/*.h" +status-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${status_files}" +FILES_${PN}-devel = "${status-devel_files}" + +PKG_status= "status" +PKG_status-devel= "status-devel" + +require status-extraconf.inc diff --git a/meta-tizen/recipes-tizen/status/status_git.bb b/meta-tizen/recipes-tizen/status/status_git.bb new file mode 100644 index 0000000..162f276 --- /dev/null +++ b/meta-tizen/recipes-tizen/status/status_git.bb @@ -0,0 +1,8 @@ +require status.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/status;protocol=ssh;tag=2afa6a6447a70d20f63c67d5ae59cf26608146d9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/strace/strace-extraconf.inc b/meta-tizen/recipes-tizen/strace/strace-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/strace/strace-native_git.bb b/meta-tizen/recipes-tizen/strace/strace-native_git.bb new file mode 100644 index 0000000..b53127d --- /dev/null +++ b/meta-tizen/recipes-tizen/strace/strace-native_git.bb @@ -0,0 +1,12 @@ +require strace.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/strace;protocol=ssh;tag=108f793d4ab176f6e0242803360790f988cf6622;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/strace/strace.inc b/meta-tizen/recipes-tizen/strace/strace.inc new file mode 100644 index 0000000..648310f --- /dev/null +++ b/meta-tizen/recipes-tizen/strace/strace.inc @@ -0,0 +1,111 @@ +DESCRIPTION = "A utility to trace the system calls of a program" +HOMEPAGE = "http://sourceforge.net/projects/strace/" +SECTION = "Development/Tools" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by strace +PROVIDES += "strace" +RPROVIDES_strace += "strace" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of strace +DEPENDS += "libaio" +DEPENDS += "xz" +DEPENDS += "lksctp-tools" +DEPENDS += "acl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/strace.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + # Have to exclude make check for qemu builds, which apparently don't support PTRACE. + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "strace" + +strace_files = "" +strace_files += "strace.manifest" +strace_files += "/usr/bin/strace" +strace_files += "/usr/bin/strace-graph" +strace_files += "/usr/bin/strace-log-merge" +strace_files += "/usr/share/man/man1/strace.1.gz" + +FILES_${PN} = "${strace_files}" + +PKG_strace= "strace" + +require strace-extraconf.inc diff --git a/meta-tizen/recipes-tizen/strace/strace_git.bb b/meta-tizen/recipes-tizen/strace/strace_git.bb new file mode 100644 index 0000000..0839aa1 --- /dev/null +++ b/meta-tizen/recipes-tizen/strace/strace_git.bb @@ -0,0 +1,8 @@ +require strace.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/strace;protocol=ssh;tag=108f793d4ab176f6e0242803360790f988cf6622;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/stt/stt-extraconf.inc b/meta-tizen/recipes-tizen/stt/stt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/stt/stt-native_git.bb b/meta-tizen/recipes-tizen/stt/stt-native_git.bb new file mode 100644 index 0000000..fe92aa3 --- /dev/null +++ b/meta-tizen/recipes-tizen/stt/stt-native_git.bb @@ -0,0 +1,12 @@ +require stt.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/stt;protocol=ssh;tag=1ab475bb3d3b7ce0e207c68716822c9e6208e097;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/stt/stt.inc b/meta-tizen/recipes-tizen/stt/stt.inc new file mode 100644 index 0000000..1cb21ce --- /dev/null +++ b/meta-tizen/recipes-tizen/stt/stt.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "Speech To Text client library and daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "UI Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by stt +PROVIDES += "stt" +RPROVIDES_stt += "stt" + +#PROVIDES by stt-devel +PROVIDES += "stt-devel" +RPROVIDES_stt-devel += "stt-devel" +RPROVIDES_stt-devel += "stt-dev" + +RDEPENDS = "" +#RDEPENDS of stt-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "stt" + + +DEPENDS = "" +#DEPENDS of stt +DEPENDS += "cmake" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(capi-media-audio-io)" +DEPENDS += "pkgconfig(ecore-file)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(capi-media-sound-manager)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/stt.manifest ${S}/packaging/stt-devel.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "stt" +PACKAGES += "stt-devel" + +stt_files = "" +stt_files += "stt.manifest" +stt_files += "/etc/config/sysinfo-stt.xml" +stt_files += "/usr/lib/libstt.so" +stt_files += "/usr/lib/libstt_setting.so" +stt_files += "/usr/lib/voice/stt/1.0/sttd.conf" +stt_files += "/usr/bin/stt-daemon" + +stt-devel_files = "" +stt-devel_files += "stt-devel.manifest" +stt-devel_files += "/usr/lib/pkgconfig/stt.pc" +stt-devel_files += "/usr/lib/pkgconfig/stt-setting.pc" +stt-devel_files += "/usr/include/stt.h" +stt-devel_files += "/usr/include/stt_setting.h" +stt-devel_files += "/usr/include/sttp.h" + +FILES_${PN} = "${stt_files}" +FILES_${PN}-devel = "${stt-devel_files}" + +PKG_stt= "stt" +PKG_stt-devel= "stt-devel" + +require stt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/stt/stt_git.bb b/meta-tizen/recipes-tizen/stt/stt_git.bb new file mode 100644 index 0000000..6d23adb --- /dev/null +++ b/meta-tizen/recipes-tizen/stt/stt_git.bb @@ -0,0 +1,8 @@ +require stt.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/stt;protocol=ssh;tag=1ab475bb3d3b7ce0e207c68716822c9e6208e097;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sudo/sudo-extraconf.inc b/meta-tizen/recipes-tizen/sudo/sudo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sudo/sudo-native_git.bb b/meta-tizen/recipes-tizen/sudo/sudo-native_git.bb new file mode 100644 index 0000000..ce57b16 --- /dev/null +++ b/meta-tizen/recipes-tizen/sudo/sudo-native_git.bb @@ -0,0 +1,12 @@ +require sudo.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sudo;protocol=ssh;tag=3e43b0d7ac6ee32fc3e0cad4a2c3bc5b21ee0347;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sudo/sudo.inc b/meta-tizen/recipes-tizen/sudo/sudo.inc new file mode 100644 index 0000000..201b4e3 --- /dev/null +++ b/meta-tizen/recipes-tizen/sudo/sudo.inc @@ -0,0 +1,169 @@ +DESCRIPTION = "Execute some commands as root" +HOMEPAGE = "http://www.sudo.ws/" +SECTION = "System/Base" +LICENSE = "ISC" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sudo-devel +PROVIDES += "sudo-devel" +RPROVIDES_sudo-devel += "sudo-devel" +RPROVIDES_sudo-devel += "sudo-dev" + +#PROVIDES by sudo +PROVIDES += "sudo" +RPROVIDES_sudo += "sudo" + +#PROVIDES by sudo-locale +PROVIDES += "sudo-locale " +RPROVIDES_sudo-locale += "sudo-locale " +# the PROVIDES rules is ignore "sudo-lang-all = 1.8.7" +PROVIDES += "sudo-lang-all" +RPROVIDES_sudo-locale += "sudo-lang-all" + +RDEPENDS = "" +#RDEPENDS of sudo (${PN}) +RDEPENDS_${PN} += "coreutils" + +#RDEPENDS of sudo-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "sudo" + + +DEPENDS = "" +#DEPENDS of sudo +DEPENDS += "groff" +DEPENDS += "pam" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sudo.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + F_PIE=-fpie + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall $F_PIE -DLDAP_DEPRECATED" + export LDFLAGS="-pie" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/libexec/sudo \ + --docdir=/usr/share/doc/packages/sudo \ + --with-noexec=/usr/libexec/sudo/sudo_noexec.so \ + --with-pam \ + --with-logfac=auth \ + --without-insults \ + --with-ignore-dot \ + --with-tty-tickets \ + --enable-shell-sets-home \ + --enable-warnings \ + --with-sudoers-mode=0440 \ + --with-env-editor \ + --without-secure-path \ + --with-passprompt='%p\x27s password:' \ + --with-timedir=/var/lib/sudo + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d -m 755 ${D}/etc/pam.d + install -m 644 ${S}/packaging/sudo.pamd ${D}/etc/pam.d/sudo + rm -f ${D}/usr/bin/sudoedit + ln -sf /usr/bin/sudo ${D}/usr/bin/sudoedit + rm -f ${D}/usr/share/doc/packages/sudo/sample.pam + rm -f ${D}/usr/share/doc/packages/sudo/sample.syslog.conf + rm -f ${D}/usr/share/doc/packages/sudo/schema.OpenLDAP + rm -f ${D}/usr/libexec/sudo/sudoers.la + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} sudo + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} sudoers + cat sudoers.lang >> sudo.lang + + +} + +PACKAGES = "" +PACKAGES += "sudo-devel" +PACKAGES += "sudo" +PACKAGES += "sudo-locale" + +sudo-devel_files = "" +sudo-devel_files += "sudo.manifest" +sudo-devel_files += "/usr/include/sudo_plugin.h" + +sudo_files = "" +sudo_files += "sudo.manifest" +#Remove rpm attribut "%attr(0440,root,root)" +sudo_files += "/etc/sudoers" +sudo_files += "/etc/sudoers.d" +sudo_files += "/etc/pam.d/sudo" +sudo_files += "/usr/bin/sudoedit" +sudo_files += "/usr/bin/sudoreplay" +sudo_files += "/usr/sbin/visudo" +sudo_files += "/usr/libexec/sudo" +sudo_files += "/usr/share/doc/packages/sudo" +sudo_files += "/usr/share/man/man?/*" + +sudo-locale_files = "" + +FILES_${PN}-devel = "${sudo-devel_files}" +FILES_${PN} = "${sudo_files}" +FILES_${PN}-locale = "${sudo-locale_files}" + +PKG_sudo-devel= "sudo-devel" +PKG_sudo= "sudo" +PKG_sudo-locale= "sudo-locale" + +require sudo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sudo/sudo_git.bb b/meta-tizen/recipes-tizen/sudo/sudo_git.bb new file mode 100644 index 0000000..650ac21 --- /dev/null +++ b/meta-tizen/recipes-tizen/sudo/sudo_git.bb @@ -0,0 +1,8 @@ +require sudo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sudo;protocol=ssh;tag=3e43b0d7ac6ee32fc3e0cad4a2c3bc5b21ee0347;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/svi-data/svi-data-extraconf.inc b/meta-tizen/recipes-tizen/svi-data/svi-data-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/svi-data/svi-data-native_git.bb b/meta-tizen/recipes-tizen/svi-data/svi-data-native_git.bb new file mode 100644 index 0000000..9c242da --- /dev/null +++ b/meta-tizen/recipes-tizen/svi-data/svi-data-native_git.bb @@ -0,0 +1,12 @@ +require svi-data.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/svi-data;protocol=ssh;tag=0e8d5870fa7f8ff2b91c20e31b6d370389f4eef8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/svi-data/svi-data.inc b/meta-tizen/recipes-tizen/svi-data/svi-data.inc new file mode 100644 index 0000000..9df0d3b --- /dev/null +++ b/meta-tizen/recipes-tizen/svi-data/svi-data.inc @@ -0,0 +1,95 @@ +DESCRIPTION = "svi library audio data package (SDK)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Resources" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by svi-data-sdk +PROVIDES += "svi-data-sdk" +RPROVIDES_svi-data-sdk += "svi-data-sdk" + +RDEPENDS = "" +#RDEPENDS of svi-data-sdk (${PN}-sdk) +RDEPENDS_${PN}-sdk += "coreutils" + + +DEPENDS = "" +#DEPENDS of svi-data-sdk +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/svi-data-sdk.manifest . + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/opt/share/svi/sound/touch + mkdir -p ${D}/opt/share/svi/sound/operation + mkdir -p ${D}/opt/share/svi/haptic/default + mkdir -p ${D}/opt/share/svi/haptic/touch + + +} + +PACKAGES = "" +PACKAGES += "svi-data-sdk" + +svi-data-sdk_files = "" +svi-data-sdk_files += "svi-data-sdk.manifest" +svi-data-sdk_files += "/usr/share/svi/*" +svi-data-sdk_files += "/opt/share/svi/sound/touch" +svi-data-sdk_files += "/opt/share/svi/sound/operation" +svi-data-sdk_files += "/opt/share/svi/haptic/default" +svi-data-sdk_files += "/opt/share/svi/haptic/touch" +svi-data-sdk_files += "svi-data-sdk.manifest" + +FILES_${PN} = "${svi-data-sdk_files}" + +PKG_svi-data-sdk= "svi-data-sdk" + +require svi-data-extraconf.inc diff --git a/meta-tizen/recipes-tizen/svi-data/svi-data_git.bb b/meta-tizen/recipes-tizen/svi-data/svi-data_git.bb new file mode 100644 index 0000000..28cda73 --- /dev/null +++ b/meta-tizen/recipes-tizen/svi-data/svi-data_git.bb @@ -0,0 +1,8 @@ +require svi-data.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/svi-data;protocol=ssh;tag=0e8d5870fa7f8ff2b91c20e31b6d370389f4eef8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/swig/swig-extraconf.inc b/meta-tizen/recipes-tizen/swig/swig-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/swig/swig-native_git.bb b/meta-tizen/recipes-tizen/swig/swig-native_git.bb new file mode 100644 index 0000000..84558d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/swig/swig-native_git.bb @@ -0,0 +1,12 @@ +require swig.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/swig;protocol=ssh;tag=9bfcbd7df73d296e6622f92191448b5ec0d1df7f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/swig/swig.inc b/meta-tizen/recipes-tizen/swig/swig.inc new file mode 100644 index 0000000..1867c4f --- /dev/null +++ b/meta-tizen/recipes-tizen/swig/swig.inc @@ -0,0 +1,186 @@ +DESCRIPTION = "Simplified Wrapper and Interface Generator" +HOMEPAGE = "http://www.swig.org/" +SECTION = "Development/Languages/C and C++" +LICENSE = "GPL-3.0+ and BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by swig +PROVIDES += "swig" +RPROVIDES_swig += "swig" + +#PROVIDES by swig-examples +PROVIDES += "swig-examples" +RPROVIDES_swig-examples += "swig-examples" + +#PROVIDES by swig-doc +PROVIDES += "swig-doc" +RPROVIDES_swig-doc += "swig-doc" + +RDEPENDS = "" +#RDEPENDS of swig-examples (${PN}-examples) +RDEPENDS_${PN}-examples += "swig" + +#RDEPENDS of swig-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "swig" + + +DEPENDS = "" +#DEPENDS of swig +DEPENDS += "pcre" +DEPENDS += "gcc-cross" +DEPENDS += "fdupes-native" +inherit pythonnative +DEPENDS += "automake-native" +inherit perlnative +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" +DEPENDS += "boost" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/swig.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + sh autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-ccache + make -j16 + + exit 0 + # Segfaults + rm -f Examples/test-suite/python/li_std_containers_int_runme.py + rm -f Examples/test-suite/python/li_boost_shared_ptr_runme.py + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d ${D}/usr/share/doc/packages/swig + cp -a TODO ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \ + ${D}/usr/share/doc/packages/swig + install -d ${D}/usr/lib/swig + cp -a Examples ${D}/usr/lib/swig/examples + rm -rf ${D}/usr/lib/swig/examples/test-suite + + # rm files that are not needed for running or rebuilding the examples + find ${D}/usr/lib/swig \ + -name '*.dsp' -o -name '*.vcproj' -o -name '*.sln' -o \ + -name '*.o' -o -name '*_wrap.c' | xargs rm + + # fix perms + chmod -x ${D}/usr/share/doc/packages/swig/Manual/* + find ${D}/usr/lib/swig -name '*.h' -perm +111 | \ + xargs --no-run-if-empty chmod -x + ln -s /usr/lib/swig/examples ${D}/usr/share/doc/packages/swig/Examples + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "swig" +PACKAGES += "swig-doc" +PACKAGES += "swig-examples" + +swig_files = "" +swig_files += "swig.manifest" +swig_files += "/usr/share/doc/packages/swig" +swig_files += "/usr/share/doc/packages/swig/[A-Z][A-Z]*" +swig_files += "/usr/share/swig" + +swig-doc_files = "" +swig-doc_files += "swig.manifest" +swig-doc_files += "/usr/share/doc/packages/swig/Devel" +swig-doc_files += "/usr/share/doc/packages/swig/Manual" + +swig-examples_files = "" +swig-examples_files += "swig.manifest" +swig-examples_files += "/usr/share/doc/packages/swig/Examples" +swig-examples_files += "/usr/lib/swig" + +FILES_${PN} = "${swig_files}" +FILES_${PN}-doc = "${swig-doc_files}" +FILES_${PN}-examples = "${swig-examples_files}" + +PKG_swig= "swig" +PKG_swig-doc= "swig-doc" +PKG_swig-examples= "swig-examples" + +require swig-extraconf.inc diff --git a/meta-tizen/recipes-tizen/swig/swig_git.bb b/meta-tizen/recipes-tizen/swig/swig_git.bb new file mode 100644 index 0000000..71051b6 --- /dev/null +++ b/meta-tizen/recipes-tizen/swig/swig_git.bb @@ -0,0 +1,8 @@ +require swig.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/swig;protocol=ssh;tag=9bfcbd7df73d296e6622f92191448b5ec0d1df7f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/swup/swup-extraconf.inc b/meta-tizen/recipes-tizen/swup/swup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/swup/swup-native_git.bb b/meta-tizen/recipes-tizen/swup/swup-native_git.bb new file mode 100644 index 0000000..3345381 --- /dev/null +++ b/meta-tizen/recipes-tizen/swup/swup-native_git.bb @@ -0,0 +1,12 @@ +require swup.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/swup;protocol=ssh;tag=d00de0eb54070ce199198ca0298da78339eb18ac;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/swup/swup.inc b/meta-tizen/recipes-tizen/swup/swup.inc new file mode 100644 index 0000000..782cdf3 --- /dev/null +++ b/meta-tizen/recipes-tizen/swup/swup.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Software Update Tool" +HOMEPAGE = "http://www.tizen.org" +SECTION = "System/Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by swup +PROVIDES += "swup" +RPROVIDES_swup += "swup" + +RDEPENDS = "" +#RDEPENDS of swup (${PN}) +RDEPENDS_${PN} += "python-rpm" +RDEPENDS_${PN} += "deltarpm" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "snapper" +RDEPENDS_${PN} += "python-yaml" + + +DEPENDS = "" +#DEPENDS of swup +DEPENDS += "systemd" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/swup.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}//lib/systemd/system/system-update.target.wants + ln -s ../system-update@update.service ${D}//lib/systemd/system/system-update.target.wants/system-update@update.service + + mkdir -p ${D}//lib/systemd/system/system-restore.target.wants + ln -s ../system-update@system.service ${D}//lib/systemd/system/system-restore.target.wants/system-update@system.service + + mkdir -p ${D}//lib/systemd/system/factory-reset.target.wants + ln -s ../system-update@factory.service ${D}//lib/systemd/system/factory-reset.target.wants/system-update@factory.service + # fix symlinks + ln -sf ../system-update@.service ${D}//lib/systemd/system/system-update.target.wants/system-update@update.service + ln -sf ../system-update@.service ${D}//lib/systemd/system/system-restore.target.wants/system-update@system.service + ln -sf ../system-update@.service ${D}//lib/systemd/system/factory-reset.target.wants/system-update@factory.service + + +} + +PACKAGES = "" +PACKAGES += "swup" + +swup_files = "" +swup_files += "swup.manifest" +swup_files += "/usr/bin/swup" +swup_files += "/usr/bin/system-update" +swup_files += "/lib/systemd/system/system-update@.service" +swup_files += "/lib/systemd/system/system-restore.target" +swup_files += "/lib/systemd/system/factory-reset.target" +swup_files += "/lib/systemd/system/system-update.target.wants/system-update@update.service" +swup_files += "/lib/systemd/system/system-restore.target.wants/system-update@system.service" +swup_files += "/lib/systemd/system/factory-reset.target.wants/system-update@factory.service" + +FILES_${PN} = "${swup_files}" + +PKG_swup= "swup" + +require swup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/swup/swup_git.bb b/meta-tizen/recipes-tizen/swup/swup_git.bb new file mode 100644 index 0000000..1214e30 --- /dev/null +++ b/meta-tizen/recipes-tizen/swup/swup_git.bb @@ -0,0 +1,8 @@ +require swup.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/swup;protocol=ssh;tag=d00de0eb54070ce199198ca0298da78339eb18ac;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sync-agent/sync-agent-extraconf.inc b/meta-tizen/recipes-tizen/sync-agent/sync-agent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sync-agent/sync-agent-native_git.bb b/meta-tizen/recipes-tizen/sync-agent/sync-agent-native_git.bb new file mode 100644 index 0000000..07af89a --- /dev/null +++ b/meta-tizen/recipes-tizen/sync-agent/sync-agent-native_git.bb @@ -0,0 +1,12 @@ +require sync-agent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sync-agent;protocol=ssh;tag=fb8067d8fae8cf222122ce30e54821ef022beb72;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sync-agent/sync-agent.inc b/meta-tizen/recipes-tizen/sync-agent/sync-agent.inc new file mode 100644 index 0000000..72a8ace --- /dev/null +++ b/meta-tizen/recipes-tizen/sync-agent/sync-agent.inc @@ -0,0 +1,161 @@ +DESCRIPTION = "Sync agent FW Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sync-agent-devel +PROVIDES += "sync-agent-devel" +RPROVIDES_sync-agent-devel += "sync-agent-devel" +RPROVIDES_sync-agent-devel += "sync-agent-dev" + +#PROVIDES by common-public-plugins +PROVIDES += "common-public-plugins" +RPROVIDES_common-public-plugins += "common-public-plugins" + +#PROVIDES by sync-agent +PROVIDES += "sync-agent" +RPROVIDES_sync-agent += "sync-agent" + +RDEPENDS = "" +#RDEPENDS of sync-agent-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "sync-agent" + +#RDEPENDS of sync-agent (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of sync-agent +DEPENDS += "sqlite" +DEPENDS += "pkgconfig(capi-system-info)" +DEPENDS += "contacts-service" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "pkgconfig(libcurl)" +DEPENDS += "cmake" +DEPENDS += "app-svc" +DEPENDS += "pkgconfig(syspopup-caller)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(sysman)" +DEPENDS += "dbus-glib" +DEPENDS += "msg-service" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "common" +DEPENDS += "pkgconfig(location)" +DEPENDS += "libaccounts-svc" +DEPENDS += "libwbxml2" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "bundle" +DEPENDS += "pkgconfig(uuid)" +DEPENDS += "libgcrypt" +DEPENDS += "libslp-db-util" +DEPENDS += "pkgconfig(capi-network-connection)" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(alarm-service)" +DEPENDS += "libslp-memo" +DEPENDS += "calendar-service" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "libslp-pm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sync-agent.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "sync-agent-devel" +PACKAGES += "common-public-plugins" +PACKAGES += "sync-agent" + +sync-agent-devel_files = "" +sync-agent-devel_files += "sync-agent.manifest" +sync-agent-devel_files += "/usr/include/sync_agent.h" +sync-agent-devel_files += "/usr/include/sync-agent/*" +sync-agent-devel_files += "/usr/lib/pkgconfig/sync-agent.pc" + +common-public-plugins_files = "" +common-public-plugins_files += "sync-agent.manifest" +common-public-plugins_files += "/usr/lib/sync-agent/common-public/*" + +sync-agent_files = "" +sync-agent_files += "sync-agent.manifest" +sync-agent_files += "/usr/lib/*.so" +sync-agent_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${sync-agent-devel_files}" +FILES_common-public-plugins = "${common-public-plugins_files}" +FILES_${PN} = "${sync-agent_files}" + +PKG_sync-agent-devel= "sync-agent-devel" +PKG_common-public-plugins= "common-public-plugins" +PKG_sync-agent= "sync-agent" + +require sync-agent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sync-agent/sync-agent_git.bb b/meta-tizen/recipes-tizen/sync-agent/sync-agent_git.bb new file mode 100644 index 0000000..e3e16a3 --- /dev/null +++ b/meta-tizen/recipes-tizen/sync-agent/sync-agent_git.bb @@ -0,0 +1,8 @@ +require sync-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sync-agent;protocol=ssh;tag=fb8067d8fae8cf222122ce30e54821ef022beb72;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sys-assert/sys-assert-extraconf.inc b/meta-tizen/recipes-tizen/sys-assert/sys-assert-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sys-assert/sys-assert-native_git.bb b/meta-tizen/recipes-tizen/sys-assert/sys-assert-native_git.bb new file mode 100644 index 0000000..f7e1ab6 --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-assert/sys-assert-native_git.bb @@ -0,0 +1,12 @@ +require sys-assert.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sys-assert;protocol=ssh;tag=ee0439aa62b8e860535bab68af71f461eb8dd1fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sys-assert/sys-assert.inc b/meta-tizen/recipes-tizen/sys-assert/sys-assert.inc new file mode 100644 index 0000000..4e7ed0e --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-assert/sys-assert.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "System Assert" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Other" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sys-assert +PROVIDES += "sys-assert" +RPROVIDES_sys-assert += "sys-assert" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sys-assert +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sys-assert.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS+=" -fPIC" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/share/crash/info + + +} + +PACKAGES = "" +PACKAGES += "sys-assert" + +sys-assert_files = "" +sys-assert_files += "sys-assert.manifest" +sys-assert_files += "/usr/bin/coredumpctrl.sh" +sys-assert_files += "/opt/etc/.debugmode" +sys-assert_files += "/usr/lib/sysctl.d/sys-assert.conf" +sys-assert_files += "/usr/lib/libsys-assert.so" + +FILES_${PN} = "${sys-assert_files}" + +PKG_sys-assert= "sys-assert" + +require sys-assert-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sys-assert/sys-assert_git.bb b/meta-tizen/recipes-tizen/sys-assert/sys-assert_git.bb new file mode 100644 index 0000000..d6ff77f --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-assert/sys-assert_git.bb @@ -0,0 +1,8 @@ +require sys-assert.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sys-assert;protocol=ssh;tag=ee0439aa62b8e860535bab68af71f461eb8dd1fa;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sys-config/sys-config-extraconf.inc b/meta-tizen/recipes-tizen/sys-config/sys-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sys-config/sys-config.inc b/meta-tizen/recipes-tizen/sys-config/sys-config.inc new file mode 100644 index 0000000..74df4b4 --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-config/sys-config.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Configuration for OSP Framework Foundation library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "osp-sys-config" +PACKAGES += "osp-sys-config-ref" + +osp-sys-config_files = "" +osp-sys-config_files += "osp-sys-config.manifest" +osp-sys-config_files += "/usr/share/license/*" +osp-sys-config_files += "/usr/share/appsvc/*" +osp-sys-config_files += "/usr/etc/*" +osp-sys-config_files += "/usr/etc/tizen-core/*" +osp-sys-config_files += "/usr/etc/.smack" + +osp-sys-config-ref_files = "" +osp-sys-config-ref_files += "osp-sys-config.manifest" +osp-sys-config-ref_files += "/usr/etc/tizen-ref/*" + +FILES_${PN} = "${osp-sys-config_files}" +FILES_${PN}-ref = "${osp-sys-config-ref_files}" + +PKG_osp-sys-config= "osp-sys-config" +PKG_osp-sys-config-ref= "osp-sys-config-ref" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require sys-config-rdepends.inc +require sys-config-depends.inc +require sys-config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sys-string-0/sys-string-0-extraconf.inc b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sys-string-0/sys-string-0-native_git.bb b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0-native_git.bb new file mode 100644 index 0000000..7da08cb --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0-native_git.bb @@ -0,0 +1,12 @@ +require sys-string-0.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/sys-string-0;protocol=ssh;tag=675d98bc92856f574b5090ce4c714e0a03f32af3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sys-string-0/sys-string-0.inc b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0.inc new file mode 100644 index 0000000..ed83f13 --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0.inc @@ -0,0 +1,227 @@ +DESCRIPTION = "System string package for multilinugual support" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sys-string +PROVIDES += "sys-string" +RPROVIDES_sys-string += "sys-string" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sys-string +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sys-string.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + /usr/bin/msgfmt -o ar.mo ar.po + /usr/bin/msgfmt -o az.mo az.po + /usr/bin/msgfmt -o bg.mo bg.po + /usr/bin/msgfmt -o ca.mo ca.po + /usr/bin/msgfmt -o cs.mo cs.po + /usr/bin/msgfmt -o da.mo da.po + /usr/bin/msgfmt -o de_DE.mo de_DE.po + /usr/bin/msgfmt -o el_GR.mo el_GR.po + /usr/bin/msgfmt -o en.mo en.po + /usr/bin/msgfmt -o en_PH.mo en_PH.po + /usr/bin/msgfmt -o en_US.mo en_US.po + /usr/bin/msgfmt -o es_ES.mo es_ES.po + /usr/bin/msgfmt -o es_MX.mo es_MX.po + /usr/bin/msgfmt -o et.mo et.po + /usr/bin/msgfmt -o eu.mo eu.po + /usr/bin/msgfmt -o fi.mo fi.po + /usr/bin/msgfmt -o fr_CA.mo fr_CA.po + /usr/bin/msgfmt -o fr_FR.mo fr_FR.po + /usr/bin/msgfmt -o ga.mo ga.po + /usr/bin/msgfmt -o gl.mo gl.po + /usr/bin/msgfmt -o hi.mo hi.po + /usr/bin/msgfmt -o hr.mo hr.po + /usr/bin/msgfmt -o hu.mo hu.po + /usr/bin/msgfmt -o hy.mo hy.po + /usr/bin/msgfmt -o is.mo is.po + /usr/bin/msgfmt -o it_IT.mo it_IT.po + /usr/bin/msgfmt -o ja_JP.mo ja_JP.po + /usr/bin/msgfmt -o ka.mo ka.po + /usr/bin/msgfmt -o kk.mo kk.po + /usr/bin/msgfmt -o ko_KR.mo ko_KR.po + /usr/bin/msgfmt -o lt.mo lt.po + /usr/bin/msgfmt -o lv.mo lv.po + /usr/bin/msgfmt -o mk.mo mk.po + /usr/bin/msgfmt -o nb.mo nb.po + /usr/bin/msgfmt -o nl_NL.mo nl_NL.po + /usr/bin/msgfmt -o pl.mo pl.po + /usr/bin/msgfmt -o pt_BR.mo pt_BR.po + /usr/bin/msgfmt -o pt_PT.mo pt_PT.po + /usr/bin/msgfmt -o ro.mo ro.po + /usr/bin/msgfmt -o ru_RU.mo ru_RU.po + /usr/bin/msgfmt -o sk.mo sk.po + /usr/bin/msgfmt -o sl.mo sl.po + /usr/bin/msgfmt -o sr.mo sr.po + /usr/bin/msgfmt -o sv.mo sv.po + /usr/bin/msgfmt -o tr_TR.mo tr_TR.po + /usr/bin/msgfmt -o uk.mo uk.po + /usr/bin/msgfmt -o uz.mo uz.po + /usr/bin/msgfmt -o zh_CN.mo zh_CN.po + /usr/bin/msgfmt -o zh_HK.mo zh_HK.po + /usr/bin/msgfmt -o zh_SG.mo zh_SG.po + /usr/bin/msgfmt -o zh_TW.mo zh_TW.po + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + mkdir -p ${D}/usr/share/locale/ar/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/az/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/bg/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ca/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/cs/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/da/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/de_DE/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/el_GR/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/en/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/en_PH/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/en_US/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/es_ES/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/es_MX/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/et/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/eu/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/fi/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/fr_CA/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/fr_FR/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ga/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/gl/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/hi/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/hr/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/hu/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/hy/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/is/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/it_IT/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ja_JP/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ka/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/kk/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ko_KR/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/lt/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/lv/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/mk/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/nb/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/nl_NL/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/pl/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/pt_BR/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/pt_PT/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ro/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/ru_RU/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/sk/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/sl/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/sr/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/sv/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/tr_TR/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/uk/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/uz/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/zh_CN/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/zh_HK/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/zh_SG/LC_MESSAGES/ + mkdir -p ${D}/usr/share/locale/zh_TW/LC_MESSAGES/ + + cp ar.mo ${D}/usr/share/locale/ar/LC_MESSAGES/sys_string.mo + cp az.mo ${D}/usr/share/locale/az/LC_MESSAGES/sys_string.mo + cp bg.mo ${D}/usr/share/locale/bg/LC_MESSAGES/sys_string.mo + cp ca.mo ${D}/usr/share/locale/ca/LC_MESSAGES/sys_string.mo + cp cs.mo ${D}/usr/share/locale/cs/LC_MESSAGES/sys_string.mo + cp da.mo ${D}/usr/share/locale/da/LC_MESSAGES/sys_string.mo + cp de_DE.mo ${D}/usr/share/locale/de_DE/LC_MESSAGES/sys_string.mo + cp el_GR.mo ${D}/usr/share/locale/el_GR/LC_MESSAGES/sys_string.mo + cp en.mo ${D}/usr/share/locale/en/LC_MESSAGES/sys_string.mo + cp en_PH.mo ${D}/usr/share/locale/en_PH/LC_MESSAGES/sys_string.mo + cp en_US.mo ${D}/usr/share/locale/en_US/LC_MESSAGES/sys_string.mo + cp es_ES.mo ${D}/usr/share/locale/es_ES/LC_MESSAGES/sys_string.mo + cp es_MX.mo ${D}/usr/share/locale/es_MX/LC_MESSAGES/sys_string.mo + cp et.mo ${D}/usr/share/locale/et/LC_MESSAGES/sys_string.mo + cp eu.mo ${D}/usr/share/locale/eu/LC_MESSAGES/sys_string.mo + cp fi.mo ${D}/usr/share/locale/fi/LC_MESSAGES/sys_string.mo + cp fr_CA.mo ${D}/usr/share/locale/fr_CA/LC_MESSAGES/sys_string.mo + cp fr_FR.mo ${D}/usr/share/locale/fr_FR/LC_MESSAGES/sys_string.mo + cp ga.mo ${D}/usr/share/locale/ga/LC_MESSAGES/sys_string.mo + cp gl.mo ${D}/usr/share/locale/gl/LC_MESSAGES/sys_string.mo + cp hi.mo ${D}/usr/share/locale/hi/LC_MESSAGES/sys_string.mo + cp hr.mo ${D}/usr/share/locale/hr/LC_MESSAGES/sys_string.mo + cp hu.mo ${D}/usr/share/locale/hu/LC_MESSAGES/sys_string.mo + cp hy.mo ${D}/usr/share/locale/hy/LC_MESSAGES/sys_string.mo + cp is.mo ${D}/usr/share/locale/is/LC_MESSAGES/sys_string.mo + cp it_IT.mo ${D}/usr/share/locale/it_IT/LC_MESSAGES/sys_string.mo + cp ja_JP.mo ${D}/usr/share/locale/ja_JP/LC_MESSAGES/sys_string.mo + cp ka.mo ${D}/usr/share/locale/ka/LC_MESSAGES/sys_string.mo + cp kk.mo ${D}/usr/share/locale/kk/LC_MESSAGES/sys_string.mo + cp ko_KR.mo ${D}/usr/share/locale/ko_KR/LC_MESSAGES/sys_string.mo + cp lt.mo ${D}/usr/share/locale/lt/LC_MESSAGES/sys_string.mo + cp lv.mo ${D}/usr/share/locale/lv/LC_MESSAGES/sys_string.mo + cp mk.mo ${D}/usr/share/locale/mk/LC_MESSAGES/sys_string.mo + cp nb.mo ${D}/usr/share/locale/nb/LC_MESSAGES/sys_string.mo + cp nl_NL.mo ${D}/usr/share/locale/nl_NL/LC_MESSAGES/sys_string.mo + cp pl.mo ${D}/usr/share/locale/pl/LC_MESSAGES/sys_string.mo + cp pt_BR.mo ${D}/usr/share/locale/pt_BR/LC_MESSAGES/sys_string.mo + cp pt_PT.mo ${D}/usr/share/locale/pt_PT/LC_MESSAGES/sys_string.mo + cp ro.mo ${D}/usr/share/locale/ro/LC_MESSAGES/sys_string.mo + cp ru_RU.mo ${D}/usr/share/locale/ru_RU/LC_MESSAGES/sys_string.mo + cp sk.mo ${D}/usr/share/locale/sk/LC_MESSAGES/sys_string.mo + cp sl.mo ${D}/usr/share/locale/sl/LC_MESSAGES/sys_string.mo + cp sr.mo ${D}/usr/share/locale/sr/LC_MESSAGES/sys_string.mo + cp sv.mo ${D}/usr/share/locale/sv/LC_MESSAGES/sys_string.mo + cp tr_TR.mo ${D}/usr/share/locale/tr_TR/LC_MESSAGES/sys_string.mo + cp uk.mo ${D}/usr/share/locale/uk/LC_MESSAGES/sys_string.mo + cp uz.mo ${D}/usr/share/locale/uz/LC_MESSAGES/sys_string.mo + cp zh_CN.mo ${D}/usr/share/locale/zh_CN/LC_MESSAGES/sys_string.mo + cp zh_HK.mo ${D}/usr/share/locale/zh_HK/LC_MESSAGES/sys_string.mo + cp zh_SG.mo ${D}/usr/share/locale/zh_SG/LC_MESSAGES/sys_string.mo + cp zh_TW.mo ${D}/usr/share/locale/zh_TW/LC_MESSAGES/sys_string.mo + + +} + +PACKAGES = "" +PACKAGES += "sys-string" + +sys-string_files = "" +sys-string_files += "sys-string.manifest" +sys-string_files += "/usr/share/locale/*/LC_MESSAGES/*" + +FILES_${PN} = "${sys-string_files}" + +PKG_sys-string= "sys-string" + +require sys-string-0-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sys-string-0/sys-string-0_git.bb b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0_git.bb new file mode 100644 index 0000000..118fa8e --- /dev/null +++ b/meta-tizen/recipes-tizen/sys-string-0/sys-string-0_git.bb @@ -0,0 +1,8 @@ +require sys-string-0.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/sys-string-0;protocol=ssh;tag=675d98bc92856f574b5090ce4c714e0a03f32af3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sysfsutils/sysfsutils-extraconf.inc b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sysfsutils/sysfsutils-native_git.bb b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils-native_git.bb new file mode 100644 index 0000000..1f343f6 --- /dev/null +++ b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils-native_git.bb @@ -0,0 +1,12 @@ +require sysfsutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sysfsutils;protocol=ssh;tag=e9dfe180eb604903471f538bc4d15e8423754c3a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sysfsutils/sysfsutils.inc b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils.inc new file mode 100644 index 0000000..e9a81ed --- /dev/null +++ b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "System Utilities Package / Libsysfs" +HOMEPAGE = "http://linux-diag.sourceforge.net" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sysfsutils-devel +PROVIDES += "sysfsutils-devel" +RPROVIDES_sysfsutils-devel += "sysfsutils-devel" +RPROVIDES_sysfsutils-devel += "sysfsutils-dev" + +#PROVIDES by sysfsutils +PROVIDES += "sysfsutils" +RPROVIDES_sysfsutils += "sysfsutils" +# the PROVIDES rules is ignore "libsysfs " +PROVIDES += "libsysfs" +RPROVIDES_sysfsutils += "libsysfs" + +RDEPENDS = "" +#RDEPENDS of sysfsutils-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "sysfsutils" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sysfsutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # don't install the tools + rm -f ${D}//usr/bin/dlist_test + rm -f ${D}//usr/bin/get_device + rm -f ${D}//usr/bin/get_driver + rm -f ${D}//usr/bin/get_module + rm -f ${D}//usr/bin/testlibsysfs + + +} + +PACKAGES = "" +PACKAGES += "sysfsutils-devel" +PACKAGES += "sysfsutils" + +sysfsutils-devel_files = "" +sysfsutils-devel_files += "sysfsutils.manifest" +sysfsutils-devel_files += "/usr/include/sysfs" +sysfsutils-devel_files += "/usr/include/sysfs/libsysfs.h" +sysfsutils-devel_files += "/usr/include/sysfs/dlist.h" +sysfsutils-devel_files += "/usr/lib/libsysfs.so" + +sysfsutils_files = "" +sysfsutils_files += "sysfsutils.manifest" +sysfsutils_files += "/usr/bin/systool" +sysfsutils_files += "/usr/share/man/man1/systool.1.gz" +sysfsutils_files += "/usr/lib/libsysfs.so.*" +sysfsutils_files += "README" + +FILES_${PN}-devel = "${sysfsutils-devel_files}" +FILES_${PN} = "${sysfsutils_files}" + +PKG_sysfsutils-devel= "sysfsutils-devel" +PKG_sysfsutils= "sysfsutils" + +require sysfsutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sysfsutils/sysfsutils_git.bb b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils_git.bb new file mode 100644 index 0000000..6df7c14 --- /dev/null +++ b/meta-tizen/recipes-tizen/sysfsutils/sysfsutils_git.bb @@ -0,0 +1,8 @@ +require sysfsutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sysfsutils;protocol=ssh;tag=e9dfe180eb604903471f538bc4d15e8423754c3a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/syslinux/syslinux-extraconf.inc b/meta-tizen/recipes-tizen/syslinux/syslinux-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/syslinux/syslinux-native_git.bb b/meta-tizen/recipes-tizen/syslinux/syslinux-native_git.bb new file mode 100644 index 0000000..458b346 --- /dev/null +++ b/meta-tizen/recipes-tizen/syslinux/syslinux-native_git.bb @@ -0,0 +1,12 @@ +require syslinux.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/syslinux;protocol=ssh;tag=588e83546aa3143d129c308726370e13f0405049;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/syslinux/syslinux.inc b/meta-tizen/recipes-tizen/syslinux/syslinux.inc new file mode 100644 index 0000000..952b84c --- /dev/null +++ b/meta-tizen/recipes-tizen/syslinux/syslinux.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Kernel loader which uses a FAT, ext2/3 or iso9660 filesystem or a PXE network" +HOMEPAGE = "http://syslinux.zytor.com/" +SECTION = "System/Boot" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by syslinux-devel +PROVIDES += "syslinux-devel" +RPROVIDES_syslinux-devel += "syslinux-devel" +RPROVIDES_syslinux-devel += "syslinux-dev" + +#PROVIDES by syslinux +PROVIDES += "syslinux" +RPROVIDES_syslinux += "syslinux" + +#PROVIDES by syslinux-extlinux +PROVIDES += "syslinux-extlinux" +RPROVIDES_syslinux-extlinux += "syslinux-extlinux" + +#PROVIDES by syslinux-tftpboot +PROVIDES += "syslinux-tftpboot" +RPROVIDES_syslinux-tftpboot += "syslinux-tftpboot" + +RDEPENDS = "" +#RDEPENDS of syslinux-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "syslinux" + +#RDEPENDS of syslinux (${PN}) +RDEPENDS_${PN} += "mtools" + +#RDEPENDS of syslinux-extlinux (${PN}-extlinux) +RDEPENDS_${PN}-extlinux += "syslinux" + +#RDEPENDS of syslinux-tftpboot (${PN}-tftpboot) +RDEPENDS_${PN}-tftpboot += "syslinux" + + +DEPENDS = "" +#DEPENDS of syslinux +inherit perlnative +DEPENDS += "libuuid-devel" +DEPENDS += "e2fsprogs" +DEPENDS += "nasm" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n syslinux-4.05 + cp ${S}/packaging/syslinux.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CC='gcc' clean + make CC='gcc' installer + make CC='gcc' -C sample tidy + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make CC='gcc' install-all \ + INSTALLROOT=${D} BINDIR=/usr/bin SBINDIR=/sbin \ + LIBDIR=/usr/lib DATADIR=/usr/share \ + MANDIR=/usr/share/man INCDIR=/usr/include \ + TFTPBOOT=/var/lib/tftpboot EXTLINUXDIR=/boot/extlinux + make CC='gcc' -C sample tidy + + +} + +PACKAGES = "" +PACKAGES += "syslinux-devel" +PACKAGES += "syslinux" +PACKAGES += "syslinux-extlinux" +PACKAGES += "syslinux-tftpboot" + +syslinux-devel_files = "" +syslinux-devel_files += "syslinux.manifest" +syslinux-devel_files += "COPYING NEWS README doc/*" +syslinux-devel_files += "sample" +syslinux-devel_files += "/usr/share/man/man*/*" +syslinux-devel_files += "/usr/share/syslinux/com32" +syslinux-devel_files += "/usr/share/syslinux/diag" + +syslinux_files = "" +syslinux_files += "syslinux.manifest" +syslinux_files += "/usr/bin/*" +syslinux_files += "/usr/share/syslinux" +syslinux_files += "/usr/share/syslinux/*.com" +syslinux_files += "/usr/share/syslinux/*.exe" +syslinux_files += "/usr/share/syslinux/*.c32" +syslinux_files += "/usr/share/syslinux/*.bin" +syslinux_files += "/usr/share/syslinux/*.0" +syslinux_files += "/usr/share/syslinux/memdisk" +syslinux_files += "/usr/share/syslinux/dosutil" + +syslinux-extlinux_files = "" +syslinux-extlinux_files += "syslinux.manifest" +syslinux-extlinux_files += "/sbin/extlinux" +syslinux-extlinux_files += "/boot/extlinux" + +syslinux-tftpboot_files = "" +syslinux-tftpboot_files += "syslinux.manifest" +syslinux-tftpboot_files += "/var/lib/tftpboot" + +FILES_${PN}-devel = "${syslinux-devel_files}" +FILES_${PN} = "${syslinux_files}" +FILES_${PN}-extlinux = "${syslinux-extlinux_files}" +FILES_${PN}-tftpboot = "${syslinux-tftpboot_files}" + +PKG_syslinux-devel= "syslinux-devel" +PKG_syslinux= "syslinux" +PKG_syslinux-extlinux= "syslinux-extlinux" +PKG_syslinux-tftpboot= "syslinux-tftpboot" + +require syslinux-extraconf.inc diff --git a/meta-tizen/recipes-tizen/syslinux/syslinux_git.bb b/meta-tizen/recipes-tizen/syslinux/syslinux_git.bb new file mode 100644 index 0000000..52a05f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/syslinux/syslinux_git.bb @@ -0,0 +1,8 @@ +require syslinux.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/syslinux;protocol=ssh;tag=588e83546aa3143d129c308726370e13f0405049;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/syspopup/syspopup-extraconf.inc b/meta-tizen/recipes-tizen/syspopup/syspopup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/syspopup/syspopup-native_git.bb b/meta-tizen/recipes-tizen/syspopup/syspopup-native_git.bb new file mode 100644 index 0000000..e6fb43e --- /dev/null +++ b/meta-tizen/recipes-tizen/syspopup/syspopup-native_git.bb @@ -0,0 +1,12 @@ +require syspopup.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/syspopup;protocol=ssh;tag=df872617708a23dd665e3718e28b1d2690605489;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/syspopup/syspopup.inc b/meta-tizen/recipes-tizen/syspopup/syspopup.inc new file mode 100644 index 0000000..cc64f14 --- /dev/null +++ b/meta-tizen/recipes-tizen/syspopup/syspopup.inc @@ -0,0 +1,166 @@ +DESCRIPTION = "Syspopup package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by syspopup-devel +PROVIDES += "syspopup-devel" +RPROVIDES_syspopup-devel += "syspopup-devel" +RPROVIDES_syspopup-devel += "syspopup-dev" + +#PROVIDES by syspopup +PROVIDES += "syspopup" +RPROVIDES_syspopup += "syspopup" + +#PROVIDES by syspopup-caller-devel +PROVIDES += "syspopup-caller-devel" +RPROVIDES_syspopup-caller-devel += "syspopup-caller-devel" +RPROVIDES_syspopup-caller-devel += "syspopup-caller-dev" + +#PROVIDES by syspopup-caller +PROVIDES += "syspopup-caller" +RPROVIDES_syspopup-caller += "syspopup-caller" + +RDEPENDS = "" +#RDEPENDS of syspopup-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "syspopup" + +#RDEPENDS of syspopup-caller-devel (${PN}-caller-devel) +RDEPENDS_${PN}-caller-devel += "syspopup" + +#RDEPENDS of syspopup-caller (${PN}-caller) +RDEPENDS_${PN}-caller += "syspopup" +RDEPENDS_${PN}-caller += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of syspopup +DEPENDS += "sqlite" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "app-core" +DEPENDS += "bundle" +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/syspopup.manifest ${S}/packaging/syspopup-devel.manifest ${S}/packaging/syspopup-caller.manifest ${S}/packaging/syspopup-caller-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -Dwith_wayland=TRUE \ + -DEXTRA_CFLAGS=-fPIC + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}%{TZ_SYS_DB} + sqlite3 ${D}%{TZ_SYS_DB}/.syspopup.db < ${D}/usr/share/syspopup/syspopup_db.sql + rm -rf ${D}/usr/share/syspopup/syspopup_db.sql + + touch ${D}/usr/share/popup_noti_term + + +} + +PACKAGES = "" +PACKAGES += "syspopup-devel" +PACKAGES += "syspopup" +PACKAGES += "syspopup-caller-devel" +PACKAGES += "syspopup-caller" + +syspopup-devel_files = "" +syspopup-devel_files += "syspopup-devel.manifest" +syspopup-devel_files += "/usr/include/SLP_SYSPOPUP_PG.h" +syspopup-devel_files += "/usr/include/syspopup.h" +syspopup-devel_files += "/usr/lib/libsyspopup.so" +syspopup-devel_files += "/usr/lib/pkgconfig/syspopup.pc" + +syspopup_files = "" +syspopup_files += "syspopup.manifest" +syspopup_files += "/usr/share/icons/default/small/org.tizen.syspopup-app.png" +syspopup_files += "/usr/bin/sp_test" +syspopup_files += "/usr/bin/syspopup-app" +syspopup_files += "/usr/lib/libsyspopup.so.0.1.0" +syspopup_files += "/usr/share/popup_noti_term" + +syspopup-caller-devel_files = "" +syspopup-caller-devel_files += "syspopup-caller-devel.manifest" +syspopup-caller-devel_files += "/usr/lib/libsyspopup_caller.so" +syspopup-caller-devel_files += "/usr/include/syspopup_caller.h" +syspopup-caller-devel_files += "/usr/lib/pkgconfig/syspopup-caller.pc" + +syspopup-caller_files = "" +syspopup-caller_files += "syspopup-caller.manifest" +syspopup-caller_files += "/usr/lib/libsyspopup_caller.so.0.1.0" + +FILES_${PN}-devel = "${syspopup-devel_files}" +FILES_${PN} = "${syspopup_files}" +FILES_${PN}-caller-devel = "${syspopup-caller-devel_files}" +FILES_${PN}-caller = "${syspopup-caller_files}" + +PKG_syspopup-devel= "syspopup-devel" +PKG_syspopup= "syspopup" +PKG_syspopup-caller-devel= "syspopup-caller-devel" +PKG_syspopup-caller= "syspopup-caller" + +require syspopup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/syspopup/syspopup_git.bb b/meta-tizen/recipes-tizen/syspopup/syspopup_git.bb new file mode 100644 index 0000000..74f368a --- /dev/null +++ b/meta-tizen/recipes-tizen/syspopup/syspopup_git.bb @@ -0,0 +1,8 @@ +require syspopup.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/syspopup;protocol=ssh;tag=df872617708a23dd665e3718e28b1d2690605489;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sysprof/sysprof-extraconf.inc b/meta-tizen/recipes-tizen/sysprof/sysprof-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/sysprof/sysprof-native_git.bb b/meta-tizen/recipes-tizen/sysprof/sysprof-native_git.bb new file mode 100644 index 0000000..ea002c5 --- /dev/null +++ b/meta-tizen/recipes-tizen/sysprof/sysprof-native_git.bb @@ -0,0 +1,12 @@ +require sysprof.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sysprof;protocol=ssh;tag=510029309bfa269fa9d58ebb7e3e93b7d1b2b432;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/sysprof/sysprof.inc b/meta-tizen/recipes-tizen/sysprof/sysprof.inc new file mode 100644 index 0000000..270ecf4 --- /dev/null +++ b/meta-tizen/recipes-tizen/sysprof/sysprof.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "Sampling CPU profiler" +HOMEPAGE = "http://sysprof.com/" +SECTION = "Development/Tools/Debuggers" +LICENSE = "GPL v2 or later" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by sysprof-cli +PROVIDES += "sysprof-cli" +RPROVIDES_sysprof-cli += "sysprof-cli" + +#PROVIDES by sysprof +PROVIDES += "sysprof" +RPROVIDES_sysprof += "sysprof" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of sysprof +DEPENDS += "glib" +DEPENDS += "autoconf-native" +DEPENDS += "binutils" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n sysprof-1.2.0 + cp ${S}/packaging/sysprof.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + NOCONFIGURE=1 ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # unnecessary, sysprof now uses the standard kernel interface for profiling + # (since 1.1; compare with Debian patches) + rm -r $RPM_BUILD_ROOT/etc/udev/rules.d + rm $RPM_BUILD_ROOT/usr/share/pixmaps/*.png + rm $RPM_BUILD_ROOT/usr/share/sysprof/sysprof.glade + rmdir $RPM_BUILD_ROOT/usr/share/sysprof + rmdir $RPM_BUILD_ROOT/usr/share/pixmaps + rmdir $RPM_BUILD_ROOT/usr/share + + +} + +PACKAGES = "" +PACKAGES += "sysprof-cli" + +sysprof-cli_files = "" +sysprof-cli_files += "sysprof.manifest" +sysprof-cli_files += "/usr/bin/sysprof-cli" + +FILES_${PN}-cli = "${sysprof-cli_files}" + +PKG_sysprof-cli= "sysprof-cli" + +require sysprof-extraconf.inc diff --git a/meta-tizen/recipes-tizen/sysprof/sysprof_git.bb b/meta-tizen/recipes-tizen/sysprof/sysprof_git.bb new file mode 100644 index 0000000..a24269a --- /dev/null +++ b/meta-tizen/recipes-tizen/sysprof/sysprof_git.bb @@ -0,0 +1,8 @@ +require sysprof.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/sysprof;protocol=ssh;tag=510029309bfa269fa9d58ebb7e3e93b7d1b2b432;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-info/system-info-extraconf.inc b/meta-tizen/recipes-tizen/system-info/system-info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-info/system-info-native_git.bb b/meta-tizen/recipes-tizen/system-info/system-info-native_git.bb new file mode 100644 index 0000000..4bc44a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-info/system-info-native_git.bb @@ -0,0 +1,12 @@ +require system-info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/system-info;protocol=ssh;tag=09a0f990e9ee12b29ea256dd34c8f0380e0b47ea;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-info/system-info.inc b/meta-tizen/recipes-tizen/system-info/system-info.inc new file mode 100644 index 0000000..22cc776 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-info/system-info.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "A System Information library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-info-devel +PROVIDES += "capi-system-info-devel" +RPROVIDES_capi-system-info-devel += "capi-system-info-devel" +RPROVIDES_capi-system-info-devel += "capi-system-info-dev" + +#PROVIDES by capi-system-info +PROVIDES += "capi-system-info" +RPROVIDES_capi-system-info += "capi-system-info" + +RDEPENDS = "" +#RDEPENDS of capi-system-info-devel (capi-${PN}-devel) +RDEPENDS_capi-${PN}-devel += "capi-system-info" + + +DEPENDS = "" +#DEPENDS of capi-system-info +DEPENDS += "pkgconfig(ecore-wayland)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "common" +DEPENDS += "pkgconfig(capi-media-sound-manager)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-info.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.2.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.2.0 -DMAJORVER=${MAJORVER} -DENABLE_WAYLAND=TRUE + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/etc + cp -f script/make_info_file.sh ${D}/etc/make_info_file.sh + + +} + +PACKAGES = "" +PACKAGES += "capi-system-info-devel" +PACKAGES += "capi-system-info" + +capi-system-info-devel_files = "" +capi-system-info-devel_files += "capi-system-info.manifest" +capi-system-info-devel_files += "/usr/include/system/system_info.h" +capi-system-info-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-info-devel_files += "/usr/lib/libcapi-system-info.so" + +capi-system-info_files = "" +capi-system-info_files += "capi-system-info.manifest" +capi-system-info_files += "/usr/lib/libcapi-system-info.so.*" +capi-system-info_files += "system-info.manifest" + +FILES_${PN}-devel = "${capi-system-info-devel_files}" +FILES_${PN} = "${capi-system-info_files}" + +PKG_capi-system-info-devel= "capi-system-info-devel" +PKG_capi-system-info= "capi-system-info" + +require system-info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/system-info/system-info_git.bb b/meta-tizen/recipes-tizen/system-info/system-info_git.bb new file mode 100644 index 0000000..3b981a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-info/system-info_git.bb @@ -0,0 +1,8 @@ +require system-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/system-info;protocol=ssh;tag=09a0f990e9ee12b29ea256dd34c8f0380e0b47ea;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-installer/system-installer-extraconf.inc b/meta-tizen/recipes-tizen/system-installer/system-installer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-installer/system-installer-native_git.bb b/meta-tizen/recipes-tizen/system-installer/system-installer-native_git.bb new file mode 100644 index 0000000..90b6f24 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-installer/system-installer-native_git.bb @@ -0,0 +1,12 @@ +require system-installer.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/system-installer;protocol=ssh;tag=1f44f9188240aaa03223ddb8553a9352aa949521;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-installer/system-installer.inc b/meta-tizen/recipes-tizen/system-installer/system-installer.inc new file mode 100644 index 0000000..d607e42 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-installer/system-installer.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "PC Installer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Utilities" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by system-installer +PROVIDES += "system-installer" +RPROVIDES_system-installer += "system-installer" + +RDEPENDS = "" +#RDEPENDS of system-installer (${PN}) +RDEPENDS_${PN} += "rsync" +RDEPENDS_${PN} += "gptfdisk" +RDEPENDS_${PN} += "dosfstools" +RDEPENDS_${PN} += "snapper" +RDEPENDS_${PN} += "plymouth" +RDEPENDS_${PN} += "syslinux-extlinux" +RDEPENDS_${PN} += "btrfs-progs" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/system-installer.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}//usr/sbin + install -d ${D}//etc/installer + install -d ${D}//lib/systemd/system + + install -m 0644 systemd/system-installer.service ${D}//lib/systemd/system + install -m 0775 scripts/system-installer ${D}//usr/sbin/system-installer + install -m 0775 scripts/installer-conf-creator ${D}//usr/sbin/installer-conf-creator + + +} + +PACKAGES = "" +PACKAGES += "system-installer" + +system-installer_files = "" +system-installer_files += "system-installer.manifest" +system-installer_files += "/usr/sbin/system-installer" +system-installer_files += "/usr/sbin/installer-conf-creator" +system-installer_files += "/lib/systemd/system/system-installer.service" + +FILES_${PN} = "${system-installer_files}" + +PKG_system-installer= "system-installer" + +require system-installer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/system-installer/system-installer_git.bb b/meta-tizen/recipes-tizen/system-installer/system-installer_git.bb new file mode 100644 index 0000000..162e1a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-installer/system-installer_git.bb @@ -0,0 +1,8 @@ +require system-installer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/system-installer;protocol=ssh;tag=1f44f9188240aaa03223ddb8553a9352aa949521;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-extraconf.inc b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-native_git.bb b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-native_git.bb new file mode 100644 index 0000000..3e80034 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic-native_git.bb @@ -0,0 +1,12 @@ +require system-plugin-ia-generic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/adaptation/system-plugin-ia-generic;protocol=ssh;tag=15bb2dcdf4b1de4de103eb79fecec884b1359dcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic.inc b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic.inc new file mode 100644 index 0000000..1a2733d --- /dev/null +++ b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "The inittab file and the /etc/init.d scripts" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "Apache v2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by system-plugin-ia-generic-clovertrail +PROVIDES += "system-plugin-ia-generic-clovertrail" +RPROVIDES_system-plugin-ia-generic-clovertrail += "system-plugin-ia-generic-clovertrail" + +#PROVIDES by system-plugin-ia-generic-blackbay +PROVIDES += "system-plugin-ia-generic-blackbay" +RPROVIDES_system-plugin-ia-generic-blackbay += "system-plugin-ia-generic-blackbay" + +#PROVIDES by system-plugin-ia-generic +PROVIDES += "system-plugin-ia-generic" +RPROVIDES_system-plugin-ia-generic += "system-plugin-ia-generic" + +RDEPENDS = "" +#RDEPENDS of system-plugin-ia-generic-clovertrail (${PN}-clovertrail) +RDEPENDS_${PN}-clovertrail += "system-plugin-ia-generic" + +#RDEPENDS of system-plugin-ia-generic-blackbay (${PN}-blackbay) +RDEPENDS_${PN}-blackbay += "system-plugin-ia-generic" + +#RDEPENDS of system-plugin-ia-generic (${PN}) +RDEPENDS_${PN} += "corewatcher" +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "udev" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + # >> gbp-apply-patches # auto-added by gbp + # << gbp-apply-patches # auto-added by gbp + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/system-plugin-ia-generic.manifest . + gcc -o brcm_patchram_plus brcm_patchram_plus.c + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cp -a etc ${D} + cp -a usr ${D} + mkdir -p ${D}/usr/etc/bluetooth/ + #install -m 0755 scripts/bt-dev-end.sh ${D}/usr/etc/bluetooth/ + #install -m 0755 scripts/bt-dev-start.sh ${D}/usr/etc/bluetooth/ + install -m 0755 scripts/bt-set-addr.sh ${D}/usr/etc/bluetooth/ + mkdir -p ${D}/bin/ + cp -f brcm_patchram_plus ${D}/bin/ + + +} + +PACKAGES = "" +PACKAGES += "system-plugin-ia-generic-clovertrail" +PACKAGES += "system-plugin-ia-generic-blackbay" +PACKAGES += "system-plugin-ia-generic" + +system-plugin-ia-generic-clovertrail_files = "" +system-plugin-ia-generic-clovertrail_files += "/etc/profile.d/display-1280x720.sh" + +system-plugin-ia-generic-blackbay_files = "" +system-plugin-ia-generic-blackbay_files += "/etc/profile.d/fonts.sh" + +system-plugin-ia-generic_files = "" +system-plugin-ia-generic_files += "system-plugin-ia-generic.manifest" +system-plugin-ia-generic_files += "/etc/fstab" +system-plugin-ia-generic_files += "/etc/inittab" +system-plugin-ia-generic_files += "/etc/modules-load.d/comms.conf" +system-plugin-ia-generic_files += "/etc/profile.d/system.sh" +system-plugin-ia-generic_files += "/etc/rc.d/rc.entersleep" +system-plugin-ia-generic_files += "/etc/rc.d/rc.firstboot" +system-plugin-ia-generic_files += "/etc/rc.d/rc.leavesleep" +system-plugin-ia-generic_files += "/etc/rc.d/rc.shutdown" +system-plugin-ia-generic_files += "/etc/rc.d/rc.sysinit" +system-plugin-ia-generic_files += "/etc/rc.d/rc.*" +system-plugin-ia-generic_files += "/usr/bin/wlan.sh" +system-plugin-ia-generic_files += "/usr/bin/wlan_prov.pl" +system-plugin-ia-generic_files += "/usr/lib/systemd/system/firstboot.service" +system-plugin-ia-generic_files += "/usr/lib/systemd/system/sysinit.target.wants/firstboot.service" + +FILES_${PN}-clovertrail = "${system-plugin-ia-generic-clovertrail_files}" +FILES_${PN}-blackbay = "${system-plugin-ia-generic-blackbay_files}" +FILES_${PN} = "${system-plugin-ia-generic_files}" + +PKG_system-plugin-ia-generic-clovertrail= "system-plugin-ia-generic-clovertrail" +PKG_system-plugin-ia-generic-blackbay= "system-plugin-ia-generic-blackbay" +PKG_system-plugin-ia-generic= "system-plugin-ia-generic" + +require system-plugin-ia-generic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic_git.bb b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic_git.bb new file mode 100644 index 0000000..95100fa --- /dev/null +++ b/meta-tizen/recipes-tizen/system-plugin-ia-generic/system-plugin-ia-generic_git.bb @@ -0,0 +1,8 @@ +require system-plugin-ia-generic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/adaptation/system-plugin-ia-generic;protocol=ssh;tag=15bb2dcdf4b1de4de103eb79fecec884b1359dcc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-popup/system-popup-extraconf.inc b/meta-tizen/recipes-tizen/system-popup/system-popup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-popup/system-popup.inc b/meta-tizen/recipes-tizen/system-popup/system-popup.inc new file mode 100644 index 0000000..6b6f18e --- /dev/null +++ b/meta-tizen/recipes-tizen/system-popup/system-popup.inc @@ -0,0 +1,93 @@ +DESCRIPTION = "System Popup application (poweroff popup,sysevent-alert)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Utilities" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "system-popup" +PACKAGES += "org.tizen.poweroff-syspopup" +PACKAGES += "org.tizen.lowbat-syspopup" +PACKAGES += "org.tizen.usb-syspopup" +PACKAGES += "org.tizen.lowmem-syspopup" +PACKAGES += "org.tizen.usbotg-syspopup" +PACKAGES += "org.tizen.mmc-syspopup" + +system-popup_files = "" +system-popup_files += "system-popup.manifest" + +org.tizen.poweroff-syspopup_files = "" +org.tizen.poweroff-syspopup_files += "system-popup.manifest" +org.tizen.poweroff-syspopup_files += "/usr/apps/org.tizen.poweroff-syspopup/bin/poweroff-popup" +org.tizen.poweroff-syspopup_files += "/usr/apps/org.tizen.poweroff-syspopup/res/edje/poweroff/poweroff.edj" +org.tizen.poweroff-syspopup_files += "/usr/apps/org.tizen.poweroff-syspopup/res/icon/org.tizen.poweroff-syspopup.png" +org.tizen.poweroff-syspopup_files += "/usr/share/packages/org.tizen.poweroff-syspopup.xml" +org.tizen.poweroff-syspopup_files += "/usr/share/process-info/poweroff-popup.ini" +org.tizen.poweroff-syspopup_files += "/usr/apps/org.tizen.poweroff-syspopup/res/locale/*/LC_MESSAGES/*.mo" +org.tizen.poweroff-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.poweroff-syspopup.rule" + +org.tizen.lowbat-syspopup_files = "" +org.tizen.lowbat-syspopup_files += "system-popup.manifest" +org.tizen.lowbat-syspopup_files += "/usr/apps/org.tizen.lowbat-syspopup/bin/lowbatt-popup" +org.tizen.lowbat-syspopup_files += "/usr/apps/org.tizen.lowbat-syspopup/res/edje/lowbatt/lowbatt.edj" +org.tizen.lowbat-syspopup_files += "/usr/apps/org.tizen.lowbat-syspopup/res/locale/*/LC_MESSAGES/*.mo" +org.tizen.lowbat-syspopup_files += "/usr/apps/org.tizen.lowbat-syspopup/res/icon/org.tizen.lowbat-syspopup.png" +org.tizen.lowbat-syspopup_files += "/usr/share/packages/org.tizen.lowbat-syspopup.xml" +org.tizen.lowbat-syspopup_files += "/usr/share/process-info/lowbatt-popup.ini" +org.tizen.lowbat-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.lowbat-syspopup.rule" + +org.tizen.usb-syspopup_files = "" +org.tizen.usb-syspopup_files += "system-popup.manifest" +org.tizen.usb-syspopup_files += "/usr/share/packages/org.tizen.usb-syspopup.xml" +org.tizen.usb-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.usb-syspopup.rule" + +org.tizen.lowmem-syspopup_files = "" +org.tizen.lowmem-syspopup_files += "system-popup.manifest" +org.tizen.lowmem-syspopup_files += "/usr/apps/org.tizen.lowmem-syspopup/bin/lowmem-popup" +org.tizen.lowmem-syspopup_files += "/usr/apps/org.tizen.lowmem-syspopup/res/keysound/02_Warning.wav" +org.tizen.lowmem-syspopup_files += "/usr/apps/org.tizen.lowmem-syspopup/res/edje/lowmem/lowmem.edj" +org.tizen.lowmem-syspopup_files += "/usr/apps/org.tizen.lowmem-syspopup/res/icon/org.tizen.lowmem-syspopup.png" +org.tizen.lowmem-syspopup_files += "/usr/share/packages/org.tizen.lowmem-syspopup.xml" +org.tizen.lowmem-syspopup_files += "/usr/share/process-info/lowmem-popup.ini" +org.tizen.lowmem-syspopup_files += "/usr/apps/org.tizen.lowmem-syspopup/res/locale/*/LC_MESSAGES/*.mo" +org.tizen.lowmem-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.lowmem-syspopup.rule" + +org.tizen.usbotg-syspopup_files = "" +org.tizen.usbotg-syspopup_files += "system-popup.manifest" +org.tizen.usbotg-syspopup_files += "/usr/share/packages/org.tizen.usbotg-syspopup.xml" +org.tizen.usbotg-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.usbotg-syspopup.rule" + +org.tizen.mmc-syspopup_files = "" +org.tizen.mmc-syspopup_files += "system-popup.manifest" +org.tizen.mmc-syspopup_files += "/usr/apps/org.tizen.mmc-syspopup/bin/mmc-popup" +org.tizen.mmc-syspopup_files += "/usr/share/packages/org.tizen.mmc-syspopup.xml" +org.tizen.mmc-syspopup_files += "/usr/share/process-info/mmc-popup.ini" +org.tizen.mmc-syspopup_files += "/usr/apps/org.tizen.mmc-syspopup/res/locale/*/LC_MESSAGES/*.mo" +org.tizen.mmc-syspopup_files += "/opt/etc/smack/accesses.d/org.tizen.mmc-syspopup.rule" + +FILES_${PN} = "${system-popup_files}" +FILES_org.tizen.poweroff-syspopup = "${org.tizen.poweroff-syspopup_files}" +FILES_org.tizen.lowbat-syspopup = "${org.tizen.lowbat-syspopup_files}" +FILES_org.tizen.usb-syspopup = "${org.tizen.usb-syspopup_files}" +FILES_org.tizen.lowmem-syspopup = "${org.tizen.lowmem-syspopup_files}" +FILES_org.tizen.usbotg-syspopup = "${org.tizen.usbotg-syspopup_files}" +FILES_org.tizen.mmc-syspopup = "${org.tizen.mmc-syspopup_files}" + +PKG_system-popup= "system-popup" +PKG_org.tizen.poweroff-syspopup= "org.tizen.poweroff-syspopup" +PKG_org.tizen.lowbat-syspopup= "org.tizen.lowbat-syspopup" +PKG_org.tizen.usb-syspopup= "org.tizen.usb-syspopup" +PKG_org.tizen.lowmem-syspopup= "org.tizen.lowmem-syspopup" +PKG_org.tizen.usbotg-syspopup= "org.tizen.usbotg-syspopup" +PKG_org.tizen.mmc-syspopup= "org.tizen.mmc-syspopup" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require system-popup-rdepends.inc +require system-popup-depends.inc +require system-popup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/system-server/system-server-extraconf.inc b/meta-tizen/recipes-tizen/system-server/system-server-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-server/system-server-native_git.bb b/meta-tizen/recipes-tizen/system-server/system-server-native_git.bb new file mode 100644 index 0000000..b423d62 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-server/system-server-native_git.bb @@ -0,0 +1,12 @@ +require system-server.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/system-server;protocol=ssh;tag=af4659b815ca2ecd421c0d84b6a3aa0176ccae57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-server/system-server.inc b/meta-tizen/recipes-tizen/system-server/system-server.inc new file mode 100644 index 0000000..798a067 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-server/system-server.inc @@ -0,0 +1,402 @@ +DESCRIPTION = "System server" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by system-server-system-server +PROVIDES += "system-server-system-server" +RPROVIDES_system-server-system-server += "system-server-system-server" + +#PROVIDES by libdeviced-devel +PROVIDES += "libdeviced-devel" +RPROVIDES_libdeviced-devel += "libdeviced-devel" +RPROVIDES_libdeviced-devel += "libdeviced-dev" + +#PROVIDES by libdeviced +PROVIDES += "libdeviced" +RPROVIDES_libdeviced += "libdeviced" + +#PROVIDES by sysman-devel +PROVIDES += "sysman-devel" +RPROVIDES_sysman-devel += "sysman-devel" +RPROVIDES_sysman-devel += "sysman-dev" + +#PROVIDES by libhaptic +PROVIDES += "libhaptic" +RPROVIDES_libhaptic += "libhaptic" + +#PROVIDES by libslp-pm-devel +PROVIDES += "libslp-pm-devel" +RPROVIDES_libslp-pm-devel += "libslp-pm-devel" +RPROVIDES_libslp-pm-devel += "libslp-pm-dev" + +#PROVIDES by libslp-pm +PROVIDES += "libslp-pm" +RPROVIDES_libslp-pm += "libslp-pm" + +#PROVIDES by system-server +PROVIDES += "system-server" +RPROVIDES_system-server += "system-server" + +#PROVIDES by sysman-internal-devel +PROVIDES += "sysman-internal-devel" +RPROVIDES_sysman-internal-devel += "sysman-internal-devel" +RPROVIDES_sysman-internal-devel += "sysman-internal-dev" + +#PROVIDES by libhaptic-devel +PROVIDES += "libhaptic-devel" +RPROVIDES_libhaptic-devel += "libhaptic-devel" +RPROVIDES_libhaptic-devel += "libhaptic-dev" + +#PROVIDES by libhaptic-plugin-devel +PROVIDES += "libhaptic-plugin-devel" +RPROVIDES_libhaptic-plugin-devel += "libhaptic-plugin-devel" +RPROVIDES_libhaptic-plugin-devel += "libhaptic-plugin-dev" + +#PROVIDES by libdevman-haptic-devel +PROVIDES += "libdevman-haptic-devel" +RPROVIDES_libdevman-haptic-devel += "libdevman-haptic-devel" +RPROVIDES_libdevman-haptic-devel += "libdevman-haptic-dev" + +#PROVIDES by sysman +PROVIDES += "sysman" +RPROVIDES_sysman += "sysman" + +#PROVIDES by libdevman-devel +PROVIDES += "libdevman-devel" +RPROVIDES_libdevman-devel += "libdevman-devel" +RPROVIDES_libdevman-devel += "libdevman-dev" + +#PROVIDES by libdevman +PROVIDES += "libdevman" +RPROVIDES_libdevman += "libdevman" + +RDEPENDS = "" +#RDEPENDS of system-server-system-server (${PN}-${PN}) +RDEPENDS_${PN}-${PN} += "system-server" + +#RDEPENDS of libhaptic (libhaptic) +RDEPENDS_libhaptic += "system-server" + +#RDEPENDS of system-server (${PN}) +RDEPENDS_${PN} += "/usr/bin/systemctl" +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/usr/bin/vconftool" + +#RDEPENDS of sysman-devel (sysman-devel) +RDEPENDS_sysman-devel += "system-server" + +#RDEPENDS of libslp-pm-devel (libslp-pm-devel) +RDEPENDS_libslp-pm-devel += "libslp-pm" + +#RDEPENDS of libslp-pm (libslp-pm) +RDEPENDS_libslp-pm += "system-server" + +#RDEPENDS of libdeviced-devel (libdeviced-devel) +RDEPENDS_libdeviced-devel += "libdeviced" + +#RDEPENDS of sysman-internal-devel (sysman-internal-devel) +RDEPENDS_sysman-internal-devel += "system-server" + +#RDEPENDS of libhaptic-devel (libhaptic-devel) +RDEPENDS_libhaptic-devel += "libhaptic" + +#RDEPENDS of libdevman-haptic-devel (libdevman-haptic-devel) +RDEPENDS_libdevman-haptic-devel += "libdevman-dev" + +#RDEPENDS of sysman (sysman) +RDEPENDS_sysman += "system-server" + +#RDEPENDS of libdevman-devel (libdevman-devel) +RDEPENDS_libdevman-devel += "libdevman" + +#RDEPENDS of libdevman (libdevman) +RDEPENDS_libdevman += "system-server" + + +DEPENDS = "" +#DEPENDS of system-server +DEPENDS += "pkgconfig(libsystemd-daemon)" +DEPENDS += "cmake" +DEPENDS += "attr" +DEPENDS += "pkgconfig(device-node)" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "notification" +DEPENDS += "syspopup" +DEPENDS += "pkgconfig(udev)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(usbutils)" +DEPENDS += "smack" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "libslp-sensor" +DEPENDS += "heynoti" +DEPENDS += "pkgconfig(edbus)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(tapi)" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DX11_SUPPORT=Off \ + #eol + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/system-server.manifest . + cp ${S}/packaging/deviced.manifest . + cp ${S}/packaging/sysman.manifest . + cp ${S}/packaging/libslp-pm.manifest . + cp ${S}/packaging/haptic.manifest . + cp ${S}/packaging/devman.manifest . + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../system-server.service ${D}//lib/systemd/system/multi-user.target.wants/system-server.service + + mkdir -p ${D}//lib/systemd/system/sockets.target.wants + ln -s ../system-server.service ${D}//lib/systemd/system/sockets.target.wants/system-server.service + + + mkdir -p ${D}//lib/systemd/system/graphical.target.wants + ln -s ../regpmon.service ${D}//lib/systemd/system/graphical.target.wants/regpmon.service + install -m 0644 ${S}/packaging/regpmon.service ${D}/lib/systemd/system/regpmon.service + + + mkdir -p ${D}//lib/systemd/system/graphical.target.wants + ln -s ../zbooting-done.service ${D}//lib/systemd/system/graphical.target.wants/zbooting-done.service + install -m 0644 ${S}/packaging/zbooting-done.service ${D}/lib/systemd/system/zbooting-done.service + + + +} + +PACKAGES = "" +PACKAGES += "libdevman-devel" +PACKAGES += "libhaptic" +PACKAGES += "system-server" +PACKAGES += "sysman-devel" +PACKAGES += "libslp-pm-devel" +PACKAGES += "libdevman" +PACKAGES += "libslp-pm" +PACKAGES += "libdeviced-devel" +PACKAGES += "sysman-internal-devel" +PACKAGES += "libhaptic-devel" +PACKAGES += "libhaptic-plugin-devel" +PACKAGES += "libdevman-haptic-devel" +PACKAGES += "libdeviced" +PACKAGES += "sysman" + +libdevman-devel_files = "" +libdevman-devel_files += "/usr/include/devman/devman.h" +libdevman-devel_files += "/usr/include/devman/devman_image.h" +libdevman-devel_files += "/usr/include/devman/devman_managed.h" +libdevman-devel_files += "/usr/include/devman/devman_haptic.h" +libdevman-devel_files += "/usr/include/devman/devman_PG.h" +libdevman-devel_files += "/usr/lib/pkgconfig/devman.pc" +libdevman-devel_files += "/usr/lib/libdevman.so" + +libhaptic_files = "" +libhaptic_files += "/usr/lib/libhaptic.so.*" +libhaptic_files += "haptic.manifest" + +system-server_files = "" +system-server_files += "system-server.manifest" +system-server_files += "/etc/dbus-1/system.d/system-server.conf" +system-server_files += "/usr/bin/system_server" +system-server_files += "/opt/etc/smack/accesses.d/system-server.rule" +system-server_files += "/usr/lib/system-server/shutdown.sh" +system-server_files += "/usr/bin/restart" +system-server_files += "/usr/bin/movi_format.sh" +system-server_files += "/usr/bin/sys_event" +system-server_files += "/usr/bin/pm_event" +system-server_files += "/usr/bin/regpmon" +system-server_files += "/usr/bin/set_pmon" +system-server_files += "/usr/bin/pmon" +system-server_files += "/usr/bin/sys_pci_noti" +system-server_files += "/usr/bin/mmc-smack-label" +system-server_files += "/usr/bin/device-daemon" +system-server_files += "/usr/bin/fsck_msdosfs" +system-server_files += "/lib/systemd/system/multi-user.target.wants/system-server.service" +system-server_files += "/lib/systemd/system/graphical.target.wants/regpmon.service" +system-server_files += "/lib/systemd/system/sockets.target.wants/system-server.service" +system-server_files += "/lib/systemd/system/system-server.service" +system-server_files += "/lib/systemd/system/system-server.socket" +system-server_files += "/lib/systemd/system/regpmon.service" +system-server_files += "/lib/systemd/system/graphical.target.wants/zbooting-done.service" +system-server_files += "/lib/systemd/system/zbooting-done.service" +system-server_files += "/usr/share/system-server/sys_pci_noti/res/locale/*/LC_MESSAGES/*.mo" +system-server_files += "/etc/dbus-1/system.d/system-server.conf" +system-server_files += "/usr/share/license/fsck_msdosfs" + +sysman-devel_files = "" +sysman-devel_files += "/usr/include/sysman/sysman.h" +sysman-devel_files += "/usr/include/sysman/sysman_managed.h" +sysman-devel_files += "/usr/include/sysman/sysman_PG.h" +sysman-devel_files += "/usr/lib/pkgconfig/sysman.pc" +sysman-devel_files += "/usr/lib/libsysman.so" + +libslp-pm-devel_files = "" +libslp-pm-devel_files += "/usr/include/pmapi/pmapi.h" +libslp-pm-devel_files += "/usr/include/pmapi/pmapi_managed.h" +libslp-pm-devel_files += "/usr/include/pmapi/pm_PG.h" +libslp-pm-devel_files += "/usr/lib/pkgconfig/pmapi.pc" +libslp-pm-devel_files += "/usr/lib/libpmapi.so" + +libdevman_files = "" +libdevman_files += "/usr/bin/display_wd" +libdevman_files += "/usr/lib/libdevman.so.*" +libdevman_files += "devman.manifest" + +libslp-pm_files = "" +libslp-pm_files += "libslp-pm.manifest" +libslp-pm_files += "/usr/lib/libpmapi.so.*" + +libdeviced-devel_files = "" +libdeviced-devel_files += "/usr/include/deviced/dd-battery.h" +libdeviced-devel_files += "/usr/include/deviced/dd-control.h" +libdeviced-devel_files += "/usr/include/deviced/dd-deviced.h" +libdeviced-devel_files += "/usr/include/deviced/dd-deviced-managed.h" +libdeviced-devel_files += "/usr/include/deviced/dd-display.h" +libdeviced-devel_files += "/usr/include/deviced/dd-haptic.h" +libdeviced-devel_files += "/usr/include/deviced/dd-led.h" +libdeviced-devel_files += "/usr/include/deviced/haptic-module.h" +libdeviced-devel_files += "/usr/include/deviced/haptic-plugin-intf.h" +libdeviced-devel_files += "/usr/lib/libdeviced.so" +libdeviced-devel_files += "/usr/lib/pkgconfig/deviced.pc" + +sysman-internal-devel_files = "" +sysman-internal-devel_files += "/usr/include/sysman/sysman-internal.h" + +libhaptic-devel_files = "" +libhaptic-devel_files += "/usr/include/haptic/haptic.h" +libhaptic-devel_files += "/usr/lib/libhaptic.so" +libhaptic-devel_files += "/usr/lib/pkgconfig/haptic.pc" + +libhaptic-plugin-devel_files = "" +libhaptic-plugin-devel_files += "/usr/include/haptic/haptic_module.h" +libhaptic-plugin-devel_files += "/usr/include/haptic/haptic_plugin_intf.h" +libhaptic-plugin-devel_files += "/usr/include/haptic/haptic_PG.h" +libhaptic-plugin-devel_files += "/usr/lib/pkgconfig/haptic-plugin.pc" + +libdevman-haptic-devel_files = "" +libdevman-haptic-devel_files += "/usr/include/devman/devman_haptic_ext.h" +libdevman-haptic-devel_files += "/usr/include/devman/devman_haptic_ext_core.h" +libdevman-haptic-devel_files += "/usr/lib/pkgconfig/devman_haptic.pc" + +libdeviced_files = "" +libdeviced_files += "/usr/lib/libdeviced.so.*" +libdeviced_files += "deviced.manifest" + +sysman_files = "" +sysman_files += "sysman.manifest" +sysman_files += "/usr/lib/libsysman.so.*" +sysman_files += "/usr/bin/regpmon" +sysman_files += "/usr/bin/set_pmon" + +FILES_libdevman-devel = "${libdevman-devel_files}" +FILES_libhaptic = "${libhaptic_files}" +FILES_${PN} = "${system-server_files}" +FILES_sysman-devel = "${sysman-devel_files}" +FILES_libslp-pm-devel = "${libslp-pm-devel_files}" +FILES_libdevman = "${libdevman_files}" +FILES_libslp-pm = "${libslp-pm_files}" +FILES_libdeviced-devel = "${libdeviced-devel_files}" +FILES_sysman-internal-devel = "${sysman-internal-devel_files}" +FILES_libhaptic-devel = "${libhaptic-devel_files}" +FILES_libhaptic-plugin-devel = "${libhaptic-plugin-devel_files}" +FILES_libdevman-haptic-devel = "${libdevman-haptic-devel_files}" +FILES_libdeviced = "${libdeviced_files}" +FILES_sysman = "${sysman_files}" + +PKG_libdevman-devel= "libdevman-devel" +PKG_libhaptic= "libhaptic" +PKG_system-server= "system-server" +PKG_sysman-devel= "sysman-devel" +PKG_libslp-pm-devel= "libslp-pm-devel" +PKG_libdevman= "libdevman" +PKG_libslp-pm= "libslp-pm" +PKG_libdeviced-devel= "libdeviced-devel" +PKG_sysman-internal-devel= "sysman-internal-devel" +PKG_libhaptic-devel= "libhaptic-devel" +PKG_libhaptic-plugin-devel= "libhaptic-plugin-devel" +PKG_libdevman-haptic-devel= "libdevman-haptic-devel" +PKG_libdeviced= "libdeviced" +PKG_sysman= "sysman" + +require system-server-extraconf.inc diff --git a/meta-tizen/recipes-tizen/system-server/system-server_git.bb b/meta-tizen/recipes-tizen/system-server/system-server_git.bb new file mode 100644 index 0000000..2de0600 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-server/system-server_git.bb @@ -0,0 +1,8 @@ +require system-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/system-server;protocol=ssh;tag=af4659b815ca2ecd421c0d84b6a3aa0176ccae57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/system-settings/system-settings-extraconf.inc b/meta-tizen/recipes-tizen/system-settings/system-settings-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/system-settings/system-settings.inc b/meta-tizen/recipes-tizen/system-settings/system-settings.inc new file mode 100644 index 0000000..9530af6 --- /dev/null +++ b/meta-tizen/recipes-tizen/system-settings/system-settings.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "A System Settings library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "capi-system-system-settings-devel" +PACKAGES += "capi-system-system-settings" + +capi-system-system-settings-devel_files = "" +capi-system-system-settings-devel_files += "capi-system-system-settings-devel.manifest" +capi-system-system-settings-devel_files += "/usr/include/system/*.h" +capi-system-system-settings-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-system-settings-devel_files += "/usr/lib/lib*.so" + +capi-system-system-settings_files = "" +capi-system-system-settings_files += "capi-system-system-settings.manifest" +capi-system-system-settings_files += "/usr/lib/lib*.so.*" +capi-system-system-settings_files += "/usr/bin/test_system_settings_gui" + +FILES_${PN}-devel = "${capi-system-system-settings-devel_files}" +FILES_${PN} = "${capi-system-system-settings_files}" + +PKG_capi-system-system-settings-devel= "capi-system-system-settings-devel" +PKG_capi-system-system-settings= "capi-system-system-settings" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require system-settings-rdepends.inc +require system-settings-depends.inc +require system-settings-extraconf.inc diff --git a/meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail-extraconf.inc b/meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail.inc b/meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail.inc new file mode 100644 index 0000000..d607843 --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd-bootmode-clovertrail/systemd-bootmode-clovertrail.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Boot mode selector for systemd" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "Not Copyrightable" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "systemd-bootmode" + +systemd-bootmode_files = "" +systemd-bootmode_files += "systemd-bootmode.manifest" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode.target" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode-graphical.service" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode-charging.service" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode.target.wants" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode.target.wants/bootmode-graphical.service" +systemd-bootmode_files += "/usr/lib/systemd/system/bootmode.target.wants/bootmode-charging.service" + +FILES_${PN} = "${systemd-bootmode_files}" + +PKG_systemd-bootmode= "systemd-bootmode" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require systemd-bootmode-clovertrail-rdepends.inc +require systemd-bootmode-clovertrail-depends.inc +require systemd-bootmode-clovertrail-extraconf.inc 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..e69de29 diff --git a/meta-tizen/recipes-tizen/systemd/systemd-native_git.bb b/meta-tizen/recipes-tizen/systemd/systemd-native_git.bb new file mode 100644 index 0000000..f10cfde --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/systemd-native_git.bb @@ -0,0 +1,12 @@ +require systemd.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/systemd;protocol=ssh;tag=93675e1961f47d1bbe4beb9043cdc3f60ecfc795;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/systemd/systemd.inc b/meta-tizen/recipes-tizen/systemd/systemd.inc new file mode 100644 index 0000000..4b46f1c --- /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" + +PROVIDES = "" + +#PROVIDES by libsystemd +PROVIDES += "libsystemd" +RPROVIDES_libsystemd += "libsystemd" + +#PROVIDES by systemd +PROVIDES += "systemd" +RPROVIDES_systemd += "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-devel +PROVIDES += "libgudev-devel" +RPROVIDES_libgudev-devel += "libgudev-devel" +RPROVIDES_libgudev-devel += "libgudev-dev" + +#PROVIDES by systemd-devel +PROVIDES += "systemd-devel" +RPROVIDES_systemd-devel += "systemd-devel" +RPROVIDES_systemd-devel += "systemd-dev" +# the PROVIDES rules is ignore "libudev-devel = 208" +PROVIDES += "libudev-devel" +RPROVIDES_systemd-devel += "libudev-devel" +RPROVIDES_systemd-devel += "libudev-dev" + +#PROVIDES by libgudev +PROVIDES += "libgudev" +RPROVIDES_libgudev += "libgudev" + +#PROVIDES by systemd-analyze +PROVIDES += "systemd-analyze" +RPROVIDES_systemd-analyze += "systemd-analyze" + +RDEPENDS = "" +#RDEPENDS of systemd (${PN}) +RDEPENDS_${PN} += "/usr/bin/getent" +RDEPENDS_${PN} += "/usr/sbin/groupadd" +RDEPENDS_${PN} += "hwdata" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "gawk" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "filesystem" + +#RDEPENDS of libgudev-devel (libgudev-devel) +RDEPENDS_libgudev-devel += "libgudev" + +#RDEPENDS of systemd-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "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 += "intltool-native" +DEPENDS += "attr" +DEPENDS += "gperf" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "hwdata" +DEPENDS += "pciutils" +DEPENDS += "usbutils" +DEPENDS += "acl" +DEPENDS += "pam" +DEPENDS += "libxslt" +DEPENDS += "pkgconfig(liblzma)" +DEPENDS += "libcap" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libgcrypt" +DEPENDS += "libblkid-devel" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/systemd.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-bootchart \ + --libexecdir=/usr/lib \ + --docdir=/usr/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} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # udev links + /usr/bin/mkdir -p ${D}//usr/sbin + /usr/bin/ln -sf ../bin/udevadm ${D}/usr/sbin/udevadm + /usr/bin/mkdir -p ${D}/usr/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}/usr/sbin/init + /usr/bin/ln -s ../lib/systemd/systemd ${D}/usr/bin/systemd + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/reboot + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/halt + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/poweroff + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/shutdown + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/telinit + /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/runlevel + + # legacy links + /usr/bin/ln -s loginctl ${D}/usr/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}/etc/systemd/system/*.target.wants + + # Make sure the ghost-ing below works + /usr/bin/touch ${D}/etc/systemd/system/runlevel2.target + /usr/bin/touch ${D}/etc/systemd/system/runlevel3.target + /usr/bin/touch ${D}/etc/systemd/system/runlevel4.target + /usr/bin/touch ${D}/etc/systemd/system/runlevel5.target + + # Make sure these directories are properly owned + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/basic.target.wants + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/default.target.wants + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/dbus.target.wants + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/syslog.target.wants + + # Make sure the user generators dir exists too + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-generators + /usr/bin/mkdir -p ${D}/usr/lib/systemd/user-generators + + # Create new-style configuration files so that we can ghost-own them + /usr/bin/touch ${D}/etc/hostname + /usr/bin/touch ${D}/etc/vconsole.conf + /usr/bin/touch ${D}/etc/locale.conf + /usr/bin/touch ${D}/etc/machine-id + /usr/bin/touch ${D}/etc/machine-info + /usr/bin/touch ${D}/etc/timezone + #/usr/bin/mkdir -p ${D}/etc/X11/xorg.conf.d + #/usr/bin/touch ${D}/etc/X11/xorg.conf.d/00-keyboard.conf + + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-preset/ + /usr/bin/mkdir -p ${D}/usr/lib/systemd/user-preset/ + + # Make sure the shutdown/sleep drop-in dirs exist + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-shutdown/ + /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-sleep/ + + # Make sure the NTP units dir exists + /usr/bin/mkdir -p ${D}/usr/lib/systemd/ntp-units.d/ + + # Install modprobe fragment + /usr/bin/mkdir -p ${D}/etc/modprobe.d/ + + # Enable readahead services + /usr/bin/ln -s ../systemd-readahead-collect.service ${D}/usr/lib/systemd/system/default.target.wants/ + /usr/bin/ln -s ../systemd-readahead-replay.service ${D}/usr/lib/systemd/system/default.target.wants/ + + # Fix the dangling /var/lock -> /run/lock symlink + install -Dm644 tmpfiles.d/legacy.conf ${D}/usr/lib/tmpfiles.d/legacy.conf + + install -m644 ${S}/packaging/pamconsole-tmp.conf ${D}/usr/lib/tmpfiles.d/ + + rm -rf ${D}//usr/lib/systemd/user/default.target + + rm -rf ${D}//usr/share/doc/packages/systemd + + # Move macros to the proper location for Tizen + mkdir -p ${D}/etc/rpm + install -m644 src/core/macros.systemd ${D}/etc/rpm/macros.systemd + rm -f ${D}/usr/lib/rpm/macros.d/macros.systemd + + +} + +PACKAGES = "" +PACKAGES += "libsystemd" +PACKAGES += "systemd" +PACKAGES += "libgudev-devel" +PACKAGES += "systemd-devel" +PACKAGES += "libgudev" +PACKAGES += "systemd-analyze" + +libsystemd_files = "" +libsystemd_files += "systemd.manifest" +libsystemd_files += "/usr/lib/security/pam_systemd.so" +libsystemd_files += "/usr/lib/libsystemd-daemon.so.*" +libsystemd_files += "/usr/lib/libsystemd-login.so.*" +libsystemd_files += "/usr/lib/libsystemd-journal.so.*" +libsystemd_files += "/usr/lib/libsystemd-id128.so.*" +libsystemd_files += "/usr/lib/libudev.so.*" +libsystemd_files += "/usr/lib/libnss_myhostname.so.2" + +systemd_files = "" +systemd_files += "systemd.manifest" +systemd_files += "/etc/systemd/bootchart.conf" +systemd_files += "/etc/pam.d/systemd-user" +systemd_files += "/usr/bin/bootctl" +systemd_files += "/usr/bin/kernel-install" +systemd_files += "/usr/bin/machinectl" +systemd_files += "/usr/bin/systemd-run" +systemd_files += "/usr/lib/kernel" +systemd_files += "/usr/lib/kernel/install.d" +systemd_files += "/usr/lib/kernel/install.d/50-depmod.install" +systemd_files += "/usr/lib/kernel/install.d/90-loaderentry.install" +systemd_files += "/usr/lib/systemd/system-generators/systemd-efi-boot-generator" +systemd_files += "/usr/bin/hostnamectl" +systemd_files += "/usr/bin/localectl" +systemd_files += "/usr/bin/systemd-coredumpctl" +systemd_files += "/usr/bin/timedatectl" +systemd_files += "/etc/systemd" +systemd_files += "/etc/systemd/system" +systemd_files += "/etc/systemd/user" +systemd_files += "/etc/tmpfiles.d" +systemd_files += "/etc/sysctl.d" +systemd_files += "/etc/modules-load.d" +systemd_files += "/etc/binfmt.d" +systemd_files += "/usr/share/bash-completion/*" +systemd_files += "/usr/share/zsh/site-functions" +systemd_files += "/usr/share/zsh/site-functions/*" +systemd_files += "/etc/udev" +systemd_files += "/etc/udev/rules.d" +systemd_files += "/usr/lib/systemd" +systemd_files += "/usr/lib/systemd/system" +systemd_files += "/usr/lib/systemd/system-generators" +systemd_files += "/usr/lib/systemd/user-generators" +systemd_files += "/usr/lib/systemd/system-preset" +systemd_files += "/usr/lib/systemd/user-preset" +systemd_files += "/usr/lib/systemd/system-shutdown" +systemd_files += "/usr/lib/systemd/system-sleep" +systemd_files += "/usr/lib/tmpfiles.d" +systemd_files += "/usr/lib/sysctl.d" +systemd_files += "/usr/lib/modules-load.d" +systemd_files += "/usr/lib/binfmt.d" +systemd_files += "/usr/lib/firmware" +systemd_files += "/usr/lib/firmware/updates" +systemd_files += "/usr/share/systemd" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.systemd1.conf" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.hostname1.conf" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.login1.conf" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.locale1.conf" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.timedate1.conf" +systemd_files += "/etc/dbus-1/system.d/org.freedesktop.machine1.conf" +systemd_files += "/etc/systemd/system.conf" +systemd_files += "/etc/systemd/user.conf" +systemd_files += "/etc/systemd/logind.conf" +systemd_files += "/etc/systemd/journald.conf" +systemd_files += "/etc/udev/udev.conf" +systemd_files += "/etc/rpm/macros.systemd" +systemd_files += "/etc/xdg/systemd" +systemd_files += "/usr/bin/systemd" +systemd_files += "/usr/bin/systemctl" +systemd_files += "/usr/bin/systemd-notify" +systemd_files += "/usr/bin/systemd-ask-password" +systemd_files += "/usr/bin/systemd-tty-ask-password-agent" +systemd_files += "/usr/bin/systemd-machine-id-setup" +systemd_files += "/usr/bin/loginctl" +systemd_files += "/usr/bin/systemd-loginctl" +systemd_files += "/usr/bin/journalctl" +systemd_files += "/usr/bin/systemd-tmpfiles" +systemd_files += "/usr/bin/systemd-nspawn" +systemd_files += "/usr/bin/systemd-stdio-bridge" +systemd_files += "/usr/bin/systemd-cat" +systemd_files += "/usr/bin/systemd-cgls" +systemd_files += "/usr/bin/systemd-cgtop" +systemd_files += "/usr/bin/systemd-delta" +systemd_files += "/usr/bin/systemd-detect-virt" +systemd_files += "/usr/bin/systemd-inhibit" +systemd_files += "/usr/bin/udevadm" +systemd_files += "/usr/lib/sysctl.d/*.conf" +systemd_files += "/usr/lib/systemd/systemd" +systemd_files += "/usr/lib/systemd/system" +systemd_files += "/usr/lib/systemd/system/basic.target.wants" +systemd_files += "/usr/lib/systemd/user" +systemd_files += "/usr/lib/systemd/user/bluetooth.target" +systemd_files += "/usr/lib/systemd/user/exit.target" +systemd_files += "/usr/lib/systemd/user/printer.target" +systemd_files += "/usr/lib/systemd/user/shutdown.target" +systemd_files += "/usr/lib/systemd/user/sockets.target" +systemd_files += "/usr/lib/systemd/user/sound.target" +systemd_files += "/usr/lib/systemd/user/systemd-exit.service" +systemd_files += "/usr/lib/systemd/user/paths.target" +systemd_files += "/usr/lib/systemd/user/smartcard.target" +systemd_files += "/usr/lib/systemd/user/timers.target" +systemd_files += "/usr/lib/systemd/systemd-*" +systemd_files += "/usr/lib/systemd/catalog" +systemd_files += "/usr/lib/systemd/catalog/systemd.catalog" +systemd_files += "/usr/lib/udev" +systemd_files += "/usr/lib/systemd/system-generators/systemd-getty-generator" +systemd_files += "/usr/lib/systemd/system-generators/systemd-fstab-generator" +systemd_files += "/usr/lib/systemd/system-generators/systemd-system-update-generator" +systemd_files += "/usr/lib/systemd/system-generators/systemd-gpt-auto-generator" +systemd_files += "/usr/lib/tmpfiles.d/systemd.conf" +systemd_files += "/usr/lib/tmpfiles.d/x11.conf" +systemd_files += "/usr/lib/tmpfiles.d/tmp.conf" +systemd_files += "/usr/lib/tmpfiles.d/legacy.conf" +systemd_files += "/usr/lib/tmpfiles.d/pamconsole-tmp.conf" +systemd_files += "/usr/sbin/init" +systemd_files += "/usr/sbin/reboot" +systemd_files += "/usr/sbin/halt" +systemd_files += "/usr/sbin/poweroff" +systemd_files += "/usr/sbin/shutdown" +systemd_files += "/usr/sbin/telinit" +systemd_files += "/usr/sbin/runlevel" +systemd_files += "/usr/sbin/udevadm" +systemd_files += "/usr/share/systemd/kbd-model-map" +systemd_files += "/usr/share/dbus-1/services/org.freedesktop.systemd1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.hostname1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.login1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.locale1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.timedate1.service" +systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.machine1.service" +systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.systemd1.*.xml" +systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.hostname1.xml" +systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.locale1.xml" +systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.timedate1.xml" +systemd_files += "/usr/share/polkit-1" +systemd_files += "/usr/share/polkit-1/actions" +systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.systemd1.policy" +systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.hostname1.policy" +systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.login1.policy" +systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.locale1.policy" +systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.timedate1.policy" +systemd_files += "/usr/share/pkgconfig/systemd.pc" +systemd_files += "/usr/share/pkgconfig/udev.pc" + +libgudev-devel_files = "" +libgudev-devel_files += "systemd.manifest" +libgudev-devel_files += "/usr/lib/libgudev-1.0.so" +libgudev-devel_files += "/usr/include/gudev-1.0" +libgudev-devel_files += "/usr/include/gudev-1.0/gudev" +libgudev-devel_files += "/usr/include/gudev-1.0/gudev/*.h" +libgudev-devel_files += "/usr/lib/pkgconfig/gudev-1.0*" + +systemd-devel_files = "" +systemd-devel_files += "systemd.manifest" +systemd-devel_files += "/usr/lib/libsystemd-daemon.so" +systemd-devel_files += "/usr/lib/libsystemd-login.so" +systemd-devel_files += "/usr/lib/libsystemd-journal.so" +systemd-devel_files += "/usr/lib/libsystemd-id128.so" +systemd-devel_files += "/usr/lib/libudev.so" +systemd-devel_files += "/usr/include/systemd" +systemd-devel_files += "/usr/include/systemd/sd-daemon.h" +systemd-devel_files += "/usr/include/systemd/sd-login.h" +systemd-devel_files += "/usr/include/systemd/sd-journal.h" +systemd-devel_files += "/usr/include/systemd/sd-id128.h" +systemd-devel_files += "/usr/include/systemd/sd-messages.h" +systemd-devel_files += "/usr/include/systemd/sd-shutdown.h" +systemd-devel_files += "/usr/include/libudev.h" +systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-daemon.pc" +systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-login.pc" +systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-journal.pc" +systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-id128.pc" +systemd-devel_files += "/usr/lib/pkgconfig/libudev.pc" + +libgudev_files = "" +libgudev_files += "systemd.manifest" +libgudev_files += "/usr/lib/libgudev-1.0.so.*" + +systemd-analyze_files = "" +systemd-analyze_files += "systemd.manifest" +systemd-analyze_files += "/usr/bin/systemd-analyze" + +FILES_lib${PN} = "${libsystemd_files}" +FILES_${PN} = "${systemd_files}" +FILES_libgudev-devel = "${libgudev-devel_files}" +FILES_${PN}-devel = "${systemd-devel_files}" +FILES_libgudev = "${libgudev_files}" +FILES_${PN}-analyze = "${systemd-analyze_files}" + +PKG_libsystemd= "libsystemd" +PKG_systemd= "systemd" +PKG_libgudev-devel= "libgudev-devel" +PKG_systemd-devel= "systemd-devel" +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..f55fa28 --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/systemd_git.bb @@ -0,0 +1,8 @@ +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;protocol=ssh;tag=93675e1961f47d1bbe4beb9043cdc3f60ecfc795;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tar/tar-extraconf.inc b/meta-tizen/recipes-tizen/tar/tar-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tar/tar-native_git.bb b/meta-tizen/recipes-tizen/tar/tar-native_git.bb new file mode 100644 index 0000000..72da8ab --- /dev/null +++ b/meta-tizen/recipes-tizen/tar/tar-native_git.bb @@ -0,0 +1,12 @@ +require tar.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tar;protocol=ssh;tag=c220badf2d9b55175284a67c8f4156fb5a5200d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tar/tar.inc b/meta-tizen/recipes-tizen/tar/tar.inc new file mode 100644 index 0000000..c94810a --- /dev/null +++ b/meta-tizen/recipes-tizen/tar/tar.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "GNU implementation of tar ((t)ape (ar)chiver)" +HOMEPAGE = "http://www.gnu.org/software/tar/" +SECTION = "System/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tar-docs +PROVIDES += "tar-docs " +RPROVIDES_tar-docs += "tar-docs " + +#PROVIDES by tar +PROVIDES += "tar" +RPROVIDES_tar += "tar" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of tar +DEPENDS += "help2man-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tar.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter" + export RSH="/usr/bin/rsh" + export DEFAULT_ARCHIVE_FORMAT="POSIX" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + gl_cv_func_linkat_follow="yes" \ + --disable-silent-rules \ + --disable-nls + make -j16; + + exit 0 + # Checks disabled in qemu because of races happening when we emulate + # multi-threaded programs + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d -m 755 ${D}//usr/share/man/man1 + help2man ./src/tar --name "The GNU version of the tar archiving utility" -p tar \ + | gzip -c > ${D}//usr/share/man/man1/tar.1.gz + rm -rf ${D}/usr/libexec/rmt + rm -f ${D}/usr/share/info/dir + + + + +} + +PACKAGES = "" +PACKAGES += "tar-docs" +PACKAGES += "tar" + +tar-docs_files = "" +tar-docs_files += "/usr/share/info" +tar-docs_files += "/usr/share/man" + +tar_files = "" +tar_files += "tar.manifest" +tar_files += "/usr/bin/tar" + +FILES_${PN}-docs = "${tar-docs_files}" +FILES_${PN} = "${tar_files}" + +PKG_tar-docs= "tar-docs" +PKG_tar= "tar" + +require tar-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tar/tar_git.bb b/meta-tizen/recipes-tizen/tar/tar_git.bb new file mode 100644 index 0000000..841857e --- /dev/null +++ b/meta-tizen/recipes-tizen/tar/tar_git.bb @@ -0,0 +1,8 @@ +require tar.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tar;protocol=ssh;tag=c220badf2d9b55175284a67c8f4156fb5a5200d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/taskmanager/taskmanager-extraconf.inc b/meta-tizen/recipes-tizen/taskmanager/taskmanager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/taskmanager/taskmanager.inc b/meta-tizen/recipes-tizen/taskmanager/taskmanager.inc new file mode 100644 index 0000000..d592692 --- /dev/null +++ b/meta-tizen/recipes-tizen/taskmanager/taskmanager.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Task Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "devel" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.taskmgr" + +org.tizen.taskmgr_files = "" +org.tizen.taskmgr_files += "org.tizen.taskmgr.manifest" +org.tizen.taskmgr_files += "/usr/apps/org.tizen.taskmgr/bin/*" +org.tizen.taskmgr_files += "/usr/apps/org.tizen.taskmgr/res/*" +org.tizen.taskmgr_files += "/opt/usr/apps/org.tizen.taskmgr/data" +org.tizen.taskmgr_files += "/usr/share/packages/*" +org.tizen.taskmgr_files += "/usr/share/icons/default/small/org.tizen.taskmgr.png" +org.tizen.taskmgr_files += "/opt/etc/smack/accesses.d/org.tizen.taskmgr.rule" + +FILES_${PN} = "${org.tizen.taskmgr_files}" + +PKG_org.tizen.taskmgr= "org.tizen.taskmgr" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require taskmanager-rdepends.inc +require taskmanager-depends.inc +require taskmanager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tcl/tcl-extraconf.inc b/meta-tizen/recipes-tizen/tcl/tcl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tcl/tcl-native_git.bb b/meta-tizen/recipes-tizen/tcl/tcl-native_git.bb new file mode 100644 index 0000000..035ff63 --- /dev/null +++ b/meta-tizen/recipes-tizen/tcl/tcl-native_git.bb @@ -0,0 +1,12 @@ +require tcl.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tcl;protocol=ssh;tag=0a587c06347b735c2e0aa74987c7000eb0019b6d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tcl/tcl.inc b/meta-tizen/recipes-tizen/tcl/tcl.inc new file mode 100644 index 0000000..a76ea71 --- /dev/null +++ b/meta-tizen/recipes-tizen/tcl/tcl.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "The Tcl Programming Language" +HOMEPAGE = "http://www.tcl.tk" +SECTION = "Development/Languages" +LICENSE = "TIZEN-TCL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tcl-devel +PROVIDES += "tcl-devel" +RPROVIDES_tcl-devel += "tcl-devel" +RPROVIDES_tcl-devel += "tcl-dev" + +#PROVIDES by tcl +PROVIDES += "tcl" +RPROVIDES_tcl += "tcl" +# the PROVIDES rules is ignore "tclsh " +PROVIDES += "tclsh" +RPROVIDES_tcl += "tclsh" +# the PROVIDES rules is ignore "tclsh8.6 " +PROVIDES += "tclsh8.6" +RPROVIDES_tcl += "tclsh8.6" + +RDEPENDS = "" +#RDEPENDS of tcl-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "tcl" + +#RDEPENDS of tcl (${PN}) +RDEPENDS_${PN} += "/usr/bin/rm" + + +DEPENDS = "" +#DEPENDS of tcl +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n tcl8.6.0 + cp ${S}/packaging/tcl.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd unix + autoconf + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-man-symlinks \ + --enable-man-compression=gzip + make -j16 \ + PACKAGE_DIR=/usr/lib/tcl \ + TCL_LIBRARY="/usr/lib/tcl/tcl8.6" \ + TCL_PACKAGE_PATH="/usr/lib/tcl /usr/share/tcl" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make -C unix install install-private-headers \ + INSTALL_ROOT=${D} \ + TCL_LIBRARY="/usr/lib/tcl/tcl8.6" + rm -f ${D}/usr/lib/tcl/tcl8.6/ldAix + ln -sf tclsh8.6 ${D}/usr/bin/tclsh + mkdir -p ${D}/usr/share/tcl + install -D ${S}/packaging/macros.tcl -m 644 ${D}/etc/rpm/macros.tcl + + +} + +PACKAGES = "" +PACKAGES += "tcl-devel" +PACKAGES += "tcl" + +tcl-devel_files = "" +tcl-devel_files += "tcl.manifest" +tcl-devel_files += "/usr/share/man/man3/*" +tcl-devel_files += "/usr/include/*" +tcl-devel_files += "/usr/lib/tcl/*/tclAppInit.c" +tcl-devel_files += "/usr/lib/*.a" +tcl-devel_files += "/usr/lib/tclConfig.sh" +tcl-devel_files += "/usr/lib/pkgconfig/tcl.pc" +tcl-devel_files += "/usr/lib/tclooConfig.sh" + +tcl_files = "" +tcl_files += "tcl.manifest" +tcl_files += "/usr/share/man/man1/*" +tcl_files += "/usr/share/man/mann/*" +tcl_files += "/usr/bin/*" +tcl_files += "/usr/lib/lib*.so" +tcl_files += "/usr/share/tcl" +tcl_files += "/usr/lib/tcl" +tcl_files += "/etc/rpm/macros.tcl" + +FILES_${PN}-devel = "${tcl-devel_files}" +FILES_${PN} = "${tcl_files}" + +PKG_tcl-devel= "tcl-devel" +PKG_tcl= "tcl" + +require tcl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tcl/tcl_git.bb b/meta-tizen/recipes-tizen/tcl/tcl_git.bb new file mode 100644 index 0000000..a1e408a --- /dev/null +++ b/meta-tizen/recipes-tizen/tcl/tcl_git.bb @@ -0,0 +1,8 @@ +require tcl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tcl;protocol=ssh;tag=0a587c06347b735c2e0aa74987c7000eb0019b6d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tcpdump/tcpdump-extraconf.inc b/meta-tizen/recipes-tizen/tcpdump/tcpdump-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tcpdump/tcpdump-native_git.bb b/meta-tizen/recipes-tizen/tcpdump/tcpdump-native_git.bb new file mode 100644 index 0000000..3f465d2 --- /dev/null +++ b/meta-tizen/recipes-tizen/tcpdump/tcpdump-native_git.bb @@ -0,0 +1,12 @@ +require tcpdump.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tcpdump;protocol=ssh;tag=09a0a046c9c1bd6df1834f4f4804753bd0788785;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tcpdump/tcpdump.inc b/meta-tizen/recipes-tizen/tcpdump/tcpdump.inc new file mode 100644 index 0000000..c61ad2c --- /dev/null +++ b/meta-tizen/recipes-tizen/tcpdump/tcpdump.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "A Packet Sniffer" +HOMEPAGE = "http://www.tcpdump.org/" +SECTION = "Productivity/Networking/Diagnostic" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tcpdump +PROVIDES += "tcpdump" +RPROVIDES_tcpdump += "tcpdump" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of tcpdump +DEPENDS += "openssl" +DEPENDS += "libpcap" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tcpdump.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-ipv6 + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "tcpdump" + +tcpdump_files = "" +tcpdump_files += "tcpdump.manifest" +tcpdump_files += "LICENSE README *.awk" +tcpdump_files += "/usr/share/man/man?/*" +tcpdump_files += "/usr/sbin/*" + +FILES_${PN} = "${tcpdump_files}" + +PKG_tcpdump= "tcpdump" + +require tcpdump-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tcpdump/tcpdump_git.bb b/meta-tizen/recipes-tizen/tcpdump/tcpdump_git.bb new file mode 100644 index 0000000..475b7bb --- /dev/null +++ b/meta-tizen/recipes-tizen/tcpdump/tcpdump_git.bb @@ -0,0 +1,8 @@ +require tcpdump.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tcpdump;protocol=ssh;tag=09a0a046c9c1bd6df1834f4f4804753bd0788785;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tdb/tdb-extraconf.inc b/meta-tizen/recipes-tizen/tdb/tdb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tdb/tdb-native_git.bb b/meta-tizen/recipes-tizen/tdb/tdb-native_git.bb new file mode 100644 index 0000000..0b82374 --- /dev/null +++ b/meta-tizen/recipes-tizen/tdb/tdb-native_git.bb @@ -0,0 +1,12 @@ +require tdb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tdb;protocol=ssh;tag=b256247b2afa3bfe52664f58d95974eea9d236d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tdb/tdb.inc b/meta-tizen/recipes-tizen/tdb/tdb.inc new file mode 100644 index 0000000..eaadf0f --- /dev/null +++ b/meta-tizen/recipes-tizen/tdb/tdb.inc @@ -0,0 +1,155 @@ +DESCRIPTION = "Samba Trivial Database" +HOMEPAGE = "http://tdb.samba.org/" +SECTION = "System/Libraries" +LICENSE = "GPLv3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtdb-devel +PROVIDES += "libtdb-devel" +RPROVIDES_libtdb-devel += "libtdb-devel" +RPROVIDES_libtdb-devel += "libtdb-dev" + +#PROVIDES by tdb +PROVIDES += "tdb" +RPROVIDES_tdb += "tdb" + +#PROVIDES by libtdb +PROVIDES += "libtdb" +RPROVIDES_libtdb += "libtdb" + +#PROVIDES by python-tdb +PROVIDES += "python-tdb" +RPROVIDES_python-tdb += "python-tdb" + +#PROVIDES by tdb-tools +PROVIDES += "tdb-tools" +RPROVIDES_tdb-tools += "tdb-tools" + +RDEPENDS = "" +#RDEPENDS of libtdb-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libtdb" +RDEPENDS_lib${PN}-devel += "pkgconfig" + +#RDEPENDS of libtdb (lib${PN}) +RDEPENDS_lib${PN} += "/sbin/ldconfig" +RDEPENDS_lib${PN} += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of tdb +inherit pythonnative +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n tdb-1.2.10 -q + cp ${S}/packaging/tdb.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + #--disable-python + + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libtdb-devel" +PACKAGES += "tdb-tools" +PACKAGES += "libtdb" +PACKAGES += "python-tdb" + +libtdb-devel_files = "" +libtdb-devel_files += "tdb.manifest" +libtdb-devel_files += "/usr/include/tdb.h" +libtdb-devel_files += "/usr/lib/libtdb.so" +libtdb-devel_files += "/usr/lib/pkgconfig/tdb.pc" + +tdb-tools_files = "" +tdb-tools_files += "tdb.manifest" +tdb-tools_files += "/usr/bin/tdbbackup" +tdb-tools_files += "/usr/bin/tdbdump" +tdb-tools_files += "/usr/bin/tdbrestore" +tdb-tools_files += "/usr/bin/tdbtool" + +libtdb_files = "" +libtdb_files += "tdb.manifest" +libtdb_files += "/usr/lib/libtdb.so.*" + +python-tdb_files = "" +python-tdb_files += "tdb.manifest" +python-tdb_files += "/usr/lib/python2.7/site-packages/tdb.so" + +FILES_lib${PN}-devel = "${libtdb-devel_files}" +FILES_${PN}-tools = "${tdb-tools_files}" +FILES_lib${PN} = "${libtdb_files}" +FILES_python-${PN} = "${python-tdb_files}" + +PKG_libtdb-devel= "libtdb-devel" +PKG_tdb-tools= "tdb-tools" +PKG_libtdb= "libtdb" +PKG_python-tdb= "python-tdb" + +require tdb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tdb/tdb_git.bb b/meta-tizen/recipes-tizen/tdb/tdb_git.bb new file mode 100644 index 0000000..79b69a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/tdb/tdb_git.bb @@ -0,0 +1,8 @@ +require tdb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tdb;protocol=ssh;tag=b256247b2afa3bfe52664f58d95974eea9d236d7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-native_git.bb new file mode 100644 index 0000000..856e59b --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-atmodem.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-atmodem;protocol=ssh;tag=6139aa8b651ee716a0cec0ddaf951be09367b6a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem.inc b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem.inc new file mode 100644 index 0000000..0d7f891 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Telephony AT Modem library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-atmodem +PROVIDES += "tel-plugin-atmodem" +RPROVIDES_tel-plugin-atmodem += "tel-plugin-atmodem" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-atmodem (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-atmodem +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-atmodem.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/tel-plugin-atmodem + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-atmodem" + +tel-plugin-atmodem_files = "" +tel-plugin-atmodem_files += "tel-plugin-atmodem.manifest" +tel-plugin-atmodem_files += "/usr/lib/telephony/plugins/modems/atmodem-plugin*" +tel-plugin-atmodem_files += "/tmp/mcc_mnc_oper_list.sql" +tel-plugin-atmodem_files += "/usr/share/license/tel-plugin-atmodem" + +FILES_${PN} = "${tel-plugin-atmodem_files}" + +PKG_tel-plugin-atmodem= "tel-plugin-atmodem" + +require tel-plugin-atmodem-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem_git.bb b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem_git.bb new file mode 100644 index 0000000..cb856f0 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-atmodem/tel-plugin-atmodem_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-atmodem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-atmodem;protocol=ssh;tag=6139aa8b651ee716a0cec0ddaf951be09367b6a4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-native_git.bb new file mode 100644 index 0000000..3f98ff7 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-database.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-database;protocol=ssh;tag=ef80da04702f90ae61315f4a05050dbc5fe0fa60;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database.inc b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database.inc new file mode 100644 index 0000000..cd77a80 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "Telephony DataBase storage plugin" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-database +PROVIDES += "tel-plugin-database" +RPROVIDES_tel-plugin-database += "tel-plugin-database" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-database (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-database +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "libtcore" +DEPENDS += "libslp-db-util" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-database.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-database" + +tel-plugin-database_files = "" +tel-plugin-database_files += "tel-plugin-database.manifest" +tel-plugin-database_files += "/usr/lib/telephony/plugins/db-plugin*" +tel-plugin-database_files += "/usr/share/license/tel-plugin-database" + +FILES_${PN} = "${tel-plugin-database_files}" + +PKG_tel-plugin-database= "tel-plugin-database" + +require tel-plugin-database-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database_git.bb b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database_git.bb new file mode 100644 index 0000000..c89a987 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-database/tel-plugin-database_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-database.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-database;protocol=ssh;tag=ef80da04702f90ae61315f4a05050dbc5fe0fa60;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc.inc b/meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc.inc new file mode 100644 index 0000000..4adac15 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-imc/tel-plugin-imc.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "imc plugin for telephony" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "tel-plugin-imc" + +tel-plugin-imc_files = "" +tel-plugin-imc_files += "tel-plugin-imc.manifest" +tel-plugin-imc_files += "/usr/lib/telephony/plugins/modems/*" +tel-plugin-imc_files += "/tmp/mcc_mnc_oper_list.sql" +tel-plugin-imc_files += "/usr/share/license/tel-plugin-imc" + +FILES_${PN} = "${tel-plugin-imc_files}" + +PKG_tel-plugin-imc= "tel-plugin-imc" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require tel-plugin-imc-rdepends.inc +require tel-plugin-imc-depends.inc +require tel-plugin-imc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-native_git.bb new file mode 100644 index 0000000..bed39a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-imcmodem.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-imcmodem;protocol=ssh;tag=cf32059c14c8b8cd6ec4fce474ceedbcb9cd1d62;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem.inc b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem.inc new file mode 100644 index 0000000..479aab2 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "telephony plugin library for AT communication with IMC modem" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-imcmodem +PROVIDES += "tel-plugin-imcmodem" +RPROVIDES_tel-plugin-imcmodem += "tel-plugin-imcmodem" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-imcmodem (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-imcmodem +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-imcmodem.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-imcmodem" + +tel-plugin-imcmodem_files = "" +tel-plugin-imcmodem_files += "tel-plugin-imcmodem.manifest" +tel-plugin-imcmodem_files += "/usr/lib/telephony/plugins/*" +tel-plugin-imcmodem_files += "/usr/share/license/tel-plugin-imcmodem" + +FILES_${PN} = "${tel-plugin-imcmodem_files}" + +PKG_tel-plugin-imcmodem= "tel-plugin-imcmodem" + +require tel-plugin-imcmodem-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem_git.bb b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem_git.bb new file mode 100644 index 0000000..ef46772 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-imcmodem/tel-plugin-imcmodem_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-imcmodem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-imcmodem;protocol=ssh;tag=cf32059c14c8b8cd6ec4fce474ceedbcb9cd1d62;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-native_git.bb new file mode 100644 index 0000000..63e1ee4 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-indicator.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-indicator;protocol=ssh;tag=8da53bc13f7ca491b7e8e1976d5aa4686bf594ad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator.inc b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator.inc new file mode 100644 index 0000000..e394ead --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Telephony Indicator plugin" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-indicator +PROVIDES += "tel-plugin-indicator" +RPROVIDES_tel-plugin-indicator += "tel-plugin-indicator" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-indicator (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-indicator +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "libtcore" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-indicator.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/tel-plugin-indicator + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-indicator" + +tel-plugin-indicator_files = "" +tel-plugin-indicator_files += "tel-plugin-indicator.manifest" +tel-plugin-indicator_files += "/usr/lib/telephony/plugins/indicator-plugin*" +tel-plugin-indicator_files += "/usr/share/license/tel-plugin-indicator" + +FILES_${PN} = "${tel-plugin-indicator_files}" + +PKG_tel-plugin-indicator= "tel-plugin-indicator" + +require tel-plugin-indicator-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator_git.bb b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator_git.bb new file mode 100644 index 0000000..0adf003 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-indicator/tel-plugin-indicator_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-indicator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-indicator;protocol=ssh;tag=8da53bc13f7ca491b7e8e1976d5aa4686bf594ad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-native_git.bb new file mode 100644 index 0000000..e132d40 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-packetservice.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-packetservice;protocol=ssh;tag=767294d4521eb4f4f5d62e7233e7984ef862a756;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice.inc b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice.inc new file mode 100644 index 0000000..8e28e9f --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Telephony Packet Service library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-packetservice +PROVIDES += "tel-plugin-packetservice" +RPROVIDES_tel-plugin-packetservice += "tel-plugin-packetservice" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-packetservice (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-packetservice +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(iniparser)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-packetservice.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DSYSCONFDIR=/etc + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/tel-plugin-packetservice + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-packetservice" + +tel-plugin-packetservice_files = "" +tel-plugin-packetservice_files += "tel-plugin-packetservice.manifest" +tel-plugin-packetservice_files += "/usr/share/ps-plugin/dnet_db.sql" +tel-plugin-packetservice_files += "/usr/share/ps-plugin/dnet_db_data.sql" +tel-plugin-packetservice_files += "/etc/dbus-1/system.d/*" +tel-plugin-packetservice_files += "/usr/lib/telephony/plugins/ps-plugin*" +tel-plugin-packetservice_files += "/usr/share/license/tel-plugin-packetservice" + +FILES_${PN} = "${tel-plugin-packetservice_files}" + +PKG_tel-plugin-packetservice= "tel-plugin-packetservice" + +require tel-plugin-packetservice-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice_git.bb b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice_git.bb new file mode 100644 index 0000000..7e605e9 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-packetservice/tel-plugin-packetservice_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-packetservice.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-packetservice;protocol=ssh;tag=767294d4521eb4f4f5d62e7233e7984ef862a756;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-native_git.bb new file mode 100644 index 0000000..c6fdc89 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-vconf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-vconf;protocol=ssh;tag=9e4d6a6ce3c7da4a7cec39510e682539c6383ac3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf.inc b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf.inc new file mode 100644 index 0000000..6b3e177 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf.inc @@ -0,0 +1,105 @@ +DESCRIPTION = "Telephony Vconf storage plugin" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-vconf +PROVIDES += "tel-plugin-vconf" +RPROVIDES_tel-plugin-vconf += "tel-plugin-vconf" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-vconf (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-vconf +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(gthread-2.0)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-vconf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + versionint=$[0 * 1000000 + 1 * 1000 + 32] + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DVERSION=$versionint + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-vconf" + +tel-plugin-vconf_files = "" +tel-plugin-vconf_files += "tel-plugin-vconf.manifest" +tel-plugin-vconf_files += "/usr/lib/telephony/plugins/vconf-plugin*" +tel-plugin-vconf_files += "/usr/share/license/tel-plugin-vconf" + +FILES_${PN} = "${tel-plugin-vconf_files}" + +PKG_tel-plugin-vconf= "tel-plugin-vconf" + +require tel-plugin-vconf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf_git.bb b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf_git.bb new file mode 100644 index 0000000..60663af --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vconf/tel-plugin-vconf_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-vconf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-vconf;protocol=ssh;tag=9e4d6a6ce3c7da4a7cec39510e682539c6383ac3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-extraconf.inc b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-native_git.bb b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-native_git.bb new file mode 100644 index 0000000..1b12833 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem-native_git.bb @@ -0,0 +1,12 @@ +require tel-plugin-vmodem.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-vmodem;protocol=ssh;tag=b6fc4f071edfa63f1bcb6f89115a61eed95be62f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem.inc b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem.inc new file mode 100644 index 0000000..d8029d8 --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "Telephony AT Virtual Modem library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tel-plugin-vmodem +PROVIDES += "tel-plugin-vmodem" +RPROVIDES_tel-plugin-vmodem += "tel-plugin-vmodem" + +RDEPENDS = "" +#RDEPENDS of tel-plugin-vmodem (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of tel-plugin-vmodem +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tel-plugin-vmodem.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "tel-plugin-vmodem" + +tel-plugin-vmodem_files = "" +tel-plugin-vmodem_files += "tel-plugin-vmodem.manifest" +tel-plugin-vmodem_files += "/usr/lib/telephony/plugins/vmodem-plugin*" +tel-plugin-vmodem_files += "/usr/share/license/tel-plugin-vmodem" + +FILES_${PN} = "${tel-plugin-vmodem_files}" + +PKG_tel-plugin-vmodem= "tel-plugin-vmodem" + +require tel-plugin-vmodem-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem_git.bb b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem_git.bb new file mode 100644 index 0000000..ad2e4cb --- /dev/null +++ b/meta-tizen/recipes-tizen/tel-plugin-vmodem/tel-plugin-vmodem_git.bb @@ -0,0 +1,8 @@ +require tel-plugin-vmodem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/tel-plugin-vmodem;protocol=ssh;tag=b6fc4f071edfa63f1bcb6f89115a61eed95be62f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-extraconf.inc b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-native_git.bb b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-native_git.bb new file mode 100644 index 0000000..0e571f2 --- /dev/null +++ b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon-native_git.bb @@ -0,0 +1,12 @@ +require telephony-daemon.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/telephony-daemon;protocol=ssh;tag=ec53d6262402d3bdf87c891255897997bfab6733;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon.inc b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon.inc new file mode 100644 index 0000000..1a2c1e9 --- /dev/null +++ b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Telephony daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Telephony" +LICENSE = "Apache" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by telephony-daemon +PROVIDES += "telephony-daemon" +RPROVIDES_telephony-daemon += "telephony-daemon" + +RDEPENDS = "" +#RDEPENDS of telephony-daemon (${PN}) +RDEPENDS_${PN} += "sys-assert" +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of telephony-daemon +DEPENDS += "systemd" +DEPENDS += "cmake" +DEPENDS += "libtcore" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/telephony-daemon.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DVERSION=0.1.13 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/lib/systemd/system/multi-user.target.wants + ln -s ../telephony.service ${D}/usr/lib/systemd/system/multi-user.target.wants/telephony.service + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "telephony-daemon" + +telephony-daemon_files = "" +telephony-daemon_files += "telephony-daemon.manifest" +telephony-daemon_files += "/usr/bin/telephony-daemon" +telephony-daemon_files += "/usr/lib/systemd/system/telephony.service" +telephony-daemon_files += "/usr/lib/systemd/system/multi-user.target.wants/telephony.service" +telephony-daemon_files += "/usr/share/license/telephony-daemon" + +FILES_${PN} = "${telephony-daemon_files}" + +PKG_telephony-daemon= "telephony-daemon" + +require telephony-daemon-extraconf.inc diff --git a/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon_git.bb b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon_git.bb new file mode 100644 index 0000000..ddab222 --- /dev/null +++ b/meta-tizen/recipes-tizen/telephony-daemon/telephony-daemon_git.bb @@ -0,0 +1,8 @@ +require telephony-daemon.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/telephony-daemon;protocol=ssh;tag=ec53d6262402d3bdf87c891255897997bfab6733;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/terminology/terminology-extraconf.inc b/meta-tizen/recipes-tizen/terminology/terminology-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/terminology/terminology-native_git.bb b/meta-tizen/recipes-tizen/terminology/terminology-native_git.bb new file mode 100644 index 0000000..c982635 --- /dev/null +++ b/meta-tizen/recipes-tizen/terminology/terminology-native_git.bb @@ -0,0 +1,12 @@ +require terminology.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/terminology;protocol=ssh;tag=75a36423f3a9bba3f308438231952aa51e5d922a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/terminology/terminology.inc b/meta-tizen/recipes-tizen/terminology/terminology.inc new file mode 100644 index 0000000..98af7b0 --- /dev/null +++ b/meta-tizen/recipes-tizen/terminology/terminology.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "Terminal Program" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/X11" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by terminology +PROVIDES += "terminology" +RPROVIDES_terminology += "terminology" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of terminology +DEPENDS += "pkgconfig(emotion)" +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "pkgconfig(ecore-input)" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(ecore-imf-evas)" +DEPENDS += "pkgconfig(ecore-imf)" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(efreet)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/terminology.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "terminology" + +terminology_files = "" +terminology_files += "terminology.manifest" +terminology_files += "/usr/bin/terminology" +terminology_files += "/usr/share/applications/terminology.desktop" +terminology_files += "/usr/share/icons/terminology.png" +terminology_files += "/usr/share/terminology/fonts" +terminology_files += "/usr/share/terminology" + +FILES_${PN} = "${terminology_files}" + +PKG_terminology= "terminology" + +require terminology-extraconf.inc diff --git a/meta-tizen/recipes-tizen/terminology/terminology_git.bb b/meta-tizen/recipes-tizen/terminology/terminology_git.bb new file mode 100644 index 0000000..a3d8b83 --- /dev/null +++ b/meta-tizen/recipes-tizen/terminology/terminology_git.bb @@ -0,0 +1,8 @@ +require terminology.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/terminology;protocol=ssh;tag=75a36423f3a9bba3f308438231952aa51e5d922a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/test/test-extraconf.inc b/meta-tizen/recipes-tizen/test/test-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/test/test-native_git.bb b/meta-tizen/recipes-tizen/test/test-native_git.bb new file mode 100644 index 0000000..e9d5ed0 --- /dev/null +++ b/meta-tizen/recipes-tizen/test/test-native_git.bb @@ -0,0 +1,12 @@ +require test.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/scm/test;protocol=ssh;tag=1eb3341136b5d623c36d6080367b3a3c0c69e926;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/test/test.inc b/meta-tizen/recipes-tizen/test/test.inc new file mode 100644 index 0000000..624dd68 --- /dev/null +++ b/meta-tizen/recipes-tizen/test/test.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "The "Hello World" program from GNU" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv3+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by hello +PROVIDES += "hello" +RPROVIDES_hello += "hello" + +RDEPENDS = "" +#RDEPENDS of hello (hello) +RDEPENDS_hello += "info" + + +DEPENDS = "" +#DEPENDS of hello +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} hello + rm -f ${D}//usr/share/info/dir + + +} + +PACKAGES = "" +PACKAGES += "hello" + +hello_files = "" +hello_files += "AUTHORS ChangeLog COPYING NEWS README THANKS TODO" +hello_files += "/usr/share/man/man1/hello.1.gz" +hello_files += "/usr/share/info/hello.info.gz" +hello_files += "/usr/bin/hello" + +FILES_${PN} = "${hello_files}" + +PKG_hello= "hello" + +require test-extraconf.inc diff --git a/meta-tizen/recipes-tizen/test/test_git.bb b/meta-tizen/recipes-tizen/test/test_git.bb new file mode 100644 index 0000000..a632a8d --- /dev/null +++ b/meta-tizen/recipes-tizen/test/test_git.bb @@ -0,0 +1,8 @@ +require test.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/scm/test;protocol=ssh;tag=1eb3341136b5d623c36d6080367b3a3c0c69e926;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/testkit-lite/testkit-lite-extraconf.inc b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/testkit-lite/testkit-lite-native_git.bb b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite-native_git.bb new file mode 100644 index 0000000..73223a0 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite-native_git.bb @@ -0,0 +1,12 @@ +require testkit-lite.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-lite;protocol=ssh;tag=70515a2d60bdb13fc2051006c3393b7ee94154e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/testkit-lite/testkit-lite.inc b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite.inc new file mode 100644 index 0000000..d4f44f5 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Test runner with a command-line interface" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by testkit-lite +PROVIDES += "testkit-lite" +RPROVIDES_testkit-lite += "testkit-lite" + +RDEPENDS = "" +#RDEPENDS of testkit-lite (${PN}) +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "testkit-stub" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "python-requests" + + +DEPENDS = "" +#DEPENDS of testkit-lite +inherit pythonnative +DEPENDS += "fdupes-native" +DEPENDS += "python-requests" +DEPENDS += "python-distribute" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/testkit-lite.manifest . + + # for rpmlint warning: remove shebang from python library + sed -i '/^#!/d' ./commodule/config.py + sed -i '/^#!/d' ./commodule/connector.py + sed -i '/^#!/d' ./commodule/log.py + sed -i '/^#!/d' ./commodule/killall.py + sed -i '/^#!/d' ./commodule/autoexec.py + sed -i '/^#!/d' ./commodule/httprequest.py + sed -i '/^#!/d' ./commodule/str2.py + sed -i '/^#!/d' ./commodule/impl/androidmobile.py + sed -i '/^#!/d' ./commodule/impl/tizenivi.py + sed -i '/^#!/d' ./commodule/impl/tizenpc.py + sed -i '/^#!/d' ./commodule/impl/localhost.py + sed -i '/^#!/d' ./commodule/impl/tizenmobile.py + sed -i '/^#!/d' ./testkitlite/common/process_killall.py + sed -i '/^#!/d' ./testkitlite/engines/default/runner.py + sed -i '/^#!/d' ./testkitlite/engines/default/worker.py + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=/usr --root=${D} + + _target=""; + _symlinks=0; + + fdupes -q -n -r $RPM_BUILD_ROOT | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + rm -rf $RPM_BUILD_ROOT/opt/testkit/lite/testkit-lite_user_guide_for_tct.pdf + + + +} + +PACKAGES = "" +PACKAGES += "testkit-lite" + +testkit-lite_files = "" +testkit-lite_files += "testkit-lite.manifest" +testkit-lite_files += "/opt/testkit/lite/testkit-lite_user_guide.pdf" +testkit-lite_files += "/opt/testkit/lite/testkit-lite_tutorial.pdf" +testkit-lite_files += "/opt/testkit/lite/test_definition_schema.pdf" +testkit-lite_files += "/usr/bin/testkit-lite" +testkit-lite_files += "/usr/bin/testkit-lite-dbus" +testkit-lite_files += "/etc/dbus-1/system.d/com.intel.testkit.conf" +testkit-lite_files += "/usr/lib/python2.7/site-packages/testkitlite/*" +testkit-lite_files += "/usr/lib/python2.7/site-packages/commodule/*" +testkit-lite_files += "/usr/lib/python2.7/site-packages/testkit_lite-3.0.7-py2.7.egg-info/*" +testkit-lite_files += "/opt/testkit/lite/VERSION" +testkit-lite_files += "/opt/testkit/lite/commodule/CONFIG" + +FILES_${PN} = "${testkit-lite_files}" + +PKG_testkit-lite= "testkit-lite" + +require testkit-lite-extraconf.inc diff --git a/meta-tizen/recipes-tizen/testkit-lite/testkit-lite_git.bb b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite_git.bb new file mode 100644 index 0000000..360df16 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-lite/testkit-lite_git.bb @@ -0,0 +1,8 @@ +require testkit-lite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-lite;protocol=ssh;tag=70515a2d60bdb13fc2051006c3393b7ee94154e5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/testkit-stub/testkit-stub-extraconf.inc b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/testkit-stub/testkit-stub-native_git.bb b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub-native_git.bb new file mode 100644 index 0000000..1f59335 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub-native_git.bb @@ -0,0 +1,12 @@ +require testkit-stub.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-stub;protocol=ssh;tag=3a9b03424e239e72b3ff30a5cf9753c8e0de687f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/testkit-stub/testkit-stub.inc b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub.inc new file mode 100644 index 0000000..44a2e67 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub.inc @@ -0,0 +1,81 @@ +DESCRIPTION = "Test stub of testkit-lite" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by testkit-stub +PROVIDES += "testkit-stub" +RPROVIDES_testkit-stub += "testkit-stub" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n testkit-stub-1.0 + cp ${S}/packaging/testkit-stub.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "testkit-stub" + +testkit-stub_files = "" +testkit-stub_files += "testkit-stub.manifest" +testkit-stub_files += "/usr/bin/testkit-stub" + +FILES_${PN} = "${testkit-stub_files}" + +PKG_testkit-stub= "testkit-stub" + +require testkit-stub-extraconf.inc diff --git a/meta-tizen/recipes-tizen/testkit-stub/testkit-stub_git.bb b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub_git.bb new file mode 100644 index 0000000..b9c5540 --- /dev/null +++ b/meta-tizen/recipes-tizen/testkit-stub/testkit-stub_git.bb @@ -0,0 +1,8 @@ +require testkit-stub.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-stub;protocol=ssh;tag=3a9b03424e239e72b3ff30a5cf9753c8e0de687f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tethering/tethering-extraconf.inc b/meta-tizen/recipes-tizen/tethering/tethering-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tethering/tethering-native_git.bb b/meta-tizen/recipes-tizen/tethering/tethering-native_git.bb new file mode 100644 index 0000000..0e04481 --- /dev/null +++ b/meta-tizen/recipes-tizen/tethering/tethering-native_git.bb @@ -0,0 +1,12 @@ +require tethering.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/tethering;protocol=ssh;tag=d9c4a9752d0c8be29faa847511f5aac088e13dc3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tethering/tethering.inc b/meta-tizen/recipes-tizen/tethering/tethering.inc new file mode 100644 index 0000000..a610b7f --- /dev/null +++ b/meta-tizen/recipes-tizen/tethering/tethering.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "Tethering Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-tethering-devel +PROVIDES += "capi-network-tethering-devel" +RPROVIDES_capi-network-tethering-devel += "capi-network-tethering-devel" +RPROVIDES_capi-network-tethering-devel += "capi-network-tethering-dev" + +#PROVIDES by capi-network-tethering +PROVIDES += "capi-network-tethering" +RPROVIDES_capi-network-tethering += "capi-network-tethering" + +RDEPENDS = "" +#RDEPENDS of capi-network-tethering-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-network-tethering" + + +DEPENDS = "" +#DEPENDS of capi-network-tethering +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "dbus-glib" +DEPENDS += "common" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-tethering.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DARCH=i586 + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-network-tethering-devel" +PACKAGES += "capi-network-tethering" + +capi-network-tethering-devel_files = "" +capi-network-tethering-devel_files += "capi-network-tethering.manifest" +capi-network-tethering-devel_files += "/usr/include/network/*.h" +capi-network-tethering-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-network-tethering-devel_files += "/usr/lib/*.so" + +capi-network-tethering_files = "" +capi-network-tethering_files += "capi-network-tethering.manifest" +capi-network-tethering_files += "/usr/lib/*.so.*" +capi-network-tethering_files += "/etc/config/connectivity/sysinfo-tethering.xml" + +FILES_${PN}-devel = "${capi-network-tethering-devel_files}" +FILES_${PN} = "${capi-network-tethering_files}" + +PKG_capi-network-tethering-devel= "capi-network-tethering-devel" +PKG_capi-network-tethering= "capi-network-tethering" + +require tethering-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tethering/tethering_git.bb b/meta-tizen/recipes-tizen/tethering/tethering_git.bb new file mode 100644 index 0000000..3852802 --- /dev/null +++ b/meta-tizen/recipes-tizen/tethering/tethering_git.bb @@ -0,0 +1,8 @@ +require tethering.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/tethering;protocol=ssh;tag=d9c4a9752d0c8be29faa847511f5aac088e13dc3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/texinfo/texinfo-extraconf.inc b/meta-tizen/recipes-tizen/texinfo/texinfo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/texinfo/texinfo.inc b/meta-tizen/recipes-tizen/texinfo/texinfo.inc new file mode 100644 index 0000000..cd94d65 --- /dev/null +++ b/meta-tizen/recipes-tizen/texinfo/texinfo.inc @@ -0,0 +1,223 @@ +DESCRIPTION = "Tools Needed to Create Documentation from Texinfo Sources" +HOMEPAGE = "http://www.texinfo.org" +SECTION = "Productivity/Publishing/Texinfo" +LICENSE = "GPL-2.0+ GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by info +PROVIDES += "info" +RPROVIDES_info += "info" + +#PROVIDES by texinfo +PROVIDES += "texinfo" +RPROVIDES_texinfo += "texinfo" +# the PROVIDES rules is ignore "texi2html = 1.82" +PROVIDES += "texi2html" +RPROVIDES_texinfo += "texi2html" +# the PROVIDES rules is ignore "texi2roff = 2.0" +PROVIDES += "texi2roff" +RPROVIDES_texinfo += "texi2roff" + +#PROVIDES by makeinfo +PROVIDES += "makeinfo" +RPROVIDES_makeinfo += "makeinfo" +# the PROVIDES rules is ignore "texinfo:/usr/bin/makeinfo " +PROVIDES += "texinfo:/usr/bin/makeinfo" +RPROVIDES_makeinfo += "texinfo:/usr/bin/makeinfo" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of texinfo +DEPENDS += "zlib-devel" +DEPENDS += "bzip2" +DEPENDS += "ncurses" +DEPENDS += "libzio" +DEPENDS += "automake-native" +DEPENDS += "perl-gettext" +DEPENDS += "help2man-native" + +do_patch() { + rm -rf texi2html-1.82 texi2roff-2.0 + #extracte source 1 + pushd ${S}/../ + unp ${S}/packaging/texi2html-1.82.tar.bz2 + popd + #extracte source 2 + pushd ${S}/../ + unp ${S}/packaging/texi2roff-2.0.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -b 1 -b 2 -n texinfo-4.13 + cp ${S}/packaging/texinfo.manifest . + cat ${S}/packaging/texinfo-4.12-zlib.patch | patch -s -p0 -b --suffix .zlib --fuzz=2 + #patch4 -p0 -b .zlib + cat ${S}/packaging/texinfo-4.8-echo.patch | patch -s -p0 -b --suffix .echo --fuzz=2 + #patch5 -p0 -b .echo + cat ${S}/packaging/texinfo-4.13a-bug640417.diff | patch -s -p1 -b --suffix .size_t --fuzz=2 + #patch7 -p1 -b .size_t + cat ${S}/packaging/texinfo-4.13a-bug713517.diff | patch -s -p0 -b --suffix .egrep --fuzz=2 + #patch8 -p0 -b .egrep + cat ${S}/packaging/automake-1.12.patch | patch -s -p1 --fuzz=2 + #patch9 -p1 + cat ${S}/packaging/texinfo-4.12.dif | patch -s -p0 --fuzz=2 + #patch -p0 + pushd ../texi2html-1.82 + cat ${S}/packaging/texi2html-1.78.dif | patch -s -p0 --fuzz=2 + #patch1 -p0 + popd + pushd ../texi2roff-2.0 + bzcat ${S}/packaging/texi2roff.patch.bz2 | patch -s -p0 -b --suffix .Bader --fuzz=2 + #patch3 -p0 -b .Bader + cat ${S}/packaging/texi2roff-2.0.dif | patch -s -p0 --fuzz=2 + #patch2 -p0 + cat ${S}/packaging/texi2roff-2.0-gcc4.patch | patch -s -p1 --fuzz=2 + #patch6 -p1 + popd + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + HOST=x86_64-tizen-linux + CFLAGS="$RPM_OPT_FLAGS -pipe" + LDFLAGS="" + CC=gcc + export CFLAGS LDFLAGS CC + export LD_AS_NEEDED=0 + AUTOPOINT=true autoreconf -fi + ./configure --build=$HOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --datadir=/usr/share \ + --infodir=/usr/share/info \ + --without-included-gettext \ + --enable-nls + PATH=${PWD}/makeinfo:${PWD}/util:$PATH + export PATH + make -j16; + pushd ../texi2html-1.82 + ./configure --build=$HOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --datadir=/usr/share \ + --infodir=/usr/share/info \ + --without-included-gettext \ + --enable-nls + make -j16; + popd + pushd ../texi2roff-2.0 + rm -f texi2roff + make -j16; + popd + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + export LD_AS_NEEDED=0 + make DESTDIR=${D} \ + infodir=/usr/share/info \ + htmldir=/usr/share/doc/packages/texi2html install + mkdir -p ${D}/sbin + mv ${D}/usr/bin/install-info ${D}/sbin/ + ln -sf ../../sbin/install-info ${D}/usr/bin/install-info + mkdir -p ${D}/usr/share/info + install -m 644 ${S}/packaging/info-dir ${D}/usr/share/info/dir + pushd ../texi2html-1.82 + make DESTDIR=${D} \ + infodir=/usr/share/info \ + texinfohtmldir=/usr/share/doc/packages/texi2html install + install -m 644 README ${D}/usr/share/doc/packages/texi2html/ + install -m 644 NEWS ${D}/usr/share/doc/packages/texi2html/ + install -m 644 COPYING ${D}/usr/share/doc/packages/texi2html/ + popd + pushd ../texi2roff-2.0 + doc=/usr/share/doc/packages/texi2roff + install -m 755 texi2roff ${D}/usr/bin/ + install -m 755 texi2index ${D}/usr/bin/ + install -m 644 texi2roff.1 ${D}/usr/share/man/man1/ + mkdir -p ${D}${doc} + install -m 644 Readme ${D}${doc} + install -m 644 copyright ${D}${doc} + popd + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} texinfo texinfo.lang + + +} + +PACKAGES = "" +PACKAGES += "info" +PACKAGES += "texinfo" +PACKAGES += "makeinfo" + +info_files = "" +info_files += "texinfo.manifest" +info_files += "%verify(not md5 size mtime) /usr/share/info/dir" +info_files += "/sbin/install-info" +info_files += "/usr/bin/install-info" +info_files += "/usr/bin/info" +info_files += "/usr/bin/infokey" +info_files += "/usr/share/info/info.info*" +info_files += "/usr/share/info/info-stnd.info*" +info_files += "/usr/share/man/man1/info.1*" +info_files += "/usr/share/man/man1/infokey.1*" +info_files += "/usr/share/man/man1/install-info.1*" +info_files += "/usr/share/man/man5/info.5*" + +texinfo_files = "" +texinfo_files += "texinfo.manifest" +texinfo_files += "/usr/share/doc/packages/texi2html" +texinfo_files += "/usr/share/doc/packages/texi2roff" +texinfo_files += "ABOUT-NLS AUTHORS COPYING INTRODUCTION NEWS README TODO" +texinfo_files += "doc/texinfo.tex doc/txi-*.tex" +texinfo_files += "/usr/share/doc/packages/texi2html/*" +texinfo_files += "/usr/share/doc/packages/texi2roff/*" +texinfo_files += "/usr/bin/pdftexi*" +texinfo_files += "/usr/bin/texi*" +texinfo_files += "/usr/share/info/texinfo*.gz" +texinfo_files += "/usr/share/info/texi2html*.gz" +texinfo_files += "/usr/share/man/man1/pdftexi2dvi.1.gz" +texinfo_files += "/usr/share/man/man1/texi*.1.gz" +texinfo_files += "/usr/share/man/man5/texinfo.5.gz" +texinfo_files += "/usr/share/texinfo" +texinfo_files += "/usr/share/texi2html" + +makeinfo_files = "" +makeinfo_files += "texinfo.manifest" +makeinfo_files += "/usr/bin/makeinfo" +makeinfo_files += "/usr/share/man/man1/makeinfo.1.gz" + +FILES_info = "${info_files}" +FILES_${PN} = "${texinfo_files}" +FILES_makeinfo = "${makeinfo_files}" + +PKG_info= "info" +PKG_texinfo= "texinfo" +PKG_makeinfo= "makeinfo" + +require texinfo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tickernoti/tickernoti-extraconf.inc b/meta-tizen/recipes-tizen/tickernoti/tickernoti-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tickernoti/tickernoti.inc b/meta-tizen/recipes-tizen/tickernoti/tickernoti.inc new file mode 100644 index 0000000..358fa24 --- /dev/null +++ b/meta-tizen/recipes-tizen/tickernoti/tickernoti.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "tickernoti system popup application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "APLv2" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.tickernoti-syspopup" + +org.tizen.tickernoti-syspopup_files = "" +org.tizen.tickernoti-syspopup_files += "org.tizen.tickernoti-syspopup.manifest" +org.tizen.tickernoti-syspopup_files += "/opt/share/packages/org.tizen.tickernoti-syspopup.xml" +org.tizen.tickernoti-syspopup_files += "/opt/apps/org.tizen.tickernoti-syspopup/res/edje/tickernoti.edj" +org.tizen.tickernoti-syspopup_files += "/opt/apps/org.tizen.tickernoti-syspopup/bin/tickernoti-syspopup" +org.tizen.tickernoti-syspopup_files += "/usr/share/license/org.tizen.tickernoti-syspopup" +org.tizen.tickernoti-syspopup_files += "org.tizen.tickernoti-syspopup.manifest" + +FILES_${PN} = "${org.tizen.tickernoti-syspopup_files}" + +PKG_org.tizen.tickernoti-syspopup= "org.tizen.tickernoti-syspopup" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require tickernoti-rdepends.inc +require tickernoti-depends.inc +require tickernoti-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tiff/tiff-extraconf.inc b/meta-tizen/recipes-tizen/tiff/tiff-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tiff/tiff-native_git.bb b/meta-tizen/recipes-tizen/tiff/tiff-native_git.bb new file mode 100644 index 0000000..45415db --- /dev/null +++ b/meta-tizen/recipes-tizen/tiff/tiff-native_git.bb @@ -0,0 +1,12 @@ +require tiff.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tiff;protocol=ssh;tag=2d1548a92a4768584c545d5c40fa203883612eb0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tiff/tiff.inc b/meta-tizen/recipes-tizen/tiff/tiff.inc new file mode 100644 index 0000000..7f33f09 --- /dev/null +++ b/meta-tizen/recipes-tizen/tiff/tiff.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Tools for Converting from and to the Tiff Format" +HOMEPAGE = "http://www.remotesensing.org/libtiff" +SECTION = "Productivity/Graphics/Convertors" +LICENSE = "HPND" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libtiff +PROVIDES += "libtiff" +RPROVIDES_libtiff += "libtiff" + +#PROVIDES by tiff +PROVIDES += "tiff" +RPROVIDES_tiff += "tiff" + +#PROVIDES by tiff-docs +PROVIDES += "tiff-docs " +RPROVIDES_tiff-docs += "tiff-docs " + +#PROVIDES by libtiff-devel +PROVIDES += "libtiff-devel" +RPROVIDES_libtiff-devel += "libtiff-devel" +RPROVIDES_libtiff-devel += "libtiff-dev" + +RDEPENDS = "" +#RDEPENDS of libtiff-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "glibc-dev" +RDEPENDS_lib${PN}-devel += "libtiff" +RDEPENDS_lib${PN}-devel += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of tiff +DEPENDS += "zlib-devel" +DEPENDS += "gcc-cross" +DEPENDS += "lzma-devel" +DEPENDS += "libjpeg-turbo" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tiff.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/{/usr/share/man/{man1,man3},usr/{bin,lib,include}} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + for f in `find ${D}//usr/share/man -type f -print ` ; do + if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then + linkto=`sed -e "s|^\.so ||" $f` + [ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f + fi + done + + rm -rf ${D}/usr/share/doc/tiff* + rm -f ${D}//usr/lib/*.la + find html -name "Makefile*" | xargs rm + + + + +} + +PACKAGES = "" +PACKAGES += "tiff" +PACKAGES += "tiff-docs" +PACKAGES += "libtiff" +PACKAGES += "libtiff-devel" + +tiff_files = "" +tiff_files += "tiff.manifest" +tiff_files += "/usr/bin/*" + +tiff-docs_files = "" +tiff-docs_files += "/usr/share/info" +tiff-docs_files += "/usr/share/man" + +libtiff_files = "" +libtiff_files += "tiff.manifest" +libtiff_files += "COPYRIGHT" +libtiff_files += "/usr/lib/*.so.*" + +libtiff-devel_files = "" +libtiff-devel_files += "tiff.manifest" +libtiff-devel_files += "/usr/include/*" +libtiff-devel_files += "/usr/lib/*.so" +libtiff-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${tiff_files}" +FILES_${PN}-docs = "${tiff-docs_files}" +FILES_lib${PN} = "${libtiff_files}" +FILES_lib${PN}-devel = "${libtiff-devel_files}" + +PKG_tiff= "tiff" +PKG_tiff-docs= "tiff-docs" +PKG_libtiff= "libtiff" +PKG_libtiff-devel= "libtiff-devel" + +require tiff-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tiff/tiff_git.bb b/meta-tizen/recipes-tizen/tiff/tiff_git.bb new file mode 100644 index 0000000..affc239 --- /dev/null +++ b/meta-tizen/recipes-tizen/tiff/tiff_git.bb @@ -0,0 +1,8 @@ +require tiff.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tiff;protocol=ssh;tag=2d1548a92a4768584c545d5c40fa203883612eb0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/time/time-extraconf.inc b/meta-tizen/recipes-tizen/time/time-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/time/time-native_git.bb b/meta-tizen/recipes-tizen/time/time-native_git.bb new file mode 100644 index 0000000..7752460 --- /dev/null +++ b/meta-tizen/recipes-tizen/time/time-native_git.bb @@ -0,0 +1,12 @@ +require time.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/time;protocol=ssh;tag=c96806376d21e0bf7c2150ecf68c3d530572b68b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/time/time.inc b/meta-tizen/recipes-tizen/time/time.inc new file mode 100644 index 0000000..f670ab5 --- /dev/null +++ b/meta-tizen/recipes-tizen/time/time.inc @@ -0,0 +1,111 @@ +DESCRIPTION = "A GNU utility for monitoring a program's use of system resources" +HOMEPAGE = "http://www.gnu.org/software/time/" +SECTION = "Applications/System" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by time-docs +PROVIDES += "time-docs " +RPROVIDES_time-docs += "time-docs " + +#PROVIDES by time +PROVIDES += "time" +RPROVIDES_time += "time" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/time.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "time-docs" +PACKAGES += "time" + +time-docs_files = "" +time-docs_files += "/usr/share/info" +time-docs_files += "/usr/share/man" + +time_files = "" +time_files += "time.manifest" +time_files += "/usr/bin/time" + +FILES_${PN}-docs = "${time-docs_files}" +FILES_${PN} = "${time_files}" + +PKG_time-docs= "time-docs" +PKG_time= "time" + +require time-extraconf.inc diff --git a/meta-tizen/recipes-tizen/time/time_git.bb b/meta-tizen/recipes-tizen/time/time_git.bb new file mode 100644 index 0000000..b677d79 --- /dev/null +++ b/meta-tizen/recipes-tizen/time/time_git.bb @@ -0,0 +1,8 @@ +require time.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/time;protocol=ssh;tag=c96806376d21e0bf7c2150ecf68c3d530572b68b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-extraconf.inc b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-native_git.bb b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-native_git.bb new file mode 100644 index 0000000..fd91680 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default-native_git.bb @@ -0,0 +1,12 @@ +require tizen-branding-default.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tizen-branding-default;protocol=ssh;tag=a18b947db2fd63f301f9fa9c0db6102154a5ffe9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default.inc b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default.inc new file mode 100644 index 0000000..beae092 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default.inc @@ -0,0 +1,79 @@ +DESCRIPTION = "Default Branding files" +HOMEPAGE = "http://tizen.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tizen-branding-default +PROVIDES += "tizen-branding-default" +RPROVIDES_tizen-branding-default += "tizen-branding-default" + +RDEPENDS = "" +#RDEPENDS of tizen-branding-default (${PN}) +RDEPENDS_${PN} += "plymouth-plugin-script" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/tizen-branding-default.manifest . + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + /bin/install -d ${D}/usr/share/branding/default/syslinux + + /bin/install -d ${D}/usr/share/plymouth/themes + cp syslinux/* ${D}/usr/share/branding/default/syslinux + cp -a plymouth/tizen ${D}/usr/share/plymouth/themes + cp syslinux/syslinux-vesa-splash.jpg ${D}/usr/share/plymouth/themes/tizen/tizen.png + + +} + +PACKAGES = "" +PACKAGES += "tizen-branding-default" + +tizen-branding-default_files = "" +tizen-branding-default_files += "tizen-branding-default.manifest" +tizen-branding-default_files += "/usr/share/branding/default/syslinux" +tizen-branding-default_files += "/usr/share/plymouth/themes/tizen" + +FILES_${PN} = "${tizen-branding-default_files}" + +PKG_tizen-branding-default= "tizen-branding-default" + +require tizen-branding-default-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default_git.bb b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default_git.bb new file mode 100644 index 0000000..025c317 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-branding-default/tizen-branding-default_git.bb @@ -0,0 +1,8 @@ +require tizen-branding-default.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tizen-branding-default;protocol=ssh;tag=a18b947db2fd63f301f9fa9c0db6102154a5ffe9;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk-extraconf.inc b/meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc b/meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc new file mode 100644 index 0000000..298816c --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc @@ -0,0 +1,61 @@ +DESCRIPTION = "Tizen Web APIs implemented using Crosswalk" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "tizen-extensions-crosswalk-bluetooth-demo" +PACKAGES += "tizen-extensions-crosswalk" +PACKAGES += "tizen-extensions-crosswalk-examples" +PACKAGES += "tizen-extensions-crosswalk-system-info-demo" + +tizen-extensions-crosswalk-bluetooth-demo_files = "" +tizen-extensions-crosswalk-bluetooth-demo_files += "/usr/bin/tizen-extensions-crosswalk-bluetooth-demo" +tizen-extensions-crosswalk-bluetooth-demo_files += "/opt/share/packages/tizen-extensions-crosswalk-bluetooth-demo.xml" +tizen-extensions-crosswalk-bluetooth-demo_files += "/opt/share/icons/default/small/tizen-extensions-crosswalk-bluetooth-demo.png" +tizen-extensions-crosswalk-bluetooth-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/tizen/*.html" +tizen-extensions-crosswalk-bluetooth-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/tizen/css/*.css" +tizen-extensions-crosswalk-bluetooth-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/tizen/js/*.js" +tizen-extensions-crosswalk-bluetooth-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/tizen/images/*.png" + +tizen-extensions-crosswalk_files = "" +tizen-extensions-crosswalk_files += "/usr/bin/tizen-extensions-crosswalk" +tizen-extensions-crosswalk_files += "/usr/lib/tizen-extensions-crosswalk/libtizen*.so" + +tizen-extensions-crosswalk-examples_files = "" +tizen-extensions-crosswalk-examples_files += "/usr/bin/tizen-extensions-crosswalk-examples" +tizen-extensions-crosswalk-examples_files += "/opt/share/packages/tizen-extensions-crosswalk-examples.xml" +tizen-extensions-crosswalk-examples_files += "/opt/share/icons/default/small/tizen-extensions-crosswalk-examples.png" +tizen-extensions-crosswalk-examples_files += "/usr/share/tizen-extensions-crosswalk/examples/*.html" +tizen-extensions-crosswalk-examples_files += "/usr/share/tizen-extensions-crosswalk/examples/js/*.js" + +tizen-extensions-crosswalk-system-info-demo_files = "" +tizen-extensions-crosswalk-system-info-demo_files += "/usr/bin/tizen-extensions-crosswalk-system-info-demo" +tizen-extensions-crosswalk-system-info-demo_files += "/opt/share/packages/tizen-extensions-crosswalk-system-info-demo.xml" +tizen-extensions-crosswalk-system-info-demo_files += "/opt/share/icons/default/small/tizen-extensions-crosswalk-system-info-demo.png" +tizen-extensions-crosswalk-system-info-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/system_info/*.html" +tizen-extensions-crosswalk-system-info-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/system_info/css/*.css" +tizen-extensions-crosswalk-system-info-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/system_info/js/*.js" +tizen-extensions-crosswalk-system-info-demo_files += "/usr/share/tizen-extensions-crosswalk/demos/system_info/images/*.png" + +FILES_${PN}-bluetooth-demo = "${tizen-extensions-crosswalk-bluetooth-demo_files}" +FILES_${PN} = "${tizen-extensions-crosswalk_files}" +FILES_${PN}-examples = "${tizen-extensions-crosswalk-examples_files}" +FILES_${PN}-system-info-demo = "${tizen-extensions-crosswalk-system-info-demo_files}" + +PKG_tizen-extensions-crosswalk-bluetooth-demo= "tizen-extensions-crosswalk-bluetooth-demo" +PKG_tizen-extensions-crosswalk= "tizen-extensions-crosswalk" +PKG_tizen-extensions-crosswalk-examples= "tizen-extensions-crosswalk-examples" +PKG_tizen-extensions-crosswalk-system-info-demo= "tizen-extensions-crosswalk-system-info-demo" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require tizen-extensions-crosswalk-rdepends.inc +require tizen-extensions-crosswalk-depends.inc +require tizen-extensions-crosswalk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-native_git.bb b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-native_git.bb new file mode 100644 index 0000000..6df0417 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config-native_git.bb @@ -0,0 +1,12 @@ +require tizen-platform-config.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;protocol=ssh;tag=46a22ba28ac8d0e479b01792be759b3850878128;nobranch=1" + 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 new file mode 100644 index 0000000..bc285cf --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc @@ -0,0 +1,153 @@ +DESCRIPTION = "Tizen Platform Configuration" +HOMEPAGE = "http://www.tizen.org" +SECTION = "System/Configuration" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tizen-platform-config +PROVIDES += "tizen-platform-config" +RPROVIDES_tizen-platform-config += "tizen-platform-config" + +#PROVIDES by libtzplatform-config-devel +PROVIDES += "libtzplatform-config-devel" +RPROVIDES_libtzplatform-config-devel += "libtzplatform-config-devel" +RPROVIDES_libtzplatform-config-devel += "libtzplatform-config-dev" + +#PROVIDES by tizen-platform-config-tools +PROVIDES += "tizen-platform-config-tools" +RPROVIDES_tizen-platform-config-tools += "tizen-platform-config-tools" + +#PROVIDES by libtzplatform-config +PROVIDES += "libtzplatform-config" +RPROVIDES_libtzplatform-config += "libtzplatform-config" + +RDEPENDS = "" +#RDEPENDS of tizen-platform-config-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libtzplatform-config" + +#RDEPENDS of libtzplatform-config-devel (libtzplatform-config-devel) +RDEPENDS_libtzplatform-config-devel += "libtzplatform-config" + +#RDEPENDS of libtzplatform-config (libtzplatform-config) +RDEPENDS_libtzplatform-config += "tizen-platform-config" + + +DEPENDS = "" +#DEPENDS of tizen-platform-config +DEPENDS += "tizen-platform-wrapper" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tizen-platform-config.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libtzplatform-config-devel" +PACKAGES += "tizen-platform-config-tools" +PACKAGES += "tizen-platform-config" +PACKAGES += "libtzplatform-config" + +libtzplatform-config-devel_files = "" +libtzplatform-config-devel_files += "tizen-platform-config.manifest" +libtzplatform-config-devel_files += "LGPL-2.0 LGPL_2.0" +libtzplatform-config-devel_files += "/usr/lib/*.so" +libtzplatform-config-devel_files += "/usr/lib/pkgconfig/*.pc" +libtzplatform-config-devel_files += "/usr/include/*.h" +libtzplatform-config-devel_files += "/etc/rpm/macros.tizen-platform" + +tizen-platform-config-tools_files = "" +tizen-platform-config-tools_files += "tizen-platform-config.manifest" +tizen-platform-config-tools_files += "/usr/bin/*" + +tizen-platform-config_files = "" +tizen-platform-config_files += "tizen-platform-config.manifest" +tizen-platform-config_files += "LGPL-2.0 MIT" +tizen-platform-config_files += "/etc/tizen-platform.conf" + +libtzplatform-config_files = "" +libtzplatform-config_files += "tizen-platform-config.manifest" +libtzplatform-config_files += "/usr/lib/*.so.*" + +FILES_libtzplatform-config-devel = "${libtzplatform-config-devel_files}" +FILES_${PN}-tools = "${tizen-platform-config-tools_files}" +FILES_${PN} = "${tizen-platform-config_files}" +FILES_libtzplatform-config = "${libtzplatform-config_files}" + +PKG_libtzplatform-config-devel= "libtzplatform-config-devel" +PKG_tizen-platform-config-tools= "tizen-platform-config-tools" +PKG_tizen-platform-config= "tizen-platform-config" +PKG_libtzplatform-config= "libtzplatform-config" + +require tizen-platform-config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb new file mode 100644 index 0000000..e4930d8 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb @@ -0,0 +1,8 @@ +require tizen-platform-config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;protocol=ssh;tag=46a22ba28ac8d0e479b01792be759b3850878128;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-native_git.bb b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-native_git.bb new file mode 100644 index 0000000..5cb6f5c --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-native_git.bb @@ -0,0 +1,12 @@ +require tizen-platform-wrapper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-wrapper;protocol=ssh;tag=ddda0a79a93d4fae22b39467b0d095267f5ea66b;nobranch=1" + 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 new file mode 100644 index 0000000..bda2e70 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc @@ -0,0 +1,102 @@ +DESCRIPTION = "A toolkit to generate the libtizen-platform-config library" +HOMEPAGE = "http://www.tizen.org" +SECTION = "Development/Tools" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tizen-platform-wrapper +PROVIDES += "tizen-platform-wrapper" +RPROVIDES_tizen-platform-wrapper += "tizen-platform-wrapper" + +RDEPENDS = "" +#RDEPENDS of tizen-platform-wrapper (${PN}) +RDEPENDS_${PN} += "gperf" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tizen-platform-wrapper.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "tizen-platform-wrapper" + +tizen-platform-wrapper_files = "" +tizen-platform-wrapper_files += "tizen-platform-wrapper.manifest" +tizen-platform-wrapper_files += "/usr/bin/*" +tizen-platform-wrapper_files += "/usr/share/tizen-platform-wrapper/*" + +FILES_${PN} = "${tizen-platform-wrapper_files}" + +PKG_tizen-platform-wrapper= "tizen-platform-wrapper" + +require tizen-platform-wrapper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb new file mode 100644 index 0000000..e069a03 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb @@ -0,0 +1,8 @@ +require tizen-platform-wrapper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-wrapper;protocol=ssh;tag=ddda0a79a93d4fae22b39467b0d095267f5ea66b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-release/tizen-release-extraconf.inc b/meta-tizen/recipes-tizen/tizen-release/tizen-release-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tizen-release/tizen-release-native_git.bb b/meta-tizen/recipes-tizen/tizen-release/tizen-release-native_git.bb new file mode 100644 index 0000000..60777d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-release/tizen-release-native_git.bb @@ -0,0 +1,12 @@ +require tizen-release.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tizen-release;protocol=ssh;tag=92f879a70cc15569ae67d50190853e213f90066e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tizen-release/tizen-release.inc b/meta-tizen/recipes-tizen/tizen-release/tizen-release.inc new file mode 100644 index 0000000..a5f20a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-release/tizen-release.inc @@ -0,0 +1,170 @@ +DESCRIPTION = "Tizen release files" +HOMEPAGE = "http://www.tizen.com" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tizen-release +PROVIDES += "tizen-release" +RPROVIDES_tizen-release += "tizen-release" +# the PROVIDES rules is ignore "system-release = 3.0.0" +PROVIDES += "system-release" +RPROVIDES_tizen-release += "system-release" +# the PROVIDES rules is ignore "tizen-release = 3.0.0" +PROVIDES += "tizen-release" +RPROVIDES_tizen-release += "tizen-release" +# the PROVIDES rules is ignore "product() " +PROVIDES += "product()" +RPROVIDES_tizen-release += "product()" +# the PROVIDES rules is ignore "product(Tizen) = 3.0.0" +PROVIDES += "product(Tizen)" +RPROVIDES_tizen-release += "product(Tizen)" +# the PROVIDES rules is ignore "lsb = 4.1" +PROVIDES += "lsb" +RPROVIDES_tizen-release += "lsb" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + + install -d ${D}/etc + cat > ${D}/etc/tizen-release < ${D}/etc/os-release <${D}/etc/products.d/tizen.prod << EOF + + + Tizen.org + Tizen + 3.0.0 + 2 + x86_64 + Tizen + + tizen-3.0.0-x86_64 + + + + + 000000000 + Tizen + Tizen + + cs + da + de + en + en_GB + en_US + es + fi + fr + hu + it + ja + nb + nl + pl + pt + pt_BR + ru + sv + zh + zh_CN + zh_TW + + + http://www.tizen.org + http://www.tizen.org/ + https://download.tizen.org/snapshots/tizen/common/latest/repos/tizen/x86_64/packages/ + + + Tizen + Milestone 1 + + + en_US + + Tizen + + + + + EOF + + # this is a base product, create symlink + ln -s tizen.prod ${D}/etc/products.d/baseproduct + + + +} + +PACKAGES = "" +PACKAGES += "tizen-release" + +tizen-release_files = "" +#Remove rpm attribut "%attr(0644,root,root)" +tizen-release_files += "/etc/tizen-release" +#Remove rpm attribut "%attr(0644,root,root)" +tizen-release_files += "/etc/os-release" +tizen-release_files += "/etc/system-release" +tizen-release_files += "/etc/products.d" + +FILES_${PN} = "${tizen-release_files}" + +PKG_tizen-release= "tizen-release" + +require tizen-release-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tizen-release/tizen-release_git.bb b/meta-tizen/recipes-tizen/tizen-release/tizen-release_git.bb new file mode 100644 index 0000000..4fc89d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/tizen-release/tizen-release_git.bb @@ -0,0 +1,8 @@ +require tizen-release.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tizen-release;protocol=ssh;tag=92f879a70cc15569ae67d50190853e213f90066e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tk/tk-extraconf.inc b/meta-tizen/recipes-tizen/tk/tk-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tk/tk.inc b/meta-tizen/recipes-tizen/tk/tk.inc new file mode 100644 index 0000000..2fcf07b --- /dev/null +++ b/meta-tizen/recipes-tizen/tk/tk.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "Graphical User Interface Toolkit for Tcl" +HOMEPAGE = "http://www.tcl.tk" +SECTION = "Development/Languages" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "tk-devel" +PACKAGES += "tk" + +tk-devel_files = "" +tk-devel_files += "/usr/share/man/man3/*" +tk-devel_files += "/usr/include/*" +tk-devel_files += "/usr/lib64/tcl/tk8.6/tkAppInit.c" +tk-devel_files += "/usr/lib/tkConfig.sh" +tk-devel_files += "/usr/lib/pkgconfig/*" + +tk_files = "" +tk_files += "/usr/share/man/man1/*" +tk_files += "/usr/share/man/mann/*" +tk_files += "/usr/bin/*" +tk_files += "/usr/lib/*.so" +tk_files += "/usr/lib64/tcl/tk8.6" + +FILES_${PN}-devel = "${tk-devel_files}" +FILES_${PN} = "${tk_files}" + +PKG_tk-devel= "tk-devel" +PKG_tk= "tk" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require tk-rdepends.inc +require tk-depends.inc +require tk-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tlm/tlm-extraconf.inc b/meta-tizen/recipes-tizen/tlm/tlm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tlm/tlm-native_git.bb b/meta-tizen/recipes-tizen/tlm/tlm-native_git.bb new file mode 100644 index 0000000..153f09f --- /dev/null +++ b/meta-tizen/recipes-tizen/tlm/tlm-native_git.bb @@ -0,0 +1,12 @@ +require tlm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/tlm;protocol=ssh;tag=88ab62b0d7845a57536306c88df2c037b04d7bc3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tlm/tlm.inc b/meta-tizen/recipes-tizen/tlm/tlm.inc new file mode 100644 index 0000000..8eaaff9 --- /dev/null +++ b/meta-tizen/recipes-tizen/tlm/tlm.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "Login manager for Tizen" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tlm-devel +PROVIDES += "tlm-devel" +RPROVIDES_tlm-devel += "tlm-devel" +RPROVIDES_tlm-devel += "tlm-dev" + +#PROVIDES by tlm +PROVIDES += "tlm" +RPROVIDES_tlm += "tlm" + +#PROVIDES by tlm-doc +PROVIDES += "tlm-doc" +RPROVIDES_tlm-doc += "tlm-doc" + +RDEPENDS = "" +#RDEPENDS of tlm-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "tlm" + +#RDEPENDS of tlm (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of tlm-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "tlm" + + +DEPENDS = "" +#DEPENDS of tlm +DEPENDS += "pkgconfig(libgum)" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "pkgconfig(gmodule-2.0)" +DEPENDS += "pam" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(gio-unix-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n tlm-0.0.2 + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-gum --enable-examples + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + cp -a ${S}/packaging/tlm.manifest ${D}/usr/share/tlm.manifest + + + +} + +PACKAGES = "" +PACKAGES += "tlm-devel" +PACKAGES += "tlm" +PACKAGES += "tlm-doc" + +tlm-devel_files = "" +tlm-devel_files += "/usr/include/tlm/*.h" +tlm-devel_files += "/usr/lib/libtlm*.so" +tlm-devel_files += "/usr/lib/pkgconfig/tlm.pc" +tlm-devel_files += "/usr/bin/tlm-ui" + +tlm_files = "" +tlm_files += "/usr/share/tlm.manifest" +tlm_files += "AUTHORS COPYING INSTALL NEWS README" +tlm_files += "/usr/bin/tlm" +tlm_files += "/usr/lib/libtlm*.so.*" +tlm_files += "/usr/lib/tlm/plugins/*.so*" +tlm_files += "/etc/tlm.conf" + +tlm-doc_files = "" +tlm-doc_files += "/usr/share/gtk-doc/html/tlm/*" + +FILES_${PN}-devel = "${tlm-devel_files}" +FILES_${PN} = "${tlm_files}" +FILES_${PN}-doc = "${tlm-doc_files}" + +PKG_tlm-devel= "tlm-devel" +PKG_tlm= "tlm" +PKG_tlm-doc= "tlm-doc" + +require tlm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tlm/tlm_git.bb b/meta-tizen/recipes-tizen/tlm/tlm_git.bb new file mode 100644 index 0000000..ea25d25 --- /dev/null +++ b/meta-tizen/recipes-tizen/tlm/tlm_git.bb @@ -0,0 +1,8 @@ +require tlm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/tlm;protocol=ssh;tag=88ab62b0d7845a57536306c88df2c037b04d7bc3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tolua++/tolua++-extraconf.inc b/meta-tizen/recipes-tizen/tolua++/tolua++-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tolua++/tolua++-native_git.bb b/meta-tizen/recipes-tizen/tolua++/tolua++-native_git.bb new file mode 100644 index 0000000..9a55d07 --- /dev/null +++ b/meta-tizen/recipes-tizen/tolua++/tolua++-native_git.bb @@ -0,0 +1,12 @@ +require tolua++.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tolua++;protocol=ssh;tag=4116ac1492c7779d04e7f121f929783b93ad6725;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tolua++/tolua++.inc b/meta-tizen/recipes-tizen/tolua++/tolua++.inc new file mode 100644 index 0000000..1e381b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/tolua++/tolua++.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "C/C++ with Lua Integration Tool" +HOMEPAGE = "http://www.codenix.com/~tolua/" +SECTION = "Development/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tolua++ +PROVIDES += "tolua++" +RPROVIDES_tolua++ += "tolua++" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of tolua++ +DEPENDS += "scons" +DEPENDS += "gcc-cross" +DEPENDS += "lua-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tolua++.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cat <<'EOF' > config_linux.py + import re,os + + CCFLAGS = re.split(r"\s+", os.environ['CCFLAGS']) + LIBS = re.split(r"\s+", os.environ['LIBS']) + prefix = "/usr" + EOF + + CCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables `pkg-config lua --cflags` -fPIC" \ + LIBS="`pkg-config lua --libs-only-l`" \ + scons \ + prefix="/usr" \ + libdir="/usr/lib" \ + all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + CCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables `pkg-config lua --cflags` -fPIC" \ + LIBS="`pkg-config lua --libs-only-l`" \ + scons \ + prefix="${D}/usr" \ + libdir="${D}/usr/lib" \ + install + + +} + +PACKAGES = "" +PACKAGES += "tolua++" + +tolua++_files = "" +tolua++_files += "tolua++.manifest" +tolua++_files += "/usr/bin/tolua++" +tolua++_files += "/usr/include/tolua++.h" +tolua++_files += "/usr/lib/libtolua++.a" + +FILES_${PN} = "${tolua++_files}" + +PKG_tolua++= "tolua++" + +require tolua++-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tolua++/tolua++_git.bb b/meta-tizen/recipes-tizen/tolua++/tolua++_git.bb new file mode 100644 index 0000000..f360a76 --- /dev/null +++ b/meta-tizen/recipes-tizen/tolua++/tolua++_git.bb @@ -0,0 +1,8 @@ +require tolua++.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tolua++;protocol=ssh;tag=4116ac1492c7779d04e7f121f929783b93ad6725;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tone-player/tone-player-extraconf.inc b/meta-tizen/recipes-tizen/tone-player/tone-player-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tone-player/tone-player-native_git.bb b/meta-tizen/recipes-tizen/tone-player/tone-player-native_git.bb new file mode 100644 index 0000000..8fde10c --- /dev/null +++ b/meta-tizen/recipes-tizen/tone-player/tone-player-native_git.bb @@ -0,0 +1,12 @@ +require tone-player.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/tone-player;protocol=ssh;tag=615d04b7fefe830fbfcc5f98cd06fbcd7cf9968c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tone-player/tone-player.inc b/meta-tizen/recipes-tizen/tone-player/tone-player.inc new file mode 100644 index 0000000..24012d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/tone-player/tone-player.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A tone player library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-tone-player-devel +PROVIDES += "capi-media-tone-player-devel" +RPROVIDES_capi-media-tone-player-devel += "capi-media-tone-player-devel" +RPROVIDES_capi-media-tone-player-devel += "capi-media-tone-player-dev" + +#PROVIDES by capi-media-tone-player +PROVIDES += "capi-media-tone-player" +RPROVIDES_capi-media-tone-player += "capi-media-tone-player" + +RDEPENDS = "" +#RDEPENDS of capi-media-tone-player-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-tone-player" + + +DEPENDS = "" +#DEPENDS of capi-media-tone-player +DEPENDS += "pkgconfig(capi-media-sound-manager)" +DEPENDS += "libmm-sound" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-tone-player.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-media-tone-player-devel" +PACKAGES += "capi-media-tone-player" + +capi-media-tone-player-devel_files = "" +capi-media-tone-player-devel_files += "capi-media-tone-player.manifest" +capi-media-tone-player-devel_files += "/usr/include/media/*.h" +capi-media-tone-player-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-tone-player-devel_files += "/usr/lib/libcapi-media-tone-player.so" + +capi-media-tone-player_files = "" +capi-media-tone-player_files += "capi-media-tone-player.manifest" +capi-media-tone-player_files += "capi-media-tone-player.manifest" +capi-media-tone-player_files += "/usr/lib/libcapi-media-tone-player.so.*" + +FILES_${PN}-devel = "${capi-media-tone-player-devel_files}" +FILES_${PN} = "${capi-media-tone-player_files}" + +PKG_capi-media-tone-player-devel= "capi-media-tone-player-devel" +PKG_capi-media-tone-player= "capi-media-tone-player" + +require tone-player-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tone-player/tone-player_git.bb b/meta-tizen/recipes-tizen/tone-player/tone-player_git.bb new file mode 100644 index 0000000..2f98278 --- /dev/null +++ b/meta-tizen/recipes-tizen/tone-player/tone-player_git.bb @@ -0,0 +1,8 @@ +require tone-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/tone-player;protocol=ssh;tag=615d04b7fefe830fbfcc5f98cd06fbcd7cf9968c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tree/tree-extraconf.inc b/meta-tizen/recipes-tizen/tree/tree-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tree/tree-native_git.bb b/meta-tizen/recipes-tizen/tree/tree-native_git.bb new file mode 100644 index 0000000..ac336ad --- /dev/null +++ b/meta-tizen/recipes-tizen/tree/tree-native_git.bb @@ -0,0 +1,12 @@ +require tree.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tree;protocol=ssh;tag=ec33c836d510f3a3a2341ff4aae98bede2a35131;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tree/tree.inc b/meta-tizen/recipes-tizen/tree/tree.inc new file mode 100644 index 0000000..e12ccd7 --- /dev/null +++ b/meta-tizen/recipes-tizen/tree/tree.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "File listing as a tree" +HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +SECTION = "System/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tree +PROVIDES += "tree" +RPROVIDES_tree += "tree" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tree.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make OPTFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" CC="gcc" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + mkdir -p ${D}/usr/share/man/man1 + install -m 644 doc/tree.1 ${D}/usr/share/man/man1 + install -m 755 tree ${D}/usr/bin + + +} + +PACKAGES = "" +PACKAGES += "tree" + +tree_files = "" +tree_files += "tree.manifest" +tree_files += "/usr/bin/tree" +tree_files += "/usr/share/man/man1/tree.1.gz" + +FILES_${PN} = "${tree_files}" + +PKG_tree= "tree" + +require tree-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tree/tree_git.bb b/meta-tizen/recipes-tizen/tree/tree_git.bb new file mode 100644 index 0000000..131ca58 --- /dev/null +++ b/meta-tizen/recipes-tizen/tree/tree_git.bb @@ -0,0 +1,8 @@ +require tree.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tree;protocol=ssh;tag=ec33c836d510f3a3a2341ff4aae98bede2a35131;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tts/tts-extraconf.inc b/meta-tizen/recipes-tizen/tts/tts-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tts/tts-native_git.bb b/meta-tizen/recipes-tizen/tts/tts-native_git.bb new file mode 100644 index 0000000..2ea0cf2 --- /dev/null +++ b/meta-tizen/recipes-tizen/tts/tts-native_git.bb @@ -0,0 +1,12 @@ +require tts.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/tts;protocol=ssh;tag=22a52fb17af7d15b13c866a0cc034363a6d393cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tts/tts.inc b/meta-tizen/recipes-tizen/tts/tts.inc new file mode 100644 index 0000000..9063482 --- /dev/null +++ b/meta-tizen/recipes-tizen/tts/tts.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "Text To Speech client library and daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "libs" +LICENSE = "Samsung" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tts +PROVIDES += "tts" +RPROVIDES_tts += "tts" + +#PROVIDES by tts-devel +PROVIDES += "tts-devel" +RPROVIDES_tts-devel += "tts-devel" +RPROVIDES_tts-devel += "tts-dev" + +RDEPENDS = "" +#RDEPENDS of tts (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of tts-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "tts" + + +DEPENDS = "" +#DEPENDS of tts +DEPENDS += "pkgconfig(vconf-internal-keys)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "libmm-common" +DEPENDS += "dlog" +DEPENDS += "libmm-session" +DEPENDS += "pkgconfig(capi-system-runtime-info)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(mm-player)" +DEPENDS += "pkgconfig(ecore-file)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n tts-0.1.60 + cp ${S}/packaging/tts.manifest ${S}/packaging/tts-devel.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "tts" +PACKAGES += "tts-devel" + +tts_files = "" +tts_files += "tts.manifest" +tts_files += "/etc/config/sysinfo-tts.xml" +tts_files += "/usr/lib/lib*.so" +tts_files += "/usr/lib/voice/tts/1.0/ttsd.conf" +tts_files += "/usr/bin/tts-daemon*" +tts_files += "/usr/share/license/*" + +tts-devel_files = "" +tts-devel_files += "tts-devel.manifest" +tts-devel_files += "/usr/lib/pkgconfig/tts.pc" +tts-devel_files += "/usr/lib/pkgconfig/tts-setting.pc" +tts-devel_files += "/usr/include/tts.h" +tts-devel_files += "/usr/include/tts_setting.h" +tts-devel_files += "/usr/include/ttsp.h" + +FILES_${PN} = "${tts_files}" +FILES_${PN}-devel = "${tts-devel_files}" + +PKG_tts= "tts" +PKG_tts-devel= "tts-devel" + +require tts-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tts/tts_git.bb b/meta-tizen/recipes-tizen/tts/tts_git.bb new file mode 100644 index 0000000..bbd6a4c7e --- /dev/null +++ b/meta-tizen/recipes-tizen/tts/tts_git.bb @@ -0,0 +1,8 @@ +require tts.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/tts;protocol=ssh;tag=22a52fb17af7d15b13c866a0cc034363a6d393cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tzdata/tzdata-extraconf.inc b/meta-tizen/recipes-tizen/tzdata/tzdata-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/tzdata/tzdata-native_git.bb b/meta-tizen/recipes-tizen/tzdata/tzdata-native_git.bb new file mode 100644 index 0000000..4b567a4 --- /dev/null +++ b/meta-tizen/recipes-tizen/tzdata/tzdata-native_git.bb @@ -0,0 +1,12 @@ +require tzdata.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tzdata;protocol=ssh;tag=1dbf7b3964adde0a77bfe6503869d33655425e8e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/tzdata/tzdata.inc b/meta-tizen/recipes-tizen/tzdata/tzdata.inc new file mode 100644 index 0000000..1d52e2b --- /dev/null +++ b/meta-tizen/recipes-tizen/tzdata/tzdata.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "Timezone Descriptions" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "Base/Configuration" +LICENSE = "BSD-3-Clause and SUSE-Public-Domain" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by tzdata +PROVIDES += "tzdata" +RPROVIDES_tzdata += "tzdata" +# the PROVIDES rules is ignore "timezone " +PROVIDES += "timezone" +RPROVIDES_tzdata += "timezone" + +RDEPENDS = "" +#RDEPENDS of tzdata (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "filesystem" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -c + cp ${S}/packaging/tzdata.manifest . + # COMMON-PREP-BEGIN + # COMMON-PREP-END + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + unset ${!LC_*} + LANG=POSIX + LC_ALL=POSIX + AREA=Etc + ZONE=UTC + export AREA LANG LC_ALL ZONE + make -j16 TZDIR=/usr/share/zoneinfo CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"'" AWK=awk + make -j16 TZDIR=zoneinfo AWK=awk zones + # Generate posixrules + ./zic -y ./yearistype -d zoneinfo -p Etc/UTC + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/zoneinfo + cp -a zoneinfo ${D}/usr/share/zoneinfo/posix + cp -al ${D}/usr/share/zoneinfo/posix/. ${D}/usr/share/zoneinfo + cp -a zoneinfo-leaps ${D}/usr/share/zoneinfo/right + mkdir -p ${D}/etc + rm -f ${D}/etc/localtime + rm -f ${D}/usr/share/zoneinfo/posixrules + cp -fp ${D}/usr/share/zoneinfo/Etc/UTC ${D}/etc/localtime + ln -sf /etc/localtime ${D}/usr/share/zoneinfo/posixrules + install -m 644 iso3166.tab ${D}/usr/share/zoneinfo/iso3166.tab + install -m 644 zone.tab ${D}/usr/share/zoneinfo/zone.tab + install -D -m 755 tzselect ${D}/usr/bin/tzselect + install -D -m 755 zdump ${D}/usr/sbin/zdump + install -D -m 755 zic ${D}/usr/sbin/zic + + +} + +PACKAGES = "" +PACKAGES += "tzdata" + +tzdata_files = "" +tzdata_files += "tzdata.manifest" +tzdata_files += "/usr/share/zoneinfo" +tzdata_files += "/usr/bin/tzselect" +tzdata_files += "/usr/sbin/zdump" +tzdata_files += "/usr/sbin/zic" + +FILES_${PN} = "${tzdata_files}" + +PKG_tzdata= "tzdata" + +require tzdata-extraconf.inc diff --git a/meta-tizen/recipes-tizen/tzdata/tzdata_git.bb b/meta-tizen/recipes-tizen/tzdata/tzdata_git.bb new file mode 100644 index 0000000..aee50a6 --- /dev/null +++ b/meta-tizen/recipes-tizen/tzdata/tzdata_git.bb @@ -0,0 +1,8 @@ +require tzdata.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tzdata;protocol=ssh;tag=1dbf7b3964adde0a77bfe6503869d33655425e8e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udhcp/udhcp-extraconf.inc b/meta-tizen/recipes-tizen/udhcp/udhcp-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/udhcp/udhcp-native_git.bb b/meta-tizen/recipes-tizen/udhcp/udhcp-native_git.bb new file mode 100644 index 0000000..8b6bb22 --- /dev/null +++ b/meta-tizen/recipes-tizen/udhcp/udhcp-native_git.bb @@ -0,0 +1,12 @@ +require udhcp.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/udhcp;protocol=ssh;tag=390a4f7e04940db3ce50b0887fe6ce22e864f4c1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udhcp/udhcp.inc b/meta-tizen/recipes-tizen/udhcp/udhcp.inc new file mode 100644 index 0000000..0919881 --- /dev/null +++ b/meta-tizen/recipes-tizen/udhcp/udhcp.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Micro DHCP client / server" +HOMEPAGE = "http://udhcp.busybox.net" +SECTION = "System/Emulators/PC" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by udhcp +PROVIDES += "udhcp" +RPROVIDES_udhcp += "udhcp" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cat ${S}/packaging/oracle-rpmbuild-makefile-changes.patch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/udhcp_usermac.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + cat ${S}/packaging/udhcp-outputpy.patch | patch -s -p1 --fuzz=2 + #patch2 -p1 + cat ${S}/packaging/udhcp-update-scripts.patch | patch -s -p1 --fuzz=2 + #patch3 -p1 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/udhcp.manifest . + oe_runmake + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- SBINDIR=${D}//usr/sbin + mv ${D}/sbin/udhcpc ${D}//usr/bin + mv ${D}//usr/sbin/udhcpd ${D}//usr/bin + + +} + +PACKAGES = "" +PACKAGES += "udhcp" + +udhcp_files = "" +udhcp_files += "udhcp.manifest" +udhcp_files += "udhcp.manifest" +udhcp_files += "/usr/bin/*" +udhcp_files += "/usr/share/man/man?/*" +udhcp_files += "/usr/share/udhcpc" +udhcp_files += "/usr/share/udhcpc/*" + +FILES_${PN} = "${udhcp_files}" + +PKG_udhcp= "udhcp" + +require udhcp-extraconf.inc diff --git a/meta-tizen/recipes-tizen/udhcp/udhcp_git.bb b/meta-tizen/recipes-tizen/udhcp/udhcp_git.bb new file mode 100644 index 0000000..35d8de0 --- /dev/null +++ b/meta-tizen/recipes-tizen/udhcp/udhcp_git.bb @@ -0,0 +1,8 @@ +require udhcp.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/udhcp;protocol=ssh;tag=390a4f7e04940db3ce50b0887fe6ce22e864f4c1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-extraconf.inc b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-native_git.bb b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-native_git.bb new file mode 100644 index 0000000..829fe0b --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent-native_git.bb @@ -0,0 +1,12 @@ +require udisks-automount-agent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/udisks-automount-agent;protocol=ssh;tag=949c48c0d17849664c338bdd33759f33649c97dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent.inc b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent.inc new file mode 100644 index 0000000..1ed2073 --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "Udisk automount agent" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by udisks-automount-agent +PROVIDES += "udisks-automount-agent" +RPROVIDES_udisks-automount-agent += "udisks-automount-agent" + +#PROVIDES by udisks-automount-agent-devel +PROVIDES += "udisks-automount-agent-devel" +RPROVIDES_udisks-automount-agent-devel += "udisks-automount-agent-devel" +RPROVIDES_udisks-automount-agent-devel += "udisks-automount-agent-dev" + +RDEPENDS = "" +#RDEPENDS of udisks-automount-agent (${PN}) +RDEPENDS_${PN} += "glib2" +RDEPENDS_${PN} += "udisks" + +#RDEPENDS of udisks-automount-agent-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "udisks-automount-agent" + + +DEPENDS = "" +#DEPENDS of udisks-automount-agent +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "cmake" +DEPENDS += "notification" +DEPENDS += "bundle" +DEPENDS += "udisks-devel" +DEPENDS += "pkgconfig(udisks2)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp -a ${S}/packaging/udisks-automount-agent.manifest . + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEMD_SERVICE_DIR=/lib/systemd/user -DENABLE_NOTIF=0 + + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/lib/systemd/user/core-efl.target.wants/ + ln -s ../udisks-automount-agent.service ${D}/lib/systemd/user/core-efl.target.wants/udisks-automount-agent.service + + + +} + +PACKAGES = "" +PACKAGES += "udisks-automount-agent" +PACKAGES += "udisks-automount-agent-devel" + +udisks-automount-agent_files = "" +udisks-automount-agent_files += "udisks-automount-agent.manifest" +udisks-automount-agent_files += "/usr/bin/udisks-automount-agent" +udisks-automount-agent_files += "/lib/systemd/user/udisks-automount-agent.service" +udisks-automount-agent_files += "/lib/systemd/user/core-efl.target.wants/udisks-automount-agent.service" +udisks-automount-agent_files += "/etc/polkit-1/localauthority/10-vendor.d/10-udisks.pkla" + +udisks-automount-agent-devel_files = "" +udisks-automount-agent-devel_files += "/usr/bin/sample-udisks-agent-notif-listener" +udisks-automount-agent-devel_files += "/usr/bin/sample-udisks-agent-mount-listener" + +FILES_${PN} = "${udisks-automount-agent_files}" +FILES_${PN}-devel = "${udisks-automount-agent-devel_files}" + +PKG_udisks-automount-agent= "udisks-automount-agent" +PKG_udisks-automount-agent-devel= "udisks-automount-agent-devel" + +require udisks-automount-agent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent_git.bb b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent_git.bb new file mode 100644 index 0000000..d5e7a9c --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks-automount-agent/udisks-automount-agent_git.bb @@ -0,0 +1,8 @@ +require udisks-automount-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/udisks-automount-agent;protocol=ssh;tag=949c48c0d17849664c338bdd33759f33649c97dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udisks2/udisks2-extraconf.inc b/meta-tizen/recipes-tizen/udisks2/udisks2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/udisks2/udisks2-native_git.bb b/meta-tizen/recipes-tizen/udisks2/udisks2-native_git.bb new file mode 100644 index 0000000..b49632f --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks2/udisks2-native_git.bb @@ -0,0 +1,12 @@ +require udisks2.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/udisks2;protocol=ssh;tag=1f10304d9f6413249ee26e251d84220bdca0e566;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/udisks2/udisks2.inc b/meta-tizen/recipes-tizen/udisks2/udisks2.inc new file mode 100644 index 0000000..6eb54ab --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks2/udisks2.inc @@ -0,0 +1,195 @@ +DESCRIPTION = "Device management service, ver 2" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by udisks-devel +PROVIDES += "udisks-devel" +RPROVIDES_udisks-devel += "udisks-devel" +RPROVIDES_udisks-devel += "udisks-dev" + +#PROVIDES by libudisks2-0 +PROVIDES += "libudisks2-0" +RPROVIDES_libudisks2-0 += "libudisks2-0" + +#PROVIDES by udisks +PROVIDES += "udisks" +RPROVIDES_udisks += "udisks" + +#PROVIDES by typelib-UDisks-2_0 +PROVIDES += "typelib-UDisks-2_0" +RPROVIDES_typelib-UDisks-2_0 += "typelib-UDisks-2_0" + +#PROVIDES by udisks-locale +PROVIDES += "udisks-locale" +RPROVIDES_udisks-locale += "udisks-locale" + +RDEPENDS = "" +#RDEPENDS of udisks-devel (udisks-devel) +RDEPENDS_udisks-devel += "libudisks2-0" + +#RDEPENDS of udisks (udisks) +RDEPENDS_udisks += "libxslt" +RDEPENDS_udisks += "glib2" +RDEPENDS_udisks += "expat" +RDEPENDS_udisks += "polkit" + +#RDEPENDS of typelib-UDisks-2_0 (typelib-UDisks-2_0) +RDEPENDS_typelib-UDisks-2_0 += "udisks" + +#RDEPENDS of udisks-locale (udisks-locale) +RDEPENDS_udisks-locale += "udisks" + + +DEPENDS = "" +#DEPENDS of udisks +DEPENDS += "gobject-introspection" +DEPENDS += "systemd" +DEPENDS += "expat" +DEPENDS += "gnome-common" +inherit pythonnative +DEPENDS += "libatasmart" +DEPENDS += "pkgconfig(polkit-agent-1)" +DEPENDS += "device-mapper" +DEPENDS += "acl" +DEPENDS += "intltool-native" +DEPENDS += "pkgconfig(polkit-gobject-1)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libxml-parser-perl" +DEPENDS += "pkgconfig(libxslt)" +DEPENDS += "gtk-doc" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-man \ + --disable-nls + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../udisks2.service ${D}//lib/systemd/system/multi-user.target.wants/udisks2.service + cp -a ${S}/packaging/udisks.manifest ${D}/usr/share/udisks.manifest + + + +} + +PACKAGES = "" +PACKAGES += "udisks-devel" +PACKAGES += "udisks-locale" +PACKAGES += "udisks" +PACKAGES += "libudisks2-0" +PACKAGES += "typelib-UDisks-2_0" + +udisks-devel_files = "" +udisks-devel_files += "/usr/include/udisks2/" +udisks-devel_files += "/usr/lib/libudisks2.so" +udisks-devel_files += "/usr/lib/pkgconfig/udisks2.pc" +udisks-devel_files += "/usr/share/gir-1.0/UDisks-2.0.gir" + +udisks-locale_files = "" + +udisks_files = "" +udisks_files += "/usr/share/udisks.manifest" +udisks_files += "/lib/systemd/system/udisks2.service" +udisks_files += "/lib/systemd/system/multi-user.target.wants/udisks2.service" +udisks_files += "/usr/lib/udev/rules.d/80-udisks2.rules" +udisks_files += "/usr/bin/udisksctl" +udisks_files += "/etc/dbus-1/system.d/org.freedesktop.UDisks2.conf" +udisks_files += "/usr/lib/udisks2" +udisks_files += "/usr/lib/udisks2/udisksd" +udisks_files += "/usr/sbin/umount.udisks2" +udisks_files += "/usr/share/bash-completion/completions/udisksctl" +udisks_files += "/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service" +udisks_files += "/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy" + +libudisks2-0_files = "" +libudisks2-0_files += "/usr/lib/libudisks2.so.*" + +typelib-UDisks-2_0_files = "" +typelib-UDisks-2_0_files += "/usr/lib/girepository-1.0/UDisks-2.0.typelib" + +FILES_${PN}-devel = "${udisks-devel_files}" +FILES_${PN}-locale = "${udisks-locale_files}" +FILES_${PN} = "${udisks_files}" +FILES_lib${PN}2-0 = "${libudisks2-0_files}" +FILES_typelib-UDisks-2_0 = "${typelib-UDisks-2_0_files}" + +PKG_udisks-devel= "udisks-devel" +PKG_udisks-locale= "udisks-locale" +PKG_udisks= "udisks" +PKG_libudisks2-0= "libudisks2-0" +PKG_typelib-UDisks-2_0= "typelib-UDisks-2_0" + +require udisks2-extraconf.inc diff --git a/meta-tizen/recipes-tizen/udisks2/udisks2_git.bb b/meta-tizen/recipes-tizen/udisks2/udisks2_git.bb new file mode 100644 index 0000000..69a755a --- /dev/null +++ b/meta-tizen/recipes-tizen/udisks2/udisks2_git.bb @@ -0,0 +1,8 @@ +require udisks2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/udisks2;protocol=ssh;tag=1f10304d9f6413249ee26e251d84220bdca0e566;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl-extraconf.inc b/meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl.inc b/meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl.inc new file mode 100644 index 0000000..3ee7fd4 --- /dev/null +++ b/meta-tizen/recipes-tizen/ug-setting-gallery-efl/ug-setting-gallery-efl.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "UG setting gallery ELF" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "ug-setting-gallery-efl" + +ug-setting-gallery-efl_files = "" +ug-setting-gallery-efl_files += "ug-setting-gallery-efl.manifest" +ug-setting-gallery-efl_files += "/usr/ug/lib/*" +ug-setting-gallery-efl_files += "/usr/ug/res/*" +ug-setting-gallery-efl_files += "/usr/share/license/ug-setting-gallery-efl" + +FILES_${PN} = "${ug-setting-gallery-efl_files}" + +PKG_ug-setting-gallery-efl= "ug-setting-gallery-efl" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require ug-setting-gallery-efl-rdepends.inc +require ug-setting-gallery-efl-depends.inc +require ug-setting-gallery-efl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl-extraconf.inc b/meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl.inc b/meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl.inc new file mode 100644 index 0000000..cebbd0c --- /dev/null +++ b/meta-tizen/recipes-tizen/ug-setting-homescreen-efl/ug-setting-homescreen-efl.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "UI Gadget : setting-homescreen-efl" +HOMEPAGE = "http://nohomepage.org" +SECTION = "misc" +LICENSE = "Flora License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "ug-setting-homescreen-efl" + +ug-setting-homescreen-efl_files = "" +ug-setting-homescreen-efl_files += "ug-setting-homescreen-efl.manifest" +ug-setting-homescreen-efl_files += "/etc/smack/accesses2.d/ug.setting-homescreen-efl.include" +ug-setting-homescreen-efl_files += "/usr/ug/lib/*" +ug-setting-homescreen-efl_files += "/usr/ug/res/*" + +FILES_${PN} = "${ug-setting-homescreen-efl_files}" + +PKG_ug-setting-homescreen-efl= "ug-setting-homescreen-efl" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require ug-setting-homescreen-efl-rdepends.inc +require ug-setting-homescreen-efl-depends.inc +require ug-setting-homescreen-efl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl-extraconf.inc b/meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl.inc b/meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl.inc new file mode 100644 index 0000000..185fef0 --- /dev/null +++ b/meta-tizen/recipes-tizen/ug-setting-location-efl/ug-setting-location-efl.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "UG setting location EFL" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Flora Software License" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "ug-setting-location-efl" + +ug-setting-location-efl_files = "" +ug-setting-location-efl_files += "ug-setting-location-efl.manifest" +ug-setting-location-efl_files += "/usr/ug/lib/libug-setting-location-efl.so*" +ug-setting-location-efl_files += "/usr/share/packages/ug-setting-location-efl.xml" +ug-setting-location-efl_files += "/usr/ug/res/edje/ug-setting-location-efl/setting-location.edj" +ug-setting-location-efl_files += "/usr/ug/res/locale/*" + +FILES_${PN} = "${ug-setting-location-efl_files}" + +PKG_ug-setting-location-efl= "ug-setting-location-efl" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require ug-setting-location-efl-rdepends.inc +require ug-setting-location-efl-depends.inc +require ug-setting-location-efl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-extraconf.inc b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-native_git.bb b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-native_git.bb new file mode 100644 index 0000000..8e598fd --- /dev/null +++ b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1-native_git.bb @@ -0,0 +1,12 @@ +require ui-gadget-1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/ui-gadget-1;protocol=ssh;tag=273a36f1c8a1485b584301fd033376430c79c73a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1.inc b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1.inc new file mode 100644 index 0000000..698e78c --- /dev/null +++ b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "UI Gadget Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by ui-gadget-1-devel +PROVIDES += "ui-gadget-1-devel" +RPROVIDES_ui-gadget-1-devel += "ui-gadget-1-devel" +RPROVIDES_ui-gadget-1-devel += "ui-gadget-1-dev" + +#PROVIDES by ui-gadget-1 +PROVIDES += "ui-gadget-1" +RPROVIDES_ui-gadget-1 += "ui-gadget-1" + +RDEPENDS = "" +#RDEPENDS of ui-gadget-1-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "ui-gadget-1" + +#RDEPENDS of ui-gadget-1 (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + + +DEPENDS = "" +#DEPENDS of ui-gadget-1 +DEPENDS += "edje" +DEPENDS += "pkgconfig(capi-appfw-app-manager)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libtzplatform-config)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "app-svc" +DEPENDS += "dlog" +DEPENDS += "app-core" +DEPENDS += "bundle" +DEPENDS += "pkgconfig(elementary)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(capi-appfw-application)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ui-gadget-1.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . \ + -DTZ_SYS_ETC=%TZ_SYS_ETC \ + -Dwith_wayland=TRUE + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + install LICENSE ${D}/usr/share/license/ui-gadget-1 + + +} + +PACKAGES = "" +PACKAGES += "ui-gadget-1-devel" +PACKAGES += "ui-gadget-1" + +ui-gadget-1-devel_files = "" +ui-gadget-1-devel_files += "ui-gadget-1.manifest" +ui-gadget-1-devel_files += "/usr/include/ug-1/*.h" +ui-gadget-1-devel_files += "/usr/lib/libui-gadget-1.so" +ui-gadget-1-devel_files += "/usr/lib/pkgconfig/ui-gadget-1.pc" + +ui-gadget-1_files = "" +ui-gadget-1_files += "ui-gadget-1.manifest" +ui-gadget-1_files += "/usr/lib/*.so.*" +ui-gadget-1_files += "/usr/lib/libui-gadget-1-efl-engine.so" +ui-gadget-1_files += "/usr/share/edje/ug_effect.edj" +ui-gadget-1_files += "/usr/bin/ug-client" +ui-gadget-1_files += "/usr/share/edje/ug-client/*.edj" +ui-gadget-1_files += "/usr/share/license/ui-gadget-1" + +FILES_${PN}-devel = "${ui-gadget-1-devel_files}" +FILES_${PN} = "${ui-gadget-1_files}" + +PKG_ui-gadget-1-devel= "ui-gadget-1-devel" +PKG_ui-gadget-1= "ui-gadget-1" + +require ui-gadget-1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1_git.bb b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1_git.bb new file mode 100644 index 0000000..2503510 --- /dev/null +++ b/meta-tizen/recipes-tizen/ui-gadget-1/ui-gadget-1_git.bb @@ -0,0 +1,8 @@ +require ui-gadget-1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/ui-gadget-1;protocol=ssh;tag=273a36f1c8a1485b584301fd033376430c79c73a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uim/uim-extraconf.inc b/meta-tizen/recipes-tizen/uim/uim-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/uim/uim-native_git.bb b/meta-tizen/recipes-tizen/uim/uim-native_git.bb new file mode 100644 index 0000000..387dfaf --- /dev/null +++ b/meta-tizen/recipes-tizen/uim/uim-native_git.bb @@ -0,0 +1,12 @@ +require uim.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uim;protocol=ssh;tag=6ab87ec8436c79afbb8aca7a7c8ab9eab73858fe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uim/uim.inc b/meta-tizen/recipes-tizen/uim/uim.inc new file mode 100644 index 0000000..c829d03 --- /dev/null +++ b/meta-tizen/recipes-tizen/uim/uim.inc @@ -0,0 +1,72 @@ +DESCRIPTION = "User Mode Init manager for bluetooth device in pr3" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Communications/Bluetooth" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by uim +PROVIDES += "uim" +RPROVIDES_uim += "uim" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of uim +DEPENDS += "bluez" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/uim.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + gcc -o uim uim.c + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/bin/ + cp -f uim ${D}/bin/ + + +} + +PACKAGES = "" +PACKAGES += "uim" + +uim_files = "" +uim_files += "uim.manifest" + +FILES_${PN} = "${uim_files}" + +PKG_uim= "uim" + +require uim-extraconf.inc diff --git a/meta-tizen/recipes-tizen/uim/uim_git.bb b/meta-tizen/recipes-tizen/uim/uim_git.bb new file mode 100644 index 0000000..95b2bb7 --- /dev/null +++ b/meta-tizen/recipes-tizen/uim/uim_git.bb @@ -0,0 +1,8 @@ +require uim.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uim;protocol=ssh;tag=6ab87ec8436c79afbb8aca7a7c8ab9eab73858fe;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/unifdef/unifdef-extraconf.inc b/meta-tizen/recipes-tizen/unifdef/unifdef-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/unifdef/unifdef.inc b/meta-tizen/recipes-tizen/unifdef/unifdef.inc new file mode 100644 index 0000000..48123ab --- /dev/null +++ b/meta-tizen/recipes-tizen/unifdef/unifdef.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "Removes ifdefs from C files" +HOMEPAGE = "http://dotat.at/prog/unifdef/" +SECTION = "Development/Tools" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by unifdef +PROVIDES += "unifdef" +RPROVIDES_unifdef += "unifdef" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/unifdef.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 CC=gcc CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} prefix=/usr + + +} + +PACKAGES = "" +PACKAGES += "unifdef" + +unifdef_files = "" +unifdef_files += "unifdef.manifest" +unifdef_files += "/usr/bin/unifdef" +unifdef_files += "/usr/bin/unifdefall" +unifdef_files += "/usr/share/man/man1/unifdef.1*" +unifdef_files += "/usr/share/man/man1/unifdefall.1*" + +FILES_${PN} = "${unifdef_files}" + +PKG_unifdef= "unifdef" + +require unifdef-extraconf.inc diff --git a/meta-tizen/recipes-tizen/unifdef/unifdef_git.bb b/meta-tizen/recipes-tizen/unifdef/unifdef_git.bb new file mode 100644 index 0000000..6ba6b4f --- /dev/null +++ b/meta-tizen/recipes-tizen/unifdef/unifdef_git.bb @@ -0,0 +1,8 @@ +require unifdef.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/unifdef;protocol=ssh;tag=050339199b96abafacd26d52e95a4f41b381f029;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/unzip/unzip-extraconf.inc b/meta-tizen/recipes-tizen/unzip/unzip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/unzip/unzip-native_git.bb b/meta-tizen/recipes-tizen/unzip/unzip-native_git.bb new file mode 100644 index 0000000..c943a6d --- /dev/null +++ b/meta-tizen/recipes-tizen/unzip/unzip-native_git.bb @@ -0,0 +1,12 @@ +require unzip.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/unzip;protocol=ssh;tag=81609e008b44df6c27c4c056ded8fba4f4a130cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/unzip/unzip.inc b/meta-tizen/recipes-tizen/unzip/unzip.inc new file mode 100644 index 0000000..6a5d9fb --- /dev/null +++ b/meta-tizen/recipes-tizen/unzip/unzip.inc @@ -0,0 +1,76 @@ +DESCRIPTION = "A utility for unpacking zip files" +HOMEPAGE = "http://www.info-zip.org/pub/infozip/UnZip.html" +SECTION = "Applications/Archiving" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by unzip +PROVIDES += "unzip" +RPROVIDES_unzip += "unzip" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n unzip60 + cp ${S}/packaging/unzip.manifest . + + + + ln -s unix/Makefile Makefile + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CFLAGS="-D_LARGEFILE64_SOURCE" linux_noasm LF2="" -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + make prefix=${D}/usr MANDIR=${D}//usr/share/man/man1 INSTALL="cp -p" install LF2="" + + +} + +PACKAGES = "" +PACKAGES += "unzip" + +unzip_files = "" +unzip_files += "unzip.manifest" +unzip_files += "LICENSE" +unzip_files += "/usr/bin/*" +unzip_files += "/usr/share/man/*/*" + +FILES_${PN} = "${unzip_files}" + +PKG_unzip= "unzip" + +require unzip-extraconf.inc diff --git a/meta-tizen/recipes-tizen/unzip/unzip_git.bb b/meta-tizen/recipes-tizen/unzip/unzip_git.bb new file mode 100644 index 0000000..1d8e87f --- /dev/null +++ b/meta-tizen/recipes-tizen/unzip/unzip_git.bb @@ -0,0 +1,8 @@ +require unzip.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/unzip;protocol=ssh;tag=81609e008b44df6c27c4c056ded8fba4f4a130cf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/update-alternatives/update-alternatives-extraconf.inc b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/update-alternatives/update-alternatives-native_git.bb b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives-native_git.bb new file mode 100644 index 0000000..69ced25 --- /dev/null +++ b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives-native_git.bb @@ -0,0 +1,12 @@ +require update-alternatives.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-alternatives;protocol=ssh;tag=444857fd1227f76e0b3f87a7870694054a426220;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/update-alternatives/update-alternatives.inc b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives.inc new file mode 100644 index 0000000..0d0f7d7 --- /dev/null +++ b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives.inc @@ -0,0 +1,108 @@ +DESCRIPTION = "Maintain symbolic links determining default commands" +HOMEPAGE = "http://ftp.de.debian.org/debian/pool/main/d/dpkg/" +SECTION = "System/Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by update-alternatives +PROVIDES += "update-alternatives" +RPROVIDES_update-alternatives += "update-alternatives" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of update-alternatives +DEPENDS += "ncurses" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n dpkg-1.16.3 + cp ${S}/packaging/update-alternatives.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-admindir=/var/lib/rpm/ \ + --disable-compiler-warnings # disable for sles10 -Wvla + + make -C lib/compat -j16 + make -C utils/ -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d -m 0755 ${D}//usr/sbin/ + install -d -m 0755 ${D}//usr/share/man/man8/ + install -d -m 0755 ${D}//etc/alternatives + install -d -m 0755 ${D}//var/lib/rpm//alternatives + install -d -m 0755 ${D}//var/log + + install -m 0755 utils/update-alternatives ${D}//usr/sbin + install -m 0644 man/update-alternatives.8 ${D}//usr/share/man/man8/ + + touch ${D}//var/log/update-alternatives.log + + +} + +PACKAGES = "" +PACKAGES += "update-alternatives" + +update-alternatives_files = "" +update-alternatives_files += "update-alternatives.manifest" +update-alternatives_files += "/etc/alternatives" +update-alternatives_files += "/var/lib/rpm/alternatives" +update-alternatives_files += "/usr/sbin/update-alternatives" +update-alternatives_files += "/usr/share/man/man8/update-alternatives.8*" + +FILES_${PN} = "${update-alternatives_files}" + +PKG_update-alternatives= "update-alternatives" + +require update-alternatives-extraconf.inc diff --git a/meta-tizen/recipes-tizen/update-alternatives/update-alternatives_git.bb b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives_git.bb new file mode 100644 index 0000000..ca8cd18 --- /dev/null +++ b/meta-tizen/recipes-tizen/update-alternatives/update-alternatives_git.bb @@ -0,0 +1,8 @@ +require update-alternatives.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-alternatives;protocol=ssh;tag=444857fd1227f76e0b3f87a7870694054a426220;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-native_git.bb b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-native_git.bb new file mode 100644 index 0000000..58f29d3 --- /dev/null +++ b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files-native_git.bb @@ -0,0 +1,12 @@ +require update-desktop-files.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-desktop-files;protocol=ssh;tag=0712f9c0f8b5baffbe82ae63fc0fb8efc4078844;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files.inc b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files.inc new file mode 100644 index 0000000..f0a8926 --- /dev/null +++ b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files.inc @@ -0,0 +1,89 @@ +DESCRIPTION = "A Build Tool to Update Desktop Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by update-desktop-files +PROVIDES += "update-desktop-files" +RPROVIDES_update-desktop-files += "update-desktop-files" + +#PROVIDES by brp-trim-desktopfiles +PROVIDES += "brp-trim-desktopfiles" +RPROVIDES_brp-trim-desktopfiles += "brp-trim-desktopfiles" + +RDEPENDS = "" +#RDEPENDS of update-desktop-files (${PN}) +RDEPENDS_${PN} += "desktop-file-utils" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n . -D -T 0 + cp ${S}/packaging/update-desktop-files.manifest . + mkdir update-desktop-files + cd update-desktop-files + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/usr/share/spec2yocto/macro + install -m0755 ${S}/packaging/tizen_update_desktop_file.sh ${S}/packaging/map-desktop-category.sh $RPM_BUILD_ROOT/usr/share/spec2yocto/macro + install -m0644 -D ${S}/packaging/macro $RPM_BUILD_ROOT/etc/rpm/macros.update-desktop-files + install -m0755 -D ${S}/packaging/brp-trim-desktop.sh $RPM_BUILD_ROOT/usr/lib/rpm/brp-tizen.d/brp-70-trim-desktopfiles + + +} + +PACKAGES = "" +PACKAGES += "brp-trim-desktopfiles" +PACKAGES += "update-desktop-files" + +brp-trim-desktopfiles_files = "" +brp-trim-desktopfiles_files += "update-desktop-files.manifest" +brp-trim-desktopfiles_files += "/usr/share/spec2yocto/macro/brp-tizen.d" + +update-desktop-files_files = "" +update-desktop-files_files += "update-desktop-files.manifest" +update-desktop-files_files += "/usr/share/spec2yocto/macro/*" +update-desktop-files_files += "/etc/rpm/*" + +FILES_brp-trim-desktopfiles = "${brp-trim-desktopfiles_files}" +FILES_${PN} = "${update-desktop-files_files}" + +PKG_brp-trim-desktopfiles= "brp-trim-desktopfiles" +PKG_update-desktop-files= "update-desktop-files" + +require update-desktop-files-extraconf.inc diff --git a/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files_git.bb b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files_git.bb new file mode 100644 index 0000000..c0959bb --- /dev/null +++ b/meta-tizen/recipes-tizen/update-desktop-files/update-desktop-files_git.bb @@ -0,0 +1,8 @@ +require update-desktop-files.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-desktop-files;protocol=ssh;tag=0712f9c0f8b5baffbe82ae63fc0fb8efc4078844;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/url-download/url-download-extraconf.inc b/meta-tizen/recipes-tizen/url-download/url-download-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/url-download/url-download-native_git.bb b/meta-tizen/recipes-tizen/url-download/url-download-native_git.bb new file mode 100644 index 0000000..f9329e1 --- /dev/null +++ b/meta-tizen/recipes-tizen/url-download/url-download-native_git.bb @@ -0,0 +1,12 @@ +require url-download.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/url-download;protocol=ssh;tag=aad34a2c7481017a876cdd790e216ef1bc6409e4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/url-download/url-download.inc b/meta-tizen/recipes-tizen/url-download/url-download.inc new file mode 100644 index 0000000..510ea71 --- /dev/null +++ b/meta-tizen/recipes-tizen/url-download/url-download.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "CAPI for content download with web url" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-web-url-download +PROVIDES += "capi-web-url-download" +RPROVIDES_capi-web-url-download += "capi-web-url-download" + +#PROVIDES by capi-web-url-download-devel +PROVIDES += "capi-web-url-download-devel" +RPROVIDES_capi-web-url-download-devel += "capi-web-url-download-devel" +RPROVIDES_capi-web-url-download-devel += "capi-web-url-download-dev" + +RDEPENDS = "" +#RDEPENDS of capi-web-url-download-devel (capi-web-${PN}-devel) +RDEPENDS_capi-web-${PN}-devel += "capi-web-url-download" + + +DEPENDS = "" +#DEPENDS of capi-web-url-download +DEPENDS += "download-provider" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-web-url-download.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + + +} + +PACKAGES = "" +PACKAGES += "capi-web-url-download" +PACKAGES += "capi-web-url-download-devel" + +capi-web-url-download_files = "" +capi-web-url-download_files += "capi-web-url-download.manifest" +capi-web-url-download_files += "/usr/lib/libcapi-web-url-download.so.*" +capi-web-url-download_files += "/usr/share/license/capi-web-url-download" + +capi-web-url-download-devel_files = "" +capi-web-url-download-devel_files += "capi-web-url-download.manifest" +capi-web-url-download-devel_files += "capi-web-url-download.manifest" +capi-web-url-download-devel_files += "/usr/lib/libcapi-web-url-download.so" +capi-web-url-download-devel_files += "/usr/lib/pkgconfig/capi-web-url-download.pc" +capi-web-url-download-devel_files += "/usr/include/web/download.h" + +FILES_${PN} = "${capi-web-url-download_files}" +FILES_${PN}-devel = "${capi-web-url-download-devel_files}" + +PKG_capi-web-url-download= "capi-web-url-download" +PKG_capi-web-url-download-devel= "capi-web-url-download-devel" + +require url-download-extraconf.inc diff --git a/meta-tizen/recipes-tizen/url-download/url-download_git.bb b/meta-tizen/recipes-tizen/url-download/url-download_git.bb new file mode 100644 index 0000000..e033e72 --- /dev/null +++ b/meta-tizen/recipes-tizen/url-download/url-download_git.bb @@ -0,0 +1,8 @@ +require url-download.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/url-download;protocol=ssh;tag=aad34a2c7481017a876cdd790e216ef1bc6409e4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usb-accessory/usb-accessory-extraconf.inc b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/usb-accessory/usb-accessory-native_git.bb b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory-native_git.bb new file mode 100644 index 0000000..c69efc1 --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory-native_git.bb @@ -0,0 +1,12 @@ +require usb-accessory.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/usb-accessory;protocol=ssh;tag=781124b331d2c76b107fbfd5fb34d2cce882da74;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usb-accessory/usb-accessory.inc b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory.inc new file mode 100644 index 0000000..af2e106 --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "A USB accessory library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-system-usb-accessory-devel +PROVIDES += "capi-system-usb-accessory-devel" +RPROVIDES_capi-system-usb-accessory-devel += "capi-system-usb-accessory-devel" +RPROVIDES_capi-system-usb-accessory-devel += "capi-system-usb-accessory-dev" + +#PROVIDES by capi-system-usb-accessory +PROVIDES += "capi-system-usb-accessory" +RPROVIDES_capi-system-usb-accessory += "capi-system-usb-accessory" + +RDEPENDS = "" +#RDEPENDS of capi-system-usb-accessory-devel (capi-system-${PN}-devel) +RDEPENDS_capi-system-${PN}-devel += "capi-system-usb-accessory" + + +DEPENDS = "" +#DEPENDS of capi-system-usb-accessory +DEPENDS += "cmake" +DEPENDS += "pkgconfig(aul)" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/capi-system-usb-accessory.manifest . + MAJORVER=`echo 0.0.9 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.0.9 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-system-usb-accessory-devel" +PACKAGES += "capi-system-usb-accessory" + +capi-system-usb-accessory-devel_files = "" +capi-system-usb-accessory-devel_files += "capi-system-usb-accessory.manifest" +capi-system-usb-accessory-devel_files += "/usr/include/system/usb_accessory.h" +capi-system-usb-accessory-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-system-usb-accessory-devel_files += "/usr/lib/libcapi-system-usb-accessory.so" + +capi-system-usb-accessory_files = "" +capi-system-usb-accessory_files += "capi-system-usb-accessory.manifest" +capi-system-usb-accessory_files += "capi-system-usb-accessory.manifest" +capi-system-usb-accessory_files += "/usr/lib/libcapi-system-usb-accessory.so.*" + +FILES_${PN}-devel = "${capi-system-usb-accessory-devel_files}" +FILES_${PN} = "${capi-system-usb-accessory_files}" + +PKG_capi-system-usb-accessory-devel= "capi-system-usb-accessory-devel" +PKG_capi-system-usb-accessory= "capi-system-usb-accessory" + +require usb-accessory-extraconf.inc diff --git a/meta-tizen/recipes-tizen/usb-accessory/usb-accessory_git.bb b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory_git.bb new file mode 100644 index 0000000..700a9d9 --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-accessory/usb-accessory_git.bb @@ -0,0 +1,8 @@ +require usb-accessory.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/usb-accessory;protocol=ssh;tag=781124b331d2c76b107fbfd5fb34d2cce882da74;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usb-manager/usb-manager-extraconf.inc b/meta-tizen/recipes-tizen/usb-manager/usb-manager-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/usb-manager/usb-manager-native_git.bb b/meta-tizen/recipes-tizen/usb-manager/usb-manager-native_git.bb new file mode 100644 index 0000000..6daecef --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-manager/usb-manager-native_git.bb @@ -0,0 +1,12 @@ +require usb-manager.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/usb-manager;protocol=ssh;tag=94b0c5456eccadd3d7cdf23e4185b7cbbfd2e809;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usb-manager/usb-manager.inc b/meta-tizen/recipes-tizen/usb-manager/usb-manager.inc new file mode 100644 index 0000000..6d7a0eb --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-manager/usb-manager.inc @@ -0,0 +1,104 @@ +DESCRIPTION = "USB server" +HOMEPAGE = "http://nohomepage.org" +SECTION = "framework/system" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by usb-server +PROVIDES += "usb-server" +RPROVIDES_usb-server += "usb-server" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of usb-server +DEPENDS += "systemd" +DEPENDS += "app-svc" +DEPENDS += "cmake" +DEPENDS += "attr" +DEPENDS += "pkgconfig(capi-system-usb-accessory)" +DEPENDS += "dlog" +DEPENDS += "notification" +DEPENDS += "syspopup" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "app-core" +DEPENDS += "system-server" +DEPENDS += "pkgconfig(libusb-1.0)" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(edbus)" +DEPENDS += "ecore" +DEPENDS += "devman" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSIMULATOR=no + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/usb-server.manifest . + cp ${S}/packaging/usb-server.rule . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "usb-server" + +usb-server_files = "" +usb-server_files += "usb-server.manifest" +usb-server_files += "/usr/bin/start_dr.sh" +usb-server_files += "/usr/bin/usb-server" +usb-server_files += "/usr/bin/direct_set_debug.sh" +usb-server_files += "/usr/bin/set_usb_debug.sh" + +FILES_${PN} = "${usb-server_files}" + +PKG_usb-server= "usb-server" + +require usb-manager-extraconf.inc diff --git a/meta-tizen/recipes-tizen/usb-manager/usb-manager_git.bb b/meta-tizen/recipes-tizen/usb-manager/usb-manager_git.bb new file mode 100644 index 0000000..bcbc155 --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-manager/usb-manager_git.bb @@ -0,0 +1,8 @@ +require usb-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/usb-manager;protocol=ssh;tag=94b0c5456eccadd3d7cdf23e4185b7cbbfd2e809;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup-extraconf.inc b/meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup.inc b/meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup.inc new file mode 100644 index 0000000..a24f0bc --- /dev/null +++ b/meta-tizen/recipes-tizen/usb-syspopup/usb-syspopup.inc @@ -0,0 +1,34 @@ +DESCRIPTION = "USB system popup" +HOMEPAGE = "http://nohomepage.org" +SECTION = "framework-system" +LICENSE = "APLv2" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "org.tizen.usb-syspopup" +PACKAGES += "org.tizen.usbotg-syspopup" + +org.tizen.usb-syspopup_files = "" +org.tizen.usb-syspopup_files += "org.tizen.usb-syspopup.manifest" +org.tizen.usb-syspopup_files += "/usr/share/packages/org.tizen.usb-syspopup.xml" + +org.tizen.usbotg-syspopup_files = "" +org.tizen.usbotg-syspopup_files += "org.tizen.usb-syspopup.manifest" +org.tizen.usbotg-syspopup_files += "/usr/share/packages/org.tizen.usbotg-syspopup.xml" + +FILES_${PN} = "${org.tizen.usb-syspopup_files}" +FILES_org.tizen.usbotg-syspopup = "${org.tizen.usbotg-syspopup_files}" + +PKG_org.tizen.usb-syspopup= "org.tizen.usb-syspopup" +PKG_org.tizen.usbotg-syspopup= "org.tizen.usbotg-syspopup" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require usb-syspopup-rdepends.inc +require usb-syspopup-depends.inc +require usb-syspopup-extraconf.inc diff --git a/meta-tizen/recipes-tizen/usbutils/usbutils-extraconf.inc b/meta-tizen/recipes-tizen/usbutils/usbutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/usbutils/usbutils-native_git.bb b/meta-tizen/recipes-tizen/usbutils/usbutils-native_git.bb new file mode 100644 index 0000000..a17b9a1 --- /dev/null +++ b/meta-tizen/recipes-tizen/usbutils/usbutils-native_git.bb @@ -0,0 +1,12 @@ +require usbutils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/usbutils;protocol=ssh;tag=7ac07c9694904426d6be8ec8c33eadf06e8735d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usbutils/usbutils.inc b/meta-tizen/recipes-tizen/usbutils/usbutils.inc new file mode 100644 index 0000000..5ce403c --- /dev/null +++ b/meta-tizen/recipes-tizen/usbutils/usbutils.inc @@ -0,0 +1,110 @@ +DESCRIPTION = "Linux USB utilities" +HOMEPAGE = "http://www.linux-usb.org/" +SECTION = "Base/Device Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by usbutils +PROVIDES += "usbutils" +RPROVIDES_usbutils += "usbutils" + +#PROVIDES by usbutils-docs +PROVIDES += "usbutils-docs " +RPROVIDES_usbutils-docs += "usbutils-docs " + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of usbutils +DEPENDS += "autoconf-native" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(libusb-1.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/usbutils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share/hwdata \ + --disable-usbids + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} pkgconfigdir=/usr/share/pkgconfig + + + +} + +PACKAGES = "" +PACKAGES += "usbutils" +PACKAGES += "usbutils-docs" + +usbutils_files = "" +usbutils_files += "usbutils.manifest" +usbutils_files += "/usr/bin/*" +usbutils_files += "/usr/share/*" + +usbutils-docs_files = "" +usbutils-docs_files += "/usr/share/info" +usbutils-docs_files += "/usr/share/man" + +FILES_${PN} = "${usbutils_files}" +FILES_${PN}-docs = "${usbutils-docs_files}" + +PKG_usbutils= "usbutils" +PKG_usbutils-docs= "usbutils-docs" + +require usbutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/usbutils/usbutils_git.bb b/meta-tizen/recipes-tizen/usbutils/usbutils_git.bb new file mode 100644 index 0000000..0ddecad --- /dev/null +++ b/meta-tizen/recipes-tizen/usbutils/usbutils_git.bb @@ -0,0 +1,8 @@ +require usbutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/usbutils;protocol=ssh;tag=7ac07c9694904426d6be8ec8c33eadf06e8735d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc b/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/user-session-units/user-session-units-native_git.bb b/meta-tizen/recipes-tizen/user-session-units/user-session-units-native_git.bb new file mode 100644 index 0000000..69529d5 --- /dev/null +++ b/meta-tizen/recipes-tizen/user-session-units/user-session-units-native_git.bb @@ -0,0 +1,12 @@ +require user-session-units.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/user-session-units;protocol=ssh;tag=545e17bc1926c6f7967aeefc128a95ee8483010d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/user-session-units/user-session-units.inc b/meta-tizen/recipes-tizen/user-session-units/user-session-units.inc new file mode 100644 index 0000000..5be9ca6 --- /dev/null +++ b/meta-tizen/recipes-tizen/user-session-units/user-session-units.inc @@ -0,0 +1,164 @@ +DESCRIPTION = "Systemd session units" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by user-session-units-enlightenment +PROVIDES += "user-session-units-enlightenment" +RPROVIDES_user-session-units-enlightenment += "user-session-units-enlightenment" + +#PROVIDES by user-session-units +PROVIDES += "user-session-units" +RPROVIDES_user-session-units += "user-session-units" + +#PROVIDES by user-session-units-gnome +PROVIDES += "user-session-units-gnome" +RPROVIDES_user-session-units-gnome += "user-session-units-gnome" + +RDEPENDS = "" +#RDEPENDS of user-session-units-enlightenment (${PN}-enlightenment) +RDEPENDS_${PN}-enlightenment += "user-session-units" + +#RDEPENDS of user-session-units-gnome (${PN}-gnome) +RDEPENDS_${PN}-gnome += "user-session-units" + + +DEPENDS = "" +#DEPENDS of user-session-units +DEPENDS += "pkgconfig(systemd)" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "systemd" +DEPENDS += "pam" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/user-session-units.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-gnome --enable-enlightenment + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -m 755 -d ${D}/etc/pam.d + install -m 644 ${S}/packaging/user-session.pam ${D}/etc/pam.d/user-session + + + +} + +PACKAGES = "" +PACKAGES += "user-session-units-enlightenment" +PACKAGES += "user-session-units" +PACKAGES += "user-session-units-gnome" + +user-session-units-enlightenment_files = "" +user-session-units-enlightenment_files += "user-session-units.manifest" +user-session-units-enlightenment_files += "/lib/systemd/user/e17.target" +user-session-units-enlightenment_files += "/lib/systemd/user/enlightenment.service" +user-session-units-enlightenment_files += "/lib/systemd/user/e17.target.wants/enlightenment.service" + +user-session-units_files = "" +user-session-units_files += "user-session-units.manifest" +user-session-units_files += "/usr/bin/user-session-launch" +user-session-units_files += "/lib/systemd/system/*" +user-session-units_files += "/etc/pam.d/user-session" + +user-session-units-gnome_files = "" +user-session-units-gnome_files += "user-session-units.manifest" +user-session-units-gnome_files += "/lib/systemd/user/gnome.target" +user-session-units-gnome_files += "/lib/systemd/user/gnome-session.service" +user-session-units-gnome_files += "/lib/systemd/user/gnome.target.wants/gnome-session.service" + +FILES_${PN}-enlightenment = "${user-session-units-enlightenment_files}" +FILES_${PN} = "${user-session-units_files}" +FILES_${PN}-gnome = "${user-session-units-gnome_files}" + +PKG_user-session-units-enlightenment= "user-session-units-enlightenment" +PKG_user-session-units= "user-session-units" +PKG_user-session-units-gnome= "user-session-units-gnome" + +require user-session-units-extraconf.inc diff --git a/meta-tizen/recipes-tizen/user-session-units/user-session-units_git.bb b/meta-tizen/recipes-tizen/user-session-units/user-session-units_git.bb new file mode 100644 index 0000000..49c093c --- /dev/null +++ b/meta-tizen/recipes-tizen/user-session-units/user-session-units_git.bb @@ -0,0 +1,8 @@ +require user-session-units.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/user-session-units;protocol=ssh;tag=545e17bc1926c6f7967aeefc128a95ee8483010d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usleep/usleep-extraconf.inc b/meta-tizen/recipes-tizen/usleep/usleep-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/usleep/usleep-native_git.bb b/meta-tizen/recipes-tizen/usleep/usleep-native_git.bb new file mode 100644 index 0000000..4a1bd51 --- /dev/null +++ b/meta-tizen/recipes-tizen/usleep/usleep-native_git.bb @@ -0,0 +1,12 @@ +require usleep.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/usleep;protocol=ssh;tag=dabe5b275bcb2a021ad80d7c3511db5aecc8ead7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/usleep/usleep.inc b/meta-tizen/recipes-tizen/usleep/usleep.inc new file mode 100644 index 0000000..a0358c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/usleep/usleep.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Sleeps for microseconds" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "GPLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by usleep +PROVIDES += "usleep" +RPROVIDES_usleep += "usleep" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of usleep +DEPENDS += "popt" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n usleep-1 + + # >> setup + # << setup + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # >> build pre + # << build pre + + cp ${S}/packaging/usleep.manifest . + make -j16 + + # >> build post + # << build post + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + # >> install pre + # << install pre + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # >> install post + + + # << install post + + + + + + + +} + +PACKAGES = "" +PACKAGES += "usleep" + +usleep_files = "" +usleep_files += "usleep.manifest" +usleep_files += "usleep.manifest" +usleep_files += "/usr/share/man/man*/*" +usleep_files += "/bin/usleep" + +FILES_${PN} = "${usleep_files}" + +PKG_usleep= "usleep" + +require usleep-extraconf.inc diff --git a/meta-tizen/recipes-tizen/usleep/usleep_git.bb b/meta-tizen/recipes-tizen/usleep/usleep_git.bb new file mode 100644 index 0000000..047dbf6 --- /dev/null +++ b/meta-tizen/recipes-tizen/usleep/usleep_git.bb @@ -0,0 +1,8 @@ +require usleep.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/usleep;protocol=ssh;tag=dabe5b275bcb2a021ad80d7c3511db5aecc8ead7;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/utempter/utempter-extraconf.inc b/meta-tizen/recipes-tizen/utempter/utempter-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/utempter/utempter-native_git.bb b/meta-tizen/recipes-tizen/utempter/utempter-native_git.bb new file mode 100644 index 0000000..7e693a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/utempter/utempter-native_git.bb @@ -0,0 +1,12 @@ +require utempter.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/utempter;protocol=ssh;tag=04508a0f8ead100d534df39367b5e43bb140f8f6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/utempter/utempter.inc b/meta-tizen/recipes-tizen/utempter/utempter.inc new file mode 100644 index 0000000..f051ad1 --- /dev/null +++ b/meta-tizen/recipes-tizen/utempter/utempter.inc @@ -0,0 +1,87 @@ +DESCRIPTION = "A privileged helper for utmp and wtmp updates" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Productivity/Security" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by utempter +PROVIDES += "utempter" +RPROVIDES_utempter += "utempter" + +#PROVIDES by utempter-devel +PROVIDES += "utempter-devel" +RPROVIDES_utempter-devel += "utempter-devel" +RPROVIDES_utempter-devel += "utempter-dev" + +RDEPENDS = "" +#RDEPENDS of utempter-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "utempter" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/utempter.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 RPM_OPT_FLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" CC="gcc" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + export DESTDIR=${D} + make PREFIX=$DESTDIR LIBDIR=/usr/lib install + chmod 755 $DESTDIR/usr/lib/libutempter.so* + /sbin/ldconfig -n $DESTDIR/usr/lib + + +} + +PACKAGES = "" +PACKAGES += "utempter" +PACKAGES += "utempter-devel" + +utempter_files = "" +utempter_files += "utempter.manifest" +utempter_files += "COPYING" + +utempter-devel_files = "" +utempter-devel_files += "utempter.manifest" + +FILES_${PN} = "${utempter_files}" +FILES_${PN}-devel = "${utempter-devel_files}" + +PKG_utempter= "utempter" +PKG_utempter-devel= "utempter-devel" + +require utempter-extraconf.inc diff --git a/meta-tizen/recipes-tizen/utempter/utempter_git.bb b/meta-tizen/recipes-tizen/utempter/utempter_git.bb new file mode 100644 index 0000000..523b36b --- /dev/null +++ b/meta-tizen/recipes-tizen/utempter/utempter_git.bb @@ -0,0 +1,8 @@ +require utempter.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/utempter;protocol=ssh;tag=04508a0f8ead100d534df39367b5e43bb140f8f6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uthash/uthash-extraconf.inc b/meta-tizen/recipes-tizen/uthash/uthash-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/uthash/uthash-native_git.bb b/meta-tizen/recipes-tizen/uthash/uthash-native_git.bb new file mode 100644 index 0000000..52ec894 --- /dev/null +++ b/meta-tizen/recipes-tizen/uthash/uthash-native_git.bb @@ -0,0 +1,12 @@ +require uthash.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uthash;protocol=ssh;tag=b5ccfb0470df0f693bdd7097a7597c37806112dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uthash/uthash.inc b/meta-tizen/recipes-tizen/uthash/uthash.inc new file mode 100644 index 0000000..e98923d --- /dev/null +++ b/meta-tizen/recipes-tizen/uthash/uthash.inc @@ -0,0 +1,80 @@ +DESCRIPTION = "A hash table for C structures" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Kernel" +LICENSE = "BSD-style single-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by uthash +PROVIDES += "uthash" +RPROVIDES_uthash += "uthash" + +#PROVIDES by uthash-devel +PROVIDES += "uthash-devel" +RPROVIDES_uthash-devel += "uthash-devel" +RPROVIDES_uthash-devel += "uthash-dev" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/uthash.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}/usr/include + cd src + cp utarray.h uthash.h utlist.h utstring.h ${D}/usr/include + + + +} + +PACKAGES = "" +PACKAGES += "uthash-devel" + +uthash-devel_files = "" +uthash-devel_files += "uthash.manifest" +uthash-devel_files += "/usr/include/utarray.h" +uthash-devel_files += "/usr/include/uthash.h" +uthash-devel_files += "/usr/include/utlist.h" +uthash-devel_files += "/usr/include/utstring.h" + +FILES_${PN}-devel = "${uthash-devel_files}" + +PKG_uthash-devel= "uthash-devel" + +require uthash-extraconf.inc diff --git a/meta-tizen/recipes-tizen/uthash/uthash_git.bb b/meta-tizen/recipes-tizen/uthash/uthash_git.bb new file mode 100644 index 0000000..ab74b1c --- /dev/null +++ b/meta-tizen/recipes-tizen/uthash/uthash_git.bb @@ -0,0 +1,8 @@ +require uthash.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uthash;protocol=ssh;tag=b5ccfb0470df0f693bdd7097a7597c37806112dc;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/util-linux/util-linux-extraconf.inc b/meta-tizen/recipes-tizen/util-linux/util-linux-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/util-linux/util-linux.inc b/meta-tizen/recipes-tizen/util-linux/util-linux.inc new file mode 100644 index 0000000..15d3029 --- /dev/null +++ b/meta-tizen/recipes-tizen/util-linux/util-linux.inc @@ -0,0 +1,443 @@ +DESCRIPTION = "A collection of basic system utilities" +HOMEPAGE = "https://github.com/karelzak/util-linux" +SECTION = "Base/Utilities" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by uuidd +PROVIDES += "uuidd" +RPROVIDES_uuidd += "uuidd" + +#PROVIDES by libmount-devel +PROVIDES += "libmount-devel" +RPROVIDES_libmount-devel += "libmount-devel" +RPROVIDES_libmount-devel += "libmount-dev" + +#PROVIDES by util-linux-docs +PROVIDES += "util-linux-docs " +RPROVIDES_util-linux-docs += "util-linux-docs " + +#PROVIDES by libblkid +PROVIDES += "libblkid" +RPROVIDES_libblkid += "libblkid" + +#PROVIDES by libuuid +PROVIDES += "libuuid" +RPROVIDES_libuuid += "libuuid" + +#PROVIDES by libmount +PROVIDES += "libmount" +RPROVIDES_libmount += "libmount" + +#PROVIDES by libblkid-devel +PROVIDES += "libblkid-devel" +RPROVIDES_libblkid-devel += "libblkid-devel" +RPROVIDES_libblkid-devel += "libblkid-dev" + +#PROVIDES by util-linux +PROVIDES += "util-linux" +RPROVIDES_util-linux += "util-linux" +# the PROVIDES rules is ignore "eject " +PROVIDES += "eject" +RPROVIDES_util-linux += "eject" +# the PROVIDES rules is ignore "base = 2.24-0" +PROVIDES += "base" +RPROVIDES_util-linux += "base" +# the PROVIDES rules is ignore "login = 4.0-33.7" +PROVIDES += "login" +RPROVIDES_util-linux += "login" +# the PROVIDES rules is ignore "util = 2.24-0" +PROVIDES += "util" +RPROVIDES_util-linux += "util" +# the PROVIDES rules is ignore "uuid-runtime = 2.24-0" +PROVIDES += "uuid-runtime" +RPROVIDES_util-linux += "uuid-runtime" + +#PROVIDES by libuuid-devel +PROVIDES += "libuuid-devel" +RPROVIDES_libuuid-devel += "libuuid-devel" +RPROVIDES_libuuid-devel += "libuuid-dev" + +#PROVIDES by util-linux-locale +PROVIDES += "util-linux-locale " +RPROVIDES_util-linux-locale += "util-linux-locale " +# the PROVIDES rules is ignore "util-linux-lang-all = 2.24" +PROVIDES += "util-linux-lang-all" +RPROVIDES_util-linux-locale += "util-linux-lang-all" + +RDEPENDS = "" +#RDEPENDS of libmount-devel (libmount-devel) +RDEPENDS_libmount-devel += "libmount" + +#RDEPENDS of libblkid-devel (libblkid-devel) +RDEPENDS_libblkid-devel += "libblkid" + +#RDEPENDS of util-linux (${PN}) +RDEPENDS_${PN} += "/usr/bin/sed" + +#RDEPENDS of libuuid-devel (libuuid-devel) +RDEPENDS_libuuid-devel += "libuuid" + +#RDEPENDS of util-linux-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "util-linux" + + +DEPENDS = "" +#DEPENDS of util-linux +DEPENDS += "zlib-devel" +DEPENDS += "ncurses" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libtool-cross" +DEPENDS += "readline" +DEPENDS += "fdupes-native" +DEPENDS += "pam" +DEPENDS += "binutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n util-linux-2.24 + cp ${S}/packaging/util-linux.manifest . + # + # nologin + cp ${S}/packaging/nologin.c ${S}/packaging/nologin.8 . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + autoreconf -fi + export SUID_CFLAGS="-fpie" + export SUID_LDFLAGS="-pie" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-mesg \ + --enable-partx \ + --disable-kill \ + --enable-write \ + --enable-line \ + --enable-new-mount \ + --enable-login-utils \ + --enable-mountpoint \ + --disable-use-tty-group \ + --disable-static \ + --disable-silent-rules \ + --disable-rpath + # + make -j16 + # + ${HOST_SYS}-gcc -fwhole-program -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o nologin nologin.c + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}{/etc/pam.d,/usr/share/man/man{1,8},/usr/bin,/usr/sbin,/usr/share/info} + mkdir -p ${D}/var/lib/libuuid/ + mkdir -p ${D}/var/run/uuidd/ + install -m 644 ${S}/packaging/blkid.conf ${D}/etc/blkid.conf + install -m 644 ${S}/packaging/login.pamd ${D}/etc/pam.d/login + install -m 644 ${S}/packaging/remote.pamd ${D}/etc/pam.d/remote + install -m 644 ${S}/packaging/su.pamd ${D}/etc/pam.d/su + install -m 644 ${S}/packaging/su.pamd ${D}/etc/pam.d/su-l + install -d -m 755 ${D}/etc/default + install -m 644 ${S}/packaging/su.default ${D}/etc/default/su + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -m 644 ${S}/packaging/etc_filesystems ${D}/etc/filesystems + install -m 755 nologin ${D}//usr/sbin + rm -f ${D}//usr/lib/libblkid.la + rm -f ${D}//usr/lib/libuuid.la + rm -f ${D}//usr/lib/libmount.la + install -m 644 nologin.8 ${D}/usr/share/man/man8 + echo -e "#! /bin/sh\n/sbin/blockdev --flushbufs \$1" > ${D}/usr/sbin/flushb + chmod 755 ${D}/usr/sbin/flushb + # Stupid hack so we don't have a tcsh dependency + chmod 644 ${D}/usr/share/doc/util-linux/getopt/getopt*.tcsh + # Following files we don't want to package, so remove them + rm -f ${D}/usr/bin/pg + rm -f ${D}/usr/share/man/man1/pg.1* + rm -rf ${D}/usr/share/bash-completion + # Do not package these files to get rid of the perl dependency + rm -f ${D}/usr/bin/chkdupexe + rm -f ${D}/usr/share/man/man1/chkdupexe.1 + # we use this tools from pwdutils + rm -f ${D}//usr/bin/{chfn,chsh,newgrp} + rm -f ${D}//usr/sbin/{vigr,vipw} + rm -f ${D}//usr/share/man/man1/{chfn.1*,chsh.1*,newgrp.1*} + rm -f ${D}//usr/share/man/man8/{vigr.8*,vipw.8*} + + + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} util-linux util-linux.lang + # create list of setarch(8) symlinks + find ${D}/usr/bin/ -regextype posix-egrep -type l \ + -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)$" \ + -printf "/usr/bin/%f\n" >> util-linux.files + # clock.txt from uuidd is a ghost file + touch ${D}/var/lib/libuuid/clock.txt + # rcuuidd helper + + rm -rf ${D}//usr/share/man/ru + + # remove duplicate manpages + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}//usr/share/man | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "uuidd" +PACKAGES += "libmount-devel" +PACKAGES += "util-linux-docs" +PACKAGES += "libblkid" +PACKAGES += "libuuid" +PACKAGES += "libmount" +PACKAGES += "util-linux-locale" +PACKAGES += "util-linux" +PACKAGES += "libuuid-devel" +PACKAGES += "libblkid-devel" + +uuidd_files = "" +uuidd_files += "util-linux.manifest" + +libmount-devel_files = "" +libmount-devel_files += "util-linux.manifest" +libmount-devel_files += "/usr/lib/libmount.so" +libmount-devel_files += "/usr/include/libmount" +libmount-devel_files += "/usr/include/libmount/libmount.h" +libmount-devel_files += "/usr/lib/pkgconfig/mount.pc" + +util-linux-docs_files = "" +util-linux-docs_files += "/usr/share/info" +util-linux-docs_files += "/usr/share/man" +util-linux-docs_files += "/usr/share/doc/util-linux/getopt" + +libblkid_files = "" +libblkid_files += "util-linux.manifest" +libblkid_files += "/usr/lib/libblkid.so.1" +libblkid_files += "/usr/lib/libblkid.so.1.*" + +libuuid_files = "" +libuuid_files += "util-linux.manifest" +libuuid_files += "/usr/lib/libuuid.so.1" +libuuid_files += "/usr/lib/libuuid.so.1.*" + +libmount_files = "" +libmount_files += "util-linux.manifest" +libmount_files += "/usr/lib/libmount.so.1" +libmount_files += "/usr/lib/libmount.so.1.*" + +util-linux-locale_files = "" + +util-linux_files = "" +util-linux_files += "util-linux.manifest" +util-linux_files += "/etc/filesystems" +util-linux_files += "/etc/blkid.conf" +util-linux_files += "/etc/pam.d/login" +util-linux_files += "/etc/pam.d/remote" +util-linux_files += "/etc/pam.d/su" +util-linux_files += "/etc/pam.d/su-l" +util-linux_files += "/etc/default/su" +util-linux_files += "/usr/bin/su" +util-linux_files += "/usr/bin/cal" +util-linux_files += "/usr/bin/eject" +util-linux_files += "/usr/bin/lslocks" +util-linux_files += "/usr/bin/utmpdump" +util-linux_files += "/usr/bin/wdctl" +util-linux_files += "/usr/sbin/resizepart" +util-linux_files += "/usr/sbin/sulogin" +util-linux_files += "/usr/bin/login" +util-linux_files += "/usr/bin/chrt" +util-linux_files += "/usr/bin/col" +util-linux_files += "/usr/bin/colcrt" +util-linux_files += "/usr/bin/colrm" +util-linux_files += "/usr/bin/column" +util-linux_files += "/usr/bin/dmesg" +util-linux_files += "/usr/bin/fallocate" +util-linux_files += "/usr/bin/findmnt" +util-linux_files += "/usr/bin/flock" +util-linux_files += "/usr/bin/getopt" +util-linux_files += "/usr/bin/hexdump" +util-linux_files += "/usr/bin/ionice" +util-linux_files += "/usr/bin/ipcmk" +util-linux_files += "/usr/bin/ipcrm" +util-linux_files += "/usr/bin/ipcs" +util-linux_files += "/usr/bin/isosize" +util-linux_files += "/usr/bin/line" +util-linux_files += "/usr/bin/logger" +util-linux_files += "/usr/bin/look" +util-linux_files += "/usr/bin/lsblk" +util-linux_files += "/usr/bin/lscpu" +util-linux_files += "/usr/bin/mcookie" +util-linux_files += "/usr/bin/mesg" +util-linux_files += "/usr/bin/more" +util-linux_files += "/usr/bin/mount" +util-linux_files += "/usr/bin/mountpoint" +util-linux_files += "/usr/bin/namei" +util-linux_files += "/usr/bin/prlimit" +util-linux_files += "/usr/bin/rename" +util-linux_files += "/usr/bin/renice" +util-linux_files += "/usr/bin/rev" +util-linux_files += "/usr/bin/script" +util-linux_files += "/usr/bin/scriptreplay" +util-linux_files += "/usr/bin/setarch" +util-linux_files += "/usr/bin/setsid" +util-linux_files += "/usr/bin/tailf" +util-linux_files += "/usr/bin/taskset" +util-linux_files += "/usr/bin/ul" +util-linux_files += "/usr/bin/umount" +util-linux_files += "/usr/bin/unshare" +util-linux_files += "/usr/bin/uuidgen" +util-linux_files += "/usr/sbin/addpart" +util-linux_files += "/usr/sbin/agetty" +util-linux_files += "/usr/sbin/blkid" +util-linux_files += "/usr/sbin/blockdev" +util-linux_files += "/usr/sbin/chcpu" +util-linux_files += "/usr/sbin/ctrlaltdel" +util-linux_files += "/usr/sbin/delpart" +util-linux_files += "/usr/sbin/findfs" +util-linux_files += "/usr/sbin/fsck" +util-linux_files += "/usr/sbin/fsck.minix" +util-linux_files += "/usr/sbin/fsck.cramfs" +util-linux_files += "/usr/sbin/fsfreeze" +util-linux_files += "/usr/sbin/fstrim" +util-linux_files += "/usr/sbin/ldattach" +util-linux_files += "/usr/sbin/losetup" +util-linux_files += "/usr/sbin/mkfs" +util-linux_files += "/usr/sbin/mkfs.bfs" +util-linux_files += "/usr/sbin/mkfs.minix" +util-linux_files += "/usr/sbin/mkfs.cramfs" +util-linux_files += "/usr/sbin/mkswap" +util-linux_files += "/usr/sbin/nologin" +util-linux_files += "/usr/sbin/raw" +util-linux_files += "/usr/sbin/partx" +util-linux_files += "/usr/sbin/pivot_root" +util-linux_files += "/usr/sbin/rtcwake" +util-linux_files += "/usr/sbin/swaplabel" +util-linux_files += "/usr/sbin/swapoff" +util-linux_files += "/usr/sbin/swapon" +util-linux_files += "/usr/sbin/switch_root" +util-linux_files += "/usr/sbin/wipefs" +util-linux_files += "/usr/bin/whereis" +util-linux_files += "/usr/sbin/flushb" +util-linux_files += "/usr/sbin/readprofile" +util-linux_files += "/usr/sbin/fdisk" +util-linux_files += "/usr/sbin/cfdisk" +util-linux_files += "/usr/sbin/sfdisk" +util-linux_files += "/usr/bin/cytune" +util-linux_files += "/usr/sbin/fdformat" +util-linux_files += "/usr/sbin/hwclock" +util-linux_files += "/usr/bin/setterm" +util-linux_files += "/usr/sbin/blkdiscard" +util-linux_files += "/usr/sbin/runuser" +util-linux_files += "/usr/bin/last" +util-linux_files += "/usr/bin/lastb" +util-linux_files += "/usr/bin/nsenter" + +libuuid-devel_files = "" +libuuid-devel_files += "util-linux.manifest" +libuuid-devel_files += "/usr/lib/libuuid.so" +libuuid-devel_files += "/usr/include/uuid" +libuuid-devel_files += "/usr/include/uuid/uuid.h" +libuuid-devel_files += "/usr/lib/pkgconfig/uuid.pc" + +libblkid-devel_files = "" +libblkid-devel_files += "util-linux.manifest" +libblkid-devel_files += "/usr/lib/libblkid.so" +libblkid-devel_files += "/usr/include/blkid" +libblkid-devel_files += "/usr/include/blkid/blkid.h" +libblkid-devel_files += "/usr/lib/pkgconfig/blkid.pc" + +FILES_uuidd = "${uuidd_files}" +FILES_libmount-devel = "${libmount-devel_files}" +FILES_${PN}-docs = "${util-linux-docs_files}" +FILES_libblkid = "${libblkid_files}" +FILES_libuuid = "${libuuid_files}" +FILES_libmount = "${libmount_files}" +FILES_${PN}-locale = "${util-linux-locale_files}" +FILES_${PN} = "${util-linux_files}" +FILES_libuuid-devel = "${libuuid-devel_files}" +FILES_libblkid-devel = "${libblkid-devel_files}" + +PKG_uuidd= "uuidd" +PKG_libmount-devel= "libmount-devel" +PKG_util-linux-docs= "util-linux-docs" +PKG_libblkid= "libblkid" +PKG_libuuid= "libuuid" +PKG_libmount= "libmount" +PKG_util-linux-locale= "util-linux-locale" +PKG_util-linux= "util-linux" +PKG_libuuid-devel= "libuuid-devel" +PKG_libblkid-devel= "libblkid-devel" + +require util-linux-extraconf.inc diff --git a/meta-tizen/recipes-tizen/util-linux/util-linux_git.bb b/meta-tizen/recipes-tizen/util-linux/util-linux_git.bb new file mode 100644 index 0000000..83676c6 --- /dev/null +++ b/meta-tizen/recipes-tizen/util-linux/util-linux_git.bb @@ -0,0 +1,8 @@ +require util-linux.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/util-linux;protocol=ssh;tag=8d9c9a341157cc8b0dba1c6781dde22e6f7a2fcf;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/util-macros/util-macros-extraconf.inc b/meta-tizen/recipes-tizen/util-macros/util-macros-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/util-macros/util-macros-native_git.bb b/meta-tizen/recipes-tizen/util-macros/util-macros-native_git.bb new file mode 100644 index 0000000..5206a6b --- /dev/null +++ b/meta-tizen/recipes-tizen/util-macros/util-macros-native_git.bb @@ -0,0 +1,12 @@ +require util-macros.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/util-macros;protocol=ssh;tag=d2c24eb0184799e7599846818d310e06cf07677e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/util-macros/util-macros.inc b/meta-tizen/recipes-tizen/util-macros/util-macros.inc new file mode 100644 index 0000000..f4ec1ec --- /dev/null +++ b/meta-tizen/recipes-tizen/util-macros/util-macros.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "X.Org build utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT/X11" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by util-macros +PROVIDES += "util-macros" +RPROVIDES_util-macros += "util-macros" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n util-macros-1.17 + cp ${S}/packaging/util-macros.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/util-macros + rm -rf ${D}/usr/share/doc/util-macros-1.17 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + rm -rf ${D}/usr/share/util-macros/INSTALL + + +} + +PACKAGES = "" +PACKAGES += "util-macros" + +util-macros_files = "" +util-macros_files += "util-macros.manifest" +util-macros_files += "/usr/share/aclocal/*" +util-macros_files += "/usr/share/pkgconfig/*" + +FILES_${PN} = "${util-macros_files}" + +PKG_util-macros= "util-macros" + +require util-macros-extraconf.inc diff --git a/meta-tizen/recipes-tizen/util-macros/util-macros_git.bb b/meta-tizen/recipes-tizen/util-macros/util-macros_git.bb new file mode 100644 index 0000000..2d61dfe --- /dev/null +++ b/meta-tizen/recipes-tizen/util-macros/util-macros_git.bb @@ -0,0 +1,8 @@ +require util-macros.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/util-macros;protocol=ssh;tag=d2c24eb0184799e7599846818d310e06cf07677e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-extraconf.inc b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-native_git.bb b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-native_git.bb new file mode 100644 index 0000000..236bbab --- /dev/null +++ b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit-native_git.bb @@ -0,0 +1,12 @@ +require uw-imap-toolkit.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uw-imap-toolkit;protocol=ssh;tag=3f209322194c8c7dad1c21233b4b08add5375876;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit.inc b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit.inc new file mode 100644 index 0000000..dde5e59 --- /dev/null +++ b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "IMAP-2007e developed by University of Washington" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Messaging/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libuw-imap-toolkit +PROVIDES += "libuw-imap-toolkit" +RPROVIDES_libuw-imap-toolkit += "libuw-imap-toolkit" + +#PROVIDES by uw-imap-toolkit +PROVIDES += "uw-imap-toolkit" +RPROVIDES_uw-imap-toolkit += "uw-imap-toolkit" + +#PROVIDES by libuw-imap-toolkit-devel +PROVIDES += "libuw-imap-toolkit-devel" +RPROVIDES_libuw-imap-toolkit-devel += "libuw-imap-toolkit-devel" +RPROVIDES_libuw-imap-toolkit-devel += "libuw-imap-toolkit-dev" + +RDEPENDS = "" +#RDEPENDS of uw-imap-toolkit (${PN}) +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of libuw-imap-toolkit-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libuw-imap-toolkit" + + +DEPENDS = "" +#DEPENDS of uw-imap-toolkit +DEPENDS += "libgcrypt" +DEPENDS += "dlog" +DEPENDS += "openssl" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libuw-imap-toolkit.manifest ${S}/packaging/libuw-imap-toolkit-devel.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./autogen.sh + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "libuw-imap-toolkit" +PACKAGES += "libuw-imap-toolkit-devel" + +libuw-imap-toolkit_files = "" +libuw-imap-toolkit_files += "libuw-imap-toolkit.manifest" +libuw-imap-toolkit_files += "/usr/lib/libuw-imap-toolkit.so.*" + +libuw-imap-toolkit-devel_files = "" +libuw-imap-toolkit-devel_files += "libuw-imap-toolkit-devel.manifest" +libuw-imap-toolkit-devel_files += "/usr/lib/libuw-imap-toolkit.so" +libuw-imap-toolkit-devel_files += "/usr/lib/pkgconfig/uw-imap-toolkit.pc" +libuw-imap-toolkit-devel_files += "/usr/include/uw-imap-toolkit/*" + +FILES_lib${PN} = "${libuw-imap-toolkit_files}" +FILES_lib${PN}-devel = "${libuw-imap-toolkit-devel_files}" + +PKG_libuw-imap-toolkit= "libuw-imap-toolkit" +PKG_libuw-imap-toolkit-devel= "libuw-imap-toolkit-devel" + +require uw-imap-toolkit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit_git.bb b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit_git.bb new file mode 100644 index 0000000..0352179 --- /dev/null +++ b/meta-tizen/recipes-tizen/uw-imap-toolkit/uw-imap-toolkit_git.bb @@ -0,0 +1,8 @@ +require uw-imap-toolkit.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uw-imap-toolkit;protocol=ssh;tag=3f209322194c8c7dad1c21233b4b08add5375876;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/v4l-utils/v4l-utils-extraconf.inc b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/v4l-utils/v4l-utils-native_git.bb b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils-native_git.bb new file mode 100644 index 0000000..91fb83a --- /dev/null +++ b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils-native_git.bb @@ -0,0 +1,12 @@ +require v4l-utils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/v4l-utils;protocol=ssh;tag=9e9479b7191e3ca64026aa67add29c260c17a83e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/v4l-utils/v4l-utils.inc b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils.inc new file mode 100644 index 0000000..e449a30 --- /dev/null +++ b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Utilities for video4linux and DVB devices" +HOMEPAGE = "http://linuxtv.org/downloads/v4l-utils/" +SECTION = "Multimedia/Utilities" +LICENSE = "GPL-2.0+ and GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by v4l-utils-devel-tools +PROVIDES += "v4l-utils-devel-tools" +RPROVIDES_v4l-utils-devel-tools += "v4l-utils-devel-tools" +RPROVIDES_v4l-utils-devel-tools += "v4l-utils-dev" + +#PROVIDES by v4l-utils +PROVIDES += "v4l-utils" +RPROVIDES_v4l-utils += "v4l-utils" + +#PROVIDES by libv4l-devel +PROVIDES += "libv4l-devel" +RPROVIDES_libv4l-devel += "libv4l-devel" +RPROVIDES_libv4l-devel += "libv4l-dev" + +#PROVIDES by libv4l +PROVIDES += "libv4l" +RPROVIDES_libv4l += "libv4l" + +RDEPENDS = "" +#RDEPENDS of v4l-utils-devel-tools (${PN}-devel-tools) +RDEPENDS_${PN}-devel-tools += "libv4l" + +#RDEPENDS of v4l-utils (${PN}) +RDEPENDS_${PN} += "udev" +RDEPENDS_${PN} += "libv4l" + +#RDEPENDS of libv4l-devel (libv4l-devel) +RDEPENDS_libv4l-devel += "libv4l" + + +DEPENDS = "" +#DEPENDS of v4l-utils +DEPENDS += "libjpeg-turbo" +DEPENDS += "systemd" +DEPENDS += "sysfsutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing" + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install DESTDIR=${D} PREFIX=/usr LIBDIR=/usr/lib + + + +} + +PACKAGES = "" +PACKAGES += "v4l-utils-devel-tools" +PACKAGES += "v4l-utils" +PACKAGES += "libv4l-devel" +PACKAGES += "libv4l" + +v4l-utils-devel-tools_files = "" +v4l-utils-devel-tools_files += "/usr/bin/decode_tm6000" +v4l-utils-devel-tools_files += "/usr/bin/v4l2-compliance" +v4l-utils-devel-tools_files += "/usr/sbin/v4l2-dbg" + +v4l-utils_files = "" +v4l-utils_files += "LGPL-2.1+ COPYING" +v4l-utils_files += "/etc/rc_keymaps" +v4l-utils_files += "/etc/rc_keymaps/*" +v4l-utils_files += "/etc/rc_maps.cfg" +v4l-utils_files += "/usr/bin/cx18-ctl" +v4l-utils_files += "/usr/bin/dvb-*" +v4l-utils_files += "/usr/bin/dvbv5-*" +v4l-utils_files += "/usr/bin/ir-keytable" +v4l-utils_files += "/usr/bin/ivtv-ctl" +v4l-utils_files += "/usr/bin/v4l2-ctl" +v4l-utils_files += "/usr/bin/v4l2-sysfs-path" +v4l-utils_files += "/usr/lib/udev/rules.d/70-infrared.rules" +v4l-utils_files += "/usr/share/man/man1/ir-keytable.1.gz" + +libv4l-devel_files = "" +libv4l-devel_files += "README.lib-multi-threading" +libv4l-devel_files += "/usr/include/libv4l*.h" +libv4l-devel_files += "/usr/lib/libv4l*.so" +libv4l-devel_files += "/usr/lib/pkgconfig/*.pc" + +libv4l_files = "" +libv4l_files += "COPYING.LIB" +libv4l_files += "/usr/lib/libv4l/" +libv4l_files += "/usr/lib/libv4l1.so.*" +libv4l_files += "/usr/lib/libv4l2.so.*" +libv4l_files += "/usr/lib/libv4lconvert.so.*" + +FILES_${PN}-devel-tools = "${v4l-utils-devel-tools_files}" +FILES_${PN} = "${v4l-utils_files}" +FILES_libv4l-devel = "${libv4l-devel_files}" +FILES_libv4l = "${libv4l_files}" + +PKG_v4l-utils-devel-tools= "v4l-utils-devel-tools" +PKG_v4l-utils= "v4l-utils" +PKG_libv4l-devel= "libv4l-devel" +PKG_libv4l= "libv4l" + +require v4l-utils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/v4l-utils/v4l-utils_git.bb b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils_git.bb new file mode 100644 index 0000000..6d37dde --- /dev/null +++ b/meta-tizen/recipes-tizen/v4l-utils/v4l-utils_git.bb @@ -0,0 +1,8 @@ +require v4l-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/v4l-utils;protocol=ssh;tag=9e9479b7191e3ca64026aa67add29c260c17a83e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/v8/v8-extraconf.inc b/meta-tizen/recipes-tizen/v8/v8-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/v8/v8-native_git.bb b/meta-tizen/recipes-tizen/v8/v8-native_git.bb new file mode 100644 index 0000000..e2c3a49 --- /dev/null +++ b/meta-tizen/recipes-tizen/v8/v8-native_git.bb @@ -0,0 +1,12 @@ +require v8.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/v8;protocol=ssh;tag=e4cf60bfa2a877463037982227212cbc0c094f0c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/v8/v8.inc b/meta-tizen/recipes-tizen/v8/v8.inc new file mode 100644 index 0000000..c60f41c --- /dev/null +++ b/meta-tizen/recipes-tizen/v8/v8.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "JavaScript Engine" +HOMEPAGE = "http://code.google.com/p/v8" +SECTION = "System/Libraries" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by v8 +PROVIDES += "v8" +RPROVIDES_v8 += "v8" + +#PROVIDES by v8-devel +PROVIDES += "v8-devel" +RPROVIDES_v8-devel += "v8-devel" +RPROVIDES_v8-devel += "v8-dev" + +#PROVIDES by v8-private-headers-devel +PROVIDES += "v8-private-headers-devel" +RPROVIDES_v8-private-headers-devel += "v8-private-headers-devel" +RPROVIDES_v8-private-headers-devel += "v8-private-headers-dev" + +#PROVIDES by libv8 +PROVIDES += "libv8" +RPROVIDES_libv8 += "libv8" + +RDEPENDS = "" +#RDEPENDS of v8-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libv8" + +#RDEPENDS of v8-private-headers-devel (${PN}-private-headers-devel) +RDEPENDS_${PN}-private-headers-devel += "v8-dev" + + +DEPENDS = "" +#DEPENDS of v8 +DEPENDS += "lzma" +inherit pythonnative +DEPENDS += "gcc-cross" +DEPENDS += "readline" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/v8.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + env=CCFLAGS:"-fPIC" + make x64.release -j3 library=shared snapshots=on soname_version=`echo 3.14.5 | cut -f1 -d'.'` + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/include/v8/x64 + mkdir -p ${D}/usr/lib + install -p include/*.h ${D}/usr/include + + install -p src/*.h ${D}/usr/include/v8 + install -p src/x64/*.h ${D}/usr/include/v8/x64 + + install -p out/x64.release/lib.target/libv8.so* ${D}/usr/lib + mkdir -p ${D}/usr/bin + install -p -m0755 out/x64.release/d8 ${D}/usr/bin + + pushd ${D}/usr/lib + ln -sf libv8.so.`echo 3.14.5 | cut -f1 -d'.'` libv8.so + + chmod -x ${D}/usr/include/v8*.h + popd + + +} + +PACKAGES = "" +PACKAGES += "v8-devel" +PACKAGES += "v8-private-headers-devel" +PACKAGES += "libv8" + +v8-devel_files = "" +v8-devel_files += "v8.manifest" +v8-devel_files += "/usr/include/*.h" +v8-devel_files += "/usr/lib/*.so" + +v8-private-headers-devel_files = "" +v8-private-headers-devel_files += "v8.manifest" +v8-private-headers-devel_files += "/usr/include/v8/" + +libv8_files = "" +libv8_files += "v8.manifest" +libv8_files += "/usr/bin/d8" +libv8_files += "/usr/lib/*.so.*" + +FILES_${PN}-devel = "${v8-devel_files}" +FILES_${PN}-private-headers-devel = "${v8-private-headers-devel_files}" +FILES_lib${PN} = "${libv8_files}" + +PKG_v8-devel= "v8-devel" +PKG_v8-private-headers-devel= "v8-private-headers-devel" +PKG_libv8= "libv8" + +require v8-extraconf.inc diff --git a/meta-tizen/recipes-tizen/v8/v8_git.bb b/meta-tizen/recipes-tizen/v8/v8_git.bb new file mode 100644 index 0000000..b16260a --- /dev/null +++ b/meta-tizen/recipes-tizen/v8/v8_git.bb @@ -0,0 +1,8 @@ +require v8.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/v8;protocol=ssh;tag=e4cf60bfa2a877463037982227212cbc0c094f0c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vala/vala-extraconf.inc b/meta-tizen/recipes-tizen/vala/vala-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vala/vala-native_git.bb b/meta-tizen/recipes-tizen/vala/vala-native_git.bb new file mode 100644 index 0000000..2ae6bc7 --- /dev/null +++ b/meta-tizen/recipes-tizen/vala/vala-native_git.bb @@ -0,0 +1,12 @@ +require vala.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vala;protocol=ssh;tag=d62c06f6ce6bd5f636e2d8cbdb1e62ff5b715a17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vala/vala.inc b/meta-tizen/recipes-tizen/vala/vala.inc new file mode 100644 index 0000000..48f56f8 --- /dev/null +++ b/meta-tizen/recipes-tizen/vala/vala.inc @@ -0,0 +1,166 @@ +DESCRIPTION = "Programming language for GNOME" +HOMEPAGE = "http://live.gnome.org/Vala" +SECTION = "Development/Gnome" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libvala +PROVIDES += "libvala" +RPROVIDES_libvala += "libvala" + +#PROVIDES by vala +PROVIDES += "vala" +RPROVIDES_vala += "vala" + +#PROVIDES by libvala-devel +PROVIDES += "libvala-devel" +RPROVIDES_libvala-devel += "libvala-devel" +RPROVIDES_libvala-devel += "libvala-dev" + +RDEPENDS = "" +#RDEPENDS of vala (${PN}) +RDEPENDS_${PN} += "update-alternatives" + +#RDEPENDS of libvala-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libvala" + + +DEPENDS = "" +#DEPENDS of vala +DEPENDS += "glib" +DEPENDS += "flex" +DEPENDS += "fdupes-native" +DEPENDS += "bison-native" +DEPENDS += "xz" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic --enable-vapigen + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D}/usr/share | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "libvala" +PACKAGES += "vala" +PACKAGES += "libvala-devel" + +libvala_files = "" +libvala_files += "/usr/lib/libvala-0.20.so.*" + +vala_files = "" +vala_files += "/usr/bin/vala-0.20" +vala_files += "/usr/bin/valac-0.20" +vala_files += "/usr/bin/vala-gen-introspect-0.20" +vala_files += "/usr/bin/vapicheck-0.20" +vala_files += "/usr/bin/vapigen-0.20" +vala_files += "/usr/share/man/man1/valac-0.20.1*" +vala_files += "/usr/share/man/man1/vala-gen-introspect-0.20.1*" +vala_files += "/usr/share/man/man1/vapigen-0.20.1*" +vala_files += "/usr/share/aclocal/vala.m4" +vala_files += "/usr/share/aclocal/vapigen.m4" +vala_files += "/usr/share/pkgconfig/vapigen-0.20.pc" +vala_files += "/usr/share/vala" +vala_files += "/usr/share/vala/Makefile.vapigen" +vala_files += "/usr/share/vala-0.20/" +vala_files += "/usr/lib/vala-0.20/" + +libvala-devel_files = "" +libvala-devel_files += "AUTHORS ChangeLog NEWS README" +libvala-devel_files += "/usr/include/vala-0.20/" +libvala-devel_files += "/usr/lib/libvala-0.20.so" +libvala-devel_files += "/usr/lib/pkgconfig/libvala-0.20.pc" + +FILES_lib${PN} = "${libvala_files}" +FILES_${PN} = "${vala_files}" +FILES_lib${PN}-devel = "${libvala-devel_files}" + +PKG_libvala= "libvala" +PKG_vala= "vala" +PKG_libvala-devel= "libvala-devel" + +require vala-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vala/vala_git.bb b/meta-tizen/recipes-tizen/vala/vala_git.bb new file mode 100644 index 0000000..d04e46b --- /dev/null +++ b/meta-tizen/recipes-tizen/vala/vala_git.bb @@ -0,0 +1,8 @@ +require vala.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vala;protocol=ssh;tag=d62c06f6ce6bd5f636e2d8cbdb1e62ff5b715a17;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/valgrind/valgrind-extraconf.inc b/meta-tizen/recipes-tizen/valgrind/valgrind-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/valgrind/valgrind-native_git.bb b/meta-tizen/recipes-tizen/valgrind/valgrind-native_git.bb new file mode 100644 index 0000000..fef8281 --- /dev/null +++ b/meta-tizen/recipes-tizen/valgrind/valgrind-native_git.bb @@ -0,0 +1,12 @@ +require valgrind.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/valgrind;protocol=ssh;tag=8736ad8d45f3459c3d0ec6e75c0aefbfcaa005d6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/valgrind/valgrind.inc b/meta-tizen/recipes-tizen/valgrind/valgrind.inc new file mode 100644 index 0000000..290bbb9 --- /dev/null +++ b/meta-tizen/recipes-tizen/valgrind/valgrind.inc @@ -0,0 +1,235 @@ +DESCRIPTION = "Memory Management Debugger" +HOMEPAGE = "http://valgrind.org/" +SECTION = "Development/Tools/Debuggers" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by valgrind-devel +PROVIDES += "valgrind-devel" +RPROVIDES_valgrind-devel += "valgrind-devel" +RPROVIDES_valgrind-devel += "valgrind-dev" + +#PROVIDES by valgrind +PROVIDES += "valgrind" +RPROVIDES_valgrind += "valgrind" + +#PROVIDES by valgrind-docs +PROVIDES += "valgrind-docs " +RPROVIDES_valgrind-docs += "valgrind-docs " + +RDEPENDS = "" +#RDEPENDS of valgrind-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "valgrind" + + +DEPENDS = "" +#DEPENDS of valgrind +DEPENDS += "gcc-cross" +DEPENDS += "docbook-4" +DEPENDS += "automake-native" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "libxslt" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/valgrind.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2" + export CXXFLAGS="-O2" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-only64bit + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # extra documentation available online + rm -rf ${D}/usr/share/doc/valgrind + + + +} + +PACKAGES = "" +PACKAGES += "valgrind-devel" +PACKAGES += "valgrind" +PACKAGES += "valgrind-docs" + +valgrind-devel_files = "" +valgrind-devel_files += "valgrind.manifest" +valgrind-devel_files += "/usr/include/valgrind" +valgrind-devel_files += "/usr/lib/pkgconfig/valgrind.pc" + +valgrind_files = "" +valgrind_files += "valgrind.manifest" +valgrind_files += "/usr/bin/*" +valgrind_files += "/usr/lib/valgrind" +valgrind_files += "/usr/lib/valgrind/*-amd64-linux" +valgrind_files += "/usr/lib/valgrind/*-linux.so" +valgrind_files += "/usr/lib/valgrind/*.supp" +valgrind_files += "/usr/lib/valgrind/32bit-core-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/32bit-core.xml" +valgrind_files += "/usr/lib/valgrind/32bit-linux-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/32bit-linux.xml" +valgrind_files += "/usr/lib/valgrind/32bit-sse-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/32bit-sse.xml" +valgrind_files += "/usr/lib/valgrind/64bit-avx-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/64bit-avx-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/64bit-avx.xml" +valgrind_files += "/usr/lib/valgrind/64bit-core-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/64bit-core.xml" +valgrind_files += "/usr/lib/valgrind/64bit-linux-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/64bit-linux.xml" +valgrind_files += "/usr/lib/valgrind/64bit-sse-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/64bit-sse.xml" +valgrind_files += "/usr/lib/valgrind/amd64-avx-coresse-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/amd64-avx-coresse.xml" +valgrind_files += "/usr/lib/valgrind/amd64-avx-linux-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/amd64-avx-linux.xml" +valgrind_files += "/usr/lib/valgrind/amd64-coresse-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/amd64-linux-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/arm-core-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/arm-core.xml" +valgrind_files += "/usr/lib/valgrind/arm-vfpv3-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/arm-vfpv3.xml" +valgrind_files += "/usr/lib/valgrind/arm-with-vfpv3-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/arm-with-vfpv3.xml" +valgrind_files += "/usr/lib/valgrind/i386-coresse-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/i386-linux-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/mips-cp0-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/mips-cp0-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/mips-cp0.xml" +valgrind_files += "/usr/lib/valgrind/mips-cpu-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/mips-cpu-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/mips-cpu.xml" +valgrind_files += "/usr/lib/valgrind/mips-fpu-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/mips-fpu-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/mips-fpu.xml" +valgrind_files += "/usr/lib/valgrind/mips-linux-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/mips-linux.xml" +valgrind_files += "/usr/lib/valgrind/power-altivec-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/power-altivec.xml" +valgrind_files += "/usr/lib/valgrind/power-core-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/power-core-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/power-core.xml" +valgrind_files += "/usr/lib/valgrind/power-fpu-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/power-fpu.xml" +valgrind_files += "/usr/lib/valgrind/power-linux-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/power-linux.xml" +valgrind_files += "/usr/lib/valgrind/power64-core-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/power64-core.xml" +valgrind_files += "/usr/lib/valgrind/power64-linux-valgrind-s*.xml" +valgrind_files += "/usr/lib/valgrind/power64-linux.xml" +valgrind_files += "/usr/lib/valgrind/powerpc-altivec32l-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/powerpc-altivec32l.xml" +valgrind_files += "/usr/lib/valgrind/powerpc-altivec64l-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/powerpc-altivec64l.xml" +valgrind_files += "/usr/lib/valgrind/s390-acr-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/s390-acr-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/s390-acr.xml" +valgrind_files += "/usr/lib/valgrind/s390-fpr-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/s390-fpr-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/s390-fpr.xml" +valgrind_files += "/usr/lib/valgrind/s390x-core64-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/s390x-core64-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/s390x-core64.xml" +valgrind_files += "/usr/lib/valgrind/s390x-generic-valgrind.xml" +valgrind_files += "/usr/lib/valgrind/s390x-generic.xml" +valgrind_files += "/usr/lib/valgrind/s390x-linux64-valgrind-s1.xml" +valgrind_files += "/usr/lib/valgrind/s390x-linux64-valgrind-s2.xml" +valgrind_files += "/usr/lib/valgrind/s390x-linux64.xml" + +valgrind-docs_files = "" +valgrind-docs_files += "/usr/share/info" +valgrind-docs_files += "/usr/share/man" + +FILES_${PN}-devel = "${valgrind-devel_files}" +FILES_${PN} = "${valgrind_files}" +FILES_${PN}-docs = "${valgrind-docs_files}" + +PKG_valgrind-devel= "valgrind-devel" +PKG_valgrind= "valgrind" +PKG_valgrind-docs= "valgrind-docs" + +require valgrind-extraconf.inc diff --git a/meta-tizen/recipes-tizen/valgrind/valgrind_git.bb b/meta-tizen/recipes-tizen/valgrind/valgrind_git.bb new file mode 100644 index 0000000..7bd8704 --- /dev/null +++ b/meta-tizen/recipes-tizen/valgrind/valgrind_git.bb @@ -0,0 +1,8 @@ +require valgrind.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/valgrind;protocol=ssh;tag=8736ad8d45f3459c3d0ec6e75c0aefbfcaa005d6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-extraconf.inc b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-native_git.bb b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-native_git.bb new file mode 100644 index 0000000..4dddb52 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys-native_git.bb @@ -0,0 +1,12 @@ +require vconf-internal-keys.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-internal-keys;protocol=ssh;tag=9d1f756ba5062a60eeea11cf0b2b7fd60461bcf5;nobranch=1" + 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 new file mode 100644 index 0000000..d227c67 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Internal shared keys for vconf" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Development" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by vconf-internal-keys +PROVIDES += "vconf-internal-keys" +RPROVIDES_vconf-internal-keys += "vconf-internal-keys" + +#PROVIDES by vconf-internal-keys-devel +PROVIDES += "vconf-internal-keys-devel" +RPROVIDES_vconf-internal-keys-devel += "vconf-internal-keys-devel" +RPROVIDES_vconf-internal-keys-devel += "vconf-internal-keys-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of vconf-internal-keys +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/vconf-internal-keys.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "vconf-internal-keys-devel" + +vconf-internal-keys-devel_files = "" +vconf-internal-keys-devel_files += "vconf-internal-keys.manifest" +vconf-internal-keys-devel_files += "/usr/include/vconf/*" +vconf-internal-keys-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN}-devel = "${vconf-internal-keys-devel_files}" + +PKG_vconf-internal-keys-devel= "vconf-internal-keys-devel" + +require vconf-internal-keys-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys_git.bb b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys_git.bb new file mode 100644 index 0000000..aca1288 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf-internal-keys/vconf-internal-keys_git.bb @@ -0,0 +1,8 @@ +require vconf-internal-keys.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-internal-keys;protocol=ssh;tag=9d1f756ba5062a60eeea11cf0b2b7fd60461bcf5;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc b/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vconf/vconf-native_git.bb b/meta-tizen/recipes-tizen/vconf/vconf-native_git.bb new file mode 100644 index 0000000..e6cbfa1 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf/vconf-native_git.bb @@ -0,0 +1,12 @@ +require vconf.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf;protocol=ssh;tag=5cdc2874cdc9b3cdcdb2289330403f192fcdfae0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vconf/vconf.inc b/meta-tizen/recipes-tizen/vconf/vconf.inc new file mode 100644 index 0000000..9f43810 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf/vconf.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Configuration system library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by vconf-keys-devel +PROVIDES += "vconf-keys-devel" +RPROVIDES_vconf-keys-devel += "vconf-keys-devel" +RPROVIDES_vconf-keys-devel += "vconf-keys-dev" + +#PROVIDES by vconf +PROVIDES += "vconf" +RPROVIDES_vconf += "vconf" + +#PROVIDES by vconf-devel +PROVIDES += "vconf-devel" +RPROVIDES_vconf-devel += "vconf-devel" +RPROVIDES_vconf-devel += "vconf-dev" + +RDEPENDS = "" +#RDEPENDS of vconf-keys-devel (${PN}-keys-devel) +RDEPENDS_${PN}-keys-devel += "vconf" +RDEPENDS_${PN}-keys-devel += "vconf-internal-keys-dev" + +#RDEPENDS of vconf (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "/sbin/ldconfig" + +#RDEPENDS of vconf-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "pkgconfig(glib-2.0)" +RDEPENDS_${PN}-devel += "vconf-keys-dev" +RDEPENDS_${PN}-devel += "vconf" + + +DEPENDS = "" +#DEPENDS of vconf +DEPENDS += "pkgconfig(vconf-internal-keys)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "cmake" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n vconf-0.2.45 + cp ${S}/packaging/vconf.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/opt/var/kdb/db + mkdir -p ${D}/opt/var/kdb/db/.backup + mkdir -p ${D}/lib/systemd/system/basic.target.wants + mkdir -p ${D}/usr/lib/tmpfiles.d + install -m0644 ${S}/packaging/vconf-setup.service ${D}/lib/systemd/system/ + install -m0644 ${S}/packaging/vconf-setup.conf ${D}/usr/lib/tmpfiles.d/ + ln -sf ../vconf-setup.service ${D}/lib/systemd/system/basic.target.wants/ + + +} + +PACKAGES = "" +PACKAGES += "vconf-keys-devel" +PACKAGES += "vconf" +PACKAGES += "vconf-devel" + +vconf-keys-devel_files = "" +vconf-keys-devel_files += "vconf.manifest" +vconf-keys-devel_files += "/usr/include/vconf/vconf-keys.h" + +vconf_files = "" +vconf_files += "vconf.manifest" +vconf_files += "/usr/bin/vconftool" +vconf_files += "/usr/bin/vconf-init" +vconf_files += "/usr/lib/*.so.*" +#Remove rpm attribut "%attr(777,root,root)" +vconf_files += "/opt/var/kdb/db" +#Remove rpm attribut "%attr(777,root,root)" +vconf_files += "/opt/var/kdb/db/.backup" +vconf_files += "/lib/systemd/system/basic.target.wants/vconf-setup.service" +vconf_files += "/lib/systemd/system/vconf-setup.service" +vconf_files += "/usr/lib/tmpfiles.d/vconf-setup.conf" + +vconf-devel_files = "" +vconf-devel_files += "vconf.manifest" +vconf-devel_files += "/usr/include/vconf/vconf.h" +vconf-devel_files += "/usr/lib/pkgconfig/*.pc" +vconf-devel_files += "/usr/lib/*.so" + +FILES_${PN}-keys-devel = "${vconf-keys-devel_files}" +FILES_${PN} = "${vconf_files}" +FILES_${PN}-devel = "${vconf-devel_files}" + +PKG_vconf-keys-devel= "vconf-keys-devel" +PKG_vconf= "vconf" +PKG_vconf-devel= "vconf-devel" + +require vconf-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vconf/vconf_git.bb b/meta-tizen/recipes-tizen/vconf/vconf_git.bb new file mode 100644 index 0000000..7b9f429 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconf/vconf_git.bb @@ -0,0 +1,8 @@ +require vconf.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf;protocol=ssh;tag=5cdc2874cdc9b3cdcdb2289330403f192fcdfae0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vconfig/vconfig-extraconf.inc b/meta-tizen/recipes-tizen/vconfig/vconfig-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vconfig/vconfig-native_git.bb b/meta-tizen/recipes-tizen/vconfig/vconfig-native_git.bb new file mode 100644 index 0000000..7324dbc --- /dev/null +++ b/meta-tizen/recipes-tizen/vconfig/vconfig-native_git.bb @@ -0,0 +1,12 @@ +require vconfig.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vconfig;protocol=ssh;tag=c731d4716a6d500758e6dfffa0e3f3764466702a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vconfig/vconfig.inc b/meta-tizen/recipes-tizen/vconfig/vconfig.inc new file mode 100644 index 0000000..9284e71 --- /dev/null +++ b/meta-tizen/recipes-tizen/vconfig/vconfig.inc @@ -0,0 +1,78 @@ +DESCRIPTION = "Linux 802.1q VLAN configuration utility" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Base" +LICENSE = "GPLv2+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by vconfig +PROVIDES += "vconfig" +RPROVIDES_vconfig += "vconfig" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n vlan.1.9 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cp ${S}/packaging/vconfig.manifest . + make clean + rm -f vconfig + make CCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" STRIP=/bin/true vconfig + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${RPM_BUILD_ROOT} + /bin/install -D -m755 vconfig ${RPM_BUILD_ROOT}/sbin/vconfig + /bin/install -D -m644 vconfig.8 ${RPM_BUILD_ROOT}/usr/share/man/man8/vconfig.8 + rm -rf contrib/CVS + + +} + +PACKAGES = "" +PACKAGES += "vconfig" + +vconfig_files = "" +vconfig_files += "vconfig.manifest" +vconfig_files += "vconfig.manifest" +vconfig_files += "CHANGELOG contrib README vlan.html vlan_test.pl" +vconfig_files += "/sbin/vconfig" +vconfig_files += "/usr/share/man/man8/vconfig.8*" + +FILES_${PN} = "${vconfig_files}" + +PKG_vconfig= "vconfig" + +require vconfig-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vconfig/vconfig_git.bb b/meta-tizen/recipes-tizen/vconfig/vconfig_git.bb new file mode 100644 index 0000000..244f07f --- /dev/null +++ b/meta-tizen/recipes-tizen/vconfig/vconfig_git.bb @@ -0,0 +1,8 @@ +require vconfig.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vconfig;protocol=ssh;tag=c731d4716a6d500758e6dfffa0e3f3764466702a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/videoproto/videoproto-extraconf.inc b/meta-tizen/recipes-tizen/videoproto/videoproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/videoproto/videoproto-native_git.bb b/meta-tizen/recipes-tizen/videoproto/videoproto-native_git.bb new file mode 100644 index 0000000..faf5ec1 --- /dev/null +++ b/meta-tizen/recipes-tizen/videoproto/videoproto-native_git.bb @@ -0,0 +1,12 @@ +require videoproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/videoproto;protocol=ssh;tag=bff9526e9310b2f7dabced77071f4f0fdfb2bd9f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/videoproto/videoproto.inc b/meta-tizen/recipes-tizen/videoproto/videoproto.inc new file mode 100644 index 0000000..18f9243 --- /dev/null +++ b/meta-tizen/recipes-tizen/videoproto/videoproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by videoproto +PROVIDES += "videoproto" +RPROVIDES_videoproto += "videoproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of videoproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/videoproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/videoproto + rm -rf ${D}/usr/share/doc/videoproto-2.3.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "videoproto" + +videoproto_files = "" +videoproto_files += "videoproto.manifest" +videoproto_files += "/usr/include/X11/extensions/*.h" +videoproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${videoproto_files}" + +PKG_videoproto= "videoproto" + +require videoproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/videoproto/videoproto_git.bb b/meta-tizen/recipes-tizen/videoproto/videoproto_git.bb new file mode 100644 index 0000000..6b4a351 --- /dev/null +++ b/meta-tizen/recipes-tizen/videoproto/videoproto_git.bb @@ -0,0 +1,8 @@ +require videoproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/videoproto;protocol=ssh;tag=bff9526e9310b2f7dabced77071f4f0fdfb2bd9f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vim/vim-extraconf.inc b/meta-tizen/recipes-tizen/vim/vim-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vim/vim-native_git.bb b/meta-tizen/recipes-tizen/vim/vim-native_git.bb new file mode 100644 index 0000000..8da332f --- /dev/null +++ b/meta-tizen/recipes-tizen/vim/vim-native_git.bb @@ -0,0 +1,12 @@ +require vim.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vim;protocol=ssh;tag=1149cc7a3c7ba6bc92c28bf200495f938d3eca8a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vim/vim.inc b/meta-tizen/recipes-tizen/vim/vim.inc new file mode 100644 index 0000000..d6428c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/vim/vim.inc @@ -0,0 +1,470 @@ +DESCRIPTION = "Vi IMproved" +HOMEPAGE = "http://www.vim.org/" +SECTION = "Base/Utilities" +LICENSE = "Vim" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by vim-data +PROVIDES += "vim-data" +RPROVIDES_vim-data += "vim-data" + +#PROVIDES by vim-base +PROVIDES += "vim-base" +RPROVIDES_vim-base += "vim-base" + +#PROVIDES by vim-enhanced +PROVIDES += "vim-enhanced" +RPROVIDES_vim-enhanced += "vim-enhanced" +# the PROVIDES rules is ignore "vi " +PROVIDES += "vi" +RPROVIDES_vim-enhanced += "vi" +# the PROVIDES rules is ignore "vim_client " +PROVIDES += "vim_client" +RPROVIDES_vim-enhanced += "vim_client" + +#PROVIDES by vim-docs +PROVIDES += "vim-docs " +RPROVIDES_vim-docs += "vim-docs " + +#PROVIDES by vim +PROVIDES += "vim" +RPROVIDES_vim += "vim" +# the PROVIDES rules is ignore "vi " +PROVIDES += "vi" +RPROVIDES_vim += "vi" +# the PROVIDES rules is ignore "vim_client " +PROVIDES += "vim_client" +RPROVIDES_vim += "vim_client" + +RDEPENDS = "" +#RDEPENDS of vim-data (${PN}-data) +RDEPENDS_${PN}-data += "vim-base" + +#RDEPENDS of vim-base (${PN}-base) +RDEPENDS_${PN}-base += "vim-base" +RDEPENDS_${PN}-base += "update-alternatives" + +#RDEPENDS of vim (${PN}) +RDEPENDS_${PN} += "vim-base" +RDEPENDS_${PN} += "update-alternatives" + +#RDEPENDS of vim-enhanced (${PN}-enhanced) +RDEPENDS_${PN}-enhanced += "vim-data" +RDEPENDS_${PN}-enhanced += "vim-base" +RDEPENDS_${PN}-enhanced += "update-alternatives" +RDEPENDS_${PN}-enhanced += "perl" + + +DEPENDS = "" +#DEPENDS of vim +DEPENDS += "systemd" +DEPENDS += "fdupes-native" +DEPENDS += "attr" +DEPENDS += "ncurses" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +inherit perlnative +inherit pythonnative +DEPENDS += "autoconf-native" +DEPENDS += "db4" + +do_patch() { + #extracte source 98 + pushd ${S}/../ + unp ${S}/packaging/vim-7.4-patches.tar.bz2 + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n vim74 -b 98 + cp ${S}/packaging/vim.manifest . + for p in ../vim-7.4-patches/7.4*; do + test -e $p || break + test ${p#*/7.4.} -le 155 || exit 1 + echo Patch $p + patch -s -p0 < $p + done + unset p + cp ${S}/packaging/tizen.vimrc . + + # newer perl? ugly hack to fix build anyway. + sed -i -e 's/^XS(XS_/XS_INTERNAL(XS_/' src/if_perl.xs + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -pipe -fno-strict-aliasing" + export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1} + + export COMMON_OPTIONS="\ + --disable-selinux \ + --enable-smack \ + --with-vim-name=vim \ + --with-ex-name=ex \ + --with-view-name=view \ + --enable-cscope \ + --enable-multibyte \ + --enable-sniff \ + --with-features=huge \ + --with-compiledby='http://www.tizen.org/' \ + --with-tlib=tinfo \ + --with-global-runtime=/usr/share/vim/site" + export SCRIPT_OPTIONS="\ + --enable-perlinterp \ + --enable-pythoninterp \ + --with-python-config-dir=/usr/lib/python2.7/config" + + pushd src + autoconf + popd + # + # build small default binary + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + ${COMMON_OPTIONS} --disable-gui --without-x --disable-gpm \ + --disable-perlinterp --disable-pythoninterp \ + --disable-rubyinterp --disable-tclinterp + sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h + make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" -j16 + cp src/vim vim-normal + make distclean + # + # build enhanced binary + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info ${COMMON_OPTIONS} ${SCRIPT_OPTIONS} --disable-gui + sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h + make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" -j16 + cp src/vim vim-enhanced + #make distclean + # + # + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # create icon directory to have the icon from the tarball installed + install -d -m 0755 ${D}/usr/share/icons/hicolor/48x48/apps + + cd src + make install DESTDIR=${D} BINDIR=/usr/bin VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/site + cd .. + + # install the other binaries + install -D -m 0755 vim-normal ${D}//usr/bin/vim-normal + install -D -m 0755 vim-enhanced ${D}/usr/bin/vim-enhanced + + # compat symlinks + # we need a dummy target for /etc/alternatives/vim + mkdir -p ${D}/etc/alternatives + touch ${D}/etc/alternatives/vim + ln -s -f /etc/alternatives/vim ${D}//usr/bin/vim + + ln -s -f vim ${D}/usr/bin/vi + ln -s -f vim ${D}/usr/bin/edit + ln -s -f vim ${D}//usr/bin/ex + + # man pages + mkdir -p ${D}/usr/share/man/man1 + ln -s -f vim.1.gz ${D}/usr/share/man/man1/vi.1.gz + ln -s -f vim.1.gz ${D}/usr/share/man/man1/ex.1.gz + + + # make the vim settings more generic + ln -s -f vim74 ${D}/usr/share/vim/current + + # additional files + install -D -m 0644 ${S}/packaging/tizen.vimrc ${D}/etc/vimrc + + # create site wide runtime directory + mkdir -p -m 0755 ${D}/usr/share/vim/site/after + mkdir -m 0755 ${D}/usr/share/vim/site/autoload + mkdir -m 0755 ${D}/usr/share/vim/site/colors + mkdir -m 0755 ${D}/usr/share/vim/site/doc + mkdir -m 0755 ${D}/usr/share/vim/site/plugin + mkdir -m 0755 ${D}/usr/share/vim/site/syntax + mkdir -m 0755 ${D}/usr/share/vim/site/ftdetect + mkdir -m 0755 ${D}/usr/share/vim/site/after/syntax + mkdir -m 0755 ${D}/usr/share/vim/current/skeletons + mkdir -m 0755 ${D}/etc/skel + + + # + # documentation + install -d -m 0755 ${D}/usr/share/doc/packages/{,g}vim/ + cp runtime/doc/uganda.txt LICENSE + install -D -m 0644 \ + tizen.vimrc \ + README.txt README_src.txt README_unix.txt \ + ${D}/usr/share/doc/packages/vim/ + # + # remove unecessary duplicate manpages + rm -rf ${D}/usr/share/man/fr.ISO8859-1/ + rm -rf ${D}/usr/share/man/fr.UTF-8/ + rm -rf ${D}/usr/share/man/pl.ISO8859-2/ + rm -rf ${D}/usr/share/man/pl.UTF-8/ + rm -rf ${D}/usr/share/man/ru.KOI8-R/ + rm -rf ${D}/usr/share/man/it.ISO8859-1/ + rm -rf ${D}/usr/share/man/it.UTF-8/ + rm -rf ${D}/usr/share/man/ru.UTF-8 + # and move russian manpages to a place where they can be found + rm -rf ${D}/usr/share/man/{fr,it,pl,ru,ja} + + + # remove some c source files + rm -f ${D}/usr/share/vim/vim74/tools/*.c + rm -f ${D}/usr/share/vim/vim74/macros/maze/*.c + # + # Create ghost files (see vim.conf) + mkdir -p ${D}/var/run/vi.recover + rm -rf ${D}/usr/share/icons/hicolor/48x48/apps + + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}/usr/share/vim/vim74/lang | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}/usr/share/vim/vim74/tutor | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}/usr/share/vim/vim74/ftplugin | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "vim-data" +PACKAGES += "vim-base" +PACKAGES += "vim" +PACKAGES += "vim-docs" +PACKAGES += "vim-enhanced" + +vim-data_files = "" +vim-data_files += "vim.manifest" +vim-data_files += "/usr/share/vim/vim74/autoload/*" +vim-data_files += "/usr/share/vim/vim74/colors/*" +vim-data_files += "/usr/share/vim/vim74/compiler/*" +vim-data_files += "/usr/share/vim/vim74/doc/*" +vim-data_files += "/usr/share/vim/vim74/ftplugin/*" +vim-data_files += "/usr/share/vim/vim74/indent/*" +vim-data_files += "/usr/share/vim/vim74/keymap/*" +vim-data_files += "/usr/share/vim/vim74/lang/*" +vim-data_files += "/usr/share/vim/vim74/macros/*" +vim-data_files += "/usr/share/vim/vim74/plugin/*" +vim-data_files += "/usr/share/vim/vim74/print/*" +vim-data_files += "/usr/share/vim/vim74/spell/*" +vim-data_files += "/usr/share/vim/vim74/syntax/*" +vim-data_files += "/usr/share/vim/vim74/tools/ccfilter.1" +vim-data_files += "/usr/share/vim/vim74/tools/ccfilter_README.txt" +vim-data_files += "/usr/share/vim/vim74/tools/efm_filter.pl" +vim-data_files += "/usr/share/vim/vim74/tools/efm_filter.txt" +vim-data_files += "/usr/share/vim/vim74/tools/efm_perl.pl" +vim-data_files += "/usr/share/vim/vim74/tools/mve.awk" +vim-data_files += "/usr/share/vim/vim74/tools/mve.txt" +vim-data_files += "/usr/share/vim/vim74/tools/pltags.pl" +vim-data_files += "/usr/share/vim/vim74/tools/README.txt" +vim-data_files += "/usr/share/vim/vim74/tools/ref" +vim-data_files += "/usr/share/vim/vim74/tools/shtags.1" +vim-data_files += "/usr/share/vim/vim74/tools/shtags.pl" +vim-data_files += "/usr/share/vim/vim74/tools/unicode.vim" +vim-data_files += "/usr/share/vim/vim74/tools/vimm" +vim-data_files += "/usr/share/vim/vim74/tools/vimspell.sh" +vim-data_files += "/usr/share/vim/vim74/tools/vimspell.txt" +vim-data_files += "/usr/share/vim/vim74/tools/vim_vs_net.cmd" +vim-data_files += "/usr/share/vim/vim74/tutor/*" +vim-data_files += "/usr/share/vim/vim74/delmenu.vim" +vim-data_files += "/usr/share/vim/vim74/menu.vim" +vim-data_files += "/usr/share/vim/vim74/mswin.vim" +vim-data_files += "/usr/share/vim/vim74/synmenu.vim" +vim-data_files += "/usr/share/vim/vim74/gvimrc_example.vim" +vim-data_files += "/usr/share/vim/vim74/vimrc_example.vim" + +vim-base_files = "" +vim-base_files += "vim.manifest" +vim-base_files += "/etc/vimrc" +vim-base_files += "/usr/bin/edit" +vim-base_files += "/usr/bin/ex" +vim-base_files += "/usr/bin/rview" +vim-base_files += "/usr/bin/rvim" +vim-base_files += "/usr/bin/vi" +vim-base_files += "/usr/bin/vim" +vim-base_files += "/usr/bin/view" +vim-base_files += "/usr/bin/vimdiff" +vim-base_files += "/usr/bin/vimtutor" +vim-base_files += "/usr/bin/xxd" +vim-base_files += "/usr/share/doc/packages/vim" +vim-base_files += "/usr/share/vim/current" +vim-base_files += "/usr/share/vim/" +vim-base_files += "/usr/share/vim/vim74/" +vim-base_files += "/usr/share/vim/vim74/autoload/" +vim-base_files += "/usr/share/vim/vim74/colors/" +vim-base_files += "/usr/share/vim/vim74/compiler/" +vim-base_files += "/usr/share/vim/vim74/doc/" +vim-base_files += "/usr/share/vim/vim74/ftplugin/" +vim-base_files += "/usr/share/vim/vim74/indent/" +vim-base_files += "/usr/share/vim/vim74/keymap/" +vim-base_files += "/usr/share/vim/vim74/lang/" +vim-base_files += "/usr/share/vim/vim74/macros/" +vim-base_files += "/usr/share/vim/vim74/plugin/" +vim-base_files += "/usr/share/vim/vim74/print/" +vim-base_files += "/usr/share/vim/vim74/spell/" +vim-base_files += "/usr/share/vim/vim74/syntax/" +vim-base_files += "/usr/share/vim/vim74/tools/" +vim-base_files += "/usr/share/vim/vim74/tutor/" +vim-base_files += "/usr/share/vim/vim74/skeletons/" +vim-base_files += "/usr/share/vim/site" +vim-base_files += "/usr/share/vim/site/autoload/" +vim-base_files += "/usr/share/vim/site/colors/" +vim-base_files += "/usr/share/vim/site/doc/" +vim-base_files += "/usr/share/vim/site/plugin/" +vim-base_files += "/usr/share/vim/site/syntax/" +vim-base_files += "/usr/share/vim/site/ftdetect/" +vim-base_files += "/usr/share/vim/site/after/" +vim-base_files += "/usr/share/vim/site/after/syntax/" +vim-base_files += "/usr/share/vim/vim74/bugreport.vim" +vim-base_files += "/usr/share/vim/vim74/evim.vim" +vim-base_files += "/usr/share/vim/vim74/filetype.vim" +vim-base_files += "/usr/share/vim/vim74/ftoff.vim" +vim-base_files += "/usr/share/vim/vim74/ftplugin.vim" +vim-base_files += "/usr/share/vim/vim74/ftplugof.vim" +vim-base_files += "/usr/share/vim/vim74/indent.vim" +vim-base_files += "/usr/share/vim/vim74/indoff.vim" +vim-base_files += "/usr/share/vim/vim74/optwin.vim" +vim-base_files += "/usr/share/vim/vim74/scripts.vim" +vim-base_files += "/usr/share/vim/vim74/syntax/syntax.vim" + +vim_files = "" +vim_files += "vim.manifest" +vim_files += "/usr/bin/vim-normal" + +vim-docs_files = "" +vim-docs_files += "/usr/share/info" +vim-docs_files += "/usr/share/man" + +vim-enhanced_files = "" +vim-enhanced_files += "vim.manifest" +vim-enhanced_files += "/usr/bin/vim-enhanced" + +FILES_${PN}-data = "${vim-data_files}" +FILES_${PN}-base = "${vim-base_files}" +FILES_${PN} = "${vim_files}" +FILES_${PN}-docs = "${vim-docs_files}" +FILES_${PN}-enhanced = "${vim-enhanced_files}" + +PKG_vim-data= "vim-data" +PKG_vim-base= "vim-base" +PKG_vim= "vim" +PKG_vim-docs= "vim-docs" +PKG_vim-enhanced= "vim-enhanced" + +require vim-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vim/vim_git.bb b/meta-tizen/recipes-tizen/vim/vim_git.bb new file mode 100644 index 0000000..8194269 --- /dev/null +++ b/meta-tizen/recipes-tizen/vim/vim_git.bb @@ -0,0 +1,8 @@ +require vim.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vim;protocol=ssh;tag=1149cc7a3c7ba6bc92c28bf200495f938d3eca8a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vpnc/vpnc-extraconf.inc b/meta-tizen/recipes-tizen/vpnc/vpnc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/vpnc/vpnc-native_git.bb b/meta-tizen/recipes-tizen/vpnc/vpnc-native_git.bb new file mode 100644 index 0000000..16514ff7 --- /dev/null +++ b/meta-tizen/recipes-tizen/vpnc/vpnc-native_git.bb @@ -0,0 +1,12 @@ +require vpnc.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vpnc;protocol=ssh;tag=d12c99e3b5070aa1af805c49f5e514f99c459f79;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/vpnc/vpnc.inc b/meta-tizen/recipes-tizen/vpnc/vpnc.inc new file mode 100644 index 0000000..efd65b3 --- /dev/null +++ b/meta-tizen/recipes-tizen/vpnc/vpnc.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "A Client for Cisco VPN concentrator" +HOMEPAGE = "http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel" +SECTION = "Networking/Security" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by vpnc +PROVIDES += "vpnc" +RPROVIDES_vpnc += "vpnc" + +RDEPENDS = "" +#RDEPENDS of vpnc (${PN}) +RDEPENDS_${PN} += "/usr/sbin/ip" +RDEPENDS_${PN} += "/usr/bin/sed" + + +DEPENDS = "" +#DEPENDS of vpnc +DEPENDS += "gnutls" +DEPENDS += "libgcrypt" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n vpnc + cp ${S}/packaging/vpnc.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + make PREFIX=/usr + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${RPM_BUILD_ROOT}//var/run/vpnc + oe_runmake install \ + DESTDIR=${RPM_BUILD_ROOT} \ + PREFIX=/usr + rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc + mkdir -p ${RPM_BUILD_ROOT}//etc/tmpfiles.d + install -m 0644 ${S}/packaging/vpnc.conf ${RPM_BUILD_ROOT}//etc/tmpfiles.d/ + + +} + +PACKAGES = "" +PACKAGES += "vpnc" + +vpnc_files = "" +vpnc_files += "vpnc.manifest" +vpnc_files += "/etc/tmpfiles.d" +vpnc_files += "/etc/tmpfiles.d/vpnc.conf" +vpnc_files += "/etc/vpnc" +vpnc_files += "/etc/vpnc/vpnc-script" +vpnc_files += "/usr/sbin/vpnc" +vpnc_files += "/usr/sbin/vpnc-disconnect" +vpnc_files += "/usr/bin/cisco-decrypt" +vpnc_files += "/usr/bin/pcf2vpnc" +vpnc_files += "/usr/share/man/man1/cisco-decrypt.1.*" +vpnc_files += "/usr/share/man/man1/pcf2vpnc.1.*" +vpnc_files += "/usr/share/man/man8/vpnc.8.*" + +FILES_${PN} = "${vpnc_files}" + +PKG_vpnc= "vpnc" + +require vpnc-extraconf.inc diff --git a/meta-tizen/recipes-tizen/vpnc/vpnc_git.bb b/meta-tizen/recipes-tizen/vpnc/vpnc_git.bb new file mode 100644 index 0000000..3059d95 --- /dev/null +++ b/meta-tizen/recipes-tizen/vpnc/vpnc_git.bb @@ -0,0 +1,8 @@ +require vpnc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vpnc;protocol=ssh;tag=d12c99e3b5070aa1af805c49f5e514f99c459f79;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wav-player/wav-player-extraconf.inc b/meta-tizen/recipes-tizen/wav-player/wav-player-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wav-player/wav-player-native_git.bb b/meta-tizen/recipes-tizen/wav-player/wav-player-native_git.bb new file mode 100644 index 0000000..1c956df --- /dev/null +++ b/meta-tizen/recipes-tizen/wav-player/wav-player-native_git.bb @@ -0,0 +1,12 @@ +require wav-player.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;protocol=ssh;tag=4a4da55395bef33c87ea8a0704d19dda43073cb1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wav-player/wav-player.inc b/meta-tizen/recipes-tizen/wav-player/wav-player.inc new file mode 100644 index 0000000..6348c69 --- /dev/null +++ b/meta-tizen/recipes-tizen/wav-player/wav-player.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "A wav player library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-media-wav-player-devel +PROVIDES += "capi-media-wav-player-devel" +RPROVIDES_capi-media-wav-player-devel += "capi-media-wav-player-devel" +RPROVIDES_capi-media-wav-player-devel += "capi-media-wav-player-dev" + +#PROVIDES by capi-media-wav-player +PROVIDES += "capi-media-wav-player" +RPROVIDES_capi-media-wav-player += "capi-media-wav-player" + +RDEPENDS = "" +#RDEPENDS of capi-media-wav-player-devel (capi-media-${PN}-devel) +RDEPENDS_capi-media-${PN}-devel += "capi-media-wav-player" + + +DEPENDS = "" +#DEPENDS of capi-media-wav-player +DEPENDS += "pkgconfig(capi-media-sound-manager)" +DEPENDS += "libmm-sound" +DEPENDS += "cmake" +DEPENDS += "common" +DEPENDS += "dlog" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-wav-player.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-media-wav-player-devel" +PACKAGES += "capi-media-wav-player" + +capi-media-wav-player-devel_files = "" +capi-media-wav-player-devel_files += "capi-media-wav-player.manifest" +capi-media-wav-player-devel_files += "/usr/include/media/*.h" +capi-media-wav-player-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-media-wav-player-devel_files += "/usr/lib/libcapi-media-wav-player.so" + +capi-media-wav-player_files = "" +capi-media-wav-player_files += "capi-media-wav-player.manifest" +capi-media-wav-player_files += "/usr/lib/libcapi-media-wav-player.so.*" +capi-media-wav-player_files += "capi-media-wav-player.manifest" + +FILES_${PN}-devel = "${capi-media-wav-player-devel_files}" +FILES_${PN} = "${capi-media-wav-player_files}" + +PKG_capi-media-wav-player-devel= "capi-media-wav-player-devel" +PKG_capi-media-wav-player= "capi-media-wav-player" + +require wav-player-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wav-player/wav-player_git.bb b/meta-tizen/recipes-tizen/wav-player/wav-player_git.bb new file mode 100644 index 0000000..01b6c68 --- /dev/null +++ b/meta-tizen/recipes-tizen/wav-player/wav-player_git.bb @@ -0,0 +1,8 @@ +require wav-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;protocol=ssh;tag=4a4da55395bef33c87ea8a0704d19dda43073cb1;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wayland/wayland-extraconf.inc b/meta-tizen/recipes-tizen/wayland/wayland-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wayland/wayland-native_git.bb b/meta-tizen/recipes-tizen/wayland/wayland-native_git.bb new file mode 100644 index 0000000..b45ddbb --- /dev/null +++ b/meta-tizen/recipes-tizen/wayland/wayland-native_git.bb @@ -0,0 +1,12 @@ +require wayland.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wayland;protocol=ssh;tag=f5cc216efd743aeaa36383a66d1ce6a6f7f48575;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wayland/wayland.inc b/meta-tizen/recipes-tizen/wayland/wayland.inc new file mode 100644 index 0000000..74ea1e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/wayland/wayland.inc @@ -0,0 +1,198 @@ +DESCRIPTION = "Wayland Compositor Infrastructure" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics & UI Framework/Wayland Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wayland +PROVIDES += "wayland" +RPROVIDES_wayland += "wayland" + +#PROVIDES by wayland-devel +PROVIDES += "wayland-devel" +RPROVIDES_wayland-devel += "wayland-devel" +RPROVIDES_wayland-devel += "wayland-dev" + +#PROVIDES by libwayland-cursor +PROVIDES += "libwayland-cursor" +RPROVIDES_libwayland-cursor += "libwayland-cursor" + +#PROVIDES by libwayland-client +PROVIDES += "libwayland-client" +RPROVIDES_libwayland-client += "libwayland-client" + +#PROVIDES by libwayland-server +PROVIDES += "libwayland-server" +RPROVIDES_libwayland-server += "libwayland-server" + +RDEPENDS = "" +#RDEPENDS of wayland-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libwayland-server" +RDEPENDS_${PN}-devel += "libwayland-cursor" +RDEPENDS_${PN}-devel += "libwayland-client" + + +DEPENDS = "" +#DEPENDS of wayland +DEPENDS += "doxygen" +DEPENDS += "pkgconfig(libffi)" +DEPENDS += "expat" +DEPENDS += "automake-native" +DEPENDS += "xz" +DEPENDS += "libtool-cross" +DEPENDS += "autoconf-native" +DEPENDS += "fdupes-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wayland.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}//usr/share/man | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "libwayland-server" +PACKAGES += "wayland-devel" +PACKAGES += "libwayland-client" +PACKAGES += "libwayland-cursor" + +libwayland-server_files = "" +libwayland-server_files += "wayland.manifest" +libwayland-server_files += "/usr/lib/libwayland-server.so.0*" + +wayland-devel_files = "" +wayland-devel_files += "wayland.manifest" +wayland-devel_files += "/usr/bin/wayland-scanner" +wayland-devel_files += "/usr/include/wayland-*.h" +wayland-devel_files += "/usr/lib/libwayland-*.so" +wayland-devel_files += "/usr/lib/pkgconfig/wayland-*.pc" +wayland-devel_files += "/usr/share/pkgconfig/wayland-*.pc" +wayland-devel_files += "/usr/share/wayland/wayland*" +wayland-devel_files += "/usr/share/aclocal" +wayland-devel_files += "/usr/share/man/man3/*" +wayland-devel_files += "README TODO" + +libwayland-client_files = "" +libwayland-client_files += "wayland.manifest" +libwayland-client_files += "/usr/lib/libwayland-client.so.0*" + +libwayland-cursor_files = "" +libwayland-cursor_files += "wayland.manifest" +libwayland-cursor_files += "/usr/lib/libwayland-cursor.so.0*" + +FILES_lib${PN}-server = "${libwayland-server_files}" +FILES_${PN}-devel = "${wayland-devel_files}" +FILES_lib${PN}-client = "${libwayland-client_files}" +FILES_lib${PN}-cursor = "${libwayland-cursor_files}" + +PKG_libwayland-server= "libwayland-server" +PKG_wayland-devel= "wayland-devel" +PKG_libwayland-client= "libwayland-client" +PKG_libwayland-cursor= "libwayland-cursor" + +require wayland-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wayland/wayland_git.bb b/meta-tizen/recipes-tizen/wayland/wayland_git.bb new file mode 100644 index 0000000..f6ee471 --- /dev/null +++ b/meta-tizen/recipes-tizen/wayland/wayland_git.bb @@ -0,0 +1,8 @@ +require wayland.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wayland;protocol=ssh;tag=f5cc216efd743aeaa36383a66d1ce6a6f7f48575;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wdiff/wdiff-extraconf.inc b/meta-tizen/recipes-tizen/wdiff/wdiff-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wdiff/wdiff-native_git.bb b/meta-tizen/recipes-tizen/wdiff/wdiff-native_git.bb new file mode 100644 index 0000000..daa5a59 --- /dev/null +++ b/meta-tizen/recipes-tizen/wdiff/wdiff-native_git.bb @@ -0,0 +1,12 @@ +require wdiff.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wdiff;protocol=ssh;tag=28db84d4a215eec9286339710fadbd5016a3c796;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wdiff/wdiff.inc b/meta-tizen/recipes-tizen/wdiff/wdiff.inc new file mode 100644 index 0000000..d42f4df --- /dev/null +++ b/meta-tizen/recipes-tizen/wdiff/wdiff.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Display Word Differences Between Text Files" +HOMEPAGE = "ftp://mirrors.kernel.org/gnu/wdiff/" +SECTION = "Productivity/Text/Utilities" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wdiff +PROVIDES += "wdiff" +RPROVIDES_wdiff += "wdiff" + +#PROVIDES by wdiff-lang +PROVIDES += "wdiff-lang" +RPROVIDES_wdiff-lang += "wdiff-lang" + +RDEPENDS = "" +#RDEPENDS of wdiff-lang (${PN}-lang) +RDEPENDS_${PN}-lang += "wdiff" + + +DEPENDS = "" +#DEPENDS of wdiff +DEPENDS += "ncurses" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wdiff.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # those autoconf tools never really work, do they? + # error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE + # autoreconf -fi + LIBS=-lncurses \ + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -pipe -DPROTOTYPES" \ + GETOPT="" \ + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make "DESTDIR=${D}" install + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} wdiff-gnulib + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} wdiff + + +} + +PACKAGES = "" +PACKAGES += "wdiff" +PACKAGES += "wdiff-lang" + +wdiff_files = "" +wdiff_files += "wdiff.manifest" +wdiff_files += "/usr/share/info/wdiff.info*" +wdiff_files += "/usr/bin/*" +wdiff_files += "/usr/share/man/man1/*" + +wdiff-lang_files = "" +wdiff-lang_files += "wdiff.manifest" + +FILES_${PN} = "${wdiff_files}" +FILES_${PN}-lang = "${wdiff-lang_files}" + +PKG_wdiff= "wdiff" +PKG_wdiff-lang= "wdiff-lang" + +require wdiff-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wdiff/wdiff_git.bb b/meta-tizen/recipes-tizen/wdiff/wdiff_git.bb new file mode 100644 index 0000000..1f197f9 --- /dev/null +++ b/meta-tizen/recipes-tizen/wdiff/wdiff_git.bb @@ -0,0 +1,8 @@ +require wdiff.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wdiff;protocol=ssh;tag=28db84d4a215eec9286339710fadbd5016a3c796;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-extraconf.inc b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-native_git.bb b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-native_git.bb new file mode 100644 index 0000000..53b9a59 --- /dev/null +++ b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw-native_git.bb @@ -0,0 +1,12 @@ +require web-ui-fw.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/web-ui-fw;protocol=ssh;tag=df41c9dc4ba7e82f138b798debbe1133e329680a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw.inc b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw.inc new file mode 100644 index 0000000..2cfee7c --- /dev/null +++ b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Tizen Web UI Framework Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Other" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by web-ui-fw-demo-tizen-winsets +PROVIDES += "web-ui-fw-demo-tizen-winsets" +RPROVIDES_web-ui-fw-demo-tizen-winsets += "web-ui-fw-demo-tizen-winsets" + +#PROVIDES by web-ui-fw-theme-tizen-black +PROVIDES += "web-ui-fw-theme-tizen-black" +RPROVIDES_web-ui-fw-theme-tizen-black += "web-ui-fw-theme-tizen-black" + +#PROVIDES by web-ui-fw-theme-tizen-gray +PROVIDES += "web-ui-fw-theme-tizen-gray" +RPROVIDES_web-ui-fw-theme-tizen-gray += "web-ui-fw-theme-tizen-gray" + +#PROVIDES by web-ui-fw-theme-default +PROVIDES += "web-ui-fw-theme-default" +RPROVIDES_web-ui-fw-theme-default += "web-ui-fw-theme-default" + +#PROVIDES by web-ui-fw-devel +PROVIDES += "web-ui-fw-devel" +RPROVIDES_web-ui-fw-devel += "web-ui-fw-devel" +RPROVIDES_web-ui-fw-devel += "web-ui-fw-dev" + +#PROVIDES by web-ui-fw +PROVIDES += "web-ui-fw" +RPROVIDES_web-ui-fw += "web-ui-fw" + +#PROVIDES by web-ui-fw-theme-tizen-white +PROVIDES += "web-ui-fw-theme-tizen-white" +RPROVIDES_web-ui-fw-theme-tizen-white += "web-ui-fw-theme-tizen-white" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of web-ui-fw +DEPENDS += "make" +DEPENDS += "nodejs" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/web-ui-fw.manifest ${S}/packaging/web-ui-fw-theme-tizen-white.manifest ${S}/packaging/web-ui-fw-theme-tizen-black.manifest ${S}/packaging/web-ui-fw-theme-default.manifest ${S}/packaging/web-ui-fw-devel.manifest ${S}/packaging/web-ui-fw-demo-tizen-winsets.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make all + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} install + + +} + +PACKAGES = "" +PACKAGES += "web-ui-fw-demo-tizen-winsets" +PACKAGES += "web-ui-fw-theme-tizen-black" +PACKAGES += "web-ui-fw-theme-default" +PACKAGES += "web-ui-fw-devel" +PACKAGES += "web-ui-fw" +PACKAGES += "web-ui-fw-theme-tizen-white" + +web-ui-fw-demo-tizen-winsets_files = "" +web-ui-fw-demo-tizen-winsets_files += "web-ui-fw-demo-tizen-winsets.manifest" +web-ui-fw-demo-tizen-winsets_files += "/usr/share/tizen-web-ui-fw/demos/tizen-winsets" + +web-ui-fw-theme-tizen-black_files = "" +web-ui-fw-theme-tizen-black_files += "web-ui-fw-theme-tizen-black.manifest" +web-ui-fw-theme-tizen-black_files += "/usr/share/tizen-web-ui-fw/*/themes/tizen-black" + +web-ui-fw-theme-default_files = "" +web-ui-fw-theme-default_files += "web-ui-fw-theme-default.manifest" +web-ui-fw-theme-default_files += "/usr/share/tizen-web-ui-fw/*/themes/default" + +web-ui-fw-devel_files = "" +web-ui-fw-devel_files += "web-ui-fw-devel.manifest" +web-ui-fw-devel_files += "/usr/share/tizen-web-ui-fw/bin" +web-ui-fw-devel_files += "/usr/share/tizen-web-ui-fw/template" +web-ui-fw-devel_files += "/usr/share/tizen-web-ui-fw/*/js/src" +web-ui-fw-devel_files += "/usr/share/tizen-web-ui-fw/*/js/depData.json" + +web-ui-fw_files = "" +web-ui-fw_files += "web-ui-fw.manifest" +web-ui-fw_files += "/usr/share/tizen-web-ui-fw/*/js/*.js" +web-ui-fw_files += "/usr/share/tizen-web-ui-fw/*/js/cultures" +web-ui-fw_files += "/usr/share/tizen-web-ui-fw/latest" +web-ui-fw_files += "/usr/share/tizen-web-ui-fw/VERSION" + +web-ui-fw-theme-tizen-white_files = "" +web-ui-fw-theme-tizen-white_files += "web-ui-fw-theme-tizen-white.manifest" +web-ui-fw-theme-tizen-white_files += "/usr/share/tizen-web-ui-fw/*/themes/tizen-white" +web-ui-fw-theme-tizen-white_files += "/usr/share/tizen-web-ui-fw/*/themes/tizen-tizen" + +FILES_${PN}-demo-tizen-winsets = "${web-ui-fw-demo-tizen-winsets_files}" +FILES_${PN}-theme-tizen-black = "${web-ui-fw-theme-tizen-black_files}" +FILES_${PN}-theme-default = "${web-ui-fw-theme-default_files}" +FILES_${PN}-devel = "${web-ui-fw-devel_files}" +FILES_${PN} = "${web-ui-fw_files}" +FILES_${PN}-theme-tizen-white = "${web-ui-fw-theme-tizen-white_files}" + +PKG_web-ui-fw-demo-tizen-winsets= "web-ui-fw-demo-tizen-winsets" +PKG_web-ui-fw-theme-tizen-black= "web-ui-fw-theme-tizen-black" +PKG_web-ui-fw-theme-default= "web-ui-fw-theme-default" +PKG_web-ui-fw-devel= "web-ui-fw-devel" +PKG_web-ui-fw= "web-ui-fw" +PKG_web-ui-fw-theme-tizen-white= "web-ui-fw-theme-tizen-white" + +require web-ui-fw-extraconf.inc diff --git a/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw_git.bb b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw_git.bb new file mode 100644 index 0000000..70a81bf --- /dev/null +++ b/meta-tizen/recipes-tizen/web-ui-fw/web-ui-fw_git.bb @@ -0,0 +1,8 @@ +require web-ui-fw.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/web-ui-fw;protocol=ssh;tag=df41c9dc4ba7e82f138b798debbe1133e329680a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/webkit-efl/webkit-efl-extraconf.inc b/meta-tizen/recipes-tizen/webkit-efl/webkit-efl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/webkit-efl/webkit-efl.inc b/meta-tizen/recipes-tizen/webkit-efl/webkit-efl.inc new file mode 100644 index 0000000..6355939 --- /dev/null +++ b/meta-tizen/recipes-tizen/webkit-efl/webkit-efl.inc @@ -0,0 +1,44 @@ +DESCRIPTION = "Webkit2 EFL" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Internet" +LICENSE = "LGPLv2.1 or BSD" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "webkit2-efl-devel" +PACKAGES += "webkit2-efl-test" +PACKAGES += "webkit2-efl" + +webkit2-efl-devel_files = "" +webkit2-efl-devel_files += "webkit2-efl.manifest" +webkit2-efl-devel_files += "/usr/include/*" +webkit2-efl-devel_files += "/usr/lib/pkgconfig/*" + +webkit2-efl-test_files = "" +webkit2-efl-test_files += "webkit2-efl.manifest" +webkit2-efl-test_files += "/usr/bin/MiniBrowser" + +webkit2-efl_files = "" +webkit2-efl_files += "webkit2-efl.manifest" +webkit2-efl_files += "/usr/lib/*.so*" +webkit2-efl_files += "/usr/bin/*" +webkit2-efl_files += "/usr/share/*" + +FILES_${PN}-devel = "${webkit2-efl-devel_files}" +FILES_${PN}-test = "${webkit2-efl-test_files}" +FILES_${PN} = "${webkit2-efl_files}" + +PKG_webkit2-efl-devel= "webkit2-efl-devel" +PKG_webkit2-efl-test= "webkit2-efl-test" +PKG_webkit2-efl= "webkit2-efl" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require webkit-efl-rdepends.inc +require webkit-efl-depends.inc +require webkit-efl-extraconf.inc diff --git a/meta-tizen/recipes-tizen/weekeyboard/weekeyboard-extraconf.inc b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/weekeyboard/weekeyboard-native_git.bb b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard-native_git.bb new file mode 100644 index 0000000..e61c6ef --- /dev/null +++ b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard-native_git.bb @@ -0,0 +1,12 @@ +require weekeyboard.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weekeyboard;protocol=ssh;tag=739c00d990ad76703afd4f6ea1fae955689a7aad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/weekeyboard/weekeyboard.inc b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard.inc new file mode 100644 index 0000000..8130f17 --- /dev/null +++ b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "Virtual Keyboard Application" +HOMEPAGE = "http://github.com/etrunko/weekeyboard" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by weekeyboard +PROVIDES += "weekeyboard" +RPROVIDES_weekeyboard += "weekeyboard" + +RDEPENDS = "" +#RDEPENDS of weekeyboard (${PN}) +RDEPENDS_${PN} += "ibus-hangul" +RDEPENDS_${PN} += "ibus" +RDEPENDS_${PN} += "ibus-libpinyin" + + +DEPENDS = "" +#DEPENDS of weekeyboard +DEPENDS += "pkgconfig(evas)" +DEPENDS += "pkgconfig(edje)" +DEPENDS += "pkgconfig(eldbus)" +DEPENDS += "pkgconfig(ecore-evas)" +DEPENDS += "pkgconfig(eet)" +DEPENDS += "pkgconfig(ecore-wayland)" +DEPENDS += "ibus" +DEPENDS += "pkgconfig(efreet)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(eina)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weekeyboard.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-ibus + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "weekeyboard" + +weekeyboard_files = "" +weekeyboard_files += "weekeyboard.manifest" +weekeyboard_files += "/usr/bin/weekeyboard" +weekeyboard_files += "/usr/share/weekeyboard/*.edj" + +FILES_${PN} = "${weekeyboard_files}" + +PKG_weekeyboard= "weekeyboard" + +require weekeyboard-extraconf.inc diff --git a/meta-tizen/recipes-tizen/weekeyboard/weekeyboard_git.bb b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard_git.bb new file mode 100644 index 0000000..303b91f --- /dev/null +++ b/meta-tizen/recipes-tizen/weekeyboard/weekeyboard_git.bb @@ -0,0 +1,8 @@ +require weekeyboard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weekeyboard;protocol=ssh;tag=739c00d990ad76703afd4f6ea1fae955689a7aad;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/weston-generic/weston-generic-extraconf.inc b/meta-tizen/recipes-tizen/weston-generic/weston-generic-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/weston-generic/weston-generic-native_git.bb b/meta-tizen/recipes-tizen/weston-generic/weston-generic-native_git.bb new file mode 100644 index 0000000..21b0bf4 --- /dev/null +++ b/meta-tizen/recipes-tizen/weston-generic/weston-generic-native_git.bb @@ -0,0 +1,12 @@ +require weston-generic.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weston-generic;protocol=ssh;tag=eb35717f522bba62f83eee1547383ed1094bcd43;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/weston-generic/weston-generic.inc b/meta-tizen/recipes-tizen/weston-generic/weston-generic.inc new file mode 100644 index 0000000..75f4bd8 --- /dev/null +++ b/meta-tizen/recipes-tizen/weston-generic/weston-generic.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "Tizen Generic Weston configuration and set-up" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by weston-generic +PROVIDES += "weston-generic" +RPROVIDES_weston-generic += "weston-generic" +# the PROVIDES rules is ignore "weston-startup " +PROVIDES += "weston-startup" +RPROVIDES_weston-generic += "weston-startup" + +#PROVIDES by weston-generic-config +PROVIDES += "weston-generic-config" +RPROVIDES_weston-generic-config += "weston-generic-config" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston-generic.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + install -d ${D}/lib/systemd/user/weston.target.wants + install -m 644 weston.service ${D}/lib/systemd/user/weston.service + ln -sf ../weston.service ${D}//lib/systemd/user/weston.target.wants/ + + mkdir -p ${D}/etc/profile.d/ + install -m 0644 weston.sh ${D}/etc/profile.d/ + + mkdir -p ${D}/etc/xdg/weston + install -m 0644 weston.ini ${D}/etc/xdg/weston + + +} + +PACKAGES = "" +PACKAGES += "weston-generic-config" +PACKAGES += "weston-generic" + +weston-generic-config_files = "" +weston-generic-config_files += "weston-generic.manifest" +weston-generic-config_files += "/etc/xdg/weston/weston.ini" + +weston-generic_files = "" +weston-generic_files += "weston-generic.manifest" +weston-generic_files += "/lib/systemd/user/weston.service" +weston-generic_files += "/lib/systemd/user/weston.target.wants/weston.service" +weston-generic_files += "/etc/profile.d/*" + +FILES_${PN}-config = "${weston-generic-config_files}" +FILES_${PN} = "${weston-generic_files}" + +PKG_weston-generic-config= "weston-generic-config" +PKG_weston-generic= "weston-generic" + +require weston-generic-extraconf.inc diff --git a/meta-tizen/recipes-tizen/weston-generic/weston-generic_git.bb b/meta-tizen/recipes-tizen/weston-generic/weston-generic_git.bb new file mode 100644 index 0000000..b6cf9d8 --- /dev/null +++ b/meta-tizen/recipes-tizen/weston-generic/weston-generic_git.bb @@ -0,0 +1,8 @@ +require weston-generic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weston-generic;protocol=ssh;tag=eb35717f522bba62f83eee1547383ed1094bcd43;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc b/meta-tizen/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/weston-ivi/weston-ivi.inc b/meta-tizen/recipes-tizen/weston-ivi/weston-ivi.inc new file mode 100644 index 0000000..7ac33ae --- /dev/null +++ b/meta-tizen/recipes-tizen/weston-ivi/weston-ivi.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Tizen IVI Weston configuration and set-up" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Configuration" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "weston-ivi-config" +PACKAGES += "weston-ivi" + +weston-ivi-config_files = "" +weston-ivi-config_files += "weston-ivi.manifest" +weston-ivi-config_files += "/etc/xdg/weston/weston.ini" + +weston-ivi_files = "" +weston-ivi_files += "weston-ivi.manifest" +weston-ivi_files += "/lib/systemd/user/weston.service" +weston-ivi_files += "/lib/systemd/user/weston.target.wants/weston.service" +weston-ivi_files += "/etc/profile.d/*" + +FILES_${PN}-config = "${weston-ivi-config_files}" +FILES_${PN} = "${weston-ivi_files}" + +PKG_weston-ivi-config= "weston-ivi-config" +PKG_weston-ivi= "weston-ivi" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require weston-ivi-rdepends.inc +require weston-ivi-depends.inc +require weston-ivi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/weston/weston-extraconf.inc b/meta-tizen/recipes-tizen/weston/weston-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/weston/weston-native_git.bb b/meta-tizen/recipes-tizen/weston/weston-native_git.bb new file mode 100644 index 0000000..5c5996f --- /dev/null +++ b/meta-tizen/recipes-tizen/weston/weston-native_git.bb @@ -0,0 +1,12 @@ +require weston.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weston;protocol=ssh;tag=13640d5c849085fa2b099c2d54e656eec8a1318f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/weston/weston.inc b/meta-tizen/recipes-tizen/weston/weston.inc new file mode 100644 index 0000000..05f771d --- /dev/null +++ b/meta-tizen/recipes-tizen/weston/weston.inc @@ -0,0 +1,208 @@ +DESCRIPTION = "Wayland Compositor Infrastructure" +HOMEPAGE = "http://weston.freedesktop.org/" +SECTION = "Graphics & UI Framework/Wayland Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by weston +PROVIDES += "weston" +RPROVIDES_weston += "weston" + +#PROVIDES by weston-devel +PROVIDES += "weston-devel" +RPROVIDES_weston-devel += "weston-devel" +RPROVIDES_weston-devel += "weston-dev" + +#PROVIDES by weston-docs +PROVIDES += "weston-docs " +RPROVIDES_weston-docs += "weston-docs " + +#PROVIDES by weston-clients +PROVIDES += "weston-clients" +RPROVIDES_weston-clients += "weston-clients" + +RDEPENDS = "" +#RDEPENDS of weston (${PN}) +RDEPENDS_${PN} += "weston-startup" +RDEPENDS_${PN} += "/usr/sbin/groupadd" + + +DEPENDS = "" +#DEPENDS of weston +DEPENDS += "expat" +DEPENDS += "libvpx" +DEPENDS += "xz" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "pkgconfig(cairo-egl)" +DEPENDS += "systemd" +DEPENDS += "pkgconfig(wayland-server)" +DEPENDS += "poppler" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pam" +DEPENDS += "pixman" +DEPENDS += "pkgconfig(libffi)" +DEPENDS += "pkgconfig(wayland-client)" +DEPENDS += "libtool-cross" +DEPENDS += "pkgconfig(mtdev)" +DEPENDS += "mesa" +DEPENDS += "libxkbcommon" +DEPENDS += "pkgconfig(libdrm)" +DEPENDS += "libjpeg-turbo" +DEPENDS += "pkgconfig(cairo)" +DEPENDS += "pkgconfig(gobject-2.0)" +DEPENDS += "autoconf-native" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --disable-setuid-install --enable-simple-clients --enable-clients --disable-libunwind --disable-xwayland --disable-xwayland-test --disable-x11-compositor --disable-rpi-compositor + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # install example clients + install -m 755 clients/weston-simple-touch ${D}/usr/bin + install -m 755 clients/weston-simple-shm ${D}/usr/bin + install -m 755 clients/weston-simple-egl ${D}/usr/bin + install -m 755 clients/weston-flower ${D}/usr/bin + install -m 755 clients/weston-image ${D}/usr/bin + install -m 755 clients/weston-cliptest ${D}/usr/bin + install -m 755 clients/weston-dnd ${D}/usr/bin + install -m 755 clients/weston-smoke ${D}/usr/bin + install -m 755 clients/weston-resizor ${D}/usr/bin + install -m 755 clients/weston-eventdemo ${D}/usr/bin + install -m 755 clients/weston-clickdot ${D}/usr/bin + install -m 755 clients/weston-transformed ${D}/usr/bin + install -m 755 clients/weston-fullscreen ${D}/usr/bin + install -m 755 clients/weston-calibrator ${D}/usr/bin + + install -d ${D}/usr/lib/systemd/user + install -m 644 ${S}/packaging/weston.target ${D}/usr/lib/systemd/user/weston.target + # The weston.service unit file must be provided by the weston-startup + # virtual package, i.e. "Provide: weston-startup". The weston-startup + # virtual package requirement is intended to force Tizen profile + # maintainers to add the necessary start-up script or systemd unit + # file to start weston. Otherwise it becomes possible to install + # weston without an automated means to start weston at boot, which may + # lead to confusion. This approach allows startup related files to be + # maintained outside of this weston package. + + +} + +PACKAGES = "" +PACKAGES += "weston" +PACKAGES += "weston-clients" +PACKAGES += "weston-docs" +PACKAGES += "weston-devel" + +weston_files = "" +weston_files += "weston.manifest" +weston_files += "/usr/bin/wcap-*" +weston_files += "/usr/bin/weston" +weston_files += "/usr/bin/weston-info" +weston_files += "/usr/bin/weston-terminal" +weston_files += "/usr/libexec/weston-*" +weston_files += "/usr/lib/weston" +weston_files += "/usr/share/weston" +weston_files += "/usr/lib/systemd/user/weston.target" + +weston-clients_files = "" +weston-clients_files += "weston.manifest" +weston-clients_files += "/usr/bin/weston-simple-touch" +weston-clients_files += "/usr/bin/weston-simple-shm" +weston-clients_files += "/usr/bin/weston-simple-egl" +weston-clients_files += "/usr/bin/weston-flower" +weston-clients_files += "/usr/bin/weston-image" +weston-clients_files += "/usr/bin/weston-cliptest" +weston-clients_files += "/usr/bin/weston-dnd" +weston-clients_files += "/usr/bin/weston-smoke" +weston-clients_files += "/usr/bin/weston-resizor" +weston-clients_files += "/usr/bin/weston-eventdemo" +weston-clients_files += "/usr/bin/weston-clickdot" +weston-clients_files += "/usr/bin/weston-transformed" +weston-clients_files += "/usr/bin/weston-fullscreen" +weston-clients_files += "/usr/bin/weston-calibrator" + +weston-docs_files = "" +weston-docs_files += "/usr/share/info" +weston-docs_files += "/usr/share/man" + +weston-devel_files = "" +weston-devel_files += "weston.manifest" +weston-devel_files += "/usr/include/weston/*.h" +weston-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${weston_files}" +FILES_${PN}-clients = "${weston-clients_files}" +FILES_${PN}-docs = "${weston-docs_files}" +FILES_${PN}-devel = "${weston-devel_files}" + +PKG_weston= "weston" +PKG_weston-clients= "weston-clients" +PKG_weston-docs= "weston-docs" +PKG_weston-devel= "weston-devel" + +require weston-extraconf.inc diff --git a/meta-tizen/recipes-tizen/weston/weston_git.bb b/meta-tizen/recipes-tizen/weston/weston_git.bb new file mode 100644 index 0000000..f0792c2 --- /dev/null +++ b/meta-tizen/recipes-tizen/weston/weston_git.bb @@ -0,0 +1,8 @@ +require weston.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weston;protocol=ssh;tag=13640d5c849085fa2b099c2d54e656eec8a1318f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wget/wget-extraconf.inc b/meta-tizen/recipes-tizen/wget/wget-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wget/wget-native_git.bb b/meta-tizen/recipes-tizen/wget/wget-native_git.bb new file mode 100644 index 0000000..f345da8 --- /dev/null +++ b/meta-tizen/recipes-tizen/wget/wget-native_git.bb @@ -0,0 +1,12 @@ +require wget.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wget;protocol=ssh;tag=585fa537dc2a1e79e91d089778d97639646e8dcd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wget/wget.inc b/meta-tizen/recipes-tizen/wget/wget.inc new file mode 100644 index 0000000..8f238fd --- /dev/null +++ b/meta-tizen/recipes-tizen/wget/wget.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "A Tool for Mirroring FTP and HTTP Servers" +HOMEPAGE = "http://www.gnu.org/software/wget/" +SECTION = "Productivity/Networking/Web/Utilities" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wget +PROVIDES += "wget" +RPROVIDES_wget += "wget" + +#PROVIDES by wget-locale +PROVIDES += "wget-locale " +RPROVIDES_wget-locale += "wget-locale " +# the PROVIDES rules is ignore "wget-lang-all = 1.13.4" +PROVIDES += "wget-lang-all" +RPROVIDES_wget-locale += "wget-lang-all" + +RDEPENDS = "" +#RDEPENDS of wget-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "wget" + + +DEPENDS = "" +#DEPENDS of wget +DEPENDS += "libidn" +DEPENDS += "openssl" +DEPENDS += "automake-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wget.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-ssl=openssl + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} wget + + + +} + +PACKAGES = "" +PACKAGES += "wget" +PACKAGES += "wget-locale" + +wget_files = "" +wget_files += "wget.manifest" +wget_files += "doc/sample.wgetrc util/rmold.pl" +wget_files += "/usr/share/man/*/wget*" +wget_files += "/usr/share/info/wget*" +wget_files += "/etc/wgetrc" +wget_files += "/usr/bin/*" + +wget-locale_files = "" + +FILES_${PN} = "${wget_files}" +FILES_${PN}-locale = "${wget-locale_files}" + +PKG_wget= "wget" +PKG_wget-locale= "wget-locale" + +require wget-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wget/wget_git.bb b/meta-tizen/recipes-tizen/wget/wget_git.bb new file mode 100644 index 0000000..7b67525 --- /dev/null +++ b/meta-tizen/recipes-tizen/wget/wget_git.bb @@ -0,0 +1,8 @@ +require wget.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wget;protocol=ssh;tag=585fa537dc2a1e79e91d089778d97639646e8dcd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/which/which-extraconf.inc b/meta-tizen/recipes-tizen/which/which-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/which/which-native_git.bb b/meta-tizen/recipes-tizen/which/which-native_git.bb new file mode 100644 index 0000000..1673043 --- /dev/null +++ b/meta-tizen/recipes-tizen/which/which-native_git.bb @@ -0,0 +1,12 @@ +require which.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/which;protocol=ssh;tag=7ead7429bbda9e741dabfdd49f0a6094e22c3095;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/which/which.inc b/meta-tizen/recipes-tizen/which/which.inc new file mode 100644 index 0000000..8fe83b9 --- /dev/null +++ b/meta-tizen/recipes-tizen/which/which.inc @@ -0,0 +1,113 @@ +DESCRIPTION = "Displays where a particular program in your path is located" +HOMEPAGE = "http://www.xs4all.nl/~carlo17/which/" +SECTION = "Applications/System" +LICENSE = "GPL-3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by which-docs +PROVIDES += "which-docs " +RPROVIDES_which-docs += "which-docs " + +#PROVIDES by which +PROVIDES += "which" +RPROVIDES_which += "which" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of which +DEPENDS += "readline" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/which.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "which-docs" +PACKAGES += "which" + +which-docs_files = "" +which-docs_files += "/usr/share/info" +which-docs_files += "/usr/share/man" + +which_files = "" +which_files += "which.manifest" +which_files += "/usr/bin/*" + +FILES_${PN}-docs = "${which-docs_files}" +FILES_${PN} = "${which_files}" + +PKG_which-docs= "which-docs" +PKG_which= "which" + +require which-extraconf.inc diff --git a/meta-tizen/recipes-tizen/which/which_git.bb b/meta-tizen/recipes-tizen/which/which_git.bb new file mode 100644 index 0000000..25d298b --- /dev/null +++ b/meta-tizen/recipes-tizen/which/which_git.bb @@ -0,0 +1,8 @@ +require which.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/which;protocol=ssh;tag=7ead7429bbda9e741dabfdd49f0a6094e22c3095;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wifi-direct/wifi-direct-extraconf.inc b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wifi-direct/wifi-direct-native_git.bb b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct-native_git.bb new file mode 100644 index 0000000..1419398 --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct-native_git.bb @@ -0,0 +1,12 @@ +require wifi-direct.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi-direct;protocol=ssh;tag=6b4dc140b3c126667d75fb577ccf6bcbbe184244;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wifi-direct/wifi-direct.inc b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct.inc new file mode 100644 index 0000000..2e166d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "Network WiFi-Direct library in Tizen CAPI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-wifi-direct +PROVIDES += "capi-network-wifi-direct" +RPROVIDES_capi-network-wifi-direct += "capi-network-wifi-direct" + +#PROVIDES by capi-network-wifi-direct-devel +PROVIDES += "capi-network-wifi-direct-devel" +RPROVIDES_capi-network-wifi-direct-devel += "capi-network-wifi-direct-devel" +RPROVIDES_capi-network-wifi-direct-devel += "capi-network-wifi-direct-dev" + +RDEPENDS = "" +#RDEPENDS of capi-network-wifi-direct-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-base-common-dev" + + +DEPENDS = "" +#DEPENDS of capi-network-wifi-direct +#DEPENDS of capi-network-wifi-direct-devel +DEPENDS += "libwifi-direct" +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "dbus-glib" +DEPENDS += "pkgconfig(vconf)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-wifi-direct.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "capi-network-wifi-direct" +PACKAGES += "capi-network-wifi-direct-devel" + +capi-network-wifi-direct_files = "" +capi-network-wifi-direct_files += "capi-network-wifi-direct.manifest" + +capi-network-wifi-direct-devel_files = "" +capi-network-wifi-direct-devel_files += "capi-network-wifi-direct.manifest" +capi-network-wifi-direct-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-network-wifi-direct-devel_files += "/usr/include/*/*.h" + +FILES_${PN} = "${capi-network-wifi-direct_files}" +FILES_${PN}-devel = "${capi-network-wifi-direct-devel_files}" + +PKG_capi-network-wifi-direct= "capi-network-wifi-direct" +PKG_capi-network-wifi-direct-devel= "capi-network-wifi-direct-devel" + +require wifi-direct-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wifi-direct/wifi-direct_git.bb b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct_git.bb new file mode 100644 index 0000000..20a077e --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi-direct/wifi-direct_git.bb @@ -0,0 +1,8 @@ +require wifi-direct.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi-direct;protocol=ssh;tag=6b4dc140b3c126667d75fb577ccf6bcbbe184244;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wifi/wifi-extraconf.inc b/meta-tizen/recipes-tizen/wifi/wifi-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wifi/wifi-native_git.bb b/meta-tizen/recipes-tizen/wifi/wifi-native_git.bb new file mode 100644 index 0000000..89cd936 --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi/wifi-native_git.bb @@ -0,0 +1,12 @@ +require wifi.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi;protocol=ssh;tag=391e3b9f55f1dc7339c6aba23738c6bdf116eb77;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wifi/wifi.inc b/meta-tizen/recipes-tizen/wifi/wifi.inc new file mode 100644 index 0000000..39a4a81 --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi/wifi.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Network Wi-Fi library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by capi-network-wifi-devel +PROVIDES += "capi-network-wifi-devel" +RPROVIDES_capi-network-wifi-devel += "capi-network-wifi-devel" +RPROVIDES_capi-network-wifi-devel += "capi-network-wifi-dev" + +#PROVIDES by capi-network-wifi +PROVIDES += "capi-network-wifi" +RPROVIDES_capi-network-wifi += "capi-network-wifi" + +RDEPENDS = "" +#RDEPENDS of capi-network-wifi-devel (capi-network-${PN}-devel) +RDEPENDS_capi-network-${PN}-devel += "capi-network-wifi" + + +DEPENDS = "" +#DEPENDS of capi-network-wifi +DEPENDS += "cmake" +DEPENDS += "dlog" +DEPENDS += "common" +DEPENDS += "pkgconfig(vconf)" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libnet-client" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-wifi.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + MAJORVER=`echo 0.1.2_18 | awk 'BEGIN {FS="."}{print $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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.2_18 -DMAJORVER=${MAJORVER} + + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/capi-network-wifi + + +} + +PACKAGES = "" +PACKAGES += "capi-network-wifi-devel" +PACKAGES += "capi-network-wifi" + +capi-network-wifi-devel_files = "" +capi-network-wifi-devel_files += "capi-network-wifi.manifest" +capi-network-wifi-devel_files += "/usr/include/network/*.h" +capi-network-wifi-devel_files += "/usr/lib/pkgconfig/*.pc" +capi-network-wifi-devel_files += "/usr/lib/libcapi-network-wifi.so" + +capi-network-wifi_files = "" +capi-network-wifi_files += "capi-network-wifi.manifest" +capi-network-wifi_files += "/usr/share/license/capi-network-wifi" + +FILES_${PN}-devel = "${capi-network-wifi-devel_files}" +FILES_${PN} = "${capi-network-wifi_files}" + +PKG_capi-network-wifi-devel= "capi-network-wifi-devel" +PKG_capi-network-wifi= "capi-network-wifi" + +require wifi-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wifi/wifi_git.bb b/meta-tizen/recipes-tizen/wifi/wifi_git.bb new file mode 100644 index 0000000..fbf484c --- /dev/null +++ b/meta-tizen/recipes-tizen/wifi/wifi_git.bb @@ -0,0 +1,8 @@ +require wifi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi;protocol=ssh;tag=391e3b9f55f1dc7339c6aba23738c6bdf116eb77;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-extraconf.inc b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-native_git.bb b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-native_git.bb new file mode 100644 index 0000000..6de94b2 --- /dev/null +++ b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb-native_git.bb @@ -0,0 +1,12 @@ +require wireless-regdb.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wireless-regdb;protocol=ssh;tag=4538f798db50c9abe049390406d8ac2cbc00dd01;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb.inc b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb.inc new file mode 100644 index 0000000..223f02d --- /dev/null +++ b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb.inc @@ -0,0 +1,72 @@ +DESCRIPTION = "Linux wireless regulatory database" +HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/" +SECTION = "System/Base" +LICENSE = "ISC" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wireless-regdb +PROVIDES += "wireless-regdb" +RPROVIDES_wireless-regdb += "wireless-regdb" + +RDEPENDS = "" +#RDEPENDS of wireless-regdb (${PN}) +RDEPENDS_${PN} += "python" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wireless-regdb.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -m 755 -d ${D}//usr/lib/crda + install -m 644 regulatory.bin ${D}//usr/lib/crda/regulatory.bin + +} + +PACKAGES = "" +PACKAGES += "wireless-regdb" + +wireless-regdb_files = "" +wireless-regdb_files += "wireless-regdb.manifest" +wireless-regdb_files += "/usr/lib/crda/regulatory.bin" + +FILES_${PN} = "${wireless-regdb_files}" + +PKG_wireless-regdb= "wireless-regdb" + +require wireless-regdb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb_git.bb b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb_git.bb new file mode 100644 index 0000000..cb9c11e --- /dev/null +++ b/meta-tizen/recipes-tizen/wireless-regdb/wireless-regdb_git.bb @@ -0,0 +1,8 @@ +require wireless-regdb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wireless-regdb;protocol=ssh;tag=4538f798db50c9abe049390406d8ac2cbc00dd01;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-extraconf.inc b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-native_git.bb b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-native_git.bb new file mode 100644 index 0000000..391d40e --- /dev/null +++ b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant-native_git.bb @@ -0,0 +1,12 @@ +require wpa-supplicant.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wpa_supplicant;protocol=ssh;tag=ebfabc831b96666cd193fe7d54ce1d1971a0f224;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant.inc b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant.inc new file mode 100644 index 0000000..aab4d3d --- /dev/null +++ b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "WPA supplicant implementation" +HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" +SECTION = "Network & Connectivity/Wireless" +LICENSE = "BSD-3-Clause and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wpa_supplicant-docs +PROVIDES += "wpa_supplicant-docs " +RPROVIDES_wpa_supplicant-docs += "wpa_supplicant-docs " + +#PROVIDES by wpa_supplicant +PROVIDES += "wpa_supplicant" +RPROVIDES_wpa_supplicant += "wpa_supplicant" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of wpa_supplicant +DEPENDS += "systemd" +DEPENDS += "dbus-devel" +DEPENDS += "openssl" +DEPENDS += "readline" +DEPENDS += "libnl1" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n wpa_supplicant-2.0 + cp ${S}/packaging/wpa_supplicant.manifest . + rm -rf wpa_supplicant-2.0/patches + cp ${S}/packaging/config wpa_supplicant/.config + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + cd wpa_supplicant + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + make V=1 BINDIR=/usr/sbin -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}//usr/sbin + install -m 0755 wpa_supplicant/wpa_cli ${D}/usr/sbin + install -m 0755 wpa_supplicant/wpa_passphrase ${D}/usr/sbin + install -m 0755 wpa_supplicant/wpa_supplicant ${D}/usr/sbin + install -d ${D}/etc/dbus-1/system.d + install -m 0644 wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${D}/etc/dbus-1/system.d/wpa_supplicant.conf + install -d ${D}//etc/wpa_supplicant + install -m 0644 ${S}/packaging/wpa_supplicant-p2p.conf ${D}/etc/wpa_supplicant/wpa_supplicant-p2p.conf + install -d ${D}//usr/share/dbus-1/system-services + install -m 0644 wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service ${D}//usr/share/dbus-1/system-services + install -m 0644 wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service ${D}//usr/share/dbus-1/system-services + install -d ${D}//var/run/wpa_supplicant + install -d ${D}/usr/share/man/man{5,8} + install -m 0644 wpa_supplicant/doc/docbook/*.8 ${D}/usr/share/man/man8 + install -m 0644 wpa_supplicant/doc/docbook/*.5 ${D}/usr/share/man/man5 + + # install systemd service file + mkdir -p ${D}/lib/systemd/system + install -m 0644 wpa_supplicant/systemd/wpa_supplicant.service ${D}/lib/systemd/system + mkdir -p ${D}/lib/systemd/system/network.target.wants + ln -s ../wpa_supplicant.service ${D}/lib/systemd/system/network.target.wants/wpa_supplicant.service + + + +} + +PACKAGES = "" +PACKAGES += "wpa_supplicant-docs" +PACKAGES += "wpa_supplicant" + +wpa_supplicant-docs_files = "" +wpa_supplicant-docs_files += "/usr/share/info" +wpa_supplicant-docs_files += "/usr/share/man" + +wpa_supplicant_files = "" +wpa_supplicant_files += "wpa_supplicant.manifest" +wpa_supplicant_files += "/usr/sbin/wpa_cli" +wpa_supplicant_files += "/usr/sbin/wpa_passphrase" +wpa_supplicant_files += "/usr/sbin/wpa_supplicant" +wpa_supplicant_files += "/etc/dbus-1/system.d/wpa_supplicant.conf" +wpa_supplicant_files += "/etc/wpa_supplicant/wpa_supplicant-p2p.conf" +wpa_supplicant_files += "/usr/share/dbus-1/system-services" +wpa_supplicant_files += "/var/run/wpa_supplicant" +wpa_supplicant_files += "/lib/systemd/system/wpa_supplicant.service" +wpa_supplicant_files += "/lib/systemd/system/network.target.wants/wpa_supplicant.service" + +FILES_${PN}-docs = "${wpa_supplicant-docs_files}" +FILES_${PN} = "${wpa_supplicant_files}" + +PKG_wpa_supplicant-docs= "wpa_supplicant-docs" +PKG_wpa_supplicant= "wpa_supplicant" + +require wpa-supplicant-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant_git.bb b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant_git.bb new file mode 100644 index 0000000..1335c97 --- /dev/null +++ b/meta-tizen/recipes-tizen/wpa-supplicant/wpa-supplicant_git.bb @@ -0,0 +1,8 @@ +require wpa-supplicant.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/wpa_supplicant;protocol=ssh;tag=ebfabc831b96666cd193fe7d54ce1d1971a0f224;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-commons/wrt-commons-extraconf.inc b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-commons/wrt-commons-native_git.bb b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons-native_git.bb new file mode 100644 index 0000000..00ff63e --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons-native_git.bb @@ -0,0 +1,12 @@ +require wrt-commons.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/wrt-commons;protocol=ssh;tag=a560386f384df90907150b436655098361ba6cef;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-commons/wrt-commons.inc b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons.inc new file mode 100644 index 0000000..2fad65a --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "Wrt common library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wrt-commons +PROVIDES += "wrt-commons" +RPROVIDES_wrt-commons += "wrt-commons" + +#PROVIDES by wrt-commons-devel +PROVIDES += "wrt-commons-devel" +RPROVIDES_wrt-commons-devel += "wrt-commons-devel" +RPROVIDES_wrt-commons-devel += "wrt-commons-dev" + +RDEPENDS = "" +#RDEPENDS of wrt-commons-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "wrt-commons" + + +DEPENDS = "" +#DEPENDS of wrt-commons +DEPENDS += "zlib-devel" +DEPENDS += "pcre" +DEPENDS += "sqlite" +DEPENDS += "pkgconfig(gio-2.0)" +DEPENDS += "cmake" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(minizip)" +DEPENDS += "pkgconfig(libiri)" +DEPENDS += "libidn" +DEPENDS += "openssl" +DEPENDS += "dlog" +DEPENDS += "app-core" +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "ecore" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libslp-db-util" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wrt-commons.manifest . + + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--hash-style=both -Wl,--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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DVERSION=0.2.160 \ + -DDPL_LOG="OFF" \ + -DCMAKE_BUILD_TYPE= \ + \ + -DX11_SUPPORT=Off \ + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "wrt-commons" +PACKAGES += "wrt-commons-devel" + +wrt-commons_files = "" +wrt-commons_files += "wrt-commons.manifest" +wrt-commons_files += "/usr/lib/*.so.*" +wrt-commons_files += "/usr/share/wrt-engine/*" + +wrt-commons-devel_files = "" +wrt-commons-devel_files += "wrt-commons.manifest" +wrt-commons-devel_files += "/usr/lib/*.so" +wrt-commons-devel_files += "/usr/include/dpl-efl/*" +wrt-commons-devel_files += "/usr/lib/pkgconfig/*.pc" + +FILES_${PN} = "${wrt-commons_files}" +FILES_${PN}-devel = "${wrt-commons-devel_files}" + +PKG_wrt-commons= "wrt-commons" +PKG_wrt-commons-devel= "wrt-commons-devel" + +require wrt-commons-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-commons/wrt-commons_git.bb b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons_git.bb new file mode 100644 index 0000000..3a8140d --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-commons/wrt-commons_git.bb @@ -0,0 +1,8 @@ +require wrt-commons.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/wrt-commons;protocol=ssh;tag=a560386f384df90907150b436655098361ba6cef;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-installer/wrt-installer-extraconf.inc b/meta-tizen/recipes-tizen/wrt-installer/wrt-installer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-installer/wrt-installer.inc b/meta-tizen/recipes-tizen/wrt-installer/wrt-installer.inc new file mode 100644 index 0000000..ef3ecf9 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-installer/wrt-installer.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Installer for tizen Webruntime" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Web Framework/Utilities" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "wrt-installer-preinstall-service" +PACKAGES += "wrt-installer" + +wrt-installer-preinstall-service_files = "" +wrt-installer-preinstall-service_files += "/lib/systemd/system/wrt-preinstall-widgets.service" +wrt-installer-preinstall-service_files += "/lib/systemd/system/graphical.target.wants/wrt-preinstall-widgets.service" + +wrt-installer_files = "" +wrt-installer_files += "wrt-installer.manifest" +wrt-installer_files += "/etc/package-manager/backendlib/libwgt.so" +wrt-installer_files += "/usr/share/license/wrt-installer" + +FILES_${PN}-preinstall-service = "${wrt-installer-preinstall-service_files}" +FILES_${PN} = "${wrt-installer_files}" + +PKG_wrt-installer-preinstall-service= "wrt-installer-preinstall-service" +PKG_wrt-installer= "wrt-installer" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require wrt-installer-rdepends.inc +require wrt-installer-depends.inc +require wrt-installer-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common-extraconf.inc b/meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common.inc b/meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common.inc new file mode 100644 index 0000000..1e39203 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-plugins-common/wrt-plugins-common.inc @@ -0,0 +1,44 @@ +DESCRIPTION = "wrt-plugins common library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "wrt-plugins-common-devel" +PACKAGES += "wrt-plugins-common" + +wrt-plugins-common-devel_files = "" +wrt-plugins-common-devel_files += "wrt-plugins-common.manifest" +wrt-plugins-common-devel_files += "/usr/include/*" +wrt-plugins-common-devel_files += "/usr/lib/pkgconfig/*" + +wrt-plugins-common_files = "" +wrt-plugins-common_files += "wrt-plugins-common.manifest" +wrt-plugins-common_files += "/usr/etc/wrt-plugins/config.dtd" +wrt-plugins-common_files += "/usr/lib/*.so" +wrt-plugins-common_files += "/usr/lib/*.so.*" +wrt-plugins-common_files += "/usr/lib/wrt-plugins/w3c-widget-interface/libwrt-plugins-w3c-widget-interface.so" +wrt-plugins-common_files += "/usr/share/license/wrt-plugins-common" +wrt-plugins-common_files += "/etc/smack/accesses2.d/wrt-popup-ace-runtime.rule" +wrt-plugins-common_files += "/etc/smack/accesses2.d/wrt-popup-wrt-runtime.rule" +wrt-plugins-common_files += "/opt/etc/smack/accesses.d/wrt-popup-ace-runtime.rule" +wrt-plugins-common_files += "/opt/etc/smack/accesses.d/wrt-popup-wrt-runtime.rule" +wrt-plugins-common_files += "/etc/ld.so.conf.d/wrt-plugins-common.conf" + +FILES_${PN}-devel = "${wrt-plugins-common-devel_files}" +FILES_${PN} = "${wrt-plugins-common_files}" + +PKG_wrt-plugins-common-devel= "wrt-plugins-common-devel" +PKG_wrt-plugins-common= "wrt-plugins-common" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require wrt-plugins-common-rdepends.inc +require wrt-plugins-common-depends.inc +require wrt-plugins-common-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc b/meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen.inc b/meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen.inc new file mode 100644 index 0000000..3f02684 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-plugins-tizen/wrt-plugins-tizen.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "JavaScript plugins for WebRuntime" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "wrt-plugins-tizen-devel" +PACKAGES += "wrt-plugins-tizen" + +wrt-plugins-tizen-devel_files = "" +wrt-plugins-tizen-devel_files += "/usr/include/*" +wrt-plugins-tizen-devel_files += "/usr/lib/pkgconfig/*" + +wrt-plugins-tizen_files = "" +wrt-plugins-tizen_files += "wrt-plugins-tizen.manifest " +wrt-plugins-tizen_files += "/usr/lib/wrt-plugins/*" +wrt-plugins-tizen_files += "/usr/etc/tizen-apis/*" +wrt-plugins-tizen_files += "/etc/ld.so.conf.d/wrt-plugins-tizen.conf" + +FILES_${PN}-devel = "${wrt-plugins-tizen-devel_files}" +FILES_${PN} = "${wrt-plugins-tizen_files}" + +PKG_wrt-plugins-tizen-devel= "wrt-plugins-tizen-devel" +PKG_wrt-plugins-tizen= "wrt-plugins-tizen" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require wrt-plugins-tizen-rdepends.inc +require wrt-plugins-tizen-depends.inc +require wrt-plugins-tizen-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-security/wrt-security-extraconf.inc b/meta-tizen/recipes-tizen/wrt-security/wrt-security-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-security/wrt-security-native_git.bb b/meta-tizen/recipes-tizen/wrt-security/wrt-security-native_git.bb new file mode 100644 index 0000000..f1a048d --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-security/wrt-security-native_git.bb @@ -0,0 +1,12 @@ +require wrt-security.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/wrt-security;protocol=ssh;tag=57fe991c1330a5e41c901a3497bbaa6ec0863f49;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-security/wrt-security.inc b/meta-tizen/recipes-tizen/wrt-security/wrt-security.inc new file mode 100644 index 0000000..90ae25d --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-security/wrt-security.inc @@ -0,0 +1,174 @@ +DESCRIPTION = "Wrt security daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wrt-security +PROVIDES += "wrt-security" +RPROVIDES_wrt-security += "wrt-security" + +#PROVIDES by security-server-certs +PROVIDES += "security-server-certs" +RPROVIDES_security-server-certs += "security-server-certs" + +#PROVIDES by wrt-security-devel +PROVIDES += "wrt-security-devel" +RPROVIDES_wrt-security-devel += "wrt-security-devel" +RPROVIDES_wrt-security-devel += "wrt-security-dev" + +RDEPENDS = "" +#RDEPENDS of wrt-security (${PN}) +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of security-server-certs (security-server-certs) +RDEPENDS_security-server-certs += "security-server" + +#RDEPENDS of wrt-security-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "wrt-security" + + +DEPENDS = "" +#DEPENDS of wrt-security +DEPENDS += "pcre" +DEPENDS += "pkgconfig(dpl-utils-efl)" +DEPENDS += "pkgconfig(capi-appfw-app-manager)" +DEPENDS += "cmake" +DEPENDS += "attr" +DEPENDS += "zip" +DEPENDS += "pkgconfig(dbus-1)" +DEPENDS += "pkgconfig(xmlsec1)" +DEPENDS += "openssl" +DEPENDS += "dlog" +DEPENDS += "pkgconfig(dpl-wrt-dao-ro)" +DEPENDS += "pkgconfig(icu-i18n)" +DEPENDS += "smack" +DEPENDS += "systemd" +DEPENDS += "privacy-manager" +DEPENDS += "pkgconfig(libsoup-2.4)" +DEPENDS += "pkgconfig(dpl-efl)" +DEPENDS += "pkgconfig(capi-appfw-package-manager)" +DEPENDS += "pkgconfig(dpl-dbus-efl)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wrt-security.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS+="-Wl,--rpath=/usr/lib" + + + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DDPL_LOG="ON" \ + -DVERSION=0.0.67 \ + -DCMAKE_BUILD_TYPE= + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/wrt-security + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/lib/systemd/system/multi-user.target.wants + mkdir -p ${D}/lib/systemd/system/sockets.target.wants + ln -sf /lib/systemd/system/wrt-security-daemon.service ${D}/lib/systemd/system/multi-user.target.wants/wrt-security-daemon.service + ln -sf /lib/systemd/system/wrt-security-daemon.socket ${D}/lib/systemd/system/sockets.target.wants/wrt-security-daemon.socket + + +} + +PACKAGES = "" +PACKAGES += "wrt-security" +PACKAGES += "wrt-security-devel" + +wrt-security_files = "" +wrt-security_files += "wrt-security.manifest" +wrt-security_files += "/usr/lib/libace*.so" +wrt-security_files += "/usr/lib/libace*.so.*" +wrt-security_files += "/usr/lib/libwrt-ocsp.so" +wrt-security_files += "/usr/lib/libwrt-ocsp.so.*" +wrt-security_files += "/usr/share/wrt-engine/*" +wrt-security_files += "/usr/share/license/wrt-security" +wrt-security_files += "/lib/systemd/system/*" + +wrt-security-devel_files = "" +wrt-security-devel_files += "wrt-security.manifest" +wrt-security-devel_files += "/usr/include/wrt-security/*" +wrt-security-devel_files += "/usr/include/ace/*" +wrt-security-devel_files += "/usr/include/ace-client/*" +wrt-security-devel_files += "/usr/include/ace-settings/*" +wrt-security-devel_files += "/usr/include/ace-install/*" +wrt-security-devel_files += "/usr/include/ace-common/*" +wrt-security-devel_files += "/usr/include/ace-popup-validation/*" +wrt-security-devel_files += "/usr/include/wrt-ocsp/*" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-client.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-communication-client.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-core.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-dao-ro.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-dao-rw.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-install.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-popup-validation.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-settings.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security-wrt-ocsp.pc" +wrt-security-devel_files += "/usr/lib/pkgconfig/security.pc" + +FILES_${PN} = "${wrt-security_files}" +FILES_${PN}-devel = "${wrt-security-devel_files}" + +PKG_wrt-security= "wrt-security" +PKG_wrt-security-devel= "wrt-security-devel" + +require wrt-security-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-security/wrt-security_git.bb b/meta-tizen/recipes-tizen/wrt-security/wrt-security_git.bb new file mode 100644 index 0000000..6f4aac8 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-security/wrt-security_git.bb @@ -0,0 +1,8 @@ +require wrt-security.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/wrt-security;protocol=ssh;tag=57fe991c1330a5e41c901a3497bbaa6ec0863f49;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-native_git.bb b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-native_git.bb new file mode 100644 index 0000000..bff6cf9 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-native_git.bb @@ -0,0 +1,12 @@ +require wrt-widgets.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/generic/wrt-widgets;protocol=ssh;tag=d8b7c87535d5fa3df7a4c1c4ed0823423a0487b8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets.inc b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets.inc new file mode 100644 index 0000000..fba098f --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "Wrt-widgets Installer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Web Framework/Web Run Time" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by wrt-widgets +PROVIDES += "wrt-widgets" +RPROVIDES_wrt-widgets += "wrt-widgets" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}//usr/bin + cp install_widgets.sh ${D}//usr/bin + cp prepare_widgets.sh ${D}//usr/bin + + if [ ! -d ${D}//usr/share/widget_demo ] + then + mkdir -p ${D}//usr/share/widget_demo + fi + + cp -r *.wgt ${D}//usr/share/widget_demo/ + + +} + +PACKAGES = "" +PACKAGES += "wrt-widgets" + +wrt-widgets_files = "" +wrt-widgets_files += "/usr/share/widget_demo/*.wgt" + +FILES_${PN} = "${wrt-widgets_files}" + +PKG_wrt-widgets= "wrt-widgets" + +require wrt-widgets-extraconf.inc diff --git a/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets_git.bb b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets_git.bb new file mode 100644 index 0000000..3c93a54 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets_git.bb @@ -0,0 +1,8 @@ +require wrt-widgets.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/generic/wrt-widgets;protocol=ssh;tag=d8b7c87535d5fa3df7a4c1c4ed0823423a0487b8;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/wrt/wrt-extraconf.inc b/meta-tizen/recipes-tizen/wrt/wrt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/wrt/wrt.inc b/meta-tizen/recipes-tizen/wrt/wrt.inc new file mode 100644 index 0000000..37868e6 --- /dev/null +++ b/meta-tizen/recipes-tizen/wrt/wrt.inc @@ -0,0 +1,45 @@ +DESCRIPTION = "web runtime" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache-2.0" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "wrt-devel" +PACKAGES += "wrt" + +wrt-devel_files = "" +wrt-devel_files += "wrt.manifest" +wrt-devel_files += "/usr/include/*" +wrt-devel_files += "/usr/lib/pkgconfig/*" + +wrt_files = "" +wrt_files += "wrt.manifest" +wrt_files += "/usr/lib/*.so" +wrt_files += "/usr/lib/*.so.*" +wrt_files += "/usr/share/wrt-engine/*" +wrt_files += "/usr/share/license/wrt" +wrt_files += "/usr/share/aul/preload_list_wrt.txt" +wrt_files += "/usr/lib/systemd/system/graphical.target.wants/wrt_launchpad_daemon@app.service" +wrt_files += "/usr/lib/systemd/system/wrt_launchpad_daemon@.service" +wrt_files += "/usr/lib/systemd/system/sockets.target.wants/wrt_launchpad_daemon_1.socket" +wrt_files += "/usr/lib/systemd/system/wrt_launchpad_daemon_1.socket" +wrt_files += "/usr/lib/systemd/system/sockets.target.wants/wrt_launchpad_daemon_2.socket" +wrt_files += "/usr/lib/systemd/system/wrt_launchpad_daemon_2.socket" + +FILES_${PN}-devel = "${wrt-devel_files}" +FILES_${PN} = "${wrt_files}" + +PKG_wrt-devel= "wrt-devel" +PKG_wrt= "wrt" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require wrt-rdepends.inc +require wrt-depends.inc +require wrt-extraconf.inc diff --git a/meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture-extraconf.inc b/meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture.inc b/meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture.inc new file mode 100644 index 0000000..a06d8d4 --- /dev/null +++ b/meta-tizen/recipes-tizen/x11proto-gesture/x11proto-gesture.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "X.Org X11 Protocol gestureproto" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xorg-x11-proto-gesture" + +xorg-x11-proto-gesture_files = "" +xorg-x11-proto-gesture_files += "xorg-x11-proto-gesture.manifest" +xorg-x11-proto-gesture_files += "/usr/include/X11/extensions/*.h" +xorg-x11-proto-gesture_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xorg-x11-proto-gesture_files}" + +PKG_xorg-x11-proto-gesture= "xorg-x11-proto-gesture" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require x11proto-gesture-rdepends.inc +require x11proto-gesture-depends.inc +require x11proto-gesture-extraconf.inc diff --git a/meta-tizen/recipes-tizen/x86info/x86info-extraconf.inc b/meta-tizen/recipes-tizen/x86info/x86info-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/x86info/x86info-native_git.bb b/meta-tizen/recipes-tizen/x86info/x86info-native_git.bb new file mode 100644 index 0000000..7f2862c --- /dev/null +++ b/meta-tizen/recipes-tizen/x86info/x86info-native_git.bb @@ -0,0 +1,12 @@ +require x86info.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/x86info;protocol=ssh;tag=2b7b22999f433387a24b0eef20c9fcb7d02b98d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/x86info/x86info.inc b/meta-tizen/recipes-tizen/x86info/x86info.inc new file mode 100644 index 0000000..060c4f5 --- /dev/null +++ b/meta-tizen/recipes-tizen/x86info/x86info.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "Show x86 CPU Information" +HOMEPAGE = "http://www.codemonkey.org.uk/projects/x86info/" +SECTION = "System/Monitoring" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by x86info +PROVIDES += "x86info" +RPROVIDES_x86info += "x86info" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of x86info +inherit pythonnative +DEPENDS += "gcc-cross" +DEPENDS += "pciutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/x86info.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make CFLAGS="$RPM_OPT_FLAGS" + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/usr/bin + mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 + mkdir -p $RPM_BUILD_ROOT/usr/sbin + mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8 + install -m 755 x86info $RPM_BUILD_ROOT/usr/bin + install -m 644 x86info.1 $RPM_BUILD_ROOT/usr/share/man/man1 + install -m 755 lsmsr $RPM_BUILD_ROOT/usr/sbin + install -m 644 lsmsr.8 $RPM_BUILD_ROOT/usr/share/man/man8 + + + +} + +PACKAGES = "" +PACKAGES += "x86info" + +x86info_files = "" +x86info_files += "x86info.manifest" +x86info_files += "/usr/share/man/man1/x86info.1.gz" +x86info_files += "/usr/share/man/man8/lsmsr.8.gz" +x86info_files += "README TODO" +x86info_files += "/usr/bin/x86info" +x86info_files += "/usr/sbin/lsmsr" + +FILES_${PN} = "${x86info_files}" + +PKG_x86info= "x86info" + +require x86info-extraconf.inc diff --git a/meta-tizen/recipes-tizen/x86info/x86info_git.bb b/meta-tizen/recipes-tizen/x86info/x86info_git.bb new file mode 100644 index 0000000..ce27f32 --- /dev/null +++ b/meta-tizen/recipes-tizen/x86info/x86info_git.bb @@ -0,0 +1,8 @@ +require x86info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/x86info;protocol=ssh;tag=2b7b22999f433387a24b0eef20c9fcb7d02b98d0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xauth/xauth-extraconf.inc b/meta-tizen/recipes-tizen/xauth/xauth-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xauth/xauth.inc b/meta-tizen/recipes-tizen/xauth/xauth.inc new file mode 100644 index 0000000..0fcae8a --- /dev/null +++ b/meta-tizen/recipes-tizen/xauth/xauth.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Utility to edit and display the X authorization information" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xauth" + +xauth_files = "" +xauth_files += "xauth.manifest" +xauth_files += "COPYING" +xauth_files += "/usr/bin/xauth" +xauth_files += "/usr/share/man/man1/xauth.1.gz" + +FILES_${PN} = "${xauth_files}" + +PKG_xauth= "xauth" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xauth-rdepends.inc +require xauth-depends.inc +require xauth-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xbitmaps/xbitmaps-extraconf.inc b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xbitmaps/xbitmaps-native_git.bb b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps-native_git.bb new file mode 100644 index 0000000..4062b5c --- /dev/null +++ b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps-native_git.bb @@ -0,0 +1,12 @@ +require xbitmaps.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xbitmaps;protocol=ssh;tag=5fd28428f6b03b3e65892dac563557debaafb92f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xbitmaps/xbitmaps.inc b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps.inc new file mode 100644 index 0000000..987951b --- /dev/null +++ b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Base X bitmaps" +HOMEPAGE = "http://xorg.freedesktop.org/releases/individual/data/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xbitmaps +PROVIDES += "xbitmaps" +RPROVIDES_xbitmaps += "xbitmaps" + +#PROVIDES by xbitmaps-devel +PROVIDES += "xbitmaps-devel" +RPROVIDES_xbitmaps-devel += "xbitmaps-devel" +RPROVIDES_xbitmaps-devel += "xbitmaps-dev" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xbitmaps +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xbitmaps.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --libdir=/usr/share + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xbitmaps-devel" + +xbitmaps-devel_files = "" +xbitmaps-devel_files += "xbitmaps.manifest" +xbitmaps-devel_files += "/usr/include/X11/bitmaps" +xbitmaps-devel_files += "/usr/share/pkgconfig/xbitmaps.pc" + +FILES_${PN}-devel = "${xbitmaps-devel_files}" + +PKG_xbitmaps-devel= "xbitmaps-devel" + +require xbitmaps-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xbitmaps/xbitmaps_git.bb b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps_git.bb new file mode 100644 index 0000000..21c65cf --- /dev/null +++ b/meta-tizen/recipes-tizen/xbitmaps/xbitmaps_git.bb @@ -0,0 +1,8 @@ +require xbitmaps.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xbitmaps;protocol=ssh;tag=5fd28428f6b03b3e65892dac563557debaafb92f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xcb-proto/xcb-proto-extraconf.inc b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xcb-proto/xcb-proto-native_git.bb b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto-native_git.bb new file mode 100644 index 0000000..abc4269 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto-native_git.bb @@ -0,0 +1,12 @@ +require xcb-proto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xcb-proto;protocol=ssh;tag=0ac4665e4869874f94154e0c5a653aa4f446199c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xcb-proto/xcb-proto.inc b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto.inc new file mode 100644 index 0000000..96a87d1 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "X C Binding - protocol descriptions" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/X11 Protocols" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by python-xcb-proto +PROVIDES += "python-xcb-proto" +RPROVIDES_python-xcb-proto += "python-xcb-proto" + +#PROVIDES by xcb-proto +PROVIDES += "xcb-proto" +RPROVIDES_xcb-proto += "xcb-proto" + +RDEPENDS = "" +#RDEPENDS of python-xcb-proto (python-${PN}) +RDEPENDS_python-${PN} += "python" + +#RDEPENDS of xcb-proto (${PN}) +RDEPENDS_${PN} += "python-xcb-proto" + + +DEPENDS = "" +#DEPENDS of xcb-proto +inherit pythonnative +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xcb-proto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xcb-proto + rm -rf ${D}/usr/share/doc/xcb-proto-1.8 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "python-xcb-proto" +PACKAGES += "xcb-proto" + +python-xcb-proto_files = "" +python-xcb-proto_files += "xcb-proto.manifest" +python-xcb-proto_files += "/usr/lib/python2.7/site-packages/xcbgen/" + +xcb-proto_files = "" +xcb-proto_files += "xcb-proto.manifest" +xcb-proto_files += "/usr/share/pkgconfig/xcb-proto.pc" +xcb-proto_files += "/usr/share/xcb/" +xcb-proto_files += "/usr/share/xcb/*.xsd" +xcb-proto_files += "/usr/share/xcb/*.xml" + +FILES_python-${PN} = "${python-xcb-proto_files}" +FILES_${PN} = "${xcb-proto_files}" + +PKG_python-xcb-proto= "python-xcb-proto" +PKG_xcb-proto= "xcb-proto" + +require xcb-proto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xcb-proto/xcb-proto_git.bb b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto_git.bb new file mode 100644 index 0000000..d57ff1a --- /dev/null +++ b/meta-tizen/recipes-tizen/xcb-proto/xcb-proto_git.bb @@ -0,0 +1,8 @@ +require xcb-proto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xcb-proto;protocol=ssh;tag=0ac4665e4869874f94154e0c5a653aa4f446199c;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms-extraconf.inc b/meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms.inc b/meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms.inc new file mode 100644 index 0000000..cf09fce --- /dev/null +++ b/meta-tizen/recipes-tizen/xcb-util-keysyms/xcb-util-keysyms.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "XCB utility module for X keycode constants and conversions" +HOMEPAGE = "http://xcb.freedesktop.org/" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libxcb-keysyms" +PACKAGES += "xcb-util-keysyms-devel" + +libxcb-keysyms_files = "" +libxcb-keysyms_files += "xcb-util-keysyms.manifest" +libxcb-keysyms_files += "/usr/lib/libxcb-keysyms.so.1*" + +xcb-util-keysyms-devel_files = "" +xcb-util-keysyms-devel_files += "xcb-util-keysyms.manifest" +xcb-util-keysyms-devel_files += "/usr/include/xcb" +xcb-util-keysyms-devel_files += "/usr/lib/libxcb-keysyms.so" +xcb-util-keysyms-devel_files += "/usr/lib/pkgconfig/xcb-keysyms.pc" + +FILES_libxcb-keysyms = "${libxcb-keysyms_files}" +FILES_${PN}-devel = "${xcb-util-keysyms-devel_files}" + +PKG_libxcb-keysyms= "libxcb-keysyms" +PKG_xcb-util-keysyms-devel= "xcb-util-keysyms-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xcb-util-keysyms-rdepends.inc +require xcb-util-keysyms-depends.inc +require xcb-util-keysyms-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xcb-util/xcb-util-extraconf.inc b/meta-tizen/recipes-tizen/xcb-util/xcb-util-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xcb-util/xcb-util.inc b/meta-tizen/recipes-tizen/xcb-util/xcb-util.inc new file mode 100644 index 0000000..bf5acd9 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcb-util/xcb-util.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Utility libraries for X C Binding" +HOMEPAGE = "http://xcb.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "libxcb-util" +PACKAGES += "xcb-util-devel" + +libxcb-util_files = "" +libxcb-util_files += "xcb-util.manifest" +libxcb-util_files += "/usr/lib/libxcb-util.so.*" + +xcb-util-devel_files = "" +xcb-util-devel_files += "xcb-util.manifest" +xcb-util-devel_files += "/usr/lib/pkgconfig/*.pc" +xcb-util-devel_files += "/usr/lib/*.so" +xcb-util-devel_files += "/usr/include/xcb/*.h" + +FILES_lib${PN} = "${libxcb-util_files}" +FILES_${PN}-devel = "${xcb-util-devel_files}" + +PKG_libxcb-util= "libxcb-util" +PKG_xcb-util-devel= "xcb-util-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xcb-util-rdepends.inc +require xcb-util-depends.inc +require xcb-util-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-extraconf.inc b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-native_git.bb b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-native_git.bb new file mode 100644 index 0000000..58df530 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto-native_git.bb @@ -0,0 +1,12 @@ +require xcmiscproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xcmiscproto;protocol=ssh;tag=b2454d86879a9a789dcbec7e6d1bc46070373186;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto.inc b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto.inc new file mode 100644 index 0000000..37c6bc8 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xcmiscproto +PROVIDES += "xcmiscproto" +RPROVIDES_xcmiscproto += "xcmiscproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xcmiscproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xcmiscproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xcmiscproto + rm -rf ${D}/usr/share/doc/xcmiscproto-1.2.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xcmiscproto" + +xcmiscproto_files = "" +xcmiscproto_files += "xcmiscproto.manifest" +xcmiscproto_files += "/usr/include/X11/extensions/*.h" +xcmiscproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xcmiscproto_files}" + +PKG_xcmiscproto= "xcmiscproto" + +require xcmiscproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto_git.bb b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto_git.bb new file mode 100644 index 0000000..7d9cfb6 --- /dev/null +++ b/meta-tizen/recipes-tizen/xcmiscproto/xcmiscproto_git.bb @@ -0,0 +1,8 @@ +require xcmiscproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xcmiscproto;protocol=ssh;tag=b2454d86879a9a789dcbec7e6d1bc46070373186;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xconsole/xconsole-extraconf.inc b/meta-tizen/recipes-tizen/xconsole/xconsole-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xconsole/xconsole.inc b/meta-tizen/recipes-tizen/xconsole/xconsole.inc new file mode 100644 index 0000000..0bd4d9c --- /dev/null +++ b/meta-tizen/recipes-tizen/xconsole/xconsole.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Utility to monitor system console messages with X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xconsole" + +xconsole_files = "" +xconsole_files += "xconsole.manifest" +xconsole_files += "COPYING" +xconsole_files += "/usr/bin/xconsole" +xconsole_files += "/etc/X11/app-defaults/XConsole" +xconsole_files += "/usr/share/man/man1/xconsole.1.gz" + +FILES_${PN} = "${xconsole_files}" + +PKG_xconsole= "xconsole" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xconsole-rdepends.inc +require xconsole-depends.inc +require xconsole-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xdelta1/xdelta1-extraconf.inc b/meta-tizen/recipes-tizen/xdelta1/xdelta1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xdelta1/xdelta1-native_git.bb b/meta-tizen/recipes-tizen/xdelta1/xdelta1-native_git.bb new file mode 100644 index 0000000..ce00601 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdelta1/xdelta1-native_git.bb @@ -0,0 +1,12 @@ +require xdelta1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdelta1;protocol=ssh;tag=346b70280c8234a327a761e52610355628427341;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdelta1/xdelta1.inc b/meta-tizen/recipes-tizen/xdelta1/xdelta1.inc new file mode 100644 index 0000000..a65a4c7 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdelta1/xdelta1.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Binary delta generator and RCS replacement library" +HOMEPAGE = "http://xdelta.org/" +SECTION = "Platform Development/Tools" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xdelta +PROVIDES += "xdelta" +RPROVIDES_xdelta += "xdelta" + +#PROVIDES by xdelta-devel +PROVIDES += "xdelta-devel" +RPROVIDES_xdelta-devel += "xdelta-devel" +RPROVIDES_xdelta-devel += "xdelta-dev" + +RDEPENDS = "" +#RDEPENDS of xdelta-devel (xdelta-devel) +RDEPENDS_xdelta-devel += "pkgconfig(glib-2.0)" +RDEPENDS_xdelta-devel += "xdelta" + + +DEPENDS = "" +#DEPENDS of xdelta +DEPENDS += "zlib-devel" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "libtool-cross" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xdelta.manifest . + chmod -x AUTHORS COPYING INSTALL Makefile.am NEWS README *.c *.h *.in xd* */* + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xdelta" +PACKAGES += "xdelta-devel" + +xdelta_files = "" +xdelta_files += "xdelta.manifest" +xdelta_files += "/usr/bin/xdelta" +xdelta_files += "/usr/share/man/man1/xdelta.*" +xdelta_files += "/usr/lib/lib*.so.*" + +xdelta-devel_files = "" +xdelta-devel_files += "xdelta.manifest" +xdelta-devel_files += "/usr/include/*" +xdelta-devel_files += "/usr/bin/xdelta-config" +xdelta-devel_files += "/usr/lib/*.so" +xdelta-devel_files += "/usr/share/aclocal/xdelta.m4" + +FILES_${PN} = "${xdelta_files}" +FILES_${PN}-devel = "${xdelta-devel_files}" + +PKG_xdelta= "xdelta" +PKG_xdelta-devel= "xdelta-devel" + +require xdelta1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xdelta1/xdelta1_git.bb b/meta-tizen/recipes-tizen/xdelta1/xdelta1_git.bb new file mode 100644 index 0000000..632a375 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdelta1/xdelta1_git.bb @@ -0,0 +1,8 @@ +require xdelta1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdelta1;protocol=ssh;tag=346b70280c8234a327a761e52610355628427341;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-extraconf.inc b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-native_git.bb b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-native_git.bb new file mode 100644 index 0000000..ab6d7f1 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs-native_git.bb @@ -0,0 +1,12 @@ +require xdg-user-dirs.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdg-user-dirs;protocol=ssh;tag=a0a4a85f022129731f19d2e36f9e234e62736a57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs.inc b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs.inc new file mode 100644 index 0000000..fd5d1ac --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "Utilities to handle user data directories" +HOMEPAGE = "http://freedesktop.org/wiki/Software/xdg-user-dirs" +SECTION = "Graphics/X Window System" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xdg-user-dirs-locale +PROVIDES += "xdg-user-dirs-locale " +RPROVIDES_xdg-user-dirs-locale += "xdg-user-dirs-locale " +# the PROVIDES rules is ignore "xdg-user-dirs-lang-all = 0.14" +PROVIDES += "xdg-user-dirs-lang-all" +RPROVIDES_xdg-user-dirs-locale += "xdg-user-dirs-lang-all" + +#PROVIDES by xdg-user-dirs +PROVIDES += "xdg-user-dirs" +RPROVIDES_xdg-user-dirs += "xdg-user-dirs" + +RDEPENDS = "" +#RDEPENDS of xdg-user-dirs-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "xdg-user-dirs" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xdg-user-dirs.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} xdg-user-dirs + mkdir -p ${D}/etc/X11/xinit/xinitrc.d + install -m 0755 ${S}/packaging/xdg-user-dirs.sh ${D}/etc/X11/xinit/xinitrc.d/xdg-user-dirs.sh + + + +} + +PACKAGES = "" +PACKAGES += "xdg-user-dirs-locale" +PACKAGES += "xdg-user-dirs" + +xdg-user-dirs-locale_files = "" + +xdg-user-dirs_files = "" +xdg-user-dirs_files += "xdg-user-dirs.manifest" +xdg-user-dirs_files += "/etc/xdg/user-dirs.conf" +xdg-user-dirs_files += "/etc/xdg/user-dirs.defaults" +xdg-user-dirs_files += "/etc/X11/xinit" +xdg-user-dirs_files += "/etc/X11/xinit/xinitrc.d" +xdg-user-dirs_files += "/etc/X11/xinit/xinitrc.d/xdg-user-dirs.sh" +xdg-user-dirs_files += "/usr/bin/xdg-user-dir" +xdg-user-dirs_files += "/usr/bin/xdg-user-dirs-update" + +FILES_${PN}-locale = "${xdg-user-dirs-locale_files}" +FILES_${PN} = "${xdg-user-dirs_files}" + +PKG_xdg-user-dirs-locale= "xdg-user-dirs-locale" +PKG_xdg-user-dirs= "xdg-user-dirs" + +require xdg-user-dirs-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs_git.bb b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs_git.bb new file mode 100644 index 0000000..5e57f08 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-user-dirs/xdg-user-dirs_git.bb @@ -0,0 +1,8 @@ +require xdg-user-dirs.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdg-user-dirs;protocol=ssh;tag=a0a4a85f022129731f19d2e36f9e234e62736a57;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdg-utils/xdg-utils-extraconf.inc b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xdg-utils/xdg-utils-native_git.bb b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils-native_git.bb new file mode 100644 index 0000000..37a0e64 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils-native_git.bb @@ -0,0 +1,12 @@ +require xdg-utils.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdg-utils;protocol=ssh;tag=d7ead885ed669476df6a16e5c024de279bbc16f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdg-utils/xdg-utils.inc b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils.inc new file mode 100644 index 0000000..d597eca --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Utilities to uniformly interface desktop environments" +HOMEPAGE = "http://portland.freedesktop.org/" +SECTION = "System/GUI/Other" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xdg-utils +PROVIDES += "xdg-utils" +RPROVIDES_xdg-utils += "xdg-utils" + +#PROVIDES by xdg-utils-docs +PROVIDES += "xdg-utils-docs " +RPROVIDES_xdg-utils-docs += "xdg-utils-docs " + +RDEPENDS = "" +#RDEPENDS of xdg-utils (${PN}) +RDEPENDS_${PN} += "perl-Net-DBus" +RDEPENDS_${PN} += "perl-X11-Protocol" +RDEPENDS_${PN} += "perl" + + +DEPENDS = "" +#DEPENDS of xdg-utils +DEPENDS += "xz" +DEPENDS += "make" +DEPENDS += "xmlto" +DEPENDS += "links" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n xdg-utils-20120310 + cp ${S}/packaging/xdg-utils.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + (cd scripts; make scripts-clean; make scripts) + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + +} + +PACKAGES = "" +PACKAGES += "xdg-utils" +PACKAGES += "xdg-utils-docs" + +xdg-utils_files = "" +xdg-utils_files += "xdg-utils.manifest" +xdg-utils_files += "LICENSE" +xdg-utils_files += "/usr/bin/xdg-desktop-icon" +xdg-utils_files += "/usr/bin/xdg-desktop-menu" +xdg-utils_files += "/usr/bin/xdg-email" +xdg-utils_files += "/usr/bin/xdg-icon-resource" +xdg-utils_files += "/usr/bin/xdg-mime" +xdg-utils_files += "/usr/bin/xdg-open" +xdg-utils_files += "/usr/bin/xdg-su" +xdg-utils_files += "/usr/bin/xdg-screensaver" +xdg-utils_files += "/usr/bin/xdg-settings" +xdg-utils_files += "/usr/bin/xdg-terminal" + +xdg-utils-docs_files = "" +xdg-utils-docs_files += "/usr/share/info" +xdg-utils-docs_files += "/usr/share/man" + +FILES_${PN} = "${xdg-utils_files}" +FILES_${PN}-docs = "${xdg-utils-docs_files}" + +PKG_xdg-utils= "xdg-utils" +PKG_xdg-utils-docs= "xdg-utils-docs" + +require xdg-utils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xdg-utils/xdg-utils_git.bb b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils_git.bb new file mode 100644 index 0000000..d110e3a --- /dev/null +++ b/meta-tizen/recipes-tizen/xdg-utils/xdg-utils_git.bb @@ -0,0 +1,8 @@ +require xdg-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xdg-utils;protocol=ssh;tag=d7ead885ed669476df6a16e5c024de279bbc16f0;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime-extraconf.inc b/meta-tizen/recipes-tizen/xdgmime/xdgmime-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime-native_git.bb b/meta-tizen/recipes-tizen/xdgmime/xdgmime-native_git.bb new file mode 100644 index 0000000..4e09ff2 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime-native_git.bb @@ -0,0 +1,12 @@ +require xdgmime.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/xdgmime;protocol=ssh;tag=67141100ad0f940567492958ae9c315c80dd579e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc new file mode 100644 index 0000000..d67e81b --- /dev/null +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "Pkg xdgmime" +HOMEPAGE = "http://nohomepage.org" +SECTION = "TO_BE/FILLED_IN" +LICENSE = "LGPLv2, AFLv2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xdgmime-devel +PROVIDES += "xdgmime-devel" +RPROVIDES_xdgmime-devel += "xdgmime-devel" +RPROVIDES_xdgmime-devel += "xdgmime-dev" + +#PROVIDES by xdgmime +PROVIDES += "xdgmime" +RPROVIDES_xdgmime += "xdgmime" + +RDEPENDS = "" +#RDEPENDS of xdgmime-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "xdgmime" + + +DEPENDS = "" +#DEPENDS of xdgmime +DEPENDS += "cmake" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xdgmime.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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}" ; export FFLAGS ; + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ + -DLIB_INSTALL_DIR:PATH=/usr/lib \ + -DSYSCONF_INSTALL_DIR:PATH=/etc \ + -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xdgmime-devel" +PACKAGES += "xdgmime" + +xdgmime-devel_files = "" +xdgmime-devel_files += "xdgmime.manifest" +xdgmime-devel_files += "/usr/include/xdgmime.h" +xdgmime-devel_files += "/usr/lib/libxdgmime.so" +xdgmime-devel_files += "/usr/lib/pkgconfig/xdgmime.pc" + +xdgmime_files = "" +xdgmime_files += "xdgmime.manifest" +xdgmime_files += "/usr/lib/libxdgmime.so.*" +xdgmime_files += "xdgmime.manifest" + +FILES_${PN}-devel = "${xdgmime-devel_files}" +FILES_${PN} = "${xdgmime_files}" + +PKG_xdgmime-devel= "xdgmime-devel" +PKG_xdgmime= "xdgmime" + +require xdgmime-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb b/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb new file mode 100644 index 0000000..1516f19 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime_git.bb @@ -0,0 +1,8 @@ +require xdgmime.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/xdgmime;protocol=ssh;tag=67141100ad0f940567492958ae9c315c80dd579e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo-extraconf.inc b/meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo.inc b/meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo.inc new file mode 100644 index 0000000..ac4d579 --- /dev/null +++ b/meta-tizen/recipes-tizen/xdpyinfo/xdpyinfo.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Utility to display information about an X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xdpyinfo" + +xdpyinfo_files = "" +xdpyinfo_files += "xdpyinfo.manifest" +xdpyinfo_files += "/usr/bin/xdpyinfo" +xdpyinfo_files += "/usr/share/man/man1/xdpyinfo.1.gz" + +FILES_${PN} = "${xdpyinfo_files}" + +PKG_xdpyinfo= "xdpyinfo" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xdpyinfo-rdepends.inc +require xdpyinfo-depends.inc +require xdpyinfo-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xextproto/xextproto-extraconf.inc b/meta-tizen/recipes-tizen/xextproto/xextproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xextproto/xextproto-native_git.bb b/meta-tizen/recipes-tizen/xextproto/xextproto-native_git.bb new file mode 100644 index 0000000..9396800 --- /dev/null +++ b/meta-tizen/recipes-tizen/xextproto/xextproto-native_git.bb @@ -0,0 +1,12 @@ +require xextproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xextproto;protocol=ssh;tag=7b577a98003e82610571f00c70a2554da3bba9af;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xextproto/xextproto.inc b/meta-tizen/recipes-tizen/xextproto/xextproto.inc new file mode 100644 index 0000000..f010e47 --- /dev/null +++ b/meta-tizen/recipes-tizen/xextproto/xextproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xextproto +PROVIDES += "xextproto" +RPROVIDES_xextproto += "xextproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xextproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xextproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xextproto + rm -rf ${D}/usr/share/doc/xextproto-7.2.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xextproto" + +xextproto_files = "" +xextproto_files += "xextproto.manifest" +xextproto_files += "/usr/include/X11/extensions/*.h" +xextproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xextproto_files}" + +PKG_xextproto= "xextproto" + +require xextproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xextproto/xextproto_git.bb b/meta-tizen/recipes-tizen/xextproto/xextproto_git.bb new file mode 100644 index 0000000..53832aa --- /dev/null +++ b/meta-tizen/recipes-tizen/xextproto/xextproto_git.bb @@ -0,0 +1,8 @@ +require xextproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xextproto;protocol=ssh;tag=7b577a98003e82610571f00c70a2554da3bba9af;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev-extraconf.inc b/meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev.inc b/meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev.inc new file mode 100644 index 0000000..0b3c073e --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-input-evdev/xf86-input-evdev.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Generic Linux input driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-input-evdev-devel" +PACKAGES += "xf86-input-evdev" + +xf86-input-evdev-devel_files = "" +xf86-input-evdev-devel_files += "xf86-input-evdev.manifest" +xf86-input-evdev-devel_files += "/usr/include/xorg/evdev-properties.h" +xf86-input-evdev-devel_files += "/usr/lib/pkgconfig/xorg-evdev.pc" + +xf86-input-evdev_files = "" +xf86-input-evdev_files += "xf86-input-evdev.manifest" +xf86-input-evdev_files += "COPYING" +xf86-input-evdev_files += "/etc/X11/xorg.conf.d/10-evdev.conf" +xf86-input-evdev_files += "/usr/lib/xorg/modules/input" +xf86-input-evdev_files += "/usr/lib/xorg/modules/input/evdev_drv.so" + +FILES_${PN}-devel = "${xf86-input-evdev-devel_files}" +FILES_${PN} = "${xf86-input-evdev_files}" + +PKG_xf86-input-evdev-devel= "xf86-input-evdev-devel" +PKG_xf86-input-evdev= "xf86-input-evdev" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-input-evdev-rdepends.inc +require xf86-input-evdev-depends.inc +require xf86-input-evdev-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard-extraconf.inc b/meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard.inc b/meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard.inc new file mode 100644 index 0000000..41a6027 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-input-keyboard/xf86-input-keyboard.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Keyboard input driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "GPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-input-keyboard" + +xf86-input-keyboard_files = "" +xf86-input-keyboard_files += "xf86-input-keyboard.manifest" +xf86-input-keyboard_files += "COPYING" +xf86-input-keyboard_files += "/usr/lib/xorg/modules/input" +xf86-input-keyboard_files += "/usr/lib/xorg/modules/input/kbd_drv.so" + +FILES_${PN} = "${xf86-input-keyboard_files}" + +PKG_xf86-input-keyboard= "xf86-input-keyboard" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-input-keyboard-rdepends.inc +require xf86-input-keyboard-depends.inc +require xf86-input-keyboard-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics-extraconf.inc b/meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics.inc b/meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics.inc new file mode 100644 index 0000000..70a3576 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-input-synaptics/xf86-input-synaptics.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "Synaptics touchpad input driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-input-synaptics" +PACKAGES += "xf86-input-synaptics-devel" + +xf86-input-synaptics_files = "" +xf86-input-synaptics_files += "xf86-input-synaptics.manifest" +xf86-input-synaptics_files += "COPYING README" +xf86-input-synaptics_files += "/etc/X11/xorg.conf.d/50-synaptics.conf" +xf86-input-synaptics_files += "/usr/lib/xorg/modules/input" +xf86-input-synaptics_files += "/usr/lib/xorg/modules/input/synaptics_drv.so" +xf86-input-synaptics_files += "/usr/bin/synclient" +xf86-input-synaptics_files += "/usr/bin/syndaemon" + +xf86-input-synaptics-devel_files = "" +xf86-input-synaptics-devel_files += "xf86-input-synaptics.manifest" +xf86-input-synaptics-devel_files += "/usr/include/xorg/synaptics.h" +xf86-input-synaptics-devel_files += "/usr/include/xorg/synaptics-properties.h" +xf86-input-synaptics-devel_files += "/usr/lib/pkgconfig/xorg-synaptics.pc" + +FILES_${PN} = "${xf86-input-synaptics_files}" +FILES_${PN}-devel = "${xf86-input-synaptics-devel_files}" + +PKG_xf86-input-synaptics= "xf86-input-synaptics" +PKG_xf86-input-synaptics-devel= "xf86-input-synaptics-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-input-synaptics-rdepends.inc +require xf86-input-synaptics-depends.inc +require xf86-input-synaptics-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus-extraconf.inc b/meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus.inc b/meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus.inc new file mode 100644 index 0000000..7237850 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-video-cirrus/xf86-video-cirrus.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Cirrus Logic video driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-video-cirrus" + +xf86-video-cirrus_files = "" +xf86-video-cirrus_files += "xf86-video-cirrus.manifest" +xf86-video-cirrus_files += "COPYING" +xf86-video-cirrus_files += "/usr/lib/xorg/modules/drivers" +xf86-video-cirrus_files += "/usr/lib/xorg/modules/drivers/cirrus_alpine.so" +xf86-video-cirrus_files += "/usr/lib/xorg/modules/drivers/cirrus_laguna.so" +xf86-video-cirrus_files += "/usr/lib/xorg/modules/drivers/cirrus_drv.so" +xf86-video-cirrus_files += "/usr/share/man/man4/cirrus.4.gz" + +FILES_${PN} = "${xf86-video-cirrus_files}" + +PKG_xf86-video-cirrus= "xf86-video-cirrus" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-video-cirrus-rdepends.inc +require xf86-video-cirrus-depends.inc +require xf86-video-cirrus-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev-extraconf.inc b/meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev.inc b/meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev.inc new file mode 100644 index 0000000..73e465d --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-video-fbdev/xf86-video-fbdev.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Framebuffer video driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-video-fbdev" + +xf86-video-fbdev_files = "" +xf86-video-fbdev_files += "xf86-video-fbdev.manifest" +xf86-video-fbdev_files += "COPYING" +xf86-video-fbdev_files += "/usr/lib/xorg/modules/drivers" +xf86-video-fbdev_files += "/usr/lib/xorg/modules/drivers/fbdev_drv.so" +xf86-video-fbdev_files += "/usr/share/man/man4/fbdev.4.gz" + +FILES_${PN} = "${xf86-video-fbdev_files}" + +PKG_xf86-video-fbdev= "xf86-video-fbdev" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-video-fbdev-rdepends.inc +require xf86-video-fbdev-depends.inc +require xf86-video-fbdev-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware-extraconf.inc b/meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware.inc b/meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware.inc new file mode 100644 index 0000000..1df1914 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86-video-vmware/xf86-video-vmware.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "VMware SVGA video driver for the Xorg X server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Servers/XF86_4" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86-video-vmware" + +xf86-video-vmware_files = "" +xf86-video-vmware_files += "xf86-video-vmware.manifest" +xf86-video-vmware_files += "COPYING" +xf86-video-vmware_files += "/usr/lib/xorg/modules/drivers" +xf86-video-vmware_files += "/usr/lib/xorg/modules/drivers/vmware_drv.so" +xf86-video-vmware_files += "/usr/share/man/man4/vmware.4.gz" + +FILES_${PN} = "${xf86-video-vmware_files}" + +PKG_xf86-video-vmware= "xf86-video-vmware" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86-video-vmware-rdepends.inc +require xf86-video-vmware-depends.inc +require xf86-video-vmware-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-extraconf.inc b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-native_git.bb b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-native_git.bb new file mode 100644 index 0000000..e171e02 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto-native_git.bb @@ -0,0 +1,12 @@ +require xf86bigfontproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86bigfontproto;protocol=ssh;tag=24933985e96eefd3142294d3c56f6d035d0d8dc2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto.inc b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto.inc new file mode 100644 index 0000000..de153a2 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xf86bigfontproto +PROVIDES += "xf86bigfontproto" +RPROVIDES_xf86bigfontproto += "xf86bigfontproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xf86bigfontproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xf86bigfontproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xf86bigfontproto + rm -rf ${D}/usr/share/doc/xf86bigfontproto-1.2.0 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xf86bigfontproto" + +xf86bigfontproto_files = "" +xf86bigfontproto_files += "xf86bigfontproto.manifest" +xf86bigfontproto_files += "/usr/include/X11/extensions/*.h" +xf86bigfontproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xf86bigfontproto_files}" + +PKG_xf86bigfontproto= "xf86bigfontproto" + +require xf86bigfontproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto_git.bb b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto_git.bb new file mode 100644 index 0000000..a2d07ee --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86bigfontproto/xf86bigfontproto_git.bb @@ -0,0 +1,8 @@ +require xf86bigfontproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86bigfontproto;protocol=ssh;tag=24933985e96eefd3142294d3c56f6d035d0d8dc2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-extraconf.inc b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-native_git.bb b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-native_git.bb new file mode 100644 index 0000000..97effc5 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto-native_git.bb @@ -0,0 +1,12 @@ +require xf86dgaproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86dgaproto;protocol=ssh;tag=379e2c36919eea6ee4c3e464fb7b59010d1b2cb4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto.inc b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto.inc new file mode 100644 index 0000000..1adf458 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto.inc @@ -0,0 +1,118 @@ +DESCRIPTION = "X.Org X11 Protocol xf86dgaproto" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xf86dgaproto +PROVIDES += "xf86dgaproto" +RPROVIDES_xf86dgaproto += "xf86dgaproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xf86dgaproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xf86dgaproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xf86dgaproto + rm -rf ${D}/usr/share/doc/xf86dgaproto-2.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xf86dgaproto" + +xf86dgaproto_files = "" +xf86dgaproto_files += "xf86dgaproto.manifest" +xf86dgaproto_files += "/usr/include/X11/extensions/*.h" +xf86dgaproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xf86dgaproto_files}" + +PKG_xf86dgaproto= "xf86dgaproto" + +require xf86dgaproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto_git.bb b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto_git.bb new file mode 100644 index 0000000..3d7cdfc --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86dgaproto/xf86dgaproto_git.bb @@ -0,0 +1,8 @@ +require xf86dgaproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86dgaproto;protocol=ssh;tag=379e2c36919eea6ee4c3e464fb7b59010d1b2cb4;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86driproto/xf86driproto-extraconf.inc b/meta-tizen/recipes-tizen/xf86driproto/xf86driproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86driproto/xf86driproto.inc b/meta-tizen/recipes-tizen/xf86driproto/xf86driproto.inc new file mode 100644 index 0000000..8a3102c --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86driproto/xf86driproto.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "X.Org X11 Protocol xf86driproto" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xf86driproto" + +xf86driproto_files = "" +xf86driproto_files += "xf86driproto.manifest" +xf86driproto_files += "/usr/include/X11/dri/*.h" +xf86driproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xf86driproto_files}" + +PKG_xf86driproto= "xf86driproto" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xf86driproto-rdepends.inc +require xf86driproto-depends.inc +require xf86driproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-extraconf.inc b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-native_git.bb b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-native_git.bb new file mode 100644 index 0000000..8811007 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto-native_git.bb @@ -0,0 +1,12 @@ +require xf86miscproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86miscproto;protocol=ssh;tag=7c953229b786512054956bd6e93796fd2ca1d527;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto.inc b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto.inc new file mode 100644 index 0000000..80b81c1 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "xf86miscproto protocol" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xf86miscproto +PROVIDES += "xf86miscproto" +RPROVIDES_xf86miscproto += "xf86miscproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xf86miscproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xf86miscproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xf86miscproto + rm -rf ${D}/usr/share/doc/xf86miscproto-0.9.3 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + + +} + +PACKAGES = "" +PACKAGES += "xf86miscproto" + +xf86miscproto_files = "" +xf86miscproto_files += "xf86miscproto.manifest" +xf86miscproto_files += "/usr/include/X11/extensions/*.h" +xf86miscproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xf86miscproto_files}" + +PKG_xf86miscproto= "xf86miscproto" + +require xf86miscproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto_git.bb b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto_git.bb new file mode 100644 index 0000000..e3353ab --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86miscproto/xf86miscproto_git.bb @@ -0,0 +1,8 @@ +require xf86miscproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86miscproto;protocol=ssh;tag=7c953229b786512054956bd6e93796fd2ca1d527;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-extraconf.inc b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-native_git.bb b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-native_git.bb new file mode 100644 index 0000000..774a4b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto-native_git.bb @@ -0,0 +1,12 @@ +require xf86vidmodeproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86vidmodeproto;protocol=ssh;tag=c6dc4413b970599246b9a2fe963ae35a7c454d27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto.inc b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto.inc new file mode 100644 index 0000000..1471815 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xf86vidmodeproto +PROVIDES += "xf86vidmodeproto" +RPROVIDES_xf86vidmodeproto += "xf86vidmodeproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xf86vidmodeproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xf86vidmodeproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xf86vidmodeproto + rm -rf ${D}/usr/share/doc/xf86vidmodeproto-2.3.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xf86vidmodeproto" + +xf86vidmodeproto_files = "" +xf86vidmodeproto_files += "xf86vidmodeproto.manifest" +xf86vidmodeproto_files += "/usr/include/X11/extensions/*.h" +xf86vidmodeproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xf86vidmodeproto_files}" + +PKG_xf86vidmodeproto= "xf86vidmodeproto" + +require xf86vidmodeproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto_git.bb b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto_git.bb new file mode 100644 index 0000000..a041b89 --- /dev/null +++ b/meta-tizen/recipes-tizen/xf86vidmodeproto/xf86vidmodeproto_git.bb @@ -0,0 +1,8 @@ +require xf86vidmodeproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xf86vidmodeproto;protocol=ssh;tag=c6dc4413b970599246b9a2fe963ae35a7c454d27;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xhost/xhost-extraconf.inc b/meta-tizen/recipes-tizen/xhost/xhost-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xhost/xhost.inc b/meta-tizen/recipes-tizen/xhost/xhost.inc new file mode 100644 index 0000000..5272970 --- /dev/null +++ b/meta-tizen/recipes-tizen/xhost/xhost.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Utility to control X server access" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xhost" + +xhost_files = "" +xhost_files += "xhost.manifest" +xhost_files += "/usr/bin/xhost" +xhost_files += "/usr/share/man/man1/xhost.1.gz" + +FILES_${PN} = "${xhost_files}" + +PKG_xhost= "xhost" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xhost-rdepends.inc +require xhost-depends.inc +require xhost-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xineramaproto/xineramaproto-extraconf.inc b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xineramaproto/xineramaproto-native_git.bb b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto-native_git.bb new file mode 100644 index 0000000..eb0a23c --- /dev/null +++ b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto-native_git.bb @@ -0,0 +1,12 @@ +require xineramaproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xineramaproto;protocol=ssh;tag=aea15fbe2c5005f500bf632ba3f5a36b6d497f34;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xineramaproto/xineramaproto.inc b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto.inc new file mode 100644 index 0000000..f9118db --- /dev/null +++ b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xineramaproto +PROVIDES += "xineramaproto" +RPROVIDES_xineramaproto += "xineramaproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xineramaproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xineramaproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xineramaproto + rm -rf ${D}/usr/share/doc/xineramaproto-1.2.1 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xineramaproto" + +xineramaproto_files = "" +xineramaproto_files += "xineramaproto.manifest" +xineramaproto_files += "/usr/include/X11/extensions/*.h" +xineramaproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xineramaproto_files}" + +PKG_xineramaproto= "xineramaproto" + +require xineramaproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xineramaproto/xineramaproto_git.bb b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto_git.bb new file mode 100644 index 0000000..5738f13 --- /dev/null +++ b/meta-tizen/recipes-tizen/xineramaproto/xineramaproto_git.bb @@ -0,0 +1,8 @@ +require xineramaproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xineramaproto;protocol=ssh;tag=aea15fbe2c5005f500bf632ba3f5a36b6d497f34;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xinit/xinit-extraconf.inc b/meta-tizen/recipes-tizen/xinit/xinit-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xinit/xinit.inc b/meta-tizen/recipes-tizen/xinit/xinit.inc new file mode 100644 index 0000000..8314825 --- /dev/null +++ b/meta-tizen/recipes-tizen/xinit/xinit.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "X Window System initializer" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xinit" + +xinit_files = "" +xinit_files += "xinit.manifest" +xinit_files += "/etc/X11/xinit/" +xinit_files += "/usr/bin/xinit" +xinit_files += "/usr/share/man/man1/startx.1.gz" +xinit_files += "/usr/share/man/man1/xinit.1.gz" + +FILES_${PN} = "${xinit_files}" + +PKG_xinit= "xinit" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xinit-rdepends.inc +require xinit-depends.inc +require xinit-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xinput/xinput-extraconf.inc b/meta-tizen/recipes-tizen/xinput/xinput-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xinput/xinput.inc b/meta-tizen/recipes-tizen/xinput/xinput.inc new file mode 100644 index 0000000..84b31c7 --- /dev/null +++ b/meta-tizen/recipes-tizen/xinput/xinput.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Utility to configure and test X input devices" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11" +LICENSE = "MIT and HPND" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xinput" + +xinput_files = "" +xinput_files += "xinput.manifest" +xinput_files += "/usr/bin/xinput" +xinput_files += "/usr/share/man/man1/xinput.1.gz" + +FILES_${PN} = "${xinput_files}" + +PKG_xinput= "xinput" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xinput-rdepends.inc +require xinput-depends.inc +require xinput-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkbcomp/xkbcomp-extraconf.inc b/meta-tizen/recipes-tizen/xkbcomp/xkbcomp-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xkbcomp/xkbcomp.inc b/meta-tizen/recipes-tizen/xkbcomp/xkbcomp.inc new file mode 100644 index 0000000..b81324d --- /dev/null +++ b/meta-tizen/recipes-tizen/xkbcomp/xkbcomp.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Utility to compile XKB keyboard description" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xkbcomp" +PACKAGES += "xkbcomp-devel" + +xkbcomp_files = "" +xkbcomp_files += "xkbcomp.manifest" +xkbcomp_files += "COPYING" +xkbcomp_files += "/usr/bin/xkbcomp" +xkbcomp_files += "/usr/share/man/man1/xkbcomp.1.gz" + +xkbcomp-devel_files = "" +xkbcomp-devel_files += "xkbcomp.manifest" +xkbcomp-devel_files += "/usr/lib/pkgconfig/xkbcomp.pc" + +FILES_${PN} = "${xkbcomp_files}" +FILES_${PN}-devel = "${xkbcomp-devel_files}" + +PKG_xkbcomp= "xkbcomp" +PKG_xkbcomp-devel= "xkbcomp-devel" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xkbcomp-rdepends.inc +require xkbcomp-depends.inc +require xkbcomp-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkbevd/xkbevd-extraconf.inc b/meta-tizen/recipes-tizen/xkbevd/xkbevd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xkbevd/xkbevd.inc b/meta-tizen/recipes-tizen/xkbevd/xkbevd.inc new file mode 100644 index 0000000..bd5abd7 --- /dev/null +++ b/meta-tizen/recipes-tizen/xkbevd/xkbevd.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "XKB event daemon" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xkbevd" + +xkbevd_files = "" +xkbevd_files += "xkbevd.manifest" +xkbevd_files += "COPYING" +xkbevd_files += "/usr/bin/xkbevd" +xkbevd_files += "/usr/share/man/man1/xkbevd.1.gz" + +FILES_${PN} = "${xkbevd_files}" + +PKG_xkbevd= "xkbevd" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xkbevd-rdepends.inc +require xkbevd-depends.inc +require xkbevd-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkbprint/xkbprint-extraconf.inc b/meta-tizen/recipes-tizen/xkbprint/xkbprint-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xkbprint/xkbprint.inc b/meta-tizen/recipes-tizen/xkbprint/xkbprint.inc new file mode 100644 index 0000000..a639a48 --- /dev/null +++ b/meta-tizen/recipes-tizen/xkbprint/xkbprint.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Utility to print an XKB keyboard description" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xkbprint-docs" +PACKAGES += "xkbprint" + +xkbprint-docs_files = "" +xkbprint-docs_files += "/usr/share/info" +xkbprint-docs_files += "/usr/share/man" + +xkbprint_files = "" +xkbprint_files += "xkbprint.manifest" +xkbprint_files += "COPYING" +xkbprint_files += "/usr/bin/xkbprint" + +FILES_${PN}-docs = "${xkbprint-docs_files}" +FILES_${PN} = "${xkbprint_files}" + +PKG_xkbprint-docs= "xkbprint-docs" +PKG_xkbprint= "xkbprint" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xkbprint-rdepends.inc +require xkbprint-depends.inc +require xkbprint-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkbutils/xkbutils-extraconf.inc b/meta-tizen/recipes-tizen/xkbutils/xkbutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xkbutils/xkbutils.inc b/meta-tizen/recipes-tizen/xkbutils/xkbutils.inc new file mode 100644 index 0000000..8005a2f --- /dev/null +++ b/meta-tizen/recipes-tizen/xkbutils/xkbutils.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "Collection of small utilities utilizing the X11 XKeyboard extension" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xkbutils-docs" +PACKAGES += "xkbutils" + +xkbutils-docs_files = "" +xkbutils-docs_files += "/usr/share/info" +xkbutils-docs_files += "/usr/share/man" + +xkbutils_files = "" +xkbutils_files += "xkbutils.manifest" +xkbutils_files += "COPYING" +xkbutils_files += "/usr/bin/xkbbell" +xkbutils_files += "/usr/bin/xkbvleds" +xkbutils_files += "/usr/bin/xkbwatch" + +FILES_${PN}-docs = "${xkbutils-docs_files}" +FILES_${PN} = "${xkbutils_files}" + +PKG_xkbutils-docs= "xkbutils-docs" +PKG_xkbutils= "xkbutils" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xkbutils-rdepends.inc +require xkbutils-depends.inc +require xkbutils-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-extraconf.inc b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-native_git.bb b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-native_git.bb new file mode 100644 index 0000000..e8aca08 --- /dev/null +++ b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config-native_git.bb @@ -0,0 +1,12 @@ +require xkeyboard-config.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xkeyboard-config;protocol=ssh;tag=34072ac15efdf2a8cb82b77c00a0b673465b568b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config.inc b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config.inc new file mode 100644 index 0000000..bb4b4de --- /dev/null +++ b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "The X Keyboard Extension" +HOMEPAGE = "http://www.freedesktop.org/Software/XKeyboardConfig" +SECTION = "System/X11/Utilities" +LICENSE = "GPL-2.0+ LGPL-2.1+ MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xkeyboard-config +PROVIDES += "xkeyboard-config" +RPROVIDES_xkeyboard-config += "xkeyboard-config" +# the PROVIDES rules is ignore "XFree86:/etc/X11/xkb/symbols/us " +PROVIDES += "XFree86:/etc/X11/xkb/symbols/us" +RPROVIDES_xkeyboard-config += "XFree86:/etc/X11/xkb/symbols/us" +# the PROVIDES rules is ignore "xorg-x11:/etc/X11/xkb/symbols/us " +PROVIDES += "xorg-x11:/etc/X11/xkb/symbols/us" +RPROVIDES_xkeyboard-config += "xorg-x11:/etc/X11/xkb/symbols/us" + +RDEPENDS = "" +#RDEPENDS of xkeyboard-config (${PN}) +RDEPENDS_${PN} += "/usr/bin/rm" +RDEPENDS_${PN} += "/usr/bin/ln" + + +DEPENDS = "" +#DEPENDS of xkeyboard-config +DEPENDS += "pkgconfig(xorg-macros)" +DEPENDS += "fdupes-native" +DEPENDS += "libxml-parser-perl" +DEPENDS += "intltool-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xkeyboard-config.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-xkb-rules-symlink=xfree86,xorg \ + --with-xkb-base=/usr/share/X11/xkb \ + --enable-compat_rules \ + --disable-runtime-deps \ + --disable-xkbcomp-symlink + rm -f */*.dir + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/var/lib/xkb + ln -snf /usr/bin/xkbcomp ${D}/usr/share/X11/xkb/xkbcomp + # Bug 335553 + mkdir -p ${D}/var/lib/xkb/compiled/ + ln -snf /var/lib/xkb/compiled/ ${D}/usr/share/X11/xkb/compiled + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} xkeyboard-config + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D}/usr/share/X11/xkb | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "" +PACKAGES += "xkeyboard-config" + +xkeyboard-config_files = "" +xkeyboard-config_files += "xkeyboard-config.manifest" +xkeyboard-config_files += "AUTHORS COPYING README docs/HOWTO.* docs/README.*" +xkeyboard-config_files += "/var/lib/xkb" +xkeyboard-config_files += "/var/lib/xkb/compiled" +xkeyboard-config_files += "/usr/share/X11/xkb/" +xkeyboard-config_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xkeyboard-config_files}" + +PKG_xkeyboard-config= "xkeyboard-config" + +require xkeyboard-config-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config_git.bb b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config_git.bb new file mode 100644 index 0000000..ba8efa5 --- /dev/null +++ b/meta-tizen/recipes-tizen/xkeyboard-config/xkeyboard-config_git.bb @@ -0,0 +1,8 @@ +require xkeyboard-config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xkeyboard-config;protocol=ssh;tag=34072ac15efdf2a8cb82b77c00a0b673465b568b;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xlsatoms/xlsatoms-extraconf.inc b/meta-tizen/recipes-tizen/xlsatoms/xlsatoms-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xlsatoms/xlsatoms.inc b/meta-tizen/recipes-tizen/xlsatoms/xlsatoms.inc new file mode 100644 index 0000000..3e83419 --- /dev/null +++ b/meta-tizen/recipes-tizen/xlsatoms/xlsatoms.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Utility to list interned atoms defined on an X11 server" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xlsatoms" + +xlsatoms_files = "" +xlsatoms_files += "xlsatoms.manifest" +xlsatoms_files += "/usr/bin/xlsatoms" +xlsatoms_files += "/usr/share/man/man1/xlsatoms.1.gz" + +FILES_${PN} = "${xlsatoms_files}" + +PKG_xlsatoms= "xlsatoms" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xlsatoms-rdepends.inc +require xlsatoms-depends.inc +require xlsatoms-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xmlcharent/xmlcharent-extraconf.inc b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xmlcharent/xmlcharent-native_git.bb b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent-native_git.bb new file mode 100644 index 0000000..1147996 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent-native_git.bb @@ -0,0 +1,12 @@ +require xmlcharent.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlcharent;protocol=ssh;tag=0489c3ebdd9b3501928110dc6549bfe26efd3b99;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlcharent/xmlcharent.inc b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent.inc new file mode 100644 index 0000000..4d70260 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "XML Character Entities" +HOMEPAGE = "http://www.oasis-open.org/committees/docbook/xmlcharent/" +SECTION = "Productivity/Publishing/XML" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xmlcharent +PROVIDES += "xmlcharent" +RPROVIDES_xmlcharent += "xmlcharent" + +RDEPENDS = "" +#RDEPENDS of xmlcharent (${PN}) +RDEPENDS_${PN} += "sgml-skel" +RDEPENDS_${PN} += "grep" +RDEPENDS_${PN} += "/usr/bin/sgml-register-catalog" +RDEPENDS_${PN} += "libxml2" +RDEPENDS_${PN} += "gawk" +RDEPENDS_${PN} += "/usr/bin/xmlcatalog" +RDEPENDS_${PN} += "sed" +RDEPENDS_${PN} += "/usr/bin/edit-xml-catalog" + + +DEPENDS = "" +#DEPENDS of xmlcharent +DEPENDS += "sgml-skel" +DEPENDS += "unzip" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xmlcharent.manifest . + sed 's|@VERSION@|0.3| + s|@DIR@|/usr/share/xml/entities/xmlcharent/0.3|' ${S}/packaging/catalog.xml >catalog.xml + sed 's|@VERSION@|0.3| + s|@DIR@|/usr/share/xml/entities/xmlcharent/0.3|' ${S}/packaging/CATALOG.xmlcharent >CATALOG.xmlcharent + ##setup -q -n xmlcharent + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + # # lynx -width=300 -dump entities-2002-03-19.html \ + # # | grep '\(Public\|System\) identifier' \ + # # | awk -F 'entifier: ' ' + # # / System i/ {printf "\"%s\"\n", gensub(/.*\//,"%{sgml_dir_iso}/", g, $2)} + # # / Public i/ {printf "PUBLIC \"-//%s\" ", $2}' > CATALOG.xmlcharent + # { + # for f in iso-*.ent; do + # { + # grep ' *ISO 8879:1986' $f | sed 's:^ \+::' \ + # | awk '{printf "PUBLIC \"-//%s\"", $0}'; + # echo " \"%{sgml_dir_iso}/$f\""; + # } + # done + # } > CATALOG.xmlcharent + # sed 's:/usr/share/xml/entities/xmlcharent/0.3/::' CATALOG.xmlcharent > sgml.catalog + # Prep XML catalog fragment + xmlcatbin=/usr/bin/xmlcatalog + # build root catalog fragment + rm -f for-catalog-xmlcharent-0.3.xml.tmp + $xmlcatbin --noout --create for-catalog-xmlcharent-0.3.xml.tmp + CATALOG=/usr/share/xml/entities/xmlcharent/0.3/catalog.xml + $xmlcatbin --noout --add "delegatePublic" "ISO 8879:1986//ENTITIES" \ + "file://$CATALOG" for-catalog-xmlcharent-0.3.xml.tmp + # Create tag + sed '/ + /<\/catalog/i\ + ' \ + for-catalog-xmlcharent-0.3.xml.tmp > for-catalog-xmlcharent-0.3.xml + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d -m755 ${D}{/usr/share/xml/entities/xmlcharent/0.3,/usr/share/sgml,/var/lib/sgml} + install -m644 catalog.xml *.ent ${D}/usr/share/xml/entities/xmlcharent/0.3 + install -m644 CATALOG.xmlcharent ${D}/var/lib/sgml + pushd ${D}/usr/share/sgml + ln -sf ../../../var/lib/sgml/CATALOG.* . + popd + pushd ${D}/usr/share/xml/entities/xmlcharent/0.3 + for f in *.ent; do + ln -sf "$f" "${f/-}" + done + popd + # parse-sgml-catalog.sh CATALOG.xmlcharent > CATALOG.norm + # sgml2xmlcat.sh -i CATALOG.norm \ + # -l -s '${D}/usr/share/sgml' -p xmlcharent + # + mkdir -p ${D}/etc/xml + install -m644 for-catalog-xmlcharent-0.3.xml ${D}/etc/xml + # + + +} + +PACKAGES = "" +PACKAGES += "xmlcharent" + +xmlcharent_files = "" +xmlcharent_files += "xmlcharent.manifest" +xmlcharent_files += "/usr/share/xml/entities/xmlcharent/0.3" +xmlcharent_files += "/etc/xml/for-catalog-xmlcharent-0.3.xml" +xmlcharent_files += "/var/lib/sgml/CATALOG.*" +xmlcharent_files += "/usr/share/sgml/CATALOG.*" +xmlcharent_files += "/usr/share/xml/entities" +xmlcharent_files += "/usr/share/xml/entities/xmlcharent" + +FILES_${PN} = "${xmlcharent_files}" + +PKG_xmlcharent= "xmlcharent" + +require xmlcharent-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xmlcharent/xmlcharent_git.bb b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent_git.bb new file mode 100644 index 0000000..c93c561 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlcharent/xmlcharent_git.bb @@ -0,0 +1,8 @@ +require xmlcharent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlcharent;protocol=ssh;tag=0489c3ebdd9b3501928110dc6549bfe26efd3b99;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlsec1/xmlsec1-extraconf.inc b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xmlsec1/xmlsec1-native_git.bb b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1-native_git.bb new file mode 100644 index 0000000..d037419 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1-native_git.bb @@ -0,0 +1,12 @@ +require xmlsec1.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlsec1;protocol=ssh;tag=7b7585191ce737478b7cbe2541ba2aa2b2b64a75;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlsec1/xmlsec1.inc b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1.inc new file mode 100644 index 0000000..92cce4c --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1.inc @@ -0,0 +1,170 @@ +DESCRIPTION = "Library providing support for "XML Signature" and "XML Encryption" standards" +HOMEPAGE = "http://www.aleksey.com/xmlsec/index.html" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xmlsec1 +PROVIDES += "xmlsec1" +RPROVIDES_xmlsec1 += "xmlsec1" + +#PROVIDES by xmlsec1-gcrypt +PROVIDES += "xmlsec1-gcrypt" +RPROVIDES_xmlsec1-gcrypt += "xmlsec1-gcrypt" + +#PROVIDES by xmlsec1-openssl +PROVIDES += "xmlsec1-openssl" +RPROVIDES_xmlsec1-openssl += "xmlsec1-openssl" + +#PROVIDES by xmlsec1-devel +PROVIDES += "xmlsec1-devel" +RPROVIDES_xmlsec1-devel += "xmlsec1-devel" +RPROVIDES_xmlsec1-devel += "xmlsec1-dev" + +RDEPENDS = "" +#RDEPENDS of xmlsec1-gcrypt (${PN}-gcrypt) +RDEPENDS_${PN}-gcrypt += "xmlsec1" + +#RDEPENDS of xmlsec1-openssl (${PN}-openssl) +RDEPENDS_${PN}-openssl += "xmlsec1" + +#RDEPENDS of xmlsec1-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "xmlsec1" + + +DEPENDS = "" +#DEPENDS of xmlsec1 +DEPENDS += "openssl" +DEPENDS += "pkgconfig(libxml-2.0)" +DEPENDS += "pkgconfig(libxslt)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xmlsec1.manifest . + + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xmlsec1 + rm -rf ${D}/usr/share/doc/xmlsec1-1.2.19 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xmlsec1" +PACKAGES += "xmlsec1-gcrypt" +PACKAGES += "xmlsec1-openssl" +PACKAGES += "xmlsec1-devel" + +xmlsec1_files = "" +xmlsec1_files += "xmlsec1.manifest" +xmlsec1_files += "Copyright" +xmlsec1_files += "/usr/lib/libxmlsec1.so.*" +xmlsec1_files += "/usr/bin/xmlsec1" + +xmlsec1-gcrypt_files = "" +xmlsec1-gcrypt_files += "xmlsec1.manifest" +xmlsec1-gcrypt_files += "/usr/lib/libxmlsec1-gcrypt.so.*" + +xmlsec1-openssl_files = "" +xmlsec1-openssl_files += "xmlsec1.manifest" +xmlsec1-openssl_files += "/usr/lib/libxmlsec1-openssl.so.*" + +xmlsec1-devel_files = "" +xmlsec1-devel_files += "xmlsec1.manifest" +xmlsec1-devel_files += "Copyright" +xmlsec1-devel_files += "/usr/include/xmlsec1" +xmlsec1-devel_files += "/usr/bin/xmlsec1-config" +xmlsec1-devel_files += "/usr/lib/lib*.so" +xmlsec1-devel_files += "/usr/lib/pkgconfig/*" +xmlsec1-devel_files += "/usr/lib/xmlsec1Conf.sh" +xmlsec1-devel_files += "/usr/share/aclocal/xmlsec1.m4" + +FILES_${PN} = "${xmlsec1_files}" +FILES_${PN}-gcrypt = "${xmlsec1-gcrypt_files}" +FILES_${PN}-openssl = "${xmlsec1-openssl_files}" +FILES_${PN}-devel = "${xmlsec1-devel_files}" + +PKG_xmlsec1= "xmlsec1" +PKG_xmlsec1-gcrypt= "xmlsec1-gcrypt" +PKG_xmlsec1-openssl= "xmlsec1-openssl" +PKG_xmlsec1-devel= "xmlsec1-devel" + +require xmlsec1-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xmlsec1/xmlsec1_git.bb b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1_git.bb new file mode 100644 index 0000000..dce9635 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlsec1/xmlsec1_git.bb @@ -0,0 +1,8 @@ +require xmlsec1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlsec1;protocol=ssh;tag=7b7585191ce737478b7cbe2541ba2aa2b2b64a75;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-extraconf.inc b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-native_git.bb b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-native_git.bb new file mode 100644 index 0000000..4649032 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet-native_git.bb @@ -0,0 +1,12 @@ +require xmlstarlet.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlstarlet;protocol=ssh;tag=0318a18f88969374cf920c7b9a042b42819db76a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet.inc b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet.inc new file mode 100644 index 0000000..ac38618 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Command Line Tool to Process XML Documents" +HOMEPAGE = "http://sourceforge.net/projects/xmlstar/" +SECTION = "Productivity/Publishing/XML" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xmlstarlet +PROVIDES += "xmlstarlet" +RPROVIDES_xmlstarlet += "xmlstarlet" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xmlstarlet +DEPENDS += "gcc-cross" +DEPENDS += "libxml2" +DEPENDS += "automake-native" +DEPENDS += "libtool-cross" +DEPENDS += "libxslt" +DEPENDS += "autoconf-native" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + ##patch2 + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export CFLAGS="$RPM_OPT_FLAGS -W -Wall" + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static-libs + + oe_runmake -j16 + + exit 0 + oe_runmake tests + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + prefix=/usr \ + exec_prefix=/usr \ + bindir=/usr/bin \ + sbindir=/usr/sbin \ + sysconfdir=/etc \ + datadir=/usr/share \ + includedir=/usr/include \ + libdir=/usr/lib \ + libexecdir=/usr/libexec \ + localstatedir=}/var \ + sharedstatedir=/usr/com \ + mandir=/usr/share/man \ + infodir=/usr/share/info \ + install + #ln -s ${D}/usr/bin/xml ${D}/usr/bin/xmlstarlet + + #install -d _docs + #/bin/mv "${D}/usr/share/doc"/* _docs/ + #/bin/rm -rf "${D}/usr/share/doc" + rm -rf ${D}/usr/share + + +} + +PACKAGES = "" +PACKAGES += "xmlstarlet" + +xmlstarlet_files = "" +xmlstarlet_files += "/usr/bin/xml" + +FILES_${PN} = "${xmlstarlet_files}" + +PKG_xmlstarlet= "xmlstarlet" + +require xmlstarlet-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet_git.bb b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet_git.bb new file mode 100644 index 0000000..fe8d70b --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlstarlet/xmlstarlet_git.bb @@ -0,0 +1,8 @@ +require xmlstarlet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlstarlet;protocol=ssh;tag=0318a18f88969374cf920c7b9a042b42819db76a;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlto/xmlto-extraconf.inc b/meta-tizen/recipes-tizen/xmlto/xmlto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xmlto/xmlto-native_git.bb b/meta-tizen/recipes-tizen/xmlto/xmlto-native_git.bb new file mode 100644 index 0000000..c7be723 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlto/xmlto-native_git.bb @@ -0,0 +1,12 @@ +require xmlto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlto;protocol=ssh;tag=fa0f2d270abdde8b412f3847736a06a91c57975e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmlto/xmlto.inc b/meta-tizen/recipes-tizen/xmlto/xmlto.inc new file mode 100644 index 0000000..57c150a --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlto/xmlto.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Tool for Converting XML Files to Various Formats" +HOMEPAGE = "https://fedorahosted.org/xmlto/" +SECTION = "Productivity/Publishing/XML" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xmlto +PROVIDES += "xmlto" +RPROVIDES_xmlto += "xmlto" + +RDEPENDS = "" +#RDEPENDS of xmlto (${PN}) +RDEPENDS_${PN} += "docbook-xsl-stylesheets" +RDEPENDS_${PN} += "docbook_4" +RDEPENDS_${PN} += "xsltproc" + + +DEPENDS = "" +#DEPENDS of xmlto +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "flex" +DEPENDS += "sgml-skel" +DEPENDS += "fdupes-native" +DEPENDS += "libxslt" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xmlto.manifest . + + + rm -f xmlif/xmlif.c + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + ! mkdir ${D}/usr/share/xmlto/xsl + + _target=""; + _symlinks=0; + + fdupes -q -n -r '${D}/usr/share/xmlto' | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +PACKAGES = "" +PACKAGES += "xmlto" + +xmlto_files = "" +xmlto_files += "xmlto.manifest" +xmlto_files += "COPYING" +xmlto_files += "/usr/bin/*" +xmlto_files += "/usr/share/man/*/*" +xmlto_files += "/usr/share/xmlto" + +FILES_${PN} = "${xmlto_files}" + +PKG_xmlto= "xmlto" + +require xmlto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xmlto/xmlto_git.bb b/meta-tizen/recipes-tizen/xmlto/xmlto_git.bb new file mode 100644 index 0000000..2d2c697 --- /dev/null +++ b/meta-tizen/recipes-tizen/xmlto/xmlto_git.bb @@ -0,0 +1,8 @@ +require xmlto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlto;protocol=ssh;tag=fa0f2d270abdde8b412f3847736a06a91c57975e;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xmodmap/xmodmap-extraconf.inc b/meta-tizen/recipes-tizen/xmodmap/xmodmap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xmodmap/xmodmap.inc b/meta-tizen/recipes-tizen/xmodmap/xmodmap.inc new file mode 100644 index 0000000..a89162d --- /dev/null +++ b/meta-tizen/recipes-tizen/xmodmap/xmodmap.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Utility to modify keymaps and pointer button mappings in X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xmodmap" + +xmodmap_files = "" +xmodmap_files += "xmodmap.manifest" +xmodmap_files += "COPYING" +xmodmap_files += "/etc/X11/Xmodmap" +xmodmap_files += "/etc/X11/Xmodmap.remote" +xmodmap_files += "/usr/bin/xmodmap" +xmodmap_files += "/usr/share/man/man1/xmodmap.1.gz" + +FILES_${PN} = "${xmodmap_files}" + +PKG_xmodmap= "xmodmap" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xmodmap-rdepends.inc +require xmodmap-depends.inc +require xmodmap-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-extraconf.inc b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-native_git.bb b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-native_git.bb new file mode 100644 index 0000000..8b0f4ba --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files-native_git.bb @@ -0,0 +1,12 @@ +require xorg-cf-files.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xorg-cf-files;protocol=ssh;tag=a9fdd8632fe38d7db245e2505dc2adf7170395cd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files.inc b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files.inc new file mode 100644 index 0000000..fd6b106 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files.inc @@ -0,0 +1,153 @@ +DESCRIPTION = "Data files for the imake utility" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Tools/Building" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xorg-cf-files +PROVIDES += "xorg-cf-files" +RPROVIDES_xorg-cf-files += "xorg-cf-files" + +RDEPENDS = "" +#RDEPENDS of xorg-cf-files (${PN}) +RDEPENDS_${PN} += "gccmakedep" +RDEPENDS_${PN} += "makedepend" +RDEPENDS_${PN} += "imake" + + +DEPENDS = "" +#DEPENDS of xorg-cf-files +DEPENDS += "font-util" +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xorg-cf-files.manifest . + cat > host.def << EOF + #define ConfigDir /usr/share/X11/config + #define XAppLoadDir /usr/share/X11/app-defaults + #define UseSeparateConfDir NO + #define ManPath /usr/share/man + #define ModuleDir /usr/lib/xorg/modules + #ifdef i386Architecture + #undef DefaultGcc2i386Opt + #define DefaultGcc2i386Opt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef MipsArchitecture + #undef DefaultGcc2MipsOpt + #define DefaultGcc2MipsOpt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef PpcArchitecture + #undef DefaultGcc2PpcOpt + #define DefaultGcc2PpcOpt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef Ppc64Architecture + #undef DefaultGcc2Ppc64Opt + #define DefaultGcc2Ppc64Opt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef AMD64Architecture + #undef DefaultGcc2AMD64Opt + #define DefaultGcc2AMD64Opt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef s390xArchitecture + #undef OptimizedCDebugFlags + #define OptimizedCDebugFlags -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #ifdef ia64Architecture + #undef OptimizedCDebugFlags + #define OptimizedCDebugFlags -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + #endif + #if defined(SparcArchitecture) || defined(Sparc64Architecture) + #undef OptimizedCDebugFlags + #define OptimizedCDebugFlags -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing + # undef HaveLib64 + #if defined(Sparc64Architecture) + # define HaveLib64 YES + #else + # define HaveLib64 NO + #endif + #endif + EOF + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-config-dir=/usr/share/X11/config + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xorg-cf-files" + +xorg-cf-files_files = "" +xorg-cf-files_files += "xorg-cf-files.manifest" +xorg-cf-files_files += "ChangeLog COPYING README" +xorg-cf-files_files += "/usr/share/X11" +xorg-cf-files_files += "/usr/share/X11/config/" + +FILES_${PN} = "${xorg-cf-files_files}" + +PKG_xorg-cf-files= "xorg-cf-files" + +require xorg-cf-files-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files_git.bb b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files_git.bb new file mode 100644 index 0000000..95d1a03 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-cf-files/xorg-cf-files_git.bb @@ -0,0 +1,8 @@ +require xorg-cf-files.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xorg-cf-files;protocol=ssh;tag=a9fdd8632fe38d7db245e2505dc2adf7170395cd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-extraconf.inc b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-native_git.bb b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-native_git.bb new file mode 100644 index 0000000..f2d99e2 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper-native_git.bb @@ -0,0 +1,12 @@ +require xorg-launch-helper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xorg-launch-helper;protocol=ssh;tag=cbac26748e50e17db5c640e019aab4aa35ddabbd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper.inc b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper.inc new file mode 100644 index 0000000..96c6df8 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Xorg service helper" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics/X Window System" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xorg-launch-helper +PROVIDES += "xorg-launch-helper" +RPROVIDES_xorg-launch-helper += "xorg-launch-helper" + +RDEPENDS = "" +#RDEPENDS of xorg-launch-helper (${PN}) +RDEPENDS_${PN} += "/usr/bin/Xorg" + + +DEPENDS = "" +#DEPENDS of xorg-launch-helper +DEPENDS += "pkgconfig(systemd)" +DEPENDS += "systemd" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xorg-launch-helper.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # temoprary HW configuration. it should be seperated. + mkdir -p ${D}/etc/sysconfig + install -m 644 ${S}/packaging/xorg.conf ${D}/etc/sysconfig/xorg + install -m 0644 ${S}/packaging/xorg_done.service ${D}/usr/lib/systemd/user/ + ln -sf ../xorg_done.service ${D}/usr/lib/systemd/user/xorg.target.wants + + # "-sharevt" option will be removed (only) for Tizen Emulator temporarily + # by the request from Tizen SDK (kernel) team. + + +} + +PACKAGES = "" +PACKAGES += "xorg-launch-helper" + +xorg-launch-helper_files = "" +xorg-launch-helper_files += "xorg-launch-helper.manifest" +xorg-launch-helper_files += "/usr/bin/xorg-launch-helper" +xorg-launch-helper_files += "/usr/lib/systemd/user/xorg.service" +xorg-launch-helper_files += "/usr/lib/systemd/user/xorg_done.service" +xorg-launch-helper_files += "/usr/lib/systemd/user/xorg.target" +xorg-launch-helper_files += "/usr/lib/systemd/user/xorg.target.wants/xorg.service" +xorg-launch-helper_files += "/usr/lib/systemd/user/xorg.target.wants/xorg_done.service" +xorg-launch-helper_files += "/etc/sysconfig/xorg" + +FILES_${PN} = "${xorg-launch-helper_files}" + +PKG_xorg-launch-helper= "xorg-launch-helper" + +require xorg-launch-helper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper_git.bb b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper_git.bb new file mode 100644 index 0000000..a9dd2e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-launch-helper/xorg-launch-helper_git.bb @@ -0,0 +1,8 @@ +require xorg-launch-helper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xorg-launch-helper;protocol=ssh;tag=cbac26748e50e17db5c640e019aab4aa35ddabbd;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xorg-server/xorg-server-extraconf.inc b/meta-tizen/recipes-tizen/xorg-server/xorg-server-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xorg-server/xorg-server.inc b/meta-tizen/recipes-tizen/xorg-server/xorg-server.inc new file mode 100644 index 0000000..2e43ecf --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-server/xorg-server.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "" + +PROVIDES = "" + +PACKAGES = "" + + + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xorg-server-rdepends.inc +require xorg-server-depends.inc +require xorg-server-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev-extraconf.inc b/meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev.inc b/meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev.inc new file mode 100644 index 0000000..05ea7e0 --- /dev/null +++ b/meta-tizen/recipes-tizen/xorg-x11-drv-evdev/xorg-x11-drv-evdev.inc @@ -0,0 +1,34 @@ +DESCRIPTION = "Xorg X11 evdev input driver" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/X Hardware Support" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xorg-x11-drv-evdev-devel" +PACKAGES += "xorg-x11-drv-evdev" + +xorg-x11-drv-evdev-devel_files = "" +xorg-x11-drv-evdev-devel_files += "/usr/include/xorg/evdev-properties.h" +xorg-x11-drv-evdev-devel_files += "/usr/lib/pkgconfig/xorg-evdev.pc" + +xorg-x11-drv-evdev_files = "" +xorg-x11-drv-evdev_files += "/input/evdev_drv.so" +xorg-x11-drv-evdev_files += "/usr/share/license/xorg-x11-drv-evdev" + +FILES_${PN}-devel = "${xorg-x11-drv-evdev-devel_files}" +FILES_${PN} = "${xorg-x11-drv-evdev_files}" + +PKG_xorg-x11-drv-evdev-devel= "xorg-x11-drv-evdev-devel" +PKG_xorg-x11-drv-evdev= "xorg-x11-drv-evdev" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xorg-x11-drv-evdev-rdepends.inc +require xorg-x11-drv-evdev-depends.inc +require xorg-x11-drv-evdev-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xprop/xprop-extraconf.inc b/meta-tizen/recipes-tizen/xprop/xprop-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xprop/xprop.inc b/meta-tizen/recipes-tizen/xprop/xprop.inc new file mode 100644 index 0000000..89c9431 --- /dev/null +++ b/meta-tizen/recipes-tizen/xprop/xprop.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Property displayer for X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xprop" + +xprop_files = "" +xprop_files += "xprop.manifest" +xprop_files += "/usr/bin/xprop" +xprop_files += "/usr/share/man/man1/xprop.1.gz" + +FILES_${PN} = "${xprop_files}" + +PKG_xprop= "xprop" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xprop-rdepends.inc +require xprop-depends.inc +require xprop-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xproto/xproto-extraconf.inc b/meta-tizen/recipes-tizen/xproto/xproto-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xproto/xproto-native_git.bb b/meta-tizen/recipes-tizen/xproto/xproto-native_git.bb new file mode 100644 index 0000000..b38d907 --- /dev/null +++ b/meta-tizen/recipes-tizen/xproto/xproto-native_git.bb @@ -0,0 +1,12 @@ +require xproto.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xproto;protocol=ssh;tag=4a5ef2b54728c3425615576ee85852abf401ca99;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xproto/xproto.inc b/meta-tizen/recipes-tizen/xproto/xproto.inc new file mode 100644 index 0000000..c7163b8 --- /dev/null +++ b/meta-tizen/recipes-tizen/xproto/xproto.inc @@ -0,0 +1,116 @@ +DESCRIPTION = "X" +HOMEPAGE = "http://www.x.org" +SECTION = "Development/System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xproto +PROVIDES += "xproto" +RPROVIDES_xproto += "xproto" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xproto +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xproto.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static \ + --libdir=/usr/share \ + --without-xmlto + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/xproto + rm -rf ${D}/usr/share/doc/xproto-7.0.23 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xproto" + +xproto_files = "" +xproto_files += "xproto.manifest" +xproto_files += "/usr/include/X11/*.h" +xproto_files += "/usr/share/pkgconfig/*.pc" + +FILES_${PN} = "${xproto_files}" + +PKG_xproto= "xproto" + +require xproto-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xproto/xproto_git.bb b/meta-tizen/recipes-tizen/xproto/xproto_git.bb new file mode 100644 index 0000000..5c3c17d --- /dev/null +++ b/meta-tizen/recipes-tizen/xproto/xproto_git.bb @@ -0,0 +1,8 @@ +require xproto.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xproto;protocol=ssh;tag=4a5ef2b54728c3425615576ee85852abf401ca99;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xrandr/xrandr-extraconf.inc b/meta-tizen/recipes-tizen/xrandr/xrandr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xrandr/xrandr.inc b/meta-tizen/recipes-tizen/xrandr/xrandr.inc new file mode 100644 index 0000000..c543d50 --- /dev/null +++ b/meta-tizen/recipes-tizen/xrandr/xrandr.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Primitive command line interface to RandR extension" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xrandr" + +xrandr_files = "" +xrandr_files += "xrandr.manifest" +xrandr_files += "/usr/bin/xrandr" +xrandr_files += "/usr/share/man/man1/xrandr.1.gz" + +FILES_${PN} = "${xrandr_files}" + +PKG_xrandr= "xrandr" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xrandr-rdepends.inc +require xrandr-depends.inc +require xrandr-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xrdb/xrdb-extraconf.inc b/meta-tizen/recipes-tizen/xrdb/xrdb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xrdb/xrdb.inc b/meta-tizen/recipes-tizen/xrdb/xrdb.inc new file mode 100644 index 0000000..da8f438 --- /dev/null +++ b/meta-tizen/recipes-tizen/xrdb/xrdb.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "X server resource database utility" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xrdb" + +xrdb_files = "" +xrdb_files += "xrdb.manifest" +xrdb_files += "AUTHORS ChangeLog COPYING README" +xrdb_files += "/usr/bin/xrdb" +xrdb_files += "/usr/share/man/man1/xrdb.1.gz" + +FILES_${PN} = "${xrdb_files}" + +PKG_xrdb= "xrdb" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xrdb-rdepends.inc +require xrdb-depends.inc +require xrdb-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xrestop/xrestop-extraconf.inc b/meta-tizen/recipes-tizen/xrestop/xrestop-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xrestop/xrestop.inc b/meta-tizen/recipes-tizen/xrestop/xrestop.inc new file mode 100644 index 0000000..00a364e --- /dev/null +++ b/meta-tizen/recipes-tizen/xrestop/xrestop.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "X Resource Monitor" +HOMEPAGE = "http://www.freedesktop.org/Software/xrestop" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xrestop" + +xrestop_files = "" +xrestop_files += "xrestop.manifest" +xrestop_files += "/usr/bin/xrestop" + +FILES_${PN} = "${xrestop_files}" + +PKG_xrestop= "xrestop" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xrestop-rdepends.inc +require xrestop-depends.inc +require xrestop-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xset/xset-extraconf.inc b/meta-tizen/recipes-tizen/xset/xset-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xset/xset.inc b/meta-tizen/recipes-tizen/xset/xset.inc new file mode 100644 index 0000000..6c5128d --- /dev/null +++ b/meta-tizen/recipes-tizen/xset/xset.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "User preference utility for X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xset" + +xset_files = "" +xset_files += "xset.manifest" +xset_files += "/usr/bin/xset" +xset_files += "/usr/share/man/man1/xset.1.gz" + +FILES_${PN} = "${xset_files}" + +PKG_xset= "xset" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xset-rdepends.inc +require xset-depends.inc +require xset-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xsetroot/xsetroot-extraconf.inc b/meta-tizen/recipes-tizen/xsetroot/xsetroot-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xsetroot/xsetroot.inc b/meta-tizen/recipes-tizen/xsetroot/xsetroot.inc new file mode 100644 index 0000000..af0c72a --- /dev/null +++ b/meta-tizen/recipes-tizen/xsetroot/xsetroot.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Utility to set X root window parameter" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xsetroot" + +xsetroot_files = "" +xsetroot_files += "xsetroot.manifest" +xsetroot_files += "COPYING README" +xsetroot_files += "/usr/bin/xsetroot" +xsetroot_files += "/usr/share/man/man1/xsetroot.1.gz" + +FILES_${PN} = "${xsetroot_files}" + +PKG_xsetroot= "xsetroot" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xsetroot-rdepends.inc +require xsetroot-depends.inc +require xsetroot-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xterm/xterm-extraconf.inc b/meta-tizen/recipes-tizen/xterm/xterm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xterm/xterm.inc b/meta-tizen/recipes-tizen/xterm/xterm.inc new file mode 100644 index 0000000..f402d94 --- /dev/null +++ b/meta-tizen/recipes-tizen/xterm/xterm.inc @@ -0,0 +1,53 @@ +DESCRIPTION = "The basic X terminal program" +HOMEPAGE = "http://invisible-island.net/xterm/" +SECTION = "System/X11/Utilities" +LICENSE = "MIT" + +PROVIDES = "" + +PACKAGES = "" +PACKAGES += "xterm" + +xterm_files = "" +xterm_files += "xterm.manifest" +xterm_files += "README README.i18n " +xterm_files += "/usr/bin/vttest" +xterm_files += "/usr/bin/luitx" +xterm_files += "/usr/bin/resize" +xterm_files += "/usr/bin/uxterm" +xterm_files += "/usr/bin/koi8rxterm" +xterm_files += "/usr/bin/Backarrow2Delete" +xterm_files += "/usr/bin/Backarrow2BackSpace" +xterm_files += "/usr/share/man/man1/xterm.1.gz" +xterm_files += "/usr/share/man/man1/resize.1.gz" +xterm_files += "/usr/share/man/man1/vttest.1.gz" +xterm_files += "/usr/share/man/man1/koi8rxterm.1.gz" +xterm_files += "/usr/share/man/man1/uxterm.1.gz" +xterm_files += "/usr/share/applications/xterm.desktop" +xterm_files += "/usr/share/pixmaps/*" +xterm_files += "/usr/lib/X11/etc" +xterm_files += "/usr/lib/X11/etc/xterm.termcap" +xterm_files += "/usr/lib/X11/etc/xterm.terminfo" +xterm_files += "/usr/share/fonts/misc" +xterm_files += "/usr/share/fonts/misc/20x20ja.pcf.gz" +xterm_files += "/usr/share/fonts/misc/20x20ko.pcf.gz" +xterm_files += "/usr/share/X11/app-defaults/KOI8RXTerm" +xterm_files += "/usr/share/X11/app-defaults/KOI8RXTerm-color" +xterm_files += "/usr/share/X11/app-defaults/UXTerm" +xterm_files += "/usr/share/X11/app-defaults/UXTerm-color" +xterm_files += "/usr/share/X11/app-defaults/XTerm" +xterm_files += "/usr/share/X11/app-defaults/XTerm-color" + +FILES_${PN} = "${xterm_files}" + +PKG_xterm= "xterm" + +SRC_URI = "" + +inherit tizenBuildUtils + +S = "${WORKDIR}/git" + +require xterm-rdepends.inc +require xterm-depends.inc +require xterm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xtrans/xtrans-extraconf.inc b/meta-tizen/recipes-tizen/xtrans/xtrans-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xtrans/xtrans-native_git.bb b/meta-tizen/recipes-tizen/xtrans/xtrans-native_git.bb new file mode 100644 index 0000000..f4aa797 --- /dev/null +++ b/meta-tizen/recipes-tizen/xtrans/xtrans-native_git.bb @@ -0,0 +1,12 @@ +require xtrans.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xtrans;protocol=ssh;tag=a31becf87a863e0975ef99f706126dfb67ddd57f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xtrans/xtrans.inc b/meta-tizen/recipes-tizen/xtrans/xtrans.inc new file mode 100644 index 0000000..a742947 --- /dev/null +++ b/meta-tizen/recipes-tizen/xtrans/xtrans.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Library to handle network protocol transport in X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries/X11" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xtrans +PROVIDES += "xtrans" +RPROVIDES_xtrans += "xtrans" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xtrans +DEPENDS += "pkgconfig(xorg-macros)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xtrans.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=noarch-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --docdir=/usr/share/doc/packages/xtrans + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "xtrans" + +xtrans_files = "" +xtrans_files += "xtrans.manifest" +xtrans_files += "/usr/share/doc/packages/xtrans/xtrans.xml" +xtrans_files += "/usr/include/X11/Xtrans/" +xtrans_files += "/usr/share/aclocal/xtrans.m4" +xtrans_files += "/usr/share/pkgconfig/xtrans.pc" + +FILES_${PN} = "${xtrans_files}" + +PKG_xtrans= "xtrans" + +require xtrans-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xtrans/xtrans_git.bb b/meta-tizen/recipes-tizen/xtrans/xtrans_git.bb new file mode 100644 index 0000000..06f70b1 --- /dev/null +++ b/meta-tizen/recipes-tizen/xtrans/xtrans_git.bb @@ -0,0 +1,8 @@ +require xtrans.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xtrans;protocol=ssh;tag=a31becf87a863e0975ef99f706126dfb67ddd57f;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/xz/xz-extraconf.inc b/meta-tizen/recipes-tizen/xz/xz-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/xz/xz.inc b/meta-tizen/recipes-tizen/xz/xz.inc new file mode 100644 index 0000000..af38562 --- /dev/null +++ b/meta-tizen/recipes-tizen/xz/xz.inc @@ -0,0 +1,170 @@ +DESCRIPTION = "A Program for Compressing Files" +HOMEPAGE = "http://tukaani.org/lzma/" +SECTION = "Base/Tools" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by xz +PROVIDES += "xz" +RPROVIDES_xz += "xz" +# the PROVIDES rules is ignore "lzma = 5.0.3" +PROVIDES += "lzma" +RPROVIDES_xz += "lzma" + +#PROVIDES by xz-locale +PROVIDES += "xz-locale " +RPROVIDES_xz-locale += "xz-locale " +# the PROVIDES rules is ignore "xz-lang-all = 5.0.3" +PROVIDES += "xz-lang-all" +RPROVIDES_xz-locale += "xz-lang-all" + +#PROVIDES by liblzma +PROVIDES += "liblzma" +RPROVIDES_liblzma += "liblzma" + +#PROVIDES by xz-devel +PROVIDES += "xz-devel" +RPROVIDES_xz-devel += "xz-devel" +RPROVIDES_xz-devel += "xz-dev" +# the PROVIDES rules is ignore "lzma-devel = 5.0.3" +PROVIDES += "lzma-devel" +RPROVIDES_xz-devel += "lzma-devel" +RPROVIDES_xz-devel += "lzma-dev" +# the PROVIDES rules is ignore "lzma-alpha-devel = 5.0.3" +PROVIDES += "lzma-alpha-devel" +RPROVIDES_xz-devel += "lzma-alpha-devel" +RPROVIDES_xz-devel += "lzma-alpha-dev" + +#PROVIDES by xz-docs +PROVIDES += "xz-docs " +RPROVIDES_xz-docs += "xz-docs " + +RDEPENDS = "" +#RDEPENDS of xz-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "xz" + +#RDEPENDS of xz-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "liblzma" + + +DEPENDS = "" +#DEPENDS of xz + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xz.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --disable-static --with-pic --docdir=/usr/share/doc/packages/xz + make -j16 + + exit 0 + time make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} xz + + +} + +PACKAGES = "" +PACKAGES += "xz-locale" +PACKAGES += "xz" +PACKAGES += "liblzma" +PACKAGES += "xz-devel" +PACKAGES += "xz-docs" + +xz-locale_files = "" + +xz_files = "" +xz_files += "xz.manifest" +xz_files += "/usr/share/doc/packages/xz" +xz_files += "/usr/bin/*" + +liblzma_files = "" +liblzma_files += "xz.manifest" +liblzma_files += "/usr/lib/lib*.so.5*" + +xz-devel_files = "" +xz-devel_files += "xz.manifest" +xz-devel_files += "/usr/include/*.h" +xz-devel_files += "/usr/include/lzma" +xz-devel_files += "/usr/lib/lib*.so" +xz-devel_files += "/usr/lib/pkgconfig/*.pc" + +xz-docs_files = "" +xz-docs_files += "/usr/share/info" +xz-docs_files += "/usr/share/man" + +FILES_${PN}-locale = "${xz-locale_files}" +FILES_${PN} = "${xz_files}" +FILES_liblzma = "${liblzma_files}" +FILES_${PN}-devel = "${xz-devel_files}" +FILES_${PN}-docs = "${xz-docs_files}" + +PKG_xz-locale= "xz-locale" +PKG_xz= "xz" +PKG_liblzma= "liblzma" +PKG_xz-devel= "xz-devel" +PKG_xz-docs= "xz-docs" + +require xz-extraconf.inc diff --git a/meta-tizen/recipes-tizen/xz/xz_git.bb b/meta-tizen/recipes-tizen/xz/xz_git.bb new file mode 100644 index 0000000..3339255 --- /dev/null +++ b/meta-tizen/recipes-tizen/xz/xz_git.bb @@ -0,0 +1,8 @@ +require xz.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xz;protocol=ssh;tag=ef6a87c1cb8d75760f291c6d2c803f5c554c0512;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yaml/yaml-extraconf.inc b/meta-tizen/recipes-tizen/yaml/yaml-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/yaml/yaml-native_git.bb b/meta-tizen/recipes-tizen/yaml/yaml-native_git.bb new file mode 100644 index 0000000..ec400ff --- /dev/null +++ b/meta-tizen/recipes-tizen/yaml/yaml-native_git.bb @@ -0,0 +1,12 @@ +require yaml.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yaml;protocol=ssh;tag=83df6fc09a8f2ce52b5c2711e0ddef2f321704d3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yaml/yaml.inc b/meta-tizen/recipes-tizen/yaml/yaml.inc new file mode 100644 index 0000000..3a162f7 --- /dev/null +++ b/meta-tizen/recipes-tizen/yaml/yaml.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "A YAML 1.1 parser and emitter written in C" +HOMEPAGE = "http://pyyaml.org/wiki/LibYAML" +SECTION = "Development/Libraries/C and C++" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libyaml-devel +PROVIDES += "libyaml-devel" +RPROVIDES_libyaml-devel += "libyaml-devel" +RPROVIDES_libyaml-devel += "libyaml-dev" + +#PROVIDES by yaml +PROVIDES += "yaml" +RPROVIDES_yaml += "yaml" + +#PROVIDES by libyaml +PROVIDES += "libyaml" +RPROVIDES_libyaml += "libyaml" + +RDEPENDS = "" +#RDEPENDS of libyaml-devel (lib${PN}-devel) +RDEPENDS_lib${PN}-devel += "libyaml" + + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n yaml-0.1.4 + cp ${S}/packaging/yaml.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info --with-pic --disable-static + make + + exit 0 + make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libyaml-devel" +PACKAGES += "libyaml" + +libyaml-devel_files = "" +libyaml-devel_files += "yaml.manifest" +libyaml-devel_files += "/usr/include/yaml.h" +libyaml-devel_files += "/usr/lib/libyaml.so" +libyaml-devel_files += "/usr/lib/pkgconfig/yaml-0.1.pc" + +libyaml_files = "" +libyaml_files += "yaml.manifest" +libyaml_files += "/usr/lib/libyaml-0.so.*" + +FILES_lib${PN}-devel = "${libyaml-devel_files}" +FILES_lib${PN} = "${libyaml_files}" + +PKG_libyaml-devel= "libyaml-devel" +PKG_libyaml= "libyaml" + +require yaml-extraconf.inc diff --git a/meta-tizen/recipes-tizen/yaml/yaml_git.bb b/meta-tizen/recipes-tizen/yaml/yaml_git.bb new file mode 100644 index 0000000..1354ed3 --- /dev/null +++ b/meta-tizen/recipes-tizen/yaml/yaml_git.bb @@ -0,0 +1,8 @@ +require yaml.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yaml;protocol=ssh;tag=83df6fc09a8f2ce52b5c2711e0ddef2f321704d3;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yasm/yasm-extraconf.inc b/meta-tizen/recipes-tizen/yasm/yasm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/yasm/yasm-native_git.bb b/meta-tizen/recipes-tizen/yasm/yasm-native_git.bb new file mode 100644 index 0000000..44406bf --- /dev/null +++ b/meta-tizen/recipes-tizen/yasm/yasm-native_git.bb @@ -0,0 +1,12 @@ +require yasm.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yasm;protocol=ssh;tag=e5fa2a0d0f04a64bc0b2a04730bfde4f678040c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yasm/yasm.inc b/meta-tizen/recipes-tizen/yasm/yasm.inc new file mode 100644 index 0000000..42548d0 --- /dev/null +++ b/meta-tizen/recipes-tizen/yasm/yasm.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Yasm Modular Assembler" +HOMEPAGE = "http://yasm.tortall.net/" +SECTION = "System/Libraries" +LICENSE = "BSD-2-Clause or BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by yasm +PROVIDES += "yasm" +RPROVIDES_yasm += "yasm" + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of yasm +DEPENDS += "binutils" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/yasm.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + ./configure --prefix=/usr + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "yasm" + +yasm_files = "" +yasm_files += "yasm.manifest" +yasm_files += "/usr/bin/yasm" +yasm_files += "/usr/bin/vsyasm" +yasm_files += "/usr/bin/ytasm" +yasm_files += "/usr/include/libyasm-stdint.h" +yasm_files += "/usr/include/libyasm.h" +yasm_files += "/usr/include/libyasm/*" +yasm_files += "/usr/share/man/man1/yasm.1.gz" +yasm_files += "/usr/share/man/man7/yasm_arch.7.gz" +yasm_files += "/usr/share/man/man7/yasm_dbgfmts.7.gz" +yasm_files += "/usr/share/man/man7/yasm_objfmts.7.gz" +yasm_files += "/usr/share/man/man7/yasm_parsers.7.gz" + +FILES_${PN} = "${yasm_files}" + +PKG_yasm= "yasm" + +require yasm-extraconf.inc diff --git a/meta-tizen/recipes-tizen/yasm/yasm_git.bb b/meta-tizen/recipes-tizen/yasm/yasm_git.bb new file mode 100644 index 0000000..cb43f4b --- /dev/null +++ b/meta-tizen/recipes-tizen/yasm/yasm_git.bb @@ -0,0 +1,8 @@ +require yasm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yasm;protocol=ssh;tag=e5fa2a0d0f04a64bc0b2a04730bfde4f678040c6;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-extraconf.inc b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-native_git.bb b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-native_git.bb new file mode 100644 index 0000000..5f1e045 --- /dev/null +++ b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser-native_git.bb @@ -0,0 +1,12 @@ +require yum-metadata-parser.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yum-metadata-parser;protocol=ssh;tag=0b140b5d0c96edbc7323a70cf842ecfe7b6ba424;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser.inc b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser.inc new file mode 100644 index 0000000..700bb38 --- /dev/null +++ b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser.inc @@ -0,0 +1,83 @@ +DESCRIPTION = "A fast metadata parser for yum" +HOMEPAGE = "http://linux.duke.edu/projects/yum/" +SECTION = "Development/Libraries" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by yum-metadata-parser +PROVIDES += "yum-metadata-parser" +RPROVIDES_yum-metadata-parser += "yum-metadata-parser" + +RDEPENDS = "" +#RDEPENDS of yum-metadata-parser (${PN}) +RDEPENDS_${PN} += "glib2" + + +DEPENDS = "" +#DEPENDS of yum-metadata-parser +inherit pythonnative +DEPENDS += "sqlite" +DEPENDS += "pkgconfig(glib-2.0)" +DEPENDS += "pkgconfig(libxml-2.0)" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/yum-metadata-parser.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + python setup.py install -O1 --root=${D} + + +} + +PACKAGES = "" +PACKAGES += "yum-metadata-parser" + +yum-metadata-parser_files = "" +yum-metadata-parser_files += "yum-metadata-parser.manifest" +yum-metadata-parser_files += "/usr/lib64/python2.7/site-packages/_sqlitecache.so" +yum-metadata-parser_files += "/usr/lib64/python2.7/site-packages/sqlitecachec.py" +yum-metadata-parser_files += "/usr/lib64/python2.7/site-packages/sqlitecachec.pyc" +yum-metadata-parser_files += "/usr/lib64/python2.7/site-packages/sqlitecachec.pyo" +yum-metadata-parser_files += "/usr/lib64/python2.7/site-packages/*egg-info" + +FILES_${PN} = "${yum-metadata-parser_files}" + +PKG_yum-metadata-parser= "yum-metadata-parser" + +require yum-metadata-parser-extraconf.inc diff --git a/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser_git.bb b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser_git.bb new file mode 100644 index 0000000..8f27729 --- /dev/null +++ b/meta-tizen/recipes-tizen/yum-metadata-parser/yum-metadata-parser_git.bb @@ -0,0 +1,8 @@ +require yum-metadata-parser.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yum-metadata-parser;protocol=ssh;tag=0b140b5d0c96edbc7323a70cf842ecfe7b6ba424;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yum/yum-extraconf.inc b/meta-tizen/recipes-tizen/yum/yum-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/yum/yum-native_git.bb b/meta-tizen/recipes-tizen/yum/yum-native_git.bb new file mode 100644 index 0000000..5b5bdad --- /dev/null +++ b/meta-tizen/recipes-tizen/yum/yum-native_git.bb @@ -0,0 +1,12 @@ +require yum.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yum;protocol=ssh;tag=40014cdf8aae2f0a8c3eccd7f908e6ed1f5ddd65;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/yum/yum.inc b/meta-tizen/recipes-tizen/yum/yum.inc new file mode 100644 index 0000000..a2b0f83 --- /dev/null +++ b/meta-tizen/recipes-tizen/yum/yum.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "RPM package installer/updater/manager" +HOMEPAGE = "http://yum.baseurl.org/" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by yum +PROVIDES += "yum" +RPROVIDES_yum += "yum" + +RDEPENDS = "" +#RDEPENDS of yum (${PN}) +RDEPENDS_${PN} += "python-urlgrabber" +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "python-rpm" +RDEPENDS_${PN} += "python-iniparse" +RDEPENDS_${PN} += "rpm" +RDEPENDS_${PN} += "yum-metadata-parser" +RDEPENDS_${PN} += "python-gpgme" + + +DEPENDS = "" +#DEPENDS of yum +DEPENDS += "intltool-native" +DEPENDS += "python-urlgrabber" +inherit pythonnative +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "python-rpm" +DEPENDS += "python-nose" +DEPENDS += "python-iniparse" +DEPENDS += "rpm" +DEPENDS += "yum-metadata-parser" +DEPENDS += "python-gpgme" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/yum.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make + + exit 0 + make check + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} UNITDIR=/lib/systemd/system install + install -m 644 ${S}/packaging/yum.conf ${D}//etc/yum.conf + mkdir -p ${D}//etc/yum/pluginconf.d ${D}//usr/lib/yum-plugins + mkdir -p ${D}//usr/share/yum-plugins + + mv ${D}//etc/yum/repos.d ${D}//etc/yum.repos.d + + # yum-updatesd has moved to the separate source version + rm -f ${D}//etc/yum/yum.conf + rm -f ${D}//etc/yum/yum-updatesd.conf + rm -f ${D}//etc/rc.d/init.d/yum-updatesd + rm -f ${D}//etc/dbus-1/system.d/yum-updatesd.conf + rm -f ${D}//usr/sbin/yum-updatesd + rm -f ${D}//usr/share/man/man*/yum-updatesd* + rm -f ${D}//usr/share/yum-cli/yumupd.py* + + rm -rf ${D}/etc/cron.daily + rm -rf ${D}/etc/sysconfig/yum-cron + rm -rf ${D}/etc/yum/yum-daily.yum + rm -rf ${D}/etc/yum/yum-weekly.yum + rm -rf ${D}/etc/rc.d/init.d + + # Ghost files: + mkdir -p ${D}/var/lib/yum/history + mkdir -p ${D}/var/lib/yum/plugins + mkdir -p ${D}/var/lib/yum/yumdb + touch ${D}/var/lib/yum/uuid + + # rpmlint bogus stuff... + chmod +x ${D}//usr/share/yum-cli/*.py + chmod +x ${D}//usr/lib/python2.7/site-packages/yum/*.py + chmod +x ${D}//usr/lib/python2.7/site-packages/rpmUtils/*.py + + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} yum + + + + +} + +PACKAGES = "" +PACKAGES += "yum" + +yum_files = "" +yum_files += "yum.manifest" +yum_files += "/etc/yum.conf" +yum_files += "/etc/yum.repos.d" +yum_files += "/etc/yum/version-groups.conf" +yum_files += "/etc/yum" +yum_files += "/etc/yum/protected.d" +yum_files += "/etc/yum/vars" +yum_files += "/etc/logrotate.d/yum" +yum_files += "/etc/bash_completion.d" +yum_files += "/usr/share/yum-cli/" +yum_files += "/usr/bin/yum" +yum_files += "/usr/lib/python2.7/site-packages/yum" +yum_files += "/usr/lib/python2.7/site-packages/rpmUtils" +yum_files += "/var/cache/yum" +yum_files += "/var/lib/yum" +yum_files += "/usr/share/man/man*/yum.*" +yum_files += "/usr/share/man/man*/yum-shell*" +yum_files += "/etc/yum/pluginconf.d" +yum_files += "/usr/lib/yum-plugins" +yum_files += "/usr/share/yum-plugins" + +FILES_${PN} = "${yum_files}" + +PKG_yum= "yum" + +require yum-extraconf.inc diff --git a/meta-tizen/recipes-tizen/yum/yum_git.bb b/meta-tizen/recipes-tizen/yum/yum_git.bb new file mode 100644 index 0000000..2d14aa0 --- /dev/null +++ b/meta-tizen/recipes-tizen/yum/yum_git.bb @@ -0,0 +1,8 @@ +require yum.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/yum;protocol=ssh;tag=40014cdf8aae2f0a8c3eccd7f908e6ed1f5ddd65;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zeromq/zeromq-extraconf.inc b/meta-tizen/recipes-tizen/zeromq/zeromq-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/zeromq/zeromq-native_git.bb b/meta-tizen/recipes-tizen/zeromq/zeromq-native_git.bb new file mode 100644 index 0000000..60c91b5 --- /dev/null +++ b/meta-tizen/recipes-tizen/zeromq/zeromq-native_git.bb @@ -0,0 +1,12 @@ +require zeromq.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zeromq;protocol=ssh;tag=1d26b6e152a399955145f28d4a6171c8cf5baf9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zeromq/zeromq.inc b/meta-tizen/recipes-tizen/zeromq/zeromq.inc new file mode 100644 index 0000000..731bb8d --- /dev/null +++ b/meta-tizen/recipes-tizen/zeromq/zeromq.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "The ZeroMQ messaging library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by libzmq +PROVIDES += "libzmq" +RPROVIDES_libzmq += "libzmq" + +#PROVIDES by zeromq +PROVIDES += "zeromq" +RPROVIDES_zeromq += "zeromq" + +#PROVIDES by zeromq-devel +PROVIDES += "zeromq-devel" +RPROVIDES_zeromq-devel += "zeromq-devel" +RPROVIDES_zeromq-devel += "zeromq-dev" + +RDEPENDS = "" +#RDEPENDS of zeromq (${PN}) +RDEPENDS_${PN} += "libuuid" + +#RDEPENDS of zeromq-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "libzmq" +RDEPENDS_${PN}-devel += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of zeromq +inherit pythonnative +DEPENDS += "util-linux" +inherit perlnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/zeromq.manifest . + +} + +do_configure() { +} + +do_compile() { + 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 ; + autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ + --target=x86_64-tizen-linux \ + --program-prefix= \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + oe_runmake -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + rm -rf ${D}/usr/share/info + rm -rf ${D}/usr/share/doc/packages + rm -rf ${D}/usr/share/doc/zeromq + rm -rf ${D}/usr/share/doc/zeromq-3.2.2 + rm -rf ${D}/usr/share/gtk-doc + rm -rf ${D}/usr/share/doc + rm -rf ${D}/usr/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + +} + +PACKAGES = "" +PACKAGES += "libzmq" +PACKAGES += "zeromq-devel" + +libzmq_files = "" +libzmq_files += "zeromq.manifest" +libzmq_files += "/usr/lib/libzmq.so.3" +libzmq_files += "/usr/lib/libzmq.so.3.0.0" + +zeromq-devel_files = "" +zeromq-devel_files += "zeromq.manifest" +zeromq-devel_files += "/usr/include/zmq.h" +zeromq-devel_files += "/usr/include/zmq_utils.h" +zeromq-devel_files += "/usr/lib/pkgconfig/libzmq.pc" +zeromq-devel_files += "/usr/lib/libzmq.so" + +FILES_libzmq = "${libzmq_files}" +FILES_${PN}-devel = "${zeromq-devel_files}" + +PKG_libzmq= "libzmq" +PKG_zeromq-devel= "zeromq-devel" + +require zeromq-extraconf.inc diff --git a/meta-tizen/recipes-tizen/zeromq/zeromq_git.bb b/meta-tizen/recipes-tizen/zeromq/zeromq_git.bb new file mode 100644 index 0000000..7688a1b --- /dev/null +++ b/meta-tizen/recipes-tizen/zeromq/zeromq_git.bb @@ -0,0 +1,8 @@ +require zeromq.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zeromq;protocol=ssh;tag=1d26b6e152a399955145f28d4a6171c8cf5baf9d;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zip/zip-extraconf.inc b/meta-tizen/recipes-tizen/zip/zip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/zip/zip-native_git.bb b/meta-tizen/recipes-tizen/zip/zip-native_git.bb new file mode 100644 index 0000000..b532c0f --- /dev/null +++ b/meta-tizen/recipes-tizen/zip/zip-native_git.bb @@ -0,0 +1,12 @@ +require zip.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zip;protocol=ssh;tag=b93d573b47875ad43a8df84196f04a84772a4949;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zip/zip.inc b/meta-tizen/recipes-tizen/zip/zip.inc new file mode 100644 index 0000000..64d27db --- /dev/null +++ b/meta-tizen/recipes-tizen/zip/zip.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "File compression program" +HOMEPAGE = "http://www.info-zip.org/" +SECTION = "Productivity/Archiving/Compression" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by zip-docs +PROVIDES += "zip-docs " +RPROVIDES_zip-docs += "zip-docs " + +#PROVIDES by zip +PROVIDES += "zip" +RPROVIDES_zip += "zip" + +RDEPENDS = "" + +DEPENDS = "" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n zip30 + cp ${S}/packaging/zip.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + make -j16 -f unix/Makefile prefix=/usr CC="gcc -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/bin + mkdir -p ${D}/usr/share/man/man1 + make install -f unix/Makefile BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man1 + + + +} + +PACKAGES = "" +PACKAGES += "zip-docs" +PACKAGES += "zip" + +zip-docs_files = "" +zip-docs_files += "/usr/share/info" +zip-docs_files += "/usr/share/man" + +zip_files = "" +zip_files += "zip.manifest" +zip_files += "LICENSE" +zip_files += "/usr/bin/zip" +zip_files += "/usr/bin/zipcloak" +zip_files += "/usr/bin/zipnote" +zip_files += "/usr/bin/zipsplit" + +FILES_${PN}-docs = "${zip-docs_files}" +FILES_${PN} = "${zip_files}" + +PKG_zip-docs= "zip-docs" +PKG_zip= "zip" + +require zip-extraconf.inc diff --git a/meta-tizen/recipes-tizen/zip/zip_git.bb b/meta-tizen/recipes-tizen/zip/zip_git.bb new file mode 100644 index 0000000..9545e4e --- /dev/null +++ b/meta-tizen/recipes-tizen/zip/zip_git.bb @@ -0,0 +1,8 @@ +require zip.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zip;protocol=ssh;tag=b93d573b47875ad43a8df84196f04a84772a4949;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zlib/zlib-extraconf.inc b/meta-tizen/recipes-tizen/zlib/zlib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/zlib/zlib-native_git.bb b/meta-tizen/recipes-tizen/zlib/zlib-native_git.bb new file mode 100644 index 0000000..af8807f --- /dev/null +++ b/meta-tizen/recipes-tizen/zlib/zlib-native_git.bb @@ -0,0 +1,12 @@ +require zlib.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zlib;protocol=ssh;tag=653cb2d2fa53c43caa5b531d0dbbf76a3c6600f2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zlib/zlib.inc b/meta-tizen/recipes-tizen/zlib/zlib.inc new file mode 100644 index 0000000..973a4e5 --- /dev/null +++ b/meta-tizen/recipes-tizen/zlib/zlib.inc @@ -0,0 +1,205 @@ +DESCRIPTION = "Data Compression Library" +HOMEPAGE = "http://www.zlib.net/" +SECTION = "Base/Libraries" +LICENSE = "Zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by zlib-devel +PROVIDES += "zlib-devel" +RPROVIDES_zlib-devel += "zlib-devel" +RPROVIDES_zlib-devel += "zlib-dev" +# the PROVIDES rules is ignore "libz:/usr/include/zlib.h " +PROVIDES += "libz:/usr/include/zlib.h" +RPROVIDES_zlib-devel += "libz:/usr/include/zlib.h" + +#PROVIDES by zlib +PROVIDES += "zlib" +RPROVIDES_zlib += "zlib" +# the PROVIDES rules is ignore "libz " +PROVIDES += "libz" +RPROVIDES_zlib += "libz" + +#PROVIDES by zlib-devel-static +PROVIDES += "zlib-devel-static" +RPROVIDES_zlib-devel-static += "zlib-devel-static" +RPROVIDES_zlib-devel-static += "zlib-dev" +# the PROVIDES rules is ignore "zlib-devel:/usr/lib/libz.a " +PROVIDES += "zlib-devel:/usr/lib/libz.a" +RPROVIDES_zlib-devel-static += "zlib-devel:/usr/lib/libz.a" +RPROVIDES_zlib-devel-static += "zlib-dev" + +#PROVIDES by minizip +PROVIDES += "minizip" +RPROVIDES_minizip += "minizip" + +#PROVIDES by minizip-devel +PROVIDES += "minizip-devel" +RPROVIDES_minizip-devel += "minizip-devel" +RPROVIDES_minizip-devel += "minizip-dev" + +RDEPENDS = "" +#RDEPENDS of zlib-devel (${PN}-devel) +RDEPENDS_${PN}-devel += "glibc-dev" +RDEPENDS_${PN}-devel += "zlib" + +#RDEPENDS of zlib-devel-static (${PN}-devel-static) +RDEPENDS_${PN}-devel-static += "zlib-dev" + +#RDEPENDS of minizip (minizip) +RDEPENDS_minizip += "zlib" + +#RDEPENDS of minizip-devel (minizip-devel) +RDEPENDS_minizip-devel += "minizip" + + +DEPENDS = "" +#DEPENDS of zlib + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/zlib.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + export LDFLAGS="-Wl,-z,relro,-z,now" + export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" + CC="gcc" ./configure --shared --prefix=/usr --libdir=/lib + make -j16 + + cd contrib/minizip + + 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=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --localstatedir=/var \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j16 + + exit 0 + time make check + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + #mkdir -p ${D}/usr/share/man/man3 + mkdir -p ${D}/usr/lib + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=/usr/bin \ + install + rm -f ${D}/usr/share/info/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + ln -s -v /lib/$(readlink ${D}/lib/libz.so) ${D}/usr/lib/libz.so + rm -v ${D}/lib/libz.so + # static lib + mv ${D}/lib/libz.a ${D}/usr/lib + # Move .pc file to /usr/lib + mv ${D}/lib/pkgconfig ${D}/usr/lib + # manpage + install -m 644 zlib.3 ${D}/usr/share/man/man3 + install -m 644 zutil.h ${D}/usr/include + + pushd contrib/minizip + make install DESTDIR=$RPM_BUILD_ROOT + rm -rf ${D}/usr/lib/libminizip.a + rm -rf ${D}/usr/lib/libminizip.la + popd + + +} + +PACKAGES = "" +PACKAGES += "zlib-devel" +PACKAGES += "zlib" +PACKAGES += "zlib-devel-static" +PACKAGES += "minizip" +PACKAGES += "minizip-devel" + +zlib-devel_files = "" +zlib-devel_files += "zlib.manifest" +zlib-devel_files += "README" +zlib-devel_files += "/usr/share/man/man3/zlib.3.gz" +zlib-devel_files += "/usr/include/zlib.h" +zlib-devel_files += "/usr/include/zconf.h" +zlib-devel_files += "/usr/include/zutil.h" +zlib-devel_files += "/usr/lib/libz.so" +zlib-devel_files += "/usr/lib/pkgconfig/zlib.pc" + +zlib_files = "" +zlib_files += "zlib.manifest" +zlib_files += "/lib/libz.so.1.2.*" +zlib_files += "/lib/libz.so.1" + +zlib-devel-static_files = "" +zlib-devel-static_files += "zlib.manifest" +zlib-devel-static_files += "/usr/lib/libz.a" + +minizip_files = "" +minizip_files += "zlib.manifest" +minizip_files += "/usr/lib/libminizip.so.*" + +minizip-devel_files = "" +minizip-devel_files += "zlib.manifest" +minizip-devel_files += "/usr/include/minizip" +minizip-devel_files += "/usr/include/minizip/*.h" +minizip-devel_files += "/usr/lib/libminizip.so" +minizip-devel_files += "/usr/lib/pkgconfig/minizip.pc" + +FILES_${PN}-devel = "${zlib-devel_files}" +FILES_${PN} = "${zlib_files}" +FILES_${PN}-devel-static = "${zlib-devel-static_files}" +FILES_minizip = "${minizip_files}" +FILES_minizip-devel = "${minizip-devel_files}" + +PKG_zlib-devel= "zlib-devel" +PKG_zlib= "zlib" +PKG_zlib-devel-static= "zlib-devel-static" +PKG_minizip= "minizip" +PKG_minizip-devel= "minizip-devel" + +require zlib-extraconf.inc diff --git a/meta-tizen/recipes-tizen/zlib/zlib_git.bb b/meta-tizen/recipes-tizen/zlib/zlib_git.bb new file mode 100644 index 0000000..bb1f890 --- /dev/null +++ b/meta-tizen/recipes-tizen/zlib/zlib_git.bb @@ -0,0 +1,8 @@ +require zlib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zlib;protocol=ssh;tag=653cb2d2fa53c43caa5b531d0dbbf76a3c6600f2;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-extraconf.inc b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-native_git.bb b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-native_git.bb new file mode 100644 index 0000000..a87d36c --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin-native_git.bb @@ -0,0 +1,12 @@ +require zypper-plugin.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zypper-plugin;protocol=ssh;tag=d6f3ebd459bc41f2638d4232ad323433d382f454;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin.inc b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin.inc new file mode 100644 index 0000000..fb7506b --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin.inc @@ -0,0 +1,79 @@ +DESCRIPTION = "Helper that makes writing ZYpp plugins easier" +HOMEPAGE = "https://gitorious.org/opensuse/zypp-plugin" +SECTION = "System/Packages" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by zypp-plugin +PROVIDES += "zypp-plugin" +RPROVIDES_zypp-plugin += "zypp-plugin" + +#PROVIDES by zypp-plugin-python +PROVIDES += "zypp-plugin-python" +RPROVIDES_zypp-plugin-python += "zypp-plugin-python" + +RDEPENDS = "" +#RDEPENDS of zypp-plugin (zypp-plugin) +RDEPENDS_zypp-plugin += "python" + + +DEPENDS = "" +#DEPENDS of zypp-plugin +inherit pythonnative + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n zypp-plugin + cp ${S}/packaging/zypp-plugin.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + /bin/mkdir -p ${D}/usr/lib/python2.7/site-packages + /bin/install python/zypp_plugin.py ${D}/usr/lib/python2.7/site-packages/zypp_plugin.py + + +} + +PACKAGES = "" +PACKAGES += "zypp-plugin-python" + +zypp-plugin-python_files = "" +zypp-plugin-python_files += "zypp-plugin.manifest" +zypp-plugin-python_files += "/usr/lib/python2.7/site-packages/zypp_plugin.py" + +FILES_${PN}-python = "${zypp-plugin-python_files}" + +PKG_zypp-plugin-python= "zypp-plugin-python" + +require zypper-plugin-extraconf.inc diff --git a/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin_git.bb b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin_git.bb new file mode 100644 index 0000000..dfc9d63 --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper-plugin/zypper-plugin_git.bb @@ -0,0 +1,8 @@ +require zypper-plugin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zypper-plugin;protocol=ssh;tag=d6f3ebd459bc41f2638d4232ad323433d382f454;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zypper/zypper-extraconf.inc b/meta-tizen/recipes-tizen/zypper/zypper-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/zypper/zypper-native_git.bb b/meta-tizen/recipes-tizen/zypper/zypper-native_git.bb new file mode 100644 index 0000000..8d2f693 --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper/zypper-native_git.bb @@ -0,0 +1,12 @@ +require zypper.inc + +PRIORITY = "9" + +inherit native + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zypper;protocol=ssh;tag=f1d4cfc301168fe4d1f9a804a6450eac8f196e62;nobranch=1" + diff --git a/meta-tizen/recipes-tizen/zypper/zypper.inc b/meta-tizen/recipes-tizen/zypper/zypper.inc new file mode 100644 index 0000000..df400fd --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper/zypper.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "Command line software manager using libzypp" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Package Management" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +PROVIDES = "" + +#PROVIDES by zypper +PROVIDES += "zypper" +RPROVIDES_zypper += "zypper" + +#PROVIDES by zypper-locale +PROVIDES += "zypper-locale " +RPROVIDES_zypper-locale += "zypper-locale " +# the PROVIDES rules is ignore "zypper-lang-all = 1.8.14" +PROVIDES += "zypper-lang-all" +RPROVIDES_zypper-locale += "zypper-lang-all" + +#PROVIDES by zypper-log +PROVIDES += "zypper-log" +RPROVIDES_zypper-log += "zypper-log" + +RDEPENDS = "" +#RDEPENDS of zypper (${PN}) +RDEPENDS_${PN} += "libzypp" +RDEPENDS_${PN} += "procps" + +#RDEPENDS of zypper-locale (${PN}-locale ) +RDEPENDS_${PN}-locale += "zypper" + +#RDEPENDS of zypper-log (${PN}-log) +RDEPENDS_${PN}-log += "python" + + +DEPENDS = "" +#DEPENDS of zypper +DEPENDS += "gcc-cross" +DEPENDS += "cmake" +DEPENDS += "augeas" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libzypp" +DEPENDS += "readline" +DEPENDS += "boost" + +do_patch() { + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/zypper.manifest . + + +} + +do_configure() { +} + +do_compile() { + 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 ; + + mkdir build + cd build + + # The code base is the same, but SLES11-SP1 (suse_version == 1110) + # may use it's own set of .po files from po/sle-zypper-po.tar.bz2. + unset TRANSLATION_SET + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DMANDIR=/usr/share/man \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypper} \ + .. + + #gettextize -f + make -j16 + make -C po -j16 translations + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd build + make install DESTDIR=$RPM_BUILD_ROOT + make -C po install DESTDIR=$RPM_BUILD_ROOT + rm -f ${D}//usr/bin/aptitude + # Create filelist with translations + cd .. + /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} zypper + /bin/install -d -m755 $RPM_BUILD_ROOT/var/log + touch $RPM_BUILD_ROOT/var/log/zypper.log + rm ${D}/usr/share/doc/packages/zypper/COPYING + + + +} + +PACKAGES = "" +PACKAGES += "zypper-locale" +PACKAGES += "zypper" +PACKAGES += "zypper-log" + +zypper-locale_files = "" + +zypper_files = "" +zypper_files += "zypper.manifest" +zypper_files += "/etc/zypp/zypper.conf" +zypper_files += "/etc/logrotate.d/zypper.lr" +zypper_files += "/etc/logrotate.d/zypp-refresh.lr" +zypper_files += "/etc/bash_completion.d/zypper.sh" +zypper_files += "/usr/bin/zypper" +zypper_files += "/usr/bin/installation_sources" +zypper_files += "/usr/sbin/zypp-refresh" +zypper_files += "/usr/share/zypper" +zypper_files += "/usr/share/zypper/zypper.aug" +zypper_files += "/usr/share/zypper/xml" +zypper_files += "/usr/share/zypper/xml/xmlout.rnc" +zypper_files += "/usr/share/man/man8/zypper.8*" +zypper_files += "%dir /usr/share/doc/packages/zypper" +zypper_files += "/usr/share/doc/packages/zypper/TODO" +zypper_files += "/usr/share/doc/packages/zypper/zypper-rug" +zypper_files += "/usr/share/doc/packages/zypper/HACKING" + +zypper-log_files = "" +zypper-log_files += "zypper.manifest" +zypper-log_files += "/usr/sbin/zypper-log" +zypper-log_files += "/usr/share/man/man8/zypper-log.8*" + +FILES_${PN}-locale = "${zypper-locale_files}" +FILES_${PN} = "${zypper_files}" +FILES_${PN}-log = "${zypper-log_files}" + +PKG_zypper-locale= "zypper-locale" +PKG_zypper= "zypper" +PKG_zypper-log= "zypper-log" + +require zypper-extraconf.inc diff --git a/meta-tizen/recipes-tizen/zypper/zypper_git.bb b/meta-tizen/recipes-tizen/zypper/zypper_git.bb new file mode 100644 index 0000000..bcd2a76 --- /dev/null +++ b/meta-tizen/recipes-tizen/zypper/zypper_git.bb @@ -0,0 +1,8 @@ +require zypper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/zypper;protocol=ssh;tag=f1d4cfc301168fe4d1f9a804a6450eac8f196e62;nobranch=1" + -- 2.7.4