From ca849805dd822f2102f7a4595cfb9346b57e44e7 Mon Sep 17 00:00:00 2001 From: ronan Date: Fri, 15 Feb 2013 08:22:20 +0100 Subject: [PATCH] - first Commit. --- Tizen_TZ_package/create-package-initial.py | 656 +++++++++++++++++ Tizen_TZ_package/gitCloneAll.sh | 5 + Tizen_TZ_package/make_project | 3 + .../recipes-BaseSystem/specfile-initial/acl.spec | 96 +++ .../recipes-BaseSystem/specfile-initial/attr.spec | 119 +++ .../recipes-BaseSystem/specfile-initial/bash.spec | 156 ++++ .../recipes-BaseSystem/specfile-initial/bzip2.spec | 93 +++ .../specfile-initial/ca-certificates-mozilla.spec | 106 +++ .../specfile-initial/connman.spec | 90 +++ .../specfile-initial/coreutils.spec | 85 +++ .../recipes-BaseSystem/specfile-initial/curl.spec | 112 +++ .../recipes-BaseSystem/specfile-initial/db4.spec | 197 +++++ .../recipes-BaseSystem/specfile-initial/dbus.spec | 225 ++++++ .../specfile-initial/doxygen.spec | 102 +++ .../specfile-initial/e2fsprogs.spec | 181 +++++ .../specfile-initial/elfutils.spec | 202 ++++++ .../recipes-BaseSystem/specfile-initial/expat.spec | 90 +++ .../specfile-initial/fdupes.spec | 32 + .../recipes-BaseSystem/specfile-initial/file.spec | 115 +++ .../specfile-initial/filesystem.spec | 223 ++++++ .../recipes-BaseSystem/specfile-initial/gdbm.spec | 112 +++ .../specfile-initial/gettext.spec | 196 +++++ .../recipes-BaseSystem/specfile-initial/glib2.spec | 167 +++++ .../recipes-BaseSystem/specfile-initial/glibc.spec | 800 +++++++++++++++++++++ .../specfile-initial/help2man.spec | 44 ++ .../specfile-initial/hwdata.spec | 32 + .../specfile-initial/iso-codes.spec | 51 ++ .../recipes-BaseSystem/specfile-initial/kbd.spec | 97 +++ .../recipes-BaseSystem/specfile-initial/kmod.spec | 126 ++++ .../specfile-initial/libcap-ng.spec | 86 +++ .../specfile-initial/libcap.spec | 87 +++ .../specfile-initial/libgcrypt.spec | 78 ++ .../specfile-initial/libgpg-error.spec | 60 ++ .../specfile-initial/libxml2.spec | 153 ++++ .../specfile-initial/libzio.spec | 63 ++ .../recipes-BaseSystem/specfile-initial/lua.spec | 135 ++++ .../specfile-initial/ncurses.spec | 705 ++++++++++++++++++ .../specfile-initial/net-tools.spec | 64 ++ .../recipes-BaseSystem/specfile-initial/nspr.spec | 92 +++ .../recipes-BaseSystem/specfile-initial/nss.spec | 327 +++++++++ .../specfile-initial/openssl.spec | 78 ++ .../recipes-BaseSystem/specfile-initial/pam.spec | 186 +++++ .../specfile-initial/pciutils.spec | 78 ++ .../specfile-initial/perl-gettext.spec | 52 ++ .../recipes-BaseSystem/specfile-initial/perl.spec | 334 +++++++++ .../specfile-initial/pkg-config.spec | 45 ++ .../specfile-initial/procps.spec | 247 +++++++ .../specfile-initial/psmisc.spec | 66 ++ .../specfile-initial/pwdutils.spec | 89 +++ .../specfile-initial/readline.spec | 134 ++++ .../recipes-BaseSystem/specfile-initial/rpm.spec | 294 ++++++++ .../recipes-BaseSystem/specfile-initial/setup.spec | 86 +++ .../recipes-BaseSystem/specfile-initial/smack.spec | 81 +++ .../specfile-initial/systemd.spec | 400 +++++++++++ .../specfile-initial/texinfo.spec | 227 ++++++ .../specfile-initial/tizen-release.spec | 45 ++ .../specfile-initial/tzdata.spec | 80 +++ .../specfile-initial/uthash.spec | 40 ++ .../specfile-initial/util-linux.spec | 362 ++++++++++ .../recipes-BaseSystem/specfile-initial/zlib.spec | 142 ++++ .../specfile-initial/alsa-utils.spec | 47 ++ .../specfile-initial/autoconf.spec | 60 ++ .../specfile-initial/automake.spec | 59 ++ .../specfile-initial/binutils.spec | 358 +++++++++ .../specfile-initial/bison.spec | 41 ++ .../specfile-initial/chrpath.spec | 36 + .../specfile-initial/cmake.spec | 80 +++ .../specfile-initial/diffutils.spec | 37 + .../specfile-initial/findutils.spec | 82 +++ .../recipes-Development/specfile-initial/flex.spec | 47 ++ .../recipes-Development/specfile-initial/gcc.spec | 550 ++++++++++++++ .../recipes-Development/specfile-initial/gdb.spec | 106 +++ .../specfile-initial/gstreamer.spec | 177 +++++ .../recipes-Development/specfile-initial/less.spec | 46 ++ .../specfile-initial/libtool.spec | 72 ++ .../recipes-Development/specfile-initial/make.spec | 46 ++ .../recipes-Development/specfile-initial/nano.spec | 52 ++ .../recipes-Development/specfile-initial/nasm.spec | 67 ++ .../specfile-initial/pacrunner.spec | 54 ++ .../specfile-initial/patch.spec | 37 + .../specfile-initial/powertop.spec | 45 ++ .../specfile-initial/pulseaudio.spec | 472 ++++++++++++ .../specfile-initial/strace.spec | 478 ++++++++++++ .../recipes-Development/specfile-initial/tcl.spec | 52 ++ .../specfile-initial/unzip.spec | 39 + .../recipes-Development/specfile-initial/vim.spec | 395 ++++++++++ .../specfile-initial/wdiff.spec | 55 ++ .../recipes-Development/specfile-initial/xz.spec | 109 +++ .../recipes-Development/specfile-initial/yasm.spec | 39 + .../recipes-Development/specfile-initial/zip.spec | 35 + meta-tizen/classes/specParserUtils.bbclass | 335 +++++++++ meta-tizen/classes/specParserUtils.bbclass~ | 349 +++++++++ meta-tizen/conf/bblayers.conf.sample | 21 + meta-tizen/conf/distro/include/tclibc-glibc.inc | 46 ++ meta-tizen/conf/distro/include/tclibc-glibc.inc~ | 44 ++ meta-tizen/conf/distro/include/tcmode-tizen.inc | 60 ++ meta-tizen/conf/distro/include/tizen-as-needed.inc | 16 + .../conf/distro/include/tizen-distrovars.inc | 54 ++ .../conf/distro/include/tizen-distrovars.inc~ | 54 ++ meta-tizen/conf/distro/tizen.conf | 24 + meta-tizen/conf/distro/tizen.conf~ | 24 + meta-tizen/conf/layer.conf | 10 + meta-tizen/conf/layer.conf~ | 10 + meta-tizen/conf/local.conf.sample | 244 +++++++ .../recipes-BaseSystem/bash/bash-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/bash/bash.inc | 38 + meta-tizen/recipes-BaseSystem/bash/bash_git.bb | 5 + .../ca-certificates-mozilla-extraconf.inc | 0 .../ca-certificates-mozilla.inc | 36 + .../ca-certificates-mozilla_git.bb | 5 + .../connman/connman-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/connman/connman.inc | 68 ++ .../recipes-BaseSystem/connman/connman_git.bb | 5 + .../coreutils/coreutils-extraconf.inc | 0 .../recipes-BaseSystem/coreutils/coreutils.inc | 82 +++ .../recipes-BaseSystem/coreutils/coreutils_git.bb | 5 + .../create-package-initial.py | 407 +++++++++++ .../create-package-initial/list_packages~ | 0 .../recipes-BaseSystem/curl/curl-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/curl/curl.inc | 63 ++ meta-tizen/recipes-BaseSystem/curl/curl_git.bb | 5 + .../e2fsprogs/e2fsprogs-extraconf.inc | 1 + .../e2fsprogs/e2fsprogs-extraconf.inc~ | 0 .../recipes-BaseSystem/e2fsprogs/e2fsprogs.inc | 98 +++ .../recipes-BaseSystem/e2fsprogs/e2fsprogs_git.bb | 5 + .../filesystem/filesystem-extraconf.inc | 0 .../recipes-BaseSystem/filesystem/filesystem.inc | 33 + .../filesystem/filesystem_git.bb | 5 + .../recipes-BaseSystem/gdbm/gdbm-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc | 54 ++ meta-tizen/recipes-BaseSystem/gdbm/gdbm_git.bb | 5 + .../recipes-BaseSystem/glibc/glib-extraconf.inc | 22 + .../recipes-BaseSystem/glibc/glib-extraconf.inc~ | 17 + .../recipes-BaseSystem/glibc/glibc-extraconf.inc | 54 ++ .../recipes-BaseSystem/glibc/glibc-extraconf.inc~ | 45 ++ .../recipes-BaseSystem/glibc/glibc-initial.inc | 52 ++ .../recipes-BaseSystem/glibc/glibc-initial_git.bb | 6 + meta-tizen/recipes-BaseSystem/glibc/glibc.inc | 156 ++++ meta-tizen/recipes-BaseSystem/glibc/glibc.inc~ | 163 +++++ meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb | 5 + meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb~ | 3 + .../glibc/ldconfig-native-2.12.1/32and64bit.patch | 331 +++++++++ .../glibc/ldconfig-native-2.12.1/README | 8 + .../endian-ness_handling.patch | 454 ++++++++++++ .../ldconfig-native-2.12.1/endianess-header.patch | 113 +++ .../glibc/ldconfig-native-2.12.1/flag_fix.patch | 24 + .../ldconfig-native-2.12.1.tar.bz2 | Bin 0 -> 21491 bytes .../glibc/ldconfig-native-2.12.1/ldconfig.patch | 471 ++++++++++++ .../ldconfig_aux-cache_path_fix.patch | 36 + .../glibc/ldconfig-native_2.12.1.bb | 30 + .../images/tizen-core-image-minimal.bb | 14 + .../recipes-BaseSystem/kbd/kbd-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/kbd/kbd.inc | 47 ++ meta-tizen/recipes-BaseSystem/kbd/kbd_git.bb | 5 + .../recipes-BaseSystem/kmod/kmod-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/kmod/kmod.inc | 68 ++ meta-tizen/recipes-BaseSystem/kmod/kmod.inc~ | 25 + meta-tizen/recipes-BaseSystem/kmod/kmod_git.bb | 5 + .../libcap-ng/libcap-ng-extraconf.inc | 0 .../recipes-BaseSystem/libcap-ng/libcap-ng.inc | 60 ++ .../recipes-BaseSystem/libcap-ng/libcap-ng.inc~ | 30 + .../recipes-BaseSystem/libcap-ng/libcap-ng_git.bb | 5 + .../net-tools/net-tools-extraconf.inc | 0 .../recipes-BaseSystem/net-tools/net-tools.inc | 30 + .../recipes-BaseSystem/net-tools/net-tools_git.bb | 5 + .../recipes-BaseSystem/nspr/nspr-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/nspr/nspr.inc | 46 ++ meta-tizen/recipes-BaseSystem/nspr/nspr_git.bb | 5 + .../packagegroups/packagegroup-tizen-core-boot.bb | 50 ++ .../packagegroups/packagegroup-tizen-core-boot.bb~ | 49 ++ .../recipes-BaseSystem/pam/pam-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/pam/pam.inc | 65 ++ meta-tizen/recipes-BaseSystem/pam/pam_git.bb | 5 + .../pciutils/pciutils-extraconf.inc | 0 .../recipes-BaseSystem/pciutils/pciutils.inc | 57 ++ .../recipes-BaseSystem/pciutils/pciutils_git.bb | 5 + .../recipes-BaseSystem/procps/procps-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/procps/procps.inc | 58 ++ meta-tizen/recipes-BaseSystem/procps/procps_git.bb | 5 + .../recipes-BaseSystem/psmisc/psmisc-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc | 39 + meta-tizen/recipes-BaseSystem/psmisc/psmisc_git.bb | 5 + .../pwdutils/pwdutils-extraconf.inc | 0 .../recipes-BaseSystem/pwdutils/pwdutils.inc | 36 + .../recipes-BaseSystem/pwdutils/pwdutils_git.bb | 5 + .../readline/readline-extraconf.inc | 0 .../recipes-BaseSystem/readline/readline.inc | 57 ++ .../recipes-BaseSystem/readline/readline_git.bb | 5 + .../recipes-BaseSystem/rpm/rpm-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/rpm/rpm.inc | 112 +++ meta-tizen/recipes-BaseSystem/rpm/rpm.inc~ | 112 +++ meta-tizen/recipes-BaseSystem/rpm/rpm_git.bb | 5 + .../recipes-BaseSystem/setup/setup-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/setup/setup.inc | 33 + meta-tizen/recipes-BaseSystem/setup/setup_git.bb | 5 + .../systemd/systemd-extraconf.inc | 2 + .../systemd/systemd-extraconf.inc~ | 0 meta-tizen/recipes-BaseSystem/systemd/systemd.inc | 135 ++++ meta-tizen/recipes-BaseSystem/systemd/systemd.inc~ | 43 ++ .../recipes-BaseSystem/systemd/systemd_git.bb | 5 + .../tizen-release/tizen-release-extraconf.inc | 0 .../tizen-release/tizen-release.inc | 39 + .../tizen-release/tizen-release_git.bb | 5 + .../tizenBuildUtils/tizenBuildUtils.inc | 83 +++ .../tizenBuildUtils/tizenBuildUtils.inc~ | 81 +++ .../recipes-BaseSystem/tzdata/tzdata-extraconf.inc | 0 meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc | 32 + meta-tizen/recipes-BaseSystem/tzdata/tzdata_git.bb | 5 + .../util-linux/util-linux-extraconf.inc | 1 + .../util-linux/util-linux-extraconf.inc~ | 0 .../recipes-BaseSystem/util-linux/util-linux.inc | 134 ++++ .../util-linux/util-linux_git.bb | 5 + .../alsa-utils/alsa-utils-extraconf.inc | 0 .../recipes-Development/alsa-utils/alsa-utils.inc | 41 ++ .../alsa-utils/alsa-utils_git.bb | 5 + .../autoconf/autoconf-extraconf.inc | 0 .../recipes-Development/autoconf/autoconf.inc | 41 ++ .../recipes-Development/autoconf/autoconf_git.bb | 5 + .../automake/automake-extraconf.inc | 0 .../recipes-Development/automake/automake.inc | 41 ++ .../recipes-Development/automake/automake_git.bb | 5 + .../binutils/binutils-extraconf.inc | 0 .../recipes-Development/binutils/binutils.inc | 66 ++ .../recipes-Development/binutils/binutils_git.bb | 5 + .../recipes-Development/bison/bison-extraconf.inc | 0 meta-tizen/recipes-Development/bison/bison.inc | 36 + meta-tizen/recipes-Development/bison/bison_git.bb | 5 + .../chrpath/chrpath-extraconf.inc | 0 meta-tizen/recipes-Development/chrpath/chrpath.inc | 30 + .../recipes-Development/chrpath/chrpath_git.bb | 5 + .../recipes-Development/cmake/cmake-extraconf.inc | 0 meta-tizen/recipes-Development/cmake/cmake.inc | 39 + meta-tizen/recipes-Development/cmake/cmake_git.bb | 5 + .../diffutils/diffutils-extraconf.inc | 0 .../recipes-Development/diffutils/diffutils.inc | 35 + .../recipes-Development/diffutils/diffutils_git.bb | 5 + .../findutils/findutils-extraconf.inc | 0 .../recipes-Development/findutils/findutils.inc | 55 ++ .../recipes-Development/findutils/findutils_git.bb | 5 + .../recipes-Development/flex/flex-extraconf.inc | 0 meta-tizen/recipes-Development/flex/flex.inc | 40 ++ meta-tizen/recipes-Development/flex/flex.inc~ | 40 ++ meta-tizen/recipes-Development/flex/flex_git.bb | 5 + .../recipes-Development/gcc/gcc-extraconf.inc | 0 meta-tizen/recipes-Development/gcc/gcc.inc | 297 ++++++++ meta-tizen/recipes-Development/gcc/gcc_git.bb | 5 + .../recipes-Development/gdb/gdb-extraconf.inc | 0 meta-tizen/recipes-Development/gdb/gdb.inc | 69 ++ meta-tizen/recipes-Development/gdb/gdb_git.bb | 5 + .../gstreamer/gstreamer-extraconf.inc | 0 .../recipes-Development/gstreamer/gstreamer.inc | 101 +++ .../recipes-Development/gstreamer/gstreamer_git.bb | 5 + .../recipes-Development/less/less-extraconf.inc | 0 meta-tizen/recipes-Development/less/less.inc | 36 + meta-tizen/recipes-Development/less/less_git.bb | 5 + .../libtool/libtool-extraconf.inc | 0 meta-tizen/recipes-Development/libtool/libtool.inc | 56 ++ .../recipes-Development/libtool/libtool_git.bb | 5 + .../recipes-Development/make/make-extraconf.inc | 0 meta-tizen/recipes-Development/make/make.inc | 32 + meta-tizen/recipes-Development/make/make_git.bb | 5 + .../recipes-Development/nano/nano-extraconf.inc | 0 meta-tizen/recipes-Development/nano/nano.inc | 45 ++ meta-tizen/recipes-Development/nano/nano_git.bb | 5 + .../recipes-Development/nasm/nasm-extraconf.inc | 0 meta-tizen/recipes-Development/nasm/nasm.inc | 43 ++ meta-tizen/recipes-Development/nasm/nasm_git.bb | 5 + .../pacrunner/pacrunner-extraconf.inc | 0 .../recipes-Development/pacrunner/pacrunner.inc | 48 ++ .../recipes-Development/pacrunner/pacrunner_git.bb | 5 + .../recipes-Development/patch/patch-extraconf.inc | 0 meta-tizen/recipes-Development/patch/patch.inc | 30 + meta-tizen/recipes-Development/patch/patch_git.bb | 5 + .../powertop/powertop-extraconf.inc | 0 .../recipes-Development/powertop/powertop.inc | 48 ++ .../recipes-Development/powertop/powertop_git.bb | 5 + .../pulseaudio/pulseaudio-extraconf.inc | 0 .../recipes-Development/pulseaudio/pulseaudio.inc | 218 ++++++ .../pulseaudio/pulseaudio_git.bb | 5 + .../strace/strace-extraconf.inc | 0 meta-tizen/recipes-Development/strace/strace.inc | 35 + .../recipes-Development/strace/strace_git.bb | 5 + .../recipes-Development/tcl/tcl-extraconf.inc | 0 meta-tizen/recipes-Development/tcl/tcl.inc | 30 + meta-tizen/recipes-Development/tcl/tcl_git.bb | 5 + .../recipes-Development/unzip/unzip-extraconf.inc | 0 meta-tizen/recipes-Development/unzip/unzip.inc | 30 + meta-tizen/recipes-Development/unzip/unzip_git.bb | 5 + .../recipes-Development/vim/vim-extraconf.inc | 0 meta-tizen/recipes-Development/vim/vim.inc | 77 ++ meta-tizen/recipes-Development/vim/vim_git.bb | 5 + .../recipes-Development/wdiff/wdiff-extraconf.inc | 0 meta-tizen/recipes-Development/wdiff/wdiff.inc | 45 ++ meta-tizen/recipes-Development/wdiff/wdiff_git.bb | 5 + meta-tizen/recipes-Development/xz/xz-extraconf.inc | 0 meta-tizen/recipes-Development/xz/xz.inc | 73 ++ meta-tizen/recipes-Development/xz/xz_git.bb | 5 + .../recipes-Development/yasm/yasm-extraconf.inc | 0 meta-tizen/recipes-Development/yasm/yasm.inc | 33 + meta-tizen/recipes-Development/yasm/yasm_git.bb | 5 + .../recipes-Development/zip/zip-extraconf.inc | 0 meta-tizen/recipes-Development/zip/zip.inc | 30 + meta-tizen/recipes-Development/zip/zip_git.bb | 5 + .../recipes-DevelopmentExtra/acl/acl-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/acl/acl.inc | 55 ++ meta-tizen/recipes-DevelopmentExtra/acl/acl_git.bb | 5 + .../attr/attr-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/attr/attr.inc | 70 ++ .../recipes-DevelopmentExtra/attr/attr_git.bb | 5 + .../recipes-DevelopmentExtra/bc/bc-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/bc/bc.inc | 33 + meta-tizen/recipes-DevelopmentExtra/bc/bc.inc~ | 33 + meta-tizen/recipes-DevelopmentExtra/bc/bc_git.bb | 5 + .../bzip2/bzip2-extraconf.inc | 0 .../bzip2/bzip2-extraconf.inc~ | 1 + .../recipes-DevelopmentExtra/bzip2/bzip2.inc | 56 ++ .../recipes-DevelopmentExtra/bzip2/bzip2_git.bb | 5 + .../recipes-DevelopmentExtra/db4/db4-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/db4/db4.inc | 67 ++ meta-tizen/recipes-DevelopmentExtra/db4/db4_git.bb | 5 + .../dbus/dbus-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc | 76 ++ .../recipes-DevelopmentExtra/dbus/dbus_git.bb | 5 + .../doxygen/doxygen-extraconf.inc | 0 .../recipes-DevelopmentExtra/doxygen/doxygen.inc | 49 ++ .../doxygen/doxygen_git.bb | 5 + .../elfutils/elfutils-extraconf.inc | 0 .../recipes-DevelopmentExtra/elfutils/elfutils.inc | 129 ++++ .../elfutils/elfutils_git.bb | 5 + .../expat/expat-extraconf.inc | 0 .../recipes-DevelopmentExtra/expat/expat.inc | 59 ++ .../recipes-DevelopmentExtra/expat/expat.inc~ | 27 + .../recipes-DevelopmentExtra/expat/expat_git.bb | 5 + .../fdupes/fdupes-extraconf.inc | 1 + .../fdupes/fdupes-extraconf.inc~ | 0 .../recipes-DevelopmentExtra/fdupes/fdupes.inc | 30 + .../recipes-DevelopmentExtra/fdupes/fdupes_git.bb | 5 + .../file/file-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/file/file.inc | 72 ++ .../recipes-DevelopmentExtra/file/file_git.bb | 5 + .../gcc47/gcc47-extraconf.inc | 2 + .../gcc47/gcc47-extraconf.inc~ | 1 + .../recipes-DevelopmentExtra/gcc47/gcc47.inc | 669 +++++++++++++++++ .../recipes-DevelopmentExtra/gcc47/gcc47_git.bb | 5 + .../gettext/gettext-extraconf.inc | 1 + .../gettext/gettext-extraconf.inc~ | 0 .../recipes-DevelopmentExtra/gettext/gettext.inc | 59 ++ .../recipes-DevelopmentExtra/gettext/gettext.inc~ | 30 + .../gettext/gettext_git.bb | 5 + .../glib2/glib2-extraconf.inc | 0 .../recipes-DevelopmentExtra/glib2/glib2.inc | 61 ++ .../recipes-DevelopmentExtra/glib2/glib2_git.bb | 5 + .../help2man/help2man-extraconf.inc | 0 .../recipes-DevelopmentExtra/help2man/help2man.inc | 37 + .../help2man/help2man_git.bb | 5 + .../hwdata/hwdata-extraconf.inc | 0 .../recipes-DevelopmentExtra/hwdata/hwdata.inc | 32 + .../recipes-DevelopmentExtra/hwdata/hwdata_git.bb | 5 + .../iso-codes/iso-codes-extraconf.inc | 0 .../iso-codes/iso-codes.inc | 46 ++ .../iso-codes/iso-codes_git.bb | 5 + .../libcap/libcap-extraconf.inc | 0 .../recipes-DevelopmentExtra/libcap/libcap.inc | 55 ++ .../recipes-DevelopmentExtra/libcap/libcap_git.bb | 5 + .../libgcrypt/libgcrypt-extraconf.inc | 0 .../libgcrypt/libgcrypt.inc | 50 ++ .../libgcrypt/libgcrypt_git.bb | 5 + .../libgpg-error/libgpg-error-extraconf.inc | 0 .../libgpg-error/libgpg-error.inc | 58 ++ .../libgpg-error/libgpg-error_git.bb | 5 + .../libxml2/libxml2-extraconf.inc | 0 .../recipes-DevelopmentExtra/libxml2/libxml2.inc | 74 ++ .../libxml2/libxml2_git.bb | 5 + .../libzio/libzio-extraconf.inc | 0 .../libzio/libzio-extraconf.inc~ | 2 + .../recipes-DevelopmentExtra/libzio/libzio.inc | 48 ++ .../recipes-DevelopmentExtra/libzio/libzio_git.bb | 5 + .../linux-glibc-devel-extraconf.inc | 1 + .../linux-glibc-devel-extraconf.inc~ | 0 .../linux-glibc-devel/linux-glibc-devel.inc | 38 + .../linux-glibc-devel/linux-glibc-devel.inc~ | 30 + .../linux-glibc-devel/linux-glibc-devel_git.bb | 5 + .../recipes-DevelopmentExtra/lua/lua-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/lua/lua.inc | 62 ++ meta-tizen/recipes-DevelopmentExtra/lua/lua_git.bb | 5 + .../ncurses/ncurses-extraconf.inc | 1 + .../ncurses/ncurses-extraconf.inc~ | 0 .../recipes-DevelopmentExtra/ncurses/ncurses.inc | 103 +++ .../recipes-DevelopmentExtra/ncurses/ncurses.inc~ | 102 +++ .../ncurses/ncurses_git.bb | 5 + .../recipes-DevelopmentExtra/nss/nss-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/nss/nss.inc | 103 +++ meta-tizen/recipes-DevelopmentExtra/nss/nss_git.bb | 5 + .../openssl/openssl-extraconf.inc | 0 .../recipes-DevelopmentExtra/openssl/openssl.inc | 42 ++ .../openssl/openssl_git.bb | 5 + .../perl-gettext/perl-gettext-extraconf.inc | 0 .../perl-gettext/perl-gettext.inc | 38 + .../perl-gettext/perl-gettext_git.bb | 5 + .../perl/perl-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/perl/perl.inc | 117 +++ .../recipes-DevelopmentExtra/perl/perl_git.bb | 5 + .../pkg-config/pkg-config-extraconf.inc | 0 .../pkg-config/pkg-config.inc | 35 + .../pkg-config/pkg-config_git.bb | 5 + .../smack/smack-extraconf.inc | 1 + .../smack/smack-extraconf.inc~ | 0 .../recipes-DevelopmentExtra/smack/smack.inc | 59 ++ .../recipes-DevelopmentExtra/smack/smack_git.bb | 5 + .../texinfo/texinfo-extraconf.inc | 0 .../texinfo/texinfo-extraconf.inc~ | 1 + .../recipes-DevelopmentExtra/texinfo/texinfo.inc | 63 ++ .../recipes-DevelopmentExtra/texinfo/texinfo.inc~ | 63 ++ .../texinfo/texinfo_git.bb | 5 + .../texinfo/texinfo_git.bb~ | 5 + .../uthash/uthash-extraconf.inc | 0 .../recipes-DevelopmentExtra/uthash/uthash.inc | 34 + .../recipes-DevelopmentExtra/uthash/uthash_git.bb | 5 + .../zlib/zlib-extraconf.inc | 0 meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc | 88 +++ .../recipes-DevelopmentExtra/zlib/zlib_git.bb | 5 + 421 files changed, 24155 insertions(+) create mode 100755 Tizen_TZ_package/create-package-initial.py create mode 100755 Tizen_TZ_package/gitCloneAll.sh create mode 100644 Tizen_TZ_package/make_project create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/acl.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/attr.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bash.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bzip2.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ca-certificates-mozilla.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/connman.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/coreutils.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/curl.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/db4.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/dbus.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/doxygen.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/e2fsprogs.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/elfutils.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/expat.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/fdupes.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/file.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/filesystem.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gdbm.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gettext.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glib2.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glibc.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/help2man.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/hwdata.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/iso-codes.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kbd.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kmod.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap-ng.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgcrypt.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgpg-error.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libxml2.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libzio.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/lua.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ncurses.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/net-tools.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nspr.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nss.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/openssl.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pam.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pciutils.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl-gettext.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pkg-config.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/procps.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/psmisc.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pwdutils.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/readline.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/rpm.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/setup.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/smack.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/systemd.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/texinfo.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/tizen-release.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/tzdata.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/uthash.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/util-linux.spec create mode 100644 Tizen_TZ_package/recipes-BaseSystem/specfile-initial/zlib.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/alsa-utils.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/autoconf.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/automake.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/binutils.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/bison.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/chrpath.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/cmake.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/diffutils.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/findutils.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/flex.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/gcc.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/gdb.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/gstreamer.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/less.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/libtool.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/make.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/nano.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/nasm.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/pacrunner.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/patch.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/powertop.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/pulseaudio.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/strace.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/tcl.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/unzip.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/vim.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/wdiff.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/xz.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/yasm.spec create mode 100644 Tizen_TZ_package/recipes-Development/specfile-initial/zip.spec create mode 100644 meta-tizen/classes/specParserUtils.bbclass create mode 100644 meta-tizen/classes/specParserUtils.bbclass~ create mode 100644 meta-tizen/conf/bblayers.conf.sample create mode 100644 meta-tizen/conf/distro/include/tclibc-glibc.inc create mode 100644 meta-tizen/conf/distro/include/tclibc-glibc.inc~ create mode 100644 meta-tizen/conf/distro/include/tcmode-tizen.inc create mode 100644 meta-tizen/conf/distro/include/tizen-as-needed.inc create mode 100644 meta-tizen/conf/distro/include/tizen-distrovars.inc create mode 100644 meta-tizen/conf/distro/include/tizen-distrovars.inc~ create mode 100644 meta-tizen/conf/distro/tizen.conf create mode 100644 meta-tizen/conf/distro/tizen.conf~ create mode 100644 meta-tizen/conf/layer.conf create mode 100644 meta-tizen/conf/layer.conf~ create mode 100644 meta-tizen/conf/local.conf.sample create mode 100644 meta-tizen/recipes-BaseSystem/bash/bash-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/bash/bash.inc create mode 100644 meta-tizen/recipes-BaseSystem/bash/bash_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc create mode 100644 meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/connman/connman-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/connman/connman.inc create mode 100644 meta-tizen/recipes-BaseSystem/connman/connman_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/coreutils/coreutils-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc create mode 100644 meta-tizen/recipes-BaseSystem/coreutils/coreutils_git.bb create mode 100755 meta-tizen/recipes-BaseSystem/create-package-initial/create-package-initial.py create mode 100644 meta-tizen/recipes-BaseSystem/create-package-initial/list_packages~ create mode 100644 meta-tizen/recipes-BaseSystem/curl/curl-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/curl/curl.inc create mode 100644 meta-tizen/recipes-BaseSystem/curl/curl_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc create mode 100644 meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/filesystem/filesystem-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc create mode 100644 meta-tizen/recipes-BaseSystem/filesystem/filesystem_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/gdbm/gdbm-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc create mode 100644 meta-tizen/recipes-BaseSystem/gdbm/gdbm_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc-initial.inc create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc-initial_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc.inc create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb~ create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/32and64bit.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/README create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endian-ness_handling.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endianess-header.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/flag_fix.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig-native-2.12.1.tar.bz2 create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch create mode 100644 meta-tizen/recipes-BaseSystem/glibc/ldconfig-native_2.12.1.bb create mode 100644 meta-tizen/recipes-BaseSystem/images/tizen-core-image-minimal.bb create mode 100644 meta-tizen/recipes-BaseSystem/kbd/kbd-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/kbd/kbd.inc create mode 100644 meta-tizen/recipes-BaseSystem/kbd/kbd_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/kmod/kmod-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/kmod/kmod.inc create mode 100644 meta-tizen/recipes-BaseSystem/kmod/kmod.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/kmod/kmod_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc create mode 100644 meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/net-tools/net-tools-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc create mode 100644 meta-tizen/recipes-BaseSystem/net-tools/net-tools_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/nspr/nspr-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/nspr/nspr.inc create mode 100644 meta-tizen/recipes-BaseSystem/nspr/nspr_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb create mode 100644 meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb~ create mode 100644 meta-tizen/recipes-BaseSystem/pam/pam-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/pam/pam.inc create mode 100644 meta-tizen/recipes-BaseSystem/pam/pam_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/pciutils/pciutils-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc create mode 100644 meta-tizen/recipes-BaseSystem/pciutils/pciutils_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/procps/procps-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/procps/procps.inc create mode 100644 meta-tizen/recipes-BaseSystem/procps/procps_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/psmisc/psmisc-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc create mode 100644 meta-tizen/recipes-BaseSystem/psmisc/psmisc_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc create mode 100644 meta-tizen/recipes-BaseSystem/pwdutils/pwdutils_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/readline/readline-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/readline/readline.inc create mode 100644 meta-tizen/recipes-BaseSystem/readline/readline_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/rpm/rpm-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/rpm/rpm.inc create mode 100644 meta-tizen/recipes-BaseSystem/rpm/rpm.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/rpm/rpm_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/setup/setup-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/setup/setup.inc create mode 100644 meta-tizen/recipes-BaseSystem/setup/setup_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd.inc create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc create mode 100644 meta-tizen/recipes-BaseSystem/tizen-release/tizen-release_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc create mode 100644 meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/tzdata/tzdata-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc create mode 100644 meta-tizen/recipes-BaseSystem/tzdata/tzdata_git.bb create mode 100644 meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc create mode 100644 meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc~ create mode 100644 meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc create mode 100644 meta-tizen/recipes-BaseSystem/util-linux/util-linux_git.bb create mode 100644 meta-tizen/recipes-Development/alsa-utils/alsa-utils-extraconf.inc create mode 100644 meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc create mode 100644 meta-tizen/recipes-Development/alsa-utils/alsa-utils_git.bb create mode 100644 meta-tizen/recipes-Development/autoconf/autoconf-extraconf.inc create mode 100644 meta-tizen/recipes-Development/autoconf/autoconf.inc create mode 100644 meta-tizen/recipes-Development/autoconf/autoconf_git.bb create mode 100644 meta-tizen/recipes-Development/automake/automake-extraconf.inc create mode 100644 meta-tizen/recipes-Development/automake/automake.inc create mode 100644 meta-tizen/recipes-Development/automake/automake_git.bb create mode 100644 meta-tizen/recipes-Development/binutils/binutils-extraconf.inc create mode 100644 meta-tizen/recipes-Development/binutils/binutils.inc create mode 100644 meta-tizen/recipes-Development/binutils/binutils_git.bb create mode 100644 meta-tizen/recipes-Development/bison/bison-extraconf.inc create mode 100644 meta-tizen/recipes-Development/bison/bison.inc create mode 100644 meta-tizen/recipes-Development/bison/bison_git.bb create mode 100644 meta-tizen/recipes-Development/chrpath/chrpath-extraconf.inc create mode 100644 meta-tizen/recipes-Development/chrpath/chrpath.inc create mode 100644 meta-tizen/recipes-Development/chrpath/chrpath_git.bb create mode 100644 meta-tizen/recipes-Development/cmake/cmake-extraconf.inc create mode 100644 meta-tizen/recipes-Development/cmake/cmake.inc create mode 100644 meta-tizen/recipes-Development/cmake/cmake_git.bb create mode 100644 meta-tizen/recipes-Development/diffutils/diffutils-extraconf.inc create mode 100644 meta-tizen/recipes-Development/diffutils/diffutils.inc create mode 100644 meta-tizen/recipes-Development/diffutils/diffutils_git.bb create mode 100644 meta-tizen/recipes-Development/findutils/findutils-extraconf.inc create mode 100644 meta-tizen/recipes-Development/findutils/findutils.inc create mode 100644 meta-tizen/recipes-Development/findutils/findutils_git.bb create mode 100644 meta-tizen/recipes-Development/flex/flex-extraconf.inc create mode 100644 meta-tizen/recipes-Development/flex/flex.inc create mode 100644 meta-tizen/recipes-Development/flex/flex.inc~ create mode 100644 meta-tizen/recipes-Development/flex/flex_git.bb create mode 100644 meta-tizen/recipes-Development/gcc/gcc-extraconf.inc create mode 100644 meta-tizen/recipes-Development/gcc/gcc.inc create mode 100644 meta-tizen/recipes-Development/gcc/gcc_git.bb create mode 100644 meta-tizen/recipes-Development/gdb/gdb-extraconf.inc create mode 100644 meta-tizen/recipes-Development/gdb/gdb.inc create mode 100644 meta-tizen/recipes-Development/gdb/gdb_git.bb create mode 100644 meta-tizen/recipes-Development/gstreamer/gstreamer-extraconf.inc create mode 100644 meta-tizen/recipes-Development/gstreamer/gstreamer.inc create mode 100644 meta-tizen/recipes-Development/gstreamer/gstreamer_git.bb create mode 100644 meta-tizen/recipes-Development/less/less-extraconf.inc create mode 100644 meta-tizen/recipes-Development/less/less.inc create mode 100644 meta-tizen/recipes-Development/less/less_git.bb create mode 100644 meta-tizen/recipes-Development/libtool/libtool-extraconf.inc create mode 100644 meta-tizen/recipes-Development/libtool/libtool.inc create mode 100644 meta-tizen/recipes-Development/libtool/libtool_git.bb create mode 100644 meta-tizen/recipes-Development/make/make-extraconf.inc create mode 100644 meta-tizen/recipes-Development/make/make.inc create mode 100644 meta-tizen/recipes-Development/make/make_git.bb create mode 100644 meta-tizen/recipes-Development/nano/nano-extraconf.inc create mode 100644 meta-tizen/recipes-Development/nano/nano.inc create mode 100644 meta-tizen/recipes-Development/nano/nano_git.bb create mode 100644 meta-tizen/recipes-Development/nasm/nasm-extraconf.inc create mode 100644 meta-tizen/recipes-Development/nasm/nasm.inc create mode 100644 meta-tizen/recipes-Development/nasm/nasm_git.bb create mode 100644 meta-tizen/recipes-Development/pacrunner/pacrunner-extraconf.inc create mode 100644 meta-tizen/recipes-Development/pacrunner/pacrunner.inc create mode 100644 meta-tizen/recipes-Development/pacrunner/pacrunner_git.bb create mode 100644 meta-tizen/recipes-Development/patch/patch-extraconf.inc create mode 100644 meta-tizen/recipes-Development/patch/patch.inc create mode 100644 meta-tizen/recipes-Development/patch/patch_git.bb create mode 100644 meta-tizen/recipes-Development/powertop/powertop-extraconf.inc create mode 100644 meta-tizen/recipes-Development/powertop/powertop.inc create mode 100644 meta-tizen/recipes-Development/powertop/powertop_git.bb create mode 100644 meta-tizen/recipes-Development/pulseaudio/pulseaudio-extraconf.inc create mode 100644 meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc create mode 100644 meta-tizen/recipes-Development/pulseaudio/pulseaudio_git.bb create mode 100644 meta-tizen/recipes-Development/strace/strace-extraconf.inc create mode 100644 meta-tizen/recipes-Development/strace/strace.inc create mode 100644 meta-tizen/recipes-Development/strace/strace_git.bb create mode 100644 meta-tizen/recipes-Development/tcl/tcl-extraconf.inc create mode 100644 meta-tizen/recipes-Development/tcl/tcl.inc create mode 100644 meta-tizen/recipes-Development/tcl/tcl_git.bb create mode 100644 meta-tizen/recipes-Development/unzip/unzip-extraconf.inc create mode 100644 meta-tizen/recipes-Development/unzip/unzip.inc create mode 100644 meta-tizen/recipes-Development/unzip/unzip_git.bb create mode 100644 meta-tizen/recipes-Development/vim/vim-extraconf.inc create mode 100644 meta-tizen/recipes-Development/vim/vim.inc create mode 100644 meta-tizen/recipes-Development/vim/vim_git.bb create mode 100644 meta-tizen/recipes-Development/wdiff/wdiff-extraconf.inc create mode 100644 meta-tizen/recipes-Development/wdiff/wdiff.inc create mode 100644 meta-tizen/recipes-Development/wdiff/wdiff_git.bb create mode 100644 meta-tizen/recipes-Development/xz/xz-extraconf.inc create mode 100644 meta-tizen/recipes-Development/xz/xz.inc create mode 100644 meta-tizen/recipes-Development/xz/xz_git.bb create mode 100644 meta-tizen/recipes-Development/yasm/yasm-extraconf.inc create mode 100644 meta-tizen/recipes-Development/yasm/yasm.inc create mode 100644 meta-tizen/recipes-Development/yasm/yasm_git.bb create mode 100644 meta-tizen/recipes-Development/zip/zip-extraconf.inc create mode 100644 meta-tizen/recipes-Development/zip/zip.inc create mode 100644 meta-tizen/recipes-Development/zip/zip_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/acl/acl-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/acl/acl.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/acl/acl_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/attr/attr-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/attr/attr.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/attr/attr_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/bc/bc-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bc/bc.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bc/bc.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/bc/bc_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/db4/db4-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/db4/db4.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/db4/db4_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/dbus/dbus-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/dbus/dbus_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/expat/expat-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/expat/expat.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/expat/expat.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/expat/expat_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/file/file-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/file/file.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/file/file_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/glib2/glib2-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/glib2/glib2_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/help2man/help2man-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/help2man/help2man_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/libcap/libcap-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libcap/libcap_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libzio/libzio_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/lua/lua-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/lua/lua.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/lua/lua_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/nss/nss-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/nss/nss.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/nss/nss_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/openssl/openssl-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/openssl/openssl_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl/perl-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl/perl.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl/perl_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/smack/smack.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/smack/smack_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb~ create mode 100644 meta-tizen/recipes-DevelopmentExtra/uthash/uthash-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/uthash/uthash_git.bb create mode 100644 meta-tizen/recipes-DevelopmentExtra/zlib/zlib-extraconf.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/zlib/zlib_git.bb diff --git a/Tizen_TZ_package/create-package-initial.py b/Tizen_TZ_package/create-package-initial.py new file mode 100755 index 0000000..b642af9 --- /dev/null +++ b/Tizen_TZ_package/create-package-initial.py @@ -0,0 +1,656 @@ +#!/usr/bin/python + +# +# Copyright 2013, Intel 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; version 2 of the License. +# +# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +''' +Created on 05 fevr. 2013 + +@author: ronan@fridu.net +''' + +import sys +import os + +import subprocess +import shlex + +import re + +__introduction_section = "introduction_section" +__package = "%package" +__description = "%description" +__prepFlag = "%prep" +__buildFlag = "%build" +__installFlag = "%install" +__cleanFlag = "%clean" +__filesFlag = "%files" +__checkFlag = "%check" +__postFlag = "%post" +__preunFlag = "%preun" +__postunFlag = "%postun" +__verifyscriptFlag = "%verifyscript" +__listSection = [__package, + __description, + __prepFlag, + __buildFlag, + __installFlag, + __cleanFlag, + __filesFlag, + __checkFlag, + __postFlag, + __preunFlag, + __postunFlag, + __verifyscriptFlag] + +def parseParsedSpecFile(parsedSpecFile): + def testSection(line): + for sect in __listSection: + if line.startswith(sect): + return True + return False + #ordered dico is not provide yet... + orderList = [] + spectDico = {} + + currentSection = __introduction_section + spectDico[currentSection] = [] + orderList.append(currentSection) + + for line in parsedSpecFile.split("\n"): + if testSection(line) : + if line in spectDico.keys(): + raise "ERROR this section \"%s\" is not unique." % line + currentSection = line + spectDico[currentSection] = [] + orderList.append(currentSection) + + spectDico[currentSection].append(line) + + return spectDico,orderList + +def listPackage(specfile_dir,package_config): + res=[] + with open(package_config,"r") as f: + for line in f: + package_name,package_git_command, package_spec_initial= line.split() + + package_spec_path=os.path.join(specfile_dir,package_spec_initial) + if os.path.isfile(package_spec_path): + res.append((package_name,package_git_command,package_spec_path)) + else: + print "package_spec_path :",package_spec_path," not exist" + return res + +def findPatch(package_spec_path): + patternPatch = r'(Patch.*):' + res=[] + with open(package_spec_path) as f: + specFile=f.read() + + resTMP =re.findall(patternPatch, specFile) + for r in resTMP: + res.append(r.replace("Patch","patch")) + + return res + + +def convertSpecFile(package_spec_path,cpu="x86_64"): + command="rpmspec --parse %s" % package_spec_path + command += " --define='setup #setup'" + command += " --define='buildroot ${D}'" + command += " --define='_target_cpu %s'" % cpu + + patchs=findPatch(package_spec_path) + + for p in patchs: + command += " --define='%s #%s'" % (p,p) + + splittedCommand=shlex.split(command) + p = subprocess.Popen(splittedCommand, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + res = p.poll() + parsedSpecFile= p.stdout.read() + + return parsedSpecFile + +def getName(lines): + patternDescription = r'^Name:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getDescription(lines): + patternDescription = r'^Summary:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getHomepage(lines): + patternDescription = r'^Url:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getSection(lines): + patternDescription = r'^Group:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getPriority(lines): + return "" + +def getLicense(lines): + patternDescription = r'^License:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +#def getProvides(spectDico): +# __package = "%package" +# res=[] +# baseName=getName( spectDico[__introduction_section] ) +# res.append( baseName ) +# +# patternPackage = r'^%package\s*(.*)' +# +# for k in spectDico.keys(): +# package= re.findall(patternPackage, k) +# if len(package)>0: +# if "-n" in package[0]: +# packageName=package[0].replace("-n","").replace(" ","") +# else: +# packageName=baseName+"-"+package[0] +# +# res.append( packageName ) +# +# if len(package)>0 or (k == __introduction_section): +# +# providesPackage = r'^Provides:\s*(.*)' +# buildPkgconfig = r'pkgconfig\((.*)\).*' +# +# for line in spectDico[k]: +# +# provides= re.findall(providesPackage, line) +# +# for r in provides: +# tmp=r +# provides_list= re.findall(buildPkgconfig, r) +# +# if len(provides_list)>0: +# tmp=provides_list[0] +# elif ">" in r: +# tmp=r.split(">")[0] +# elif "<" in r: +# tmp=r.split("<")[0] +# +# +# res.append(tmp) +# +# +# return res + +def getPackages(spectDico): + res={} + baseName=getName( spectDico[__introduction_section] ) + + patternPackage = r'^%files\s*(.*)' + extraCommand=None + for k in spectDico.keys(): + if k.startswith("%files"): + #Need to get info of the first line. + tmpPackageName=k + if "-f" in tmpPackageName: + tmpSplit=tmpPackageName.split("-f") + tmpPackageName=tmpSplit[0] + extraCommand=tmpSplit[1] + + package= re.findall(patternPackage, tmpPackageName) + if len(package)>0: + if "-n" in package[0]: + packageName=package[0].replace("-n","") + else: + packageName=baseName+"-"+package[0] + else: + packageName=baseName + + packageName=packageName.replace(" ","") + res[ packageName ]=[] + + for line in spectDico[k][1:]: + if not line.startswith("%"): + res[ packageName ].append(line) + else: + pass + #replace macro + + return res + +def cleanPackageName(baseName,packageName): + if "-n" in packageName: + packageName=packageName.replace("-n","").replace(" ","") + else: + packageName=baseName+"-"+packageName + + return packageName + +def getProvides(spectDico): + __package = "%package" + res={} + baseName=getName( spectDico[__introduction_section] ) + + res[baseName]=[] + res[baseName].append( [baseName] ) + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + + if len(package)>0: + packageName= cleanPackageName(baseName,package[0]) + + res[ packageName ]=[] + res[ packageName ].append( [packageName] ) + + if len(package)>0 or (k == __introduction_section): + + providesPackage = r'^Provides:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in spectDico[k]: + + provides= re.findall(providesPackage, line) + + for r in provides: + for tmpClean in cleanPackageLine(r): + if k == __introduction_section: + res[baseName].append(tmpClean) + else: + res[packageName].append(tmpClean) + + return res + +def cleanPackageLine(packageLine): + buildPkgconfig = r'pkgconfig\((.*)\).*' + + res=[] + for tmp in packageLine.split(","): + tmp=tmp.replace(" ","") + buildRequires= re.findall(buildPkgconfig, tmp) + + if len(buildRequires)>0: + tmp=buildRequires[0] + + p=[] + tmpRes=None + + if ">=" in tmp: + tmpsplit=tmp.split(">=") + tmpRes=[tmpsplit[0],">=",tmpsplit[1]] + + elif "<=" in tmp: + tmpsplit=tmp.split("<=") + tmpRes=[tmpsplit[0],"<=",tmpsplit[1]] + + elif ">" in tmp: + tmpsplit=tmp.split(">") + tmpRes=[tmpsplit[0],">",tmpsplit[1]] + + elif "<" in tmp: + tmpsplit=tmp.split("<") + tmpRes=[tmpsplit[0],"<",tmpsplit[1]] + + elif "=" in tmp: + tmpsplit=tmp.split("=") + tmpRes=[tmpsplit[0],"=",tmpsplit[1]] + + if tmpRes is not None: + res.append(tmpRes) + elif len(tmp)>0: + p=[] + p.append(tmp) + res.append(p) + return res + +def getBuildRequires(lines): + res=[] + buildRequiresPackage = r'^BuildRequires:\s*(.*)' + + for line in lines: + buildRequires= re.findall(buildRequiresPackage, line) + for r in buildRequires: + for tmpClean in cleanPackageLine(r): + if len(tmpClean)>=1: + if tmpClean[0] == "gcc-c++": + tmpClean[0]="gcc" + res.append(tmpClean) + + return res + +def getRequires(lines): + res=[] + buildRequiresPackage = r'^Requires:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in lines: + buildRequires= re.findall(buildRequiresPackage, line) + for r in buildRequires: + for tmpClean in cleanPackageLine(r): + if len(tmpClean)>=1: + res.append(tmpClean) + + return res + +#def getRProvides(spectDico): +# res=[] +# +# return res + +def getDepends(spectDico): + res={} + + patternPackage = r'^%package\s*(.*)' + + baseName=getName( spectDico[__introduction_section] ) + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0: + packageName= cleanPackageName(baseName,package[0]) + + if len(package)>0 or (k == __introduction_section): + buildRequiresList=getBuildRequires(spectDico[k]) + if (k == __introduction_section): + res[baseName]=buildRequiresList + else: + res[packageName]=buildRequiresList + + return res + +def getRDepends(spectDico): + res={} + + patternPackage = r'^%package\s*(.*)' + + baseName=getName( spectDico[__introduction_section] ) + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0: + packageName= cleanPackageName(baseName,package[0]) + + if len(package)>0 or (k == __introduction_section): + requiresList=getRequires(spectDico[k]) + if (k == __introduction_section): + + res[baseName]=requiresList + else: + res[packageName]=requiresList + return res + +def getPrepSection(spectDico): + res="" + for line in spectDico[__prepFlag][1:]: + if ("mkdir" in line) and (not "-p" in line): + line=line.replace("mkdir","mkdir -p") + res+=line+"\n" + return res + +def getBuildSection(spectDico): + res="" + for line in spectDico[__buildFlag][1:]: + if ("mkdir" in line) and (not "-p" in line): + line=line.replace("mkdir","mkdir -p") + res+=line+"\n" + return res + +def getInstallSection(spectDico): + res="" + for line in spectDico[__installFlag][1:]: + if ("mkdir" in line) and (not "-p" in line): + line=line.replace("mkdir","mkdir -p") + res+=line+"\n" + return res + +def createRecipes(package_name, + package_git_command, + package_spec_path, + spectDico, + orderList, + recipesDir): + + if not os.path.isdir(recipesDir): + os.mkdir(recipesDir) + + packageRecipesDir=os.path.join(recipesDir,package_name) + + if not os.path.isdir(packageRecipesDir): + os.mkdir(packageRecipesDir) + + DESCRIPTION = getDescription( spectDico[__introduction_section] ) + HOMEPAGE = getHomepage( spectDico[__introduction_section] ) + SECTION = getSection( spectDico[__introduction_section] ) + PRIORITY = getPriority( spectDico[__introduction_section] ) + LICENSE = getLicense( spectDico[__introduction_section] ) + + packagesDico=getPackages(spectDico) + + providesDico=getProvides(spectDico) +# rprovidesList=getProvides(spectDico) + + dependsDico=getDepends(spectDico) + rdependsDico=getRDepends(spectDico) + + baseFile=package_name+".inc" + exctraConfFile=package_name+"-extraconf.inc" + gitFile=package_name+"_git.bb" + + #Just touch a file + open(os.path.join(packageRecipesDir,exctraConfFile), "a").close() + + with open(os.path.join(packageRecipesDir,baseFile),"w" ) as f: + f.write("DESCRIPTION = \"%s\"\n" % DESCRIPTION) + f.write("HOMEPAGE = \"%s\"\n" % HOMEPAGE) + f.write("SECTION = \"%s\"\n" % SECTION) + f.write("PRIORITY = \"%s\"\n" % PRIORITY) + f.write("LICENSE = \"%s\"\n" % LICENSE) + f.write("\n" ) + + f.write("PROVIDES = \"\"\n" ) + for kp in providesDico.keys(): + if len(providesDico[kp]) > 0: + f.write("#PROVIDES by %s \n" % kp) + for p in providesDico[kp]: + if len(p)==1: + f.write("PROVIDES += \"%s\"\n" % (p[0])) + f.write("RPROVIDES_%s += \"%s\"\n" % (kp,p[0])) + else: + f.write("# the PROVIDES rules is ignore \"%s %s %s\"\n" % (p[0],p[1],p[2])) + f.write("PROVIDES += \"%s\"\n" % (p[0])) + f.write("RPROVIDES_%s += \"%s\"\n" % (kp,p[0])) + if len(providesDico[kp]) > 0: + f.write("\n") + f.write("\n" ) + +# f.write("RPROVIDES = \"\"\n" ) +# for p in rprovidesList: +# f.write("RPROVIDES += \"%s\"\n" % p) +# f.write("\n" ) + + f.write("DEPENDS = \"\"\n" ) + for kp in dependsDico.keys(): + if len(dependsDico[kp]) > 0: + f.write("#DEPENDS of %s \n" % kp) + + for p in dependsDico[kp]: + pp=p[0].replace("-devel-static","") + pp=pp.replace("-devel","") + if len(p)==1: + f.write("DEPENDS += \"%s\"\n" % pp) + else: + f.write("# the DEPENDS rules is ignore \"%s %s %s\"\n" % (pp,p[1],p[2])) + f.write("DEPENDS += \"%s\"\n" % pp) + if len(dependsDico[kp]) > 0: + f.write("\n") + f.write("\n" ) + + f.write("RDEPENDS = \"\"\n" ) + for kp in rdependsDico.keys(): + if len(rdependsDico[kp]) > 0: + f.write("#RDEPENDS of %s \n" % kp) + + for p in rdependsDico[kp]: + if len(p)==1: + f.write("RDEPENDS_%s += \"%s\"\n" % (kp,p[0])) + else: + f.write("# the RDEPENDS rules is ignore \"%s %s %s\"\n" % (p[0],p[1],p[2])) + f.write("RDEPENDS_%s += \"%s\"\n" % (kp,p[0])) + + if len(rdependsDico[kp]) > 0: + f.write("\n") + f.write("\n" ) + + f.write("PACKAGES = \"\"\n" ) + for p in packagesDico.keys(): + f.write("PACKAGES += \"%s\"\n" % p) + f.write("\n" ) + + for p in packagesDico.keys(): + f.write("%sfiles = \"%s\"\n" % (p," ".join(packagesDico[p]) ) ) + f.write("\n" ) + + for p in packagesDico.keys(): + f.write("FILES_%s = \"${%sfiles}\"\n" % (p,p) ) + f.write("\n" ) + + f.write("SPECFILES = \"packaging/%s\"\n" % os.path.basename( package_spec_path) ) + f.write("\n" ) + + f.write("BBCLASSEXTEND =+ \"native\"\n" ) + f.write("\n" ) + + f.write("require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc\n\n") + f.write("require "+exctraConfFile+"\n") + + + with open(os.path.join(packageRecipesDir,gitFile),"w" ) as f: + f.write("require %s\n" % baseFile) + f.write("\n" ) + f.write("S = \"${WORKDIR}/git\"\n") + f.write("\n" ) + f.write("SRC_URI = %s\n" % package_git_command) + + +def createPackages(): + recipesSourceDir="/home/ronanguirec/Documents/yocto/Tizen_TZ_package" + + recipesList=["recipes-BaseSystem","recipes-Development","recipes-DevelopmentExtra"] + + for recipeDir in recipesList: + + specFileDir=os.path.join(recipesSourceDir,recipeDir,"specfile-initial") + packageConfig=os.path.join(recipesSourceDir,recipeDir,"package-config-initial") + + recipesDirDest=os.path.join("/home/ronanguirec/Documents/yocto/openembedded-core-gen-tizen/meta-tizen",recipeDir) + + packageList=listPackage(specFileDir, packageConfig) + + for package_name,package_git_command,package_spec_path in packageList: + parsedSpecFile=convertSpecFile(package_spec_path) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + + res=createRecipes(package_name,package_git_command,package_spec_path,spectDico,orderList,recipesDirDest) + +# return 0 + +if __name__ == '__main__': + + listCommand=["compile","createRecipes"] + + if len(sys.argv) <2 : + print "%s take on parameter \"%s\" ." % (sys.argv[0],", ".join(listCommand)) + sys.exit(1) + + command= sys.argv[1] + + if command=="prep": + specPath=sys.argv[2] + parsedSpecFile=convertSpecFile(specPath) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + print getPrepSection(spectDico) + res=0 + + elif command=="compile": + specPath=sys.argv[2] + parsedSpecFile=convertSpecFile(specPath) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + print getBuildSection(spectDico) + res=0 + + elif command=="install": + specPath=sys.argv[2] + parsedSpecFile=convertSpecFile(specPath) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + print getInstallSection(spectDico) + res=0 + + elif command=="createRecipes": + + res=createPackages() + + else: + print command," is not a valid command." + + sys.exit(res) + +# parsedSpecFile= convertSpecFile("connman","","specfile-initial/connman.spec") +# spectDico,orderList=parseParsedSpecFile(parsedSpecFile) +# print spectDico +# +# for k in orderList: +# print +# print "section: ",k +# print "getName( spectDico[__introduction_section] )",getName( spectDico[__introduction_section] ) +# print +# for line in spectDico[k]: +# print line +# + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tizen_TZ_package/gitCloneAll.sh b/Tizen_TZ_package/gitCloneAll.sh new file mode 100755 index 0000000..675522c --- /dev/null +++ b/Tizen_TZ_package/gitCloneAll.sh @@ -0,0 +1,5 @@ +for i in `ls -d recipes-*`; do + cd $i + ./gitCloneAll.sh + cd .. +done diff --git a/Tizen_TZ_package/make_project b/Tizen_TZ_package/make_project new file mode 100644 index 0000000..2415bfd --- /dev/null +++ b/Tizen_TZ_package/make_project @@ -0,0 +1,3 @@ +git clone git://git.openembedded.org/openembedded-core openembedded-core-gen-tizen +cd openembedded-core-gen-tizen +git clone git://git.openembedded.org/bitbake bitbake diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/acl.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/acl.spec new file mode 100644 index 0000000..3bc2199 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/acl.spec @@ -0,0 +1,96 @@ +Name: acl +%define lname libacl +BuildRequires: libattr-devel +Summary: Commands for Manipulating POSIX Access Control Lists +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Filesystems +Version: 2.2.51 +Release: 0 +Source: %name-%version.src.tar.gz +Source2: baselibs.conf +Url: http://download.savannah.gnu.org/releases-noredirect/acl/ + +%description +getfacl and setfacl commands for retrieving and setting POSIX access +control lists. + +%package -n %lname +Summary: A dynamic library for accessing POSIX Access Control Lists +Group: System/Libraries + +%description -n %lname +This package contains the libacl.so dynamic library which contains the +POSIX 1003.1e draft standard 17 functions for manipulating access +control lists. + +%package -n libacl-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Requires: glibc-devel +# the .so file references libattr.so.x, so require libattr-devel +Requires: libattr-devel + +%description -n libacl-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q -n acl-%version + +%build +export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" +export DEBUG=-DNDEBUG +CFLAGS="$RPM_OPT_FLAGS" +%configure \ + --prefix=/ \ + --exec-prefix=/ \ + --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ + --enable-gettext=no \ + --disable-static \ + --with-pic +%{__make} %{?_smp_mflags} + +%install +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 %{buildroot}/%{_libdir}/*.{a,la} + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + + +%docs_package + +%files +%defattr(-,root,root) +%attr(755,root,root) %{_bindir}/chacl +%attr(755,root,root) %{_bindir}/getfacl +%attr(755,root,root) %{_bindir}/setfacl +%dir %attr(755,root,root) /usr/share/doc/packages/acl +%doc %attr(644,root,root) /usr/share/doc/packages/acl/CHANGES.gz +%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING +%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING.LGPL +%doc %attr(644,root,root) /usr/share/doc/packages/acl/PORTING +%doc %attr(644,root,root) /usr/share/doc/packages/acl/README + +%files -n libacl-devel +%defattr(-,root,root) +%dir %attr(755,root,root) %{_includedir}/acl +%attr(644,root,root) %{_includedir}/acl/libacl.h +%attr(644,root,root) %{_includedir}/sys/acl.h +%attr(755,root,root) %{_libdir}/libacl.so + +%files -n %lname +%defattr(755,root,root,755) +%{_libdir}/libacl.so.1* + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/attr.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/attr.spec new file mode 100644 index 0000000..ec650c2 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/attr.spec @@ -0,0 +1,119 @@ +Name: attr +%define lname libattr +Summary: Commands for Manipulating Extended Attributes +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Filesystems +Version: 2.4.46 +Release: 0 +Source: %{name}-%{version}.src.tar.gz +Source1: xattr.conf +Source2: baselibs.conf +Url: http://download.savannah.gnu.org/releases-noredirect/attr/ +BuildRequires: autoconf + +%description +A set of tools for manipulating extended attributes on file system +objects, in particular getfattr(1) and setfattr(1). An attr(1) command +is also provided, which is largely compatible with the SGI IRIX tool of +the same name. + +%package -n %lname +Summary: A dynamic library for filesystem extended attribute support +Group: System/Libraries + +%description -n %lname +This package contains the libattr.so dynamic library, which contains +the extended attribute library functions. + +%package -n libattr-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Provides: attr-devel +Obsoletes: attr-devel +Requires: %lname = %version, glibc-devel + +%description -n libattr-devel +This package contains the libraries and header files needed to develop +programs which make use of extended attributes. For Linux programs, the +documented system call API is the recommended interface, but an SGI +IRIX compatibility interface is also provided. + +%package -n libattr-devel-static +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Provides: libattr-devel:%{_libdir}/libattr.a +Requires: libattr-devel = %version + +%description -n libattr-devel-static +This package contains the static library of libattr which is needed to develop +statically linked programs which make use of extended attributes. + +%prep +%setup -q + +%build +export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" +export DEBUG=-DNDEBUG +autoconf +CFLAGS="$RPM_OPT_FLAGS" \ +%configure \ + --prefix=/ \ + --enable-gettext=no \ + --exec-prefix=/ \ + --sbindir=%_sbindir \ + --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ + --with-pic +%{__make} %{?_smp_mflags} + +%install +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%{_mandir}/man2/*xattr.2* +rm -f $RPM_BUILD_ROOT/%{_libdir}/libattr.la +install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir} +install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir} +chmod 755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.1* + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%docs_package + +%files +%defattr (-,root,root) +%dir %attr(755,root,root) /usr/share/doc/packages/attr +%doc %attr(644,root,root) /usr/share/doc/packages/attr/README +%doc %attr(644,root,root) /usr/share/doc/packages/attr/CHANGES.gz +%doc %attr(644,root,root) /usr/share/doc/packages/attr/COPYING +%doc %attr(644,root,root) /usr/share/doc/packages/attr/PORTING +%attr(755,root,root) %{_bindir}/attr +%attr(755,root,root) %{_bindir}/getfattr +%attr(755,root,root) %{_bindir}/setfattr + +%files -n libattr-devel +%defattr(-,root,root) +%dir %attr(755,root,root) %{_includedir}/attr +%attr(644,root,root) %{_includedir}/attr/attributes.h +%attr(644,root,root) %{_includedir}/attr/error_context.h +%attr(644,root,root) %{_includedir}/attr/libattr.h +%attr(644,root,root) %{_includedir}/attr/xattr.h +%attr(755,root,root) %{_libdir}/libattr.so + +%files -n libattr-devel-static +%defattr(-,root,root) +%{_libdir}/libattr.a + +%files -n %lname +%defattr (-,root,root) +%{_libdir}/libattr.so.1* +%config %{_sysconfdir}/xattr.conf + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bash.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bash.spec new file mode 100644 index 0000000..8a733a2 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bash.spec @@ -0,0 +1,156 @@ +Name: bash +Version: 4.2 +Release: 1 +License: GPL-3.0+ +Summary: The GNU Bourne Again shell +Url: http://www.gnu.org/software/bash +Group: System/Shells +Source0: ftp://ftp.gnu.org/gnu/bash/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: bison +Provides: /bin/bash +Provides: /bin/sh + +%description +The GNU Bourne Again shell (Bash) is a shell or command language +interpreter that is compatible with the Bourne shell (sh). Bash +incorporates useful features from the Korn shell (ksh) and the C shell +(csh). Most sh scripts can be run by bash without modification. + + +%prep +%setup -q + +%build +%configure --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`" +%check +make check + +%install +%make_install + +mkdir -p %{buildroot}/etc + +#mkdir -p %{buildroot}/%{_bindir} +#mv %{buildroot}/bin/* %{buildroot}/%{_bindir}/ + +# 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 %{buildroot}%{_mandir}/man1/builtins.1 + +for i in `cat man.pages` ; do + echo .so man1/builtins.1 > %{buildroot}%{_mandir}/man1/$i.1 + chmod 0644 %{buildroot}%{_mandir}/man1/$i.1 +done +popd + +# Link bash man page to sh so that man sh works. +ln -s bash.1 %{buildroot}%{_mandir}/man1/sh.1 + +# Not for printf, true and false (conflict with coreutils) +rm -f %{buildroot}/%{_mandir}/man1/printf.1 +rm -f %{buildroot}/%{_mandir}/man1/true.1 +rm -f %{buildroot}/%{_mandir}/man1/false.1 + +pushd %{buildroot} +ln -sf bash ./usr/bin/sh +rm -f .%{_infodir}/dir +popd +mkdir -p %{buildroot}%{_sysconfdir}/skel +#install -c -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/skel/.bashrc +#install -c -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/skel/.bash_profile +#install -c -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/skel/.bash_logout +LONG_BIT=$(getconf LONG_BIT) +mv %{buildroot}%{_bindir}/bashbug \ + %{buildroot}%{_bindir}/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 %{buildroot}%{_bindir}/bashbug-* +chmod a-x doc/*.sh + +%docs_package + +%post -p +bashfound = false; +shfound = false; + +f = io.open("/etc/shells", "r"); +if f == nil +then + f = io.open("/etc/shells", "w"); +else + repeat + t = f:read(); + if t == "/bin/bash" + then + bashfound = true; + end + if t == "/bin/sh" + then + shfound = true; + end + until t == nil; +end +f:close() + +f = io.open("/etc/shells", "a"); +if not bashfound +then + f:write("/bin/bash\n") +end +if not shfound +then + f:write("/bin/sh\n") +end +f:close() + +%postun +if [ "$1" = 0 ]; then + /bin/grep -v '^/bin/bash$' < /etc/shells | \ + /bin/grep -v '^/bin/sh$' > /etc/shells.new + /bin/mv /etc/shells.new /etc/shells +fi + + + +%files +%{_bindir}/sh +%{_bindir}/bash + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bzip2.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bzip2.spec new file mode 100644 index 0000000..2eb42ea --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/bzip2.spec @@ -0,0 +1,93 @@ +Name: bzip2 +Version: 1.0.6 +Release: 0 +Provides: bzip +Obsoletes: bzip +BuildRequires: libtool +BuildRequires: pkg-config +Url: http://www.bzip.org/ +Summary: A Program for Compressing Files +License: BSD-3-Clause +Group: Productivity/Archiving/Compression +Source: bzip2-%{version}.tar.gz +Source1: bznew.gz +Source2: bznew.1.gz +Source3: baselibs.conf +Source100: rpmlintrc + +%description +The bzip2 program is a very powerful program for compressing files. + + +%package -n libbz2 +Summary: The bzip2 runtime library +Group: Productivity/Archiving/Compression + +%description -n libbz2 +The bzip2 runtime library + +%package devel +Summary: The bzip2 runtime library development files +Group: Development/Libraries/Other +Requires: libbz2 = %{version} glibc-devel + +%description devel +The bzip2 runtime library development files. + +%prep +%setup -q + +%build +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 +%if %{do_profiling} +export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}" +%endif +%configure --with-pic --disable-static +%if %{do_profiling} +make %{?_smp_mflags} +profile_bzip2 +mkdir .libs.save +mv .libs/*.gcda .libs.save/ +make clean +mv .libs.save .libs +export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}" +%configure --with-pic --disable-static +%endif +make %{?_smp_mflags} + +%install +%make_install +gzip -dc %{SOURCE1} > bznew +install -D -m 755 bznew $RPM_BUILD_ROOT%{_bindir}/bznew +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1 + +%post -n libbz2 -p /sbin/ldconfig + +%postun -n libbz2 -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-,root,root) +%{_bindir}/* + +%files -n libbz2 +%defattr(-,root,root) +%{_libdir}/libbz2.so.1 +%{_libdir}/libbz2.so.1.* + +%files devel +%doc LICENSE +%{_includedir}/bzlib.h +%{_libdir}/libbz2.so +%{_libdir}/pkgconfig/bzip2.pc + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ca-certificates-mozilla.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ca-certificates-mozilla.spec new file mode 100644 index 0000000..98d504b --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ca-certificates-mozilla.spec @@ -0,0 +1,106 @@ +# +# spec file for package ca-certificates-mozilla +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + + + +%bcond_with trustedcerts + +BuildRequires: openssl + +Name: ca-certificates-mozilla +%define sslusrdir %{_datadir}/ca-certificates +Version: 1.85 +Release: 0 +Summary: CA certificates for OpenSSL +License: MPL-2.0 +Group: Productivity/Networking/Security +Url: http://www.mozilla.org +# IMPORTANT: procedure to update certificates: +# - Check the CVS log of the cert file: +# http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/security/nss/lib/ckfw/builtins/certdata.txt&rev=HEAD +# Alternatively hg: +# http://hg.mozilla.org/releases/mozilla-release/file/tip/security/nss/lib/ckfw/builtins/certdata.txt +# - download the new certdata.txt +# wget -O certdata.txt "http://mxr.mozilla.org/mozilla/source//security/nss/lib/ckfw/builtins/certdata.txt?raw=1" +# - run compareoldnew to show fingerprints of new and changed certificates +# - check the bugs referenced in cvs log and compare the checksum +# to output of compareoldnew +# - Watch out that blacklisted or untrusted certificates are not +# accidentally included! +Source: certdata.txt +Source1: extractcerts.pl +Source2: %{name}.COPYING +Source3: compareoldnew +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +# for update-ca-certificates +Requires(post): ca-certificates +Requires(postun): ca-certificates +# +Provides: openssl-certs = 0.9.9 +Obsoletes: openssl-certs < 0.9.9 + +%description +This package contains some CA root certificates for OpenSSL extracted +from MozillaFirefox + + + +%prep +%setup -qcT +/bin/cp %{SOURCE0} . +install -m 644 %{S:1} COPYING + +%build +perl %{SOURCE1} --trustbits < certdata.txt + +%install +mkdir -p %{buildroot}/%{sslusrdir}/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"` +%if %{with trustedcerts} + args+=('-trustout') + for t in $trust; do + args+=("-addtrust" "$t") + done + [ -z "$alias" ] || args+=('-setalias' "$alias") +%else + case "$trust" in + *serverAuth*) ;; + *) echo "skipping $i, not trusted for serverAuth"; continue ;; + esac +%endif + echo "$i" + { + grep '^#' "$i" + openssl x509 -in "$i" "${args[@]}" + } > "%{buildroot}/%{sslusrdir}/mozilla/$i" +done +set -x + +%post +update-ca-certificates || true + +%postun +update-ca-certificates || true + +%files +%defattr(-, root, root) +%doc COPYING +%{sslusrdir}/mozilla + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/connman.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/connman.spec new file mode 100644 index 0000000..32a7e15 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/connman.spec @@ -0,0 +1,90 @@ +Name: connman +Version: 1.9 +Release: 1 +License: GPL-2.0 +Summary: Connection Manager +Url: http://connman.net +Group: System/Networking +Source0: %{name}-%{version}.tar.xz +Source1001: packaging/connman.manifest +Patch0: dbus.patch +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libiptc) +BuildRequires: pkgconfig(xtables) +BuildRequires: pkgconfig(gnutls) +BuildRequires: readline-devel +Requires: systemd +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +%description +Connection Manager provides a daemon for managing Internet connections +within embedded devices running the Linux operating system. + +%package test +Summary: Test Scripts for Connection Manager +Group: Development/Tools +Requires: %{name} = %{version} +Requires: dbus-python +Requires: python-gobject +Requires: python-xml + +%description test +Scripts for testing Connman and its functionality + +%package devel +Summary: Development Files for connman +Group: Development/Tools +Requires: %{name} = %{version} + +%description devel +Header files and development files for connman. + +%prep +%setup -q +%patch0 -p1 + + +%build +cp %{SOURCE1001} . +./bootstrap +%configure \ + --enable-threads \ + --enable-client \ + --enable-wifi=builtin \ +%if 0%{?enable_connman_features} + %connman_features \ +%endif + --enable-test \ + --with-systemdunitdir=%{_unitdir} + +make %{?_smp_mflags} + +%install +%make_install + +mkdir -p %{buildroot}%{_unitdir}/network.target.wants +ln -s ../connman.service %{buildroot}%{_unitdir}/network.target.wants/connman.service + +%install_service multi-user.target.wants connman.service + +%files +%manifest connman.manifest +%{_sbindir}/* +#%{_libdir}/connman/plugins/*.so +#%{_datadir}/dbus-1/services/* +%{_sysconfdir}/dbus-1/system.d/* +#%{_sysconfdir}/connman/main.conf +#%{_sysconfdir}/dbus-1/system.d/*.conf +%{_unitdir}/connman.service +%{_unitdir}/network.target.wants/connman.service +%{_unitdir}/multi-user.target.wants/connman.service +%files test +%{_libdir}/%{name}/test/* + + +%files devel +%{_includedir}/connman/*.h +%{_libdir}/pkgconfig/*.pc diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/coreutils.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/coreutils.spec new file mode 100644 index 0000000..8e73372 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/coreutils.spec @@ -0,0 +1,85 @@ +Name: coreutils +Summary: GNU Core Utilities +License: GPL-3.0+ +Group: System/Base +BuildRequires: automake +BuildRequires: gmp-devel +BuildRequires: help2man +BuildRequires: libacl-devel +BuildRequires: libcap-devel +BuildRequires: pam-devel +BuildRequires: xz +BuildRequires: gettext-tools +Url: http://www.gnu.org/software/coreutils/ +Version: 8.20 +Release: 0 +Provides: fileutils = %{version} +Provides: mktemp = %{version} +Provides: sh-utils = %{version} +Provides: stat = %version} +Provides: textutils = %{version} +Obsoletes: fileutils < %{version} +Obsoletes: mktemp < %{version} +Obsoletes: sh-utils < %{version} +Obsoletes: stat < %version} +Obsoletes: textutils < %{version} +Requires: pam >= 1.1.1.90 +Source: coreutils-%{version}.tar.xz +Source3: baselibs.conf +Provides: /bin/chmod, /bin/chown, /bin/ls, /bin/touch, /bin/mkdir, /bin/cat + +%description +Basic file, shell, and text manipulation utilities. The package +contains the following programs: + +[ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp +csplit cut date dd df dir dircolors dirname du echo env expand expr +factor false fmt fold groups head id install join kill link ln logname +ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup od paste pathchk +pinky pr printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum +sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split +stat stty sum sync tac tail tee test timeout touch tr true tsort tty +uname unexpand uniq unlink uptime users vdir wc who whoami yes + +%lang_package + +%prep +%setup -q + +%build +AUTOPOINT=true autoreconf -fi +export CFLAGS="%optflags -Wall" +%configure --libexecdir=%{_libdir} --without-included-regex \ + --enable-install-program=arch \ + gl_cv_func_printf_directive_n=yes \ + gl_cv_func_isnanl_works=yes \ + DEFAULT_POSIX2_VERSION=199209 + +make -C po update-po +make %{?_smp_mflags} V=1 + +%install +%make_install pkglibexecdir=%{_libdir}/%{name} +echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1 + +%find_lang %name + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz + + +%files +%defattr(-,root,root) +%doc README NEWS +%{_bindir}/* +%{_libdir}/%{name} +%doc %{_infodir}/coreutils.info*.gz +%dir %{_prefix}/share/locale/*/LC_TIME + +%docs_package + + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/curl.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/curl.spec new file mode 100644 index 0000000..2923628 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/curl.spec @@ -0,0 +1,112 @@ +Name: curl +Summary: A utility for getting files from remote servers (FTP, HTTP, and others) +Version: 7.21.3 +Release: 1 +Group: Applications/Internet +License: MIT +#URL: http://curl.haxx.se/ +#Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 +Source0: %{name}-%{version}.tar.bz2 + +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(libidn) +BuildRequires: pkgconfig(nss) +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(libcares) +Provides: webclient + + +%description +cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, +DICT, TELNET and TFTP servers, using any of the supported protocols. +cURL is designed to work without user interaction or any kind of +interactivity. cURL offers many useful capabilities, like proxy support, +user authentication, FTP upload, HTTP post, and file transfer resume. + + + +%package -n libcurl +Summary: A library for getting files from web servers +Group: System/Libraries + +%description -n libcurl +This package provides a way for applications to use FTP, HTTP, Gopher and +other servers for getting files. + + +%package -n libcurl-devel +Summary: Files needed for building applications with libcurl +Group: Development/Libraries +Requires: libcurl = %{version}-%{release} +Requires: libidn-devel +Provides: curl-devel = %{version}-%{release} +Obsoletes: curl-devel < %{version}-%{release} + +%description -n libcurl-devel +cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and +Dict servers, using any of the supported protocols. The libcurl-devel +package includes files needed for developing applications which can +use cURL's capabilities internally. + + + +%prep +%setup -q + + +%build + +export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT" + +%reconfigure --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 + +#--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt + +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 %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install + +rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la +install -d $RPM_BUILD_ROOT/%{_datadir}/aclocal +install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal + + +# don't need curl's copy of the certs; use openssl's +find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \; +rm -rf ${RPM_BUILD_ROOT}/usr/share/man + +%post -n libcurl -p /sbin/ldconfig + +%postun -n libcurl -p /sbin/ldconfig + +%files +%{_bindir}/curl + +%files -n libcurl +%{_libdir}/libcurl.so.* + +%files -n libcurl-devel +%{_bindir}/curl-config* +%{_includedir}/curl +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/aclocal/libcurl.m4 + + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/db4.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/db4.spec new file mode 100644 index 0000000..4845063 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/db4.spec @@ -0,0 +1,197 @@ +%define generic_name db +%define docdir %{_defaultdocdir}/%{name} +%define major 4 +%define minor 8 + +Name: db4 +Version: %{major}.%{minor}.30.NC +Release: 0 +Summary: Berkeley DB Database Library Version 4.8 +License: BSD-3-Clause +Group: System/Libraries +Url: http://www.sleepycat.com +Source: db-%{version}.tar.gz +Source1: %{name}.changes +Source9: getpatches +BuildRequires: autoconf +BuildRequires: fdupes +BuildRequires: gcc-c++ +Provides: db = %{version} + +%description +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the necessary runtime libraries. + +%package utils +Summary: Command Line tools for Managing Berkeley DB Databases +Group: Productivity/Databases/Tools + +%description utils +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the command line tools for managing Berkeley DB +databases. + +%package doc +Summary: Documentation for Berkeley DB +Group: Development/Libraries/C and C++ +BuildArch: noarch + +%description doc +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the documentation. + +%package devel +Summary: Development Files and Libraries for the Berkeley DB library Version 4.8 +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: glibc-devel + +%description devel +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the header files and libraries. + +%prep +%setup -q -n %{generic_name}-%{version} +cd .. +tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version} + +%build +cd dist +# dist/RELEASE codes the build date into the binary. +# Use last change of changes file instead +LAST_MOD=`stat --format="%Y" %SOURCE1` +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="%{optflags} -fno-strict-aliasing" +CC=gcc +export CFLAGS CXXFLAGS CC +# +# Build now the NPTL version +# +mkdir ../build_nptl +cd ../build_nptl +../dist/configure --prefix=%{_prefix} \ + --libdir=%{_libdir} --enable-compat185 --disable-dump185 \ + --enable-shared --disable-static --enable-cxx \ + --with-mutex="POSIX/pthreads/library" \ +%ifarch %arm + %{_target_cpu}-suse-linux-gnueabi +%else + %{_target_cpu}-suse-linux +%endif +# 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 %{?_smp_mflags} LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L%{_libdir} -lstdc++" + +%install +mkdir -p %{buildroot}%{_includedir}/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 %{buildroot}%{_libdir} +cd build_nptl +make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true install +cd .. +# make ldd happy: +chmod 755 %{buildroot}%{_libdir}/libdb*.so +# Fix header file installation +mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/db4 +echo "#include " > %{buildroot}%{_includedir}/db.h +echo "#include " > %{buildroot}%{_includedir}/db_185.h +echo "#include " > %{buildroot}%{_includedir}/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 %{buildroot}%{docdir} +mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir} +cp -a examples_cxx examples_c %{buildroot}/%{docdir} +cp -a LICENSE README %{buildroot}/%{docdir} +# +# Remove api documentation for C++, Java and TCL +rm -rf %{buildroot}/%{docdir}/csharp +rm -rf %{buildroot}/%{docdir}/java +rm -rf %{buildroot}/%{docdir}/api_reference/CXX +rm -rf %{buildroot}/%{docdir}/api_reference/STL +rm -rf %{buildroot}/%{docdir}/api_reference/TCL +rm -rf %{buildroot}/%{docdir}/gsg*/CXX +rm -rf %{buildroot}/%{docdir}/gsg*/JAVA +mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/ +# Remove crappy *.la files +rm -rf %{buildroot}%{_libdir}/*.la +rm -rf %{buildroot}%{_libdir}/tls/*.la +%fdupes %{buildroot}%{_libdir} +%fdupes %{buildroot}%{docdir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libdb-%{major}.%{minor}.so +%{_libdir}/libdb_cxx-%{major}.%{minor}.so + +%files doc +%defattr(-,root,root) +%dir %{docdir} +%doc %{docdir}/LICENSE +%doc %{docdir}/README +%doc %{docdir}/index.html +%doc %{docdir}/license +%doc %{docdir}/articles +%doc %{docdir}/api_reference +%doc %{docdir}/examples_c +%doc %{docdir}/examples_cxx +%doc %{docdir}/gsg* +%doc %{docdir}/porting +%doc %{docdir}/programmer_reference +%doc %{docdir}/tutorial + +%files utils +%defattr(-,root,root) +%{_bindir}/db_archive +%{_bindir}/db_checkpoint +%{_bindir}/db_deadlock +%{_bindir}/db_dump +%{_bindir}/db_load +%{_bindir}/db_printlog +%{_bindir}/db_recover +%{_bindir}/db_sql +%{_bindir}/db_stat +%{_bindir}/db_upgrade +%{_bindir}/db_verify +%{_bindir}/db_hotbackup + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/db4 +%{_includedir}/db.h +%{_includedir}/db_185.h +%{_includedir}/db_cxx.h +%{_includedir}/db4/db.h +%{_includedir}/db4/db_185.h +%{_includedir}/db4/db_cxx.h +%{_libdir}/libdb.so +%{_libdir}/libdb-%{major}.so +%{_libdir}/libdb_cxx.so +%{_libdir}/libdb_cxx-%{major}.so + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/dbus.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/dbus.spec new file mode 100644 index 0000000..eb09514 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/dbus.spec @@ -0,0 +1,225 @@ +%define dbus_user_uid 81 + +Name: dbus +%define _libname libdbus +Url: http://dbus.freedesktop.org/ +Summary: D-Bus Message Bus System +License: GPL-2.0+ or AFL-2.1 +Group: System/Daemons +# COMMON1-BEGIN + +# We can't enable this right now, because it will create a build cycle between +# dbus-1 and systemd. Fun! +%define with_systemd 1 + +BuildRequires: doxygen +BuildRequires: expat-devel +BuildRequires: libtool +BuildRequires: libzio +BuildRequires: pkg-config +%if %{with_systemd} +BuildRequires: pkgconfig(libsystemd-daemon) +BuildRequires: pkgconfig(libsystemd-login) +%endif +Version: 1.6.8 +Release: 0 +Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz +Source1: rc.boot.dbus +Source3: dbus_at_console.ck +Source4: baselibs.conf +Source5: dbus-user.service +Source6: dbus-user.socket +BuildRequires: libcap-ng-devel +# COMMON1-END +Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd + +Provides: dbus-1 + +%package -n %{_libname} + +Summary: Library package for D-Bus +Group: Development/Libraries/Other + +%package devel + +Summary: Developer package for D-Bus +Group: Development/Libraries/Other +Requires: %{_libname} = %{version} +Requires: dbus +Requires: glibc-devel + +%package devel-doc + +Summary: Developer documentation package for D-Bus +Group: Development/Libraries/Other +Requires: %{name} = %{version} +BuildArch: noarch + +%description +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description -n %{_libname} +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description devel +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description devel-doc +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-BUS supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%prep +# COMMON2-BEGIN +%setup -n dbus-%{version} -q + +%build +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 +%configure \ + --disable-static \ + --with-pic \ + --with-dbus-user=dbus \ + --libexecdir=%{_libdir}/%{name} \ + --libdir=%{_libdir} \ + --with-init-scripts=suse \ + --enable-inotify \ + --enable-doxygen-docs \ +%if %{with_systemd} + --enable-systemd \ +%endif + --with-console-auth-dir=/var/run/dbus/at_console/ \ + --with-systemdsystemunitdir=%{_unitdir} +make %{?_smp_mflags} + +%install +# COMMON2-END +make DESTDIR=%{buildroot} install +mkdir -p %{buildroot}/etc/init.d +mkdir -p %{buildroot}/usr/sbin +install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/init.d/dbus +install -d %{buildroot}/%{_localstatedir}/run/dbus +mkdir -p %{buildroot}/%{_libdir}/pkgconfig +mkdir -p %{buildroot}/lib/dbus-1/system-services +mkdir -p %{buildroot}/%{_datadir}/dbus-1/system-services +mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces +#mkdir -p %{buildroot}/%{_libdir}/dbus-1.0/include/ +rm -f %{buildroot}/%{_libdir}/*.la +# +rm -f %{buildroot}/%{_bindir}/dbus-launch +rm -f %{buildroot}/%{_mandir}/man1/dbus-launch.1* +chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c doc/TODO +# +install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d +install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d +mkdir -p %{buildroot}%{_localstatedir}%{_libdir}/dbus +touch %{buildroot}/%{_localstatedir}%{_libdir}/dbus/machine-id + +mkdir -p %{buildroot}%{_unitdir_user} +install -m0644 %{SOURCE5} %{buildroot}%{_unitdir_user}/dbus.service +install -m0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket + + +%pre +# Add the "dbus" user and group +/usr/sbin/groupadd -r -g %{dbus_user_uid} dbus 2>/dev/null || : +/usr/sbin/useradd -c 'System message bus' -u %{dbus_user_uid} -g %{dbus_user_uid} \ + -s /sbin/nologin -r -d '/' dbus 2> /dev/null || : + +%post -n %{_libname} -p /sbin/ldconfig + +%postun -n %{_libname} -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-, root, root) +%dir %{_localstatedir}%{_libdir}/dbus +%dir /lib/dbus-1 +%dir /lib/dbus-1/system-services +%license COPYING +%config(noreplace) %{_sysconfdir}/dbus-1/session.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.conf +%{_sysconfdir}/init.d/dbus +%{_sysconfdir}/ConsoleKit +%{_bindir}/dbus-cleanup-sockets +%{_bindir}/dbus-daemon +%{_bindir}/dbus-monitor +%{_bindir}/dbus-send +%{_bindir}/dbus-uuidgen +# See doc/system-activation.txt in source tarball for the rationale +# behind these permissions +%attr(4750,root,dbus) %verify(not mode) %{_libdir}/dbus/dbus-daemon-launch-helper +%ghost %{_localstatedir}/run/dbus +%ghost %{_localstatedir}%{_libdir}/dbus/machine-id +%dir %{_unitdir} +%{_unitdir}/dbus.service +%{_unitdir}/dbus.socket +%{_unitdir_user}/dbus.service +%{_unitdir_user}/dbus.socket +%dir %{_unitdir}/dbus.target.wants +%{_unitdir}/dbus.target.wants/dbus.socket +%dir %{_unitdir}/multi-user.target.wants +%{_unitdir}/multi-user.target.wants/dbus.service +%dir %{_unitdir}/sockets.target.wants +%{_unitdir}/sockets.target.wants/dbus.socket + +%files -n %{_libname} +%defattr(-, root, root) +%{_libdir}/libdbus-1.so.* +# Own those directories in the library instead of dbus-1, since dbus users +# often ship files there +%dir %{_sysconfdir}/dbus-1 +%dir %{_sysconfdir}/dbus-1/session.d +%dir %{_sysconfdir}/dbus-1/system.d +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/interfaces +%dir %{_datadir}/dbus-1/services +%dir %{_datadir}/dbus-1/system-services + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/libdbus-1.so +%dir %{_libdir}/dbus-1.0 +%{_libdir}/dbus-1.0/include +%{_libdir}/pkgconfig/dbus-1.pc + +%files devel-doc +%defattr(-,root,root) +%dir %{_datadir}/doc/dbus +%{_datadir}/doc/dbus/api/ +%doc %{_datadir}/doc/dbus/dbus-faq.html +%doc %{_datadir}/doc/dbus/dbus-specification.html +%doc %{_datadir}/doc/dbus/dbus-test-plan.html +%doc %{_datadir}/doc/dbus/dbus-tutorial.html +%doc %{_datadir}/doc/dbus/diagram.* +%doc %{_datadir}/doc/dbus/system-activation.txt +%doc doc/*.txt doc/file-boilerplate.c doc/TODO + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/doxygen.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/doxygen.spec new file mode 100644 index 0000000..35d23cf --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/doxygen.spec @@ -0,0 +1,102 @@ +%define version 1.8.2 +%define revision 1 +%define mmn 1 +%define name doxygen + +# optionally pass --with-doxywizard to rpmbuild + +%define contentdir /var/www +%define suexec_caller doxygen +%define buildroot /var/tmp/%{name}-%{version}-%{revision}root + +Summary: A documentation system for C/C++. +Name: doxygen +Version: %{version} +Release: %{revision} +URL: http://www.stack.nl/~dimitri/doxygen/index.html +Vendor: Dimitri van Heesch +License: GNU General Public License +Group: Development/Tools +Source: %{name}-%{version}.src.tar.gz +BuildRoot: %{buildroot} +BuildRequires: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips, /usr/bin/gs +Requires: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 +Provides: doxygen = %{mmn} + +%description +Doxygen can generate an online class browser (in HTML) and/or a +reference manual (in LaTeX) from a set of documented source files. The +documentation is extracted directly from the sources. Doxygen can +also be configured to extract the code structure from undocumented +source files. + +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} +%package doxywizard +Group: Development/Libraries +Summary: GUI Interface for doxygen. +Requires: doxygen = %{mmn} +Requires: qt >= 3.3 +Provides: doxywizard = %{mmn} +# Obsoletes: + +%description doxywizard +Doxygen can generate an online class browser (in HTML) and/or a +reference manual (in LaTeX) from a set of documented source files. The +documentation is extracted directly from the sources. Doxygen can +also be configured to extract the code structure from undocumented +source files. + +This is the GUI interface for doxygen. It requires qt and X11 to +install. +%endif + +%prep +%setup -q -n %{name}-%{version} +./configure %{?_with_doxywizard} --prefix $RPM_BUILD_ROOT/usr + +%build +make %{?_smp_mflags} +make %{?_smp_mflags} pdf + +%install +rm -rf $RPM_BUILD_ROOT +make install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) + +%doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf +%doc /usr/man/man1/doxygen.1.gz + +%{_bindir}/doxygen + +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} +%files doxywizard +%defattr(-,root,root) +%{_bindir}/doxywizard +%doc /usr/man/man1/doxywizard.1.gz +%endif + +%changelog +* Fri Apr 18 2008 Kenneth Porter 1.5.5-1 +- consolidate with and without doxywizard spec files with rpm macro +- add gs BuildPrereq + +* Sun Nov 18 2007 Kevin McBride 1.5.4 +- consolidated manual package in lieu of --excludedocs flag for rpm --install + +* Mon Oct 10 2005 Kevin McBride 1.4.5 +- fixed versioning bugs. + +* Tue Oct 4 2005 Kevin McBride 1.4.5 +- added obsoletes and proides sections. + +* Sun Sep 20 2005 Kevin McBride 1.4.4 +- modified rpm spec file for Fedora Core acceptance criteria. + +* Sun Aug 7 2005 Kevin McBride 1.4.4 +- created initial rpm spec file for doxygen-1.4.4 + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/e2fsprogs.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/e2fsprogs.spec new file mode 100644 index 0000000..f69ff8e --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/e2fsprogs.spec @@ -0,0 +1,181 @@ +Name: e2fsprogs +BuildRequires: autoconf +BuildRequires: libblkid-devel +BuildRequires: libuuid-devel +BuildRequires: pkg-config +Version: 1.42.6 +Release: 0 +Summary: Utilities for the Second Extended File System +License: GPL-2.0 +Group: System/Filesystems +Url: http://e2fsprogs.sourceforge.net +Requires: libcom_err >= %{version} +Requires: libext2fs >= %{version} +Source: http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.xz +Source1: baselibs.conf +Source2: e2fsck.conf + +%description +Utilities needed to create and maintain ext2 and ext3 file systems +under Linux. Included in this package are: chattr, lsattr, mke2fs, +mklost+found, tune2fs, e2fsck, resize2fs, and badblocks. + +%package devel +Summary: Dummy development package +License: LGPL-2.0 +Group: Development/Libraries/C and C++ +Requires: libblkid-devel +Requires: libext2fs-devel = %version +Requires: libuuid-devel + +%description devel +Dummy development package for backwards compatibility. + +%package -n libext2fs +Summary: Ext2fs library +License: LGPL-2.0 +Group: System/Filesystems + +%description -n libext2fs +The basic Ext2fs shared library. + +%package -n libext2fs-devel +Summary: Development files for libext2fs +License: LGPL-2.0 +Group: Development/Libraries/C and C++ +Requires: libcom_err-devel +Requires: libext2fs = %version + +%description -n libext2fs-devel +Development files for libext2fs. + +%package -n libcom_err +Summary: E2fsprogs error reporting library +License: MIT +Group: System/Filesystems + +%description -n libcom_err +com_err is an error message display library. + +%package -n libcom_err-devel +Summary: Development files for libcom_err +License: MIT +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libcom_err = %version + +%description -n libcom_err-devel +Development files for the com_err error message display library. + +%prep +%setup -q + +%build +%configure \ + --disable-evms \ + --with-root-prefix='' \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-nls \ + --disable-fsck \ + CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} V=1 + +%install +make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir} +find "%buildroot/%_libdir" -type f -name "*.a" \ + -print -delete +# Let boot continue even if system clock is wrong +install -p -m 644 %{SOURCE2} %{buildroot}/etc/e2fsck.conf + + +rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper +rm -f $RPM_BUILD_ROOT/%{_sbindir}/mkfs.ext4dev +rm -f $RPM_BUILD_ROOT/%{_sbindir}/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 %{buildroot}%{_includedir}/quota/mkquota.h +rm -v %{buildroot}%{_libdir}/pkgconfig/quota.pc + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n libext2fs -p /sbin/ldconfig + +%postun -n libext2fs -p /sbin/ldconfig + +%post -n libcom_err -p /sbin/ldconfig + +%postun -n libcom_err -p /sbin/ldconfig + +%docs_package + +%files devel +%doc README + +%files +%defattr(-, root, root) +%doc RELEASE-NOTES README +%config /etc/e2fsck.conf +%config /etc/mke2fs.conf +%{_sbindir}/badblocks +%{_sbindir}/debugfs +%{_sbindir}/dumpe2fs +%{_sbindir}/e2undo +%{_sbindir}/e2fsck +%{_sbindir}/e2label +%{_sbindir}/fsck.ext2 +%{_sbindir}/fsck.ext3 +%{_sbindir}/fsck.ext4 +%{_sbindir}/mke2fs +%{_sbindir}/mkfs.ext2 +%{_sbindir}/mkfs.ext3 +%{_sbindir}/mkfs.ext4 +%{_sbindir}/resize2fs +%{_sbindir}/tune2fs +%{_sbindir}/e2image +%{_sbindir}/logsave +%{_bindir}/chattr +%{_bindir}/lsattr +%{_sbindir}/mklost+found +%{_sbindir}/filefrag +%{_sbindir}/e2freefrag +%{_sbindir}/e4defrag + +%files -n libext2fs +%defattr(-, root, root) +%{_libdir}/libext2fs.so.* +%{_libdir}/libe2p.so.* + +%files -n libext2fs-devel +%defattr(-, root, root) +%{_libdir}/libext2fs.so +%{_libdir}/libe2p.so +/usr/include/ext2fs +/usr/include/e2p +%_libdir/pkgconfig/e2p.pc +%_libdir/pkgconfig/ext2fs.pc + +%files -n libcom_err +%defattr(-, root, root) +%{_libdir}/libcom_err.so.* +%{_libdir}/libss.so.* + +%files -n libcom_err-devel +%defattr(-, root, root) +%_bindir/compile_et +%_bindir/mk_cmds +%{_libdir}/libcom_err.so +%{_libdir}/libss.so +%_libdir/pkgconfig/com_err.pc +%_libdir/pkgconfig/ss.pc +%_includedir/com_err.h +%_includedir/et +%_includedir/ss +%_datadir/et +%_datadir/ss + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/elfutils.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/elfutils.spec new file mode 100644 index 0000000..f91e3f0 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/elfutils.spec @@ -0,0 +1,202 @@ +Name: elfutils +Version: 0.153 +Release: 0 +License: GPL-2.0-with-osi-exception +Summary: Higher-level library to access ELF +Url: http://elfutils.fedorahosted.org +Group: System/Libraries +Source: elfutils-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: automake +BuildRequires: bison +BuildRequires: bzip2-devel +BuildRequires: flex +BuildRequires: xz-devel +BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package provides a higher-level library to access ELF files. This +is a part of elfutils package. + +%package -n libasm +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other + +%description -n libasm +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libasm-devel +License: GPL-2.0-with-osi-exception +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other +Requires: glibc-devel, +Requires: libasm = %{version} + +%description -n libasm-devel +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libebl +License: GPL-2.0-with-osi-exception +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other +Provides: libebl = %{version} +Obsoletes: libebl < %{version} + +%description -n libebl +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libebl-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libdw-devel = %{version} +Requires: libebl = %{version} + +%description -n libebl-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libelf +License: GPL-2.0-with-osi-exception +Summary: Library to read and write ELF files + +%description -n libelf +This package provides a high-level library to read and write ELF files. +This is a part of elfutils package. + +%package -n libelf-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libelf = %{version} +Conflicts: libelf0-devel + +%description -n libelf-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libdw +License: GPL-2.0-with-osi-exception +Summary: Library to access DWARF debugging information + +%description -n libdw +This package provides a high-level library to access the DWARF debugging +information. This is a part of elfutils package. + +%package -n libdw-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libdw = %{version} +Requires: libelf-devel = %{version} + +%description -n libdw-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q -n elfutils-%{version} + +%build +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changed")" +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 +%configure --program-prefix=eu- +make %{?_smp_mflags} + +%install +%make_install +# remove unneeded files +ls -lR %{buildroot}%{_libdir}/libelf* + +%post -n libebl -p /sbin/ldconfig + +%post -n libelf -p /sbin/ldconfig + +%post -n libdw -p /sbin/ldconfig + +%postun -n libebl -p /sbin/ldconfig + +%postun -n libelf -p /sbin/ldconfig + +%postun -n libdw -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* + +%files -n libasm +%defattr(-,root,root) +%{_libdir}/libasm.so.* +%{_libdir}/libasm-%{version}.so + +%files -n libasm-devel +%defattr(-,root,root) +%{_libdir}/libasm.so +%{_libdir}/libasm.a +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libasm.h + +%files -n libebl +%defattr(-,root,root) +%{_libdir}/elfutils + +%files -n libebl-devel +%defattr(-,root,root) +%{_libdir}/libebl.a +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libebl.h + +%files -n libelf +%defattr(-,root,root) +%{_libdir}/libelf.so.* +%{_libdir}/libelf-%{version}.so + +%files -n libelf-devel +%defattr(-,root,root) +%{_libdir}/libelf.so +%{_libdir}/libelf.a +#%{_libdir}/libelf_pic.a +%{_includedir}/libelf.h +%{_includedir}/gelf.h +%{_includedir}/nlist.h +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/elf-knowledge.h +%{_includedir}/elfutils/version.h + +%files -n libdw +%defattr(-,root,root) +%{_libdir}/libdw.so.* +%{_libdir}/libdw-%{version}.so + +%files -n libdw-devel +%defattr(-,root,root) +%{_libdir}/libdw.a +%{_libdir}/libdw.so +%{_includedir}/dwarf.h +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libdw.h +%{_includedir}/elfutils/libdwfl.h + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/expat.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/expat.spec new file mode 100644 index 0000000..aeb242d --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/expat.spec @@ -0,0 +1,90 @@ +Name: expat +Version: 2.0.1 +Release: 8 +Summary: An XML parser library +Group: System/Libraries +Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz +Patch0: expat-2.0.1-CVE-2009-3720.diff +Patch1: expat-2.0.1-confcxx.patch + +License: MIT +Url: http://www.libexpat.org/ +BuildRequires: autoconf, +BuildRequires: automake, +BuildRequires: libtool + +%description +This is expat, the C library for parsing XML, written by James Clark. Expat +is a stream oriented XML parser. This means that you register handlers with +the parser prior to starting the parse. These handlers are called when the +parser discovers the associated structures in the document being parsed. A +start tag is an example of the kind of structures for which you may +register handlers. + +%package devel +Summary: Libraries and header files to develop applications using expat +Group: Development/Libraries +Requires: expat = %{version} + +%description devel +The expat-devel package contains the libraries, include files and documentation +to develop XML applications with expat. + +%package doc +Summary: Documentation for the expat package +Group: Development/Documentation +Requires: expat = %{version} + +%description doc +Documentation for the expat package + +%prep +%setup -q +%patch0 -p0 -b .CVE-2009-3720 +%patch1 -p1 -b .confcxx +%build +rm -rf autom4te*.cache +cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1 +libtoolize --copy --force --automake && aclocal && autoheader && autoconf +export CFLAGS="%{optflags} -fPIC" +%configure --libdir=/%{_lib} +make %{?_smp_mflags} + +%install + +rm -f examples/*.dsp +chmod 644 README COPYING Changes doc/* examples/* + +%make_install + +mkdir -p %{buildroot}%{_libdir} +mv %{buildroot}/%{_lib}/libexpat.so %{buildroot}%{_libdir} + +lib=`echo %{buildroot}/%{_lib}/libexpat.so.*.*` +ln -sf ../../%{_lib}/`basename ${lib}` %{buildroot}%{_libdir}/libexpat.so + +%check +make check + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/* +/%{_lib}/lib*.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/lib*.so +%{_includedir}/*.h + +%files doc +%defattr(-,root,root,-) +%doc %{_mandir}/*/* +%doc README +%doc Changes doc examples diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/fdupes.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/fdupes.spec new file mode 100644 index 0000000..43c981c --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/fdupes.spec @@ -0,0 +1,32 @@ +Name: fdupes +Version: 1.40 +Release: 42.66 +License: X11/MIT +Summary: Identifying or deleting duplicate files +Url: http://premium.caribe.net/~adrian2/fdupes.html +Group: Productivity/Archiving/Compression +Source0: %{name}-%{version}.tar.bz2 +Source1: macros.fdupes + +%description +FDUPES is a program for identifying or deleting duplicate files +residing within specified directories + +%prep +%setup -q + +%build +make + +%install +install -D -m755 fdupes %{buildroot}/usr/bin/fdupes +install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1 +install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes + +%files +%defattr(-, root, root) +%doc CHANGES +%{_bindir}/fdupes +%{_mandir}/*/* +%{_sysconfdir}/rpm + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/file.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/file.spec new file mode 100644 index 0000000..721988e --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/file.spec @@ -0,0 +1,115 @@ +Name: file +BuildRequires: findutils +BuildRequires: libtool +BuildRequires: zlib-devel +Url: http://www.darwinsys.com/file/ +Version: 5.11 +Release: 0 +Summary: A Tool to Determine File Types +License: BSD-2-Clause +Group: Productivity/File utilities +Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz +Source2: baselibs.conf +%global _sysconfdir /etc +%global _miscdir %{_datadir}/misc +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +With the file command, you can obtain information on the file type of a +specified file. File type recognition is controlled by the file +/etc/magic, which contains the classification criteria. This command is +used by apsfilter to permit automatic printing of different file types. + +%package -n libmagic-data +Summary: The magic files for libmagic to use +Group: Development/Libraries/Other + +%description -n libmagic-data +This package contains the basic magic files that libmagic reads and uses +to estimate a file's type. + +%package -n libmagic +Summary: Library with file's functionality +Group: Development/Libraries/Other +Requires: libmagic-data = %{version} +Provides: libfile +Obsoletes: libfile =< 5.04 + +%description -n libmagic +This library reads magic files and detects file types. Used by file command + +%package -n file-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/Other +Provides: file:/usr/include/magic.h +Requires: glibc-devel +Requires: libmagic = %{version} + +%description -n file-devel +This package contains all necessary include files and libraries needed +to develop applications that require the magic "file" interface. + +%prep +%setup -q -n file-%{version} +%build +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" +%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --with-pic --enable-fsect-man5 +%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)' +%if 0%{?build_python_bindings:1} +pushd python +python setup.py build +popd +%endif + +%install +export LANG=POSIX +export LC_ALL=POSIX +mkdir %{buildroot}/etc +make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)' +rm -vf %{buildroot}%{_sysconfdir}/magic +echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic +echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysconfdir}/magic +%{nil install -s dcore %{buildroot}%{_bindir}} +# Check out that the binary does not bail out: +LD_LIBRARY_PATH=%{buildroot}%{_libdir} +export LD_LIBRARY_PATH +find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \ + xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic +unset LD_LIBRARY_PATH +%{__rm} -f %{buildroot}%{_libdir}/*.la + +%post -n libmagic -p /sbin/ldconfig + +%postun -n libmagic -p /sbin/ldconfig + +%files -n libmagic +%defattr (644,root,root,755) +%{_libdir}/lib*.so.* + +%files -n libmagic-data +%defattr (644,root,root,755) +%config(noreplace) %{_sysconfdir}/magic +#%{_miscdir}/magic +%{_miscdir}/magic.mgc +%doc %{_mandir}/man5/magic.5.gz + +%files +%defattr (644,root,root,755) +%{nil %{_bindir}/dcore} +%attr(755,root,root) %{_bindir}/file +%doc %{_mandir}/man1/file.1.gz +%doc COPYING + +%files -n file-devel +%defattr (644,root,root,755) +%{_libdir}/lib*.so +%{_includedir}/magic.h +%doc %{_mandir}/man3/libmagic.3.gz +%doc README COPYING + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/filesystem.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/filesystem.spec new file mode 100644 index 0000000..73652c2 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/filesystem.spec @@ -0,0 +1,223 @@ +%define disable_docs_package 1 +%define debug_package %{nil} +Name: filesystem +Version: 3.1 +Release: 2%{?dist} +License: Public Domain +Summary: The basic directory layout for a Linux system +Url: https://fedorahosted.org/filesystem +Group: System Environment/Base +# Raw source1 URL: https://fedorahosted.org/filesystem/browser/lang-exceptions?format=raw +Source1: https://fedorahosted.org/filesystem/browser/lang-exceptions +Source2: iso_639.sed +Source3: iso_3166.sed +BuildRequires: iso-codes +Requires(pre): setup + + +%description +The filesystem package is one of the basic packages that is installed +on a Linux system. Filesystem contains the basic directory layout +for a Linux operating system, including the correct permissions for +the directories. + +%prep +rm -f $RPM_BUILD_DIR/filelist + +%build + +%install +install -p -c -m755 %{SOURCE2} %{buildroot}/iso_639.sed +install -p -c -m755 %{SOURCE3} %{buildroot}/iso_3166.sed + +cd %{buildroot} + +mkdir -p boot dev \ + etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \ + home media mnt opt proc root run/lock srv sys tmp \ + usr/{bin,etc,games,include,%{_lib}/{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/{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} + +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} + +sed -n -f %{buildroot}/iso_639.sed /usr/share/xml/iso-codes/iso_639.xml \ + >%{buildroot}/iso_639.tab +sed -n -f %{buildroot}/iso_3166.sed /usr/share/xml/iso-codes/iso_3166.xml \ + >%{buildroot}/iso_3166.tab + +grep -v "^$" %{buildroot}/iso_639.tab | grep -v "^#" | while read a b c d ; do + [[ "$d" =~ "^Reserved" ]] && continue + [[ "$d" =~ "^No linguistic" ]] && continue + + locale=$c + if [ "$locale" = "XX" ]; then + locale=$b + fi + echo "%lang(${locale}) /usr/share/locale/${locale}" >> $RPM_BUILD_DIR/filelist + echo "%lang(${locale}) %ghost %config(missingok) /usr/share/man/${locale}" >>$RPM_BUILD_DIR/filelist +done +cat %{SOURCE1} | grep -v "^#" | grep -v "^$" | while read loc ; do + locale=$loc + locality= + special= + [[ "$locale" =~ "@" ]] && locale=${locale%%%%@*} + [[ "$locale" =~ "_" ]] && locality=${locale##*_} + [[ "$locality" =~ "." ]] && locality=${locality%%%%.*} + [[ "$loc" =~ "_" ]] || [[ "$loc" =~ "@" ]] || special=$loc + + # If the locality is not official, skip it + if [ -n "$locality" ]; then + grep -q "^$locality" %{buildroot}/iso_3166.tab || continue + fi + # If the locale is not official and not special, skip it + if [ -z "$special" ]; then + egrep -q "[[:space:]]${locale%%_*}[[:space:]]" \ + %{buildroot}/iso_639.tab || continue + fi + echo "%lang(${locale}) /usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist + echo "%lang(${locale}) %ghost %config(missingok) /usr/share/man/${loc}" >> $RPM_BUILD_DIR/filelist +done + +rm -f %{buildroot}/iso_639.tab +rm -f %{buildroot}/iso_639.sed +rm -f %{buildroot}/iso_3166.tab +rm -f %{buildroot}/iso_3166.sed + +cat $RPM_BUILD_DIR/filelist | grep "locale" | while read a b ; do + mkdir -p -m 755 %{buildroot}/$b/LC_MESSAGES +done + +cat $RPM_BUILD_DIR/filelist | grep "/share/man" | while read a b c d; do + mkdir -p -m 755 %{buildroot}/$d/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p} +done + +for i in man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p}; do + echo "/usr/share/man/$i" >>$RPM_BUILD_DIR/filelist +done + +%pretrans -p +--# +--# If we are running in pretrans in a fresh root, there is no /usr and symlinks. +--# We cannot be sure, to be the very first rpm in the transaction list, +--# so, let's create the toplevel symlinks here and the directories they point to. +--# When our rpm is unpacked by cpio, it will set all permissions and modes later. +--# + +if posix.stat("/usr") == nil then + posix.mkdir("/usr") +end + +for i,dir in ipairs({"/lib", "/%{_lib}", "/sbin", "/bin"}) do + if posix.stat("/usr"..dir) == nil then + posix.mkdir("/usr"..dir) + if posix.stat(dir, "mode") == nil then + posix.symlink("usr"..dir, dir) + end + end +end + +return 0 + +%post -p +posix.symlink("../run", "/var/run") +posix.symlink("../run/lock", "/var/lock") + +%files -f filelist +%defattr(0755,root,root,-) +%dir %attr(555,root,root) +/bin +%attr(555,root,root) /boot +/dev +%dir /etc +%{_sysconfdir}/X11 +%{_sysconfdir}/xdg +%{_sysconfdir}/opt +%{_sysconfdir}/pm +%{_sysconfdir}/xinetd.d +%{_sysconfdir}/skel +%{_sysconfdir}/sysconfig +%{_sysconfdir}/pki +/home +/lib +#%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x +/%{_lib} +#%endif +/media +%dir /mnt +%dir /opt +%attr(555,root,root) /proc +%attr(550,root,root) /root +/run +/sbin +/srv +/sys +%attr(1777,root,root) /tmp +%dir /usr +%attr(555,root,root) /usr/bin +/usr/etc +/usr/games +/usr/include +%attr(555,root,root) /usr/lib +#%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x +%attr(555,root,root) /usr/%{_lib} +#%endif +/usr/libexec +/usr/local +%attr(555,root,root) /usr/sbin +%dir /usr/share +/usr/share/aclocal +/usr/share/applications +/usr/share/augeas +/usr/share/backgrounds +/usr/share/desktop-directories +/usr/share/dict +/usr/share/doc +%attr(555,root,root) %dir /usr/share/empty +/usr/share/games +/usr/share/ghostscript +/usr/share/gnome +/usr/share/icons +/usr/share/idl +/usr/share/info +%dir /usr/share/locale +%dir /usr/share/man +/usr/share/mime-info +/usr/share/misc +/usr/share/omf +/usr/share/pixmaps +/usr/share/sounds +/usr/share/themes +/usr/share/xsessions +/usr/share/X11 +/usr/src +/usr/tmp +%dir /var +%{_localstatedir}/adm +%{_localstatedir}/cache +%{_localstatedir}/db +%{_localstatedir}/empty +%{_localstatedir}/games +%{_localstatedir}/gopher +%{_localstatedir}/lib +%{_localstatedir}/local +%ghost %dir %attr(755,root,root) %{_localstatedir}/lock +%ghost %{_localstatedir}/lock/subsys +%{_localstatedir}/log +%{_localstatedir}/mail +%{_localstatedir}/nis +%{_localstatedir}/opt +%{_localstatedir}/preserve +%ghost %attr(755,root,root) %{_localstatedir}/run +%dir %{_localstatedir}/spool +%attr(755,root,root) %{_localstatedir}/spool/lpd +%attr(775,root,mail) %{_localstatedir}/spool/mail +%attr(755,uucp,uucp) %{_localstatedir}/spool/uucp +%attr(1777,root,root) %{_localstatedir}/tmp +%{_localstatedir}/yp + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gdbm.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gdbm.spec new file mode 100644 index 0000000..5fa2740 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gdbm.spec @@ -0,0 +1,112 @@ +%define keepstatic 1 + +Name: gdbm +%define lname libgdbm +Url: http://directory.fsf.org/GNU/gdbm.html +Version: 1.10 +Release: 0 +License: GPL-2.0+ +Summary: GNU dbm key/data database +Group: System/Libraries +Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz +Source2: baselibs.conf +BuildRequires: libtool + +%description +GNU dbm is a library of database functions that use extensible +hashing and work similar to the standard UNIX dbm. These routines are +provided to a programmer needing to create and manipulate a hashed +database. + +The basic use of GDBM is to store key/data pairs in a data file. Each +key must be unique and each key is paired with only one data item. + +The library provides primitives for storing key/data pairs, searching +and retrieving the data by its key and deleting a key along with its +data. It also supports sequential iteration over all key/data pairs in +a database. + +For compatibility with programs using old UNIX dbm functions, the +package also provides traditional dbm and ndbm interfaces. + +%package -n %lname +License: GPL-2.0+ +Summary: GNU dbm key/data database +Group: System/Libraries +Obsoletes: gdbm < %{version}-%{release} +Provides: gdbm = %{version}-%{release} + +%description -n %lname +GNU dbm is a library of database functions that use extensible +hashing and work similar to the standard UNIX dbm. These routines are +provided to a programmer needing to create and manipulate a hashed +database. + +The basic use of GDBM is to store key/data pairs in a data file. Each +key must be unique and each key is paired with only one data item. + +The library provides primitives for storing key/data pairs, searching +and retrieving the data by its key and deleting a key along with its +data. It also supports sequential iteration over all key/data pairs in +a database. + +For compatibility with programs using old UNIX dbm functions, the +package also provides traditional dbm and ndbm interfaces. + +%package devel +License: GPL-2.0+ ; LGPL-2.1+ +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: gdbm = %{version} +Provides: gdbm:/usr/lib/libgdbm.so + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags} -Wa,--noexecstack" +%configure --enable-libgdbm-compat --disable-nls +make %{?_smp_mflags}; + +%install +%make_install +echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +GROUP ( %{_libdir}/libgdbm.so %{_libdir}/libgdbm_compat.so )" > %{buildroot}/%{_libdir}/libndbm.so +echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_libdir}/libndbm.a + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc COPYING +%{_libdir}/libgdbm.so.4 +%{_libdir}/libgdbm.so.4.0.0 +%{_libdir}/libgdbm_compat.so.4 +%{_libdir}/libgdbm_compat.so.4.0.0 + +%files devel +%defattr(-,root,root) +%{_bindir}/testgdbm +%{_includedir}/dbm.h +%{_includedir}/gdbm.h +%{_includedir}/ndbm.h +%{_infodir}/gdbm.info.gz +%{_libdir}/libgdbm.a +%{_libdir}/libgdbm.so +%{_libdir}/libgdbm_compat.a +%{_libdir}/libgdbm_compat.so +%{_libdir}/libndbm.a +%{_libdir}/libndbm.so +%{_mandir}/man3/gdbm.3.gz + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gettext.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gettext.spec new file mode 100644 index 0000000..a668c29 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/gettext.spec @@ -0,0 +1,196 @@ +# The split of gettext into two packages is suggested by upstream (see +# the PACKAGING file). Here we name gettext-runtime as +# gettext-lib. Please be noted that gettext-runtime is LGPL while the +# others parts are of GPL. You should be careful of the license when +# adding files into these sub-packages. + + +%define enable_testing 0 + +Name: gettext +Version: 0.18.1.1 +Release: 2 +License: GPLv3+ and LGPLv2+ +Summary: GNU libraries and utilities for producing multi-lingual messages +Url: http://www.gnu.org/software/gettext/ +Group: Development/Tools +Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.bz2 +Source2: msghack.py +Source1001: packaging/gettext.manifest + +BuildRequires: autoconf >= 2.5 +BuildRequires: bison +# need expat for xgettext on glade +BuildRequires: expat-devel +BuildRequires: gcc-c++ +BuildRequires: libtool +#needed for ANSI to UTF8 conversion using msgconn +BuildRequires: libunistring + +%description +The GNU gettext package provides a set of tools and documentation for +producing multi-lingual messages in programs. Tools include a set of +conventions about how programs should be written to support message +catalogs, a directory and file naming organization for the message +catalogs, a runtime library which supports the retrieval of translated +messages, and stand-alone programs for handling the translatable and +the already translated strings. Gettext provides an easy to use +library and tools for creating, using, and modifying natural language +catalogs and is a powerful and simple method for internationalizing +programs. + +MeeGo's gettext is split into two packages: gettext-libs and +gettext-devel. gettext-libs is an LGPLv2+ package that contains +libraries and runtime needed by i18n programs; gettext-devel is used +only for development and building -- and shouldn't be needed by end +users. This gettext package is a meta-package that depends on +gettext-devel for transition. + +%package tools +License: GPL-3.0+ +Summary: Development files for %{name} +Group: Development/Tools +Requires: %{name}-runtime = %{version} +Obsoletes: gettext-devel <= 0.18.1.1-1.15 +Provides: gettext-devel + +%description tools +This package contains all development related files necessary for +developing or compiling applications/libraries that needs +internationalization capability. You also need this package if you +want to add gettext support for your project. + +%package runtime +License: LGPL-2.0+ +Summary: Libraries for %{name} +Group: System/Libraries +Obsoletes: gettext-libs <= 0.18.1.1-1.15 +Provides: gettext-libs + +%description runtime +This package contains libraries used internationalization support. + +%prep +%setup -q + + +%build +cp %{SOURCE1001} . +[ -f %{_datadir}/automake/depcomp ] && cp -f %{_datadir}/automake/{depcomp,ylwrap} . + +%ifarch %arm +# We add a compile flag for ARM to deal with a bug in qemu (msgmerge using pthread/gomp) +# msgmerge will lockup during execution. +%define addconfflag --without-libpth-prefix --disable-openmp +%else +%endif + +%reconfigure --without-included-gettext --enable-nls --disable-static \ + --enable-shared --with-pic-=yes --disable-csharp --without-libpth-prefix --disable-openmp +make %{?_smp_mflags} GCJFLAGS="-findirect-dispatch" + +%check +make check + +%install +make install DESTDIR=%{buildroot} INSTALL="install -p" \ + lispdir=%{_datadir}/emacs/site-lisp \ + aclocaldir=%{_datadir}/aclocal EXAMPLESFILES="" + +install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/msghack + +# make preloadable_libintl.so executable +chmod 755 %{buildroot}%{_libdir}/preloadable_libintl.so + +rm -f %{buildroot}%{_infodir}/dir + +# doc relocations +for i in gettext-runtime/man/*.html; do + rm %{buildroot}%{_datadir}/doc/gettext/`basename $i` +done +rm -r %{buildroot}%{_datadir}/doc/gettext/javadoc* + +rm -rf %{buildroot}%{_datadir}/doc/gettext/examples + +rm -rf htmldoc +mkdir htmldoc +mv %{buildroot}%{_datadir}/doc/gettext/* %{buildroot}%{_datadir}/doc/libasprintf/* htmldoc +rm -r %{buildroot}%{_datadir}/doc/libasprintf +rm -r %{buildroot}%{_datadir}/doc/gettext + +# remove unpackaged files from the buildroot +rm -rf %{buildroot}%{_datadir}/emacs +rm %{buildroot}%{_libdir}/lib*.la + + +%find_lang %{name}-runtime +%find_lang %{name}-tools +cat %{name}-*.lang > %{name}.lang + +%docs_package + +%post runtime -p /sbin/ldconfig + +%postun runtime -p /sbin/ldconfig + + +%files tools -f %{name}.lang +%manifest gettext.manifest +%defattr(-,root,root,-) +%doc COPYING +%{_datadir}/%{name}/projects/* +%{_datadir}/%{name}/config.rpath +%{_datadir}/%{name}/*.h +%{_datadir}/%{name}/intl +%{_datadir}/%{name}/po +%{_datadir}/%{name}/msgunfmt.tcl +%{_datadir}/aclocal/* +%{_includedir}/* +%{_libdir}/libasprintf.so +%{_libdir}/libgettextpo.so +%{_libdir}/libgettextlib*.so +%{_libdir}/libgettextsrc*.so +%{_libdir}/preloadable_libintl.so +%{_libdir}/gettext/hostname +%{_libdir}/gettext/project-id +%{_libdir}/gettext/urlget +%{_libdir}/gettext/user-email +%{_libdir}/libgettextpo.so.* +%{_datadir}/%{name}/javaversion.class +%{_datadir}/%{name}/archive*.tar.gz +%{_datadir}/%{name}/styles +%{_bindir}/autopoint +%{_bindir}/gettextize +%{_bindir}/msgattrib +%{_bindir}/msgcat +%{_bindir}/msgcmp +%{_bindir}/msgcomm +%{_bindir}/msgconv +%{_bindir}/msgen +%{_bindir}/msgexec +%{_bindir}/msgfilter +%{_bindir}/msgfmt +%{_bindir}/msggrep +%{_bindir}/msghack +%{_bindir}/msginit +%{_bindir}/msgmerge +%{_bindir}/msgunfmt +%{_bindir}/msguniq +%{_bindir}/recode-sr-latin +%{_bindir}/xgettext + +# Don't include language files here since that may inadvertently +# involve unneeded files. If you need to include a file in -libs, list +# it here explicitly +%files runtime +%manifest gettext.manifest +%defattr(-,root,root,-) +# Files listed here should be of LGPL license only, refer to upstream +# statement in PACKAGING file +%doc gettext-runtime/intl/COPYING* +%doc %{_datadir}/gettext/ABOUT-NLS +%{_bindir}/gettext +%{_bindir}/ngettext +%{_bindir}/envsubst +%{_bindir}/gettext.sh +%{_libdir}/libasprintf.so.* diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glib2.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glib2.spec new file mode 100644 index 0000000..a4454ab --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glib2.spec @@ -0,0 +1,167 @@ +#sbs-git:slp/unmodified/glib2.0 glib2 2.28.6 caa7e521cf925e84b8881633bcd98fd349dfd329 +%define libdir /%{_lib} + +Summary: A library of handy utility functions +Name: glib2 +Version: 2.28.6 +Release: 1 +License: LGPLv2+ +Group: System/Libraries +URL: http://www.gtk.org +Source: http://download.gnome.org/sources/glib/2.28/%{name}-%{version}.tar.gz +Source2: glib2.sh +Source3: glib2.csh +Source101: %{name}-rpmlintrc +Source1001: packaging/glib2.manifest + +Patch1: glib-2.24.0-syslog-message-handler.patch +Patch2: glib-no-fsync.patch +BuildRequires: pkgconfig +BuildRequires: gettext-tools +BuildRequires: libattr-devel +BuildRequires: zlib-devel + +%description +GLib is the low-level core library that forms the basis +for projects such as GTK+ and GNOME. It provides data structure +handling for C, portability wrappers, and interfaces for such runtime +functionality as an event loop, threads, dynamic loading, and an +object system. + +This package provides version 2 of GLib. + +%package devel +Summary: A library of handy utility functions +Group: Development/Libraries +Requires: pkgconfig +Requires: %{name} = %{version}-%{release} + +%description devel +The glib2-devel package includes the header files for +version 2 of the GLib library. + +# anaconda needs static libs, see RH bug #193143 +%package static +Summary: A library of handy utility functions +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +The glib2-static package includes static libraries +of version 2 of the GLib library. + +%prep +%setup -q +%patch1 -p1 +#patch2 -p1 + + +%build +cp %{SOURCE1001} . +%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib} --disable-selinux --disable-visibility --enable-debug=yes + +# +# First, build glib enabled for generating the Profile Guided Optimization +# metadata +# +make %{?_smp_mflags} CFLAGS="$CFLAGS -pg -fprofile-generate" + +# +# Now run the glib performance tests to create the profile dta +# +cd tests/gobject +make performance CFLAGS="$CFLAGS -pg -fprofile-generate" +cd ../.. +tests/gobject/performance type-check + +# +# And now compile again, using the generated profile data +# +rm `find -name "*.lo"` +rm `find -name "*.o"` +make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" + + +# truncate NEWS +awk '/^Overview of Changes/ { seen+=1 } +{ if (seen < 2) print } +{ if (seen == 2) { print "For older news, see http://git.gnome.org/cgit/glib/plain/NEWS"; exit } }' NEWS > tmp; mv tmp NEWS + + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +## glib2.sh and glib2.csh +./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.{a,la} + +# MeeGo does not provide bash completion +rm -rf ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d + +%find_lang glib20 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f glib20.lang +%manifest glib2.manifest +%defattr(-, root, root, -) +%doc AUTHORS COPYING NEWS README +%{libdir}/libglib-2.0.so.* +%{libdir}/libgthread-2.0.so.* +%{libdir}/libgmodule-2.0.so.* +%{libdir}/libgobject-2.0.so.* +%{libdir}/libgio-2.0.so.* +%{_sysconfdir}/profile.d/* +%dir %{_libdir}/gio +%dir %{_libdir}/gio/modules +#%{_libdir}/gio/modules/libgiofam.so +%{_bindir}/gio-querymodules +%{_bindir}/glib-compile-schemas +%{_bindir}/gsettings +%{_bindir}/gdbus +%doc %{_mandir}/man1/gio-querymodules.1.gz +%doc %{_mandir}/man1/glib-compile-schemas.1.gz +%doc %{_mandir}/man1/gsettings.1.gz +%doc %{_mandir}/man1/gdbus.1.gz + +%files devel +%manifest glib2.manifest +%defattr(-, root, root, -) +%{_libdir}/lib*.so +%{_libdir}/glib-2.0 +%{_includedir}/* +%{_datadir}/aclocal/* +%{_libdir}/pkgconfig/* +%{_datadir}/glib-2.0 +%{_datadir}/gdb/auto-load/lib/*.py* +%doc %{_datadir}/gtk-doc/html/* +%{_bindir}/glib-genmarshal +%{_bindir}/glib-gettextize +%{_bindir}/glib-mkenums +%{_bindir}/gobject-query +%{_bindir}/gtester +%attr (0755, root, root) %{_bindir}/gtester-report +%doc %{_mandir}/man1/glib-genmarshal.1.gz +%doc %{_mandir}/man1/glib-gettextize.1.gz +%doc %{_mandir}/man1/glib-mkenums.1.gz +%doc %{_mandir}/man1/gobject-query.1.gz +%doc %{_mandir}/man1/gtester-report.1.gz +%doc %{_mandir}/man1/gtester.1.gz + + +%files static +%manifest glib2.manifest +%defattr(-, root, root, -) +%{_libdir}/lib*.a + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glibc.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glibc.spec new file mode 100644 index 0000000..2347f6d --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/glibc.spec @@ -0,0 +1,800 @@ +# +# spec file for package glibc +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# + +# Run with osc --with=fast_build to have a shorter turnaround +# It will avoid building some parts of glibc +%bcond_with fast_build + +%define crypt_bf_version 1.2 + +Name: glibc +%define testsuite_build ("%{name}" == "glibc-testsuite") +Summary: Standard Shared Libraries (from the GNU C Library) +License: LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+ +Group: System/Libraries +BuildRequires: fdupes +BuildRequires: makeinfo +BuildRequires: xz +BuildRequires: gcc-c++ +BuildRequires: gettext-tools +BuildRequires: libstdc++-devel +#BuildRequires: pkgconfig(systemd) + +%define _filter_GLIBC_PRIVATE 1 +%if %_target_cpu == "i686" +# For i686 let's only build what's different from i586, so +# no need to build documentation +%define build_profile 1 +%define build_locales 1 +%define build_html 0 +%else +%if %{with fast_build} +%define build_profile 0 +%define build_locales 0 +%define build_html 0 +%else +# Default: +%define build_profile 1 +%define build_locales 1 +%define build_html 1 +%endif +%endif + +%define disable_assert 0 +%define enable_stackguard_randomization 1 + + +%ifarch x86_64 +%define enablekernel 2.6.16 +%else +%define enablekernel 2.6.16 +%endif +Conflicts: kernel < %{enablekernel} +%ifarch armv7l armv7hl +# The old runtime linker link gets not provided by rpm find.provides, but it exists +Provides: ld-linux.so.3 +Provides: ld-linux.so.3(GLIBC_2.4) +%endif +Version: 2.17 +Release: 0 +%define glibc_major_version 2.17 +%define git_id c758a6861537 +Url: http://www.gnu.org/software/libc/libc.html +Source: glibc-%{version}.tar.xz +Source5: nsswitch.conf +Source7: bindresvport.blacklist +Source8: glibc_post_upgrade.c +Source9: glibc.rpmlintrc +Source10: baselibs.conf +# For systemd +Source20: nscd.conf +Source21: nscd.service + +Requires(pre): filesystem +Provides: rtld(GNU_HASH) + +%description +The GNU C Library provides the most important standard libraries used +by nearly all programs: the standard C library, the standard math +library, and the POSIX thread library. A system is not functional +without these libraries. + +%package info +Summary: Info Files for the GNU C Library +License: GFDL-1.1 +Group: Documentation/Other +BuildArch: noarch + +%description info +This package contains the documentation for the GNU C library stored as +info files. Due to a lack of resources, this documentation is not +complete and is partially out of date. + +%package html +Summary: HTML Documentation for the GNU C Library +License: GFDL-1.1 +Group: Documentation/HTML +BuildArch: noarch + +%description html +This package contains the HTML documentation for the GNU C library. Due +to a lack of resources, this documentation is not complete and is +partially out of date. + +%package i18ndata +Summary: Database Sources for 'locale' +License: GPL-2.0+ and MIT +Group: System/Libraries +BuildArch: noarch + +%description i18ndata +This package contains the data needed to build the locale data files to +use the internationalization features of the GNU libc. It is normally +not necessary to install this packages, the data files are already +created. + +%package locale +Summary: Locale Data for Localized Programs +License: GPL-2.0+ and MIT and LGPL-2.1+ +Group: System/Libraries +Requires(post): /usr/bin/cat +Requires: glibc = %{version} + +%description locale +Locale data for the internationalisation features of the GNU C library. + +%package -n nscd +Summary: Name Service Caching Daemon +License: GPL-2.0+ +Group: System/Daemons +Provides: glibc:/usr/sbin/nscd +Requires: glibc = %{version} + +%description -n nscd +Nscd caches name service lookups and can dramatically improve +performance with NIS, NIS+, and LDAP. + +%package profile +Summary: Libc Profiling and Debugging Versions +License: LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+ +Group: Development/Libraries/C and C++ +Requires: glibc = %{version} + +%description profile +This package contains special versions of the GNU C library which are +necessary for profiling and debugging. + +%package devel +Summary: Include Files and Libraries Mandatory for Development +License: BSD-3-Clause and LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+ +Group: Development/Libraries/C and C++ +Requires: glibc = %{version} +Requires: linux-kernel-headers + +%description devel +These libraries are needed to develop programs which use the standard C +library. + +%package devel-static +Summary: C library static libraries for -static linking +License: BSD-3-Clause and LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+ +Group: Development/Libraries/C and C++ +Requires: %{name}-devel = %{version} +# Provide Fedora name for package to make packaging easier +Provides: %{name}-static = %version + +%description devel-static +The glibc-devel-static package contains the C library static libraries +for -static linking. You don't need these, unless you link statically, +which is highly discouraged. + +%package utils +Summary: Development utilities from GNU C library +License: LGPL-2.1+ +Group: Development/Languages/C and C++ +Requires: glibc = %{version} + +%description utils +The glibc-utils package contains mtrace, a memory leak tracer and +xtrace, a function call tracer which can be helpful during program +debugging. + +If you are unsure if you need this, don't install this package. + +%package extra +Summary: Extra binaries from GNU C Library +License: LGPL-2.1+ +Group: Development/Languages/C and C++ +Requires: glibc = %{version} + +%description extra +The glibc-extra package contains some extra binaries for glibc that +are not essential but recommend to use. + +makedb: A program to create a database for nss + +%package obsolete +Summary: Obsolete Shared Libraries from the GNU C Library +License: LGPL-2.0+ +Group: System/Libraries +Requires: glibc = %{version} + +%description obsolete +This package provides some old libraries from the GNU C Library which +are no longer supported. Additional it provides a compatibility library +for old binaries linked against glibc 2.0. + +Install this package if you need one of this libraries to get old +binaries working, but since this libraries are not supported and there +is no gurantee that they work for you, you should try to get newer +versions of your software. + +%prep +%setup -n glibc-%{version} -q + +%build +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. +%ifarch %arm +%define target %{_target_cpu}-tizen-linux-gnueabi +%else +%define target %{_target_cpu}-tizen-linux +%endif +# 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 \"%{target}\"" >> version.h +echo "#define GITID \"%{git_id}\"" >> version.h +# +# Default CFLAGS and Compiler +# +BuildFlags=$(echo %{optflags} | 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="%__cc" +BuildCCplus="%__cxx" +add_ons=",libidn" + + +BuildFlags="$BuildFlags -g" +%if %{disable_assert} + BuildFlags="$BuildFlags -DNDEBUG=1" +%endif +%ifarch %ix86 + add_ons=$add_ons +%endif +%ifarch %arm + add_ons=$add_ons,ports +%endif +%ifarch %arm + # fails to build otherwise - need to recheck and fix + %define enable_stackguard_randomization 0 +%endif + +configure_and_build_glibc() { + local dirname="$1"; shift + local cflags="$1"; shift + local addons="$1"; shift + mkdir "cc-$dirname" + cd "cc-$dirname" +%ifarch %arm + # remove asynchronous-unwind-tables during configure as it causes + # some checks to fail spuriously on arm + conf_cflags="${cflags/-fasynchronous-unwind-tables/}" + conf_cflags="${conf_cflags/-funwind-tables/}" +%else + conf_cflags="$cflags" +%endif + + profile="--disable-profile" +%if %{build_profile} + if [ "$dirname" = "base" ] ; then + profile="--enable-profile" + fi +%endif + CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \ + CC="$BuildCC" CXX="$BuildCCplus" ../configure \ + --prefix=%{_prefix} \ + --libexecdir=%{_libexecdir} --infodir=%{_infodir} \ + --enable-add-ons=nptl$addons \ + $profile \ + "$@" \ +%if %{enable_stackguard_randomization} + --enable-stackguard-randomization \ +%endif + --build=%{target} --host=%{target} \ +%ifarch %{ix86} x86_64 + --enable-multi-arch \ +%endif + --enable-kernel=%{enablekernel} \ + --enable-bind-now --enable-obsolete-rpc + # explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure) + make %{?_smp_mflags} #CFLAGS="$cflags" BUILD_CFLAGS="$cflags" + cd .. +} + + # + # Build base glibc + # + configure_and_build_glibc base "$BuildFlags" "$add_ons" + +# +# Build html documentation +# +%if %{build_html} +make -C cc-base html +%endif + +# +# Build glibc_post_upgrade binary +# +$BuildCC -static %{optflags} -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="%{_libdir}/gconv"' + + +####################################################################### +### +### CHECK +### +####################################################################### + +%check +# The testsuite will fail if asneeded is used +export LD_AS_NEEDED=0 +%if %{testsuite_build} +# Increase timeout +export TIMEOUTFACTOR=16 +%ifarch %ix86 x86_64 + make %{?_smp_mflags} -C cc-base -k check || echo make check failed +%else + make %{?_smp_mflags} -C cc-base check +%endif +%endif +# This has to pass on all platforms! +# Exceptions: +# None! +make %{?_smp_mflags} -C cc-base check-abi + +####################################################################### +### +### INSTALL +### +####################################################################### + +%install +%if !%{testsuite_build} +# 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 %{buildroot}%{_libdir}/gconv +touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache + +# Install base glibc +make %{?_smp_mflags} install_root=%{buildroot} 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 +%if %{build_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 %{?_smp_mflags} install_root=%{buildroot} localedata/install-locales + %fdupes %{buildroot}/usr/lib/locale + cd .. +%endif +# Create file list for glibc-locale package +%{find_lang} libc + +# Prepare obsolete/, used only on some architectures: +export RPM_BUILD_ROOT +%ifarch %ix86 +mkdir -p %{buildroot}/%{_lib}/obsolete +%endif + +# NPTL is not usable outside of glibc, so include +# the generic one (RH#162634) +cp -av bits/stdio-lock.h %{buildroot}%{_includedir}/bits/stdio-lock.h + + +# Miscelanna: + +install -m 0700 glibc_post_upgrade %{buildroot}%{_sbindir} + +install -m 644 %{SOURCE7} %{buildroot}/etc +install -m 644 %{SOURCE5} %{buildroot}/etc +install -m 644 posix/gai.conf %{buildroot}/etc + +mkdir -p %{buildroot}/etc/default +install -m 644 nis/nss %{buildroot}/etc/default/ + +mkdir -p %{buildroot}%{_includedir}/resolv +install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/ +install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/ + +%if %{build_html} +mkdir -p %{buildroot}%{_datadir}/doc/glibc +cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc +%endif + + +# nscd tools: + +cp nscd/nscd.conf %{buildroot}/etc +mkdir -p %{buildroot}/etc/init.d +ln -sf /sbin/service %{buildroot}/usr/sbin/rcnscd +mkdir -p %{buildroot}/var/run/nscd +touch %{buildroot}/var/run/nscd/{passwd,group,hosts} +touch %{buildroot}/var/run/nscd/{socket,nscd.pid} + +# +# Create ld.so.conf +# +cat > %{buildroot}/etc/ld.so.conf < +os.execute("/usr/bin/chkstat -n --warn --system -e %{_libexecdir}/pt_chown") + +%postun -p /sbin/ldconfig + +%post locale +for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do + [ -d "$l.d" ] || continue + echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l" + cat "$l.d"/* >>"$l" +done +/usr/sbin/iconvconfig + +%post info +%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz + +%postun info +%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz + +%post -n nscd +mkdir -p /var/run/nscd +exit 0 + + +%if !%{testsuite_build} +%files +####################################################################### +### +### FILES +### +####################################################################### + +# glibc +%defattr(-,root,root) +%doc LICENSES +%config(noreplace) /etc/bindresvport.blacklist +%config /etc/ld.so.conf +%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache +%config(noreplace) /etc/rpc +%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf +%verify(not md5 size mtime) %config(noreplace) /etc/gai.conf +%config(noreplace) /etc/default/nss +/%{_lib}/ld-%{glibc_major_version}.so + +# Each architecture has a different name for the dynamic linker: +%ifarch %arm +%ifarch armv7l armv7hl +/%{_lib}/ld-linux-armhf.so.3 +# Keep compatibility link +/%{_lib}/ld-linux.so.3 +%else +/%{_lib}/ld-linux.so.3 +%endif +%endif +%ifarch x86_64 +/%{_lib}/ld-linux-x86-64.so.2 +%endif +%ifarch %ix86 %sparc +/%{_lib}/ld-linux.so.2 +%endif + +/%{_lib}/libBrokenLocale-%{glibc_major_version}.so +/%{_lib}/libBrokenLocale.so.1 +/%{_lib}/libSegFault.so +/%{_lib}/libanl-%{glibc_major_version}.so +/%{_lib}/libanl.so.1 +/%{_lib}/libc-%{glibc_major_version}.so +/%{_lib}/libc.so.6* +/%{_lib}/libcidn-%{glibc_major_version}.so +/%{_lib}/libcidn.so.1 +/%{_lib}/libcrypt-%{glibc_major_version}.so +/%{_lib}/libcrypt.so.1 +/%{_lib}/libdl-%{glibc_major_version}.so +/%{_lib}/libdl.so.2* +/%{_lib}/libm-%{glibc_major_version}.so +/%{_lib}/libm.so.6* +/%{_lib}/libnsl-%{glibc_major_version}.so +/%{_lib}/libnsl.so.1 +/%{_lib}/libnss_compat-%{glibc_major_version}.so +/%{_lib}/libnss_compat.so.2 +/%{_lib}/libnss_db-%{glibc_major_version}.so +/%{_lib}/libnss_db.so.2 +/%{_lib}/libnss_dns-%{glibc_major_version}.so +/%{_lib}/libnss_dns.so.2 +/%{_lib}/libnss_files-%{glibc_major_version}.so +/%{_lib}/libnss_files.so.2 +/%{_lib}/libnss_hesiod-%{glibc_major_version}.so +/%{_lib}/libnss_hesiod.so.2 +/%{_lib}/libnss_nis-%{glibc_major_version}.so +/%{_lib}/libnss_nis.so.2 +/%{_lib}/libnss_nisplus-%{glibc_major_version}.so +/%{_lib}/libnss_nisplus.so.2 +/%{_lib}/libpthread-%{glibc_major_version}.so +/%{_lib}/libpthread.so.0 +/%{_lib}/libresolv-%{glibc_major_version}.so +/%{_lib}/libresolv.so.2 +/%{_lib}/librt-%{glibc_major_version}.so +/%{_lib}/librt.so.1 +/%{_lib}/libthread_db-1.0.so +/%{_lib}/libthread_db.so.1 +/%{_lib}/libutil-%{glibc_major_version}.so +/%{_lib}/libutil.so.1 +%define optimized_libs() \ + %dir %attr(0755,root,root) /%{_lib}/%1\ + /%{_lib}/%1/libc-%{glibc_major_version}.so\ + /%{_lib}/%1/libc.so.6*\ + /%{_lib}/%1/libm-%{glibc_major_version}.so\ + /%{_lib}/%1/libm.so.6*\ + /%{_lib}/%1/libpthread-%{glibc_major_version}.so\ + /%{_lib}/%1/libpthread.so.0\ + /%{_lib}/%1/librt-%{glibc_major_version}.so\ + /%{_lib}/%1/librt.so.1\ + /%{_lib}/%1/libthread_db-1.0.so\ + /%{_lib}/%1/libthread_db.so.1 + +%dir %attr(0700,root,root) /var/cache/ldconfig +/sbin/ldconfig +%{_bindir}/gencat +%{_bindir}/getconf +%{_bindir}/getent +%{_bindir}/iconv +%attr(755,root,root) %{_bindir}/ldd +%ifarch %ix86 sparc sparcv9 + %{_bindir}/lddlibc4 +%endif +%{_bindir}/locale +%{_bindir}/localedef +%verify(not mode caps) %attr(4755,root,root) %{_libexecdir}/pt_chown +%dir %attr(0755,root,root) %{_libexecdir}/getconf +%{_libexecdir}/getconf/* +%{_sbindir}/glibc_post_upgrade +%{_sbindir}/iconvconfig + +%ifarch %ix86 + +%files obsolete +%defattr (755,root,root,755) +%dir /%{_lib}/obsolete/ + #%dir /%{_lib}/obsolete/noversion + #/%{_lib}/obsolete/noversion/libNoVersion-%{glibc_major_version}.so + #/%{_lib}/obsolete/noversion/libNoVersion.so.1 +%endif + +%files locale -f libc.lang +%defattr(-,root,root) +%{_datadir}/locale/locale.alias +%if %{build_locales} +/usr/lib/locale/* +%endif +%{_libdir}/gconv + +%files devel +%defattr(-,root,root) +%doc COPYING COPYING.LIB NEWS README BUGS CONFORMANCE +%{_bindir}/catchsegv +%{_bindir}/rpcgen +%{_bindir}/sprof +%{_includedir}/* +%{_libdir}/*.o +%{_libdir}/*.so +# These static libraries are needed even for shared builds +%{_libdir}/libbsd-compat.a +%{_libdir}/libc_nonshared.a +%{_libdir}/libg.a +%{_libdir}/libieee.a +%ifarch ppc ppc64 s390 s390x sparc sparcv8 sparcv9 sparcv9v +# This is not built on sparc64. + %{_libdir}/libnldbl_nonshared.a +%endif +%{_libdir}/libmcheck.a +%{_libdir}/libpthread_nonshared.a +%{_libdir}/librpcsvc.a + +%files devel-static +%defattr(-,root,root) +%{_libdir}/libBrokenLocale.a +%{_libdir}/libanl.a +%{_libdir}/libc.a +%{_libdir}/libcrypt.a +%{_libdir}/libdl.a +%{_libdir}/libm.a +%{_libdir}/libnsl.a +%{_libdir}/libpthread.a +%{_libdir}/libresolv.a +%{_libdir}/librt.a +%{_libdir}/libutil.a + +%files info +%defattr(-,root,root) +%doc %{_infodir}/libc.info.gz +%doc %{_infodir}/libc.info-?.gz +%doc %{_infodir}/libc.info-??.gz + +%if %{build_html} +%files html +%defattr(-,root,root) +%doc %{_prefix}/share/doc/glibc +%endif + +%files i18ndata +%defattr(-,root,root) +%{_prefix}/share/i18n + +%files -n nscd +%defattr(-,root,root) +%config(noreplace) /etc/nscd.conf +%{_sbindir}/nscd +%{_sbindir}/rcnscd +/usr/lib/systemd/system/nscd.service +%dir /usr/lib/tmpfiles.d +/usr/lib/tmpfiles.d/nscd.conf +%dir %attr(0755,root,root) %ghost /var/run/nscd +%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid +%attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket +%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd +%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group +%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts + +%if %{build_profile} +%files profile +%defattr(-,root,root) +%{_libdir}/libc_p.a +%{_libdir}/libBrokenLocale_p.a +%{_libdir}/libanl_p.a +%{_libdir}/libm_p.a +%{_libdir}/libcrypt_p.a +%{_libdir}/libpthread_p.a +%{_libdir}/libresolv_p.a +%{_libdir}/libnsl_p.a +%{_libdir}/librt_p.a +%{_libdir}/librpcsvc_p.a +%{_libdir}/libutil_p.a +%{_libdir}/libdl_p.a +%endif + +%files utils +%defattr(-,root,root) +/%{_lib}/libmemusage.so +/%{_lib}/libpcprofile.so +%dir /%{_libdir}/audit +/%{_libdir}/audit/sotruss-lib.so +# These need gd-devel for building +# %%{_bindir}/memusage +# %%{_bindir}/memusagestat +%{_bindir}/mtrace +%{_bindir}/pcprofiledump +%{_bindir}/sotruss +%{_bindir}/xtrace +%{_bindir}/pldd + +%files extra +%defattr(-,root,root) +%{_bindir}/makedb +/var/lib/misc/Makefile + +%endif # !%{testsuite_build} + +%docs_package diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/help2man.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/help2man.spec new file mode 100644 index 0000000..43e3f5c --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/help2man.spec @@ -0,0 +1,44 @@ +Name: help2man +Version: 1.40.10 +Release: 0 +License: GPL-3.0+ +Summary: Create Simple Man Pages from --help Output +Url: http://www.gnu.org/software/help2man/ +Group: Development/Tools/Doc Generators +Source: %{name}-%{version}.tar.gz +BuildRequires: gettext-tools +BuildRequires: perl-gettext +Requires: perl-gettext + +%description +help2man is a script to create simple man pages from the --help and +--version output of programs. + +Since most GNU documentation is now in info format, this provides a way +to generate a placeholder man page pointing to that resource while +still providing some useful information. + +%prep +%setup -q + +%build +%configure --enable-nls +make %{?_smp_mflags} + +%install +%make_install + +%find_lang %{name} --with-man + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/help2man +%{_libdir}/help2man/ +%doc %{_infodir}/help2man.info%{ext_info} +%doc %{_mandir}/man1/help2man.1%{ext_man} +%dir %{_mandir}/?? +%dir %{_mandir}/??/man1 + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/hwdata.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/hwdata.spec new file mode 100644 index 0000000..67aedc5 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/hwdata.spec @@ -0,0 +1,32 @@ +Name: hwdata +Version: 0.234 +Release: 1 +License: GPL-2.0+ +Summary: Hardware identification and configuration data +Group: System/Base +Source0: %{name}-%{version}.tar.bz2 +Url: http://git.fedorahosted.org/git/hwdata.git +BuildArch: noarch +Provides: pciutils-ids +Source1: pci.ids +Source2: usb.ids + +%description +hwdata contains various hardware identification and configuration data, +such as the pci.ids database and MonitorsDb databases. + +%prep +%setup -q + +%build +# nothing to build + +%install +%make_install +cp %{S:1} %{buildroot}%{_datadir}/hwdata +cp %{S:2} %{buildroot}%{_datadir}/hwdata + +%files +%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist.conf +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/iso-codes.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/iso-codes.spec new file mode 100644 index 0000000..323fe93 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/iso-codes.spec @@ -0,0 +1,51 @@ +Name: iso-codes +Version: 3.13 +Release: 1 +License: LGPL-2.0+ +Summary: ISO code lists and translations +Url: http://alioth.debian.org/projects/pkg-isocodes/ +Group: System/Base +Source0: ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-%{version}.tar.bz2 +Source1001: iso-codes.manifest +BuildRequires: gettext-tools >= 0.16 +BuildArch: noarch + +%description +This package provides the ISO 639 Language code list, the ISO 4217 +Currency code list, the ISO 3166 Territory code list, and ISO 3166-2 +sub-territory lists, and all their translations in gettext format. + +%package devel +Summary: Files for development using %{name} +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This package contains the pkg-config files for development +when building programs that use %{name}. + +%prep +%setup -q + + +%build +cp %{SOURCE1001} . + +%configure +make %{?_smp_mflags} + +%install +%make_install + +%find_lang iso-codes --all-name + +%files -f iso-codes.lang +%manifest iso-codes.manifest +%dir %{_datadir}/xml/iso-codes +%{_datadir}/xml/iso-codes/*.xml + + +%files devel +%manifest iso-codes.manifest +%{_datadir}/pkgconfig/iso-codes.pc + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kbd.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kbd.spec new file mode 100644 index 0000000..837fd51 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kbd.spec @@ -0,0 +1,97 @@ +Name: kbd +Version: 1.15.3 +Release: 0 +Summary: Tools for configuring the console (keyboard, virtual terminals, etc + +License: GPL-2.0+ +Url: http://ftp.altlinux.org/pub/people/legion/kbd +Group: System Environment/Base +Source0: ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-%{version}.tar.bz2 +Source2: kbd-latsun-fonts.tar.bz2 +Source3: kbd-latarcyrheb-16-fixed.tar.bz2 +Source4: fr-dvorak.tar.bz2 +Source5: kbd-latarcyrheb-32.tar.bz2 + +BuildRequires: bison +BuildRequires: flex +BuildRequires: gettext +Requires: %{name}-misc = %{version} + +%description +The %{name} package contains tools for managing a Linux +system's console's behavior, including the keyboard, the screen +fonts, the virtual terminals and font files. + +%package misc +Summary: Data for kbd package +BuildArch: noarch + +%description misc +The %{name}-misc package contains data for kbd package - console fonts, +keymaps etc. Please note that %{name}-misc is not helpful without kbd. + +%prep +%setup -q -a 2 -a 3 -a 4 -a 5 + +# 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 + + +%build +%configure --prefix=%{_prefix} --datadir=%{_prefix}/lib/kbd --mandir=%{_mandir} --localedir=%{_datadir}/locale --disable-nls +make %{?_smp_mflags} + +%install +%make_install + +# ro_win.map.gz is useless +rm -f %{buildroot}/%{_prefix}/lib/kbd/keymaps/i386/qwerty/ro_win.map.gz + +# Create additional name for Serbian latin keyboard +ln -s sr-cy.map.gz %{buildroot}/%{_prefix}/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 %{buildroot}/%{_prefix}/lib/kbd/keymaps/i386/qwerty/ko.map.gz + +# Some microoptimization +sed -i -e 's,\,/usr/bin/kbd_mode,g;s,\,/usr/bin/setfont,g' \ + %{buildroot}/%{_bindir}/unicode_start + +# Link open to openvt +ln -s openvt %{buildroot}%{_bindir}/open + +## Move locale files to correct place +#cp -r %{buildroot}/lib/kbd/locale/ %{buildroot}%{_datadir}/locale +#rm -rf %{buildroot}/lib/kbd/locale + +%docs_package + +%files +%{_bindir}/* + +%files misc +%{_prefix}/lib/kbd + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kmod.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kmod.spec new file mode 100644 index 0000000..f93eba4 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/kmod.spec @@ -0,0 +1,126 @@ +Name: kmod +Version: 9 +Release: 0 +License: LGPL-2.1+ and GPL-2.0+ +%define lname libkmod +Summary: Utilities to load modules into the kernel +Url: http://www.politreco.com/2011/12/announce-kmod-2/ +Group: System/Kernel + +#Git-Web: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary +#Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod +Source: %{name}-%{version}.tar.xz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig >= 0.21 +BuildRequires: xz +BuildRequires: pkgconfig(liblzma) >= 4.99 +BuildRequires: pkgconfig(zlib) + +%description +kmod is a set of tools to handle common tasks with Linux kernel +modules like insert, remove, list, check properties, resolve +dependencies and aliases. + +These tools are designed on top of libkmod, a library that is shipped +with kmod. The aim is to be compatible with tools, configurations and +indexes from module-init-tools project. + +%package compat +License: GPL-2.0+ +Summary: Compat symlinks for kernel module utilities +Group: System/Kernel +Conflicts: module-init-tools +Requires(pre): filesystem + +%description compat +kmod is a set of tools to handle common tasks with Linux kernel +modules like insert, remove, list, check properties, resolve +dependencies and aliases. + +This package contains traditional name symlinks (lsmod, etc.) + +%package -n %lname +License: LGPL-2.1+ +Summary: Library to interact with Linux kernel modules +Group: System/Libraries + +%description -n %lname +libkmod was created to allow programs to easily insert, remove and +list modules, also checking its properties, dependencies and aliases. + +%package -n libkmod-devel +License: LGPL-2.1+ +Summary: Development files for libkmod +Group: Development/Libraries/C and C++ +Requires: %lname = %{version} + +%description -n libkmod-devel +libkmod was created to allow programs to easily insert, remove and +list modules, also checking its properties, dependencies and aliases. + +This package contains the development headers for the library found +in %lname. + +%prep +%setup -q + +%build +autoreconf -fi +# The extra --includedir gives us the possibility to detect dependent +# packages which fail to properly use pkgconfig. +%configure \ + --with-xz \ + --with-zlib \ + --includedir=%{_includedir}/%{name}-%{version} \ + --with-rootlibdir=%{_libdir} \ + --bindir=%{_bindir} +make %{?_smp_mflags} + +%check +make check + +%install +%make_install + +# kmod-compat +mkdir -p %{buildroot}/%{_sbindir} +ln -s %{_bindir}/kmod %{buildroot}/%{_bindir}/lsmod +for i in depmod insmod lsmod modinfo modprobe rmmod; do + ln -s %{_bindir}/kmod %{buildroot}/%{_sbindir}/$i +done; + + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-,root,root) +%{_bindir}/kmod + +%files -n %lname +%defattr(-,root,root) +%{_libdir}/libkmod.so.2* + +%files -n libkmod-devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/pkgconfig/libkmod.pc +%{_libdir}/libkmod.so + +%files compat +%defattr(-,root,root) +%{_bindir}/lsmod +%{_sbindir}/depmod +%{_sbindir}/insmod +%{_sbindir}/lsmod +%{_sbindir}/modinfo +%{_sbindir}/modprobe +%{_sbindir}/rmmod + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap-ng.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap-ng.spec new file mode 100644 index 0000000..e714206 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap-ng.spec @@ -0,0 +1,86 @@ +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} + +Name: libcap-ng +Version: 0.6.6 +Release: 0 +License: LGPL-2.1+ +Summary: An alternate POSIX capabilities library +%define soname 0 +%define rname libcap-ng +Url: http://people.redhat.com/sgrubb/libcap-ng +Group: System/Libraries +# http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +Source99: libcap-ng.rpmlintrc +BuildRequires: kernel-headers >= 2.6.11 +BuildRequires: libattr-devel +BuildRequires: pkg-config +BuildRequires: python + +%description +Libcap-ng is a library that makes using posix capabilities easier + +%package devel + +License: LGPL-2.1+ +Summary: Header files for libcap-ng library +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: kernel-headers >= 2.6.11 +Requires: pkgconfig + +%description devel +The libcap-ng-devel package contains the files needed for developing +applications that need to use the libcap-ng library. + +%package utils + +License: GPL-2.0+ +Summary: Utilities for analysing and setting file capabilities +Group: System/Base + +%description utils +The libcap-ng-utils package contains applications to analyse the +posix capabilities of all the program running on a system. It also +lets you set the file system based capabilities. + +%prep +%setup -q -n %{rname}-%{version} + +%build +%configure --disable-static --with-pic --with-python=no +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname} +%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname}.* + +%files devel +%defattr(-,root,root,-) +%attr(0644,root,root) %{_mandir}/man3/*.3%{ext_man} +%attr(0644,root,root) %{_includedir}/cap-ng.h +%attr(0755,root,root) %{_libdir}/%{rname}.so +%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4 +%{_libdir}/pkgconfig/%{rname}.pc + +%files utils +%defattr(-,root,root,-) +%doc COPYING +%attr(0755,root,root) %{_bindir}/captest +%attr(0755,root,root) %{_bindir}/filecap +%attr(0755,root,root) %{_bindir}/netcap +%attr(0755,root,root) %{_bindir}/pscap +%attr(0644,root,root) %{_mandir}/man8/*.8%{ext_man} + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap.spec new file mode 100644 index 0000000..f9a4af0 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libcap.spec @@ -0,0 +1,87 @@ +Name: libcap +Version: 2.22 +Release: 1 +License: BSD-3-Clause ; GPL-2.0 +Summary: Library for Capabilities (linux-privs) Support +Url: https://sites.google.com/site/fullycapable/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: fdupes +BuildRequires: libattr-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define debug_package_requires libcap2 = %{version}-%{release} + +%description +Capabilities are a measure to limit the omnipotence of the superuser. +Currently a program started by root or setuid root has the power to do +anything. Capabilities (Linux-Privs) provide a more fine-grained access +control. Without kernel patches, you can use this library to drop +capabilities within setuid binaries. If you use patches, this can be +done automatically by the kernel. + +%package devel +License: BSD-3-Clause ; GPL-2.0 +Summary: Development files for libcap +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libcap = %{version} + +%description devel +Development files (Headers, libraries for static linking, etc) for +libcap. + +libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) +draft 15 capabilities. + +Install libcap-devel if you want to develop or compile applications +using libcap. + +%package progs +License: BSD-3-Clause ; GPL-2.0 +Summary: Libcap utility programs +Group: System/Filesystems + +%description progs +This package contains utility programs handling capabilities via +libcap. + +%prep +%setup -q + +%build +# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="%{optflags}" +lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}" + +%install +make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} RAISE_SETFCAP=no +# remove unneeded files +rm -f %{buildroot}/%{_lib}/*.*a +# move *.so file to libdir and relink +rm -f %{buildroot}/%{_lib}/*.so +mkdir -p %{buildroot}%{_libdir} +ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so +%fdupes -s %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%attr(755,root,root) /%{_lib}/libcap.so.* + +%files progs +%defattr(-,root,root) +%{_mandir}/man1/* +%{_mandir}/man8/* +/sbin/* + +%files devel +%defattr(-,root,root) +%doc License README CHANGELOG +%{_includedir}/sys/capability.h +%{_libdir}/*.so +%{_mandir}/man3/* + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgcrypt.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgcrypt.spec new file mode 100644 index 0000000..4a2f2d6 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgcrypt.spec @@ -0,0 +1,78 @@ +Name: libgcrypt +Version: 1.5.0 +Release: 0 +License: GPL-2.0+ ; LGPL-2.1+ +Summary: The GNU Crypto Library +%define libsoname %{name} +Url: http://directory.fsf.org/wiki/Libgcrypt +Group: Development/Libraries/C and C++ +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: libgpg-error-devel >= 1.8 +BuildRequires: libtool + +%description +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + +%package devel +License: GFDL-1.1 ; GPL-2.0+ ; LGPL-2.1+ ; MIT +Summary: The GNU Crypto Library +Group: Development/Libraries/C and C++ +Requires: %{libsoname} = %{version} +Requires: glibc-devel +Requires: libgpg-error-devel >= 1.8 + +%description devel +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + +This package contains needed files to compile and link against the +library. + +%prep +%setup -q + +%build +# 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 +%configure --with-pic \ + --enable-noexecstack \ + --disable-static \ + --enable-ciphers="$ENABLE_CIPHER" \ + --enable-pubkey-ciphers="$ENABLE_PUBKEY" \ + --enable-digests="$ENABLE_DIGEST" +make %{?_smp_mflags} + +%check +# Nice idea. however this uses /dev/random, which hangs +# on hardware without random feeds. +#make check + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/%{name}.so.11* + +%files devel +%defattr(-,root,root) +%{_infodir}/gcrypt.info.gz +%{_infodir}/gcrypt.info-1.gz +%{_bindir}/dumpsexp +%{_bindir}/hmac256 +%{_bindir}/%{name}-config +%{_libdir}/%{name}.so +%{_includedir}/gcrypt*.h +%{_datadir}/aclocal/%{name}.m4 + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgpg-error.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgpg-error.spec new file mode 100644 index 0000000..cbe83d5 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libgpg-error.spec @@ -0,0 +1,60 @@ +Name: libgpg-error +Version: 1.10 +Release: 0 +License: GPL-2.0+ ; LGPL-2.1+ +Summary: Library That Defines Common Error Values for All GnuPG Components +Url: http://www.gnupg.org/ +Group: Development/Libraries/C and C++ +Source: %{name}-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: gettext-tools +BuildRequires: libtool + +%description +This is a library that defines common error values for all GnuPG +components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, +pinentry, SmartCard Daemon, and possibly more in the future. + +%package devel +License: GPL-2.0+ ; LGPL-2.1+ ; MIT +Summary: Development package for libgpg-error +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libgpg-error = %{version} + +%description devel +Files needed for software development using libgpg-error. + +%prep +%setup -q -n libgpg-error-%{version} + +%build +autoreconf -fiv +%configure --disable-static --with-pic +make %{?_smp_mflags} + +%install +%make_install +rm -r %{buildroot}%{_datadir}/common-lisp +%find_lang %{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%lang_package + + +%files +%defattr(-,root,root) +%license COPYING.LIB COPYING +%{_libdir}/libgpg-error*.so.* + +%files devel +%defattr(-,root,root) +%{_datadir}/aclocal/gpg-error.m4 +%{_includedir}/* +%{_bindir}/* +%{_libdir}/libgpg-error*.so + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libxml2.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libxml2.spec new file mode 100644 index 0000000..ea441b8 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libxml2.spec @@ -0,0 +1,153 @@ +%define lname libxml2 + +Name: libxml2 +Version: 2.8.0 +Release: 0 +Summary: A Library to Manipulate XML Files +License: MIT +Group: System/Libraries +Url: http://xmlsoft.org +# Source ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz changes every day +Source: ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz +Source2: baselibs.conf +Patch0: fix-perl.diff +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel + +%description +The XML C library was initially developed for the GNOME project. It is +now used by many programs to load and save extensible data structures +or manipulate any kind of XML files. + +This library implements a number of existing standards related to +markup languages, including the XML standard, name spaces in XML, XML +Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and +XML catalogs. In most cases, libxml tries to implement the +specification in a rather strict way. To some extent, it provides +support for the following specifications, but does not claim to +implement them: DOM, FTP client, HTTP client, and SAX. + +The library also supports RelaxNG. Support for W3C XML Schemas is in +progress. + + +%package tools +Summary: Tools using libxml +Group: System/Libraries + +%description tools +This package contains xmllint, a very useful tool proving libxml's power. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} +Requires: %{name}-tools = %{version} +Requires: glibc-devel +Requires: readline-devel +Requires: xz-devel +Requires: zlib-devel + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package doc +Summary: A Library to Manipulate XML Files +Group: System/Libraries +Requires: %{lname} = %{version} +BuildArch: noarch + +%description doc +The XML C library was initially developed for the GNOME project. It is +now used by many programs to load and save extensible data structures +or manipulate any kind of XML files. + +This library implements a number of existing standards related to +markup languages, including the XML standard, name spaces in XML, XML +Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and +XML catalogs. In most cases, libxml tries to implement the +specification in a rather strict way. To some extent, it provides +support for the following specifications, but does not claim to +implement them: DOM, FTP client, HTTP client, and SAX. + +The library also supports RelaxNG. Support for W3C XML Schemas is in +progress. + +%prep +%setup -q +%patch0 + +%build +%configure --disable-static \ + --docdir=%_docdir/%name \ + --with-html-dir=%_docdir/%name/html \ + --with-fexceptions \ + --with-history \ + --without-python \ + --enable-ipv6 \ + --with-sax1 \ + --with-regexps \ + --with-threads \ + --with-reader \ + --with-http + +make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name" + +%check +# qemu-arm can't keep up atm, disabling check for arm +%ifnarch %arm +make check +%endif + +%install +make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name" +mkdir -p "%buildroot/%_docdir/%name" +cp -a AUTHORS NEWS README COPYING* Copyright TODO* %{buildroot}%{_docdir}/%{name}/ +ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/lib*.so.* +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/[ANRCT]* + +%files tools +%defattr(-, root, root) +%{_bindir}/xmllint +%{_bindir}/xmlcatalog +%doc %{_mandir}/man1/xmllint.1* +%doc %{_mandir}/man1/xmlcatalog.1* + +%files devel +%defattr(-, root, root) +%{_bindir}/xml2-config +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/libxml.m4 +%{_includedir}/libxml +%{_includedir}/libxml2 +%{_libdir}/lib*.so +# libxml2.la is needed for the python-libxml2 build. Deleting it breaks build of python-libxml2. +%{_libdir}/libxml2.la +%{_libdir}/*.sh +%{_libdir}/pkgconfig/*.pc +%doc %{_mandir}/man1/xml2-config.1* +%doc %{_mandir}/man3/libxml.3* + +%files doc +%defattr(-, root, root) +%{_datadir}/gtk-doc/html/* +%doc %{_docdir}/%{name}/examples +%doc %{_docdir}/%{name}/html +# owning these directories prevents gtk-doc <-> libxml2 build loop: +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libzio.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libzio.spec new file mode 100644 index 0000000..bc89d59 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/libzio.spec @@ -0,0 +1,63 @@ +Name: libzio +Version: 0.99 +Release: 0 +License: GPL-2.0+ +Summary: A Library for Accessing Compressed Text Files +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: bzip2-devel +BuildRequires: xz +BuildRequires: xz-devel +BuildRequires: zlib-devel + +%description +Libzio provides a wrapper function for reading or writing gzip or bzip2 +files with FILE streams. + +%package devel +Summary: Libzio development files +Group: Development/Libraries/C and C++ +Requires: libzio = %{version} + +%description devel +Libzio development files including zio.h, the manual page fzopen(3), +and static library. + +%prep +%setup -q + +%build +make %{?_smp_mflags} noweak + +%check +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 + +%install +make DESTDIR=%{buildroot} install libdir=%{_libdir} mandir=%{_mandir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzio.so.0 +%{_libdir}/libzio.so.%{version} + +%files devel +%defattr(-,root,root) +%doc README COPYING +%{_libdir}/libzio.a +%{_libdir}/libzio.so +%{_mandir}/man3/fzopen.3* +/usr/include/zio.h + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/lua.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/lua.spec new file mode 100644 index 0000000..b2b5736 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/lua.spec @@ -0,0 +1,135 @@ +Name: lua +Version: 5.1.4 +Release: 0 +License: MIT +Summary: Small Embeddable Language with Simple Procedural Syntax +Url: http://www.lua.org +Group: System/Libraries +Source: %{name}-%{version}.tar.gz +Source1: macros.lua +Source2: baselibs.conf +%define major_version 5.1 +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%package devel +Summary: Development files for lua +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +This package contains files needed for embedding lua into your +application. + +%package -n liblua +Summary: Small Embeddable Language with Simple Procedural Syntax +Group: System/Libraries + +%description -n liblua +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%package doc +Summary: Small Embeddable Language with Simple Procedural Syntax +Group: System/Libraries +BuildArch: noarch + +%description doc +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%prep +%setup -q -n lua-%{version} + +%build +sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h +make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all + +%install +make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1" +install -D -m644 etc/lua.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc +for file in lua luac ; do + mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}" + mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1" +done +install -d -m 0755 %{buildroot}%{_libdir}/lua/%{major_version} +install -d -m 0755 %{buildroot}%{_datadir}/lua/%{major_version} +install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua + +#ln -sf liblua.so.%{major_version} %{buildroot}/%{_libdir}/liblua-%{major_version}.so +chmod +x %{buildroot}/%{_libdir}/liblua.so.%{major_version} + +%post -n liblua -p /sbin/ldconfig + +%postun -n liblua -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYRIGHT HISTORY README +%{_mandir}/man1/lua%{major_version}.1* +%{_mandir}/man1/luac%{major_version}.1* +%{_bindir}/lua%{major_version} +%{_bindir}/luac%{major_version} +%dir %{_libdir}/lua +%dir %{_libdir}/lua/%{major_version} +%dir %{_datadir}/lua +%dir %{_datadir}/lua/%{major_version} +%{_sysconfdir}/rpm/macros.lua + +%files -n liblua +%defattr(-,root,root) +%{_libdir}/liblua.so.%{major_version} +###%{_libdir}/liblua-%{major_version}.so + +%files devel +%defattr(-,root,root) +%{_includedir}/lauxlib.h +%{_includedir}/lua.h +%{_includedir}/lua.hpp +%{_includedir}/luaconf.h +%{_includedir}/lualib.h +%{_libdir}/pkgconfig/lua.pc +%{_libdir}/liblua.a +%{_libdir}/liblua.so + +%files doc +%defattr(-,root,root) +%doc doc/* + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ncurses.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ncurses.spec new file mode 100644 index 0000000..a5ca215 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/ncurses.spec @@ -0,0 +1,705 @@ +# +# spec file for package ncurses +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# + + +Name: ncurses +#!BuildIgnore: terminfo +BuildRequires: gcc-c++ +%define terminfo() %{_datadir}/%{0}/%{1} +%define tabset() %{_datadir}/%{0}/%{1} +Version: 5.9 +Release: 0 +Summary: New curses Libraries +License: MIT +Group: System/Base +Url: http://invisible-island.net/ncurses/ncurses.html +Source0: ncurses-%{version}.tar.gz +Source2: handle.linux +Source4: ncurses-rpmlintrc +Source6: edit.sed +Source7: baselibs.conf +%global _sysconfdir /etc +%global _miscdir %{_datadir}/misc +%global _incdir %{_includedir} +%global root %{_tmppath}/%{name}-%{version}-store +%global abi %(ver=%{version}; echo ${ver%.*}) + +%description +As soon as a text application needs to directly control its output to +the screen (if it wants to place the cursor at location (x,y) then +write text), ncurses is used. The panel and the forms libraries are +included in this package. These new libraries support color, special +characters, and panels. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + +%package -n ncurses-utils +Summary: Tools using the new curses libraries +License: MIT +Group: System/Base +Provides: ncurses:%{_bindir}/tput + +%description -n ncurses-utils +The ncurses based utilities are as follows: + +clear -- emits clear-screen for current terminal + +tabs -- set tabs on a terminal + +toe -- table of entries utility + +tput -- shell-script access to terminal capabilities. + +tset -- terminal-initialization utility + +reset -- terminal initialization utility + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + Zeyd M. Ben-Halim + Juergen Pfeifer + Pavel Curtis + +%package -n terminfo-base +Summary: A terminal descriptions database +License: MIT +Group: System/Base +Provides: ncurses:%{_datadir}/tabset + +%description -n terminfo-base +This is the terminfo basic database, maintained in the ncurses package. +This database is the official successor to the 4.4BSD termcap file and +contains information about any known terminal. The ncurses library +makes use of this database to use terminals correctly. + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + +%if %abi == 5 + +%package -n libncurses +Summary: The New curses Libraries +License: MIT +Group: System/Libraries +Requires: terminfo-base +Provides: ncurses = %{version} +Obsoletes: ncurses < %{version} +Recommends: ncurses-utils = %{version} + +%description -n libncurses +The ncurses library is used by the most curses based terminal +applications for controling its output and input to the screen. + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + Zeyd M. Ben-Halim + Juergen Pfeifer + Pavel Curtis + +%endif + +%package -n libncurses6 +Summary: The New curses Libraries +License: MIT +Group: System/Libraries +Requires: terminfo-base +%if %abi == 5 +Provides: ncurses = 6.0 +%else +Provides: ncurses = %{version} +%endif + +%description -n libncurses6 +The ncurses library is used by the most curses based terminal +applications for controling its output and input to the screen. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + +%package -n terminfo +Summary: A terminal descriptions database +License: SUSE-Public-Domain +Group: System/Base + +%description -n terminfo +This is the terminfo reference database, maintained in the ncurses +package. This database is the official successor to the 4.4BSD termcap +file and contains information about any known terminal. The ncurses +library makes use of this database to use terminals correctly. If you +just use the Linux console, xterm, and VT100, you probably will not +need this database -- a minimal /usr/share/terminfo tree for these +terminals is already included in the terminfo-base package. + + + +Authors: +-------- + Eric S. Raymond + Thomas E. Dickey + +%package -n ncurses-devel +Summary: Include Files and Libraries mandatory for Development +License: MIT +Group: Development/Libraries/C and C++ +Provides: ncurses:%{_incdir}/ncurses.h +Requires: ncurses = %{version}-%{release} +%if %abi >= 6 +Requires: libncurses6 = %{version}-%{release} +%else +Requires: libncurses = %{version}-%{release} +Requires: libncurses6 = %{version}-%{release} +%endif + +%description -n ncurses-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + + +%prep +%setup -q -n ncurses-%{version} +rm -vf include/ncurses_dll.h +rm -vf mkdirs.sh +rm -vf tar-copy.sh +rm -vf mk-dlls.sh + +%build + 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 + %configure \ + --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-colorfgbg \ + --enable-sp-funcs \ +%if %abi >= 6 + --with-pthread \ + --enable-reentrant \ + --enable-ext-mouse \ + --disable-widec \ + --enable-ext-colors \ +%else + --without-pthread \ + --disable-reentrant \ + --disable-ext-mouse \ + --disable-widec \ + --disable-ext-colors \ +%endif + --enable-weak-symbols \ + --enable-wgetch-events \ + --enable-pthreads-eintr \ + --enable-string-hacks \ + --prefix=%{_prefix} \ + --exec-prefix=%{_prefix}\ + --libdir=%{_libdir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} \ + --includedir=%{_incdir} \ + "${WITHCHTYPE}" \ + --disable-widec \ + --disable-tic-depends \ + --with-ticlib=tic + # + # 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 %{?_smp_mflags} -C include + make %{?_smp_mflags} -C ncurses fallback.c FALLBACK_LIST="" + make %{?_smp_mflags} -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 +%if 0%{?_crossbuild} +export BUILD_TIC=/usr/bin/tic +%else +export BUILD_TIC=$PWD/../progs/tic +%endif + $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 %{root} + mkdir %{root} + # + # 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 %{?_smp_mflags} + lib=%{_libdir} + inc=%{_incdir}/ncurses + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install DESTDIR=%{root} includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term,termcap}.h %{root}${inc%%/*}/ + sh %{S:6} --cflags "-I${inc}" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses5-config +%if %abi < 6 + # + # 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 %{?_smp_mflags} + lib=%{_libdir}/ncurses6 + inc=%{_incdir}/ncurses6/ncurses + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term}.h %{root}${inc%%/*}/ + sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses6-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1 + popd +%endif + # + # 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. + # +%if %abi >= 6 + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs +%else + eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs +%endif + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make %{?_smp_mflags} + lib=%{_libdir} + inc=%{_incdir}/ncursesw + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + sh %{S:6} --cflags "-I${inc}" --libs "-lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw5-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw5-config.1 + popd +%if %abi < 6 + # + # 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 %{?_smp_mflags} + lib=%{_libdir}/ncurses6 + inc=%{_incdir}/ncurses6/ncursesw + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw6-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw6-config.1 + popd +%endif + +%install + GZIP="-9" + export GZIP + (cd %{root}/; tar -cpsSf - *)|tar -xpsSf - -C %{buildroot}/ + rm -rf %{root} + mkdir %{buildroot}/%{_lib} + for model in libncurses libncursest libncursesw libncursestw libtinfo + do + for lib in %{buildroot}%{_libdir}/${model}.so.* ; do + test -e "${lib}" || continue + mv "${lib}" %{buildroot}/%{_lib}/ || continue + done + for lib in %{buildroot}/%{_lib}/${model}.so.%{abi} ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#%{buildroot}} + lnk=%{buildroot}%{_libdir}/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + *) ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so + esac + done + done +%if 0 + lnk=%{buildroot}%{_libdir}/libtermcap.so + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(AS_NEEDED(-ltinfo))" >> ${lnk} +%endif + chmod 0755 %{buildroot}/%{_lib}/lib*.so.* + chmod 0755 %{buildroot}/%{_libdir}/lib*.so.* + chmod a-x %{buildroot}/%{_libdir}/lib*.a +%if %abi < 6 + if test -d %{buildroot}%{_libdir}/ncurses6 ; then + mv %{buildroot}%{_libdir}/ncurses6/*.so.6* %{buildroot}%{_libdir}/ + for lib in %{buildroot}%{_libdir}/ncurses6/*.so + do + lnk=$lib + lib=/%{_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 %{buildroot}%{_libdir}/${model}.so.* ; do + test -e "${lib}" || continue + mv "${lib}" %{buildroot}/%{_lib}/ || continue + done + for lib in %{buildroot}/%{_lib}/${model}.so.6 ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#%{buildroot}} + lnk=%{buildroot}%{_libdir}/ncurses6/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo 'SEARCH_DIR(%{_libdir}/ncurses6)' >> ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + *) ln -sf ${lib} %{buildroot}%{_libdir}/ncurses6/${model}.so + esac + done + done + chmod 0755 %{buildroot}/%{_lib}/lib*.so.6* + chmod 0755 %{buildroot}/%{_libdir}/lib*.so.6* + chmod a-x %{buildroot}/%{_libdir}/ncurses6/lib*.a + fi +%endif + test -n "%{buildroot}" || ldconfig -N + mkdir -p %{buildroot}%{_defaultdocdir}/ncurses + bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2 + install -m 644 misc/terminfo.src.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 doc/html/*.html %{buildroot}%{_defaultdocdir}/ncurses/ + bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2 + install -m 644 doc/ncurses-intro.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2 + install -m 644 doc/hackguide.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 README %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 NEWS %{buildroot}%{_defaultdocdir}/ncurses/ + mkdir -p %{buildroot}%{_sysconfdir} + mkdir -p %{buildroot}%{_miscdir} + LD_LIBRARY_PATH=$PWD/lib + export LD_LIBRARY_PATH + pushd ncurses/ + { echo "# See annotated version in %{_defaultdocdir}/ncurses/terminfo.src.bz2" +%if 0%{?_crossbuild} + BUILD_TIC=/usr/bin/tic +%else + BUILD_TIC=$PWD/../progs/tic +%endif + $BUILD_TIC -C -r ../misc/terminfo.src | grep -E -v '^#'; } > termcap + # Gererate new termcap entries for various linux consoles + TERMCAP=termcap \ + TERMINFO=%{buildroot}%{_datadir}/terminfo \ + bash %{SOURCE2} + install -m 0644 termcap.new %{buildroot}%{_miscdir}/termcap + popd + unset LD_LIBRARY_PATH + if test `%{_bindir}/id -u` = '0' ; then + chown root:root %{buildroot}%{_miscdir}/termcap + chmod 0644 %{buildroot}%{_miscdir}/termcap + fi + ln -sf %{_miscdir}/termcap %{buildroot}%{_sysconfdir}/termcap + (cat > default.list) <<-EOF + %{tabset std} + %{tabset stdcrt} + %{tabset vt100} + %{tabset vt300} + %{terminfo a/ansi} + %{terminfo d/dumb} + %{terminfo g/gnome} + %{terminfo g/gnome-rh72} + %{terminfo k/klone+color} + %{terminfo k/kvt} + %{terminfo l/linux} + %{terminfo l/linux-m} + %{terminfo l/linux-nic} + %{terminfo m/mlterm} + %{terminfo n/nxterm} + %{terminfo r/rxvt} + %{terminfo s/screen} + %{terminfo s/screen-w} + %{terminfo s/screen-256color} + %{terminfo s/sun} + %{terminfo u/unknown} + %{terminfo v/vt100} + %{terminfo v/vt102} + %{terminfo v/vt220} + %{terminfo v/vt220-8} + %{terminfo v/vt220-8bit} + %{terminfo v/vt320} + %{terminfo v/vt52} + %{terminfo x/xterm} + %{terminfo x/xterm-color} + %{terminfo x/xterm-256color} + %{terminfo x/xterm-basic} + %{terminfo x/xterm-nic} + %{terminfo x/xterm-r6} + EOF + find %{buildroot}%{tabset ""} %{buildroot}%{terminfo ""} \ + \( -type f -or -type l \) | \ + sed "s@^%{buildroot}@@g" | \ + grep -v -F -x -f default.list \ + > extension.list + rm -f %{buildroot}%{_prefix}/lib/terminfo +%if %abi < 6 + +%post -n libncurses -p /sbin/ldconfig + +%postun -n libncurses -p /sbin/ldconfig +%endif + +%post -n libncurses6 -p /sbin/ldconfig + +%postun -n libncurses6 -p /sbin/ldconfig + +%files -n terminfo-base -f default.list +%defattr(-,root,root) +%{_sysconfdir}/termcap +%config %{_miscdir}/termcap +%dir %{_datadir}/tabset/ +%dir %{_datadir}/terminfo/ +%dir %{_datadir}/terminfo/*/ + +%files -n ncurses-utils +%defattr(-,root,root) +%{_bindir}/clear +%{_bindir}/reset +%{_bindir}/tabs +%{_bindir}/toe +%{_bindir}/tput +%{_bindir}/tset +%doc %{_mandir}/man1/clear.1.gz +%doc %{_mandir}/man1/reset.1.gz +%doc %{_mandir}/man1/tabs.1.gz +%doc %{_mandir}/man1/toe.1.gz +%doc %{_mandir}/man1/tput.1.gz +%doc %{_mandir}/man1/tset.1.gz +%doc %{_mandir}/man5/*.gz +%if %abi == 5 + +%files -n libncurses +%defattr(-,root,root) +/%{_lib}/lib*.so.5* +%{_libdir}/lib*.so.5* +%endif + +%files -n libncurses6 +%defattr(-,root,root) +/%{_lib}/lib*.so.6* +%{_libdir}/lib*.so.6* + +%files -n ncurses-devel +%defattr(-,root,root) +%dir %{_defaultdocdir}/ncurses/ +%doc %{_defaultdocdir}/ncurses/* +%{_bindir}/ncurses*-config +%{_bindir}/captoinfo +%{_bindir}/infocmp +%{_bindir}/infotocap +%{_bindir}/tic +%dir %{_incdir}/ncurses/ +%dir %{_incdir}/ncursesw/ +%dir %{_incdir}/ncurses6/ +%dir %{_incdir}/ncurses6/ncurses/ +%dir %{_incdir}/ncurses6/ncursesw/ +%{_incdir}/*.h +%{_incdir}/ncurses*/*.h +%{_incdir}/ncurses*/*/*.h +%dir %{_libdir}/ncurses6/ +%{_libdir}/lib*.a +%{_libdir}/lib*.so +%{_libdir}/ncurses6/lib*.a +%{_libdir}/ncurses6/lib*.so +%doc %{_mandir}/man1/*-config.1.gz +%doc %{_mandir}/man1/captoinfo.1.gz +%doc %{_mandir}/man1/infocmp.1.gz +%doc %{_mandir}/man1/infotocap.1.gz +%doc %{_mandir}/man1/tic.1.gz +%doc %{_mandir}/man3/*.gz +%doc %{_mandir}/man7/*.gz + + +%files -f extension.list -n terminfo +%defattr(-,root,root) + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/net-tools.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/net-tools.spec new file mode 100644 index 0000000..bcf1523 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/net-tools.spec @@ -0,0 +1,64 @@ +Summary: Basic networking tools +Name: net-tools +Version: 2.0_20121208git +Release: 0 +License: GPLv2+ +Group: System/Base +URL: http://sourceforge.net/projects/net-tools/ + +# git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master | xz > net-tools-%%{version}.%%{checkout}.tar.xz +Source0: net-tools-%{version}.tar.xz +Source1: net-tools-config.h +Source2: net-tools-config.make + +%description +The net-tools package contains basic networking tools, +including ifconfig, netstat, route, and others. +Most of them are obsolete. For replacement check iproute package. + +%prep +%setup -q + +cp %SOURCE1 ./config.h +cp %SOURCE2 ./config.make + +%build +export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fpie" +export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" + +make + +%install +make BASEDIR=%{buildroot} mandir=%{_mandir} install + +mkdir -p %{buildroot}/usr/sbin +mkdir -p %{buildroot}/usr/bin +mv %{buildroot}/bin/ifconfig %{buildroot}/usr/sbin +mv %{buildroot}/bin/route %{buildroot}/usr/sbin +mv %{buildroot}/bin/netstat %{buildroot}/usr/bin + + +rm %{buildroot}/sbin/rarp + +# remove hostname (has its own package) +rm %{buildroot}/bin/dnsdomainname +rm %{buildroot}/bin/domainname +rm %{buildroot}/bin/hostname +rm %{buildroot}/bin/nisdomainname +rm %{buildroot}/bin/ypdomainname + +%docs_package + + +%files +%license COPYING +/usr/bin/netstat +/usr/sbin/ifconfig +/usr/sbin/route +/sbin/arp +/sbin/ipmaddr +/sbin/iptunnel +/sbin/nameif +/sbin/plipconfig +/sbin/slattach +/sbin/mii-tool diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nspr.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nspr.spec new file mode 100644 index 0000000..8a32afe --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nspr.spec @@ -0,0 +1,92 @@ +Name: nspr +Version: 4.9.2 +Release: 0 +License: MPL-2.0 +Summary: Netscape Portable Runtime +Url: http://www.mozilla.org/projects/nspr/ +Group: System/Libraries +Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +NSPR provides platform independence for non-GUI operating system +facilities. These facilities include threads, thread synchronization, +normal file and network I/O, interval timing and calendar time, basic +memory management (malloc and free), and shared library linking. + +%package devel +Summary: Netscape Portable Runtime development files +Group: Development/Libraries/Other +Requires: nspr = %{version} + +%description devel +NSPR provides platform independence for non-GUI operating system +facilities. These facilities include threads, thread synchronization, +normal file and network I/O, interval timing and calendar time, basic +memory management (malloc and free), and shared library linking. + +%prep +%setup -n nspr-%{version} -q +cd mozilla + +%build +# set buildtime to "last-modification-time" +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")" +BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")" +# +cd mozilla/nsprpub +export CFLAGS="%{optflags}" +./configure --enable-optimize="$CFLAGS" \ + --disable-debug \ +%ifarch x86_64 + --enable-64bit \ +%endif + --libdir=%{_libdir} \ + --includedir=%{_includedir}/nspr4 \ + --prefix=%{_prefix} +make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" %{?_smp_mflags} +%check +# Run test suite +perl ./mozilla/nsprpub/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" + + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libdir}/nspr +mkdir -p %{buildroot}%{_libdir}/pkgconfig +mkdir -p %{buildroot}%{_includedir}/nspr4 +cp mozilla/nsprpub/config/nspr-config %{buildroot}%{_bindir}/ +cp mozilla/nsprpub/config/nspr.pc %{buildroot}%{_libdir}/pkgconfig +cp -L mozilla/nsprpub/dist/lib/*.so %{buildroot}%{_libdir} +cp -L mozilla/nsprpub/dist/lib/*.a %{buildroot}%{_libdir}/nspr/ +cp -rL mozilla/nsprpub/dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/ +# #31667 +chmod -x %{buildroot}%{_includedir}/nspr4/prvrsion.h + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/*.so + +%files devel +%defattr(-, root, root) +%{_bindir}/nspr-config +%{_libdir}/pkgconfig/nspr.pc +%{_includedir}/nspr4/ +%exclude %{_includedir}/nspr4/md/* +%{_libdir}/nspr/ + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nss.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nss.spec new file mode 100644 index 0000000..f0e8d76 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/nss.spec @@ -0,0 +1,327 @@ +%global nss_softokn_fips_version 3.12.4 + +Name: nss +BuildRequires: gcc-c++ +BuildRequires: nspr-devel +BuildRequires: pkg-config +BuildRequires: zlib-devel +BuildRequires: pkgconfig(sqlite3) +Version: 3.13.6 +Release: 0 +Summary: Network Security Services +License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ +Group: System/Libraries +Url: http://www.mozilla.org/projects/security/pki/nss/ +# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r NSS +Source: nss-%{version}.tar.bz2 +Source1: nss.pc.in +Source3: nss-config.in +Source4: %{name}-rpmlintrc +Source5: baselibs.conf +Source6: setup-nsssysinit.sh +Source7: cert9.db +Source8: key4.db +Source9: pkcs11.txt +%define nspr_ver %(rpm -q --queryformat '%{VERSION}' nspr) +Requires(pre): nspr >= %nspr_ver +Requires(pre): libfreebl3 >= %{nss_softokn_fips_version} +Requires(pre): libsoftokn3 >= %{nss_softokn_fips_version} +Requires: nss-certs +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define nssdbdir %{_sysconfdir}/pki/nssdb +%define run_testsuite 0 + +%description +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + + +%package devel +Summary: Network (Netscape) Security Services development files +Group: Development/Libraries/Other +Requires: libfreebl3 +Requires: libsoftokn3 +Requires: nspr-devel +Requires: nss = %{version}-%{release} + +%description devel +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + + +%package tools +Summary: Tools for developing, debugging, and managing applications that use NSS +Group: System/Management +Requires(pre): nss >= %{version} + +%description tools +The NSS Security Tools allow developers to test, debug, and manage +applications that use NSS. + + +%package sysinit +Summary: System NSS Initialization +Group: System/Management +Requires: nss >= %{version} +Requires(post): coreutils + +%description sysinit +Default Operation System module that manages applications loading +NSS globally on the system. This module loads the system defined +PKCS #11 modules for NSS and chains with other NSS modules to load +any system or user configured modules. + + +%package -n libfreebl3 +Summary: Freebl library for the Network Security Services +Group: System/Libraries + +%description -n libfreebl3 +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + +This package installs the freebl library from NSS. + + +%package -n libsoftokn3 +Summary: Network Security Services Softoken Module +Group: System/Libraries +Requires: libfreebl3 = %{version}-%{release} + +%description -n libsoftokn3 +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + +Network Security Services Softoken Cryptographic Module + + +%package certs +Summary: CA certificates for NSS +Group: Productivity/Networking/Security + +%description certs +This package contains the integrated CA root certificates from the +Mozilla project. + + +%prep +%setup -n nss-%{version} -q +cd mozilla + +%build +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.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 mozilla/security/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=%{_libdir} +%ifarch x86_64 +export USE_64=1 +%endif +export NSS_USE_SYSTEM_SQLITE=1 +MAKE_FLAGS="BUILD_OPT=1 NSS_ENABLE_ECC=1" +make nss_build_all $MAKE_FLAGS +# run testsuite +%if 0%{?run_testsuite} +export BUILD_OPT=1 +export HOST="localhost" +export DOMSUF=" " +export USE_IP=TRUE +export IP_ADDRESS="127.0.0.1" +cd tests +./all.sh +if grep "FAILED" ../../../tests_results/security/localhost.1/output.log ; then + echo "Testsuite FAILED" + exit 1 +fi +%endif + +%install +mkdir -p $RPM_BUILD_ROOT%{_libdir} +mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nss +mkdir -p $RPM_BUILD_ROOT%{_includedir}/nss3 +mkdir -p $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT%{_sbindir} +mkdir -p $RPM_BUILD_ROOT%{nssdbdir} +pushd mozilla/dist/Linux* +# copy headers +cp -rL ../public/nss/*.h $RPM_BUILD_ROOT%{_includedir}/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%{_libdir} +cp -L lib/libfreebl3.so \ + lib/libfreebl3.chk \ + $RPM_BUILD_ROOT/%{_libdir} +# copy static libs +cp -L lib/libcrmf.a \ + lib/libnssb.a \ + lib/libnssckfw.a \ + $RPM_BUILD_ROOT%{_libdir} +# copy tools +cp -L bin/certutil \ + bin/cmsutil \ + bin/crlutil \ + bin/modutil \ + bin/pk12util \ + bin/signtool \ + bin/signver \ + bin/ssltap \ + $RPM_BUILD_ROOT%{_bindir} +# 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%{_libexecdir}/nss +# prepare pkgconfig file +mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +sed "s:%%LIBDIR%%:%{_libdir}:g +s:%%VERSION%%:%{version}:g +s:%%NSPR_VERSION%%:%{nspr_ver}:g" \ + %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/nss.pc +# prepare nss-config file +popd +NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'` +NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'` +NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'` +cat %{SOURCE3} | sed -e "s,@libdir@,%{_libdir},g" \ + -e "s,@prefix@,%{_prefix},g" \ + -e "s,@exec_prefix@,%{_prefix},g" \ + -e "s,@includedir@,%{_includedir}/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/%{_bindir}/nss-config +chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config +# setup-nsssysinfo.sh +install -m 744 %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/ +# create empty NSS database +#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/modutil -force -dbdir "sql:$RPM_BUILD_ROOT%{nssdbdir}" -create +#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/certutil -N -d "sql:$RPM_BUILD_ROOT%{nssdbdir}" -f /dev/null 2>&1 > /dev/null +#chmod 644 "$RPM_BUILD_ROOT%{nssdbdir}"/* +#sed "s:%{buildroot}::g +#s/^library=$/library=libnsssysinit.so/ +#/^NSS/s/\(Flags=internal\)\(,[^m]\)/\1,moduleDBOnly\2/" \ +# $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt > $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt.sed +# mv $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt{.sed,} +# copy empty NSS database +install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{nssdbdir} +install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{nssdbdir} +install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{nssdbdir} +# create shlib sigs after extracting debuginfo +%define __spec_install_post \ + %{?__debug_package:%{__debug_install_post}} \ + %{__arch_install_post} \ + %{__os_install_post} \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libsoftokn3.so \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libnssdbm3.so \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.so \ +%{nil} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n libfreebl3 -p /sbin/ldconfig + +%postun -n libfreebl3 -p /sbin/ldconfig + +%post -n libsoftokn3 -p /sbin/ldconfig + +%postun -n libsoftokn3 -p /sbin/ldconfig + +%post sysinit +/sbin/ldconfig +# make sure the current config is enabled +%{_sbindir}/setup-nsssysinit.sh on + +%preun sysinit +if [ $1 = 0 ]; then + %{_sbindir}/setup-nsssysinit.sh off +fi + +%postun sysinit -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%{_libdir}/libnss3.so +%{_libdir}/libnssutil3.so +%{_libdir}/libsmime3.so +%{_libdir}/libssl3.so + +%files devel +%defattr(644, root, root, 755) +%{_includedir}/nss3/ +%{_libdir}/*.a +%{_libdir}/pkgconfig/* +%attr(755,root,root) %{_bindir}/nss-config + +%files tools +%defattr(-, root, root) +%{_bindir}/* +%exclude %{_sbindir}/setup-nsssysinit.sh +%{_libexecdir}/nss/ +%exclude %{_bindir}/nss-config + +%files sysinit +%defattr(-, root, root) +%dir %{_sysconfdir}/pki +%dir %{_sysconfdir}/pki/nssdb +%config(noreplace) %{_sysconfdir}/pki/nssdb/* +%{_libdir}/libnsssysinit.so +%{_sbindir}/setup-nsssysinit.sh + +%files -n libfreebl3 +%defattr(-, root, root) +%{_libdir}/libfreebl3.so +%{_libdir}/libfreebl3.chk + +%files -n libsoftokn3 +%defattr(-, root, root) +%{_libdir}/libsoftokn3.so +%{_libdir}/libsoftokn3.chk +%{_libdir}/libnssdbm3.so +%{_libdir}/libnssdbm3.chk + +%files certs +%defattr(-, root, root) +%{_libdir}/libnssckbi.so + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/openssl.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/openssl.spec new file mode 100644 index 0000000..0b892e5 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/openssl.spec @@ -0,0 +1,78 @@ +%define soversion 1.0.0 +%define _unpackaged_files_terminate_build 0 + +Name: openssl +Version: 1.0.1c +Release: 1 +Summary: A general purpose cryptography library with TLS implementation + +Source: openssl-%{version}.tar.gz +Source1001: packaging/openssl.manifest + +License: OpenSSL +Url: http://www.openssl.org/ +Group: System/Libraries + +%description +The OpenSSL toolkit provides support for secure communications between +machines. OpenSSL includes a certificate management tool and shared +libraries which provide various cryptographic algorithms and +protocols. + +%package devel +Summary: Files for development of applications which will use OpenSSL +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +OpenSSL is a toolkit for supporting cryptography. The openssl-devel +package contains include files needed to develop applications which +support various cryptographic algorithms and protocols. + + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +# ia64, x86_64, ppc, ppc64 are OK by default +# Configure the build tree. Override OpenSSL defaults with known-good defaults +# usable on all platforms. The Configure script already knows to use -fPIC and +# RPM_OPT_FLAGS, so we can skip specifiying them here. +./Configure shared \ + --prefix=%{_prefix} --install-prefix=%{buildroot} linux-generic32 -ldl no-asm no-idea no-camellia enable-md2 + +make depend +make all + +%install + +# Install OpenSSL. +make INSTALL_PREFIX=%{buildroot} install + +rm -rf %{buildroot}%{_prefix}/ssl/man +rm -rf %{buildroot}%{_prefix}/ssl/misc/*.pl +rm -rf %{buildroot}%{_prefix}/ssl/misc/tsget +rm -rf %{buildroot}%{_bindir}/c_rehash + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest openssl.manifest +%defattr(-,root,root,-) +%{_bindir}/* +%{_prefix}/ssl +%{_libdir}/engines/*.so +%{_libdir}/libcrypto.so.%{soversion} +%{_libdir}/libssl.so.%{soversion} + +%files devel +%manifest openssl.manifest +%defattr(-,root,root,-) +%{_prefix}/include/openssl +%attr(0644,root,root) %{_libdir}/*.a +%attr(0755,root,root) %{_libdir}/*.so +%attr(0644,root,root) %{_libdir}/pkgconfig/*.pc + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pam.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pam.spec new file mode 100644 index 0000000..6ef0aad --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pam.spec @@ -0,0 +1,186 @@ +%define _sbindir /sbin +%define _moduledir %{_libdir}/security +%define _secconfdir %{_sysconfdir}/security +%define _pamconfdir %{_sysconfdir}/pam.d + +Name: pam +Version: 1.1.6 +Release: 1 +License: BSD and GPLv2+ and BSD with advertising +Summary: PAM +Url: http://www.linux-pam.org/ +Group: System/Base +Source0: Linux-PAM-%{version}.tar.bz2 +Source1: system-auth +Source2: other + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bison +BuildRequires: db4-devel +BuildRequires: flex +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: net-tools +BuildRequires: zlib-devel +Requires(post): /sbin/ldconfig +Requires(post): /usr/bin/install +Requires(postun): /sbin/ldconfig + +%description +PAM (Pluggable Authentication Modules) is a system security tool that +allows system administrators to set authentication policy without +having to recompile programs that handle authentication. + +%package -n pam-modules-extra +Summary: Extra modules provided by PAM not used in the base system +Group: System/Base +Requires: pam = %{version} + +%description -n pam-modules-extra +PAM (Pluggable Authentication Modules) is a system security tool that +allows system administrators to set authentication policy without +having to recompile programs that handle authentication. This package +contains extra modules for use by programs that are not used in the +default Tizen install. + +%package devel +Summary: Files needed for developing PAM-aware applications and modules for PAM +Group: Development/Libraries +Requires: pam = %{version} + +%description devel +PAM (Pluggable Authentication Modules) is a system security tool that +allows system administrators to set authentication policy without +having to recompile programs that handle authentication. This package +contains header files and static libraries used for building both +PAM-aware applications and modules for use with PAM. + +%prep +%setup -q -n Linux-PAM-%{version} + +libtoolize -f #--copy --force && aclocal && autoheader +autoreconf + +%build +CFLAGS="-fPIC %{optflags} " ; export CFLAGS + +%configure \ + --libdir=%{_libdir} \ + --includedir=%{_includedir}/security \ + --enable-isadir=../..%{_moduledir} \ + --disable-audit \ + --disable-nls \ + --with-db-uniquename=_pam \ + --with-libiconv-prefix=/usr \ + --enable-read-both-confs && + +make %{?_smp_flags} CFLAGS="$CFLAGS -lfl -lcrypt" + +%install +%make_install + +# RPM uses docs from source tree +rm -rf %{buildroot}%{_datadir}/doc/Linux-PAM +# Included in setup package +rm -f %{buildroot}%{_sysconfdir}/environment + +for phase in auth acct passwd session ; do + ln -sf pam_unix.so %{buildroot}%{_moduledir}/pam_unix_${phase}.so +done + +# Install default pam configuration files +install -d -m 0755 %{buildroot}%{_pamconfdir} +install -m 0644 %{SOURCE1} %{buildroot}%{_pamconfdir}/ +install -m 0644 %{SOURCE2} %{buildroot}%{_pamconfdir}/ + +%post +/sbin/ldconfig +if [ ! -a /var/log/faillog ] ; then + /usr/bin/install -m 600 /dev/null /var/log/faillog +fi +if [ ! -a /var/log/tallylog ] ; then + /usr/bin/install -m 600 /dev/null /var/log/tallylog +fi + +%postun -p /sbin/ldconfig + + +%files +%license Copyright +%{_sbindir}/pam_tally +%{_sbindir}/pam_tally2 +%attr(4755,root,root) %{_sbindir}/pam_timestamp_check +%attr(4755,root,root) %{_sbindir}/unix_chkpwd +%attr(0700,root,root) %{_sbindir}/unix_update +%attr(0755,root,root) %{_sbindir}/mkhomedir_helper +%{_sysconfdir}/security/limits.conf +%{_libdir}/libpam.so.* +%{_libdir}/libpam_misc.so.* +%{_libdir}/libpamc.so.* +%dir %{_moduledir} +%{_moduledir}/pam_deny.so +%{_moduledir}/pam_env.so +%{_moduledir}/pam_keyinit.so +%{_moduledir}/pam_limits.so +%{_moduledir}/pam_loginuid.so +%{_moduledir}/pam_namespace.so +%{_moduledir}/pam_nologin.so +%{_moduledir}/pam_permit.so +%{_moduledir}/pam_lastlog.so +%{_moduledir}/pam_rootok.so +%{_moduledir}/pam_securetty.so +%{_moduledir}/pam_succeed_if.so +%{_moduledir}/pam_unix.so +%{_moduledir}/pam_wheel.so +%{_moduledir}/pam_xauth.so +%{_moduledir}/pam_filter +%{_moduledir}/pam_mkhomedir.so +%dir %{_secconfdir} +%config(noreplace) %{_secconfdir}/access.conf +%config(noreplace) %{_secconfdir}/group.conf +%config(noreplace) %{_secconfdir}/namespace.conf +#%dir %{_secconfdir}/namespace.d +%attr(755,root,root) %config(noreplace) %{_secconfdir}/namespace.init +%config(noreplace) %{_secconfdir}/pam_env.conf +%config(noreplace) %{_secconfdir}/time.conf +%dir %{_pamconfdir} +%{_pamconfdir}/system-auth +%{_pamconfdir}/other + +%files -n pam-modules-extra +%{_moduledir}/pam_access.so +%{_moduledir}/pam_debug.so +%{_moduledir}/pam_echo.so +%{_moduledir}/pam_exec.so +%{_moduledir}/pam_faildelay.so +%{_moduledir}/pam_filter.so +%{_moduledir}/pam_ftp.so +%{_moduledir}/pam_group.so +%{_moduledir}/pam_issue.so +%{_moduledir}/pam_listfile.so +%{_moduledir}/pam_localuser.so +%{_moduledir}/pam_mail.so +%{_moduledir}/pam_motd.so +%{_moduledir}/pam_pwhistory.so +%{_moduledir}/pam_rhosts.so +%{_moduledir}/pam_shells.so +%{_moduledir}/pam_stress.so +%{_moduledir}/pam_tally.so +%{_moduledir}/pam_time.so +%{_moduledir}/pam_timestamp.so +%{_moduledir}/pam_umask.so +%{_moduledir}/pam_unix_acct.so +%{_moduledir}/pam_unix_auth.so +%{_moduledir}/pam_unix_passwd.so +%{_moduledir}/pam_unix_session.so +%{_moduledir}/pam_warn.so + +%files devel +%{_includedir}/security/* +%{_libdir}/libpam.so +%{_libdir}/libpam_misc.so +%{_libdir}/libpamc.so +%{_libdir}/security/pam_tally2.so + +%docs_package diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pciutils.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pciutils.spec new file mode 100644 index 0000000..8aefbe9 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pciutils.spec @@ -0,0 +1,78 @@ +Name: pciutils +%define lname libpci +Version: 3.1.9 +Release: 0 +License: GPL-2.0+ +Summary: PCI utilities for Kernel version 2 +Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml +Group: Hardware/Other +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: pkg-config +BuildRequires: zlib-devel +Requires: pciutils-ids + +%description +lspci: This program displays detailed information about all PCI busses +and devices in the system, replacing the original /proc/pci interface. + +setpci: This program allows reading from and writing to PCI device +configuration registers. For example, you can adjust the latency timers +with it. + +update-pciids: This program downloads the current version of the +pci.ids file. + +%package -n %lname +Summary: PCI utility library +Group: System/Libraries + +%description -n %lname +libpci offers access to the PCI configuration space. + +%package devel +Summary: Library and Include Files of the PCI utilities +Group: Development/Libraries/C and C++ +Requires: %lname = %{version} + +%description devel +This package contains the files that are necessary for software +development using the PCI utilities. + +%prep +%setup -q + +%build +make %{?_smp_mflags} OPT="%{optflags} -Wall" PREFIX=%{_prefix} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} STRIP="" SHARED="yes" + +%install +make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}%{_sbindir} \ + ROOT=%{buildroot}/ MANDIR=%{buildroot}/%{_mandir} STRIP="" \ + SHARED="yes" LIBDIR=%{buildroot}/%{_libdir} +mkdir -p %{buildroot}%{_includedir}/pci +cp -p lib/{pci,header,config,types}.h %{buildroot}%{_includedir}/pci/ +rm -rf %{buildroot}%{_datadir}/pci.ids* +install -D -m 0644 lib/libpci.pc %{buildroot}%{_libdir}/pkgconfig/libpci.pc +ln -sf libpci.so.3 %{buildroot}%{_libdir}/libpci.so + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-, root, root) +%{_sbindir}/* + +%files -n %lname +%defattr(-,root,root) +%{_libdir}/libpci.so.* + +%files devel +%defattr(-, root, root) +%{_includedir}/pci/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/libpci.pc + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl-gettext.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl-gettext.spec new file mode 100644 index 0000000..e586338 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl-gettext.spec @@ -0,0 +1,52 @@ +Name: perl-gettext +Version: 1.05 +Release: 151 +License: Artistic-1.0 ; GPL-2.0+ +%define cpan_name gettext +Summary: Message handling functions +Url: http://search.cpan.org/dist/gettext/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} + +%description +The gettext module permits access from perl to the gettext() family of +functions for retrieving message strings from databases constructed to +internationalize software. + +gettext(), dgettext(), and dcgettext() attempt to retrieve a string +matching their 'msgid' parameter within the context of the current locale. +dcgettext() takes the message's category and the text domain as parameters +while dcgettext() defaults to the LC_MESSAGES category and gettext() +defaults to LC_MESSAGES and uses the current text domain. If the string is +not found in the database, then 'msgid' is returned. + +textdomain() sets the current text domain and returns the previously active +domain. + +_bindtextdomain(domain, dirname)_ instructs the retrieval functions to look +for the databases belonging to domain 'domain' in the directory 'dirname' + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(644,root,root,755) +%doc README + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl.spec new file mode 100644 index 0000000..5d9aef3 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/perl.spec @@ -0,0 +1,334 @@ +Name: perl +Summary: The Perl interpreter +License: Artistic-1.0 or GPL-2.0+ +Group: Development/Languages/Perl +Version: 5.16.2 +Release: 0 +%define pversion 5.16.2 +Url: http://www.perl.org/ +Source: perl-%{version}.tar.bz2 +Source1: %name-rpmlintrc +Source2: macros.perl +Source3: README.macros +Source4: baselibs.conf +Requires(pre): perl-base = %version +BuildRequires: db4-devel +BuildRequires: gdbm-devel +BuildRequires: bzip2-devel +BuildRequires: ncurses-devel +BuildRequires: zlib-devel +# +%if "%version" != "%pversion" +Provides: perl = %pversion-%release +%endif +Provides: /bin/perl +Provides: perl-500 +Provides: perl-macros +Provides: perl(:MODULE_COMPAT_%pversion) +Obsoletes: perl-macros +Provides: perl-Filter-Simple +Provides: perl-I18N-LangTags +Provides: perl-MIME-Base64 +Provides: perl-Storable +Provides: perl-Test-Simple = 0.98-%{release} +Obsoletes: perl-Filter-Simple +Obsoletes: perl-I18N-LangTags +Obsoletes: perl-MIME-Base64 +Obsoletes: perl-Storable +Obsoletes: perl-Test-Simple < 0.98 +Provides: perl-Text-Balanced +Provides: perl-Time-HiRes +Provides: perl-libnet +Obsoletes: perl-Text-Balanced +Obsoletes: perl-Time-HiRes +Obsoletes: perl-libnet +Provides: perl-Compress-Raw-Zlib +Provides: perl-Compress-Zlib +Obsoletes: perl-Compress-Raw-Zlib +Obsoletes: perl-Compress-Zlib +Provides: perl-IO-Compress-Base +Provides: perl-IO-Compress-Zlib +Provides: perl-IO-Zlib +Obsoletes: perl-IO-Compress-Base +Obsoletes: perl-IO-Compress-Zlib +Obsoletes: perl-IO-Zlib +Provides: perl-Archive-Tar +Provides: perl-Module-Build +# 0.39 is smaller than 0.3601, but this is what spec files require +Provides: perl(Module::Build) = 0.3900 +Obsoletes: perl-Archive-Tar +Obsoletes: perl-Module-Build +Provides: perl-Locale-Maketext-Simple +Provides: perl-Module-Pluggable +Obsoletes: perl-Locale-Maketext-Simple +Obsoletes: perl-Module-Pluggable +Provides: perl-Pod-Escapes +Provides: perl-Pod-Simple +Obsoletes: perl-Pod-Escapes +Obsoletes: perl-Pod-Simple +Provides: perl-ExtUtils-ParseXS +Provides: perl-version +Obsoletes: perl-ExtUtils-ParseXS +Obsoletes: perl-version + +%description +perl - Practical Extraction and Report Language + +Perl is optimized for scanning arbitrary text files, extracting +information from those text files, and printing reports based on that +information. It is also good for many system management tasks. Perl is +intended to be practical (easy to use, efficient, and complete) rather +than beautiful (tiny, elegant, and minimal). + +Some of the modules available on CPAN can be found in the "perl" +series. + +%package base +Summary: The Perl interpreter +Group: Development/Languages/Perl +Provides: perl-Digest +Provides: perl-Digest-MD5 +%if "%version" != "%pversion" +Provides: perl-base = %pversion-%release +%endif + +%description base +perl - Practical Extraction and Report Language + +Perl is optimized for scanning arbitrary text files, extracting +information from those text files, and printing reports based on that +information. It is also good for many system management tasks. + +Perl is intended to be practical (easy to use, efficient, and complete) +rather than beautiful (tiny, elegant, and minimal). + +This package contains only some basic modules and the perl binary +itself. + +%package doc +Summary: Perl Documentation +Group: Development/Languages/Perl +Requires: perl = %{version} +Provides: perl:/usr/share/man/man3/CORE.3pm.gz +BuildArch: noarch + +%description doc +Perl man pages and pod files. + +%prep +%setup -q -n perl-%{version} +cp -p %{S:3} . + +%build +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=%{_libdir} +export BZIP2_INCLUDE=%{_includedir} +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 %{?_smp_mflags} +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 %{?_smp_mflags} + +%check +%ifnarch %arm +#export LD_AS_NEEDED=0 +#make test +%endif + +%install +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:2} $RPM_BUILD_ROOT%{_sysconfdir}/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/' +%if 0 +# remove unrelated target/os manpages +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlaix.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlamiga.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlapollo.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbeos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbs2000.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlcygwin.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perldgux.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perldos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlepoc.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlfreebsd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhpux.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhurd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlirix.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmachten.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacosx.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmint.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlnetware.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlopenbsd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos2.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos390.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos400.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlplan9.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlqnx.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlsolaris.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perltru64.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perluts.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvmesa.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvms.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlwin32.1* +%endif +cat << EOF > perl-base-filelist +/usr/lib/perl5/%pversion/B/Deparse.pm +/usr/lib/perl5/%pversion/Carp.pm +/usr/lib/perl5/%pversion/Carp/ +/usr/lib/perl5/%pversion/Class/ +/usr/lib/perl5/%pversion/Config/ +/usr/lib/perl5/%pversion/Digest.pm +/usr/lib/perl5/%pversion/Digest/ +/usr/lib/perl5/%pversion/Exporter.pm +/usr/lib/perl5/%pversion/Exporter/ +/usr/lib/perl5/%pversion/File/ +/usr/lib/perl5/%pversion/Getopt/ +/usr/lib/perl5/%pversion/IPC/ +/usr/lib/perl5/%pversion/Text/ +/usr/lib/perl5/%pversion/Tie/Hash.pm +/usr/lib/perl5/%pversion/XSLoader.pm +/usr/lib/perl5/%pversion/warnings.pm +/usr/lib/perl5/%pversion/warnings/ +/usr/lib/perl5/%pversion/AutoLoader.pm +/usr/lib/perl5/%pversion/FileHandle.pm +/usr/lib/perl5/%pversion/SelectSaver.pm +/usr/lib/perl5/%pversion/Symbol.pm +/usr/lib/perl5/%pversion/base.pm +/usr/lib/perl5/%pversion/bytes.pm +/usr/lib/perl5/%pversion/bytes_heavy.pl +/usr/lib/perl5/%pversion/constant.pm +/usr/lib/perl5/%pversion/fields.pm +/usr/lib/perl5/%pversion/feature.pm +/usr/lib/perl5/%pversion/integer.pm +/usr/lib/perl5/%pversion/locale.pm +/usr/lib/perl5/%pversion/overload.pm +/usr/lib/perl5/%pversion/overloading.pm +/usr/lib/perl5/%pversion/strict.pm +/usr/lib/perl5/%pversion/unicore/Heavy.pl +/usr/lib/perl5/%pversion/utf8.pm +/usr/lib/perl5/%pversion/utf8_heavy.pl +/usr/lib/perl5/%pversion/vars.pm +/usr/lib/perl5/%pversion/version.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Data/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Digest/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/File/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/List/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Scalar/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Dir.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/File.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Handle.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Pipe.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Poll.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Seekable.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Select.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/B.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config_heavy.pl +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Cwd.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/DynaLoader.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Errno.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Fcntl.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/POSIX.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Socket.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/attributes.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Data/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Digest/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Fcntl/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/File/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/IO/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/List/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Cwd/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Socket/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.bs +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.so +/usr/lib/perl5/%pversion/*-linux-thread-multi*/lib.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/re.pm +EOF +{ + sed -e 's/^/%%exclude /' perl-base-filelist + (cd $RPM_BUILD_ROOT + for i in usr/lib/perl5/*/pod/*; do + case $i in */perldiag.pod) ;; + *) echo "%%exclude /$i" ;; + esac + done) +} > perl-base-excludes + +%files base -f perl-base-filelist +%defattr(-,root,root) +%dir /usr/lib/perl5 +%dir /usr/lib/perl5/%pversion +%dir /usr/lib/perl5/%pversion/B +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi* +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX +/usr/bin/perl +/usr/bin/perl%pversion + +%files -f perl-base-excludes +%defattr(-,root,root) +%exclude /usr/bin/perl +%exclude /usr/bin/perl%pversion +/usr/bin/* +/usr/lib/perl5/* +%config %{_sysconfdir}/rpm/macros.perl + +%files doc +%defattr(-,root,root) +%doc README.macros +%exclude /usr/lib/perl5/*/pod/perldiag.pod +%doc /usr/lib/perl5/*/pod +%doc %{_mandir}/man?/* + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pkg-config.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pkg-config.spec new file mode 100644 index 0000000..4090236 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pkg-config.spec @@ -0,0 +1,45 @@ +Name: pkg-config +Version: 0.28 +Release: 0 +Summary: A library management system +License: GPL-2.0+ +Group: Platfrom Development/Tools +Url: http://pkgconfig.freedesktop.org/ +Source: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz +Provides: pkgconfig = %{version} +# pkg-config has a virtual internal pkg-config.pc file, so we should provide it +Provides: pkgconfig(pkg-config) = %{version} + +%description +The pkg-config program is used to retrieve information about installed +libraries in the system. It is typically used to compile and link +against one or more libraries. + +%prep +%setup -q + +%build +%configure\ + --with-internal-glib \ +%if "%{_lib}" == "lib" + --with-pc_path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%else + --with-pc_path=/usr/local/%{_lib}/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%endif +make %{?_smp_mflags} + +%install +%make_install +rm %{buildroot}%{_datadir}/doc/pkg-config/pkg-config-guide.html + +%files +%defattr(-,root,root) +%license COPYING +%{_bindir}/pkg-config +%{_bindir}/*-pkg-config +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/pkg.m4 + +%docs_package + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/procps.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/procps.spec new file mode 100644 index 0000000..a9b1ab3 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/procps.spec @@ -0,0 +1,247 @@ +%bcond_with bin2usr +%define somajor 1 +%define libname libprocps + +Name: procps +BuildRequires: automake +BuildRequires: libtool +BuildRequires: ncurses-devel +BuildRequires: pkg-config +Url: https://gitorious.org/procps +Version: 3.3.5 +Release: 0 +Summary: The ps utilities for /proc +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Monitoring +Provides: ps +Obsoletes: ps +Source: procps-v%version.tar.bz2 +Source1: procps-pmap-legacy.tar.bz2 +Source2: boot.sysctl +Source3: systat.xinetd +Source4: sysctl.conf +Source5: sysctl.conf.s390 +Patch0: procps-v3.3.4-watch.patch +Patch1: procps-v3.3.3-ia64.diff +Patch2: procps-v3.3.4-stealtime.patch +Patch3: procps-v3.3.4-w-notruncate.diff +Patch4: procps-v3.3.4-w-simply-work.diff +Patch5: procps-v3.3.4-top.1.diff +Patch6: procps-v3.3.3-buffersize.diff +Patch7: procps-v3.3.3-readeof.patch +Patch8: procps-v3.3.3-slab.patch +Patch9: procps-v3.3.3-selinux.patch +Patch10: procps-v3.3.3-accuracy.dif +Patch11: procps-v3.3.4-xen.dif +Patch12: procps-v3.3.3-fdleak.dif +Patch13: procps-v3.3.3-columns.dif +Patch14: procps-v3.3.3-integer-overflow.patch +Patch15: procps-v3.3.4-bnc634071_procstat2.diff +Patch16: procps-v3.3.3-bnc634840.patch +Patch17: procps-v3.3.3-read-sysctls-also-from-boot-sysctl.conf-kernelversion.diff +Patch18: procps-v3.3.4-petabytes.patch +Patch19: procps-v3.3.4-large_pcpu.patch +Patch20: procps-v3.3.3-tinfo.dif +Patch21: procps-v3.3.3-pwdx.patch +Patch22: procps-v3.3.3-chroot.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The procps package contains a set of system utilities that provide +system information. Procps includes ps, free, skill, snice, tload, top, +uptime, vmstat, w, and watch. The ps command displays a snapshot of +running processes. The top command provides a repetitive update of the +statuses of running processes. The free command displays the amounts of +free and used memory on your system. The skill command sends a +terminate command (or another specified signal) to a specified set of +processes. The snice command is used to change the scheduling priority +of specified processes. The tload command prints a graph of the current +system load average to a specified tty. The uptime command displays the +current time, how long the system has been running, how many users are +logged on, and system load averages for the past one, five, and fifteen +minutes. The w command displays a list of the users who are currently +logged on and what they are running. The watch program watches a +running program. The vmstat command displays virtual memory statistics +about processes, memory, paging, block I/O, traps, and CPU activity. + +%package devel +Summary: Include Files and Libraries mandatory for Development +License: GPL-2.0+ ; LGPL-2.1+ +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n %{libname} +Summary: The props library +License: LGPL-2.1+ +Group: System/Libraries + +%description -n %{libname} +The props library can be used to read informations out from /proc +the process information pseudo-file system, + +%prep +%setup -q -n %{name}-v%{version} +%__tar --strip-components=1 -xjf %{S:1} +%patch0 +%patch1 +%patch2 +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 +%patch8 +%patch9 +%patch10 +%patch11 +%patch12 +%patch13 +%patch14 +%patch15 +%patch16 +%patch17 +%patch18 +%patch19 +%patch20 +%patch21 +%patch22 + +%build +sh po/update-potfiles +test -s .tarball-version || echo %{version} > .tarball-version +./autogen.sh +export NCURSESW_CFLAGS="$(ncursesw5-config --cflags)" +export NCURSESW_LIBS="$(ncursesw5-config --libs)" +export LFS_CFLAGS="$(getconf LFS_CFLAGS)" +%global optflags %{optflags} -D_GNU_SOURCE $LFS_CFLAGS -DCPU_ZEROTICS -DUSE_X_COLHDR -pipe +%configure \ + --disable-static \ + --disable-nls \ + --disable-rpath \ + --disable-kill \ + --enable-watch8bit \ + --enable-shared \ + --enable-skill \ + --enable-oomem \ + --enable-w-from \ + --with-pic=yes \ + --with-gnu-ld +make %{?_smp_mflags} +hz="$(ps/ps aux 2>&1 | grep -E '^Unknown HZ value')" || true +test -z "$hz" || exit 1 +./pmap -d $$ || { + cat /proc/$$/smaps + uname -a + exit 1 +} + +%install +make DESTDIR=%{buildroot} install +install -d %{buildroot}/etc/init.d +install -d %{buildroot}/etc/xinetd.d +install -d %{buildroot}/lib/sysctl.d +install -d %{buildroot}/etc/sysctl.d +install -d %{buildroot}/bin +install -d %{buildroot}/sbin +install -m 755 %{S:2} %{buildroot}/etc/init.d +install -m 644 %{S:3} %{buildroot}/etc/xinetd.d/systat +install -m 644 %{S:4} %{buildroot}/lib/sysctl.d/sysctl.conf +case "$RPM_ARCH" in +s390*) install -m 644 %{S:4} %{buildroot}/lib/sysctl.d/sysctl-s390.conf ;; +esac + +# clean unwanted files (e.g. coreutils) +rm -f %{buildroot}/usr/bin/kill +rm -f %{buildroot}/usr/bin/uptime +rm -f %{buildroot}%{_mandir}/man1/kill.1 +rm -f %{buildroot}%{_mandir}/man1/uptime.1 +rm -f %{buildroot}%{_libdir}/*.la +rm -rf %{buildroot}%{_datadir}/doc/procps-ng + + + +%post +# +test -e /etc/sysctl.conf || cat </etc/sysctl.conf +#### +# +# /etc/sysctl.conf is meant for local sysctl settings +# +# sysctl reads settings from the following locations: +# /boot/sysctl.conf- +# /lib/sysctl.d/*.conf +# /usr/lib/sysctl.conf.d/*.conf +# /usr/local/lib/sysctl.d/*.conf +# /etc/sysctl.d/*.conf +# /run/sysctl.d/*.conf +# /etc/sysctl.conf +# +# To disable or override a distribution provided file just place a +# file with the same name in /etc/sysctl.d/ +# +# See sysctl.conf(5) and sysctl(8) for more information +# +#### +EOF + + +%post -n %{libname} -p /sbin/ldconfig + +%postun -n %{libname} -p /sbin/ldconfig + + +%docs_package + +%files +%defattr (-,root,root,755) +%doc COPYING +%config /etc/init.d/boot.sysctl +%config(noreplace) %ghost %attr(0644,root,root) /etc/sysctl.conf +%config(noreplace) /etc/xinetd.d/systat +%{_bindir}/ps +%{_bindir}/pgrep +%{_bindir}/pkill +%{_sbindir}/sysctl +%{_bindir}/free +%{_bindir}/pmap +%{_bindir}/pwdx +%{_bindir}/skill +%{_bindir}/slabtop +%{_bindir}/snice +%{_bindir}/tload +%{_bindir}/top +%{_bindir}/vmstat +%{_bindir}/w +%{_bindir}/watch +%dir /etc/sysctl.d +%dir /lib/sysctl.d +/lib/sysctl.d/*.conf + +%files devel +%defattr (-,root,root,755) +%dir %{_includedir}/proc +%{_includedir}/proc/alloc.h +%{_includedir}/proc/devname.h +%{_includedir}/proc/escape.h +%{_includedir}/proc/procps.h +%{_includedir}/proc/pwcache.h +%{_includedir}/proc/readproc.h +%{_includedir}/proc/sig.h +%{_includedir}/proc/slab.h +%{_includedir}/proc/sysinfo.h +%{_includedir}/proc/version.h +%{_includedir}/proc/wchan.h +%{_includedir}/proc/whattime.h +%{_libdir}/libprocps.so +%{_libdir}/pkgconfig/libprocps.pc + +%files -n %{libname} +%defattr (-,root,root,755) +%{_libdir}/libprocps.so.1 +%{_libdir}/libprocps.so.1.0.0 + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/psmisc.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/psmisc.spec new file mode 100644 index 0000000..c093568 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/psmisc.spec @@ -0,0 +1,66 @@ +Name: psmisc +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: glibc-devel +BuildRequires: ncurses-devel +BuildRequires: gettext-tools +Url: http://sourceforge.net/projects/psmisc/ +Version: 22.16 +Release: 0 +Provides: ps:/usr/bin/killall +Summary: Utilities for managing processes on your system +License: GPL-2.0+ +Group: System/Monitoring +Source: http://sourceforge.net/projects/psmisc/files/psmisc/%{name}-%{version}.tar.gz +Patch0: %name-22.16.dif +Patch1: %name-22.12-tigetstr.patch +Patch2: %name-22.12-pstree.patch +Patch42: pstree-segfault.patch +Patch43: %name-22.16-timeout.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The psmisc package contains utilities for managing processes on your +system: pstree, killall and fuser. The pstree command displays a tree +structure of all of the running processes on your system. The killall +command sends a specified signal (SIGTERM if nothing is specified) to +processes identified by name. The fuser command identifies the PIDs of +processes that are using specified files or filesystems. + +%prep +%setup -q +%patch42 -p1 -b .to +%patch43 -p1 -b .comm +%patch1 -p0 -b .tigetstr +%patch2 -p0 -b .pstree +%patch0 -p0 -b .0 + +%build +autoreconf -fi +CFLAGS="-D_GNU_SOURCE ${RPM_OPT_FLAGS} -pipe" +CXXFLAGS="$CFLAGS" +CC=gcc +CXX=g++ +export CFLAGS CXXFLAGS CC CXX +sh ./configure --prefix=%{_prefix} --mandir=%{_mandir} \ + --disable-rpath \ + --with-gnu-ld \ + --disable-nls \ + --enable-timeout-stat +make %{?_smp_mflags} CFLAGS="$CFLAGS" "CC=$CC" + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%docs_package + +%files +%defattr (-,root,root,755) +%{_bindir}/fuser +%{_bindir}/killall +%{_bindir}/peekfd +%{_bindir}/prtstat +%{_bindir}/pstree +%{_bindir}/pstree.x11 + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pwdutils.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pwdutils.spec new file mode 100644 index 0000000..1259a01 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/pwdutils.spec @@ -0,0 +1,89 @@ +Name: pwdutils +BuildRequires: libtool +BuildRequires: openssl-devel +BuildRequires: pam-devel +BuildRequires: gettext-tools +Url: http://www.thkukuk.de/pam/pwdutils/ +Version: 3.2.19 +Release: 0 +Summary: Utilities to Manage User and Group Accounts +License: GPL-2.0 +Group: System/Base +Source: pwdutils-%{version}.tar.bz2 +Source3: useradd.default + +%description +This package includes the necessary programs for converting plain +password files to the shadow password format, and managing user and +group accounts in both local files and in an LDAP database. + +%prep +%setup -q + +%build +%reconfigure --disable-ldap --libdir=%{_libdir} --disable-nls --disable-pam_rpasswd +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/lib*.so +#mkdir $RPM_BUILD_ROOT/%{_lib} +#mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib} +/sbin/ldconfig -n %{_libdir}/pwdutils +rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/*a +rm -f $RPM_BUILD_ROOT/%{_lib}/security/*a + +rm -f %{buildroot}/etc/init.d/rpasswdd +rm -f %{buildroot}/etc/pam.d/rpasswd +rm -f %{buildroot}/etc/rpasswd.conf +rm -f %{buildroot}/usr/bin/rpasswd +rm -f %{buildroot}/usr/sbin/rpasswdd +ln -sf newgrp $RPM_BUILD_ROOT%{_bindir}/sg +install -m 644 $RPM_SOURCE_DIR/useradd.default $RPM_BUILD_ROOT/etc/default/useradd +echo ".so man8/useradd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/adduser.8 + +%docs_package + +%files +%defattr(-,root,root,755) +%config /etc/login.defs +%config /etc/pam.d/chage +%config /etc/pam.d/chfn +%config /etc/pam.d/chsh +%config /etc/pam.d/passwd +%config /etc/pam.d/shadow +%config /etc/pam.d/useradd +%config(noreplace) /etc/default/useradd +%config(noreplace) /etc/default/passwd +%dir /etc/pwdutils +%config(noreplace) /etc/pwdutils/logging +%attr (4755,root,shadow) %{_bindir}/chage +%attr (4755,root,shadow) %{_bindir}/chfn +%attr (4755,root,shadow) %{_bindir}/chsh +%attr (4755,root,shadow) %{_bindir}/expiry +%attr (4755,root,shadow) %{_bindir}/gpasswd +%attr (4755,root,root) %{_bindir}/newgrp +%attr (4755,root,shadow) %{_bindir}/passwd +%{_bindir}/sg +%{_sbindir}/chpasswd +%{_sbindir}/groupadd +%{_sbindir}/groupdel +%{_sbindir}/groupmod +%{_sbindir}/grpck +%{_sbindir}/grpconv +%{_sbindir}/grpunconv +%{_sbindir}/pwck +%{_sbindir}/pwconv +%{_sbindir}/pwunconv +%{_sbindir}/useradd +%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/groupadd.local +%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/useradd.local +%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/userdel-pre.local +%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/userdel-post.local +%{_sbindir}/userdel +%{_sbindir}/usermod +%{_sbindir}/vigr +%{_sbindir}/vipw +%dir %{_libdir}/pwdutils +%{_libdir}/pwdutils/liblog_syslog.so.1* + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/readline.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/readline.spec new file mode 100644 index 0000000..e69df15 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/readline.spec @@ -0,0 +1,134 @@ +%define rl_vers 5.2 +Name: readline +Version: 5.2 +Release: 0 +License: GPL-2.0+ +Summary: The Readline Library +Url: http://www.gnu.org/software/bash/bash.html +Group: System/Libraries +Source0: readline-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: fdupes +BuildRequires: ncurses-devel +Provides: bash:/%{_libdir}/libreadline.so.5 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%global _sysconfdir /etc +%global _incdir %{_includedir} + +%description +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%package devel +Version: 5.2 +Release: 0 +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: libreadline = %{version} +Requires: ncurses-devel +Provides: bash:%{_libdir}/libreadline.a + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libreadline +Summary: The Readline Library + +%description -n libreadline +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%prep +%setup -q -n readline-%{version} + +%build + autoconf + cflags () + { + local flag=$1; shift + case "%{optflags}" 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="%{optflags} $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=%{_target_cpu}-tizen-linux \ + --prefix=%{_prefix} \ + --with-curses \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --libdir=%{_libdir} + make + make documentation + ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so + ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so.5 + ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so + ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so.5 + +%install + make install htmldir=%{_defaultdocdir}/readline DESTDIR=%{buildroot} + make install-shared libdir=/%{_libdir} linkagedir=%{_libdir} DESTDIR=%{buildroot} + rm -rf %{buildroot}%{_defaultdocdir}/bash + rm -rf %{buildroot}%{_defaultdocdir}/readline + chmod 0755 %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers} + chmod 0755 %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers} + rm -f %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers}*old + rm -f %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers}*old + # remove unpackaged files + #rm -fv %{buildroot}%{_libdir}/libhistory.so.* + #rm -fv %{buildroot}%{_libdir}/libreadline.so.* + rm -fv %{buildroot}%{_mandir}/man3/history.3* + rm -fv %{buildroot}%{_infodir}/*.info* + +%post -n libreadline -p /sbin/ldconfig + +%postun -n libreadline -p /sbin/ldconfig + + +%files -n libreadline +%defattr(-,root,root) +%{_libdir}/libhistory.so.5 +%{_libdir}/libhistory.so.%{rl_vers} +%{_libdir}/libreadline.so.5 +%{_libdir}/libreadline.so.%{rl_vers} + +%files devel +%defattr(-,root,root) +%{_incdir}/readline/ +%{_libdir}/libhistory.a +%{_libdir}/libhistory.so +%{_libdir}/libreadline.a +%{_libdir}/libreadline.so +%doc %{_mandir}/man3/readline.3.gz + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/rpm.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/rpm.spec new file mode 100644 index 0000000..10dec9e --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/rpm.spec @@ -0,0 +1,294 @@ +%define rpmhome /usr/lib/rpm + +Name: rpm +BuildRequires: binutils +BuildRequires: bzip2 +BuildRequires: file-devel +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: gettext-tools +BuildRequires: glibc-devel +BuildRequires: gzip +BuildRequires: libacl-devel +BuildRequires: pkgconfig(bzip2) +BuildRequires: libcap-devel +BuildRequires: libelf-devel +BuildRequires: libtool +BuildRequires: pkgconfig(lua) +BuildRequires: make +BuildRequires: pkgconfig(ncurses) +BuildRequires: patch +BuildRequires: pkgconfig(popt) +BuildRequires: xz-devel +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(nss) +BuildRequires: uthash-devel +BuildRequires: libxml2-devel +BuildRequires: libattr-devel +BuildRequires: pkgconfig(libsmack) + + +Provides: rpminst +Provides: rpm-libs +Summary: The RPM Package Manager +License: GPL-2.0+ +Group: System/Packages +Version: 4.11.0.1 +Release: 0 +Source0: rpm-%{version}.tar.bz2 +Source1: db-4.8.30.tar.bz2 +Source2: db-4.8.30-integration.dif +Source4: rpm-tizen_macros +Source8: rpmconfigcheck +Source13: find-docs.sh +Source22: device-sec-policy +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# +# avoid bootstrapping problem +%define _binary_payload w9.bzdio + +%description +RPM Package Manager is the main tool for managing the software packages +of Tizen. + +RPM can be used to install and remove software packages. With rpm, it +is easy to update packages. RPM keeps track of all these manipulations +in a central database. This way it is possible to get an overview of +all installed packages. RPM also supports database queries. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: System/Packages +Requires: rpm = %{version} +Requires: popt-devel + +%description devel +This package contains the RPM C library and header files. These +development files will simplify the process of writing programs which +manipulate RPM packages and databases and are intended to make it +easier to create graphical package managers or any other tools that +need an intimate knowledge of RPM packages in order to function. + +%package build +Summary: Tools and Scripts to create rpm packages +Group: System/Packages +Requires: rpm = %{version} +Provides: rpmbuild rpm:%_bindir/rpmbuild +Requires: bzip2 +Requires: xz +Requires: gzip +Requires: binutils +Requires: make +Requires: gcc +Requires: findutils +Requires: patch +Requires: glibc-devel + +%description build +If you want to build a rpm, you need this package. It provides rpmbuild +and requires some packages that are usually required + +%package security-plugin +Summary: MSM security plugin for rpm +Group: Development/Libraries +Requires: rpm = %{version}-%{release} +Requires: smack +Requires: libxml2 +Requires: nss + +%description security-plugin +This package contains the MSM security plugin for rpm that performs +security-related functionality. + + +%prep +%setup -q -n rpm-%{version} +rm -rf sqlite +tar xjf %{S:1} +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:2} + +if [ -s /etc/rpm/tizen_macros ]; then + cp -a /etc/rpm/tizen_macros %{SOURCE4} +fi +cp -a %{SOURCE4} tizen_macros +rm -f m4/libtool.m4 +rm -f m4/lt*.m4 + +%build +CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`" +export CPPFLAGS +export CFLAGS="%{optflags} -ffunction-sections" +export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections" +%ifarch armv5tel +export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections" +%endif + +%if %{_target_cpu} +%ifarch %arm +BUILDTARGET="--build=%{_target_cpu}-tizen-linux-gnueabi" +%else +BUILDTARGET="--build=%{_target_cpu}-tizen-linux" +%endif +%endif + +autoreconf -i -f +./configure --disable-dependency-tracking --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ +--libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \ +--with-acl --with-cap --enable-shared %{?with_python: --enable-python} --with-msm $BUILDTARGET + +make %{?_smp_mflags} + +%install +mkdir -p %{buildroot}/usr/lib +mkdir -p %{buildroot}/usr/share/locale +ln -s ../share/locale %{buildroot}/usr/lib/locale +%make_install +install -m 644 db3/db.h %{buildroot}/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 %{buildroot}/%{_libdir}/*.la; do +# sed -i -e "s,/%_lib/libpopt.la,-lpopt,g" $f +#done +mkdir -p %{buildroot}%{_sysconfdir}/rpm +cp -a tizen_macros %{buildroot}/usr/lib/rpm +mkdir -p %{buildroot}/usr/lib/rpm/tizen +install -m 755 %{SOURCE13} %{buildroot}/usr/lib/rpm/tizen +install -m 644 %{SOURCE22} ${RPM_BUILD_ROOT}%{_sysconfdir}/device-sec-policy +ln -s ../tizen_macros %{buildroot}/usr/lib/rpm/tizen/macros +for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do + mkdir -p %{buildroot}/usr/src/packages/$d + chmod 755 %{buildroot}/usr/src/packages/$d +done +for d in %{buildroot}/usr/lib/rpm/platform/*-linux/macros ; do + dd=${d%%-linux/macros} + dd=${dd##*/} + mkdir %{buildroot}/usr/src/packages/RPMS/$dd + chmod 755 %{buildroot}/usr/src/packages/RPMS/$dd +done +mkdir -p %{buildroot}/var/lib/rpm +gzip -9 %{buildroot}/%{_mandir}/man[18]/*.[18] +export RPM_BUILD_ROOT +chmod 755 doc/manual +rm -rf doc/manual/Makefile* +rm -f %{buildroot}/usr/lib/rpmpopt +rm -rf %{buildroot}%{_mandir}/{fr,ja,ko,pl,ru,sk} +rm -f %{buildroot}%{_prefix}/share/locale/de/LC_MESSAGES/rpm.mo +rm -f %{buildroot}/usr/lib/rpm/cpanflute %{buildroot}/usr/lib/rpm/cpanflute2 +install -m 755 scripts/find-supplements{,.ksyms} %{buildroot}/usr/lib/rpm +install -m 755 scripts/firmware.prov %{buildroot}/usr/lib/rpm +install -m 755 scripts/debuginfo.prov %{buildroot}/usr/lib/rpm +rm -f %{buildroot}/usr/lib/locale %{buildroot}/usr/lib/rpmrc +mkdir -p %{buildroot}/etc/rpm +chmod 755 %{buildroot}/etc/rpm +mkdir -p %{buildroot}%{rpmhome}/macros.d +# remove some nonsense or non-working scripts +pushd %{buildroot}/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 %{buildroot}/%{_libdir}/python%{py_ver} +rm -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/rpm-plugins/*.la +sh %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm +%ifarch armv7hl +# rpm is using the host_cpu as default for the platform, but armv7hl is not known by the kernel. +# so we need to enforce the platform here. +# We don't want to use armv7l because it would make us incompatible to Fedora and MeeGo plattforms. +echo -n armv7hl-tizen-linux> %{buildroot}/etc/rpm/platform +%endif + +%post +test -f var/lib/rpm/Packages || rpm --initdb +rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion + + +%files -f rpm.lang +%defattr(-,root,root) +%doc COPYING GROUPS + /etc/rpm + /bin/rpm +%{_bindir}/rpm2cpio +%{_bindir}/rpmdb +%{_bindir}/rpmkeys +%{_bindir}/rpmquery +%{_bindir}/rpmverify +%{_bindir}/rpmqpack +%attr(0755, root, root) %dir %{rpmhome} +%{rpmhome}/macros +%{rpmhome}/macros.d +%{rpmhome}/rpmpopt* +%{rpmhome}/rpmrc +%{rpmhome}/tizen/macros +%{rpmhome}/tizen_macros +%{rpmhome}/rpm.supp +%{rpmhome}/tgpg +%{rpmhome}/platform + +%dir %{_libdir}/rpm-plugins + %{_libdir}/rpm-plugins/exec.so + %{_libdir}/librpm.so.* + %{_libdir}/librpmio.so.* +%doc %{_mandir}/man[18]/*.[18]* +%dir /var/lib/rpm +%dir %attr(755,root,root) /usr/src/packages/BUILD +%dir %attr(755,root,root) /usr/src/packages/SPECS +%dir %attr(755,root,root) /usr/src/packages/SOURCES +%dir %attr(755,root,root) /usr/src/packages/SRPMS +%dir %attr(755,root,root) /usr/src/packages/RPMS +%dir %attr(755,root,root) /usr/src/packages/BUILDROOT +%dir %attr(755,root,root) /usr/src/packages/RPMS/* + +%files build +%defattr(-,root,root) +%{_bindir}/rpmbuild +%{_bindir}/gendiff +%{_bindir}/rpmspec +%{_bindir}/rpmsign + +%{_libdir}/librpmbuild.so.* +%{_libdir}/librpmsign.so.* +%{rpmhome}/tizen/find-* +%{rpmhome}/brp-* +%{rpmhome}/find-supplements* +%{rpmhome}/check-* +%{rpmhome}/debugedit +%{rpmhome}/find-debuginfo.sh +%{rpmhome}/find-lang.sh +%{rpmhome}/*provides* +%{rpmhome}/*requires* +%{rpmhome}/*deps* +%{rpmhome}/*.prov +%{rpmhome}/*.req +%{rpmhome}/macros.* +%{rpmhome}/fileattrs + + +%files devel +%defattr(644,root,root,755) +%{_bindir}/rpmgraph +/usr/include/rpm + %{_libdir}/librpm.so + %{_libdir}/librpmbuild.so + %{_libdir}/librpmio.so + %{_libdir}/librpmsign.so + %{_libdir}/pkgconfig/rpm.pc + +%files security-plugin +%defattr(-,root,root) +%{_libdir}/rpm-plugins/msm.so +%config(noreplace) %{_sysconfdir}/device-sec-policy + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/setup.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/setup.spec new file mode 100644 index 0000000..71388e6 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/setup.spec @@ -0,0 +1,86 @@ +Name: setup +Version: 0.7 +Release: 1 +License: Public Domain +Summary: A set of system configuration and setup files +Url: https://fedorahosted.org/setup/ +Group: System/Base +Source0: %{name}-%{version}.tar.bz2 +Source1001: setup.manifest +BuildRequires: bash +BuildArch: noarch + +%description +The setup package contains a set of important system configuration and +setup files, such as passwd, group, and profile. + +%prep +%setup -q + +./shadowconvert.sh + +%build +cp %{SOURCE1001} . + +%check +# Run any sanity checks. +make check + +%install +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +cp -ar * %{buildroot}/etc +rm -f %{buildroot}%{_sysconfdir}/uidgid +rm -f %{buildroot}%{_sysconfdir}/COPYING +mkdir -p %{buildroot}%{_localstatedir}/log +touch %{buildroot}%{_localstatedir}/log/lastlog +touch %{buildroot}%{_sysconfdir}/environment +chmod 0644 %{buildroot}%{_sysconfdir}/environment +chmod 0400 %{buildroot}%{_sysconfdir}/{shadow,gshadow} +chmod 0644 %{buildroot}%{_localstatedir}/log/lastlog +touch %{buildroot}%{_sysconfdir}/fstab +touch %{buildroot}%{_sysconfdir}/mtab + +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_sysconfdir}/Makefile +rm -f %{buildroot}%{_sysconfdir}/serviceslint +rm -f %{buildroot}%{_sysconfdir}/uidgidlint +rm -f %{buildroot}%{_sysconfdir}/shadowconvert.sh +rm -rf %{buildroot}%{_sysconfdir}/packaging +rm -rf %{buildroot}%{_sysconfdir}/*.manifest + +rm %{buildroot}/%{_sysconfdir}/filesystems + +#throw away useless and dangerous update stuff until rpm will be able to +#handle it ( http://rpm.org/ticket/6 ) +%post -p +for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do + os.remove("/etc/"..name..".rpmnew") +end +%files +%manifest setup.manifest +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/passwd +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/group +%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/shadow +%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/gshadow +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/services +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports +%config(noreplace) %{_sysconfdir}/aliases +%config(noreplace) %{_sysconfdir}/environment +%config(noreplace) %{_sysconfdir}/host.conf +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.allow +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.deny +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/motd +%config(noreplace) %{_sysconfdir}/printcap +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/inputrc +%config(noreplace) %{_sysconfdir}/bashrc +%config(noreplace) %{_sysconfdir}/profile +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/protocols +%attr(0600,root,root) %config(noreplace,missingok) %{_sysconfdir}/securetty +%config(noreplace) %{_sysconfdir}/csh.login +%config(noreplace) %{_sysconfdir}/csh.cshrc +%dir %{_sysconfdir}/profile.d +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/shells +%ghost %attr(0644,root,root) %verify(not md5 size mtime) %{_localstatedir}/log/lastlog +%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/fstab +%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/mtab diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/smack.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/smack.spec new file mode 100644 index 0000000..3b9a534 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/smack.spec @@ -0,0 +1,81 @@ +Name: smack +Version: 1.0 +Release: 1 +Summary: Package to interact with Smack +Group: System/Kernel +License: LGPL-2.1 +URL: https://github.com/smack-team/smack +Source0: %{name}-%{version}.tar.gz +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool + +%description +Library allows applications to work with Smack + +%package devel +Summary: Development headers and libs for libsmack +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Standard header files for use when developing Smack enabled applications + +%package utils +Summary: Selection of tools for developers working with Smack +Group: System/Kernel +Requires: %{name} = %{version}-%{release} + +%description utils +Tools provided to load and unload rules from the kernel and query the policy + +%prep +%setup -q + +%build +autoreconf --install --symlink +%configure --with-systemdsystemunitdir=%{_prefix}/lib/systemd/system + +make %{?_smp_mflags} + +%install +%make_install + +install -d %{buildroot}/etc/smack/accesses.d +install -d %{buildroot}/etc/smack/cipso.d +install -d %{buildroot}/smack + +install -d %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants +install -d %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants +ln -s ../smack.service %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants/smack.service +ln -s ../smack.mount %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%docs_package + +%files +%defattr(644,root,root,755) +%{_libdir}/libsmack.so.* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/sys/smack.h +%{_libdir}/libsmack.so +%{_libdir}/pkgconfig/libsmack.pc + +%files utils +%defattr(644,root,root,755) +%{_sysconfdir}/smack +%{_sysconfdir}/smack/accesses.d +%{_sysconfdir}/smack/cipso.d +/smack +%attr(755,root,root) %{_bindir}/* +%{_prefix}/lib/systemd/system/smack.mount +%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount +%{_prefix}/lib/systemd/system/smack.service +%{_prefix}/lib/systemd/system/basic.target.wants/smack.service diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/systemd.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/systemd.spec new file mode 100644 index 0000000..368bbfe --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/systemd.spec @@ -0,0 +1,400 @@ +Name: systemd +Url: http://www.freedesktop.org/wiki/Software/systemd +Version: 197 +Release: 0 +# For a breakdown of the licensing, see README +License: LGPLv2+ and MIT and GPLv2+ +Summary: A System and Service Manager +BuildRequires: libcap-devel +BuildRequires: libgcrypt-devel +BuildRequires: pam-devel +BuildRequires: dbus-devel +BuildRequires: libxslt +BuildRequires: pkgconfig +BuildRequires: libacl-devel +BuildRequires: pciutils-devel +BuildRequires: glib2-devel +BuildRequires: hwdata +BuildRequires: usbutils >= 0.82 +BuildRequires: libblkid-devel >= 2.20 +BuildRequires: intltool >= 0.40.0 +BuildRequires: gperf +BuildRequires: xz-devel +BuildRequires: libkmod-devel >= 5 +Requires(post): coreutils +Requires(post): gawk +Requires(pre): coreutils +Requires(pre): /usr/bin/getent +Requires(pre): /usr/sbin/groupadd +Requires: dbus +Requires: hwdata +Requires: filesystem +Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz + +Obsoletes: SysVinit < 2.86-24, sysvinit < 2.86-24 +Provides: SysVinit = 2.86-24, sysvinit = 2.86-24 +Provides: /bin/systemctl +Provides: /sbin/shutdown +Provides: udev = %{version} +Obsoletes: udev < 183 + +%description +systemd is a system and service manager for Linux, compatible with +SysV and LSB init scripts. systemd provides aggressive parallelization +capabilities, uses socket and D-Bus activation for starting services, +offers on-demand starting of daemons, keeps track of processes using +Linux cgroups, supports snapshotting and restoring of the system +state, maintains mount and automount points and implements an +elaborate transactional dependency-based service control logic. It can +work as a drop-in replacement for sysvinit. + +%package -n libsystemd +Summary: systemd libraries +License: LGPLv2+ and MIT +Requires: %{name} = %{version}-%{release} +Obsoletes: libudev < 183 +Obsoletes: systemd < 185-4 +Conflicts: systemd < 185-4 + +%description -n libsystemd +Libraries for systemd and udev, as well as the systemd PAM module. + +%package devel +Summary: Development headers for systemd +License: LGPLv2+ and MIT +Requires: %{name} = %{version}-%{release} +Provides: libudev-devel = %{version} +Obsoletes: libudev-devel < 183 + +%description devel +Development headers and auxiliary files for developing applications for systemd. + + +%package analyze +Summary: Tool for processing systemd profiling information +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: dbus-python +Requires: python-cairo +# for the systemd-analyze split: +Obsoletes: systemd < 38-5 + +%description analyze +'systemd-analyze blame' lists which systemd unit needed how much time to finish +initialization at boot. +'systemd-analyze plot' renders an SVG visualizing the parallel start of units +at boot. + +%package -n libgudev +Summary: Libraries for adding libudev support to applications that use glib +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} + +%description -n libgudev +This package contains the libraries that make it easier to use libudev +functionality from applications that use glib. + +%package -n libgudev-devel +Summary: Header files for adding libudev support to applications that use glib +Requires: libgudev = %{version}-%{release} +License: LGPLv2+ + +%description -n libgudev-devel +This package contains the header and pkg-config files for developing +glib-based applications using libudev functionality. + +%prep +%setup -q + +%build +%autogen +%configure \ + --enable-bootchart \ + --libexecdir=%{_prefix}/lib \ + --docdir=%{_docdir}/systemd \ + --disable-static \ + --with-sysvinit-path= \ + --with-sysvrcnd-path= +make %{?_smp_mflags} + +%install +%make_install + +# udev links +/usr/bin/mkdir -p %{buildroot}/%{_sbindir} +/usr/bin/ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/firmware/updates + +# Create SysV compatibility symlinks. systemctl/systemd are smart +# enough to detect in which way they are called. +/usr/bin/ln -s ../lib/systemd/systemd %{buildroot}%{_sbindir}/init +/usr/bin/ln -s ../lib/systemd/systemd %{buildroot}%{_bindir}/systemd +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/reboot +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/halt +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/poweroff +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/shutdown +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/telinit +/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel + +# legacy links +/usr/bin/ln -s loginctl %{buildroot}%{_bindir}/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 %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants + +# Make sure the ghost-ing below works +/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target +/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target +/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target +/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel5.target + +# Make sure these directories are properly owned +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/syslog.target.wants + +# Make sure the user generators dir exists too +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-generators +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-generators + +# Create new-style configuration files so that we can ghost-own them +/usr/bin/touch %{buildroot}%{_sysconfdir}/hostname +/usr/bin/touch %{buildroot}%{_sysconfdir}/vconsole.conf +/usr/bin/touch %{buildroot}%{_sysconfdir}/locale.conf +/usr/bin/touch %{buildroot}%{_sysconfdir}/machine-id +/usr/bin/touch %{buildroot}%{_sysconfdir}/machine-info +/usr/bin/touch %{buildroot}%{_sysconfdir}/timezone +/usr/bin/mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d +/usr/bin/touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf + +# Install Fedora default preset policy +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset/ +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset/ + +# Make sure the shutdown/sleep drop-in dirs exist +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-shutdown/ +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-sleep/ + +# Make sure the NTP units dir exists +/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/ + + +# Install modprobe fragment +/usr/bin/mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/ + +rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/default.target + + +rm -rf %{buildroot}/%{_docdir}/%{name} +%pre +/usr/bin/getent group cdrom >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 11 cdrom >/dev/null 2>&1 || : +/usr/bin/getent group tape >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 33 tape >/dev/null 2>&1 || : +/usr/bin/getent group dialout >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 18 dialout >/dev/null 2>&1 || : +/usr/bin/getent group floppy >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 19 floppy >/dev/null 2>&1 || : +/usr/bin/systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || : + +# Rename configuration files that changed their names +/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || : +/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || : + +%post +/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || : +/usr/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || : +/usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || : +/usr/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 || : + +%postun +if [ $1 -ge 1 ] ; then + /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || : + /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : +fi + +%preun +if [ $1 -eq 0 ] ; then + /usr/bin/systemctl disable \ + getty@.service \ + remote-fs.target \ + systemd-readahead-replay.service \ + systemd-readahead-collect.service >/dev/null 2>&1 || : + + /usr/bin/rm -f /etc/systemd/system/default.target >/dev/null 2>&1 || : +fi + +%post -n libsystemd -p /sbin/ldconfig +%postun -n libsystemd -p /sbin/ldconfig + +%post -n libgudev -p /sbin/ldconfig +%postun -n libgudev -p /sbin/ldconfig + + +%docs_package + +%files +%{_bindir}/hostnamectl +%{_bindir}/localectl +%{_bindir}/systemd-coredumpctl +%{_bindir}/timedatectl +%dir %{_sysconfdir}/systemd +%dir %{_sysconfdir}/systemd/system +%dir %{_sysconfdir}/systemd/user +%dir %{_sysconfdir}/tmpfiles.d +%dir %{_sysconfdir}/sysctl.d +%dir %{_sysconfdir}/modules-load.d +%dir %{_sysconfdir}/binfmt.d +%dir %{_sysconfdir}/bash_completion.d +%dir %{_sysconfdir}/udev +%dir %{_sysconfdir}/udev/rules.d +%dir %{_prefix}/lib/systemd +%dir %{_prefix}/lib/systemd/system-generators +%dir %{_prefix}/lib/systemd/user-generators +%dir %{_prefix}/lib/systemd/system-preset +%dir %{_prefix}/lib/systemd/user-preset +%dir %{_prefix}/lib/systemd/system-shutdown +%dir %{_prefix}/lib/systemd/system-sleep +%dir %{_prefix}/lib/tmpfiles.d +%dir %{_prefix}/lib/sysctl.d +%dir %{_prefix}/lib/modules-load.d +%dir %{_prefix}/lib/binfmt.d +%dir %{_prefix}/lib/firmware +%dir %{_prefix}/lib/firmware/updates +%dir %{_datadir}/systemd +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf +%config(noreplace) %{_sysconfdir}/systemd/system.conf +%config(noreplace) %{_sysconfdir}/systemd/user.conf +%config(noreplace) %{_sysconfdir}/systemd/logind.conf +%config(noreplace) %{_sysconfdir}/systemd/journald.conf +%config(noreplace) %{_sysconfdir}/udev/udev.conf +%{_sysconfdir}/bash_completion.d/systemd-bash-completion.sh +%{_sysconfdir}/rpm/macros.systemd +%{_sysconfdir}/xdg/systemd +%ghost %config(noreplace) %{_sysconfdir}/hostname +%ghost %config(noreplace) %{_sysconfdir}/vconsole.conf +%ghost %config(noreplace) %{_sysconfdir}/locale.conf +%ghost %config(noreplace) %{_sysconfdir}/machine-id +%ghost %config(noreplace) %{_sysconfdir}/machine-info +%ghost %config(noreplace) %{_sysconfdir}/timezone +%ghost %config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf +%{_bindir}/systemd +%{_bindir}/systemctl +%{_bindir}/systemd-notify +%{_bindir}/systemd-ask-password +%{_bindir}/systemd-tty-ask-password-agent +%{_bindir}/systemd-machine-id-setup +%{_bindir}/loginctl +%{_bindir}/systemd-loginctl +%{_bindir}/journalctl +%{_bindir}/systemd-tmpfiles +%{_bindir}/systemd-nspawn +%{_bindir}/systemd-stdio-bridge +%{_bindir}/systemd-cat +%{_bindir}/systemd-cgls +%{_bindir}/systemd-cgtop +%{_bindir}/systemd-delta +%{_bindir}/systemd-detect-virt +%{_bindir}/systemd-inhibit +%{_bindir}/udevadm +%{_prefix}/lib/sysctl.d/coredump.conf +%{_prefix}/lib/systemd/systemd +%{_prefix}/lib/systemd/system + +%{_prefix}/lib/systemd/user/bluetooth.target +%{_prefix}/lib/systemd/user/exit.target +%{_prefix}/lib/systemd/user/printer.target +%{_prefix}/lib/systemd/user/shutdown.target +%{_prefix}/lib/systemd/user/sockets.target +%{_prefix}/lib/systemd/user/sound.target +%{_prefix}/lib/systemd/user/systemd-exit.service + +%{_prefix}/lib/systemd/systemd-* +%dir %{_prefix}/lib/systemd/catalog +%{_prefix}/lib/systemd/catalog/systemd.catalog +%{_prefix}/lib/udev +%{_prefix}/lib/systemd/system-generators/systemd-getty-generator +%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator +%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator +%{_prefix}/lib/tmpfiles.d/systemd.conf +%{_prefix}/lib/tmpfiles.d/x11.conf +%{_prefix}/lib/tmpfiles.d/tmp.conf +%{_sbindir}/init +%{_sbindir}/reboot +%{_sbindir}/halt +%{_sbindir}/poweroff +%{_sbindir}/shutdown +%{_sbindir}/telinit +%{_sbindir}/runlevel +%{_sbindir}/udevadm +%{_datadir}/systemd/kbd-model-map +%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service +%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml +%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy +%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy +%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy +%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy +%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy +%{_datadir}/pkgconfig/systemd.pc +%{_datadir}/pkgconfig/udev.pc + +# Make sure we don't remove runlevel targets from F14 alpha installs, +# but make sure we don't create then anew. +%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel2.target +%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel3.target +%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel4.target +%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel5.target + +%files -n libsystemd +%{_libdir}/security/pam_systemd.so +%{_libdir}/libsystemd-daemon.so.* +%{_libdir}/libsystemd-login.so.* +%{_libdir}/libsystemd-journal.so.* +%{_libdir}/libsystemd-id128.so.* +%{_libdir}/libudev.so.* +%_libdir/libnss_myhostname.so.2 + +%files devel +%{_libdir}/libsystemd-daemon.so +%{_libdir}/libsystemd-login.so +%{_libdir}/libsystemd-journal.so +%{_libdir}/libsystemd-id128.so +%{_libdir}/libudev.so +%{_includedir}/systemd/sd-daemon.h +%{_includedir}/systemd/sd-login.h +%{_includedir}/systemd/sd-journal.h +%{_includedir}/systemd/sd-id128.h +%{_includedir}/systemd/sd-messages.h +%{_includedir}/systemd/sd-shutdown.h +%{_includedir}/libudev.h +%{_libdir}/pkgconfig/libsystemd-daemon.pc +%{_libdir}/pkgconfig/libsystemd-login.pc +%{_libdir}/pkgconfig/libsystemd-journal.pc +%{_libdir}/pkgconfig/libsystemd-id128.pc +%{_libdir}/pkgconfig/libudev.pc + + +%files analyze +%{_bindir}/systemd-analyze + +%files -n libgudev +%{_libdir}/libgudev-1.0.so.* + +%files -n libgudev-devel +%{_libdir}/libgudev-1.0.so +%dir %{_includedir}/gudev-1.0 +%dir %{_includedir}/gudev-1.0/gudev +%{_includedir}/gudev-1.0/gudev/*.h +%{_libdir}/pkgconfig/gudev-1.0* + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/texinfo.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/texinfo.spec new file mode 100644 index 0000000..8be9df1 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/texinfo.spec @@ -0,0 +1,227 @@ +Name: texinfo +BuildRequires: automake +BuildRequires: help2man +BuildRequires: bzip2-devel +BuildRequires: libzio-devel +BuildRequires: ncurses-devel +BuildRequires: perl-gettext +BuildRequires: zlib-devel +Version: 4.13a +Release: 0 +%global version_t2h 1.82 +%global version_t2r 2.0 +Summary: Tools Needed to Create Documentation from Texinfo Sources +License: GPL-2.0+ ; GPL-3.0+ +Group: Productivity/Publishing/Texinfo +Url: http://www.texinfo.org +Provides: texi2html = %{version_t2h} +Provides: texi2roff = %{version_t2r} +Source: ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.bz2 +Source1: http://download.savannah.nongnu.org/releases/texi2html/texi2html-%{version_t2h}.tar.bz2 +# texinfo.org: the domain is expired. +# http://texinfo.org/texi2roff/texi2roff-%{version_t2r}.tar.bz2 +Source2: texi2roff-%{version_t2r}.tar.bz2 +Source10: info-dir +Patch: texinfo-4.12.dif +Patch1: texi2html-1.78.dif +Patch2: texi2roff-2.0.dif +Patch3: texi2roff.patch.bz2 +Patch4: texinfo-4.12-zlib.patch +Patch5: texinfo-4.8-echo.patch +Patch6: texi2roff-2.0-gcc4.patch +Patch7: texinfo-4.13a-bug640417.diff +Patch8: texinfo-4.13a-bug713517.diff +Patch9: automake-1.12.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Texinfo is a documentation system that uses a single source file to +produce both online information and printed output. Using Texinfo, you +can create a printed document with the normal features of a book, +including chapters, sections, cross-references, and indices. From the +same Texinfo source file, you can create a menu-driven, online info +file with nodes, menus, cross-references, and indices using the included +makeinfo tool. + +Aggregated with texinfo in this package is texi2html and texi2roff. + + +Authors: +-------- + Andreas Schwab + Brian Fox + Charles Hannum + Daniel Hagerty + David J. MacKenzie + Eli Zaretskii + Jim Meyering + Karl Berry + Kaveh R. Ghazi + Noah Friedman + Richard Stallman + Robert J. Chassell + Roland McGrath + +%package -n info +Summary: A Stand-Alone Terminal-Based Info Browser +License: GPL-3.0+ +Group: Productivity/Publishing/Texinfo +PreReq: bash zlib libzio + +%description -n info +Info is a terminal-based program for reading documentation of computer +programs in the Info format. The GNU Project distributes most of its +on-line manuals in the Info format, so you need a program called "Info +reader" to read the manuals. + + + +Authors: +-------- + Andreas Schwab + Brian Fox + Charles Hannum + Daniel Hagerty + David J. MacKenzie + Eli Zaretskii + Jim Meyering + Karl Berry + Kaveh R. Ghazi + Noah Friedman + Richard Stallman + Robert J. Chassell + Roland McGrath + +%package -n makeinfo +Summary: Translate Texinfo documents to info format +License: GPL-3.0+ +Group: Productivity/Publishing/Texinfo +Provides: texinfo:/usr/bin/makeinfo +Suggests: texinfo + +%description -n makeinfo +Makeinfo translates Texinfo source documentation to various other +formats, by default Info files suitable for reading online with Emacs +or standalone GNU Info. + +%prep +rm -rf texi2html-%{version_t2h} texi2roff-%{version_t2r} +%setup -q -b 1 -b 2 -n texinfo-4.13 +%patch4 -p0 -b .zlib +%patch5 -p0 -b .echo +%patch7 -p1 -b .size_t +%patch8 -p0 -b .egrep +%patch9 -p1 +%patch -p0 +pushd ../texi2html-%{version_t2h} +%patch1 -p0 +popd +pushd ../texi2roff-%{version_t2r} +%patch3 -p0 -b .Bader +%patch2 -p0 +%patch6 -p1 +popd + +%build + HOST=%{_target_cpu}-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=%{_prefix} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --infodir=%{_infodir} \ + --without-included-gettext \ + --enable-nls + PATH=${PWD}/makeinfo:${PWD}/util:$PATH + export PATH + make %{?_smp_mflags}; +pushd ../texi2html-%{version_t2h} + ./configure --build=$HOST \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --infodir=%{_infodir} \ + --without-included-gettext \ + --enable-nls + make %{?_smp_mflags}; +popd +pushd ../texi2roff-%{version_t2r} + rm -f texi2roff + make %{?_smp_mflags}; +popd + +%install + export LD_AS_NEEDED=0 + make DESTDIR=%{buildroot} \ + infodir=%{_infodir} \ + htmldir=%{_defaultdocdir}/texi2html install + mkdir -p %{buildroot}/sbin + mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/ + ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info + mkdir -p %{buildroot}%{_infodir} + install -m 644 %{S:10} %{buildroot}%{_infodir}/dir +pushd ../texi2html-%{version_t2h} + make DESTDIR=%{buildroot} \ + infodir=%{_infodir} \ + texinfohtmldir=%{_defaultdocdir}/texi2html install + install -m 644 README %{buildroot}%{_defaultdocdir}/texi2html/ + install -m 644 NEWS %{buildroot}%{_defaultdocdir}/texi2html/ + install -m 644 COPYING %{buildroot}%{_defaultdocdir}/texi2html/ +popd +pushd ../texi2roff-%{version_t2r} + doc=%{_defaultdocdir}/texi2roff + install -m 755 texi2roff %{buildroot}%{_bindir}/ + install -m 755 texi2index %{buildroot}%{_bindir}/ + install -m 644 texi2roff.1 %{buildroot}%{_mandir}/man1/ + mkdir -p %{buildroot}${doc} + install -m 644 Readme %{buildroot}${doc} + install -m 644 copyright %{buildroot}${doc} +popd +%find_lang %name %{name}.lang + +%clean +test -n "%{buildroot}" && rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%dir %{_defaultdocdir}/texi2html +%dir %{_defaultdocdir}/texi2roff +%doc ABOUT-NLS AUTHORS COPYING INTRODUCTION NEWS README TODO +%doc doc/texinfo.tex doc/txi-*.tex +%doc %{_defaultdocdir}/texi2html/* +%doc %{_defaultdocdir}/texi2roff/* +%{_bindir}/pdftexi* +%{_bindir}/texi* +%{_infodir}/texinfo*.gz +%{_infodir}/texi2html*.gz +%{_mandir}/man1/pdftexi2dvi.1.gz +%{_mandir}/man1/texi*.1.gz +%{_mandir}/man5/texinfo.5.gz +%{_datadir}/texinfo +%{_datadir}/texi2html + +%files -n makeinfo -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/makeinfo +%{_mandir}/man1/makeinfo.1.gz + +%files -n info +%defattr(-,root,root) +%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir +/sbin/install-info +%{_bindir}/install-info +%{_bindir}/info +%{_bindir}/infokey +%{_infodir}/info.info* +%{_infodir}/info-stnd.info* +%{_mandir}/man1/info.1* +%{_mandir}/man1/infokey.1* +%{_mandir}/man1/install-info.1* +%{_mandir}/man5/info.5* + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/tizen-release.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/tizen-release.spec new file mode 100644 index 0000000..b1c9180 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/tizen-release.spec @@ -0,0 +1,45 @@ +%define release_name Tizen Next +%define dist_version 3.0.0 + +Summary: Tizen release files +Name: tizen-release +Version: 3.0.0 +Release: 1 +License: GPLv2 +Group: System/Base +URL: http://www.tizen.com +Provides: system-release = %{version}-%{release} +Provides: tizen-release = %{version}-%{release} +BuildArch: noarch + +#HACK +Provides: lsb = 4.1 + +%description +Tizen release files such as various /etc/ files that define the release. + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/etc +echo "Tizen release %{dist_version} (%{release_name})" > $RPM_BUILD_ROOT/etc/tizen-release + +ln -s tizen-release $RPM_BUILD_ROOT/etc/system-release + +cat > $RPM_BUILD_ROOT/etc/os-release </dev/null || cp -fp /usr/share/zoneinfo/$TIMEZONE $new + mv -f $new /etc/localtime + else + [ ! -f /etc/localtime ] || echo "WARNING: Not updating /etc/localtime with new zone file" >&2 + fi +fi + +%files +%defattr(-,root,root) +%verify(not link md5 size mtime) %config(missingok,noreplace) /etc/localtime +%verify(not link md5 size mtime) %config(missingok,noreplace) %{_prefix}/share/zoneinfo/posixrules +%{_prefix}/share/zoneinfo +%{_bindir}/tzselect +%{_sbindir}/zdump +%{_sbindir}/zic + +%changelog diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/uthash.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/uthash.spec new file mode 100644 index 0000000..6b7a0d2 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/uthash.spec @@ -0,0 +1,40 @@ +Name: uthash +Version: 1.9.7 +Release: 1 +License: BSD-style single-clause +Summary: A hash table for C structures +Group: System/Kernel +Source0: %{name}-%{version}.tar.bz2 + +%description +Any C structure can be stored in a hash table using +uthash. Just add a UT_hash_handle to the structure +and choose one or more fields in your structure to +act as the key. Then use these macros to store, +retrieve or delete items from the hash table. + +%package devel +Summary: Development files for %name +Group: Development/Libraries + +%description devel +Development files for %name. + +%prep +%setup -q +%build + +%install + +mkdir -p %{buildroot}/usr/include +cd src +cp utarray.h uthash.h utlist.h utstring.h %{buildroot}/usr/include + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/utarray.h +%{_includedir}/uthash.h +%{_includedir}/utlist.h +%{_includedir}/utstring.h + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/util-linux.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/util-linux.spec new file mode 100644 index 0000000..e9c45cb --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/util-linux.spec @@ -0,0 +1,362 @@ +Name: util-linux +Version: 2.22.2 +BuildRequires: binutils-devel +BuildRequires: fdupes +BuildRequires: gettext-devel +BuildRequires: libtool +BuildRequires: ncurses-devel +BuildRequires: pam-devel +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRequires: zlib-devel +Release: 0 +# util-linux is a base package and uuidd pre-requiring pwdutils pulls +# that into the core build cycle. pwdutils also pulls in the whole +# ldap stack into it. Avoid this whole mess which is done only to +# make the rpm install check of uuidd happy which has support to work without +# these tools as well +#!BuildIgnore: pwdutils +Url: http://kernel.org/~kzak/util-linux/ +Summary: A collection of basic system utilities +License: GPL-2.0+ +Group: System/Base +Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/%{name}-%{version}.tar.xz +Source1: util-linux-rpmlintrc +# XXX: make nologin part of util-linux upstream +Source2: nologin.c +Source3: nologin.8 +Source6: etc_filesystems +Source7: baselibs.conf +Source8: login.pamd +Source9: remote.pamd +Source14: su.pamd +Source15: su.default +Source51: blkid.conf + +Requires(pre): /usr/bin/sed +# +Provides: eject +Provides: base = %{version}-%{release} +Provides: login = 4.0-33.7 +Provides: util = %{version}-%{release} +Provides: uuid-runtime = %{version}-%{release} +Obsoletes: base < %{version}-%{release} +Obsoletes: login < 4.0-33.7 +Obsoletes: util < %{version}-%{release} +Obsoletes: uuid-runtime < %{version}-%{release} + +%description +This package contains a large variety of low-level system utilities +that are necessary for a Linux system to function. It contains the +mount program, the fdisk configuration tool, and more. + +%package -n libblkid +Summary: Filesystem detection library +Group: System/Filesystems + +%description -n libblkid +Library for filesystem detection. + +%package -n libblkid-devel +Summary: Development files for the filesystem detection library +Group: Development/Libraries/C and C++ +Requires: libblkid = %{version} + +%description -n libblkid-devel +Files needed to develop applications using the library for filesystem +detection. + +%package -n uuidd +Summary: Helper daemon to guarantee uniqueness of time-based UUIDs +Group: System/Filesystems + +%description -n uuidd +The uuidd package contains a userspace daemon (uuidd) which guarantees +uniqueness of time-based UUID generation even at very high rates on +SMP systems. + +%package -n libuuid +Summary: Library to generate UUIDs +Group: System/Filesystems + +%description -n libuuid +A library to generate universally unique IDs (UUIDs). + +%package -n libuuid-devel +Summary: Development files for libuuid1 +Group: Development/Libraries/C and C++ +Requires: libuuid = %{version} + +%description -n libuuid-devel +Files to develop applications using the library to generate universally +unique IDs (UUIDs). + +%package -n libmount +Summary: Device mount library +Group: System/Filesystems + +%description -n libmount +Library designed to be used in low-level utils like +mount(8) and /usr/sbin/mount. helpers. + +%package -n libmount-devel +Summary: Development files for libmount +Group: Development/Libraries/C and C++ +Requires: libmount = %{version} + +%description -n libmount-devel +Files to develop applications using the libmount library. + +%prep +%setup -q -n %{name}-%{version} +# +# nologin +cp %{S:2} %{S:3} . + +%build +autoreconf -fi +export SUID_CFLAGS="-fpie" +export SUID_LDFLAGS="-pie" +%configure \ + --enable-mesg \ + --enable-partx \ + --disable-kill \ + --enable-write \ + --enable-line \ + --enable-new-mount \ + --enable-ddate \ + --enable-login-utils \ + --disable-mountpoint \ + --disable-use-tty-group \ + --disable-static \ + --disable-silent-rules \ + --disable-rpath +# +make %{?_smp_mflags} +# +%{__cc} -fwhole-program %{optflags} -o nologin nologin.c + +%install +mkdir -p %{buildroot}{/etc/pam.d,%{_mandir}/man{1,8},/usr/bin,/usr/sbin,%{_infodir}} +mkdir -p %{buildroot}%{_localstatedir}/lib/libuuid/ +mkdir -p %{buildroot}%{_localstatedir}/run/uuidd/ +install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf +install -m 644 %{SOURCE8} %{buildroot}/etc/pam.d/login +install -m 644 %{SOURCE9} %{buildroot}/etc/pam.d/remote +install -m 644 %{SOURCE14} %{buildroot}/etc/pam.d/su +install -m 644 %{SOURCE14} %{buildroot}/etc/pam.d/su-l +install -d -m 755 %{buildroot}/etc/default +install -m 644 %{S:15} %{buildroot}/etc/default/su +%make_install +install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems +install -m 755 nologin %{buildroot}/%{_sbindir} +rm -f %{buildroot}/%{_libdir}/libblkid.la +rm -f %{buildroot}/%{_libdir}/libuuid.la +rm -f %{buildroot}/%{_libdir}/libmount.la +install -m 644 nologin.8 %{buildroot}%{_mandir}/man8 +echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb +chmod 755 %{buildroot}%{_sbindir}/flushb +# Stupid hack so we don't have a tcsh dependency +chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh +# Following files we don't want to package, so remove them +rm -f %{buildroot}%{_bindir}/pg +rm -f %{buildroot}%{_mandir}/man1/pg.1* +# Do not package these files to get rid of the perl dependency +rm -f %{buildroot}%{_bindir}/chkdupexe +rm -f %{buildroot}%{_mandir}/man1/chkdupexe.1 +# we use this tools from pwdutils +rm -f %{buildroot}/%{_bindir}/{chfn,chsh,newgrp} +rm -f %{buildroot}/%{_sbindir}/{vigr,vipw} +rm -f %{buildroot}/%{_mandir}/man1/{chfn.1*,chsh.1*,newgrp.1*} +rm -f %{buildroot}/%{_mandir}/man8/{vigr.8*,vipw.8*} + + + +%find_lang %{name} %{name}.lang +# create list of setarch(8) symlinks +find %{buildroot}%{_bindir}/ -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 "%{_bindir}/%f\n" >> %{name}.files +find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \ + -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)\.8.*" \ + -printf "%{_mandir}/man8/%f*\n" >> %{name}.files +# clock.txt from uuidd is a ghost file +touch %{buildroot}%{_localstatedir}/lib/libuuid/clock.txt +# rcuuidd helper + +rm -rf %{buildroot}/%{_mandir}/ru + +# remove duplicate manpages +%fdupes -s %{buildroot}/%{_mandir} + + +%post -n libblkid -p /sbin/ldconfig + +%postun -n libblkid -p /sbin/ldconfig + +%post -n libmount -p /sbin/ldconfig + +%postun -n libmount -p /sbin/ldconfig + +%post -n libuuid -p /sbin/ldconfig + +%postun -n libuuid -p /sbin/ldconfig + +%lang_package + +%docs_package + + +%files -f %{name}.files +# Common files for all archs +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/filesystems +%config(noreplace) %{_sysconfdir}/blkid.conf +%config(noreplace) /etc/pam.d/login +%config(noreplace) /etc/pam.d/remote +%config(noreplace) /etc/pam.d/su +%config(noreplace) /etc/pam.d/su-l +%config(noreplace) /etc/default/su +%{_bindir}/su +%{_bindir}/cal +%{_bindir}/eject +#%{_bindir}/kill +%{_bindir}/lslocks +%{_bindir}/utmpdump +%{_bindir}/wdctl +%{_sbindir}/resizepart +%{_sbindir}/sulogin +%{_bindir}/login +%{_bindir}/chrt +%{_bindir}/col +%{_bindir}/colcrt +%{_bindir}/colrm +%{_bindir}/column +%{_bindir}/ddate +%{_bindir}/dmesg +%{_bindir}/fallocate +%{_bindir}/findmnt +%{_bindir}/flock +%{_bindir}/getopt +%{_bindir}/hexdump +%{_bindir}/ionice +%{_bindir}/ipcmk +%{_bindir}/ipcrm +%{_bindir}/ipcs +%{_bindir}/isosize +%{_bindir}/line +%{_bindir}/logger +%{_bindir}/look +%{_bindir}/lsblk +%{_bindir}/lscpu +%{_bindir}/mcookie +%{_bindir}/mesg +%{_bindir}/more +%{_bindir}/mount +%{_bindir}/namei +%{_bindir}/prlimit +%{_bindir}/rename +%{_bindir}/renice +%{_bindir}/rev +%{_bindir}/script +%{_bindir}/scriptreplay +%{_bindir}/setarch +%{_bindir}/setsid +%{_bindir}/tailf +%{_bindir}/taskset +%{_bindir}/ul +%{_bindir}/umount +%{_bindir}/unshare +%{_bindir}/uuidgen +%{_sbindir}/addpart +%{_sbindir}/agetty +%{_sbindir}/blkid +%{_sbindir}/blockdev +%{_sbindir}/chcpu +%{_sbindir}/ctrlaltdel +%{_sbindir}/delpart +%{_sbindir}/findfs +%{_sbindir}/fsck +%{_sbindir}/fsck.minix +%{_sbindir}/fsck.cramfs +%{_sbindir}/fsfreeze +%{_sbindir}/fstrim +%{_sbindir}/ldattach +%{_sbindir}/losetup +%{_sbindir}/mkfs +%{_sbindir}/mkfs.bfs +%{_sbindir}/mkfs.minix +%{_sbindir}/mkfs.cramfs +%{_sbindir}/mkswap +%{_sbindir}/nologin +%{_sbindir}/raw +%{_sbindir}/partx +%{_sbindir}/pivot_root +%{_sbindir}/rtcwake +%{_sbindir}/swaplabel +%{_sbindir}/swapoff +%{_sbindir}/swapon +%{_sbindir}/switch_root +%{_sbindir}/wipefs +%verify(not mode) %attr(0755,root,tty) %{_bindir}/wall +%{_bindir}/whereis +%verify(not mode) %attr(0755,root,tty) %{_bindir}/write +%{_sbindir}/flushb +%{_sbindir}/readprofile +%dir %{_datadir}/getopt +%attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash +%attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh +#XXX: post our patches upstream +#XXX: call fdupes on /usr/share/man +%{_sbindir}/fdisk +%{_sbindir}/cfdisk +%{_sbindir}/sfdisk +%{_bindir}/cytune +%{_sbindir}/fdformat +%{_sbindir}/hwclock +%{_bindir}/setterm +%{_sbindir}/tunelp + +%files -n libblkid +%defattr(-, root, root) +/%{_libdir}/libblkid.so.1 +/%{_libdir}/libblkid.so.1.* + +%files -n libblkid-devel +%defattr(-, root, root) +%{_libdir}/libblkid.so +%dir %{_includedir}/blkid +%{_includedir}/blkid/blkid.h +%{_libdir}/pkgconfig/blkid.pc + +%files -n libmount +%defattr(-, root, root) +/%{_libdir}/libmount.so.1 +/%{_libdir}/libmount.so.1.* + +%files -n libmount-devel +%defattr(-, root, root) +%{_libdir}/libmount.so +%dir %{_includedir}/libmount +%{_includedir}/libmount/libmount.h +%{_libdir}/pkgconfig/mount.pc + +%files -n uuidd +%defattr(-, root, root) +%verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd +%attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid +%ghost %{_localstatedir}/lib/libuuid/clock.txt +%attr(-,uuidd,uuidd) %ghost %dir %{_localstatedir}/run/uuidd + +%files -n libuuid +%defattr(-, root, root) +/%{_libdir}/libuuid.so.1 +/%{_libdir}/libuuid.so.1.* + +%files -n libuuid-devel +%defattr(-, root, root) +%{_libdir}/libuuid.so +%dir %{_includedir}/uuid +%{_includedir}/uuid/uuid.h +%{_libdir}/pkgconfig/uuid.pc + diff --git a/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/zlib.spec b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/zlib.spec new file mode 100644 index 0000000..7bd9e53 --- /dev/null +++ b/Tizen_TZ_package/recipes-BaseSystem/specfile-initial/zlib.spec @@ -0,0 +1,142 @@ +%define keepstatic 1 +Name: zlib +Provides: libz +Obsoletes: libz +Version: 1.2.7 +Release: 0 +Summary: Data Compression Library +License: Zlib +Group: System/Libraries +Url: http://www.zlib.net/ +# git://github.com/kaffeemonster/zlib.git (branch adler32_vec) +Source: http://zlib.net/zlib-%{version}.tar.bz2 +Source1: LICENSE +Source2: baselibs.conf +BuildRequires: pkgconfig + +%description +ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt +(deflate format) and rfc1952.txt (gzip format). These documents are +also available in other formats from +ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Languages/C and C++ +Requires: glibc-devel +Requires: zlib = %{version} +Provides: libz:/usr/include/zlib.h + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require the provided includes and +libraries. + +%package devel-static +Summary: Include Files and Libraries mandatory for Development +Group: Development/Languages/C and C++ +Requires: %{name}-devel = %{version} +Provides: %{name}-devel:%{_libdir}/libz.a + +%description devel-static +This package contains all necessary include files and libraries needed +to develop applications that require the provided includes and +libraries. + +%package -n minizip +Summary: Minizip manipulates files from a .zip archive +Group: System/Libraries +Requires: %{name} = %{version}-%{release} + +%description -n minizip +Minizip manipulates files from a .zip archive. + +%package -n minizip-devel +Summary: Development files for the minizip library +Group: Development/Libraries +Requires: minizip = %{version}-%{release} + +%description -n minizip-devel +This package contains the libraries and header files needed for +developing applications which use minizip. + +%prep +%setup -q + +%build +export LDFLAGS="-Wl,-z,relro,-z,now" +%define do_profiling 0 +%if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib} +make CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" %{?_smp_mflags} +time make check +make clean +make CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags} +%else +export CFLAGS="%{optflags}" +CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib} +make %{?_smp_mflags} +%endif + +cd contrib/minizip +%reconfigure +make %{?_smp_mflags} + +%check +time make check + +%install +#mkdir -p %{buildroot}%{_mandir}/man3 +mkdir -p %{buildroot}%{_libdir} +%make_install +ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so +rm -v %{buildroot}/%{_lib}/libz.so +# static lib +mv %{buildroot}/%{_lib}/libz.a %{buildroot}%{_libdir} +# Move .pc file to %{_libdir} +mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} +# manpage +install -m 644 zlib.3 %{buildroot}%{_mandir}/man3 +install -m 644 zutil.h %{buildroot}%{_includedir} + +pushd contrib/minizip +make install DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot}%{_libdir}/libminizip.a +rm -rf %{buildroot}%{_libdir}/libminizip.la +popd + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +/%{_lib}/libz.so.1.2.* +/%{_lib}/libz.so.1 + +%files devel +%defattr(-,root,root) +%doc README +%{_mandir}/man3/zlib.3.gz +%{_includedir}/zlib.h +%{_includedir}/zconf.h +%{_includedir}/zutil.h +%{_libdir}/libz.so +%{_libdir}/pkgconfig/zlib.pc + +%files devel-static +%defattr(-,root,root) +%{_libdir}/libz.a + +%files -n minizip +%{_libdir}/libminizip.so.* + +%files -n minizip-devel +%dir %{_includedir}/minizip +%{_includedir}/minizip/*.h +%{_libdir}/libminizip.so +%{_libdir}/pkgconfig/minizip.pc + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/alsa-utils.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/alsa-utils.spec new file mode 100644 index 0000000..f1028f8 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/alsa-utils.spec @@ -0,0 +1,47 @@ +Name: alsa-utils +Version: 1.0.26 +Release: 1 +License: GPL-2.0+ +Summary: Advanced Linux Sound Architecture (ALSA) utilities +Url: http://www.alsa-project.org/ +Group: Applications/Multimedia +Source0: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2 +BuildRequires: libasound-devel + +%description +This package contains command line utilities for the Advanced Linux Sound +Architecture (ALSA). + +%package doc +Summary: Man pages for alsa-utils +Group: Documentation +Requires: %{name} = %{version} + +%description doc +Man pages for alsa-utils + +%prep +%setup -q + + +%build + +%configure --disable-static \ + --disable-nls \ + --disable-xmlto \ + --disable-alsamixer \ + --disable-alsatest + +make %{?_smp_mflags} + +%install +%make_install + +%remove_docs + +%files +%{_bindir}/* +%{_sbindir}/* +%{_datadir}/alsa/* +%{_datadir}/sounds/* +/lib/udev/rules.d/90-alsa-restore.rules diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/autoconf.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/autoconf.spec new file mode 100644 index 0000000..0644f47 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/autoconf.spec @@ -0,0 +1,60 @@ +Name: autoconf +BuildRequires: xz +BuildRequires: m4 >= 1.4.6 +Url: http://www.gnu.org/software/autoconf +Requires: m4 >= 1.4.6 +Requires: perl >= 5.6 +Version: 2.69 +Release: 0 +Summary: A GNU Tool for Automatically Configuring Source Code +License: GPL-3.0+ +Group: Development/Tools/Building +Source: autoconf-%{version}.tar.xz +BuildArch: noarch + +%description +GNU Autoconf is a tool for configuring source code and makefiles. Using +autoconf, programmers can create portable and configurable packages, +because the person building the package is allowed to specify various +configuration options. + +You should install autoconf if you are developing software and would +like to create shell scripts to configure your source code packages. + +Note that the autoconf package is not required for the end user who may +be configuring software with an autoconf-generated script; autoconf is +only required for the generation of the scripts, not their use. + +%prep +%setup -q -n autoconf-%{version} + +%build +%configure +make %{?_smp_mflags} + +%check +trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT +make check + +%install +%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} +rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el* +# info's dir file is not auto ignored on some systems +rm -rf %{buildroot}%{_infodir}/dir + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz + + +%files +%defattr(-,root,root) +%doc COPYING +%{_prefix}/bin/* +%{_prefix}/share/autoconf +%doc %{_infodir}/*.gz +%doc %{_mandir}/man1/*.gz + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/automake.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/automake.spec new file mode 100644 index 0000000..7f91ed3 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/automake.spec @@ -0,0 +1,59 @@ +Name: automake +BuildRequires: autoconf >= 2.69 +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: xz +Requires: autoconf >= 2.69 +Version: 1.12.1 +Release: 0 +Summary: A Program for Automatically Generating GNU-Style Makefile.in Files +License: GPL-2.0+ +Group: Development/Tools/Building +Url: http://www.gnu.org/software/automake +Source: automake-%{version}.tar.xz +Source1: automake-rpmlintrc +BuildArch: noarch + +%description +Automake is a tool for automatically generating "Makefile.in" files +from "Makefile.am" files. "Makefile.am" is a series of "make" macro +definitions (with rules occasionally thrown in). The generated +"Makefile.in" files are compatible with the GNU Makefile standards. + +%prep +%setup -q -n automake-%{version} + +%build +sh bootstrap.sh +%configure --docdir=%{_docdir}/%{name} +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}/etc %{buildroot}/usr/share/aclocal +echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist +ln -s ../../../etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist +mkdir -p %{buildroot}%{_mandir}/man1 +install -m644 COPYING %{buildroot}%{_docdir}/%{name} +# info's dir file is not auto ignored on some systems +rm -rf %{buildroot}%{_infodir}/dir + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/automake.info.gz + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz + + +%files +%defattr(-,root,root) +%doc %{_docdir}/%{name} +%{_bindir}/* +%doc %{_infodir}/*.gz +%doc %{_mandir}/man1/* +%{_datadir}/aclocal* +%{_datadir}/automake-* +%config /etc/aclocal_dirlist + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/binutils.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/binutils.spec new file mode 100644 index 0000000..6514029 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/binutils.spec @@ -0,0 +1,358 @@ +Name: binutils +BuildRequires: bison +BuildRequires: flex +BuildRequires: gcc-c++ +# for the testsuite +BuildRequires: glibc-devel-static +# for some gold tests +BuildRequires: bc +BuildRequires: makeinfo +BuildRequires: zlib-devel-static +Requires(pre): update-alternatives +Version: 2.23.1 +Release: 0 +# +# RUN_TESTS +%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) +# check the vanilla binutils, with no patches applied +# TEST_VANILLA +%define test_vanilla %(test ! -f %_sourcedir/TEST_VANILLA ; echo $?) +# +# handle test suite failures +# +%ifarch alpha %arm hppa mips sh4 %sparc +%define make_check_handling true +%else +# XXX check again +# XXX disabled because gold is seriously broken for now +%define make_check_handling true +%endif +# let make check fail anyway if RUN_TESTS was requested +%if %{run_tests} +%define make_check_handling false +%endif +# handle all binary object formats supported by SuSE (and a few more) +%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%define build_multitarget 1 +%else +%define build_multitarget 0 +%endif +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +# +# +# +Url: http://www.gnu.org/software/binutils/ +%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//') +Summary: GNU Binutils +License: GFDL-1.3 and GPL-3.0+ +Group: Development/Tools/Building +Source: binutils-%{binutils_version}.tar.bz2 +Source1: pre_checkin.sh +Source3: baselibs.conf + +%description +C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, +size, strings, and strip. These utilities are needed whenever you want +to compile a program or kernel. + + +%package gold +Summary: The gold linker +License: GPL-3.0+ +Group: Development/Tools/Building +Requires: binutils = %{version}-%{release} +%if 0%{!?cross:1} +%define gold_archs %ix86 %arm x86_64 ppc ppc64 %sparc +%endif + +%description gold +gold is an ELF linker. It is intended to have complete support for ELF +and to run as fast as possible on modern systems. For normal use it is +a drop-in replacement for the older GNU linker. + + +%package devel +Summary: GNU binutils (BFD development files) +License: GPL-3.0+ +Group: Development/Libraries/C and C++ +Requires: binutils = %{version}-%{release} +Requires: zlib-devel +Provides: binutils:/usr/include/bfd.h + +%description devel +This package includes header files and static libraries necessary to +build programs which use the GNU BFD library, which is part of +binutils. + + +%ifarch %arm +%define HOST %{_target_cpu}-tizen-linux-gnueabi +%else +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-tizen-linux +%endif +%define DIST %(echo '%distribution' | sed 's/ (.*)//') + +%prep +echo "make check will return with %{make_check_handling} in case of testsuite failures." +%setup -q -n binutils-%{binutils_version} + +sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h +%build +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error" +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` +%if 0%{!?cross:1} +# Building native binutils +echo "Building native binutils." +%if %build_multitarget +EXTRA_TARGETS="%(printf ,%%s-tizen-linux %target_list)" +EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep" +%else +EXTRA_TARGETS= +%ifarch sparc +EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux" +%endif +%ifarch ppc +EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux" +%endif +%ifarch s390 +EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux" +%endif +%ifarch s390x +EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux" +%endif +%ifarch %ix86 +EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux" +%endif +%ifarch ppc ppc64 +EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" +%endif +%ifarch %arm +EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi" +%endif +%endif +%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ + --prefix=%{_prefix} --libdir=%{_libdir} \\\ + --infodir=%{_infodir} --mandir=%{_mandir} \\\ + --with-bugurl=http://bugs.opensuse.org/ \\\ + --with-pkgversion="GNU Binutils; %{DIST}" \\\ + --disable-nls \\\ + --with-separate-debug-dir=%{_prefix}/lib/debug \\\ + --with-pic --build=%{HOST} +mkdir build-dir +cd build-dir +../configure %common_flags \ + ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \ + --enable-plugins \ +%ifarch %gold_archs + --enable-gold \ +%endif + --enable-shared +make %{?_smp_mflags} all-bfd TARGET-bfd=headers +# force reconfiguring (???) +rm bfd/Makefile +make %{?_smp_mflags} + +%else +# building cross-TARGET-binutils +echo "Building cross binutils." +mkdir build-dir +cd build-dir +EXTRA_TARGETS= +%if "%{TARGET}" == "sparc" +EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux" +%endif +%if "%{TARGET}" == "powerpc" +EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux" +%endif +%if "%{TARGET}" == "s390" +EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux" +%endif +%if "%{TARGET}" == "s390x" +EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux" +%endif +%if "%{TARGET}" == "i586" +EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux" +%endif +%if "%{TARGET}" == "hppa" +EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-tizen-linux" +%endif +%if "%{TARGET}" == "arm" +EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi" +%endif +%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" +TARGET_OS=%{TARGET} +%else +%if "%{TARGET}" == "arm" +TARGET_OS=%{TARGET}-tizen-linux-gnueabi +%else +TARGET_OS=%{TARGET}-tizen-linux +%endif +%endif +../configure CFLAGS="${RPM_OPT_FLAGS}" \ + --prefix=%{_prefix} \ + --with-bugurl=http://bugs.opensuse.org/ \ + --with-pkgversion="GNU Binutils; %{DIST}" \ + --disable-nls \ + --build=%{HOST} --target=$TARGET_OS \ +%if "%{TARGET}" == "spu" + --with-sysroot=/usr/spu \ +%else + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ +%endif + ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} +make %{?_smp_mflags} all-bfd TARGET-bfd=headers +# force reconfiguring +rm bfd/Makefile +make %{?_smp_mflags} +%if "%{TARGET}" == "avr" +# build an extra nesC version because nesC requires $'s in identifiers +cp -a gas gas-nesc +echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h +make -C gas-nesc clean +make -C gas-nesc %{?_smp_mflags} +%endif +%endif + +%check +unset LD_AS_NEEDED +cd build-dir +%if 0%{?cross:1} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +%else +make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%endif + +%install +cd build-dir +%if 0%{!?cross:1} +# installing native binutils +%ifarch %gold_archs +make DESTDIR=$RPM_BUILD_ROOT install-gold +ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold +%endif +make DESTDIR=$RPM_BUILD_ROOT install-info install +make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am +make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes + +if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then + mv "%buildroot/%_bindir"/{ld,ld.bfd}; +else + rm -f "%buildroot/%_bindir/ld"; +fi +mkdir -p "%buildroot/%_sysconfdir/alternatives"; +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld"; +ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; +rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin +mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin +ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin + +mv $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts $RPM_BUILD_ROOT%{_libdir} +ln -sf ../../%{_lib}/ldscripts $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts + +# Install header files +make -C libiberty install_to_libdir target_header_dir=/usr/include DESTDIR=$RPM_BUILD_ROOT +# We want the PIC libiberty.a +install -m 644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%{_libdir} +# +chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-* +chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-* +# No shared linking outside binutils +rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so +rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la +# Remove unwanted files to shut up rpm +rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info* +rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1 +cd .. +#%find_lang binutils +#%find_lang bfd binutils.lang +#%find_lang gas binutils.lang +#%find_lang ld binutils.lang +#%find_lang opcodes binutils.lang +#%find_lang gprof binutils.lang +%ifarch %gold_archs +#%find_lang gold binutils-gold.lang +%endif +mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} +install -m 644 binutils/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-binutils +install -m 644 gas/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-gas +install -m 644 ld/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-ld +%else +# 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 %buildroot/usr/%{TARGET}*) +for f in %buildroot/usr/$T/bin/* ; do + ln -sf /usr/bin/$T-$(basename $f) $f +done +%if "%{TARGET}" == "avr" +install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as +ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as +%endif +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* +rm -rf $RPM_BUILD_ROOT%{_prefix}/include +rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt +> ../binutils.lang +%endif +cd $RPM_BUILD_DIR/binutils-%version + + +%if 0%{!?cross:1} +%docs_package +%post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + +%post gold +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.gold" 2 + + +%preun +if [ "$1" = 0 ]; then + "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.bfd"; +fi; + +%preun gold +if [ "$1" = 0 ]; then + "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold"; +fi; + +%endif + +%files +%defattr(-,root,root) +%if 0%{!?cross:1} +%{_docdir}/%{name} +%{_prefix}/%{HOST}/bin/* +%{_prefix}/%{HOST}/lib/ldscripts +%ghost %_sysconfdir/alternatives/ld +%{_libdir}/ldscripts +%{_bindir}/* +%ifarch %gold_archs +%exclude %{_bindir}/gold +%exclude %{_bindir}/ld.gold +%endif +%doc %{_infodir}/*.gz +%{_libdir}/lib*-%{version}*.so +%else +%{_prefix}/%{TARGET}* +%{_prefix}/bin/* +%endif + +%ifarch %gold_archs +%files gold +%defattr(-,root,root) +%{_bindir}/gold +%{_bindir}/ld.gold +%endif + +%if 0%{!?cross:1} +%files devel +%defattr(-,root,root) +%{_prefix}/include/*.h +%{_libdir}/lib*.*a +%endif + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/bison.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/bison.spec new file mode 100644 index 0000000..d6232dd --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/bison.spec @@ -0,0 +1,41 @@ +%define keepstatic 1 +Name: bison +BuildRequires: gcc-c++ +Version: 2.6.2 +Release: 0 +Summary: The GNU Parser Generator +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Url: http://www.gnu.org/software/bison/bison.html +Source: bison-%{version}.tar.xz +Source2: baselibs.conf +Requires: m4 + +%description +Bison is a parser generator similar to yacc(1). + +%prep +%setup -q + +%build +%configure --disable-nls +make %{?_smp_mflags} + +%check +make %{?_smp_mflags} check + +%install +%make_install + +%files +%dir %{_datadir}/aclocal +%{_bindir}/bison +%{_bindir}/yacc +%{_libdir}/liby.a +%{_datadir}/bison +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/bison-i18n.m4 +%doc %{_infodir}/bison.info*.gz +%doc %{_mandir}/man1/bison.1.gz +%doc %{_mandir}/man1/yacc.1.gz + diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/chrpath.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/chrpath.spec new file mode 100644 index 0000000..9605153 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/chrpath.spec @@ -0,0 +1,36 @@ +Name: chrpath +Version: 0.13 +Release: 3 +License: GPL+ +Summary: Modify rpath of compiled programs +Url: http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/ +Group: Development/Tools +Source0: http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/%{name}-%{version}.tar.gz + +%description +chrpath allows you to modify the dynamic library load path (rpath) of +compiled programs. Currently, only removing and modifying the rpath +is supported. + +%prep +%setup -q + + +%build + +%configure --disable-static +# Call make instruction with smp support +make %{?_smp_mflags} + +%install +%make_install + +rm -fr %{buildroot}/usr/doc + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{_bindir}/chrpath +%doc %{_mandir}/man1/chrpath.1* + + diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/cmake.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/cmake.spec new file mode 100644 index 0000000..504a5e9 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/cmake.spec @@ -0,0 +1,80 @@ +Name: cmake +Version: 2.8.9 +Release: 1 +License: BSD +Summary: Cross-platform make system +Url: http://www.cmake.org +Group: Development/Tools +Source0: http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz +Source1: macros.cmake +BuildRequires: expat-devel +BuildRequires: pkgconfig(libarchive) >= 2.8.0 +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(zlib) +BuildRequires: procps +BuildRequires: pkgconfig(ncurses) +BuildRequires: gcc-c++ + +%description +CMake is used to control the software compilation process using simple platform +and compiler independent configuration files. CMake generates native makefiles +and workspaces that can be used in the compiler environment of your choice. +CMake is quite sophisticated: it is possible to support complex environments +requiring system configuration, pre-processor generation, code generation, and +template instantiation. + + +%prep +%setup -q -n cmake-%{version} + +# Fixup permissions +find -name \*.h -o -name \*.cxx -print0 | xargs -0 chmod -x + +%build +cat > %{buildroot}build-flags.cmake << EOF +set(CMAKE_SKIP_RPATH YES CACHE BOOL "Skip rpath" FORCE) +set(CMAKE_USE_RELATIVE_PATHS YES CACHE BOOL "Use relative paths" FORCE) +set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "Verbose build" FORCE) +set(CMAKE_C_FLAGS "%{optflags}" CACHE STRING "C flags" FORCE) +set(CMAKE_CXX_FLAGS "%{optflags}" CACHE STRING "C++ flags" FORCE) +set(CMAKE_SKIP_BOOTSTRAP_TEST ON CACHE BOOL "Skip BootstrapTest" FORCE) +set(BUILD_CursesDialog YES CACHE BOOL "Build curses GUI" FORCE) +set(MINGW_CC_LINUX2WIN_EXECUTABLE "" CACHE FILEPATH "Never detect mingw" FORCE) +set(CMAKE_USE_SYSTEM_LIBARCHIVE YES CACHE BOOL "" FORCE) +EOF +rm -rf %{_target_platform} && mkdir %{_target_platform} +cd %{_target_platform} && ../bootstrap \ + --prefix=%{_prefix} \ + --docdir=/share/doc/packages/%{name} \ + --mandir=/share/man \ + --datadir=/share/cmake \ + --%{?with_bootstrap:no-}system-libs \ + --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \ + --init=%{buildroot}build-flags.cmake \ + --system-libs + +make VERBOSE=1 %{?_smp_mflags} + +%install +%makeinstall -C %{_target_platform} DESTDIR=%{buildroot} +find %{buildroot}%{_datadir}/%{name}/Modules -name '*.sh*' -type f | xargs chmod -x +mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp +cp -a Example %{buildroot}%{_datadir}/doc/%{name}-%{version}/ +install -m 0644 Docs/cmake-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ +# Install cmake rpm macros +install -D -p -m 0644 %{_sourcedir}/macros.cmake \ + %{buildroot}%{_sysconfdir}/rpm/macros.cmake + +%remove_docs +rm -rf %{buildroot}/usr/share/doc + +%files +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/rpm/macros.cmake +%{_datadir}/aclocal/cmake.m4 +%{_bindir}/ccmake +%{_bindir}/cmake +%{_bindir}/cpack +%{_bindir}/ctest +%{_datadir}/%{name}/* +%{_datadir}/emacs/* diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/diffutils.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/diffutils.spec new file mode 100644 index 0000000..2357393 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/diffutils.spec @@ -0,0 +1,37 @@ +Name: diffutils +Version: 3.2 +Release: 0 +License: GFDL-1.2 ; GPL-3.0+ +Summary: GNU diff Utilities +Url: http://www.gnu.org/software/diffutils/ +Group: Productivity/Text/Utilities +Source: %{name}-%{version}.tar.xz +BuildRequires: xz +Provides: diff +Obsoletes: diff + +%description +The GNU diff utilities find differences between files. diff is used to +make source code patches, for instance. + +%prep +%setup -q + +%build +%configure --disable-nls +make %{?_smp_mflags} + +%install +%make_install +gzip -9 %{buildroot}%{_infodir}/%{name}.info + + +%files +%defattr(-,root,root) +%{_bindir}/cmp +%{_bindir}/diff +%{_bindir}/diff3 +%{_bindir}/sdiff +%doc %{_infodir}/%{name}.info.gz +%doc %{_mandir}/man1/*.gz + diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/findutils.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/findutils.spec new file mode 100644 index 0000000..2cbe8eb --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/findutils.spec @@ -0,0 +1,82 @@ +Name: findutils +Url: http://www.gnu.org/software/findutils/ +Version: 4.5.10 +Release: 0 +Summary: The GNU versions of find utilities (find and xargs) +License: GPL-3.0+ +Group: Productivity/File utilities +# retrieved from http://alpha.gnu.org/pub/gnu/findutils/findutils-4.5.10.tar.gz +Source: findutils-%{version}.tar.bz2 +Source1: sysconfig.locate + +%description +The findutils package contains programs which will help you locate +files on your system. The find utility searches through a hierarchy +of directories looking for files which match a certain set of criteria +(such as a file name pattern). The xargs utility builds and executes +command lines from standard input arguments (usually lists of file +names generated by the find command). + +You should install findutils because it includes tools that are very +useful for finding things on your system. + + +%lang_package +%package locate +Summary: Tool for Locating Files (findutils subpackage) +Group: Productivity/File utilities +Provides: findutils:/usr/bin/locate +Requires: findutils = %{version} + +%description locate +This package contains the locate program which is part of the GNU +findutils software suite. + +You can find files fast using locate. On installing findutils-locate +an additional daily cron job will be added to the cron system. This +job will update the files database every night or shortly after +switching on the computer. + +%prep +%setup -q + +%build +%ifarch %arm armv5tel armv7l armv7el armv5el +# this is a workaround for a qemu-user bug, we hit. A qemu patch is being discussed, but for now ... +export DEFAULT_ARG_SIZE="(31u * 1024u)" +%endif +%configure \ + --libexecdir=%{_libdir}/find \ + --localstatedir=/var/lib \ + --without-included-regex \ + --without-fts \ + --enable-d_type-optimisation +make %{?_smp_mflags} + +%check +make check + +%install +make install DESTDIR=$RPM_BUILD_ROOT +install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/locate +rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind +rm -f $RPM_BUILD_ROOT%{_bindir}/ftsfind +rm -f $RPM_BUILD_ROOT%{_infodir}/find-maint* +%find_lang %{name} + +%docs_package + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/find +%{_bindir}/xargs + +%files locate +%defattr(-,root,root,-) +%{_bindir}/locate +%{_bindir}/updatedb +%{_libdir}/find +%config(noreplace) %{_sysconfdir}/sysconfig/locate + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/flex.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/flex.spec new file mode 100644 index 0000000..feca2d8 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/flex.spec @@ -0,0 +1,47 @@ +%define keepstatic 1 +Name: flex +Version: 2.5.37 +Release: 0 +License: BSD-3-Clause +Summary: Fast Lexical Analyzer Generator +Url: http://flex.sourceforge.net/ +Group: Development/Languages/C and C++ +Source: %{name}-%{version}.tar.bz2 +Source1: lex-wrapper.sh +Source3: baselibs.conf +BuildRequires: automake +BuildRequires: makeinfo +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: gettext-tools +Requires: m4 + +%description +FLEX is a tool for generating scanners: programs that recognize lexical +patterns in text. + +%prep +%setup -q + +%build +autoreconf -fi +%configure --disable-nls +make %{?_smp_mflags} + +%check +%if !0%{?qemu_user_space_build:1} +make check +%endif + +%install +%make_install +install %{SOURCE1} %{buildroot}/%{_bindir}/lex + +%remove_docs +%files +%defattr(-,root,root) +/usr/bin/flex +/usr/bin/flex++ +/usr/bin/lex +/usr/include/FlexLexer.h +%{_libdir}/libfl.a diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/gcc.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/gcc.spec new file mode 100644 index 0000000..6bb8764 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/gcc.spec @@ -0,0 +1,550 @@ +Name: gcc +%define separate_bi32 0 +%define separate_bi64 0 +%ifarch ppc +%define separate_bi64 1 +%endif +%ifarch x86_64 s390x ppc64 +%define separate_bi32 1 +%endif +Url: http://gcc.gnu.org/ +%define gcc_version 47 +%define gcc_suffix 4.7 +Version: 4.7 +Release: 0 +Summary: The system GNU C Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Provides: c_compiler +Obsoletes: gcc-mudflap +Requires: cpp +Requires: gcc%{gcc_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: cpp +Source99: README.packaging + +%description +The system GNU C Compiler. + + + +%package -n gcc-32bit +Summary: The system GNU C Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-32bit + +%description -n gcc-32bit +The system GNU C Compiler. + + + +%package -n gcc-64bit +Summary: The system GNU C Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-64bit + +%description -n gcc-64bit +The system GNU C Compiler. + + + +%package -n cpp +Summary: The system GNU Preprocessor +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: cpp%{gcc_version} + +%description -n cpp +The system GNU Preprocessor. + + + +%package -n gcc-locale +Summary: The system GNU Compiler locale files +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc%{gcc_version}-locale + +%description -n gcc-locale +The system GNU Compiler locale files. + + + +%package -n gcc-info +Summary: The system GNU Compiler documentation +License: GFDL-1.2 +Group: Development/Languages/C and C++ +Requires: gcc%{gcc_version}-info + +%description -n gcc-info +The system GNU Compiler documentation. + +# There is intentionally no postun with install_info_delete as there +# is no way to just remove the aliased entries. The content owners +# install_info_delete will also remove the aliases though. +# install-info does not pick up descriptions from the content. + +%package -n gcc-c++ +Summary: The system GNU C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Provides: c++_compiler +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-c++ + +%description -n gcc-c++ +The system GNU C++ Compiler. + + +%package -n gcc-c++-32bit +Summary: The system GNU C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc-32bit = %{version} +Requires: gcc-c++ = %{version} +Requires: libstdc++%{gcc_version}-devel-32bit + +%description -n gcc-c++-32bit +The system GNU C++ Compiler 32 bit support. + + +%package -n gcc-c++-64bit +Summary: The system GNU C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc-64bit = %{version} +Requires: gcc-c++ = %{version} +Requires: libstdc++%{gcc_version}-devel-64bit + +%description -n gcc-c++-64bit +The system GNU C++ Compiler 64 bit support. + + + +%package -n libstdc++-devel +Summary: The system GNU C++ development files +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +Requires: libstdc++%{gcc_version}-devel + +%description -n libstdc++-devel +The system GNU C++ development files. + + + +%package -n gcc-fortran +Summary: The system GNU Fortran Compiler +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-fortran + +%description -n gcc-fortran +The system GNU Fortran Compiler. + + +%package -n gcc-fortran-32bit +Summary: The system GNU Fortran Compiler +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc%{gcc_version}-fortran-32bit +Requires: gcc-fortran = %{version} + +%description -n gcc-fortran-32bit +The system GNU Fortran Compiler 32 bit support. + + +%package -n gcc-fortran-64bit +Summary: The system GNU Fortran Compiler +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc%{gcc_version}-fortran-64bit +Requires: gcc-fortran = %{version} + +%description -n gcc-fortran-64bit +The system GNU Fortran Compiler 64 bit support. + + +%package -n gcc-java +Summary: The system GNU Java Compiler +License: GPL-3.0+ +Group: Development/Languages/Java +Requires: gcc%{gcc_version}-java +Requires: libgcj-devel = %{version} +Recommends: gcc-gij = %{version} +Requires: gcc = %{version} + +%description -n gcc-java +The system GNU Java Compiler. + + + +%package -n libgcj-devel +Summary: The system GNU Java development files. +License: GPL-2.0-with-classpath-exception +Group: Development/Libraries/Java +Requires: libgcj%{gcc_version}-devel + +%description -n libgcj-devel +The system GNU Java development files. + + + +%package -n gcc-gij +Summary: The system GNU Java bytecode interpreter +License: GPL-2.0+ +Group: Development/Languages/Java +Requires: gcc%{gcc_version}-gij + +%description -n gcc-gij +The system GNU Java bytecode interpreter. + + + +%package -n gcc-gij-32bit +Summary: The system GNU Java bytecode interpreter +License: GPL-2.0+ +Group: Development/Languages/Java +Requires: gcc%{gcc_version}-gij-32bit + +%description -n gcc-gij-32bit +The system GNU Java bytecode interpreter as 32 bit application. + + + +%package -n gcc-gij-64bit +Summary: The system GNU Java bytecode interpreter +License: GPL-2.0+ +Group: Development/Languages/Java +Requires: gcc%{gcc_version}-gij-64bit + +%description -n gcc-gij-64bit +The system GNU Java bytecode interpreter as 64 bit application. + + + +%package -n gcc-objc +Summary: The system GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-objc +%ifarch ppc64 +Obsoletes: gcc-objc-64bit +%endif + +%description -n gcc-objc +The system GNU Objective C Compiler. + + + +%package -n gcc-objc-32bit +Summary: The system GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc%{gcc_version}-objc-32bit +Requires: gcc-objc = %{version} + +%description -n gcc-objc-32bit +The system GNU Objective C Compiler 32 bit support. + + + +%package -n gcc-objc-64bit +Summary: The system GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc%{gcc_version}-objc-64bit +Requires: gcc-objc = %{version} + +%description -n gcc-objc-64bit +The system GNU Objective C Compiler 64 bit support. + + + +%package -n gcc-obj-c++ +Summary: The system GNU Objective C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc%{gcc_version}-obj-c++ +Requires: gcc-objc = %{version} + +%description -n gcc-obj-c++ +The system GNU Objective C++ Compiler. + + + +%package -n gcc-ada +Summary: The system GNU Ada Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc = %{version} +Requires: gcc%{gcc_version}-ada + +%description -n gcc-ada +The system GNU Ada Compiler. + + +%package -n gcc-z9 +Summary: The system GNU C Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc + +%description -n gcc-z9 +The system GNU C Compiler. + + +%prep + +%build +echo "This is a dummy package to provide a dependency on the system compiler." > README + +%install +mkdir -p $RPM_BUILD_ROOT/lib +mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/ +mkdir -p $RPM_BUILD_ROOT%{_prefix}/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 \ +%if %{separate_bi32} + grmiregistry32 \ + gij32 \ +%endif +%if %{separate_bi64} + grmiregistry64 \ + gij64 \ +%endif + gfortran \ + gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \ + gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \ + ; do + ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/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-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/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++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++ +ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc +ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz +ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz +%ifarch s390 s390x +dir=`gcc-%{gcc_suffix} -print-prog-name=cc1` +dir=${dir%/cc1} +mkdir -p $RPM_BUILD_ROOT/$dir +cat > $RPM_BUILD_ROOT/$dir/defaults.spec < ' statements breaking VPATH / find-debuginfo.sh . +#rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c +#rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c + +# 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-* + +%build +%configure \ + --with-gdb-datadir=%{_datadir}/gdb \ + --enable-gdb-build-warnings=,-Wno-unused \ + --disable-werror \ + --with-separate-debug-dir=/usr/lib/debug \ + --disable-sim \ + --disable-rpath \ + --with-system-readline \ + --with-expat \ + --disable-tui \ + --enable-64-bit-bfd \ + --enable-static --disable-shared --enable-debug \ + %{_target_platform} + +make %{?_smp_mflags} + + +%install +%make_install + +%find_lang opcodes +%find_lang bfd +mv opcodes.lang %{name}.lang +cat bfd.lang >> %{name}.lang + +%docs_package + +%lang_package +%files +%defattr(-,root,root) +%doc COPYING COPYING.LIB +%{_bindir}/* +%{_datadir}/gdb + +%files server +%defattr(-,root,root) +%{_bindir}/gdbserver +%{_mandir}/*/gdbserver.1* +%ifarch %{ix86} x86_64 +%{_libdir}/libinproctrace.so +%endif + +%files devel +%{_includedir}/*.h +%{_includedir}/gdb/*.h diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/gstreamer.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/gstreamer.spec new file mode 100644 index 0000000..4d5a104 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/gstreamer.spec @@ -0,0 +1,177 @@ +%bcond_with introspection + +Name: gstreamer +%define _name gstreamer +Version: 1.0.5 +Release: 0 +%define gst_branch 1.0 +Summary: Streaming-Media Framework Runtime +License: LGPL-2.1+ +Group: Productivity/Multimedia/Other +Url: http://gstreamer.freedesktop.org/ +Source0: http://download.gnome.org/sources/gstreamer/1.0/%{_name}-%{version}.tar.xz +Source1: gstreamer.macros +Source2: gstreamer.prov +Source99: baselibs.conf +BuildRequires: bison +BuildRequires: gettext-tools +BuildRequires: check-devel +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: glib2-devel >= 2.32.0 +BuildRequires: libtool +BuildRequires: libxml2-devel +%if %{with introspection} +BuildRequires: gobject-introspection-devel >= 1.31.1 +%endif +Requires: libgstreamer >= %{version} + +%description +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package -n libgstreamer +Summary: Streaming-Media Framework Runtime +Group: System/Libraries +# We want to have core modules installed: +Requires: %{name} + +%description -n libgstreamer +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package -n typelib-Gst +Summary: Streaming-Media Framework Runtime -- Introspection bindings +Group: System/Libraries + +%description -n typelib-Gst +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +This package provides the GObject Introspection bindings for GStreamer. + +%package utils +Summary: Streaming-Media Framework Runtime +Group: Productivity/Multimedia/Other +# Generic name, never used in SuSE: +Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version} +# Symbol for unversioned wrappers: +Provides: gstreamer-utils_versioned = %{version} + +%description utils +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +# gstreamer-utils is required for the gstreamer-provides rpm magic. +Requires: gstreamer-utils = %{version} +Requires: libgstreamer = %{version} +%if %{with introspection} +Requires: typelib-Gst = %{version} +%endif + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%lang_package + +%prep +%setup -q -n gstreamer-%{version} + +%build +# 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="%{optflags} -fno-strict-aliasing" +%configure\ +%if %{with introspection} + --enable-introspection\ +%endif + --disable-static +make %{?_smp_mflags} + +%install +%make_install +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +mkdir -p %{buildroot}%{_docdir}/%{name} +%find_lang %{name}-%{gst_branch} +mv %{name}-%{gst_branch}.lang %{name}.lang +rm -rf %{buildroot}%{_datadir}/gtk-doc +rm -rf %{buildroot}%{_docdir}/%{name}/manual +rm -rf %{buildroot}%{_docdir}/%{name}/pwg +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +%__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides +%fdupes %{buildroot} + +%clean +rm -rf %{buildroot} + +%post -n libgstreamer -p /sbin/ldconfig + +%postun -n libgstreamer -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%doc COPYING +%dir %{_datadir}/gstreamer-%{gst_branch} +%dir %{_datadir}/gstreamer-%{gst_branch}/presets +%dir %{_libdir}/gstreamer-%{gst_branch} +%{_libdir}/gstreamer-%{gst_branch}/*.so +%dir %{_libexecdir}/gstreamer-%{gst_branch} +%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner + +%files -n libgstreamer +%defattr(-, root, root) +%{_libdir}/*.so.* + + +%if %{with introspection} +%files -n typelib-Gst +%defattr(-, root, root) +%{_libdir}/girepository-1.0/Gst-1.0.typelib +%{_libdir}/girepository-1.0/GstBase-1.0.typelib +%{_libdir}/girepository-1.0/GstCheck-1.0.typelib +%{_libdir}/girepository-1.0/GstController-1.0.typelib +%{_libdir}/girepository-1.0/GstNet-1.0.typelib +%endif + +%files utils +%defattr(-, root, root) +%{_bindir}/*-%{gst_branch} +%doc %{_mandir}/man?/*-%{gst_branch}.* + +%files devel +%defattr(-, root, root) +%{_datadir}/aclocal/*.m4 +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_libexecdir}/rpm/gstreamer-provides +%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%if %{with introspection} +%{_datadir}/gir-1.0/*.gir +%endif + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/less.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/less.spec new file mode 100644 index 0000000..654c801 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/less.spec @@ -0,0 +1,46 @@ +# +# Please submit bugfixes or comments via http://bugs.tizen.org/ +# + +Name: less +Version: 451 +Release: 5 +License: GPL-3.0+ +Summary: A text file browser similar to more, but better +Url: http://www.greenwoodsoftware.com/less/ +Group: Applications/Text +Source0: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig(ncurses) + +%description +The less utility is a text file browser that resembles more, but has +more capabilities. Less allows you to move backwards in the file as +well as forwards. Since less doesn't have to read the entire input file +before it starts, less starts up more quickly than text editors (for +example, vi). + +You should install less because it is a basic utility for viewing text +files, and you'll use it frequently. + +%prep +%setup -q + +%build + +%configure +make %{?_smp_mflags} + +%install +%make_install + +# splitted post-install part by auto-parsing +strip -R .comment %{buildroot}/%{_bindir}/less + +%docs_package + +%files +%doc LICENSE +%{_bindir}/* diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/libtool.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/libtool.spec new file mode 100644 index 0000000..54fa61d --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/libtool.spec @@ -0,0 +1,72 @@ +%define keepstatic 1 +Name: libtool +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: lzma +BuildRequires: zlib-devel +BuildRequires: makeinfo +Requires: automake > 1.4 +Requires: tar +Summary: A Tool to Build Shared Libraries +License: GPL-2.0+ +Group: Development/Tools/Building +Version: 2.4.2 +Release: 0 +Requires: libltdl = %{version} +Url: http://www.gnu.org/software/libtool/ +Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz +Source2: baselibs.conf +Source3: libtool-rpmlintrc +Provides: libltdl-devel +# fedora name +Provides: libtool-ltdl-devel + +%description +GNU libtool is a set of shell scripts to automatically configure UNIX +architectures to build shared libraries in a generic fashion. + +%package -n libltdl +Summary: Libtool Runtime Library +Group: Development/Libraries/C and C++ + +%description -n libltdl +Library needed by programs that use the ltdl interface of GNU libtool. + +%prep +%setup -q -n libtool-%{version} + +%build +./configure CFLAGS="$RPM_OPT_FLAGS" \ + --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir} +# force rebuild with non-broken makeinfo +rm -f doc/libtool.info +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%post -n libltdl -p /sbin/ldconfig + +%postun -n libltdl -p /sbin/ldconfig + +%files +%defattr(-, root, root) +/usr/bin/libtool +/usr/bin/libtoolize +/usr/include/libltdl +/usr/include/ltdl.h +%{_libdir}/libltdl.a +%attr(644, root, root) %{_libdir}/libltdl.la +%{_libdir}/libltdl.so +/usr/share/aclocal/*.m4 +%doc %{_infodir}/libtool.info* +%doc %{_mandir}/man1/libtool.1.gz +%doc %{_mandir}/man1/libtoolize.1.gz +/usr/share/libtool + +%files -n libltdl +%defattr(-, root, root) +%{_libdir}/libltdl.so.* + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/make.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/make.spec new file mode 100644 index 0000000..b93a9b4 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/make.spec @@ -0,0 +1,46 @@ +Name: make +Url: http://www.gnu.org/software/make/make.html +Provides: gmake +Version: 3.82 +Release: 0 +Summary: GNU make +License: GPL-2.0+ +Group: Development/Tools/Building +Source: make-%version.tar.bz2 + +%description +The GNU make command with extensive documentation. + +%prep +%setup -q + +%build +CFLAGS=$RPM_OPT_FLAGS \ +./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-nls +make %{?_smp_mflags} + +%check +make check + +%install +make DESTDIR=$RPM_BUILD_ROOT install +ln -s make $RPM_BUILD_ROOT/usr/bin/gmake + +%files +%defattr(-,root,root) +/usr/bin/make +/usr/bin/gmake +%doc /usr/share/info/make.info-*.gz +%doc /usr/share/info/make.info.gz +%doc /usr/share/man/man1/make.1.gz + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/nano.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/nano.spec new file mode 100644 index 0000000..7c25ac5 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/nano.spec @@ -0,0 +1,52 @@ +Name: nano +Version: 2.3.1 +Release: 1 +Summary: Pico Editor Clone with Enhancements + +License: GPL-3.0+ +Url: http://www.nano-editor.org/ +Group: Productivity/Editors/Other +Source0: %{name}-%{version}.tar.bz2 + +BuildRequires: file-devel +BuildRequires: pkgconfig(ncurses) + +%description +GNU nano is a small and friendly text editor. It aims to emulate the +Pico text editor while also offering a few enhancements. + + +%prep +%setup -q + +# Remove build time references so build-compare can do its work +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M') +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/nano.c +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c + +%build +%configure --disable-rpath --enable-utf8 +make %{?_smp_mflags} + +%install +%make_install + +# Remove doc files from /usr/share/nano (they should be in defaultdocdir) +rm -rf %{buildroot}%{_datadir}/nano/man-html/ +rm -rf %{buildroot}%{_mandir}/fr + +%find_lang %{name} --all-name + +%docs_package + +%lang_package + +%files +%defattr(-,root,root,-) +%{_bindir}/nano +%{_bindir}/rnano +%{_datadir}/nano/ + + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/nasm.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/nasm.spec new file mode 100644 index 0000000..e200626 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/nasm.spec @@ -0,0 +1,67 @@ +Name: nasm +Version: 2.09.08 +Release: 0 +License: BSD-2-Clause +Summary: Netwide Assembler (An x86 Assembler) +Url: http://nasm.sourceforge.net/ +Group: Development/Languages/Other +Source: nasm-%{version}.tar.bz2 +BuildRequires: makeinfo + +%description +NASM is a prototype general-purpose x86 assembler. It can currently +output several binary formats, including ELF, a.out, Win32, and OS/2. + +Read the licence agreement in /usr/share/doc/packages/nasm/Licence. + +%prep +%setup -q + +%package doc +License: LGPL-2.1+ +Summary: Documentation for Nasm +Group: Development/Languages/Other +Provides: nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf + +%description doc +This package contains the documentation for Nasm. + +%build +touch -r ./ver.c ./ver.c.stamp +TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +sed -i "s/__DATE__/\"$TS\"/g" ver.c +touch -r ./ver.c.stamp ./ver.c +%configure +make all + +cd doc +make html info nasmdoc.ps nasmdoc.txt + +%install +install -d -m 755 %{buildroot}/usr/bin +install -d -m 755 %{buildroot}/%{_mandir}/man1 +install -d -m 755 %{buildroot}/%{_docdir}/nasm +install -d -m 755 %{buildroot}/%{_docdir}/nasm/rdoff +install -d -m 755 %{buildroot}/%{_docdir}/nasm/html +install -d -m 755 %{buildroot}/%{_infodir} +make INSTALLROOT=%{buildroot} install +make INSTALLROOT=%{buildroot} rdf_install +install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \ + %{buildroot}/%{_docdir}/nasm +install -m 644 rdoff/README rdoff/doc/* \ + %{buildroot}/%{_docdir}/nasm/rdoff +install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html +install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1 +install -m 644 doc/info/* %{buildroot}%{_infodir} + +%files +%defattr(-,root,root) +/usr/bin/* +%doc %{_mandir}/man1/*.1.gz + +%files doc +%defattr(-,root,root) +%doc %{_docdir}/nasm +%doc %{_infodir}/nasm* + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/pacrunner.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/pacrunner.spec new file mode 100644 index 0000000..669b826 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/pacrunner.spec @@ -0,0 +1,54 @@ +Name: pacrunner +Version: 0.5 +Release: 0 +License: GPL-2.0+ +Summary: Proxy +Group: Networking +Source: %{name}-%{version}.tar.xz +BuildRequires: v8-devel +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libcurl) +%description +Pacrunner + +%package test +Summary: Test Scripts for pacrunner +Group: Development/Tools +Requires: %{name} = %{version} + +%description test +Pacrunner tests + + + +%prep +%setup -q + +%build +%configure --enable-v8 \ + --enable-curl \ + --enable-test +make %{?_smp_mflags} + +%install +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%license COPYING +%{_sysconfdir}/dbus-1/system.d/pacrunner.conf +/usr/sbin/pacrunner +/usr/share/dbus-1/system-services/pacrunner.service + + +%files test +%{_libdir}/pacrunner/test/create-proxy-config +%{_libdir}/pacrunner/test/find-proxy-for-url + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/patch.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/patch.spec new file mode 100644 index 0000000..c5ec7e4 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/patch.spec @@ -0,0 +1,37 @@ +Name: patch +Version: 2.7 +Release: 1 +License: GPL-3.0 +Summary: The GNU patch command, for modifying/upgrading files +Url: http://www.gnu.org/software/patch/patch.html +Group: Development/Tools +Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz +Source1001: patch.manifest + +%description +The patch program applies diff files to originals. The diff command +is used to compare an original to a changed file. Diff lists the +changes made to the file. A person who has the original file can then +use the patch command with the diff file to add the changes to their +original file (patching the file). + +Patch should be installed because it is a common way of upgrading +applications. + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +CFLAGS="%{optflags} -D_GNU_SOURCE" + +%configure +make %{?_smp_mflags} + +%install +%make_install + +%files +%manifest patch.manifest +%{_bindir}/* +%doc %{_mandir}/*/* diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/powertop.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/powertop.spec new file mode 100644 index 0000000..ecd4e0a --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/powertop.spec @@ -0,0 +1,45 @@ +Name: powertop +Version: 2.1 +Release: 1 +License: GPL-2.0 +Summary: PowerTop is tool that is used for power diagnostics +Url: http://www.01.org +Group: Applications/System +Source0: https://01.org/powertop/sites/default/files/downloads/%{name}-%{version}.tar.gz + +BuildRequires: gettext +BuildRequires: zlib-devel +BuildRequires: pkgconfig(libnl-1) +BuildRequires: pkgconfig(libpci) +BuildRequires: pkgconfig(ncurses) + +%description +PowerTop is tool that detects which Linux programs +and kernel tunables are resulting in the largest +power consumption and use of battery time. By +fixing (or closing) these applications or +processes, you can immediately see the power +savings in the tool. You'll also see the estimated +time left for battery power if you are running a +laptop. + +%prep +%setup -q + +%build + +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install + +%find_lang %{name} + +%lang_package + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_sbindir}/powertop +%{_mandir}/man8/powertop.8.gz diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/pulseaudio.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/pulseaudio.spec new file mode 100644 index 0000000..b6d13b8 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/pulseaudio.spec @@ -0,0 +1,472 @@ +%bcond_with tizen + +Name: pulseaudio +Version: 2.1 +Release: 0 +%define drvver 2.1 +%define soname 0 +Summary: A Networked Sound Server +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Sound Daemons +Url: http://pulseaudio.org +Source: http://www.freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz +Source1: default.pa-for-gdm +Source2: setup-pulseaudio +Source3: sysconfig.sound-pulseaudio +Source99: baselibs.conf +BuildRequires: pkgconfig(alsa) +BuildRequires: bluez-devel +BuildRequires: fdupes +BuildRequires: gdbm-devel +BuildRequires: intltool +BuildRequires: libopenssl-devel +BuildRequires: libsndfile-devel +BuildRequires: libtool +BuildRequires: libudev-devel >= 143 +BuildRequires: orc +BuildRequires: speex-devel +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) >= 1.6 +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: libcap-devel +BuildRequires: orc +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(json) >= 0.9 +%if %{with tizen} +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(capi-system-power) +%endif +Requires(pre): pwdutils +Requires: udev >= 146 + +%description +pulseaudio is a networked sound server for Linux, other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +%package esound-compat +Summary: ESOUND compatibility for PulseAudio +Group: System/Sound Daemons +Requires: %{name} = %{version} + +%description esound-compat +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package provides the compatibility layer for drop-in replacement +of ESOUND. + +%package module-devel +Summary: Headers and libraries for PulseAudio module development +License: LGPLv2+ +Group: Development/Libraries +Requires: libpulse-devel = %{version}-%{release} + +%description module-devel +Headers and libraries for developing pulseaudio modules + +%package module-x11 +Summary: X11 module for PulseAudio +Group: System/Sound Daemons +Requires: %{name} = %{version} +Requires: %{name}-utils = %{version} + +%description module-x11 +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package provides the components needed to automatically start +the PulseAudio sound server on X11 startup. + +%package module-zeroconf +Summary: Zeroconf module for PulseAudio +Group: System/Sound Daemons +Requires: %{name} = %{version} + +%description module-zeroconf +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package provides zeroconf network support for the PulseAudio sound server + +%package module-jack +Summary: JACK support for the PulseAudio sound server +Group: System/Sound Daemons +Requires: %{name} = %{version} + +%description module-jack +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package includes support for Jack-based applications. + +%package module-bluetooth +Summary: Bluetooth support for the PulseAudio sound server +Group: System/Sound Daemons +Requires: %{name} = %{version} +Requires: bluez >= 4.34 + +%description module-bluetooth +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server. + +%package module-gconf +Summary: GCONF module for PulseAudio +Group: System/Sound Daemons +Requires: %{name} = %{version} + +%description module-gconf +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package provides gconf storage of PulseAudio sound server settings. + +%package -n libpulse +Summary: Client interface to PulseAudio +Group: System/Libraries + +%description -n libpulse +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package contains the system libraries for clients of pulseaudio +sound server. + +%package -n libpulse-mainloop-glib +Summary: GLIB 2.0 Main Loop wrapper for PulseAudio +Group: System/Sound Daemons + +%description -n libpulse-mainloop-glib +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package contains the GLIB Main Loop bindings for the PulseAudio +sound server. + +%package -n libpulse-devel +Summary: Development package for the pulseaudio library +Group: Development/Libraries/C and C++ +Requires: libpulse = %{version} +Requires: libpulse-mainloop-glib = %{version} +Requires: pkgconfig +Requires: pkgconfig(glib-2.0) + +%description -n libpulse-devel +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package contains the files needed to compile programs that use the +pulseaudio library. + +%package utils +Summary: PulseAudio utilities +Group: System/Sound Daemons +Requires: %{name} = %{version} +Requires: libpulse-mainloop-glib = %{version} +Requires: libpulse = %{version} + +%description utils +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package provides utilies for making use of the PulseAudio sound +server. + +%package gdm-hooks +Summary: PulseAudio GDM integration +Group: Productivity/Multimedia/Other +Requires: %{name} = %{version} +Requires: gdm >= 2.22 +Requires(pre): gdm +#avoid cycle +#!BuildIgnore: gdm + +%description gdm-hooks +pulseaudio is a networked sound server for Linux and other Unix like +operating systems and Microsoft Windows. It is intended to be an +improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). + +This package contains GDM integration hooks for the PulseAudio sound server. + +%prep +%setup -q -T -b0 + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +# libpulse and libpulsecommon need each other - no way with as-needed +export LD_AS_NEEDED=0 +echo "%{version}" > .tarball-version +./bootstrap.sh +%configure \ + --disable-static \ + --disable-rpath \ +%if %{with tizen} + --enable-dlog \ + --enable-pmapi \ + --enable-spolicy \ +%endif + --enable-systemd \ + --with-system-user=pulse \ + --with-system-group=pulse \ + --with-access-group=pulse-access \ + --with-udev-rules-dir=/usr/lib/udev/rules.d \ + --disable-hal +make %{?_smp_mflags} V=1 + +%install +%make_install +%find_lang %{name} +install %{SOURCE2} %{buildroot}%{_bindir} +chmod 755 %{buildroot}%{_bindir}/setup-pulseaudio +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.sh +touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.csh +mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse +cp $RPM_SOURCE_DIR/default.pa-for-gdm %{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa +ln -s esdcompat %{buildroot}%{_bindir}/esd +rm -rf %{buildroot}/etc/xdg/autostart/pulseaudio-kde.desktop + +install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/sound +%clean +rm -rf %{buildroot} + +%pre +groupadd -r pulse &>/dev/null || : +useradd -r -c 'PulseAudio daemon' \ + -s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null || : +groupadd -r pulse-access &>/dev/null || : + +%post -n libpulse -p /sbin/ldconfig + +%postun -n libpulse -p /sbin/ldconfig + +%post -n libpulse-mainloop-glib -p /sbin/ldconfig + +%postun -n libpulse-mainloop-glib -p /sbin/ldconfig + +%post +/sbin/ldconfig +# Update the /etc/profile.d/pulseaudio.* files +setup-pulseaudio --auto > /dev/null + +%postun -p /sbin/ldconfig + +%lang_package + +%files +%defattr(-,root,root) +%license LICENSE GPL LGPL +%config(noreplace) %{_sysconfdir}/sysconfig/sound +%{_bindir}/pulseaudio +%{_bindir}/setup-pulseaudio +%dir %{_datadir}/pulseaudio +%{_datadir}/pulseaudio/alsa-mixer +%{_libdir}/libpulsecore-%{drvver}.so +%dir %{_libdir}/pulseaudio +%{_libdir}/pulseaudio/libpulsedsp.so +%dir %{_libdir}/pulse-%{drvver}/ +%dir %{_libdir}/pulse-%{drvver}/modules/ +%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so +%{_libdir}/pulse-%{drvver}/modules/libcli.so +%{_libdir}/pulse-%{drvver}/modules/liboss-util.so +%{_libdir}/pulse-%{drvver}/modules/libprotocol-cli.so +%{_libdir}/pulse-%{drvver}/modules/libprotocol-esound.so +%{_libdir}/pulse-%{drvver}/modules/libprotocol-http.so +%{_libdir}/pulse-%{drvver}/modules/libprotocol-native.so +%{_libdir}/pulse-%{drvver}/modules/libprotocol-simple.so +%{_libdir}/pulse-%{drvver}/modules/librtp.so +%{_libdir}/pulse-%{drvver}/modules/module-alsa-card.so +%{_libdir}/pulse-%{drvver}/modules/module-alsa-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-alsa-source.so +%{_libdir}/pulse-%{drvver}/modules/module-always-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-augment-properties.so +%{_libdir}/pulse-%{drvver}/modules/module-card-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-cli.so +%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-combine.so +%{_libdir}/pulse-%{drvver}/modules/module-combine-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so +%{_libdir}/pulse-%{drvver}/modules/module-dbus-protocol.so +%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-detect.so +%{_libdir}/pulse-%{drvver}/modules/module-device-manager.so +%{_libdir}/pulse-%{drvver}/modules/module-device-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-echo-cancel.so +%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnfd.so +%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnpid.so +%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so +%{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so +%{_libdir}/pulse-%{drvver}/modules/module-hal-detect.so +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so +%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so +%{_libdir}/pulse-%{drvver}/modules/libraop.so +%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-loopback.so +%{_libdir}/pulse-%{drvver}/modules/module-match.so +%{_libdir}/pulse-%{drvver}/modules/module-mmkbd-evdev.so +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-fd.so +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-null-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-null-source.so +%{_libdir}/pulse-%{drvver}/modules/module-oss.so +%{_libdir}/pulse-%{drvver}/modules/module-pipe-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-pipe-source.so +%{_libdir}/pulse-%{drvver}/modules/module-position-event-sounds.so +%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-rescue-streams.so +%{_libdir}/pulse-%{drvver}/modules/module-role-cork.so +%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so +%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so +%{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so +%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so +%{_libdir}/pulse-%{drvver}/modules/module-sine.so +%{_libdir}/pulse-%{drvver}/modules/module-sine-source.so +%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so +%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so +%{_libdir}/pulse-%{drvver}/modules/module-switch-on-connect.so +%{_libdir}/pulse-%{drvver}/modules/module-switch-on-port-available.so +%{_libdir}/pulse-%{drvver}/modules/module-systemd-login.so +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so +%{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so +%{_libdir}/pulse-%{drvver}/modules/module-virtual-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so +%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so +%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so +%if %{with tizen} +%{_libdir}/pulse-%{drvver}/modules/module-policy.so +%endif + +/usr/lib/udev/rules.d/90-pulseaudio.rules +%dir %{_sysconfdir}/pulse/ +%config(noreplace) %{_sysconfdir}/pulse/daemon.conf +%config(noreplace) %{_sysconfdir}/pulse/default.pa +%config(noreplace) %{_sysconfdir}/pulse/system.pa +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf +# created by setup-pulseaudio script +%ghost %{_sysconfdir}/profile.d/pulseaudio.sh +%ghost %{_sysconfdir}/profile.d/pulseaudio.csh + +%files esound-compat +%defattr(-,root,root) +%{_bindir}/esdcompat +%{_bindir}/esd + +%files gdm-hooks +%defattr(-,root,root) +%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm +%attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse +%attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa + +%files -n libpulse +%defattr(-,root,root) +%doc README LICENSE GPL LGPL +%dir %{_sysconfdir}/pulse/ +%config(noreplace) %{_sysconfdir}/pulse/client.conf +%{_libdir}/libpulse.so.%{soname} +%{_libdir}/libpulse.so.%{soname}.* +%{_libdir}/libpulse-simple.so.* +%dir %{_libdir}/pulseaudio +%{_libdir}/pulseaudio/libpulsecommon-%{drvver}.so + +%files module-devel +%defattr(-,root,root) +%{_includedir}/pulsecore/*.h +%{_includedir}/pulsemodule/pulse/*.h +%{_libdir}/pkgconfig/pulseaudio-module-devel.pc + +%files -n libpulse-devel +%defattr(-,root,root) +%{_includedir}/pulse/ +%{_libdir}/libpulse.so +%{_libdir}/libpulse-mainloop-glib.so +%{_libdir}/libpulse-simple.so +%{_libdir}/pkgconfig/libpulse*.pc +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/PulseAudio +%{_libdir}/cmake/PulseAudio/PulseAudio*.cmake +%{_datadir}/vala + +%files -n libpulse-mainloop-glib +%defattr(-,root,root) +%{_libdir}/libpulse-mainloop-glib.so.* + +%files module-bluetooth +%defattr(-,root,root) +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so +%{_libdir}/pulse-%{drvver}/modules/libbluetooth-util.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so +%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so +%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper + +%files module-gconf +%defattr(-,root,root) +#%dir %{_libexecdir}/pulse +#%{_libdir}/pulse-%{drvver}/modules/module-gconf.so +#%{_libexecdir}/pulse/gconf-helper + + +%files module-x11 +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/pulseaudio.desktop +%{_bindir}/start-pulseaudio-x11 +%{_bindir}/start-pulseaudio-kde +%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-cork-request.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so +%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so + +%files module-zeroconf +%defattr(-,root,root) +#%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so +%{_libdir}/pulse-%{drvver}/modules/libraop.so +#%{_libdir}/pulse-%{drvver}/modules/module-raop-discover.so +%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so +#%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so +#%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so + +%files utils +%defattr(-,root,root) +%{_bindir}/pacat +%{_bindir}/pacmd +%{_bindir}/pactl +%{_bindir}/paplay +%{_bindir}/parec +%{_bindir}/pamon +%{_bindir}/parecord +%{_bindir}/pax11publish +%{_bindir}/padsp +%{_bindir}/pasuspender + + +%docs_package +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/strace.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/strace.spec new file mode 100644 index 0000000..1bb7d3b --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/strace.spec @@ -0,0 +1,478 @@ +Summary: Tracks and displays system calls associated with a running process +Name: strace +Version: 4.7 +Release: 1%{?dist} +License: BSD +Group: Development/Debuggers +URL: http://sourceforge.net/projects/strace/ +Source: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libacl-devel, libaio-devel, time + +%define strace64_arches ppc64 sparc64 + +%description +The strace program intercepts and records the system calls called and +received by a running process. Strace can print a record of each +system call, its arguments and its return value. Strace is useful for +diagnosing problems and debugging, as well as for instructional +purposes. + +Install strace if you need a tool to track the system calls made and +received by a process. + +%ifarch %{strace64_arches} +%package -n strace64 +Summary: Tracks and displays system calls associated with a running process. +Group: Development/Debuggers + +%description -n strace64 +The strace program intercepts and records the system calls called and +received by a running process. Strace can print a record of each +system call, its arguments and its return value. Strace is useful for +diagnosing problems and debugging, as well as for instructional +purposes. + +Install strace if you need a tool to track the system calls made and +received by a process. + +This package provides the `strace64' program to trace 64-bit processes. +The `strace' program in the `strace' package is for 32-bit processes. +%endif + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_bindir}/strace-graph + +%define copy64 ln +%if 0%{?rhel} +%if 0%{?rhel} < 6 +%endif +%define copy64 cp -p +%endif + +%ifarch %{strace64_arches} +%{copy64} %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64 +%endif + +%check +make check + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc CREDITS ChangeLog ChangeLog-CVS COPYRIGHT NEWS README +%{_bindir}/strace +%{_bindir}/strace-log-merge +%{_mandir}/man1/* + +%ifarch %{strace64_arches} +%files -n strace64 +%defattr(-,root,root) +%{_bindir}/strace64 +%endif + +%changelog +* Wed May 02 2012 Dmitry V. Levin 4.7-1 +- New upstream release. + + implemented proper handling of real SIGTRAPs (#162774). + +* Sat Jan 14 2012 Fedora Release Engineering - 4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Mar 14 2011 Dmitry V. Levin - 4.6-1 +- New upstream release. + + fixed a corner case in waitpid handling (#663547). + +* Wed Feb 09 2011 Fedora Release Engineering - 4.5.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Apr 13 2010 Roland McGrath - 4.5.20-1 +- New upstream release, work mostly by Andreas Schwab and Dmitry V. Levin. + + fixed potential stack buffer overflow in select decoder (#556678); + + fixed FTBFS (#539044). + +* Wed Oct 21 2009 Roland McGrath - 4.5.19-1 +- New upstream release, work mostly by Dmitry V. Levin + + exit/kill strace with traced process exitcode/signal (#105371); + + fixed build on ARM EABI (#507576); + + fixed display of 32-bit argv array on 64-bit architectures (#519480); + + fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures (#471169); + + fixed several bugs in strings decoder, including potential heap + memory corruption (#470529, #478324, #511035). + +* Thu Aug 28 2008 Roland McGrath - 4.5.18-1 +- build fix for newer kernel headers (#457291) +- fix CLONE_VFORK handling (#455078) +- Support new Linux/PPC system call subpage_prot and PROT_SAO flag. +- In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN. + +* Mon Jul 21 2008 Roland McGrath - 4.5.17-1 +- handle O_CLOEXEC, MSG_CMSG_CLOEXEC (#365781) +- fix biarch stat64 decoding (#222275) +- fix spurious "..." in printing of environment strings (#358241) +- improve prctl decoding (#364401) +- fix hang wait on exited child with exited child (#354261) +- fix biarch fork/vfork (-f) tracing (#447475) +- fix biarch printing of negative argument kill (#430585) +- fix biarch decoding of error return values (#447587) +- fix -f tracing of CLONE_VFORK (#455078) +- fix ia64 register clobberation in -f tracing (#453438) +- print SO_NODEFER, SA_RESETHAND instead of SA_NOMASK, SA_ONESHOT (#455821) +- fix futex argument decoding (#448628, #448629) + +* Fri Aug 3 2007 Roland McGrath - 4.5.16-1 +- fix multithread issues (#240962, #240961, #247907) +- fix spurious SIGSTOP on early interrupt (#240986) +- fix utime for biarch (#247185) +- fix -u error message (#247170) +- better futex syscall printing (##241467) +- fix argv/envp printing with small -s settings, and for biarch +- new syscalls: getcpu, eventfd, timerfd, signalfd, epoll_pwait, + move_pages, utimensat + +* Tue Jan 16 2007 Roland McGrath - 4.5.15-1 +- biarch fixes (#179740, #192193, #171626, #173050, #218433, #218043) +- fix -ff -o behavior (#204950, #218435, #193808, #219423) +- better quotactl printing (#118696) +- *at, inotify*, pselect6, ppoll and unshare syscalls (#178633, #191275) +- glibc-2.5 build fixes (#209856) +- memory corruption fixes (#200621 +- fix race in child setup under -f (#180293) +- show ipc key values in hex (#198179, #192182) +- disallow -c with -ff (#187847) +- Resolves: RHBZ #179740, RHBZ #192193, RHBZ #204950, RHBZ #218435 +- Resolves: RHBZ #193808, RHBZ #219423, RHBZ #171626, RHBZ #173050 +- Resolves: RHBZ #218433, RHBZ #218043, RHBZ #118696, RHBZ #178633 +- Resolves: RHBZ #191275, RHBZ #209856, RHBZ #200621, RHBZ #180293 +- Resolves: RHBZ #198179, RHBZ #198182, RHBZ #187847 + +* Mon Nov 20 2006 Jakub Jelinek - 4.5.14-4 +- Fix ia64 syscall decoding (#206768) +- Fix build with glibc-2.4.90-33 and up on all arches but ia64 +- Fix build against 2.6.18+ headers + +* Tue Aug 22 2006 Roland McGrath - 4.5.14-3 +- Fix bogus decoding of syscalls >= 300 (#201462, #202620). + +* Fri Jul 14 2006 Jesse Keating - 4.5.14-2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 4.5.14-1.2 +- bump again for long double bug on ppc{,64} + +* Tue Feb 07 2006 Jesse Keating - 4.5.14-1.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Mon Jan 16 2006 Roland McGrath - 4.5.14-1 +- Fix biarch decoding of socket syscalls (#174354). +- Fix biarch -e support (#173986). +- Accept numeric syscalls in -e (#174798). +- Fix ipc syscall decoding (#164755). +- Improve msgrcv printing (#164757). +- Man page updates (#165375). +- Improve mount syscall printing (#165377). +- Correct printing of restarting syscalls (#165469). + +* Wed Aug 3 2005 Roland McGrath - 4.5.13-1 +- Fix setsockopt decoding on 64-bit (#162449). +- Fix typos in socket option name strings (#161578). +- Display more IPV6 socket options by name (#162450). +- Don't display inappropriate syscalls for -e trace=file (#159340). +- New selector type -e trace=desc for file-descriptor using calls (#159400). +- Fix 32-bit old_mmap syscall decoding on x86-64 (#162467, #164215). +- Fix errors detaching from multithreaded process on interrupt (#161919). +- Note 4.5.12 fix for crash handling bad signal numbers (#162739). + +* Wed Jun 8 2005 Roland McGrath - 4.5.12-1 +- Fix known syscall recognition for IA32 processes on x86-64 (#158934). +- Fix bad output for ptrace on x86-64 (#159787). +- Fix potential buffer overruns (#151570, #159196). +- Make some diagnostics more consistent (#159308). +- Update PowerPC system calls. +- Better printing for Linux aio system calls. +- Don't truncate statfs64 fields to 32 bits in output (#158243). +- Cosmetic code cleanups (#159688). + +* Tue Mar 22 2005 Roland McGrath - 4.5.11-1 +- Build tweaks. +- Note 4.5.10 select fix (#151570). + +* Mon Mar 14 2005 Roland McGrath - 4.5.10-1 +- Fix select handling on nonstandard fd_set sizes. +- Don't print errors for null file name pointers. +- Fix initial execve output with -i (#143365). + +* Fri Feb 4 2005 Roland McGrath - 4.5.9-2 +- update ia64 syscall list (#146245) +- fix x86_64 syscall argument extraction for 32-bit processes (#146093) +- fix -e signal=NAME parsing (#143362) +- fix x86_64 exit_group syscall handling +- improve socket ioctl printing (#138223) +- code cleanups (#143369, #143370) +- improve mount flags printing (#141932) +- support symbolic printing of x86_64 arch_prctl parameters (#142667) +- fix potential crash in getxattr printing + +* Tue Oct 19 2004 Roland McGrath - 4.5.8-1 +- fix multithreaded exit handling (#132150, #135254) +- fix ioctl name matching (#129808) +- print RTC_* ioctl structure contents (#58606) +- grok epoll_* syscalls (#134463) +- grok new RLIMIT_* values (#133594) +- print struct cmsghdr contents for sendmsg (#131689) +- fix clock_* and timer_* argument output (#131420) + +* Tue Aug 31 2004 Roland McGrath - 4.5.7-2 +- new upstream version, misc fixes and updates (#128091, #129166, #128391, #129378, #130965, #131177) + +* Mon Jul 12 2004 Roland McGrath 4.5.6-1 +- new upstream version, updates ioctl lists (#127398), fixes quotactl (#127393), more ioctl decoding (#126917) + +* Sun Jun 27 2004 Roland McGrath 4.5.5-1 +- new upstream version, fixes x86-64 biarch support (#126547) + +* Tue Jun 15 2004 Elliot Lee 4.5.4-2 +- rebuilt + +* Thu Jun 3 2004 Roland McGrath 4.5.4-0.FC1 +- rebuilt for FC1 update + +* Thu Jun 3 2004 Roland McGrath 4.5.4-1 +- new upstream version, more ioctls (#122257), minor fixes + +* Fri Apr 16 2004 Roland McGrath 4.5.3-1 +- new upstream version, mq_* calls (#120701), -p vs NPTL (#120462), more fixes (#118694, #120541, #118685) + +* Tue Mar 02 2004 Elliot Lee 4.5.2-1.1 +- rebuilt + +* Mon Mar 1 2004 Roland McGrath 4.5.2-1 +- new upstream version, sched_* calls (#116990), show core flag (#112117) + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Nov 13 2003 Roland McGrath 4.5.1-1 +- new upstream version, more fixes (#108012, #105366, #105359, #105358) + +* Tue Sep 30 2003 Roland McGrath 4.5-3 +- revert bogus s390 fix + +* Thu Sep 25 2003 Roland McGrath 4.5-1.2.1AS +- rebuilt for 2.1AS erratum + +* Wed Sep 24 2003 Roland McGrath 4.5-2 +- rebuilt + +* Wed Sep 24 2003 Roland McGrath 4.5-1 +- new upstream version, more fixes (#101499, #104365) + +* Thu Jul 17 2003 Roland McGrath 4.4.99-2 +- rebuilt + +* Thu Jul 17 2003 Roland McGrath 4.4.99-1 +- new upstream version, groks more new system calls, PF_INET6 sockets + +* Mon Jun 10 2003 Roland McGrath 4.4.98-1 +- new upstream version, more fixes (#90754, #91085) + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Sun Mar 30 2003 Roland McGrath 4.4.96-1 +- new upstream version, handles yet more 2.5 syscalls, x86_64 & ia64 fixes + +* Mon Feb 24 2003 Elliot Lee 4.4.95-2 +- rebuilt + +* Mon Feb 24 2003 Roland McGrath 4.4.95-1 +- new upstream version, fixed getresuid/getresgid (#84959) + +* Wed Feb 19 2003 Roland McGrath 4.4.94-1 +- new upstream version, new option -E to set environment variables (#82392) + +* Wed Jan 22 2003 Tim Powers 4.4.93-2 +- rebuilt + +* Tue Jan 21 2003 Roland McGrath 4.4.93-1 +- new upstream version, fixes ppc and s390 bugs, adds missing ptrace requests + +* Fri Jan 10 2003 Roland McGrath 4.4.91-1 +- new upstream version, fixes -f on x86-64 + +* Fri Jan 10 2003 Roland McGrath 4.4.90-1 +- new upstream version, fixes all known bugs modulo ia64 and s390 issues + +* Fri Jan 03 2003 Florian La Roche 4.4-11 +- add further s390 patch from IBM + +* Wed Nov 27 2002 Tim Powers 4.4-10 +- remove unpackaged files from the buildroot + +* Mon Oct 07 2002 Phil Knirsch 4.4-9.1 +- Added latest s390(x) patch. + +* Fri Sep 06 2002 Karsten Hopp 4.4-9 +- preliminary x86_64 support with an ugly patch to help + debugging. Needs cleanup! + +* Mon Sep 2 2002 Jakub Jelinek 4.4-8 +- newer version of the clone fixing patch (Roland McGrath) +- aio syscalls for i386/ia64/ppc (Ben LaHaise) + +* Wed Aug 28 2002 Jakub Jelinek 4.4-7 +- fix strace -f (Roland McGrath, #68994) +- handle ?et_thread_area, SA_RESTORER (Ulrich Drepper) + +* Fri Jun 21 2002 Jakub Jelinek 4.4-6 +- handle futexes, *xattr, sendfile64, etc. (Ulrich Drepper) +- handle modify_ldt (#66894) + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Tue Apr 16 2002 Jakub Jelinek 4.4-4 +- fix for the last patch by Jeff Law (#62591) + +* Mon Mar 4 2002 Preston Brown 4.4-3 +- integrate patch from Jeff Law to eliminate hang tracing threads + +* Sat Feb 23 2002 Florian La Roche +- minor update from debian tar-ball + +* Wed Jan 02 2002 Florian La Roche +- update to 4.4 + +* Sun Jul 22 2001 Florian La Roche +- disable s390 patches, they are already included + +* Wed Jul 18 2001 Preston Brown 4.3-1 +- new upstream version. Seems to have integrated most new syscalls +- tracing threaded programs is now functional. + +* Mon Jun 11 2001 Than Ngo +- port s390 patches from IBM + +* Wed May 16 2001 Nalin Dahyabhai +- modify new syscall patch to allocate enough heap space in setgroups32() + +* Wed Feb 14 2001 Jakub Jelinek +- #include in addition to + +* Fri Jan 26 2001 Karsten Hopp +- clean up conflicting patches. This happened only + when building on S390 + +* Fri Jan 19 2001 Bill Nottingham +- update to CVS, reintegrate ia64 support + +* Sat Dec 8 2000 Bernhard Rosenkraenzer +- Get S/390 support into the normal package + +* Sat Nov 18 2000 Florian La Roche +- added S/390 patch from IBM, adapting it to not conflict with + IA64 patch + +* Sat Aug 19 2000 Jakub Jelinek +- doh, actually apply the 2.4 syscalls patch +- make it compile with 2.4.0-test7-pre4+ headers, add + getdents64 and fcntl64 + +* Thu Aug 3 2000 Jakub Jelinek +- add a bunch of new 2.4 syscalls (#14036) + +* Wed Jul 12 2000 Prospector +- automatic rebuild +- excludearch ia64 + +* Fri Jun 2 2000 Matt Wilson +- use buildinstall for FHS + +* Wed May 24 2000 Jakub Jelinek +- make things compile on sparc +- fix sigreturn on sparc + +* Fri Mar 31 2000 Bill Nottingham +- fix stat64 misdef (#10485) + +* Tue Mar 21 2000 Michael K. Johnson +- added ia64 patch + +* Thu Feb 03 2000 Cristian Gafton +- man pages are compressed +- version 4.2 (why are we keeping all these patches around?) + +* Sat Nov 27 1999 Jeff Johnson +- update to 4.1 (with sparc socketcall patch). + +* Fri Nov 12 1999 Jakub Jelinek +- fix socketcall on sparc. + +* Thu Sep 02 1999 Cristian Gafton +- fix KERN_SECURELVL compile problem + +* Tue Aug 31 1999 Cristian Gafton +- added alpha patch from HJLu to fix the osf_sigprocmask interpretation + +* Sat Jun 12 1999 Jeff Johnson +- update to 3.99.1. + +* Wed Jun 2 1999 Jeff Johnson +- add (the other :-) jj's sparc patch. + +* Wed May 26 1999 Jeff Johnson +- upgrade to 3.99 in order to +- add new 2.2.x open flags (#2955). +- add new 2.2.x syscalls (#2866). +- strace 3.1 patches carried along for now. + +* Sun May 16 1999 Jeff Johnson +- don't rely on (broken!) rpm %%patch (#2735) + +* Tue Apr 06 1999 Preston Brown +- strip binary + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 16) + +* Tue Feb 9 1999 Jeff Johnson +- vfork est arrive! + +* Tue Feb 9 1999 Christopher Blizzard +- Add patch to follow clone() syscalls, too. + +* Sun Jan 17 1999 Jeff Johnson +- patch to build alpha/sparc with glibc 2.1. + +* Thu Dec 03 1998 Cristian Gafton +- patch to build on ARM + +* Wed Sep 30 1998 Jeff Johnson +- fix typo (printf, not tprintf). + +* Sat Sep 19 1998 Jeff Johnson +- fix compile problem on sparc. + +* Tue Aug 18 1998 Cristian Gafton +- buildroot + +* Mon Jul 20 1998 Cristian Gafton +- added the umoven patch from James Youngman +- fixed build problems on newer glibc releases + +* Mon Jun 08 1998 Prospector System +- translations modified for de, fr, tr diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/tcl.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/tcl.spec new file mode 100644 index 0000000..a91a53b --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/tcl.spec @@ -0,0 +1,52 @@ +# This file is the basis for a binary Tcl RPM for Linux. + +%{!?directory:%define directory /usr/local} + +Name: tcl +Summary: Tcl scripting language development environment +Version: 8.5.11 +Release: 2 +License: BSD +Group: Development/Languages +Source: http://prdownloads.sourceforge.net/tcl/tcl%{version}-src.tar.gz +URL: http://www.tcl.tk/ +Buildroot: /var/tmp/%{name}%{version} + +%description +The Tcl (Tool Command Language) provides a powerful platform for +creating integration applications that tie together diverse +applications, protocols, devices, and frameworks. When paired with +the Tk toolkit, Tcl provides the fastest and most powerful way to +create GUI applications that run on PCs, Unix, and Mac OS X. Tcl +can also be used for a variety of web-related tasks and for creating +powerful command languages for applications. + +%prep +%setup -q -n %{name}%{version} + +%build +cd unix +CFLAGS="%optflags" ./configure \ + --prefix=%{directory} \ + --exec-prefix=%{directory} \ + --libdir=%{directory}/%{_lib} +make + +%install +cd unix +make INSTALL_ROOT=%{buildroot} install + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +%if %{_lib} != lib +%{directory}/%{_lib} +%endif +%{directory}/lib +%{directory}/bin +%{directory}/include +%{directory}/man/man1 +%{directory}/man/man3 +%{directory}/man/mann diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/unzip.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/unzip.spec new file mode 100644 index 0000000..3949373 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/unzip.spec @@ -0,0 +1,39 @@ +Name: unzip +Version: 6.0 +Release: 9 +License: BSD +Summary: A utility for unpacking zip files +Url: http://www.info-zip.org/pub/infozip/UnZip.html +Group: Applications/Archiving +Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tar.gz + +%description +The unzip utility is used to list, test, or extract files from a zip +archive. Zip archives are commonly found on MS-DOS systems. The zip +utility, included in the zip package, creates zip archives. Zip and +unzip are both compatible with archives created by PKWARE(R)'s PKZIP +for MS-DOS, but the programs' options and default behaviors do differ +in some respects. + +Install the unzip package if you need to list, test or extract files from +a zip archive. + +%prep +%setup -q -n %{name}60 + + + +ln -s unix/Makefile Makefile +%build +make CFLAGS="-D_LARGEFILE64_SOURCE" linux_noasm LF2="" %{?_smp_mflags} + +%install + +make prefix=%{buildroot}%{_prefix} MANDIR=%{buildroot}/%{_mandir}/man1 INSTALL="cp -p" install LF2="" + +%files +%defattr(-,root,root) +%doc LICENSE +%{_bindir}/* +%doc %{_mandir}/*/* + diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/vim.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/vim.spec new file mode 100644 index 0000000..3a9c684 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/vim.spec @@ -0,0 +1,395 @@ +%define pkg_version 7.3 +%define official_ptchlvl 566 +%define VIM_SUBDIR vim73 +%define site_runtimepath /usr/share/vim/site + +Name: vim +Version: 7.3 +Release: 0 +License: VIM LICENSE +# +Summary: Vi IMproved +# +Url: http://www.vim.org/ +Group: Productivity/Editors/Vi +Source: ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 +Source3: tizen.vimrc +Source98: %{name}-7.3-patches.tar.bz2 +Source99: %{name}-7.3-rpmlintrc +BuildRequires: autoconf +BuildRequires: db4-devel +BuildRequires: fdupes +BuildRequires: gettext-devel +BuildRequires: ncurses-devel +BuildRequires: perl +BuildRequires: pkgconfig +BuildRequires: python-devel +BuildRequires: systemd +Requires(pre): update-alternatives +# +Provides: vi +Provides: vim_client +%define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs} +# +%define vim_prereq %{name}-base = %{version} +# Explicitly require versioned perl for libperl.so +%define perl_requires perl = %(rpm -q --qf '%{VERSION}' perl) +Requires(pre): %{vim_prereq} + +%description +Vim (Vi IMproved) is an almost compatible version of the UNIX editor +vi. Almost every possible command can be performed using only ASCII +characters. Only the 'Q' command is missing (you do not need it). Many +new features have been added: multilevel undo, command line history, +file name completion, block operations, and editing of binary data. + +Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions +of UNIX. + +For SUSE Linux, Vim is used as /usr/bin/vi. + +Package vim contains the normal version of vim. To get the full runtime +environment install additionally vim-data. + +%package data +Summary: Vi IMproved +Group: Productivity/Editors/Vi +BuildArch: noarch +Requires(pre): %{vim_prereq} + +%description data +Vim (Vi IMproved) is an almost compatible version of the UNIX editor +vi. Almost every possible command can be performed using only ASCII +characters. Only the 'Q' command is missing (you do not need it). Many +new features have been added: multilevel undo, command line history, +file name completion, block operations, and editing of binary data. + +Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions +of UNIX. + +For SUSE Linux, Vim is used as /usr/bin/vi. + +Package vim-data contains the runtime files. + +%package base +Summary: Vi IMproved +Group: Productivity/Editors/Vi +Requires(pre): %{vim_prereq} +Requires(pre): update-alternatives + +%description base +Vim (Vi IMproved) is an almost compatible version of the UNIX editor +vi. Almost every possible command can be performed using only ASCII +characters. Only the 'Q' command is missing (you do not need it). Many +new features have been added: multilevel undo, command line history, +file name completion, block operations, and editing of binary data. + +Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions +of UNIX. + +For SUSE Linux, Vim is used as /usr/bin/vi. + +Package vim-base contains the common files needed for all different vim +versions. You still need to select at least one of the vim, +vim-enhanced or gvim packages. For full runtime support you might also +want to install the vim-data package. + +%package enhanced +Summary: A version of the VIM editor which includes recent enhancements +Group: Productivity/Editors/Vi +Requires: %{perl_requires} +Provides: vi +Provides: vim_client +Requires(pre): %{vim_prereq} +Requires(pre): update-alternatives + +%description enhanced +The vim-enhanced package contains a version of VIM with extra, recently +introduced features like Ruby, Perl and TCL interpreters, but it has no +graphical user interface. Please use gvim instead, if you need a gui +too. + +Install the vim-enhanced package if you'd like to use a version of the +VIM editor which includes recently added enhancements like interpreters +for the Python and Perl scripting languages. You'll also need to +install the base package 'vim', for online help, etc. If you need the +graphical features of vim, you might want to install package gvim too. + +%prep +%setup -q -n vim73 -b 98 +for p in ../vim-%{pkg_version}-patches/%{pkg_version}*; do + test -e $p || break + test ${p#*/%{pkg_version}.} -le %{official_ptchlvl} || exit 1 + echo Patch $p + patch -s -p0 < $p +done +unset p +cp %{SOURCE3} . + +# newer perl? ugly hack to fix build anyway. +sed -i -e 's/^XS(XS_/XS_INTERNAL(XS_/' src/if_perl.xs + +%build +export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" +export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1} + +export COMMON_OPTIONS="\ + --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=%{site_runtimepath}" +export SCRIPT_OPTIONS="\ + --enable-perlinterp \ + --enable-pythoninterp \ + --with-python-config-dir=%{py_libdir}/config" + +pushd src +autoconf +popd +# +# build small default binary +%configure \ + ${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 +cp src/vim vim-normal +make distclean +# +# build enhanced binary +%configure ${COMMON_OPTIONS} ${SCRIPT_OPTIONS} --disable-gui +sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h +%make +cp src/vim vim-enhanced +#make distclean +# +# + +%install +# create icon directory to have the icon from the tarball installed +install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps +#%make_install STRIP=: + +cd src +make install DESTDIR=%{buildroot} BINDIR=%{_bindir} VIMRCLOC=/etc VIMRUNTIMEDIR=%{site_runtimepath} +cd .. + +# install the other binaries +install -D -m 0755 vim-normal %{buildroot}/%{_bindir}/vim-normal +install -D -m 0755 vim-enhanced %{buildroot}%{_bindir}/vim-enhanced + +# compat symlinks +# we need a dummy target for /etc/alternatives/vim +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/vim +ln -s -f /etc/alternatives/vim %{buildroot}/%{_bindir}/vim + +ln -s -f vim %{buildroot}%{_bindir}/vi +ln -s -f vim %{buildroot}%{_bindir}/edit +ln -s -f vim %{buildroot}/%{_bindir}/ex + +# man pages +mkdir -p %{buildroot}%{_mandir}/man1 +ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz +ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz + + +# make the vim settings more generic +ln -s -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current + +# additional files +install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/vimrc + +# create site wide runtime directory +mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after +mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload +mkdir -m 0755 %{buildroot}%{site_runtimepath}/colors +mkdir -m 0755 %{buildroot}%{site_runtimepath}/doc +mkdir -m 0755 %{buildroot}%{site_runtimepath}/plugin +mkdir -m 0755 %{buildroot}%{site_runtimepath}/syntax +mkdir -m 0755 %{buildroot}%{site_runtimepath}/ftdetect +mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax +mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons +mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel + + +# +# documentation +install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/ +cp runtime/doc/uganda.txt LICENSE +install -D -m 0644 \ + tizen.vimrc \ + LICENSE README.txt README_src.txt README_unix.txt \ + %{buildroot}%{_docdir}/vim/ +# +# remove unecessary duplicate manpages +rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/ +rm -rf %{buildroot}%{_mandir}/fr.UTF-8/ +rm -rf %{buildroot}%{_mandir}/pl.ISO8859-2/ +rm -rf %{buildroot}%{_mandir}/pl.UTF-8/ +rm -rf %{buildroot}%{_mandir}/ru.KOI8-R/ +rm -rf %{buildroot}%{_mandir}/it.ISO8859-1/ +rm -rf %{buildroot}%{_mandir}/it.UTF-8/ +rm -rf %{buildroot}%{_mandir}/ru.UTF-8 +# and move russian manpages to a place where they can be found +rm -rf %{buildroot}%{_mandir}/{fr,it,pl,ru} + + +# remove some c source files +rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c +rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c +# +# Create ghost files (see vim.conf) +mkdir -p %{buildroot}%{_localstatedir}/run/vi.recover +rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/apps + +%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang +%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tutor +%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin + +%post +/usr/sbin/update-alternatives --install \ + /usr/bin/vim vim /usr/bin/vim-normal 15 + + +%post enhanced +/usr/sbin/update-alternatives --install \ + /usr/bin/vim vim %{_bindir}/vim-enhanced 20 + + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove vim /usr//bin/vim-normal +fi + + +%preun enhanced +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove vim %{_bindir}/vim-enhanced +fi + + +%docs_package + +%files +%defattr(-,root,root,-) +%{_bindir}/vim-normal + +%files base +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/vimrc +%ghost %{_sysconfdir}/alternatives/vim +%{_bindir}/edit +%{_bindir}/ex +%{_bindir}/rview +%{_bindir}/rvim +%{_bindir}/vi +%{_bindir}/vim +%{_bindir}/view +%{_bindir}/vimdiff +# additional binaries +%{_bindir}/vimtutor +%{_bindir}/xxd +# docs and data file +%doc %{_docdir}/vim +# +%{_datadir}/vim/current +%dir %{_datadir}/vim/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/colors/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/compiler/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/doc/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/indent/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/keymap/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/lang/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/macros/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/plugin/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/print/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/spell/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/tools/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/tutor/ +%dir %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/ +%dir %{site_runtimepath} +%dir %{site_runtimepath}/autoload/ +%dir %{site_runtimepath}/colors/ +%dir %{site_runtimepath}/doc/ +%dir %{site_runtimepath}/plugin/ +%dir %{site_runtimepath}/syntax/ +%dir %{site_runtimepath}/ftdetect/ +%dir %{site_runtimepath}/after/ +%dir %{site_runtimepath}/after/syntax/ +# +%{_datadir}/vim/%{VIM_SUBDIR}/bugreport.vim +%{_datadir}/vim/%{VIM_SUBDIR}/evim.vim +%{_datadir}/vim/%{VIM_SUBDIR}/filetype.vim +%{_datadir}/vim/%{VIM_SUBDIR}/ftoff.vim +%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin.vim +%{_datadir}/vim/%{VIM_SUBDIR}/ftplugof.vim +%{_datadir}/vim/%{VIM_SUBDIR}/indent.vim +%{_datadir}/vim/%{VIM_SUBDIR}/indoff.vim +%{_datadir}/vim/%{VIM_SUBDIR}/optwin.vim +%{_datadir}/vim/%{VIM_SUBDIR}/scripts.vim +%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim + +%files data +%defattr(-,root,root,-) +# data files +%{_datadir}/vim/%{VIM_SUBDIR}/autoload/* +%{_datadir}/vim/%{VIM_SUBDIR}/colors/* +%{_datadir}/vim/%{VIM_SUBDIR}/compiler/* +%{_datadir}/vim/%{VIM_SUBDIR}/doc/* +%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/* +%{_datadir}/vim/%{VIM_SUBDIR}/indent/* +%{_datadir}/vim/%{VIM_SUBDIR}/keymap/* +%{_datadir}/vim/%{VIM_SUBDIR}/lang/* +%{_datadir}/vim/%{VIM_SUBDIR}/macros/* +%{_datadir}/vim/%{VIM_SUBDIR}/plugin/* +%{_datadir}/vim/%{VIM_SUBDIR}/print/* +%{_datadir}/vim/%{VIM_SUBDIR}/spell/* +%{_datadir}/vim/%{VIM_SUBDIR}/syntax/* +%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim +#%{_datadir}/vim/%{VIM_SUBDIR}/tools/blink.c +%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.1 +#%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.c +%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter_README.txt +%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.pl +%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.txt +%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_perl.pl +%{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.awk +%{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.txt +%{_datadir}/vim/%{VIM_SUBDIR}/tools/pltags.pl +%{_datadir}/vim/%{VIM_SUBDIR}/tools/README.txt +%{_datadir}/vim/%{VIM_SUBDIR}/tools/ref +%{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.1 +%{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.pl +%{_datadir}/vim/%{VIM_SUBDIR}/tools/unicode.vim +%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimm +%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132 +%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.sh +%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.txt +%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim_vs_net.cmd +#%{_datadir}/vim/%{VIM_SUBDIR}/tools/xcmdsrv_client.c +%{_datadir}/vim/%{VIM_SUBDIR}/tutor/* +%{_datadir}/vim/%{VIM_SUBDIR}/delmenu.vim +%{_datadir}/vim/%{VIM_SUBDIR}/menu.vim +%{_datadir}/vim/%{VIM_SUBDIR}/mswin.vim +%{_datadir}/vim/%{VIM_SUBDIR}/synmenu.vim +%{_datadir}/vim/%{VIM_SUBDIR}/gvimrc_example.vim +%{_datadir}/vim/%{VIM_SUBDIR}/vimrc_example.vim + +%files enhanced +%defattr(-,root,root,-) +%{_bindir}/vim-enhanced + + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/wdiff.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/wdiff.spec new file mode 100644 index 0000000..4c55989 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/wdiff.spec @@ -0,0 +1,55 @@ +Name: wdiff +Version: 1.0.2 +Release: 1 +License: GPL-2.0+ +Summary: Display Word Differences Between Text Files +Url: ftp://mirrors.kernel.org/gnu/wdiff/ +Group: Productivity/Text/Utilities +Source: http://alpha.gnu.org/gnu/wdiff/wdiff-%{version}.tar.bz2 +BuildRequires: ncurses-devel + +%description +wdiff compares two files and finds which words have been deleted or +added to old_file to get new_file. A word is considered to be anything +between whitespace. + +Xwdiff is a handy X Window System front-end, based on Tcl/Tk. + +%package lang +License: GPL-2.0+ +Summary: Translations for Wdiff +Group: Productivity/Text/Utilities +Requires: %{name} = %{version} + +%description lang +Contains language specific files for of wdiff. + +%prep +%setup -q + +%build +# those autoconf tools never really work, do they? +# error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE +# autoreconf -fi +LIBS=-lncurses \ +CFLAGS="%{optflags} -pipe -DPROTOTYPES" \ +GETOPT="" \ +%configure +make + +%install +make "DESTDIR=%{buildroot}" install +%find_lang %{name}-gnulib +%find_lang %{name} + +%files +%defattr(-,root,root) +%license COPYING +%{_infodir}/wdiff.info* +/usr/bin/* +%{_mandir}/man1/* + +%files lang -f %{name}-gnulib.lang -f %{name}.lang + + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/xz.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/xz.spec new file mode 100644 index 0000000..b26e414 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/xz.spec @@ -0,0 +1,109 @@ +Name: xz +Version: 5.0.3 +Release: 0 +License: LGPL-2.1+ and GPL-2.0+ +Summary: A Program for Compressing Files +Url: http://tukaani.org/lzma/ +Group: Productivity/Archiving/Compression +Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: pkgconfig +Provides: lzma = %{version} +Obsoletes: lzma < %{version} + +%ifarch %{arm} +%define do_profiling 0 +%endif + +# avoid bootstrapping problem +%define _binary_payload w9.bzdio + +%description +The xz command is a very powerful program for compressing files. + +* Average compression ratio of LZMA is about 30% better than that of + gzip, and 15% better than that of bzip2. + +* Decompression speed is only little slower than that of gzip, being + two to five times faster than bzip2. + +* In fast mode, compresses faster than bzip2 with a comparable + compression ratio. + +* Achieving the best compression ratios takes four to even twelve + times longer than with bzip2. However. this doesn't affect + decompressing speed. + +* Very similar command line interface to what gzip and bzip2 have. + +%package -n liblzma +Summary: LZMA library +Group: System/Libraries + +%description -n liblzma +Library for encoding/decoding LZMA files. + +%package devel +Summary: Development package for the LZMA library +Group: Development/Libraries/C and C++ +Requires: liblzma = %{version} +Provides: lzma-devel = %{version} +Obsoletes: lzma-devel < %{version} +Provides: lzma-alpha-devel = %{version} +Obsoletes: lzma-alpha-devel < %{version} + +%description devel +This package contains the header files and libraries needed for +compiling programs using the LZMA library. + +%prep +%setup -q + +%build +%if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +export CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" +%endif +%configure --disable-static --with-pic --docdir=%_docdir/%{name} +make %{?_smp_mflags} +%if %{do_profiling} +time make check +make clean +export CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" +%configure --disable-static --with-pic --docdir=%_docdir/%{name} +make %{?_smp_mflags} +%endif + +%check +time make check + +%install +%make_install +%find_lang %{name} + +%post -n liblzma -p /sbin/ldconfig + +%postun -n liblzma -p /sbin/ldconfig + +%lang_package + +%docs_package + +%files +%defattr(-, root, root) +%_docdir/%{name} +%{_bindir}/* + +%files -n liblzma +%defattr(-, root, root) +%{_libdir}/lib*.so.5* + +%files devel +%defattr(-, root, root) +%{_includedir}/*.h +%{_includedir}/lzma +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc + +%changelog diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/yasm.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/yasm.spec new file mode 100644 index 0000000..986d5ee --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/yasm.spec @@ -0,0 +1,39 @@ +Name: yasm +Version: 1.2.0 +Release: 1 +License: BSD +Summary: Yasm Modular Assembler +Url: http://yasm.tortall.net/ +Group: System/Libraries +Source0: %{name}-%{version}.tar.gz + +BuildRequires: binutils-devel + +%description +Yasm is a complete rewrite of the NASM assembler under the “new” BSD License (some portions are under other licenses, see COPYING for details). +Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats. +Yasm can be easily integrated into Visual Studio 2005/2008 and 2010 for assembly of NASM or GAS syntax code into Win32 or Win64 object files. + +%prep +%setup -q + +%build +./configure --prefix=/usr + +make %{?_smp_mflags} + +%install +%make_install + +%files +%{_bindir}/yasm +%{_bindir}/vsyasm +%{_bindir}/ytasm +%{_includedir}/libyasm-stdint.h +%{_includedir}/libyasm.h +%{_includedir}/libyasm/* +%{_mandir}/man1/yasm.1.gz +%{_mandir}/man7/yasm_arch.7.gz +%{_mandir}/man7/yasm_dbgfmts.7.gz +%{_mandir}/man7/yasm_objfmts.7.gz +%{_mandir}/man7/yasm_parsers.7.gz diff --git a/Tizen_TZ_package/recipes-Development/specfile-initial/zip.spec b/Tizen_TZ_package/recipes-Development/specfile-initial/zip.spec new file mode 100644 index 0000000..91d4304 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/specfile-initial/zip.spec @@ -0,0 +1,35 @@ +Name: zip +Version: 3.0 +Release: 1 +License: BSD-3-Clause +Summary: File compression program +Url: http://www.info-zip.org/ +Group: Productivity/Archiving/Compression +Source: %{name}-%{version}.tar.bz2 + +%description +Zip is a compression and file packaging utility. It is compatible with +PKZIP(tm) 2.04g (Phil Katz ZIP) for MS-DOS systems. + +%prep +%setup -q -n zip30 + +%build +make %{?_smp_mflags} -f unix/Makefile prefix=/usr CC="gcc %{optflags} -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc + +%install +mkdir -p %{buildroot}/usr/bin +mkdir -p %{buildroot}%{_mandir}/man1 +make install -f unix/Makefile BINDIR=%{buildroot}/usr/bin MANDIR=%{buildroot}%{_mandir}/man1 + +%docs_package + +%files +%defattr(-,root,root) +%doc LICENSE +%{_bindir}/zip +%{_bindir}/zipcloak +%{_bindir}/zipnote +%{_bindir}/zipsplit + +%changelog diff --git a/meta-tizen/classes/specParserUtils.bbclass b/meta-tizen/classes/specParserUtils.bbclass new file mode 100644 index 0000000..53c742d --- /dev/null +++ b/meta-tizen/classes/specParserUtils.bbclass @@ -0,0 +1,335 @@ +#!/usr/bin/python + +# +# Copyright 2013, Intel 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; version 2 of the License. +# +# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +#''' +#Created on 05 fevr. 2013 +# +#@author: ronan@fridu.net +#''' + +#import sys +#import os + +#import subprocess +#import shlex + +#import re + +def oe_import(e): + import sys + import os + + import subprocess + import shlex + + import re + + __introduction_section = "introduction_section" + __package = "%package" + __description = "%description" + __prepFlag = "%prep" + __buildFlag = "%build" + __installFlag = "%install" + __cleanFlag = "%clean" + __filesFlag = "%files" + __checkFlag = "%check" + __postFlag = "%post" + __preunFlag = "%preun" + __postunFlag = "%postun" + __verifyscriptFlag = "%verifyscript" + __listSection = [__package, + __description, + __prepFlag, + __buildFlag, + __installFlag, + __cleanFlag, + __filesFlag, + __checkFlag, + __postFlag, + __preunFlag, + __postunFlag, + __verifyscriptFlag] + +addhandler oe_import + + + + +def parseParsedSpecFile(parsedSpecFile): + def testSection(line): + for sect in __listSection: + if line.startswith(sect): + return True + return False + #ordered dico is not provide yet... + orderList = [] + spectDico = {} + + currentSection = __introduction_section + spectDico[currentSection] = [] + orderList.append(currentSection) + + for line in parsedSpecFile.split("\n"): + if testSection(line) : + if line in spectDico.keys(): + raise "ERROR this section \"%s\" is not unique." % line + currentSection = line + spectDico[currentSection] = [] + orderList.append(currentSection) + + spectDico[currentSection].append(line) + + return spectDico,orderList + +def listPackage(specfile_dir="specfile-initial",package_config="package-config-initial"): + res=[] + + with open(package_config,"r") as f: + for line in f: + package_name,package_git_command, package_spec_initial= line.split() + + package_spec_path=os.path.join(specfile_dir,package_spec_initial) + if os.path.isfile(package_spec_path): + res.append((package_name,package_git_command,package_spec_path)) + return res + +def findPatch(package_spec_path): + patternPatch = r'(Patch.*):' + res=[] + with open(package_spec_path) as f: + specFile=f.read() + + resTMP =re.findall(patternPatch, specFile) + for r in resTMP: + res.append(r.replace("Patch","patch")) + + return res + + +def convertSpecFile(package_name,package_git_command,package_spec_path,cpu="x86_64"): + command="rpmspec --parse %s" % package_spec_path + command += " --define='setup #setup'" + command += " --define='buildroot ${D}'" + command += " --define='_target_cpu %s'" % cpu + + patchs=findPatch(package_spec_path) + + for p in patchs: + command += " --define='%s #%s'" % (p,p) + + splittedCommand=shlex.split(command) + p = subprocess.Popen(splittedCommand, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + res = p.poll() + parsedSpecFile= p.stdout.read() + + return parsedSpecFile + +def getName(lines): + patternDescription = r'^Name:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getDescription(lines): + patternDescription = r'^Summary:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getHomepage(lines): + patternDescription = r'^Url:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getSection(lines): + patternDescription = r'^Group:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getPriority(lines): + return "" + +def getLicense(lines): + patternDescription = r'^License:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getProvides(spectDico): + __package = "%package" + res=[] + baseName=getName( spectDico[__introduction_section] ) + res.append( baseName ) + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0: + if "-n" in package[0]: + packageName=package[0].replace("-n","").replace(" ","") + else: + packageName=baseName+"-"+package[0] + + res.append( packageName ) + return res + +def getBuildRequires(lines): + res=[] + buildRequiresPackage = r'^BuildRequires:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in lines: + buildRequires= re.findall(buildRequiresPackage, line) + for r in buildRequires: + tmp=r + buildRequires= re.findall(buildPkgconfig, r) + + if len(buildRequires)>0: + tmp=buildRequires[0] + elif ">" in r: + tmp=r.split(">")[0] + elif "<" in r: + tmp=r.split("<")[0] + res.append(tmp) + + return res + +def getRProvides(spectDico): + res=[] + + return res + +def getDepends(spectDico): + res=[] + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0 or (k == __introduction_section): + res.extend( getBuildRequires(spectDico[k]) ) + + return res + +def getRDepends(spectDico): + res=[] + + return res + + + +def createRecipes(package_name,package_git_command,spectDico,orderList,recipesDir="/home/ronanguirec/Documents/yocto/openembedded-core-gen-tizen/meta-tizen/recipes-BaseSystem"): + packageRecipesDir=os.path.join(recipesDir,package_name) + if not os.path.isdir(packageRecipesDir): + os.mkdir(packageRecipesDir) + + DESCRIPTION = getDescription( spectDico[__introduction_section] ) + HOMEPAGE = getHomepage( spectDico[__introduction_section] ) + SECTION = getSection( spectDico[__introduction_section] ) + PRIORITY = getPriority( spectDico[__introduction_section] ) + LICENSE = getLicense( spectDico[__introduction_section] ) + + providesList=getProvides(spectDico) + rprovidesList=getProvides(spectDico) + + dependsList=getDepends(spectDico) + rdependsList=getRDepends(spectDico) + + baseFile=package_name+".inc" + gitFile=package_name+"_git.bb" + + with open(os.path.join(packageRecipesDir,baseFile),"w" ) as f: + f.write("DESCRIPTION = \"%s\"\n" % DESCRIPTION) + f.write("HOMEPAGE = \"%s\"\n" % HOMEPAGE) + f.write("SECTION = \"%s\"\n" % SECTION) + f.write("PRIORITY = \"%s\"\n" % PRIORITY) + f.write("LICENSE = \"%s\"\n" % LICENSE) + f.write("\n" ) + + f.write("PACKAGES = \"\"\n" ) + for p in providesList: + f.write("PACKAGES += \"%s\"\n" % p) + f.write("\n" ) + + #f.write("RPROVIDES = \"\"\n" ) + #for p in rprovidesList: + # f.write("RPROVIDES += \"%s\"\n" % p) + #f.write("\n" ) + + f.write("DEPENDS = \"\"\n" ) + for p in dependsList: + f.write("DEPENDS += \"%s\"\n" % p) + f.write("\n" ) + + f.write("RDEPENDS = \"\"\n" ) + for p in rdependsList: + f.write("RDEPENDS += \"%s\"\n" % p) + f.write("\n" ) + + f.write("S = \"${WORKDIR}/git\"\n") + + with open(os.path.join(packageRecipesDir,gitFile),"w" ) as f: + f.write("require %s\n" % baseFile) + f.write("\n" ) + f.write("SRC_URI = %s\n" % package_git_command) + + +def createPackages(): + res=listPackage() + for package_name,package_git_command,package_spec_path in res: + parsedSpecFile=convertSpecFile(package_name,package_git_command,package_spec_path) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + + res=createRecipes(package_name,package_git_command,spectDico,orderList) + +# return 0 + +def getCompile(d): + print "RLM DO getCompile." + + + #if __name__ == '__main__': + #res=createPackages() + #sys.exit(res) + + #parsedSpecFile= convertSpecFile("connman","","specfile-initial/connman.spec") + #spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + #print spectDico + # + #for k in orderList: + # print + # print "section: ",k + # print "getName( spectDico[__introduction_section] )",getName( spectDico[__introduction_section] ) + # print + # for line in spectDico[k]: + # print line diff --git a/meta-tizen/classes/specParserUtils.bbclass~ b/meta-tizen/classes/specParserUtils.bbclass~ new file mode 100644 index 0000000..3913131 --- /dev/null +++ b/meta-tizen/classes/specParserUtils.bbclass~ @@ -0,0 +1,349 @@ +#!/usr/bin/python + +# +# Copyright 2013, Intel 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; version 2 of the License. +# +# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +#''' +#Created on 05 fevr. 2013 +# +#@author: ronan@fridu.net +#''' + +#import sys +#import os + +#import subprocess +#import shlex + +#import re + +def oe_import(e): + import sys + import os + + import subprocess + import shlex + + import re + + __introduction_section = "introduction_section" + __package = "%package" + __description = "%description" + __prepFlag = "%prep" + __buildFlag = "%build" + __installFlag = "%install" + __cleanFlag = "%clean" + __filesFlag = "%files" + __checkFlag = "%check" + __postFlag = "%post" + __preunFlag = "%preun" + __postunFlag = "%postun" + __verifyscriptFlag = "%verifyscript" + __listSection = [__package, + __description, + __prepFlag, + __buildFlag, + __installFlag, + __cleanFlag, + __filesFlag, + __checkFlag, + __postFlag, + __preunFlag, + __postunFlag, + __verifyscriptFlag] + +addhandler oe_import + + + + +def parseParsedSpecFile(parsedSpecFile): + def testSection(line): + for sect in __listSection: + if line.startswith(sect): + return True + return False + #ordered dico is not provide yet... + orderList = [] + spectDico = {} + + currentSection = __introduction_section + spectDico[currentSection] = [] + orderList.append(currentSection) + + for line in parsedSpecFile.split("\n"): + if testSection(line) : + if line in spectDico.keys(): + raise "ERROR this section \"%s\" is not unique." % line + currentSection = line + spectDico[currentSection] = [] + orderList.append(currentSection) + + spectDico[currentSection].append(line) + + return spectDico,orderList + +def listPackage(specfile_dir="specfile-initial",package_config="package-config-initial"): + res=[] + + with open(package_config,"r") as f: + for line in f: + package_name,package_git_command, package_spec_initial= line.split() + + package_spec_path=os.path.join(specfile_dir,package_spec_initial) + if os.path.isfile(package_spec_path): + res.append((package_name,package_git_command,package_spec_path)) + return res + +def findPatch(package_spec_path): + patternPatch = r'(Patch.*):' + res=[] + with open(package_spec_path) as f: + specFile=f.read() + + resTMP =re.findall(patternPatch, specFile) + for r in resTMP: + res.append(r.replace("Patch","patch")) + + return res + + +def convertSpecFile(package_name,package_git_command,package_spec_path,cpu="x86_64"): + command="rpmspec --parse %s" % package_spec_path + command += " --define='setup #setup'" + command += " --define='buildroot ${D}'" + command += " --define='_target_cpu %s'" % cpu + + patchs=findPatch(package_spec_path) + + for p in patchs: + command += " --define='%s #%s'" % (p,p) + + splittedCommand=shlex.split(command) + p = subprocess.Popen(splittedCommand, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + res = p.poll() + parsedSpecFile= p.stdout.read() + + return parsedSpecFile + +def getName(lines): + patternDescription = r'^Name:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getDescription(lines): + patternDescription = r'^Summary:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getHomepage(lines): + patternDescription = r'^Url:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getSection(lines): + patternDescription = r'^Group:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getPriority(lines): + return "" + +def getLicense(lines): + patternDescription = r'^License:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getProvides(spectDico): + __package = "%package" + res=[] + baseName=getName( spectDico[__introduction_section] ) + res.append( baseName ) + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0: + if "-n" in package[0]: + packageName=package[0].replace("-n","").replace(" ","") + else: + packageName=baseName+"-"+package[0] + + res.append( packageName ) + return res + +def getBuildRequires(lines): + res=[] + buildRequiresPackage = r'^BuildRequires:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in lines: + buildRequires= re.findall(buildRequiresPackage, line) + for r in buildRequires: + tmp=r + buildRequires= re.findall(buildPkgconfig, r) + + if len(buildRequires)>0: + tmp=buildRequires[0] + elif ">" in r: + tmp=r.split(">")[0] + elif "<" in r: + tmp=r.split("<")[0] + res.append(tmp) + + return res + +def getRProvides(spectDico): + res=[] + + return res + +def getDepends(spectDico): + res=[] + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0 or (k == __introduction_section): + res.extend( getBuildRequires(spectDico[k]) ) + + return res + +def getRDepends(spectDico): + res=[] + + return res + + + +def createRecipes(package_name,package_git_command,spectDico,orderList,recipesDir="/home/ronanguirec/Documents/yocto/openembedded-core-gen-tizen/meta-tizen/recipes-BaseSystem"): + packageRecipesDir=os.path.join(recipesDir,package_name) + if not os.path.isdir(packageRecipesDir): + os.mkdir(packageRecipesDir) + + DESCRIPTION = getDescription( spectDico[__introduction_section] ) + HOMEPAGE = getHomepage( spectDico[__introduction_section] ) + SECTION = getSection( spectDico[__introduction_section] ) + PRIORITY = getPriority( spectDico[__introduction_section] ) + LICENSE = getLicense( spectDico[__introduction_section] ) + + providesList=getProvides(spectDico) + rprovidesList=getProvides(spectDico) + + dependsList=getDepends(spectDico) + rdependsList=getRDepends(spectDico) + + baseFile=package_name+".inc" + gitFile=package_name+"_git.bb" + + with open(os.path.join(packageRecipesDir,baseFile),"w" ) as f: + f.write("DESCRIPTION = \"%s\"\n" % DESCRIPTION) + f.write("HOMEPAGE = \"%s\"\n" % HOMEPAGE) + f.write("SECTION = \"%s\"\n" % SECTION) + f.write("PRIORITY = \"%s\"\n" % PRIORITY) + f.write("LICENSE = \"%s\"\n" % LICENSE) + f.write("\n" ) + + f.write("PACKAGES = \"\"\n" ) + for p in providesList: + f.write("PACKAGES += \"%s\"\n" % p) + f.write("\n" ) + + #f.write("RPROVIDES = \"\"\n" ) + #for p in rprovidesList: + # f.write("RPROVIDES += \"%s\"\n" % p) + #f.write("\n" ) + + f.write("DEPENDS = \"\"\n" ) + for p in dependsList: + f.write("DEPENDS += \"%s\"\n" % p) + f.write("\n" ) + + f.write("RDEPENDS = \"\"\n" ) + for p in rdependsList: + f.write("RDEPENDS += \"%s\"\n" % p) + f.write("\n" ) + + f.write("S = \"${WORKDIR}/git\"\n") + + with open(os.path.join(packageRecipesDir,gitFile),"w" ) as f: + f.write("require %s\n" % baseFile) + f.write("\n" ) + f.write("SRC_URI = %s\n" % package_git_command) + + +def createPackages(): + res=listPackage() + for package_name,package_git_command,package_spec_path in res: + parsedSpecFile=convertSpecFile(package_name,package_git_command,package_spec_path) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + + res=createRecipes(package_name,package_git_command,spectDico,orderList) + +# return 0 + +def getCompile(d): + print "RLM DO getCompile." + + + #if __name__ == '__main__': + #res=createPackages() + #sys.exit(res) + + #parsedSpecFile= convertSpecFile("connman","","specfile-initial/connman.spec") + #spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + #print spectDico + # + #for k in orderList: + # print + # print "section: ",k + # print "getName( spectDico[__introduction_section] )",getName( spectDico[__introduction_section] ) + # print + # for line in spectDico[k]: + # print line + + + + + + + + + + + + + + diff --git a/meta-tizen/conf/bblayers.conf.sample b/meta-tizen/conf/bblayers.conf.sample new file mode 100644 index 0000000..010d503 --- /dev/null +++ b/meta-tizen/conf/bblayers.conf.sample @@ -0,0 +1,21 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "5" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + /home/ronanguirec/Documents/yocto/openembedded-core-glibc/meta \ + /home/ronanguirec/Documents/yocto/openembedded-core-glibc/meta-tizen \ + " +# /home/ronanguirec/Documents/yocto/openembedded-core-tizen/meta \ +# " + +BBLAYERS_NON_REMOVABLE ?= " \ + /home/ronanguirec/Documents/yocto/openembedded-core-tizen/meta-tizen \ + " +#/home/ronanguirec/Documents/yocto/openembedded-core-tizen/meta \ +# " +# " + diff --git a/meta-tizen/conf/distro/include/tclibc-glibc.inc b/meta-tizen/conf/distro/include/tclibc-glibc.inc new file mode 100644 index 0000000..1cede0c --- /dev/null +++ b/meta-tizen/conf/distro/include/tclibc-glibc.inc @@ -0,0 +1,46 @@ +# +# glibc specific configuration +# +PREFERRED_PROVIDER_gcc-c++ += "gcc" + +PREFERRED_PROVIDER_openssl-devel += "openssl" + +LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" + +# Add glibc overrides to the overrides for glibc. +LIBCOVERRIDE = ":libc-glibc" +OVERRIDES .= "${LIBCOVERRIDE}" + + +PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" + +PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-gettext" +PREFERRED_PROVIDER_virtual/libintl ?= "glibc" +PREFERRED_PROVIDER_virtual/libc = "glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-glibc" +PREFERRED_PROVIDER_virtual/libc-locale ?= "glibc-locale" + +CXXFLAGS += "-fvisibility-inlines-hidden" + +LIBC_DEPENDENCIES = "libsegfault \ + glibc \ + glibc-dbg \ + glibc-dev \ + glibc-utils \ + glibc-thread-db \ + ${@get_libc_locales_dependencies(d)}" + +LIBC_LOCALE_DEPENDENCIES = "\ + glibc-localedata-i18n \ + glibc-gconv-ibm850 \ + glibc-gconv-cp1252 \ + glibc-gconv-iso8859-1 \ + glibc-gconv-iso8859-15" + +def get_libc_locales_dependencies(d): + if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() : + return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or '' + else: + return '' diff --git a/meta-tizen/conf/distro/include/tclibc-glibc.inc~ b/meta-tizen/conf/distro/include/tclibc-glibc.inc~ new file mode 100644 index 0000000..2ce709f --- /dev/null +++ b/meta-tizen/conf/distro/include/tclibc-glibc.inc~ @@ -0,0 +1,44 @@ +# +# glibc specific configuration +# +PREFERRED_PROVIDER_gcc-c++ += "gcc" + +LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" + +# Add glibc overrides to the overrides for glibc. +LIBCOVERRIDE = ":libc-glibc" +OVERRIDES .= "${LIBCOVERRIDE}" + + +PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" + +PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-gettext" +PREFERRED_PROVIDER_virtual/libintl ?= "glibc" +PREFERRED_PROVIDER_virtual/libc = "glibc" +PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-glibc" +PREFERRED_PROVIDER_virtual/libc-locale ?= "glibc-locale" + +CXXFLAGS += "-fvisibility-inlines-hidden" + +LIBC_DEPENDENCIES = "libsegfault \ + glibc \ + glibc-dbg \ + glibc-dev \ + glibc-utils \ + glibc-thread-db \ + ${@get_libc_locales_dependencies(d)}" + +LIBC_LOCALE_DEPENDENCIES = "\ + glibc-localedata-i18n \ + glibc-gconv-ibm850 \ + glibc-gconv-cp1252 \ + glibc-gconv-iso8859-1 \ + glibc-gconv-iso8859-15" + +def get_libc_locales_dependencies(d): + if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() : + return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or '' + else: + return '' diff --git a/meta-tizen/conf/distro/include/tcmode-tizen.inc b/meta-tizen/conf/distro/include/tcmode-tizen.inc new file mode 100644 index 0000000..f19930a --- /dev/null +++ b/meta-tizen/conf/distro/include/tcmode-tizen.inc @@ -0,0 +1,60 @@ +# +# Default toolchain configuration +# + + +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" +PREFERRED_PROVIDER_gdb = "gdb" + +# Default libc config +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" +PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" +PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial" +PREFERRED_PROVIDER_virtual/gettext ??= "gettext" + +GCCVERSION ?= "4.7%" +SDKGCCVERSION ?= "${GCCVERSION}" +BINUVERSION ?= "2.23.1" +GLIBCVERSION ?= "git" +LINUXLIBCVERSION ?= "3.7" + +PREFERRED_VERSION_gcc ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-intermediate ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" +PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" +PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_binutils ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" +PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" +PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" + +PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" +PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}" +PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}" +#PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" + +PREFERRED_VERSION_elfutils ?= "0.148" +# don't use version earlier than 1.4 for gzip-native, as it's necessary for +# some packages using an archive format incompatible with earlier gzip +PREFERRED_VERSION_gzip-native ?= "1.5" + +# Setup suitable toolchain flags +require conf/distro/include/tizen-as-needed.inc + diff --git a/meta-tizen/conf/distro/include/tizen-as-needed.inc b/meta-tizen/conf/distro/include/tizen-as-needed.inc new file mode 100644 index 0000000..9d2056e --- /dev/null +++ b/meta-tizen/conf/distro/include/tizen-as-needed.inc @@ -0,0 +1,16 @@ + +ASNEEDED = "-Wl,--as-needed" + +ASNEEDED_pn-console-tools = "" +ASNEEDED_pn-distcc = "" +ASNEEDED_pn-openobex = "" +ASNEEDED_pn-icu = "" +ASNEEDED_pn-xserver-kdrive-xomap = "" +ASNEEDED_pn-minimo = "" +ASNEEDED_pn-pciutils = "" +ASNEEDED_pn-puzzles = "" +ASNEEDED_pn-dialer = "" +ASNEEDED_pn-pulseaudio = "" +ASNEEDED_pn-rpm = "" + +TARGET_LDFLAGS += "${ASNEEDED}" diff --git a/meta-tizen/conf/distro/include/tizen-distrovars.inc b/meta-tizen/conf/distro/include/tizen-distrovars.inc new file mode 100644 index 0000000..2a895e5 --- /dev/null +++ b/meta-tizen/conf/distro/include/tizen-distrovars.inc @@ -0,0 +1,54 @@ +QA_LOGFILE = "${TMPDIR}/qa.log" + +OEINCLUDELOGS ?= "yes" +KERNEL_CONSOLE ?= "ttyS0" +KEEPUIMAGE ??= "yes" + +PCMCIA_MANAGER ?= "pcmciautils" + +IMAGE_LINGUAS ?= "en-us en-gb" +LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" +ENABLE_BINARY_LOCALE_GENERATION ?= "1" +LOCALE_UTF8_ONLY ?= "0" + +DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ + libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ + libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \ + libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ + libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ + libc-posix-wchar-io" +DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" +DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" +DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g x11 ${DISTRO_FEATURES_LIBC}" + +IMAGE_FEATURES ?= "" + +# This is a list of packages that are used by the build system to build the distribution, they are not +# directly part of the distribution. +HOSTTOOLS_WHITELIST_GPLv3 ?= "" +WHITELIST_GPLv3 ?= "less" +LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc gcc-runtime" + +COMMERCIAL_AUDIO_PLUGINS ?= "" +# COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" +COMMERCIAL_VIDEO_PLUGINS ?= "" +# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" +COMMERCIAL_QT ?= "" +# COMMERCIAL_QT ?= "qmmp" +# Set of common licenses used for license.bbclass +COMMON_LICENSE_DIR ??= "${COREBASE}/meta/files/common-licenses" + +BB_GENERATE_MIRROR_TARBALLS ??= "0" + +NO32LIBS ??= "1" + +# Default to emitting logfiles if a build fails. +BBINCLUDELOGS ??= "yes" +SDK_VERSION ??= "oe-core.0" +DISTRO_VERSION ??= "oe-core.0" + +# Missing checksums should raise an error +BB_STRICT_CHECKSUM = "1" + +ASSUME_PROVIDED += "help2man-native makeinfo-native glibc-native" + diff --git a/meta-tizen/conf/distro/include/tizen-distrovars.inc~ b/meta-tizen/conf/distro/include/tizen-distrovars.inc~ new file mode 100644 index 0000000..e6a04d1 --- /dev/null +++ b/meta-tizen/conf/distro/include/tizen-distrovars.inc~ @@ -0,0 +1,54 @@ +QA_LOGFILE = "${TMPDIR}/qa.log" + +OEINCLUDELOGS ?= "yes" +KERNEL_CONSOLE ?= "ttyS0" +KEEPUIMAGE ??= "yes" + +PCMCIA_MANAGER ?= "pcmciautils" + +IMAGE_LINGUAS ?= "en-us en-gb" +LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" +ENABLE_BINARY_LOCALE_GENERATION ?= "1" +LOCALE_UTF8_ONLY ?= "0" + +DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ + libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ + libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \ + libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ + libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ + libc-posix-wchar-io" +DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" +DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" +DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g x11 ${DISTRO_FEATURES_LIBC}" + +IMAGE_FEATURES ?= "" + +# This is a list of packages that are used by the build system to build the distribution, they are not +# directly part of the distribution. +HOSTTOOLS_WHITELIST_GPLv3 ?= "" +WHITELIST_GPLv3 ?= "less" +LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc gcc-runtime" + +COMMERCIAL_AUDIO_PLUGINS ?= "" +# COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" +COMMERCIAL_VIDEO_PLUGINS ?= "" +# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" +COMMERCIAL_QT ?= "" +# COMMERCIAL_QT ?= "qmmp" +# Set of common licenses used for license.bbclass +COMMON_LICENSE_DIR ??= "${COREBASE}/meta/files/common-licenses" + +BB_GENERATE_MIRROR_TARBALLS ??= "0" + +NO32LIBS ??= "1" + +# Default to emitting logfiles if a build fails. +BBINCLUDELOGS ??= "yes" +SDK_VERSION ??= "oe-core.0" +DISTRO_VERSION ??= "oe-core.0" + +# Missing checksums should raise an error +BB_STRICT_CHECKSUM = "1" + +ASSUME_PROVIDED += "help2man-native makeinfo-native" + diff --git a/meta-tizen/conf/distro/tizen.conf b/meta-tizen/conf/distro/tizen.conf new file mode 100644 index 0000000..24ddbb3 --- /dev/null +++ b/meta-tizen/conf/distro/tizen.conf @@ -0,0 +1,24 @@ +require conf/distro/include/tizen-distrovars.inc + + + + +TCMODE = "tizen" +require conf/distro/include/tcmode-${TCMODE}.inc + +TCLIBC = "glibc" +require conf/distro/include/tclibc-${TCLIBC}.inc + +# Allow single libc distros to disable this code +TCLIBCAPPEND = "-${TCLIBC}" + + + + +USER_CLASSES ?= "" +PACKAGE_CLASSES = "package_rpm" + + + + +CSL_VER_MAIN = "2013.01-01" diff --git a/meta-tizen/conf/distro/tizen.conf~ b/meta-tizen/conf/distro/tizen.conf~ new file mode 100644 index 0000000..e0ddf56 --- /dev/null +++ b/meta-tizen/conf/distro/tizen.conf~ @@ -0,0 +1,24 @@ +include conf/distro/include/tizen-distrovars.inc + + + + +TCMODE = "tizen" +require conf/distro/include/tcmode-${TCMODE}.inc + +TCLIBC = "glibc" +require conf/distro/include/tclibc-${TCLIBC}.inc + +# Allow single libc distros to disable this code +TCLIBCAPPEND = "-${TCLIBC}" + + + + +USER_CLASSES ?= "" +PACKAGE_CLASSES = "package_rpm" + + + + +CSL_VER_MAIN = "2013.01-01" diff --git a/meta-tizen/conf/layer.conf b/meta-tizen/conf/layer.conf new file mode 100644 index 0000000..7ea3603 --- /dev/null +++ b/meta-tizen/conf/layer.conf @@ -0,0 +1,10 @@ +# 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" +BBFILE_PATTERN_tizen := "^${LAYERDIR}/" +BBFILE_PRIORITY_tizen = "6" diff --git a/meta-tizen/conf/layer.conf~ b/meta-tizen/conf/layer.conf~ new file mode 100644 index 0000000..fd5f363 --- /dev/null +++ b/meta-tizen/conf/layer.conf~ @@ -0,0 +1,10 @@ +# 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" +BBFILE_PATTERN_tizen := "^${LAYERDIR}/" +BBFILE_PRIORITY_tizen = "1" diff --git a/meta-tizen/conf/local.conf.sample b/meta-tizen/conf/local.conf.sample new file mode 100644 index 0000000..30061d6 --- /dev/null +++ b/meta-tizen/conf/local.conf.sample @@ -0,0 +1,244 @@ +# +# This file is your local configuration file and is where all local user settings +# are placed. The comments in this file give some guide to the options a new user +# to the system might want to change but pretty much any configuration option can +# be set in this file. More adventurous users can look at local.conf.extended +# which contains other examples of configuration which can be placed in this file +# but new users likely won't need any of them initially. +# +# Lines starting with the '#' character are commented out and in some cases the +# default values are provided as comments to show people example syntax. Enabling +# the option is a question of removing the # character and making any change to the +# variable as required. + +# +# Parallelism Options +# +# These two options control how much parallelism BitBake should use. The first +# option determines how many tasks bitbake should run in parallel: +# +BB_NUMBER_THREADS = "8" +# +# The second option controls how many processes make should run in parallel when +# running compile tasks: +# +PARALLEL_MAKE = "-j 8" +# +# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would +# be appropriate for example. + +# +# Machine Selection +# +# You need to select a specific machine to target the build with. There are a selection +# of emulated machines available which can boot and run in the QEMU emulator: +# +#MACHINE ?= "qemuarm" +#MACHINE ?= "qemumips" +#MACHINE ?= "qemuppc" +#MACHINE ?= "qemux86" +#MACHINE ?= "qemux86-64" +# +# This sets the default machine to be qemux86 if no other machine is selected: +MACHINE ??= "qemux86" +# +# Where to place downloads +# +# During a first build the system will download many different source code tarballs +# from various upstream projects. This can take a while, particularly if your network +# connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you +# can preserve this directory to speed up this part of subsequent builds. This directory +# is safe to share between multiple builds on the same machine too. +# +# The default is a downloads directory under TOPDIR which is the build directory. +# +#DL_DIR ?= "${TOPDIR}/downloads" + +# +# Where to place shared-state files +# +# BitBake has the capability to accelerate builds based on previously built output. +# This is done using "shared state" files which can be thought of as cache objects +# and this option determines where those files are placed. +# +# You can wipe out TMPDIR leaving this directory intact and the build would regenerate +# from these files if no changes were made to the configuration. If changes were made +# to the configuration, only shared state files where the state was still valid would +# be used (done using checksums). +# +# The default is a sstate-cache directory under TOPDIR. +# +#SSTATE_DIR ?= "${TOPDIR}/sstate-cache" +SSTATE_DIR ?= "/home/ronanguirec/Documents/yocto/sstate" +# +# Where to place the build output +# +# This option specifies where the bulk of the building work should be done and +# where BitBake should place its temporary files and output. Keep in mind that +# this includes the extraction and compilation of many applications and the toolchain +# which can use Gigabytes of hard disk space. +# +# The default is a tmp directory under TOPDIR. +# +#TMPDIR = "${TOPDIR}/tmp" + + +DISTRO ?= "tizen" + +# Package Management configuration +# +# This variable lists which packaging formats to enable. Multiple package backends +# can be enabled at once and the first item listed in the variable will be used +# to generate the root filesystems. +# Options are: +# - 'package_deb' for debian style deb files +# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) +# - 'package_rpm' for rpm style packages +# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" +# We default to ipk: +#PACKAGE_CLASSES ?= "package_ipk" +PACKAGE_CLASSES ?= "package_rpm" +# +# SDK/ADT target architecture +# +# This variable specified the architecture to build SDK/ADT items for and means +# you can build the SDK packages for architectures other than the machine you are +# running the build on (i.e. building i686 packages on an x86_64 host._ +# Supported values are i686 and x86_64 +#SDKMACHINE ?= "i686" + +# +# Extra image configuration defaults +# +# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated +# images. Some of these options are added to certain image types automatically. The +# variable can contain the following options: +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "tools-profile" - add profiling tools (oprofile, exmap, lttng, valgrind) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "debug-tweaks" - make an image suitable for development +# e.g. ssh root access has a blank password +# There are other application targets that can be used here too, see +# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. +# We default to enabling the debugging tweaks. +EXTRA_IMAGE_FEATURES = "debug-tweaks" + +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +# - 'image-mklibs' to reduce shared library files size for an image +# - 'image-prelink' in order to prelink the filesystem image +# - 'image-swab' to perform host system intrusion detection +# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink +# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended +USER_CLASSES ?= "buildstats image-mklibs image-prelink" + +# +# Runtime testing of images +# +# The build system can test booting virtual machine images under qemu (an emulator) +# after any root filesystems are created and run tests against those images. To +# enable this uncomment this line +#IMAGETEST = "qemu" +# +# This variable controls which tests are run against virtual images if enabled +# above. The following would enable bat, boot the test case under the sanity suite +# and perform toolchain tests +#TEST_SCEN = "sanity bat sanity:boot toolchain" +# +# Because of the QEMU booting slowness issue (see bug #646 and #618), the +# autobuilder may suffer a timeout issue when running sanity tests. We introduce +# the variable TEST_SERIALIZE here to reduce the time taken by the sanity tests. +# It is set to 1 by default, which will boot the image and run cases in the same +# image without rebooting or killing the machine instance. If it is set to 0, the +# image will be copied and tested for each case, which will take longer but be +# more precise. +#TEST_SERIALIZE = "1" + +# +# Interactive shell configuration +# +# Under certain circumstances the system may need input from you and to do this it +# can launch an interactive shell. It needs to do this since the build is +# multithreaded and needs to be able to handle the case where more than one parallel +# process may require the user's attention. The default is iterate over the available +# terminal types to find one that works. +# +# Examples of the occasions this may happen are when resolving patches which cannot +# be applied, to use the devshell or the kernel menuconfig +# +# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none +# Note: currently, Konsole support only works for KDE 3.x due to the way +# newer Konsole versions behave +OE_TERMINAL = "screen" +# By default disable interactive patch resolution (tasks will just fail instead): +PATCHRESOLVE = "noop" + +# +# Disk Space Monitoring during the build +# +# Monitor the disk space during the build. If there is less that 1GB of space or less +# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully +# shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort +# of the build. The reason for this is that running completely out of space can corrupt +# files and damages the build in ways which may not be easily recoverable. +BB_DISKMON_DIRS = "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + ABORT,${TMPDIR},100M,1K \ + ABORT,${DL_DIR},100M,1K \ + ABORT,${SSTATE_DIR},100M,1K" + +# +# Shared-state files from other locations +# +# As mentioned above, shared state files are prebuilt cache data objects which can +# used to accelerate build time. This variable can be used to configure the system +# to search other mirror locations for these objects before it builds the data itself. +# +# This can be a filesystem directory, or a remote url such as http or ftp. These +# would contain the sstate-cache results from previous builds (possibly from other +# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the +# cache locations to check for the shared objects. +# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH +# at the end as shown in the examples below. This will be substituted with the +# correct path within the directory structure. +#SSTATE_MIRRORS ?= "\ +#file://.* http://someserver.tld/share/sstate/PATH \n \ +#file://.* file:///some/local/dir/sstate/PATH" +SSTATE_MIRRORS ?= "\ + file://.* file:///home/ronanguirec/Documents/yocto/sstate/PATH \ + " + +# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to +# track the version of this file when it was generated. This can safely be ignored if +# this doesn't mean anything to you. +CONF_VERSION = "1" + +TERMCMD = "${SCREEN_TERMCMD}" +TERMCMDRUN = "${SCREEN_TERMCMDRUN}" + +# Some common terminal programs to choose from +# for GNOME +TERMCMD='gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' +TERMCMDRUN='${GNOME_TERMCMD} -x $SHELLCMDS' +# for screen +TERMCMD='screen -D -m -t "$TERMWINDOWTITLE"' +TERMCMDRUN='${SCREEN_TERMCMD} $SHELLCMDS' +# for xterm +TERMCMD='xterm -T "$TERMWINDOWTITLE"' +TERMCMDRUN='${XTERM_TERMCMD} -e $SHELLCMDS' +# for KONSOLE +TERMCMD='konsole -T "$TERMWINDOWTITLE"' +TERMCMDRUN='${KONSOLE_TERMCMD} -e $SHELLCMDS' + diff --git a/meta-tizen/recipes-BaseSystem/bash/bash-extraconf.inc b/meta-tizen/recipes-BaseSystem/bash/bash-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/bash/bash.inc b/meta-tizen/recipes-BaseSystem/bash/bash.inc new file mode 100644 index 0000000..05c601a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/bash/bash.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "The GNU Bourne Again shell" +HOMEPAGE = "http://www.gnu.org/software/bash" +SECTION = "System/Shells" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by bash +PROVIDES += "bash" +RPROVIDES_bash += "bash" +PROVIDES += "/bin/bash" +RPROVIDES_bash += "/bin/bash" +PROVIDES += "/bin/sh" +RPROVIDES_bash += "/bin/sh" + + +DEPENDS = "" +#DEPENDS of bash +DEPENDS += "autoconf" +DEPENDS += "bison" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "bash-" + +bash-files = "/usr/bin/sh /usr/bin/bash " + +FILES_bash- = "${bash-files}" + +SPECFILES = "packaging/bash.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require bash-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/bash/bash_git.bb b/meta-tizen/recipes-BaseSystem/bash/bash_git.bb new file mode 100644 index 0000000..cb1513e --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/bash/bash_git.bb @@ -0,0 +1,5 @@ +require bash.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/bash.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc new file mode 100644 index 0000000..9e3d522 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "CA certificates for OpenSSL" +HOMEPAGE = "http://www.mozilla.org" +SECTION = "Productivity/Networking/Security" +PRIORITY = "" +LICENSE = "MPL-2.0" + +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" + + +DEPENDS = "" +#DEPENDS of ca-certificates-mozilla +DEPENDS += "openssl" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "ca-certificates-mozilla-" + +ca-certificates-mozilla-files = "/usr/share/ca-certificates/mozilla " + +FILES_ca-certificates-mozilla- = "${ca-certificates-mozilla-files}" + +SPECFILES = "packaging/ca-certificates-mozilla.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require ca-certificates-mozilla-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla_git.bb b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla_git.bb new file mode 100644 index 0000000..e16cc9a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla_git.bb @@ -0,0 +1,5 @@ +require ca-certificates-mozilla.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/ca-certificates-mozilla.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/connman/connman-extraconf.inc b/meta-tizen/recipes-BaseSystem/connman/connman-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/connman/connman.inc b/meta-tizen/recipes-BaseSystem/connman/connman.inc new file mode 100644 index 0000000..0cf7dca --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/connman/connman.inc @@ -0,0 +1,68 @@ +DESCRIPTION = "Connection Manager" +HOMEPAGE = "http://connman.net" +SECTION = "System/Networking" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PROVIDES = "" +#PROVIDES by connman +PROVIDES += "connman" +RPROVIDES_connman += "connman" + +#PROVIDES by connman-devel +PROVIDES += "connman-devel" +RPROVIDES_connman-devel += "connman-devel" + +#PROVIDES by connman-test +PROVIDES += "connman-test" +RPROVIDES_connman-test += "connman-test" + + +DEPENDS = "" +#DEPENDS of connman +DEPENDS += "dbus-1" +DEPENDS += "glib-2.0" +DEPENDS += "libiptc" +DEPENDS += "xtables" +DEPENDS += "gnutls" +DEPENDS += "readline" + + +RDEPENDS = "" +#RDEPENDS of connman +RDEPENDS_connman += "systemd" + +#RDEPENDS of connman-devel +# the RDEPENDS rules is ignore "connman = 1.9" +RDEPENDS_connman-devel += "connman" + +#RDEPENDS of connman-test +# the RDEPENDS rules is ignore "connman = 1.9" +RDEPENDS_connman-test += "connman" +RDEPENDS_connman-test += "dbus-python" +RDEPENDS_connman-test += "python-gobject" +RDEPENDS_connman-test += "python-xml" + + +PACKAGES = "" +PACKAGES += "connman-devel" +PACKAGES += "connman-test" +PACKAGES += "connman-" + +connman-develfiles = "/usr/include/connman/*.h /usr/lib64/pkgconfig/*.pc " + +connman-testfiles = "/usr/lib64/connman/test/* " + +connman-files = "/usr/sbin/* /etc/dbus-1/system.d/* /lib/systemd/system/connman.service /lib/systemd/system/network.target.wants/connman.service /lib/systemd/system/multi-user.target.wants/connman.service" + +FILES_connman-devel = "${connman-develfiles}" +FILES_connman-test = "${connman-testfiles}" +FILES_connman- = "${connman-files}" + +SPECFILES = "packaging/connman.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require connman-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/connman/connman_git.bb b/meta-tizen/recipes-BaseSystem/connman/connman_git.bb new file mode 100644 index 0000000..0c77824 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/connman/connman_git.bb @@ -0,0 +1,5 @@ +require connman.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/connman.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/coreutils/coreutils-extraconf.inc b/meta-tizen/recipes-BaseSystem/coreutils/coreutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc b/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc new file mode 100644 index 0000000..1d13248 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc @@ -0,0 +1,82 @@ +DESCRIPTION = "GNU Core Utilities" +HOMEPAGE = "http://www.gnu.org/software/coreutils/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by coreutils +PROVIDES += "coreutils" +RPROVIDES_coreutils += "coreutils" +# the PROVIDES rules is ignore "fileutils = 8.20" +PROVIDES += "fileutils" +RPROVIDES_coreutils += "fileutils" +# the PROVIDES rules is ignore "mktemp = 8.20" +PROVIDES += "mktemp" +RPROVIDES_coreutils += "mktemp" +# the PROVIDES rules is ignore "sh-utils = 8.20" +PROVIDES += "sh-utils" +RPROVIDES_coreutils += "sh-utils" +# the PROVIDES rules is ignore "stat = 8.20}" +PROVIDES += "stat" +RPROVIDES_coreutils += "stat" +# the PROVIDES rules is ignore "textutils = 8.20" +PROVIDES += "textutils" +RPROVIDES_coreutils += "textutils" +PROVIDES += "/bin/chmod" +RPROVIDES_coreutils += "/bin/chmod" +PROVIDES += "/bin/chown" +RPROVIDES_coreutils += "/bin/chown" +PROVIDES += "/bin/ls" +RPROVIDES_coreutils += "/bin/ls" +PROVIDES += "/bin/touch" +RPROVIDES_coreutils += "/bin/touch" +PROVIDES += "/bin/mkdir" +RPROVIDES_coreutils += "/bin/mkdir" +PROVIDES += "/bin/cat" +RPROVIDES_coreutils += "/bin/cat" + +#PROVIDES by coreutils-lang +PROVIDES += "coreutils-lang" +RPROVIDES_coreutils-lang += "coreutils-lang" +# the PROVIDES rules is ignore "coreutils-lang-all = 8.20" +PROVIDES += "coreutils-lang-all" +RPROVIDES_coreutils-lang += "coreutils-lang-all" + + +DEPENDS = "" +#DEPENDS of coreutils +DEPENDS += "automake" +DEPENDS += "gmp" +DEPENDS += "help2man" +DEPENDS += "libacl" +DEPENDS += "libcap" +DEPENDS += "pam" +DEPENDS += "xz" +DEPENDS += "gettext-tools" + + +RDEPENDS = "" +#RDEPENDS of coreutils +# the RDEPENDS rules is ignore "pam >= 1.1.1.90" +RDEPENDS_coreutils += "pam" + +#RDEPENDS of coreutils-lang +# the RDEPENDS rules is ignore "coreutils = 8.20" +RDEPENDS_coreutils-lang += "coreutils" + + +PACKAGES = "" +PACKAGES += "coreutils-" + +coreutils-files = "/usr/bin/* /usr/lib64/coreutils " + +FILES_coreutils- = "${coreutils-files}" + +SPECFILES = "packaging/coreutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require coreutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/coreutils/coreutils_git.bb b/meta-tizen/recipes-BaseSystem/coreutils/coreutils_git.bb new file mode 100644 index 0000000..fe92a3a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/coreutils/coreutils_git.bb @@ -0,0 +1,5 @@ +require coreutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/coreutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/create-package-initial/create-package-initial.py b/meta-tizen/recipes-BaseSystem/create-package-initial/create-package-initial.py new file mode 100755 index 0000000..9c5e987 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/create-package-initial/create-package-initial.py @@ -0,0 +1,407 @@ +#!/usr/bin/python + +# +# Copyright 2013, Intel 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; version 2 of the License. +# +# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +''' +Created on 05 fevr. 2013 + +@author: ronan@fridu.net +''' + +import sys +import os + +import subprocess +import shlex + +import re + +__introduction_section = "introduction_section" +__package = "%package" +__description = "%description" +__prepFlag = "%prep" +__buildFlag = "%build" +__installFlag = "%install" +__cleanFlag = "%clean" +__filesFlag = "%files" +__checkFlag = "%check" +__postFlag = "%post" +__preunFlag = "%preun" +__postunFlag = "%postun" +__verifyscriptFlag = "%verifyscript" +__listSection = [__package, + __description, + __prepFlag, + __buildFlag, + __installFlag, + __cleanFlag, + __filesFlag, + __checkFlag, + __postFlag, + __preunFlag, + __postunFlag, + __verifyscriptFlag] + +def parseParsedSpecFile(parsedSpecFile): + def testSection(line): + for sect in __listSection: + if line.startswith(sect): + return True + return False + #ordered dico is not provide yet... + orderList = [] + spectDico = {} + + currentSection = __introduction_section + spectDico[currentSection] = [] + orderList.append(currentSection) + + for line in parsedSpecFile.split("\n"): + if testSection(line) : + if line in spectDico.keys(): + raise "ERROR this section \"%s\" is not unique." % line + currentSection = line + spectDico[currentSection] = [] + orderList.append(currentSection) + + spectDico[currentSection].append(line) + + return spectDico,orderList + +def listPackage(specfile_dir="specfile-initial",package_config="package-config-initial"): + res=[] + with open(package_config,"r") as f: + for line in f: + package_name,package_git_command, package_spec_initial= line.split() + + package_spec_path=os.path.join(specfile_dir,package_spec_initial) + if os.path.isfile(package_spec_path): + res.append((package_name,package_git_command,package_spec_path)) + else: + print "package_spec_path :",package_spec_path," not exist" + return res + +def findPatch(package_spec_path): + patternPatch = r'(Patch.*):' + res=[] + with open(package_spec_path) as f: + specFile=f.read() + + resTMP =re.findall(patternPatch, specFile) + for r in resTMP: + res.append(r.replace("Patch","patch")) + + return res + + +def convertSpecFile(package_spec_path,cpu="x86_64"): + command="rpmspec --parse %s" % package_spec_path + command += " --define='setup #setup'" + command += " --define='buildroot ${D}'" + command += " --define='_target_cpu %s'" % cpu + + patchs=findPatch(package_spec_path) + + for p in patchs: + command += " --define='%s #%s'" % (p,p) + + splittedCommand=shlex.split(command) + p = subprocess.Popen(splittedCommand, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + res = p.poll() + parsedSpecFile= p.stdout.read() + + return parsedSpecFile + +def getName(lines): + patternDescription = r'^Name:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getDescription(lines): + patternDescription = r'^Summary:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getHomepage(lines): + patternDescription = r'^Url:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getSection(lines): + patternDescription = r'^Group:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getPriority(lines): + return "" + +def getLicense(lines): + patternDescription = r'^License:\s*(.*)' + for line in lines: + description= re.findall(patternDescription, line) + if len(description)>0: + return description[0] + return "" + +def getProvides(spectDico): + __package = "%package" + res=[] + baseName=getName( spectDico[__introduction_section] ) + res.append( baseName ) + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0: + if "-n" in package[0]: + packageName=package[0].replace("-n","").replace(" ","") + else: + packageName=baseName+"-"+package[0] + + res.append( packageName ) + + if len(package)>0 or (k == __introduction_section): + + providesPackage = r'^Provides:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in spectDico[k]: + + provides= re.findall(providesPackage, line) + + for r in provides: + tmp=r + provides_list= re.findall(buildPkgconfig, r) + + if len(provides_list)>0: + tmp=provides_list[0] + elif ">" in r: + tmp=r.split(">")[0] + elif "<" in r: + tmp=r.split("<")[0] + + + res.append(tmp) + + + return res + +def getBuildRequires(lines): + res=[] + buildRequiresPackage = r'^BuildRequires:\s*(.*)' + buildPkgconfig = r'pkgconfig\((.*)\).*' + + for line in lines: + buildRequires= re.findall(buildRequiresPackage, line) + for r in buildRequires: + tmp=r + buildRequires= re.findall(buildPkgconfig, r) + + if len(buildRequires)>0: + tmp=buildRequires[0] + elif ">" in r: + tmp=r.split(">")[0] + elif "<" in r: + tmp=r.split("<")[0] + + if tmp.endswith(","): + tmp=tmp[:-1] + + if tmp == "gcc-c++": + tmp="gcc" + + res.append(tmp) + + return res + +def getRProvides(spectDico): + res=[] + + return res + +def getDepends(spectDico): + res=[] + + patternPackage = r'^%package\s*(.*)' + + for k in spectDico.keys(): + package= re.findall(patternPackage, k) + if len(package)>0 or (k == __introduction_section): + res.extend( getBuildRequires(spectDico[k]) ) + + return res + +def getRDepends(spectDico): + res=[] + return res + +def getBuildSection(spectDico): + res="" + for line in spectDico[__buildFlag][1:]: + if ("mkdir" in line) and (not "-p" in line): + line=line.replace("mkdir","mkdir -p") + res+=line+"\n" + return res + + + +def createRecipes(package_name, + package_git_command, + package_spec_path, + spectDico, + orderList, + recipesDir="/home/ronanguirec/Documents/yocto/openembedded-core-gen-tizen/meta-tizen/recipes-DevelopmentExtra"): + packageRecipesDir=os.path.join(recipesDir,package_name) + if not os.path.isdir(packageRecipesDir): + os.mkdir(packageRecipesDir) + + DESCRIPTION = getDescription( spectDico[__introduction_section] ) + HOMEPAGE = getHomepage( spectDico[__introduction_section] ) + SECTION = getSection( spectDico[__introduction_section] ) + PRIORITY = getPriority( spectDico[__introduction_section] ) + LICENSE = getLicense( spectDico[__introduction_section] ) + + providesList=getProvides(spectDico) + rprovidesList=getProvides(spectDico) + + dependsList=getDepends(spectDico) + rdependsList=getRDepends(spectDico) + + baseFile=package_name+".inc" + exctraConfFile=package_name+"-extraconf.inc" + gitFile=package_name+"_git.bb" + + #Just touch a file + open(os.path.join(packageRecipesDir,exctraConfFile), "a").close() + + with open(os.path.join(packageRecipesDir,baseFile),"w" ) as f: + f.write("DESCRIPTION = \"%s\"\n" % DESCRIPTION) + f.write("HOMEPAGE = \"%s\"\n" % HOMEPAGE) + f.write("SECTION = \"%s\"\n" % SECTION) + f.write("PRIORITY = \"%s\"\n" % PRIORITY) + f.write("LICENSE = \"%s\"\n" % LICENSE) + f.write("\n" ) + + f.write("PACKAGES = \"\"\n" ) + for p in providesList: + f.write("PACKAGES += \"%s\"\n" % p) + f.write("\n" ) + + f.write("PROVIDES = \"\"\n" ) + for p in providesList: + f.write("PROVIDES += \"%s\"\n" % p) + f.write("\n" ) + +# f.write("RPROVIDES = \"\"\n" ) +# for p in rprovidesList: +# f.write("RPROVIDES += \"%s\"\n" % p) +# f.write("\n" ) + + f.write("DEPENDS = \"\"\n" ) + for p in dependsList: + f.write("DEPENDS += \"%s\"\n" % p) + f.write("\n" ) + + f.write("RDEPENDS = \"\"\n" ) + for p in rdependsList: + f.write("RDEPENDS += \"%s\"\n" % p) + f.write("\n") + + f.write("SPECFILES = \"packaging/%s\"\n" % os.path.basename( package_spec_path) ) + f.write("\n" ) + + f.write("S = \"${WORKDIR}/git\"\n") + + f.write("require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc\n\n") + f.write("require "+exctraConfFile+"\n") + + + with open(os.path.join(packageRecipesDir,gitFile),"w" ) as f: + f.write("require %s\n" % baseFile) + f.write("\n" ) + f.write("SRC_URI = %s\n" % package_git_command) + + +def createPackages(): + res=listPackage() + for package_name,package_git_command,package_spec_path in res: + parsedSpecFile=convertSpecFile(package_spec_path) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + res=createRecipes(package_name,package_git_command,package_spec_path,spectDico,orderList) + +# return 0 + + + +if __name__ == '__main__': + command= sys.argv[1] + + if command=="compile": + specPath=sys.argv[2] + parsedSpecFile=convertSpecFile(specPath) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + print getBuildSection(spectDico) + res=0 + + elif command=="createRecipes": + res=createPackages() + + else: + print command," is not a valid command." + + sys.exit(res) + +# parsedSpecFile= convertSpecFile("connman","","specfile-initial/connman.spec") +# spectDico,orderList=parseParsedSpecFile(parsedSpecFile) +# print spectDico +# +# for k in orderList: +# print +# print "section: ",k +# print "getName( spectDico[__introduction_section] )",getName( spectDico[__introduction_section] ) +# print +# for line in spectDico[k]: +# print line +# + + + + + + + + + + + + + \ No newline at end of file diff --git a/meta-tizen/recipes-BaseSystem/create-package-initial/list_packages~ b/meta-tizen/recipes-BaseSystem/create-package-initial/list_packages~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/curl/curl-extraconf.inc b/meta-tizen/recipes-BaseSystem/curl/curl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/curl/curl.inc b/meta-tizen/recipes-BaseSystem/curl/curl.inc new file mode 100644 index 0000000..837cbec --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/curl/curl.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "A utility for getting files from remote servers (FTP, HTTP, and others)" +HOMEPAGE = "" +SECTION = "Applications/Internet" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by libcurl +PROVIDES += "libcurl" +RPROVIDES_libcurl += "libcurl" + +#PROVIDES by curl +PROVIDES += "curl" +RPROVIDES_curl += "curl" +PROVIDES += "webclient" +RPROVIDES_curl += "webclient" + +#PROVIDES by libcurl-devel +PROVIDES += "libcurl-devel" +RPROVIDES_libcurl-devel += "libcurl-devel" +# the PROVIDES rules is ignore "curl-devel = 7.21.3-1" +PROVIDES += "curl-devel" +RPROVIDES_libcurl-devel += "curl-devel" + + +DEPENDS = "" +#DEPENDS of curl +DEPENDS += "openssl" +DEPENDS += "libidn" +DEPENDS += "nss" +DEPENDS += "zlib" +DEPENDS += "libcares" + + +RDEPENDS = "" +#RDEPENDS of libcurl-devel +# the RDEPENDS rules is ignore "libcurl = 7.21.3-1" +RDEPENDS_libcurl-devel += "libcurl" +RDEPENDS_libcurl-devel += "libidn-devel" + + +PACKAGES = "" +PACKAGES += "libcurl" +PACKAGES += "curl-" +PACKAGES += "libcurl-devel" + +libcurlfiles = "/usr/lib64/libcurl.so.* " + +curl-files = "/usr/bin/curl " + +libcurl-develfiles = "/usr/bin/curl-config* /usr/include/curl /usr/lib64/*.so /usr/lib64/pkgconfig/*.pc /usr/share/aclocal/libcurl.m4 " + +FILES_libcurl = "${libcurlfiles}" +FILES_curl- = "${curl-files}" +FILES_libcurl-devel = "${libcurl-develfiles}" + +SPECFILES = "packaging/curl.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require curl-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/curl/curl_git.bb b/meta-tizen/recipes-BaseSystem/curl/curl_git.bb new file mode 100644 index 0000000..adb4378 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/curl/curl_git.bb @@ -0,0 +1,5 @@ +require curl.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/curl.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc new file mode 100644 index 0000000..67ca969 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc @@ -0,0 +1 @@ +BBCLASSEXTEND =+ "native" diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc~ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc new file mode 100644 index 0000000..2c9718f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Utilities for the Second Extended File System" +HOMEPAGE = "http://e2fsprogs.sourceforge.net" +SECTION = "System/Filesystems" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PROVIDES = "" +#PROVIDES by libext2fs +PROVIDES += "libext2fs" +RPROVIDES_libext2fs += "libext2fs" + +#PROVIDES by e2fsprogs-devel +PROVIDES += "e2fsprogs-devel" +RPROVIDES_e2fsprogs-devel += "e2fsprogs-devel" + +#PROVIDES by e2fsprogs +PROVIDES += "e2fsprogs" +RPROVIDES_e2fsprogs += "e2fsprogs" + +#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" + +#PROVIDES by libext2fs-devel +PROVIDES += "libext2fs-devel" +RPROVIDES_libext2fs-devel += "libext2fs-devel" + + +DEPENDS = "" +#DEPENDS of e2fsprogs +DEPENDS += "autoconf" +DEPENDS += "libblkid" +DEPENDS += "libuuid" +DEPENDS += "pkg-config" + + +RDEPENDS = "" +#RDEPENDS of e2fsprogs-devel +RDEPENDS_e2fsprogs-devel += "libblkid-devel" +# the RDEPENDS rules is ignore "libext2fs-devel = 1.42.6" +RDEPENDS_e2fsprogs-devel += "libext2fs-devel" +RDEPENDS_e2fsprogs-devel += "libuuid-devel" + +#RDEPENDS of e2fsprogs +# the RDEPENDS rules is ignore "libcom_err >= 1.42.6" +RDEPENDS_e2fsprogs += "libcom_err" +# the RDEPENDS rules is ignore "libext2fs >= 1.42.6" +RDEPENDS_e2fsprogs += "libext2fs" + +#RDEPENDS of libcom_err-devel +RDEPENDS_libcom_err-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libcom_err = 1.42.6" +RDEPENDS_libcom_err-devel += "libcom_err" + +#RDEPENDS of libext2fs-devel +RDEPENDS_libext2fs-devel += "libcom_err-devel" +# the RDEPENDS rules is ignore "libext2fs = 1.42.6" +RDEPENDS_libext2fs-devel += "libext2fs" + + +PACKAGES = "" +PACKAGES += "libext2fs" +PACKAGES += "e2fsprogs-devel" +PACKAGES += "libcom_err" +PACKAGES += "e2fsprogs-" +PACKAGES += "libcom_err-devel" +PACKAGES += "libext2fs-devel" + +libext2fsfiles = "/usr/lib64/libext2fs.so.* /usr/lib64/libe2p.so.* " + +e2fsprogs-develfiles = "" + +libcom_errfiles = "/usr/lib64/libcom_err.so.* /usr/lib64/libss.so.* " + +e2fsprogs-files = "/usr/sbin/badblocks /usr/sbin/debugfs /usr/sbin/dumpe2fs /usr/sbin/e2undo /usr/sbin/e2fsck /usr/sbin/e2label /usr/sbin/fsck.ext2 /usr/sbin/fsck.ext3 /usr/sbin/fsck.ext4 /usr/sbin/mke2fs /usr/sbin/mkfs.ext2 /usr/sbin/mkfs.ext3 /usr/sbin/mkfs.ext4 /usr/sbin/resize2fs /usr/sbin/tune2fs /usr/sbin/e2image /usr/sbin/logsave /usr/bin/chattr /usr/bin/lsattr /usr/sbin/mklost+found /usr/sbin/filefrag /usr/sbin/e2freefrag /usr/sbin/e4defrag " + +libcom_err-develfiles = "/usr/bin/compile_et /usr/bin/mk_cmds /usr/lib64/libcom_err.so /usr/lib64/libss.so /usr/lib64/pkgconfig/com_err.pc /usr/lib64/pkgconfig/ss.pc /usr/include/com_err.h /usr/include/et /usr/include/ss /usr/share/et /usr/share/ss " + +libext2fs-develfiles = "/usr/lib64/libext2fs.so /usr/lib64/libe2p.so /usr/include/ext2fs /usr/include/e2p /usr/lib64/pkgconfig/e2p.pc /usr/lib64/pkgconfig/ext2fs.pc " + +FILES_libext2fs = "${libext2fsfiles}" +FILES_e2fsprogs-devel = "${e2fsprogs-develfiles}" +FILES_libcom_err = "${libcom_errfiles}" +FILES_e2fsprogs- = "${e2fsprogs-files}" +FILES_libcom_err-devel = "${libcom_err-develfiles}" +FILES_libext2fs-devel = "${libext2fs-develfiles}" + +SPECFILES = "packaging/e2fsprogs.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require e2fsprogs-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs_git.bb b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs_git.bb new file mode 100644 index 0000000..0c93681 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs_git.bb @@ -0,0 +1,5 @@ +require e2fsprogs.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/e2fsprogs.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/filesystem/filesystem-extraconf.inc b/meta-tizen/recipes-BaseSystem/filesystem/filesystem-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc b/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc new file mode 100644 index 0000000..d0c0c0e --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "The basic directory layout for a Linux system" +HOMEPAGE = "https://fedorahosted.org/filesystem" +SECTION = "System Environment/Base" +PRIORITY = "" +LICENSE = "Public Domain" + +PROVIDES = "" +#PROVIDES by filesystem +PROVIDES += "filesystem" +RPROVIDES_filesystem += "filesystem" + + +DEPENDS = "" +#DEPENDS of filesystem +DEPENDS += "iso-codes" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "filesystem-" + +filesystem-files = "/bin /dev /etc/X11 /etc/xdg /etc/opt /etc/pm /etc/xinetd.d /etc/skel /etc/sysconfig /etc/pki /home /lib /lib64 /media /run /sbin /srv /sys /usr/etc /usr/games /usr/include /usr/libexec /usr/local /usr/share/aclocal /usr/share/applications /usr/share/augeas /usr/share/backgrounds /usr/share/desktop-directories /usr/share/dict /usr/share/doc /usr/share/games /usr/share/ghostscript /usr/share/gnome /usr/share/icons /usr/share/idl /usr/share/info /usr/share/mime-info /usr/share/misc /usr/share/omf /usr/share/pixmaps /usr/share/sounds /usr/share/themes /usr/share/xsessions /usr/share/X11 /usr/src /usr/tmp /var/adm /var/cache /var/db /var/empty /var/games /var/gopher /var/lib /var/local /var/log /var/mail /var/nis /var/opt /var/preserve /var/yp " + +FILES_filesystem- = "${filesystem-files}" + +SPECFILES = "packaging/filesystem.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require filesystem-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/filesystem/filesystem_git.bb b/meta-tizen/recipes-BaseSystem/filesystem/filesystem_git.bb new file mode 100644 index 0000000..d9e74ad --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/filesystem/filesystem_git.bb @@ -0,0 +1,5 @@ +require filesystem.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/filesystem.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/gdbm/gdbm-extraconf.inc b/meta-tizen/recipes-BaseSystem/gdbm/gdbm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc b/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc new file mode 100644 index 0000000..c9be7fb --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc @@ -0,0 +1,54 @@ +DESCRIPTION = "GNU dbm key/data database" +HOMEPAGE = "http://directory.fsf.org/GNU/gdbm.html" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +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" +PROVIDES += "gdbm:/usr/lib/libgdbm.so" +RPROVIDES_gdbm-devel += "gdbm:/usr/lib/libgdbm.so" + + +DEPENDS = "" +#DEPENDS of gdbm +DEPENDS += "libtool" + + +RDEPENDS = "" +#RDEPENDS of gdbm-devel +# the RDEPENDS rules is ignore "gdbm = 1.10" +RDEPENDS_gdbm-devel += "gdbm" + + +PACKAGES = "" +PACKAGES += "libgdbm" +PACKAGES += "gdbm-devel" + +libgdbmfiles = "/usr/lib64/libgdbm.so.4 /usr/lib64/libgdbm.so.4.0.0 /usr/lib64/libgdbm_compat.so.4 /usr/lib64/libgdbm_compat.so.4.0.0 " + +gdbm-develfiles = "/usr/bin/testgdbm /usr/include/dbm.h /usr/include/gdbm.h /usr/include/ndbm.h /usr/share/info/gdbm.info.gz /usr/lib64/libgdbm.a /usr/lib64/libgdbm.so /usr/lib64/libgdbm_compat.a /usr/lib64/libgdbm_compat.so /usr/lib64/libndbm.a /usr/lib64/libndbm.so /usr/share/man/man3/gdbm.3.gz " + +FILES_libgdbm = "${libgdbmfiles}" +FILES_gdbm-devel = "${gdbm-develfiles}" + +SPECFILES = "packaging/gdbm.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gdbm-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/gdbm/gdbm_git.bb b/meta-tizen/recipes-BaseSystem/gdbm/gdbm_git.bb new file mode 100644 index 0000000..50d8c0f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/gdbm/gdbm_git.bb @@ -0,0 +1,5 @@ +require gdbm.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gdbm.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc b/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc new file mode 100644 index 0000000..3b75edf --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc @@ -0,0 +1,22 @@ +inherit insane +inherit package +#inherit autotools +inherit libc-common + +DEPENDS += "linux-libc-headers" +DEPENDS += "virtual/${TARGET_PREFIX}gcc-initial" + +STAGINGCC = "gcc-cross-initial" +PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" + + +DEPENDS += "linux-libc-headers" + +RDEPENDS_${PN}-dev = "linux-libc-headers-dev" + +base_libdir = "/lib64" + + +# to test +PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" +PROVIDES += "virtual/libintl virtual/libiconv" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc~ b/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc~ new file mode 100644 index 0000000..a82f365 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glib-extraconf.inc~ @@ -0,0 +1,17 @@ +inherit insane +inherit package +#inherit autotools +inherit libc-common + +DEPENDS += "linux-libc-headers" +DEPENDS += "virtual/${TARGET_PREFIX}gcc-initial" + +STAGINGCC = "gcc-cross-initial" +PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" + + +DEPENDS += "linux-libc-headers" + +RDEPENDS_${PN}-dev = "linux-libc-headers-dev" + +base_libdir = "/lib64" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc b/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc new file mode 100644 index 0000000..3a8e9d5 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc @@ -0,0 +1,54 @@ +inherit insane +inherit package +#inherit autotools +inherit libc-common + +DEPENDS += "linux-libc-headers" +DEPENDS += "virtual/${TARGET_PREFIX}gcc-initial" + +STAGINGCC = "gcc-cross-initial" +PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" + + +DEPENDS += "linux-libc-headers" + +RDEPENDS_${PN}-dev = "linux-libc-headers-dev" + +base_libdir = "/lib64" + + +# to test +PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" +PROVIDES += "virtual/libintl virtual/libiconv" + +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" + +INHIBIT_DEFAULT_DEPS = "1" + +# default to disabled until qemu works for everyone +ENABLE_BINARY_LOCALE_GENERATION ?= "0" +ENABLE_BINARY_LOCALE_GENERATION_pn-glibc-nativesdk = "0" + +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk" + +BBCLASSEXTEND =+ "nativesdk" + +RPROVIDES += "libsegfault" +RPROVIDES += "glibc-dbg" +RPROVIDES += "glibc-dev" +RPROVIDES += 'glibc-thread-db' +RPROVIDES += 'glibc-localedata-i18n' +RPROVIDES += 'glibc-gconv-ibm850' +RPROVIDES += 'glibc-gconv-cp1252' +RPROVIDES += 'glibc-gconv-iso8859-1' +RPROVIDES += 'glibc-gconv-iso8859-15' + +DEPENDS = "" +#DEPENDS of glibc +DEPENDS += "fdupes-native" +DEPENDS += "makeinfo-native" +DEPENDS += "xz-native" +DEPENDS += "gcc-cross" +DEPENDS += "gettext-tools-native" +DEPENDS += "libstdc++" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc~ b/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc~ new file mode 100644 index 0000000..eac348f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc-extraconf.inc~ @@ -0,0 +1,45 @@ +inherit insane +inherit package +#inherit autotools +inherit libc-common + +DEPENDS += "linux-libc-headers" +DEPENDS += "virtual/${TARGET_PREFIX}gcc-initial" + +STAGINGCC = "gcc-cross-initial" +PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" + + +DEPENDS += "linux-libc-headers" + +RDEPENDS_${PN}-dev = "linux-libc-headers-dev" + +base_libdir = "/lib64" + + +# to test +PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" +PROVIDES += "virtual/libintl virtual/libiconv" + +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" + +INHIBIT_DEFAULT_DEPS = "1" + +# default to disabled until qemu works for everyone +ENABLE_BINARY_LOCALE_GENERATION ?= "0" +ENABLE_BINARY_LOCALE_GENERATION_pn-glibc-nativesdk = "0" + +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk" + +BBCLASSEXTEND =+ "nativesdk" + +RPROVIDES += "libsegfault" +RPROVIDES += "glibc-dbg" +RPROVIDES += "glibc-dev" +RPROVIDES += 'glibc-thread-db' +RPROVIDES += 'glibc-localedata-i18n' +RPROVIDES += 'glibc-gconv-ibm850' +RPROVIDES += 'glibc-gconv-cp1252' +RPROVIDES += 'glibc-gconv-iso8859-1' +RPROVIDES += 'glibc-gconv-iso8859-15' diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc-initial.inc b/meta-tizen/recipes-BaseSystem/glibc/glibc-initial.inc new file mode 100644 index 0000000..d3dcdc4 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc-initial.inc @@ -0,0 +1,52 @@ +SECTION = "libs" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" +PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" + +PACKAGES = "" +PACKAGES_DYNAMIC = "" + +do_configure () { + sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure + chmod +x ${S}/configure + find ${S} -name "configure" | xargs touch + ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ + --without-cvs --disable-sanity-checks \ + --with-headers=${STAGING_DIR_TARGET}${includedir} \ + --enable-hacker-mode + if grep -q GLIBC_2.3 ${S}/ChangeLog; then + # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler. + # Fortunately, we don't need errlist-compat.c, since we just need .h files, + # so work around this by creating a fake errlist-compat.c and satisfying its dependencies. + # Another workaround might be to tell configure to not use any cross options to $(CC). + # The real fix would be to get install-headers to not generate errlist-compat.c. + make sysdeps/gnu/errlist.c + mkdir -p stdio-common + touch stdio-common/errlist-compat.c + fi +} + +do_compile () { + : +} + +do_install () { + oe_runmake cross-compiling=yes install_root=${D} \ + includedir='${includedir}' prefix='${prefix}' \ + install-bootstrap-headers=yes install-headers + + oe_runmake csu/subdir_lib + # Two headers -- stubs.h and features.h -- aren't installed by install-headers, + # so do them by hand. We can tolerate an empty stubs.h for the moment. + # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html + mkdir -p ${D}${includedir}/gnu/ + touch ${D}${includedir}/gnu/stubs.h + cp ${S}/include/features.h ${D}${includedir}/features.h + + if [ -e ${B}/bits/stdio_lim.h ]; then + cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ + fi + mkdir -p ${D}${libdir}/ + install -m 644 csu/crt[1in].o ${D}${libdir} + ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ + -o ${D}${libdir}/libc.so +} diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc-initial_git.bb b/meta-tizen/recipes-BaseSystem/glibc/glibc-initial_git.bb new file mode 100644 index 0000000..d662970 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc-initial_git.bb @@ -0,0 +1,6 @@ +require glibc_${PV}.bb +require glibc-initial.inc + +do_configure_prepend () { + unset CFLAGS +} diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc.inc b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc new file mode 100644 index 0000000..2c281cd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc @@ -0,0 +1,156 @@ +DESCRIPTION = "Standard Shared Libraries (from the GNU C Library)" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+" + +PROVIDES = "" +#PROVIDES by glibc-devel +PROVIDES += "glibc-devel" +RPROVIDES_glibc-devel += "glibc-devel" + +#PROVIDES by glibc-locale +PROVIDES += "glibc-locale" +RPROVIDES_glibc-locale += "glibc-locale" + +#PROVIDES by glibc-utils +PROVIDES += "glibc-utils" +RPROVIDES_glibc-utils += "glibc-utils" + +#PROVIDES by glibc-devel-static +PROVIDES += "glibc-devel-static" +RPROVIDES_glibc-devel-static += "glibc-devel-static" +# the PROVIDES rules is ignore "glibc-static = 2.17" +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" +PROVIDES += "rtld(GNU_HASH)" +RPROVIDES_glibc += "rtld(GNU_HASH)" + +#PROVIDES by glibc-obsolete +PROVIDES += "glibc-obsolete" +RPROVIDES_glibc-obsolete += "glibc-obsolete" + +#PROVIDES by glibc-info +PROVIDES += "glibc-info" +RPROVIDES_glibc-info += "glibc-info" + +#PROVIDES by nscd +PROVIDES += "nscd" +RPROVIDES_nscd += "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 +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-devel += "glibc" +RDEPENDS_glibc-devel += "linux-kernel-headers" + +#RDEPENDS of glibc-locale +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-locale += "glibc" + +#RDEPENDS of glibc-utils +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-utils += "glibc" + +#RDEPENDS of glibc-devel-static +# the RDEPENDS rules is ignore "glibc-devel = 2.17" +RDEPENDS_glibc-devel-static += "glibc-devel" + +#RDEPENDS of glibc-extra +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-extra += "glibc" + +#RDEPENDS of glibc-profile +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-profile += "glibc" + +#RDEPENDS of glibc-obsolete +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-obsolete += "glibc" + +#RDEPENDS of nscd +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_nscd += "glibc" + + +PACKAGES = "" +PACKAGES += "glibc-devel" +PACKAGES += "glibc-locale" +PACKAGES += "glibc-utils" +PACKAGES += "glibc-" +PACKAGES += "glibc-devel-static" +PACKAGES += "glibc-extra" +PACKAGES += "glibc-profile" +PACKAGES += "glibc-info" +PACKAGES += "nscd" +PACKAGES += "glibc-i18ndata" +PACKAGES += "glibc-html" + +glibc-develfiles = "/usr/bin/catchsegv /usr/bin/rpcgen /usr/bin/sprof /usr/include/* /usr/lib64/*.o /usr/lib64/*.so /usr/lib64/libbsd-compat.a /usr/lib64/libc_nonshared.a /usr/lib64/libg.a /usr/lib64/libieee.a /usr/lib64/libmcheck.a /usr/lib64/libpthread_nonshared.a /usr/lib64/librpcsvc.a " + +glibc-localefiles = "/usr/share/locale/locale.alias /usr/lib/locale/* /usr/lib64/gconv " + +glibc-utilsfiles = "/lib64/libmemusage.so /lib64/libpcprofile.so //usr/lib64/audit/sotruss-lib.so /usr/bin/mtrace /usr/bin/pcprofiledump /usr/bin/sotruss /usr/bin/xtrace /usr/bin/pldd " + +glibc-files = " /lib64/ld-2.17.so /lib64/ld-linux-x86-64.so.2 /lib64/libBrokenLocale-2.17.so /lib64/libBrokenLocale.so.1 /lib64/libSegFault.so /lib64/libanl-2.17.so /lib64/libanl.so.1 /lib64/libc-2.17.so /lib64/libc.so.6* /lib64/libcidn-2.17.so /lib64/libcidn.so.1 /lib64/libcrypt-2.17.so /lib64/libcrypt.so.1 /lib64/libdl-2.17.so /lib64/libdl.so.2* /lib64/libm-2.17.so /lib64/libm.so.6* /lib64/libnsl-2.17.so /lib64/libnsl.so.1 /lib64/libnss_compat-2.17.so /lib64/libnss_compat.so.2 /lib64/libnss_db-2.17.so /lib64/libnss_db.so.2 /lib64/libnss_dns-2.17.so /lib64/libnss_dns.so.2 /lib64/libnss_files-2.17.so /lib64/libnss_files.so.2 /lib64/libnss_hesiod-2.17.so /lib64/libnss_hesiod.so.2 /lib64/libnss_nis-2.17.so /lib64/libnss_nis.so.2 /lib64/libnss_nisplus-2.17.so /lib64/libnss_nisplus.so.2 /lib64/libpthread-2.17.so /lib64/libpthread.so.0 /lib64/libresolv-2.17.so /lib64/libresolv.so.2 /lib64/librt-2.17.so /lib64/librt.so.1 /lib64/libthread_db-1.0.so /lib64/libthread_db.so.1 /lib64/libutil-2.17.so /lib64/libutil.so.1 /sbin/ldconfig /usr/bin/gencat /usr/bin/getconf /usr/bin/getent /usr/bin/iconv /usr/bin/locale /usr/bin/localedef /usr/lib/getconf/* /usr/sbin/glibc_post_upgrade /usr/sbin/iconvconfig " + +glibc-devel-staticfiles = "/usr/lib64/libBrokenLocale.a /usr/lib64/libanl.a /usr/lib64/libc.a /usr/lib64/libcrypt.a /usr/lib64/libdl.a /usr/lib64/libm.a /usr/lib64/libnsl.a /usr/lib64/libpthread.a /usr/lib64/libresolv.a /usr/lib64/librt.a /usr/lib64/libutil.a " + +glibc-extrafiles = "/usr/bin/makedb /var/lib/misc/Makefile " + +glibc-profilefiles = "/usr/lib64/libc_p.a /usr/lib64/libBrokenLocale_p.a /usr/lib64/libanl_p.a /usr/lib64/libm_p.a /usr/lib64/libcrypt_p.a /usr/lib64/libpthread_p.a /usr/lib64/libresolv_p.a /usr/lib64/libnsl_p.a /usr/lib64/librt_p.a /usr/lib64/librpcsvc_p.a /usr/lib64/libutil_p.a /usr/lib64/libdl_p.a " + +glibc-infofiles = "" + +nscdfiles = "/usr/sbin/nscd /usr/sbin/rcnscd /usr/lib/systemd/system/nscd.service /usr/lib/tmpfiles.d/nscd.conf " + +glibc-i18ndatafiles = "/usr/share/i18n " + +glibc-htmlfiles = "" + +FILES_glibc-devel = "${glibc-develfiles}" +FILES_glibc-locale = "${glibc-localefiles}" +FILES_glibc-utils = "${glibc-utilsfiles}" +FILES_glibc- = "${glibc-files}" +FILES_glibc-devel-static = "${glibc-devel-staticfiles}" +FILES_glibc-extra = "${glibc-extrafiles}" +FILES_glibc-profile = "${glibc-profilefiles}" +FILES_glibc-info = "${glibc-infofiles}" +FILES_nscd = "${nscdfiles}" +FILES_glibc-i18ndata = "${glibc-i18ndatafiles}" +FILES_glibc-html = "${glibc-htmlfiles}" + +SPECFILES = "packaging/glibc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require glibc-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc.inc~ b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc~ new file mode 100644 index 0000000..958a2a9 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc~ @@ -0,0 +1,163 @@ +DESCRIPTION = "Standard Shared Libraries (from the GNU C Library)" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+" + +PROVIDES = "" +#PROVIDES by glibc-devel +PROVIDES += "glibc-devel" +RPROVIDES_glibc-devel += "glibc-devel" + +#PROVIDES by glibc-locale +PROVIDES += "glibc-locale" +RPROVIDES_glibc-locale += "glibc-locale" + +#PROVIDES by glibc-utils +PROVIDES += "glibc-utils" +RPROVIDES_glibc-utils += "glibc-utils" + +#PROVIDES by glibc-devel-static +PROVIDES += "glibc-devel-static" +RPROVIDES_glibc-devel-static += "glibc-devel-static" +# the PROVIDES rules is ignore "glibc-static = 2.17" +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" +PROVIDES += "rtld(GNU_HASH)" +RPROVIDES_glibc += "rtld(GNU_HASH)" + +#PROVIDES by glibc-obsolete +PROVIDES += "glibc-obsolete" +RPROVIDES_glibc-obsolete += "glibc-obsolete" + +#PROVIDES by glibc-info +PROVIDES += "glibc-info" +RPROVIDES_glibc-info += "glibc-info" + +#PROVIDES by nscd +PROVIDES += "nscd" +RPROVIDES_nscd += "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" + + +DEPENDS = "" +#DEPENDS of glibc +DEPENDS += "fdupes-native" +DEPENDS += "makeinfo-native" +DEPENDS += "xz-native" +DEPENDS += "gcc-cross" +DEPENDS += "gettext-tools-native" +DEPENDS += "libstdc++" + + + +RDEPENDS = "" +#RDEPENDS of glibc-devel +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-devel += "glibc" +RDEPENDS_glibc-devel += "linux-kernel-headers" + +#RDEPENDS of glibc-locale +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-locale += "glibc" + +#RDEPENDS of glibc-utils +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-utils += "glibc" + +#RDEPENDS of glibc-devel-static +# the RDEPENDS rules is ignore "glibc-devel = 2.17" +RDEPENDS_glibc-devel-static += "glibc-devel" + +#RDEPENDS of glibc-extra +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-extra += "glibc" + +#RDEPENDS of glibc-profile +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-profile += "glibc" + +#RDEPENDS of glibc-obsolete +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_glibc-obsolete += "glibc" + +#RDEPENDS of nscd +# the RDEPENDS rules is ignore "glibc = 2.17" +RDEPENDS_nscd += "glibc" + + +PACKAGES = "" +PACKAGES += "glibc-devel" +PACKAGES += "glibc-locale" +PACKAGES += "glibc-utils" +PACKAGES += "glibc-" +PACKAGES += "glibc-devel-static" +PACKAGES += "glibc-extra" +PACKAGES += "glibc-profile" +PACKAGES += "glibc-info" +PACKAGES += "nscd" +PACKAGES += "glibc-i18ndata" +PACKAGES += "glibc-html" + +glibc-develfiles = "/usr/bin/catchsegv /usr/bin/rpcgen /usr/bin/sprof /usr/include/* /usr/lib64/*.o /usr/lib64/*.so /usr/lib64/libbsd-compat.a /usr/lib64/libc_nonshared.a /usr/lib64/libg.a /usr/lib64/libieee.a /usr/lib64/libmcheck.a /usr/lib64/libpthread_nonshared.a /usr/lib64/librpcsvc.a " + +glibc-localefiles = "/usr/share/locale/locale.alias /usr/lib/locale/* /usr/lib64/gconv " + +glibc-utilsfiles = "/lib64/libmemusage.so /lib64/libpcprofile.so //usr/lib64/audit/sotruss-lib.so /usr/bin/mtrace /usr/bin/pcprofiledump /usr/bin/sotruss /usr/bin/xtrace /usr/bin/pldd " + +glibc-files = " /lib64/ld-2.17.so /lib64/ld-linux-x86-64.so.2 /lib64/libBrokenLocale-2.17.so /lib64/libBrokenLocale.so.1 /lib64/libSegFault.so /lib64/libanl-2.17.so /lib64/libanl.so.1 /lib64/libc-2.17.so /lib64/libc.so.6* /lib64/libcidn-2.17.so /lib64/libcidn.so.1 /lib64/libcrypt-2.17.so /lib64/libcrypt.so.1 /lib64/libdl-2.17.so /lib64/libdl.so.2* /lib64/libm-2.17.so /lib64/libm.so.6* /lib64/libnsl-2.17.so /lib64/libnsl.so.1 /lib64/libnss_compat-2.17.so /lib64/libnss_compat.so.2 /lib64/libnss_db-2.17.so /lib64/libnss_db.so.2 /lib64/libnss_dns-2.17.so /lib64/libnss_dns.so.2 /lib64/libnss_files-2.17.so /lib64/libnss_files.so.2 /lib64/libnss_hesiod-2.17.so /lib64/libnss_hesiod.so.2 /lib64/libnss_nis-2.17.so /lib64/libnss_nis.so.2 /lib64/libnss_nisplus-2.17.so /lib64/libnss_nisplus.so.2 /lib64/libpthread-2.17.so /lib64/libpthread.so.0 /lib64/libresolv-2.17.so /lib64/libresolv.so.2 /lib64/librt-2.17.so /lib64/librt.so.1 /lib64/libthread_db-1.0.so /lib64/libthread_db.so.1 /lib64/libutil-2.17.so /lib64/libutil.so.1 /sbin/ldconfig /usr/bin/gencat /usr/bin/getconf /usr/bin/getent /usr/bin/iconv /usr/bin/locale /usr/bin/localedef /usr/lib/getconf/* /usr/sbin/glibc_post_upgrade /usr/sbin/iconvconfig " + +glibc-devel-staticfiles = "/usr/lib64/libBrokenLocale.a /usr/lib64/libanl.a /usr/lib64/libc.a /usr/lib64/libcrypt.a /usr/lib64/libdl.a /usr/lib64/libm.a /usr/lib64/libnsl.a /usr/lib64/libpthread.a /usr/lib64/libresolv.a /usr/lib64/librt.a /usr/lib64/libutil.a " + +glibc-extrafiles = "/usr/bin/makedb /var/lib/misc/Makefile " + +glibc-profilefiles = "/usr/lib64/libc_p.a /usr/lib64/libBrokenLocale_p.a /usr/lib64/libanl_p.a /usr/lib64/libm_p.a /usr/lib64/libcrypt_p.a /usr/lib64/libpthread_p.a /usr/lib64/libresolv_p.a /usr/lib64/libnsl_p.a /usr/lib64/librt_p.a /usr/lib64/librpcsvc_p.a /usr/lib64/libutil_p.a /usr/lib64/libdl_p.a " + +glibc-infofiles = "" + +nscdfiles = "/usr/sbin/nscd /usr/sbin/rcnscd /usr/lib/systemd/system/nscd.service /usr/lib/tmpfiles.d/nscd.conf " + +glibc-i18ndatafiles = "/usr/share/i18n " + +glibc-htmlfiles = "" + +FILES_glibc-devel = "${glibc-develfiles}" +FILES_glibc-locale = "${glibc-localefiles}" +FILES_glibc-utils = "${glibc-utilsfiles}" +FILES_glibc- = "${glibc-files}" +FILES_glibc-devel-static = "${glibc-devel-staticfiles}" +FILES_glibc-extra = "${glibc-extrafiles}" +FILES_glibc-profile = "${glibc-profilefiles}" +FILES_glibc-info = "${glibc-infofiles}" +FILES_nscd = "${nscdfiles}" +FILES_glibc-i18ndata = "${glibc-i18ndatafiles}" +FILES_glibc-html = "${glibc-htmlfiles}" + +SPECFILES = "packaging/glibc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require glibc-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb b/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb new file mode 100644 index 0000000..96e27ef --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb @@ -0,0 +1,5 @@ +require glibc.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/glibc.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb~ b/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb~ new file mode 100644 index 0000000..fb69087 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc_git.bb~ @@ -0,0 +1,3 @@ +require glibc.inc + +SRC_URI = "git://tz.otcshare.org/profile/base/glibc.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/32and64bit.patch b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/32and64bit.patch new file mode 100644 index 0000000..cdfeaea --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/32and64bit.patch @@ -0,0 +1,331 @@ +Upstream-Status: Inappropriate [embedded specific] + +We run the ldconfig in the cross fashion. make the code bitsize aware so that +we can cross build ldconfig cache for various architectures. + +Richard Purdie 2009/05/19 +Nitin A Kamble 2009/03/29 + +Index: ldconfig-native-2.12.1/readelflib.c +=================================================================== +--- ldconfig-native-2.12.1.orig/readelflib.c ++++ ldconfig-native-2.12.1/readelflib.c +@@ -40,39 +40,212 @@ do \ + + /* Returns 0 if everything is ok, != 0 in case of error. */ + int +-process_elf_file (const char *file_name, const char *lib, int *flag, ++process_elf_file32 (const char *file_name, const char *lib, int *flag, + unsigned int *osversion, char **soname, void *file_contents, + size_t file_length) + { + int i; + unsigned int j; +- ElfW(Addr) loadaddr; ++ Elf32_Addr loadaddr; + unsigned int dynamic_addr; + size_t dynamic_size; + char *program_interpreter; + +- ElfW(Ehdr) *elf_header; +- ElfW(Phdr) *elf_pheader, *segment; +- ElfW(Dyn) *dynamic_segment, *dyn_entry; ++ Elf32_Ehdr *elf_header; ++ Elf32_Phdr *elf_pheader, *segment; ++ Elf32_Dyn *dynamic_segment, *dyn_entry; + char *dynamic_strings; + +- elf_header = (ElfW(Ehdr) *) file_contents; ++ elf_header = (Elf32_Ehdr *) file_contents; + *osversion = 0; + +- if (elf_header->e_ident [EI_CLASS] != ElfW (CLASS)) ++ if (elf_header->e_type != ET_DYN) + { +- if (opt_verbose) ++ error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, ++ elf_header->e_type); ++ return 1; ++ } ++ ++ /* Get information from elf program header. */ ++ elf_pheader = (Elf32_Phdr *) (elf_header->e_phoff + file_contents); ++ check_ptr (elf_pheader); ++ ++ /* The library is an elf library, now search for soname and ++ libc5/libc6. */ ++ *flag = FLAG_ELF; ++ ++ loadaddr = -1; ++ dynamic_addr = 0; ++ dynamic_size = 0; ++ program_interpreter = NULL; ++ for (i = 0, segment = elf_pheader; ++ i < elf_header->e_phnum; i++, segment++) ++ { ++ check_ptr (segment); ++ ++ switch (segment->p_type) + { +- if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) +- error (0, 0, _("%s is a 32 bit ELF file.\n"), file_name); +- else if (elf_header->e_ident [EI_CLASS] == ELFCLASS64) +- error (0, 0, _("%s is a 64 bit ELF file.\n"), file_name); +- else +- error (0, 0, _("Unknown ELFCLASS in file %s.\n"), file_name); ++ case PT_LOAD: ++ if (loadaddr == (Elf32_Addr) -1) ++ loadaddr = segment->p_vaddr - segment->p_offset; ++ break; ++ ++ case PT_DYNAMIC: ++ if (dynamic_addr) ++ error (0, 0, _("more than one dynamic segment\n")); ++ ++ dynamic_addr = segment->p_offset; ++ dynamic_size = segment->p_filesz; ++ break; ++ ++ case PT_INTERP: ++ program_interpreter = (char *) (file_contents + segment->p_offset); ++ check_ptr (program_interpreter); ++ ++ /* Check if this is enough to classify the binary. */ ++ for (j = 0; j < sizeof (interpreters) / sizeof (interpreters [0]); ++ ++j) ++ if (strcmp (program_interpreter, interpreters[j].soname) == 0) ++ { ++ *flag = interpreters[j].flag; ++ break; ++ } ++ break; ++ ++ case PT_NOTE: ++ if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4) ++ { ++ Elf32_Word *abi_note = (Elf32_Word *) (file_contents ++ + segment->p_offset); ++ Elf32_Addr size = segment->p_filesz; ++ ++ while (abi_note [0] != 4 || abi_note [1] != 16 ++ || abi_note [2] != 1 ++ || memcmp (abi_note + 3, "GNU", 4) != 0) ++ { ++#define ROUND(len) (((len) + sizeof (Elf32_Word)) - 1) & -sizeof (Elf32_Word))) ++ Elf32_Addr) note_size = 3 * sizeof (Elf32_Word)) ++ + ROUND (abi_note[0]) ++ + ROUND (abi_note[1]); ++ ++ if (size - 32 < note_size || note_size == 0) ++ { ++ size = 0; ++ break; ++ } ++ size -= note_size; ++ abi_note = (void *) abi_note + note_size; ++ } ++ ++ if (size == 0) ++ break; ++ ++ *osversion = (abi_note [4] << 24) | ++ ((abi_note [5] & 0xff) << 16) | ++ ((abi_note [6] & 0xff) << 8) | ++ (abi_note [7] & 0xff); ++ } ++ break; ++ ++ default: ++ break; ++ } ++ ++ } ++ if (loadaddr == (Elf32_Addr) -1) ++ { ++ /* Very strange. */ ++ loadaddr = 0; ++ } ++ ++ /* Now we can read the dynamic sections. */ ++ if (dynamic_size == 0) ++ return 1; ++ ++ dynamic_segment = (Elf32_Dyn *) (file_contents + dynamic_addr); ++ check_ptr (dynamic_segment); ++ ++ /* Find the string table. */ ++ dynamic_strings = NULL; ++ for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ ++dyn_entry) ++ { ++ check_ptr (dyn_entry); ++ if (dyn_entry->d_tag == DT_STRTAB) ++ { ++ dynamic_strings = (char *) (file_contents + dyn_entry->d_un.d_val - loadaddr); ++ check_ptr (dynamic_strings); ++ break; + } +- return 1; + } + ++ if (dynamic_strings == NULL) ++ return 1; ++ ++ /* Now read the DT_NEEDED and DT_SONAME entries. */ ++ for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ ++dyn_entry) ++ { ++ if (dyn_entry->d_tag == DT_NEEDED || dyn_entry->d_tag == DT_SONAME) ++ { ++ char *name = dynamic_strings + dyn_entry->d_un.d_val; ++ check_ptr (name); ++ ++ if (dyn_entry->d_tag == DT_NEEDED) ++ { ++ ++ if (*flag == FLAG_ELF) ++ { ++ /* Check if this is enough to classify the binary. */ ++ for (j = 0; ++ j < sizeof (known_libs) / sizeof (known_libs [0]); ++ ++j) ++ if (strcmp (name, known_libs [j].soname) == 0) ++ { ++ *flag = known_libs [j].flag; ++ break; ++ } ++ } ++ } ++ ++ else if (dyn_entry->d_tag == DT_SONAME) ++ *soname = xstrdup (name); ++ ++ /* Do we have everything we need? */ ++ if (*soname && *flag != FLAG_ELF) ++ return 0; ++ } ++ } ++ ++ /* We reach this point only if the file doesn't contain a DT_SONAME ++ or if we can't classify the library. If it doesn't have a ++ soname, return the name of the library. */ ++ if (*soname == NULL) ++ *soname = xstrdup (lib); ++ ++ return 0; ++} ++ ++int ++process_elf_file64 (const char *file_name, const char *lib, int *flag, ++ unsigned int *osversion, char **soname, void *file_contents, ++ size_t file_length) ++{ ++ int i; ++ unsigned int j; ++ Elf64_Addr loadaddr; ++ unsigned int dynamic_addr; ++ size_t dynamic_size; ++ char *program_interpreter; ++ ++ Elf64_Ehdr *elf_header; ++ Elf64_Phdr *elf_pheader, *segment; ++ Elf64_Dyn *dynamic_segment, *dyn_entry; ++ char *dynamic_strings; ++ ++ elf_header = (Elf64_Ehdr *) file_contents; ++ *osversion = 0; ++ + if (elf_header->e_type != ET_DYN) + { + error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, +@@ -81,7 +254,7 @@ process_elf_file (const char *file_name, + } + + /* Get information from elf program header. */ +- elf_pheader = (ElfW(Phdr) *) (elf_header->e_phoff + file_contents); ++ elf_pheader = (Elf64_Phdr *) (elf_header->e_phoff + file_contents); + check_ptr (elf_pheader); + + /* The library is an elf library, now search for soname and +@@ -100,7 +273,7 @@ process_elf_file (const char *file_name, + switch (segment->p_type) + { + case PT_LOAD: +- if (loadaddr == (ElfW(Addr)) -1) ++ if (loadaddr == (Elf64_Addr) -1) + loadaddr = segment->p_vaddr - segment->p_offset; + break; + +@@ -129,16 +302,16 @@ process_elf_file (const char *file_name, + case PT_NOTE: + if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4) + { +- ElfW(Word) *abi_note = (ElfW(Word) *) (file_contents ++ Elf64_Word *abi_note = (Elf64_Word *) (file_contents + + segment->p_offset); +- ElfW(Addr) size = segment->p_filesz; ++ Elf64_Addr size = segment->p_filesz; + + while (abi_note [0] != 4 || abi_note [1] != 16 + || abi_note [2] != 1 + || memcmp (abi_note + 3, "GNU", 4) != 0) + { +-#define ROUND(len) (((len) + sizeof (ElfW(Word)) - 1) & -sizeof (ElfW(Word))) +- ElfW(Addr) note_size = 3 * sizeof (ElfW(Word)) ++#define ROUND(len) (((len) + sizeof (Elf64_Word) - 1) & -sizeof (Elf64_Word)) ++ Elf64_Addr note_size = 3 * sizeof (Elf64_Word) + + ROUND (abi_note[0]) + + ROUND (abi_note[1]); + +@@ -166,7 +339,7 @@ process_elf_file (const char *file_name, + } + + } +- if (loadaddr == (ElfW(Addr)) -1) ++ if (loadaddr == (Elf64_Addr) -1) + { + /* Very strange. */ + loadaddr = 0; +@@ -176,7 +349,7 @@ process_elf_file (const char *file_name, + if (dynamic_size == 0) + return 1; + +- dynamic_segment = (ElfW(Dyn) *) (file_contents + dynamic_addr); ++ dynamic_segment = (Elf64_Dyn *) (file_contents + dynamic_addr); + check_ptr (dynamic_segment); + + /* Find the string table. */ +@@ -233,3 +406,33 @@ process_elf_file (const char *file_name, + + return 0; + } ++/* Returns 0 if everything is ok, != 0 in case of error. */ ++int ++process_elf_file (const char *file_name, const char *lib, int *flag, ++ unsigned int *osversion, char **soname, void *file_contents, ++ size_t file_length) ++{ ++ int i; ++ unsigned int j; ++ ElfW(Addr) loadaddr; ++ unsigned int dynamic_addr; ++ size_t dynamic_size; ++ char *program_interpreter; ++ ++ ElfW(Ehdr) *elf_header; ++ ElfW(Phdr) *elf_pheader, *segment; ++ ElfW(Dyn) *dynamic_segment, *dyn_entry; ++ char *dynamic_strings; ++ ++ elf_header = (ElfW(Ehdr) *) file_contents; ++ *osversion = 0; ++ ++ if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) ++ return process_elf_file32(file_name, lib,flag, osversion, soname, file_contents, file_length); ++ else if (elf_header->e_ident [EI_CLASS] == ELFCLASS64) ++ return process_elf_file64(file_name, lib,flag, osversion, soname, file_contents, file_length); ++ error (0, 0, _("Unknown ELFCLASS in file %s.\n"), file_name); ++ return 1; ++} ++ ++ diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/README b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/README new file mode 100644 index 0000000..43fb983 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/README @@ -0,0 +1,8 @@ +The files are pulled verbatim from glibc 2.5 and then patched to allow +standalone compilation of ldconfig. + +Richard Purdie +OpenedHand Ltd. + +Upgraded the ldconfig recipe to eglibc 2.12.1 +Nitin A Kamble 2011/03/29 diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endian-ness_handling.patch b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endian-ness_handling.patch new file mode 100644 index 0000000..7f8e4db --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endian-ness_handling.patch @@ -0,0 +1,454 @@ +Upstream-Status: Inappropriate [embedded specific] + +Do data input/output handling according to endien-ness of the library file. That +enables use of ldconfig in the cross fashion for any architecture. + +2011/04/04 +Richard Purdie +Nitin Kamble + +Index: ldconfig-native-2.12.1/readelflib.c +=================================================================== +--- ldconfig-native-2.12.1.orig/readelflib.c ++++ ldconfig-native-2.12.1/readelflib.c +@@ -38,6 +38,28 @@ do \ + } \ + while (0); + ++int be; ++static uint16_t read16(uint16_t x, int be) ++{ ++ if (be) ++ return be16toh(x); ++ return le16toh(x); ++} ++ ++static uint32_t read32(uint32_t x, int be) ++{ ++ if (be) ++ return be32toh(x); ++ return le32toh(x); ++} ++ ++static uint64_t read64(uint64_t x, int be) ++{ ++ if (be) ++ return be64toh(x); ++ return le64toh(x); ++} ++ + /* Returns 0 if everything is ok, != 0 in case of error. */ + int + process_elf_file32 (const char *file_name, const char *lib, int *flag, +@@ -59,15 +81,17 @@ process_elf_file32 (const char *file_nam + elf_header = (Elf32_Ehdr *) file_contents; + *osversion = 0; + +- if (elf_header->e_type != ET_DYN) ++ be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB); ++ ++ if (read16(elf_header->e_type, be) != ET_DYN) + { + error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, +- elf_header->e_type); ++ read16(elf_header->e_type, be)); + return 1; + } + + /* Get information from elf program header. */ +- elf_pheader = (Elf32_Phdr *) (elf_header->e_phoff + file_contents); ++ elf_pheader = (Elf32_Phdr *) (read32(elf_header->e_phoff, be) + file_contents); + check_ptr (elf_pheader); + + /* The library is an elf library, now search for soname and +@@ -79,27 +103,27 @@ process_elf_file32 (const char *file_nam + dynamic_size = 0; + program_interpreter = NULL; + for (i = 0, segment = elf_pheader; +- i < elf_header->e_phnum; i++, segment++) ++ i < read16(elf_header->e_phnum, be); i++, segment++) + { + check_ptr (segment); + +- switch (segment->p_type) ++ switch (read32(segment->p_type, be)) + { + case PT_LOAD: + if (loadaddr == (Elf32_Addr) -1) +- loadaddr = segment->p_vaddr - segment->p_offset; ++ loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be); + break; + + case PT_DYNAMIC: + if (dynamic_addr) + error (0, 0, _("more than one dynamic segment\n")); + +- dynamic_addr = segment->p_offset; +- dynamic_size = segment->p_filesz; ++ dynamic_addr = read32(segment->p_offset, be); ++ dynamic_size = read32(segment->p_filesz, be); + break; + + case PT_INTERP: +- program_interpreter = (char *) (file_contents + segment->p_offset); ++ program_interpreter = (char *) (file_contents + read32(segment->p_offset, be)); + check_ptr (program_interpreter); + + /* Check if this is enough to classify the binary. */ +@@ -113,20 +137,20 @@ process_elf_file32 (const char *file_nam + break; + + case PT_NOTE: +- if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4) ++ if (!*osversion && read32(segment->p_filesz, be) >= 32 && segment->p_align >= 4) + { + Elf32_Word *abi_note = (Elf32_Word *) (file_contents +- + segment->p_offset); +- Elf32_Addr size = segment->p_filesz; ++ + read32(segment->p_offset, be)); ++ Elf32_Addr size = read32(segment->p_filesz, be); + +- while (abi_note [0] != 4 || abi_note [1] != 16 +- || abi_note [2] != 1 ++ while (read32(abi_note [0], be) != 4 || read32(abi_note [1], be) != 16 ++ || read32(abi_note [2], be) != 1 + || memcmp (abi_note + 3, "GNU", 4) != 0) + { +-#define ROUND(len) (((len) + sizeof (Elf32_Word)) - 1) & -sizeof (Elf32_Word))) +- Elf32_Addr) note_size = 3 * sizeof (Elf32_Word)) +- + ROUND (abi_note[0]) +- + ROUND (abi_note[1]); ++#define ROUND(len) (((len) + sizeof (Elf32_Word) - 1) & -sizeof (Elf32_Word)) ++ Elf32_Addr note_size = 3 * sizeof (Elf32_Word) ++ + ROUND (read32(abi_note[0], be)) ++ + ROUND (read32(abi_note[1], be)); + + if (size - 32 < note_size || note_size == 0) + { +@@ -140,10 +164,10 @@ process_elf_file32 (const char *file_nam + if (size == 0) + break; + +- *osversion = (abi_note [4] << 24) | +- ((abi_note [5] & 0xff) << 16) | +- ((abi_note [6] & 0xff) << 8) | +- (abi_note [7] & 0xff); ++ *osversion = (read32(abi_note [4], be) << 24) | ++ ((read32(abi_note [5], be) & 0xff) << 16) | ++ ((read32(abi_note [6], be) & 0xff) << 8) | ++ (read32(abi_note [7], be) & 0xff); + } + break; + +@@ -167,13 +191,13 @@ process_elf_file32 (const char *file_nam + + /* Find the string table. */ + dynamic_strings = NULL; +- for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ for (dyn_entry = dynamic_segment; read32(dyn_entry->d_tag, be) != DT_NULL; + ++dyn_entry) + { + check_ptr (dyn_entry); +- if (dyn_entry->d_tag == DT_STRTAB) ++ if (read32(dyn_entry->d_tag, be) == DT_STRTAB) + { +- dynamic_strings = (char *) (file_contents + dyn_entry->d_un.d_val - loadaddr); ++ dynamic_strings = (char *) (file_contents + read32(dyn_entry->d_un.d_val, be) - loadaddr); + check_ptr (dynamic_strings); + break; + } +@@ -183,15 +207,15 @@ process_elf_file32 (const char *file_nam + return 1; + + /* Now read the DT_NEEDED and DT_SONAME entries. */ +- for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ for (dyn_entry = dynamic_segment; read32(dyn_entry->d_tag, be) != DT_NULL; + ++dyn_entry) + { +- if (dyn_entry->d_tag == DT_NEEDED || dyn_entry->d_tag == DT_SONAME) ++ if (read32(dyn_entry->d_tag, be) == DT_NEEDED || read32(dyn_entry->d_tag, be) == DT_SONAME) + { +- char *name = dynamic_strings + dyn_entry->d_un.d_val; ++ char *name = dynamic_strings + read32(dyn_entry->d_un.d_val, be); + check_ptr (name); + +- if (dyn_entry->d_tag == DT_NEEDED) ++ if (read32(dyn_entry->d_tag, be) == DT_NEEDED) + { + + if (*flag == FLAG_ELF) +@@ -208,7 +232,7 @@ process_elf_file32 (const char *file_nam + } + } + +- else if (dyn_entry->d_tag == DT_SONAME) ++ else if (read32(dyn_entry->d_tag, be) == DT_SONAME) + *soname = xstrdup (name); + + /* Do we have everything we need? */ +@@ -246,15 +270,17 @@ process_elf_file64 (const char *file_nam + elf_header = (Elf64_Ehdr *) file_contents; + *osversion = 0; + +- if (elf_header->e_type != ET_DYN) ++ be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB); ++ ++ if (read16(elf_header->e_type, be) != ET_DYN) + { + error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, +- elf_header->e_type); ++ read16(elf_header->e_type, be)); + return 1; + } + + /* Get information from elf program header. */ +- elf_pheader = (Elf64_Phdr *) (elf_header->e_phoff + file_contents); ++ elf_pheader = (Elf64_Phdr *) (read64(elf_header->e_phoff, be) + file_contents); + check_ptr (elf_pheader); + + /* The library is an elf library, now search for soname and +@@ -266,27 +292,27 @@ process_elf_file64 (const char *file_nam + dynamic_size = 0; + program_interpreter = NULL; + for (i = 0, segment = elf_pheader; +- i < elf_header->e_phnum; i++, segment++) ++ i < read16(elf_header->e_phnum, be); i++, segment++) + { + check_ptr (segment); + +- switch (segment->p_type) ++ switch (read32(segment->p_type, be)) + { + case PT_LOAD: + if (loadaddr == (Elf64_Addr) -1) +- loadaddr = segment->p_vaddr - segment->p_offset; ++ loadaddr = read64(segment->p_vaddr, be) - read64(segment->p_offset, be); + break; + + case PT_DYNAMIC: + if (dynamic_addr) + error (0, 0, _("more than one dynamic segment\n")); + +- dynamic_addr = segment->p_offset; +- dynamic_size = segment->p_filesz; ++ dynamic_addr = read64(segment->p_offset, be); ++ dynamic_size = read32(segment->p_filesz, be); + break; + + case PT_INTERP: +- program_interpreter = (char *) (file_contents + segment->p_offset); ++ program_interpreter = (char *) (file_contents + read64(segment->p_offset, be)); + check_ptr (program_interpreter); + + /* Check if this is enough to classify the binary. */ +@@ -300,20 +326,21 @@ process_elf_file64 (const char *file_nam + break; + + case PT_NOTE: +- if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4) ++ if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4) + { + Elf64_Word *abi_note = (Elf64_Word *) (file_contents +- + segment->p_offset); +- Elf64_Addr size = segment->p_filesz; ++ + read64(segment->p_offset, be)); ++ Elf64_Addr size = read32(segment->p_filesz, be); + +- while (abi_note [0] != 4 || abi_note [1] != 16 +- || abi_note [2] != 1 ++ while (read32(abi_note [0], be) != 4 || read32(abi_note [1], be) != 16 ++ || read32(abi_note [2], be) != 1 + || memcmp (abi_note + 3, "GNU", 4) != 0) + { ++#undef ROUND + #define ROUND(len) (((len) + sizeof (Elf64_Word) - 1) & -sizeof (Elf64_Word)) + Elf64_Addr note_size = 3 * sizeof (Elf64_Word) +- + ROUND (abi_note[0]) +- + ROUND (abi_note[1]); ++ + ROUND (read32(abi_note[0], be)) ++ + ROUND (read32(abi_note[1], be)); + + if (size - 32 < note_size || note_size == 0) + { +@@ -327,10 +354,10 @@ process_elf_file64 (const char *file_nam + if (size == 0) + break; + +- *osversion = (abi_note [4] << 24) | +- ((abi_note [5] & 0xff) << 16) | +- ((abi_note [6] & 0xff) << 8) | +- (abi_note [7] & 0xff); ++ *osversion = (read32(abi_note [4], be) << 24) | ++ ((read32(abi_note [5], be) & 0xff) << 16) | ++ ((read32(abi_note [6], be) & 0xff) << 8) | ++ (read32(abi_note [7], be) & 0xff); + } + break; + +@@ -354,13 +381,13 @@ process_elf_file64 (const char *file_nam + + /* Find the string table. */ + dynamic_strings = NULL; +- for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ for (dyn_entry = dynamic_segment; read64(dyn_entry->d_tag, be) != DT_NULL; + ++dyn_entry) + { + check_ptr (dyn_entry); +- if (dyn_entry->d_tag == DT_STRTAB) ++ if (read64(dyn_entry->d_tag, be) == DT_STRTAB) + { +- dynamic_strings = (char *) (file_contents + dyn_entry->d_un.d_val - loadaddr); ++ dynamic_strings = (char *) (file_contents + read64(dyn_entry->d_un.d_val, be) - loadaddr); + check_ptr (dynamic_strings); + break; + } +@@ -370,15 +397,15 @@ process_elf_file64 (const char *file_nam + return 1; + + /* Now read the DT_NEEDED and DT_SONAME entries. */ +- for (dyn_entry = dynamic_segment; dyn_entry->d_tag != DT_NULL; ++ for (dyn_entry = dynamic_segment; read64(dyn_entry->d_tag, be) != DT_NULL; + ++dyn_entry) + { +- if (dyn_entry->d_tag == DT_NEEDED || dyn_entry->d_tag == DT_SONAME) ++ if (read64(dyn_entry->d_tag, be) == DT_NEEDED || read64(dyn_entry->d_tag, be) == DT_SONAME) + { +- char *name = dynamic_strings + dyn_entry->d_un.d_val; ++ char *name = dynamic_strings + read64(dyn_entry->d_un.d_val, be); + check_ptr (name); + +- if (dyn_entry->d_tag == DT_NEEDED) ++ if (read64(dyn_entry->d_tag, be) == DT_NEEDED) + { + + if (*flag == FLAG_ELF) +@@ -395,7 +422,7 @@ process_elf_file64 (const char *file_nam + } + } + +- else if (dyn_entry->d_tag == DT_SONAME) ++ else if (read64(dyn_entry->d_tag, be) == DT_SONAME) + *soname = xstrdup (name); + + /* Do we have everything we need? */ +Index: ldconfig-native-2.12.1/readlib.c +=================================================================== +--- ldconfig-native-2.12.1.orig/readlib.c ++++ ldconfig-native-2.12.1/readlib.c +@@ -169,7 +169,8 @@ process_file (const char *real_file_name + ret = 1; + } + /* Libraries have to be shared object files. */ +- else if (elf_header->e_type != ET_DYN) ++ else if ((elf_header->e_ident[EI_DATA] == ELFDATA2MSB && be16toh(elf_header->e_type) != ET_DYN) || ++ (elf_header->e_ident[EI_DATA] == ELFDATA2LSB && le16toh(elf_header->e_type) != ET_DYN)) + ret = 1; + else if (process_elf_file (file_name, lib, flag, osversion, soname, + file_contents, statbuf.st_size)) +Index: ldconfig-native-2.12.1/cache.c +=================================================================== +--- ldconfig-native-2.12.1.orig/cache.c ++++ ldconfig-native-2.12.1/cache.c +@@ -39,6 +39,29 @@ + # define N_(msgid) msgid + #define _(msg) msg + ++extern int be; ++ ++static uint16_t write16(uint16_t x, int be) ++{ ++ if (be) ++ return htobe16(x); ++ return htole16(x); ++} ++ ++static uint32_t write32(uint32_t x, int be) ++{ ++ if (be) ++ return htobe32(x); ++ return htole32(x); ++} ++ ++static uint64_t write64(uint64_t x, int be) ++{ ++ if (be) ++ return htobe64(x); ++ return htole64(x); ++} ++ + struct cache_entry + { + char *lib; /* Library name. */ +@@ -279,7 +302,12 @@ save_cache (const char *cache_name) + /* Number of normal cache entries. */ + int cache_entry_old_count = 0; + +- for (entry = entries; entry != NULL; entry = entry->next) ++ if (be) ++ printf("saving cache in big endian encoding\n"); ++ else ++ printf("saving cache in little endian encoding\n"); ++ ++ for (entry = entries; entry != NULL; entry = entry->next) + { + /* Account the final NULs. */ + total_strlen += strlen (entry->lib) + strlen (entry->path) + 2; +@@ -310,7 +338,7 @@ save_cache (const char *cache_name) + memset (file_entries, '\0', sizeof (struct cache_file)); + memcpy (file_entries->magic, CACHEMAGIC, sizeof CACHEMAGIC - 1); + +- file_entries->nlibs = cache_entry_old_count; ++ file_entries->nlibs = write32(cache_entry_old_count, be); + } + + struct cache_file_new *file_entries_new = NULL; +@@ -330,8 +358,8 @@ save_cache (const char *cache_name) + memcpy (file_entries_new->version, CACHE_VERSION, + sizeof CACHE_VERSION - 1); + +- file_entries_new->nlibs = cache_entry_count; +- file_entries_new->len_strings = total_strlen; ++ file_entries_new->nlibs = write32(cache_entry_count, be); ++ file_entries_new->len_strings = write32(total_strlen, be); + } + + /* Pad for alignment of cache_file_new. */ +@@ -358,9 +386,9 @@ save_cache (const char *cache_name) + /* First the library. */ + if (opt_format != 2 && entry->hwcap == 0) + { +- file_entries->libs[idx_old].flags = entry->flags; ++ file_entries->libs[idx_old].flags = write32(entry->flags, be); + /* XXX: Actually we can optimize here and remove duplicates. */ +- file_entries->libs[idx_old].key = str_offset + pad; ++ file_entries->libs[idx_old].key = write32(str_offset + pad, be); + } + if (opt_format != 0) + { +@@ -368,10 +396,10 @@ save_cache (const char *cache_name) + not doing so makes the code easier, the string table + always begins at the beginning of the the new cache + struct. */ +- file_entries_new->libs[idx_new].flags = entry->flags; +- file_entries_new->libs[idx_new].osversion = entry->osversion; +- file_entries_new->libs[idx_new].hwcap = entry->hwcap; +- file_entries_new->libs[idx_new].key = str_offset; ++ file_entries_new->libs[idx_new].flags = write32(entry->flags, be); ++ file_entries_new->libs[idx_new].osversion = write32(entry->osversion, be); ++ file_entries_new->libs[idx_new].hwcap = write64(entry->hwcap, be); ++ file_entries_new->libs[idx_new].key = write32(str_offset, be); + } + + size_t len = strlen (entry->lib) + 1; +@@ -379,9 +407,9 @@ save_cache (const char *cache_name) + str_offset += len; + /* Then the path. */ + if (opt_format != 2 && entry->hwcap == 0) +- file_entries->libs[idx_old].value = str_offset + pad; ++ file_entries->libs[idx_old].value = write32(str_offset + pad, be); + if (opt_format != 0) +- file_entries_new->libs[idx_new].value = str_offset; ++ file_entries_new->libs[idx_new].value = write32(str_offset, be); + len = strlen (entry->path) + 1; + str = mempcpy (str, entry->path, len); + str_offset += len; diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endianess-header.patch b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endianess-header.patch new file mode 100644 index 0000000..a18b2c2 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/endianess-header.patch @@ -0,0 +1,113 @@ +Upstream-Status: Inappropriate [fix poky patch] + +This patch fixes build issues with a previous endian-ness_handling.patch on +distros that don't have macros referenced + +7/20/2011 +Matthew McClintock + +diff -purN ldconfig-native-2.12.1.orig/endian_extra.h ldconfig-native-2.12.1/endian_extra.h +--- ldconfig-native-2.12.1.orig/endian_extra.h 1969-12-31 18:00:00.000000000 -0600 ++++ ldconfig-native-2.12.1/endian_extra.h 2011-07-19 18:09:14.323048417 -0500 +@@ -0,0 +1,64 @@ ++/* Copyright (C) 1992, 1996, 1997, 2000, 2008 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library 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 ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, write to the Free ++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA ++ 02111-1307 USA. */ ++ ++#include ++ ++#ifndef _ENDIAN_EXTRA_H ++#define _ENDIAN_EXTRA_H 1 ++ ++/* Don't redefine these macros if they already exist */ ++#ifndef htobe16 ++#ifdef __USE_BSD ++/* Conversion interfaces. */ ++# include ++ ++# if __BYTE_ORDER == __LITTLE_ENDIAN ++# define htobe16(x) __bswap_16 (x) ++# define htole16(x) (x) ++# define be16toh(x) __bswap_16 (x) ++# define le16toh(x) (x) ++ ++# define htobe32(x) __bswap_32 (x) ++# define htole32(x) (x) ++# define be32toh(x) __bswap_32 (x) ++# define le32toh(x) (x) ++ ++# define htobe64(x) __bswap_64 (x) ++# define htole64(x) (x) ++# define be64toh(x) __bswap_64 (x) ++# define le64toh(x) (x) ++# else ++# define htobe16(x) (x) ++# define htole16(x) __bswap_16 (x) ++# define be16toh(x) (x) ++# define le16toh(x) __bswap_16 (x) ++ ++# define htobe32(x) (x) ++# define htole32(x) __bswap_32 (x) ++# define be32toh(x) (x) ++# define le32toh(x) __bswap_32 (x) ++ ++# define htobe64(x) (x) ++# define htole64(x) __bswap_64 (x) ++# define be64toh(x) (x) ++# define le64toh(x) __bswap_64 (x) ++# endif ++#endif ++#endif ++ ++#endif /* endian_extra.h */ +diff -purN ldconfig-native-2.12.1.orig/cache.c ldconfig-native-2.12.1/cache.c +--- ldconfig-native-2.12.1.orig/cache.c 2011-07-19 18:21:28.347041301 -0500 ++++ ldconfig-native-2.12.1/cache.c 2011-07-19 18:22:54.118048064 -0500 +@@ -39,6 +39,8 @@ + # define N_(msgid) msgid + #define _(msg) msg + ++#include "endian_extra.h" ++ + extern int be; + + static uint16_t write16(uint16_t x, int be) +diff -purN ldconfig-native-2.12.1.orig/readelflib.c ldconfig-native-2.12.1/readelflib.c +--- ldconfig-native-2.12.1.orig/readelflib.c 2011-07-19 18:21:28.346041593 -0500 ++++ ldconfig-native-2.12.1/readelflib.c 2011-07-19 18:23:05.324059875 -0500 +@@ -25,6 +25,9 @@ + + /* check_ptr checks that a pointer is in the mmaped file and doesn't + point outside it. */ ++ ++#include "endian_extra.h" ++ + #undef check_ptr + #define check_ptr(ptr) \ + do \ +diff -purN ldconfig-native-2.12.1.orig/readlib.c ldconfig-native-2.12.1/readlib.c +--- ldconfig-native-2.12.1.orig/readlib.c 2011-07-19 18:21:28.346041593 -0500 ++++ ldconfig-native-2.12.1/readlib.c 2011-07-19 18:23:23.877046210 -0500 +@@ -40,6 +40,8 @@ + + #include "ldconfig.h" + ++#include "endian_extra.h" ++ + #define _(msg) msg + + #define Elf32_CLASS ELFCLASS32 diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/flag_fix.patch b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/flag_fix.patch new file mode 100644 index 0000000..4e9aab9 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/flag_fix.patch @@ -0,0 +1,24 @@ +Upstream-Status: Inappropriate [embedded specific] + +The native version of ldconfig was using native definition of LD_SO (i.e. +ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. +This was causing libc.so on the target marked as ELF lib rather than +FLAG_ELF_LIBC6 in the ld.so.cache. + +Nitin A Kamble 2011/04/4 + +Index: ldconfig-native-2.12.1/readlib.c +=================================================================== +--- ldconfig-native-2.12.1.orig/readlib.c ++++ ldconfig-native-2.12.1/readlib.c +@@ -51,6 +51,10 @@ struct known_names + int flag; + }; + ++/* don't use host's definition of LD_SO */ ++#undef LD_SO ++#define LD_SO "ld.so.1" ++ + static struct known_names interpreters[] = + { + { "/lib/" LD_SO, FLAG_ELF_LIBC6 }, diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig-native-2.12.1.tar.bz2 b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig-native-2.12.1.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..dc1e79888e9bf28226cf18513ebd4478ec90175f GIT binary patch literal 21491 zcmV()K;OSYT4*^jL0KkKSzNplS^$e*|NsB+0D*h||NsC0|NsC0|Nj6$0t5gA00962 z004jx00>}o9{1DbKmvVzDYv|Oo@Idd)&QPl`WXNy6zLn^T+aJFJ@xJHcJ(j5^}OEz z8{PFaqTAjmX}$Aq(Durg+s;0^QlCt=)lQn~!262meCXQ+o>U5bXs3@iDt%-d-(Pv~ zKH2X0ci!{X_ulRAWG!S;gi;&5LVd*9)33dyT}f1d6e)Im&wI)?we`!~-S01U_15Z| z*{;rZvtFJOMq|u6cnUOOpeu*}d z%}Rc$>66lfAZYb81_3FcLI_O+CL(PDqx4hsru9eYBzlMHPt_h!+DE7W7>0lV2{ef! zOp_A|dNN6<{HgeYPe^)Al)(eh1JnVdKzdCEngO6fk`W1lWK+{dO-G=ZihB`H$xVpV z@uVivsp&L&BSwG#03t|&WHca5fJw4wCQ^RXdYWpU(KSC&->MK`=bcS=f9vIRwbb_ zMw%EY4A4NyLEaa=4n8~J4}kbh8cS=XOF=sO>h&LBG`l_~{6D8=YY zw`3F)Mhrn>kx?n3n4%gt%)f1$F__tidOwTN=>1z9blk{-B7%m5C?uCx-YKe{MRC?Q+ooOj3mcQj}E%4HVHuRWU^oOw?5rG$}x_#mT$apEim!g^`#(ML-A;-PggxP(mIO?bi7J9vknneZDyjdZ{RZtWBqH zZu+Gu0+yZ4!`z0cDk@r2vNC&PDnm0OQ&EjO#$Nt86uq)J2}=_*DGnt{0}fiphNl%en73woOd2%p;G!KNIQ4r$KUJ9z<KbzNcUuO3>f^xEfF0eUI#atfv`6kBcR_Gf>RmpR?u z+K?70q|MyJS}CoD>0{uih>9v|6^07Bg=Z|(sPL*@VU_{`o4J>s!MeJbWR|L9$9oQ( zX|=sH$5>l&>dx9@oa0*V=PqGRHe-SbhRV!Lr#VM--6{y0(K{iJ9Ar1Hi=8rwH*qf< zC^$l4{wfOJn@fmDP0<aFZ^WEBMC}7#{@Jc7Eedr_+ch6!C5&FHC}F94bH}3 zrXTGY!vk?D<)MOQGSdjFD{eG085mV$u2H8-LX4)Q#%Q*RShcHzDq!|;!LraOS|hnw zu2tNtjHFc_HMy80IMib8)n*e?i>5SZdyFv z*ynlk3)_9&syJS){g~#8zv!`Vi;)idOB|7^s7{)5Z|W?SJLZF`#Q&O zICl0Qw{4YA5f)z_LZYaQk4>nwNU23d1jSUD?75u7+z+NUWA9Z#)_zXE zk7VLFgML}GZ4@1ovTQ!GN>Q#gO#8Xqll9hRpFqE<6#+fSzz`5WQuxgkQ28?mU|N`B zppk-#Xd-AL2!f(YXenBn0hJN~loEsWVT4r-Oau{0M3hiaP+U$(($G+fMS_G89{XS3 zKRWfBFYj;f?ME$Cyt{h5H!*p+onCcbvR3AolTMzt?5|BU+0m;xfdnH>0YpPcLsL;q zEh5z|0YeZZO%%k`)RdGog$YAQP_ZpEQb{QlP|-0FKvfG6P^?8UK_LGWyP8$uXCLNvq#9!VI#eLxXgmoR=|n)28ED zR{87IXTzcnT+4mVuif}bJci_t(F4_fQ~gKR>-}c_d+$saXCLdfVpq3r7F!#Wnt^>1e;R=QW$~y0f&wqD&Z=E0M%7h zRrq}bgHT^YixU%{>(Rpl5_lEa@6cZf##q;x@{kfj>Z9EFN;A9gAh!CCf0XII*L0Eu zErfzBHxqN|*z{rA8 z&H7kKdTjKT6(6=aEyGLG9hRNu7ZC>glfdlsIaYqz9up!}pk!d8lNdiWF%Mrc zhWk*?#vFb2>^UKn+m_fA9~8S8!NC?Fmak=%;ecw#?);wnp?4UWL$U{25YWbVMZ+7+ zJ^xJ%$31NfK)@}B9k3clu=K_Uz!7$E=M)m7Nbs4Qx2%pW<{jLJ(5lBCwSFKuwEVp zoK$r<`K_TMRuGttaFz&dLPTXu`8SCaSIvKK5%K;Ta)&LS&TCRgcH#vS6qxIj7(E1) zAp1SydSLi3au4FES`i494!@amtsA%`rDZ~Gk_P1J!|XsJA}SQc2D!OsAFt}p}0m!dcs(P~C!L zf#FsbeiIZ*0h+#9`K8;ekl!r>SP$}J9fGl*-yr{C<(5xp&}k-(sn zN5}lh?vr`MsPtb&f97bw8z#LMn#9Q)5`?JLi}d{p^wk3S*RJI`cxQrf3b^O!ilOyk2ayfg+}SBJR@ zt-?yqBF&n2#S!FTp$Nc=O|-sF2k_a_F_8_V8%&P0DeK9{r>9o&u3LfRa7rBUjnlEh zZG=fh9>FA;x)|nSK_nd^)Ng8H5;5djZGXb~Q%Ckssq4%PwT3^evkdhx?6$;VDg3gCNoPRJjuA1lg zszSU*1vjAe1FBMxU62jg-zkwXSFamjR@3PFYm}HzVXL6oNRkBHff55n8|g7mq-g(o zo1>LiJU&ZI(?q2}K>4muz|>C+hYWiS8!`Ko_Nhu@NCZ>SpCS%gF#fNbz{9V481tnH zh%&cbHLBLSq$q=LCC@LccbE4kOZcRW&rz=j9T^I+^Ng)DP(YIc!95GDqh8 z`INAll6KgyTNH^D&*_HZMVCcmx=&)2ssJOn4ifhc4NDrRjJI2F*KYothT~qJ1yV=R zSq;~VJ3UQqbtv(5 zfYVGj3-wB69SnvLlUQ`a9>E*Wc~xACGu)dE@vk-rPL-GaPzq{s+=> zbcd~vQYVsl`6?{;o%$XdzOOsb_!nt}_{peZVl>s{d2-YS@2k7DPXg&vJX}~QYO7%j zBVgw$04x2(4O<*c$pwX@lkKS^l3x?gOTPNpC75zPU5-yq7Xg&%{9D)O8!@{JnwF9` z$e+Aog4H@Wu?J2OW^TqIwdwsDjN&axwdsEiVZNme0SYHykhsIP6^4cYZeo`*eQQXsZx#x7uO z*%jErcmu(Vpjedz&Wc$XNKq?nclfIpQ&TV;*Q4#x?{NA|14*-ksI>h#-a`7;U}0UT{dJC>KOJA;OCr?j#LY*S;}; zvcmA1wll#hZF3o;K-o7p}$3|V}eMS zlnP{sqFMrliAofuDWGCquyN1q6o%d#Ub#E1o~(%$*c6)dY!2a?8bcB_+rBWsj6!$x z{<@g?BH5G#&{>;j0z!djc*;Ccf0XQxi($#nS{m)L5Yy9!BI*jX=^kfjEDa<}ARM9* z5awH9W(^i&dBzSxCPAk$<({9p3!cP#Tl?I3-wwSGMJ*d2C4++kBVq{%ry>BrOx67o z_vq*Bmo(|C+u~5oBPvb^;yzToT=En)+~}xCj>>p(o_gg#DR?;$#EC%&o1LKHE~c_7 zcL`tG9$?SBCgq|vfm}p@Yd|p6zoUiY)BAUasGpx>^zP0OnM5R+ChXE8#}VlvHSsU= zMB?$!tnXzfN3?Bncs4fk)ALET3>-%-zgO?`XzaXk)pe*tEf*`}6`6TL(PlFe*K&W$ zRr=xF-I+%ZC!we^r1A(A;4b+a`?@80Q;dYu#^C3WXw`l z+1S*K(E@W7bQHW879?%o>c0-JuSKg1_&8VMHxe7EG@~*%2&Iz%k91o>sAo@0d!l}jcv~Jhc21j6ZemdhB-4356CPse^fd6sG-xM@ zJw$a;(T04Ro*s_)eexV29A<==L}EQs8l!Z#w{q-PQy0QR?d92=?x|<{vie6yL-j1*~<=go#Sf*le5q4RNMq$O`=7AikmB_+$ButTpoV?Ybd#}*p?#pHR z=Nai#b!!|$u*JabId`?kv2S=6GTHW<#4QB|prREbXtl?u;TKx&x*7#VzF#Hqyl)td z0|peIKOUidw~1rFQg_|<5;#J@tD{iD0;2A|LIya{OEi#`fVGu9e!REueZJ@PVv6*0 z3%QwiT+sRhgSN#@ntCGP_2rlcc7Y9+3p22DRvsHG<;(#c;fq4d2UCbu223%$iXQ;1 z9&jzj!N7GQ$WG86okh85->fhn7!o%jjX@)`&*>l=T+!c7%fo2n!uP{Ymbif9P8NuW zkn%dI%To?$gos2hdj`uU4606kiK#~zfQ6@P3(y7Uml`+s*Q%*YT6r+^W41#pY?Sh;f^$6{q}tJ@S* zntH)G9T7Z$?OvWe9-V9#d-gd*rF}5FQs%}TmN2eO%FhLvNF@<4x{WHN&mw%m$>5j<3=Vt)WcL`f9Wc_8Is_W!f`qff83|F5UzU0j9{V~6cXr|g0UNT3!=Mxh}XZRY$rO+*~{q;35HM$EA(ANC9|Obn zzDXg`=x5*Xvfkl`i$50V6?d!c`Tdfg!?xYMEB|R^SuEhm!Pc@iDhWsdsK>U+l7fWg zVvP(H4J<;%ep~sVHD+dIm@v^@e{3Jd{z5;LjS8k>ieI5nN%yrMxKtc&12h@NbB{4;-c9=FlN|P&;7rKm>@AY~7u=swD&9_=2ZS~pn z#>?zf9#)6iCFJ%`752h2t2W-gtDofKEd_*VyU0E?H$mGZd?*VTlO^rMKz0i(sIq>a{Z&zePIWfn!o8jAXrTsSNUdU`N_;z8~ zKI9lDB87%AbO?o8$o?+Q$iQs3J@w(2R4tcL)+_n-TKF!GaCrKww&`3D>!U~}Q&=oe zu?vsSNmX`cH@XzL+bd(P6JVC7xepiNz4NTSCrBPi4fz42knG;Fz@4`Oi!J?nXjaQ?b!sBX~<} z2Sv(Kku4h1WFY?ivrz2>K@!Y^sRJU6jqWO%gNT8M1NVeMAq36nS^@kZ242qjI=ud( zr{&jv^Yxc;8?vvIlw+LZYD7JdM}MEArA3*zx7_X3(EVZ(mwzbMJ$346)+=@QU3F#> z6B1D-Z5dyU4+K_m#u&HD!u&&MZ>^Y&e$UbVHUd85x%Oc3TOrVXkF9z2mMK(q$1Bfs zA9AusrS{vNu7hHTnAJhNVciU#XCxx*s(LqT9-R?LB&jM_I68&?Zg~gJdJ}#)LH&LD zcoty^FpLd^0uVB`z66V5KeMAP?6?0Q2Ep}2-eu+!Ut3C1c4c5^XJ!{a-blTn8GHq# ziZKaH@8?f>Mo}OJZ)=h}&mOB^O!`-U3M|Mn8tNP>p8u+synUH3zat>V0FneGfJCKa zUye6l8<$Hr9C34O+o(=1Q(34S8)pXyhJ(~N<+YPP3f2ijr#khI-?#le{vEbOy{RYW zEeSFK4TN*oqkTRmSm7{}2M@!V@T8!EUE@}ZwD~Q@!yODT7lD99EE%A6>S`fXG%lMq zVMX(toJ827*1()wUVJfS6K!zCtKo3go}D%;Tw8V;d)lg6S42x+OqU&&2Tt2JOS zKhQ^=#BpT7vYZY0Zn$AFGI=vCzK&Z$yJ(Qu*5i<%V5_h`LTxu_MhyZ(-;ca@c~_Di zXMVpgXiLnj4NxqVlbokB=tY071c;wR;}4+xXXW=7kZeTl_&F(LJCEL*quJu$!@=Y3 zT?TfNq3X=B3>qq8C0U5+^x!hsI8dBNgyH4*I30GrQfoy~TaF}{6<~5*n)-_%rZ#nu z&6Lz6bjhK*_ZY+GBvsx(xDk`;3=nW8EIUPO!|E1%q-*V<4e1SUaRx+cZyQs;PA)TX z^OqyX(Ga&l7I2bINI>UvsH+~qks~`{Do=rI(=YXYUHzJ>&LvMcd4m;K9`1-RgW8JV zuUFgl?PmUuyaFGFitO#Uy7hX>hwMwgzBg=dW9~sx>%DxC(<^*Dj_LPAVJ$>h`geOA zB)7xIGmo-+*=Dq@vs6!8KOv(-VgDVN&6v5P9+ zwBmkU^6pA8=TuYFvlEYw_*P@$-l#YJA9NX8A6z0zc59y9A@_BuWUquge>bPZNCY>f zDDN!MDA$Rr5aGiX^lZku{CcczGInUjA}U1I(AJSLA{dWR2lf>Dxb?(pV_)UPMZL|m zXB_H`<3z1_8$ld%HnTh$#-R8?w#@i6tbKcgVYm$S46vAPso3uKzJF5Y)-qrlk8#^{ zL1rgb7@0KF3x{{KRRiK2v?@Hr^P*eypP=*n_PywoN)n7}ZN?@wEl8jJg_SX~GR9WK zM(fOlim`KZ8fC>oqPUnDM#RcxF|?ym8*>J^o0TxO7PDq?IL;ijXAA_+VqMEyPBeFs z;2vsZPLT>49f2e%iaw)r)#~Z)L8FuIZii8m&-dPR4vIrUE-Bm(Eg&OHWT?fAa|hxz z;-B0M61yOuQ7GJEn8L*xeuXRm*ho*F^4XR|ejVC;-;Yl}$DVNor1}2;*ZaS+-*vyf zSf2Qg{o*;gXh;$YRU9RQHWMLz6V>aGwbE_t12nLRi~qgZ-zsA%IVqJ}9-Lj;J|8h)RuEcjrIaLh{v`>&A$ zrW(u$q3B*38vGdANMc64gc$VN38PYX5*n)LN|AeQ>cSv)^9e_Pi!OL}_j=u*!lI-` z0q%XN+h4y2Bw|`=p``m%Sf1gQ8IacNv}dK{G&XJ-J`aIli-&_a8S&j?^VP{g?4@TC!;?(ZA&{SE=MS&p1L447%R*h{?D`=!N=ySdOz z!w<{tdeqoyE`y^aH%JUbzWW3tFU-vh*Rz=PsKO4qW)a6gS=Kr!$~jEqj^Z#Egew=o zDlN*Q3Hph+N`IXt=p@YO}KGP4-e<*CV{=$A@oF< z^?|Iizs3RJAq=wH#yZ0eQgFRuc;Ze`nnv*3z}0?gNGvDhT;5rX%f9 z9`J<%HtUAEH@&bJe%J?uD#h)05ozoUqC>pa9&@fDl|LIqw^SGX$0ZYo4`sipaIH#- zlLmO!8U73({!MD+xTB0Tz3QlFs|HtVTIA58B5-0g)G=86+f*pDAp|z~Qyio&n4T6& z42B7*oLgmGeC85M3%%_Xp7Sy(Pnm<$jr}o9VcpU3Xg{vh7zhj{p~bV|2pHdnzv_IRdy}jY6Hg%yC!#wyAte?4kq2YtDQ$-6P2$n~n~m`=BtY=C1jrEt59h6m{&#M_ z-^b5bSK;kbZsXS8nxK@E7LV2O!NMiVh%}oB`4-BP-p>WCbtCA%pIFnop&b;bL&G(u zIr4L5D7HBHv_=nx@rLY;{$D?yT2_;xAo9N~^wF9a_-icsTx4dQ`1k9fOP1Il_) zs3077;Wq?8?%9x(A&~%2H&H7#cgHVU&{YpZgb>Kg@{NGrMJ;D27 zgP?yb5Iuka^(y}TLsMU=9mn$n#Y{0$E+L@^FbKmycf8HopOH%kV>^`97;z{}tAmrl z*msGz17Wc~WQZT82i4QK6r^HE9$ zBM6o$)Ly!SetFUaFz&Owz*|I+*7v3_gaQ{PGoq*-{*({t$N(9S~C<^tEHw4?* zH&0-VS@JLtP;~~$#B4~+j-gASUuQwq%jF9Y;W$s-jzmRd;B4;jg#jSRqOV&?VKKyp z3eYHBJca|@J}`0(bKnzj(7yB;3ZK(7sg~!eisdvQX*#NzMcncSiIM%@9FW1zfoUp` zxfC)GGKsJr2=>^r%Lriw0G-N2I(s%SfZ5qy2NoXRU;45-ksmULhCtA_J47VFJqYYO zfrvRb9D}>MZp-1=ft^FvCvz7-;;cu_N(XR1sRvU4)$2~kNDCOZAe;{Es*;LWYwWAS zU?pdGyy7X>6<$CAVD3j@JzDP`G#3dUQgee_>;chGvph<$H-}8Y-iO-|8^jp_3EE?t zPUppa{0Vd}X6S>^J46mBsmcx=W4g+9hwrri3iJ?18B)~K(LmUBt9YOK4sLd2h164dq9D|~BI}l)am$|)(!q!vTWWljv z#ZIN5@;7wqn~a7Y%nnA*z{2MBC=)ez?`{mD!D8n<2YeG?xMxDzG~iDqx)A0=ka1JA zz=6QwxF1=)_IPjNfsmcj8DiHJB{z!~9g{RPp$?8qHdvYW4&o=D__lJjqj zjD`lGN^$@XWKitb+=}=+pykT2_BI& z68geUbp198eVxB-0w_m;2scyk08vUrG&hBn(IRn9^MULjH2A`gY<+WY4n9FM5qCjlL9)KdIdS86F0S~4sD7V8HhG)mgpiLTw7a*8QM@_^r4(dbZkNxG*?>|Q z9vrVjkRIziaZDT;~M zHUZc_L0~@bmKhu2GHza2=hqLi1w`*VO1u(pG7g9Ilt7e0ARmhTy2r7NTE`Ot3av+f zFyTb5?Q-j7fRGyrIX%bRHGFgq!@KUCB^bUiQ%F!WRO<|n6c_=c`yEg^WCOwIA+eSr zA-Usz2LiaY4WT1CE~E$?gwQr%9TTYi*65T_5PAL0FG>eub|+h_!m!MF*0V!QJSSl* zZN&@1nCx{281BWCSl)Fn1Vx*fxT!f(meFw~WJHymVC9z6T)C43Mo?CB3NZ~{b0oQ8 zJfeAJJTE0$wGL=8B&eXE)Jco@k=Zo^e4?R2lr>yBx#AnnH(VhjBFQ7x7?|M3=1moD z&f*4v8dy~*7UmroJx%IkqiAmy@d`QUlJ=1~trHURT2h`8l&&6S)DfiVusHHjj6}7h z35L@En|3wXS6tqNgoLDbhhNLYeX*|3vaGi#s02i|0wjotyv$c9rHCLisXgJ$sR6Qa zmCf!;IPucWRn;Ttzfc}%EwS7>yfA9?eP z_SVv0mMR9Yv{(EFyH3>@kO6^S@?@>WPk20%_?(o&_;@h5fWf`gkm>|)lQ^Gw@Z&h3 z9_i+5j92ip8POf;CKx$b0}qfMCOgjWywsOB~cCilJwL}(eRkBKIC(>HwUUxh%3;`@vwMA z-uDKYM1+bYGt52$Ou^}2Lv`?>@Vy9ZF%Ty!A*!JOla9#25jYV$duaG41vo_^A?Lzm za#%pSR5Y~EHq9b!ubJXz1}^}h|CfCjK_oFJL=3s_M&}Pv5Yz}PK*{n&s)3X}$rsOt zK3QIU5#Tq0D;JeOvFb{f1=y?XozXd-uDplEfNq+=dI8l714`1jY2%U@?F#8r%^}sn z4N7h(WQz9!eKHuPnLBzmjHd516Ek4YdD7&gUcEs5>RNZBiLe$-q za^N)+m>QfHws&+~0?UATS`*E8@`XgRCSV<#gQAHHB0HP<^1@dnM?)MU{7&43X zcXgCQ)SkEDBjnBWsA^fXKrb%zj07~|4p2y>J}s-1&m-nRvqJ;r?mlV@KkG>{dt3VU zM`#9VIf9v_0vyI@d-Zz3Fg2hGQj4=StM*e5+5knyq_tgV|9YcWS;`4Uf)fjZXQ;G_1$nhV4Nvu z0f?d~u>9)T2d|o%>L{bg*OpNgMyT5ptds$es^(N!m^j;p{QH~St7k14y=Ge0MpQhX zRP{#Ay%MGcfiyKoJEt1JW)OtQnzpI<2n+&FAi9MBKB}pSL`h_fH}O-U{p~N+y=Fo%0DHdO4>d6vabfI8 z^F&V+Bu%+S0p~Yf_@fstp-lmNx^%6#kF+zg9VHYK z=r<2OR5qSozlV?zMJ3P`9I`;E!_FPwCRp?IfyNMKyrSSSVvK&MH=3>^Q6 zhVy1Ha+#f+4vrY}a*T=iNUFLKkjT+@+GtqRI+ z=8tXxoIe!`$fKQRCtQFmY&q;5_DxiP9wG(i)yUlOo??1ARvu<*s;pf*PL&#}qLQsS2XPjlk2(&peE~fU z8Sq_?#}{wEHal|XHN`lA-JDD8@Y3B$G|C{kVfCT-5UdC5F9BevgpnbP#>Qmeq*FtA zx58)>3Nlx50uYQ-CCFk-jzN$*+vM_f5JU}O=PdbxbX8o|?vM8B^8 z-%?0Zg= z?)UNV?j2s)L=gm5OcKUUn`psB^VNadmtp6_3DT`fXtYb)%-chi@W^7Ss;Z)>(gB2p zVk2aVO>&^PQk78PiyN#Ez|()fVs) zaF}jfc1W}~_Uj^64dFSYPB!gTb=c~K16(^X!*|$Wx*FQL=JL!?yFM65%tZEeMF;}Z zX_)P2chzdpj;BHlY0c72Y?-iwY|Zb*h7m)*S?1(sO@uzUM2M`CN+@lRPBiN##om>o zRlIF2Y{CI75w`Q$Dsb)$`@_c(r%%EuNP)NL+_Xa`d=AW7vb(byW-RMRLO9QEmBuqN zXTxMzD+a=>CmZflqLNXD614v7^M`sYcl7smcIjbYb(!Aes*XT{*xCi&=- z#gui!?o2~LE!rDtc_?>>jur|IP}KDr!?4QTg^KBPDDw4}Eh!KTEdgOMH%eou9grA{ zfh$I(+ey}4(h(`dwPVA?4EmVHLiySd;sZ-D+zJ#Qk{rG)9yCoN7DWheQ#NWq!zS%` zqZM~x))$3RIU$9@!X$m1jjO@bPE&~{d#uIT!omdB$CHFFI6VZzxZ-2eo7mQ>PFsc7 z4(KlKJ86`zV$;dpTsO1T;aEH5Z1Di~#vh%wy5XsQV2is{mJhd`IGq+!Fxx;h>=_X4n9A3^^_#dRp2eeE z8|J-sn;42z03QV|q}d#o{QGZEG$0^$){+wVEgGrt9HjzT(Kqu_Hd(q%{v+ZTJ;5XN z{0q9RL-iX0>N+RU{CdI#6s9Zlxmg7yO-UaK>EIye?SqZcJo36tnB83`*rqQD#=(0% zSQ%9#NKg?98M~qDJ97i7Qa7`OA6Y1Q{EkE~U&q(rc;pjdkIQOx;3L_F$I-v)Kshj+ z7swnwuv5Fd?|RyS2DB(iZ3mOe^i*IMUSK6M7iEPt2oy3f111}AyNN#^YtE=q60kW0 z8%>ZI7!2!@CH{{_!w_jnE~Xe&5Edgtwq_{AMJjN>L@&Xk4bBo(8PM4md8rdng2E@r zfE`b_yz&{bv;m^=h6{A1!1r!;op?l+hIB;?SKRUxbkQr^NW~(K8ISw54LXl*^7+D~>Wk zK!hwmmj;(DwBumjs6C^}Kf1}=-_nX92#}ANH+WD(zZSX@Psr)Mt>@3iv4?!>&`+Mv zA2mG877%#Sy&>X=!^-uW(|4^vq|!1qY>X#^^^>4t%uPTi~=b+X;8M+g}wi5>USV2We!wx!5wJ9fgs^A1BMJ=SaMiLP$zRdj-a53 zLMJ6U^w}nV4gZyO=K|DX9MMik2kF=wkO>k)!bqNe?X>Y&qF~dJ5l&de1lD3C7D1e| z0al~=E=(7g87J!HsoP7uaLR_}IayeZN;9&tL-muaC5r=4tp1a$nh7bHl~}5^SOp5b zs?3qC)CP=0tq>p+%AMbtkTtk|t2QTgQJc)eBaN{7H(Fsw_R$@QGn*4lE@G}O2N6?#O51CuByf?*3dU{IylE0k!%&~^?Zk6q{xbq&Bd zSDxFGMD;V#IGImGm512q}ZG!M~}(DRGeD6Xrf6bRBX(SMmj6sft+zk$#d40#c<4 zz*!q*N+2*w)+-RvQImi~GniH)#5n~eDAF{<20)Y{NhqLi%=(&?U|7_%$kY)ALU~9! zX!IY}?v@jBQNY5PV_0?4lwfiP1SHIw4ak9l38G0LVQ|xiT+KORr?&$%YJstk(G@}* zz-77;d~R)->~YUtR2;Mq=i!TmL#|m_n%I4tR=H*o<})MD9==%whs!(5Q9pp;3{FH4 zkH~@e`+M(d0G^@@l@F>>go;3vfs#Q@0>F5}Y-TEbdNmdKL@*d3iY#0~ZA%3Bgf#T) z?}lTaj`{+TJ=w&?H2eyku~tk`KvhtSm*~agZV$a8m6pw{UMi5-YDE zgR2&rz}`<0zLJJw>chD^6q|O7;6N=U6smP9ebbtHs%m4^nU)m)B2g64Xd5ny89tB1niWSV>7vOtGd|nI%+IiVEW>R-&kc1i>;uLPT1?$eM*Qa=2z&k3bAPhrf3QE1Yh&Sxa_3J_lzBH5@!kWh)Td;7w*Tt7;EfcmhX%tUBd zND(Mu5|ao417(piUzuGW03M)l3_Hvetk#byb7Cj54G!_6@p?8#pnE7eVk26FBtk(3 z6ucf!US@GSy4ahb10YC=-~L-Z6U&E$KIvF|;{Efz%8LLX0RmSrT$*8`RUDTn^Bf13 zk3OGNsM2&CE#lqo4H|4cKh}n7lb&8SdS=bbxa0{j2?>JOkTMPA_ebFNzRwM2dAkG; zno1NYLy_ViG4hdnBP==17qsExb=7rAP(bz3>&zvHPRV{a93Y4`2y%CZkR(-SQ0PhVP&t~U5wLG6c{4Z@g)L&@GC+nM1G?lr13NEwVlTi+XKw%MOlBaqpjW z@AgOC&f0A#fUDk5aecmGy-`BR#qxf9D<_a`df8C)3s##N)CN&eNN0!6d#$OD0VSTd zbaw;aBaEe{h?yw_rqsl8LM3)F!O{jU0~x>KAEc7?pq~U4Ar))L8_r45Yf z2u|f7=Z+Vw!QmkZAdRzpICYboWi+U33aJ)NrH0%vixH4H5n^UJD&Ok)qq^wh(3P+|%8)`{%yda0qA?7>)@bwz2uEh4AG)1)A?h5a*4K>MK$in) zS&M(Co8QBbhKz>gdea36zPK-wBGZ~|(qu$LeIJLp;o}qyZM(Q0gaODMpo6dAfDtt# zN6qqQ5Y3S0pad2Vz&Rsd4NBnC<)r+S;#?%!!?m_dkg0_qlLG-tlT&ypi1}WCJJJSE zzk!3{^kADHAAW6B$pG+xW+&qO+xofJo_mXZqwp1cue!vew|;Cj;-v=(-g;Hoq{^S_ z?KX;F5H1~Aj)NpTV-v?_ixgK_xq&|5;3}Jxx!Rgp zXXei=xk6^8Y$-JGw<>~lNy(u}W-HKlN8ki?@|%Vi+If5|vZ&titNh7P7)11r{{8eA zUFMLeOF2y;Eux7Sj1Io#J@Ld&{}KX*fQdk*2#Q|#B0_|NF;amMp<-GWQ@1xp1cT9) zRGy+KMDv`z;)FQ7BdBkTOp=sg@cO$r7yNSq9a&}uJxF^4tjIb;nR0n}34nYcI&|rK zft<9lJ)k64co8I170ePPukEnPT43r%lXiDe#EpXN+%HCqEknxDBd9S*14Q>p-c73E zOcztaicQd`F)rEp!@U3Y0_Z*;WuW8cdB}JUL338k-0%;CQWlS z(mRMg4F?TL$R&l?$Wl9|2E?VzpcX+Wg(6LGV>qC4!*Ba2?tpyFI0^vp`$0A+`ZF?uHMYY z!qC*GPGuG1Vh$~lP9`%3)Jja`u;RKih1ij1CkeM3Z+)g~Rl&@!Y_-HWO2WMy)NQbTI~X`W?BX~h|5|S+elx5nJ$B7AjL8Nih1G1Y4*DTx( z4+F8Vt2DDo6%thSdzdg#+7gd;5u)HZO;rlVH3+1W;ZwE*tN`@V|yKH z8lt9(_jAq#A;dF>kP+%12p1S&hLs6PK<@%TI}<_Ww0)+hzvbODhG&f*;El9mk`REh zAefla1#t56p*dS-!;W@_*KcEo-i?*lwa3doS;3Swtip{o#6LSqAJ3nmDP5IO<{pv_>J3qs&UYPE?m zs}L$8MwD?foCjc__3wx}MI;D5A`BhW`RI{AZX|#Z$URX?K--rz{8i@%O?hq|umSTw zf55{WUoIG=xfGO@kYCG*`u4!K#wGqc({Tp&Z;V2CU(p+cA<-O3x9R21r28_)9@Y@3 zvbWLWNO6%3n=mX1GqM_vU^V-Hq@m~DYicHukyex=^`15%tOl@lAY_kXs~ANEj{NX;Bq1aop#xBN@BltT>=k$WS9ggc7jLK%RvpG8#dM`%<|JBy=i|BcFym_`@QKB+_gE{yI0kp(2?k zK=glRs%8oXW5YMYs;YGa-lCXyVy5@4f?{xc{!;WZ72Q7D7l~1#0Dd$lF&+r9&SqP3 zwUDssB=nLVkZFC%uE>OfmP!?`>k9*5dk?ai--~&OV(OuB)M7QMNK{-#+@sNb|KTKZ zF*JONMioRNQ#*+V*jy6Fze>BvgWNnGlgaG#;jbdt>L=r}VfwCzO#U~&i5Og8j zmk-Auh5G(m#PK#ikx%j|dbm0s_@}goMi~?Bz;An{^2ziNbR`iFx}`$Imf1@5Qe2X?3r-2}{ZE%YFT?R? zH}+%R?smNTv=}bY-@W2^@(9DuKQ`L>Fl+OW(k$RnCXuAyH)(ycJy~?ae1=yC-4u|z zYb4grla@GQ658bYt}I}^YU-8^OS6>Qjj4X{NUxn^q)&A%dP+Q;6`OPs6t}MXUqNB62$+uxNd&l*pZ& z%=Xn>JkG(ynER{JJX^?u2q1k^zhW5&!3WmJpfj_TMQ!}4K(=zlo}Tl&rAUY}E1gJ; z4QsOt=bB;*n3E}CK?^M;7zn!| zY;Bcdq+}5~Y7=Yf_Z#&ccRUxlm>DC%$0b3)8s zg#Z{%43OwfNC&(LVgqjQeTq1wK!gP`4g)fF==119lYu7p5eQSev}*-*Fb1Df zo+SjFBZ#025&#u}>R#P#({N=}>CKVf(F3zCG{s@j2lTt~F)l*T>Pk=MxaP@FxXB<@ z)xyxaG!vJjwG{N8K)3CzLPhvei9|+~B}oKPBC3Rjr^F8Z5YP+-13)Q+1vGQ^r{qYc zrY0KX0PLzARHfn|WV1^ON?nr{zQK#LuM0+kgrMGiX_%*Ds9 zyOI_srWce%{z+VTiLkt$iFRE?XF`&rfH)M$6J#t6GeD$C6bo%+Wr0%w0PNj{;wvGR zGLQ-+1q)b!AThOwN>bEX<*>%kN`Ns`MPf)mVNzBUYYS@HR8c@kl_Z%5>HGJ$T669B zx1Ao|x_>*-cn7#m_ln*&nOIO?92>u#fz0a6Kud6eupxt%W5Lbh&9zJKn1i4=Z5d4j zaS+;w$*Q4Xg?7@g%EMis$MuK3b8R#so zXp$^D$a|^c@cKNA-S3~d21f|yCQfpAaZ(yiXB4o zY8mzV-jOq!kOG7rd;Y3S;nLn43w*328_nZ9Tfc&dFrbAv9@W#0kyQJ z;;)TVfK>ceS9b12pG@ypY1Jd_4+U^wNCu5^md8L_4_cH`Gd=UN*qf6{kwTQHR3kTMbdX64C2DD!R_3L8X(xiG_pm zsYdeHX1g9NX(!u+SO$i%cl$qV3@*b}x3wOc6xJSf(R z%+4`P&O=0dZHQ%j^$p<&HpzsCmL(xFly*CaVi=Nx2^=Hm-Sk~($2+PA=FC`o;=aj# z59@~Z*|@<>vQ&pveKAs^7zI%kQ$|pB*vLc+*+>OEM#P^fC9_2AR zP}f#E!>%$9O~JcrrQ2ougxbx_KBNmlxm(3N%2#71ZR$#+3nEl#CMhv(NN6PprVAA4 zHK+=S9{e&U$e~h&w$LqXVOc>XvY?H=Y?NHKTWvlJz|zGJj@jaetc*Wi9;gyf>i{^b z#-M2Y$4z$b4{W-s{B_87BlTwh=tZUP4-;eYgQ;^vlkzRyg12XSyY$@)l`wLKt>Q=& z*z*u*cXtv(NRu|5Zxa`x$oGo1g+|hmS~6^ske#e2+{{ByKzx>;E;`RzXQ>E-qIP3A zmS{}FWY#gu;gGgBqg}#N1k4uB7r6m7lw(WboX0rbPW_bD91Rda^^OrZW+=l;gf=Dc z=s+fM^iTwd+dOVe1>7VRr132&Vh*Tk5<(JTBYwJj)_I3nB>NJ}n9~@-W+QoHD{fmO z#IqSw)>|5T>5$gk#^w;oHv8=XJyuvqqO=y}%`x6Msf=7mvDa}{&N`N+LdIk~W~L4w zYcA9<7E2Sxc&$L~YGPpJP>ZJ)!^1JPOoX77RV>FaT{|(A{h@ZiL3c$P9euH=JEx+; zF3Txm?du#0fZ1nU_3E{iDob{Df}i}eFErT4%R(! zZ=157qM*Z?D{3*3!ZraQgi+)<*e)7rTWga-9obbw#1C~il9rR%k;}S+lA0-s8-c|)BuBT$ z-dGVFbyJzvIP4+a1EkV)n51O3dhENfn2JS(8ryKSBIJP*jyE-|jBb>nv1&ID6!hf>gbk0w2o&If!}T=aL>}GIdiuCu%={qzev_djs92 zzJq7;P*n0u`no`Y4hLN+w^zxHztALM?j01OO(i$9te}e*m=Zl zJ81qSh0nZ?Pf<2UpvU%mFWzL5)F_^hTY-_odU@j}$W#)UbR51cGD0Qvv5Hc#2o8)!kTm!#h7m7WC1`1(c3G{2a2ee>z2b_Ds+^g?J0JHVQO%f=4Fq3Apv1mw1 zVmm`o@E?d}Jy7cS$f+0r%VE%fBQC>JAFp<4 z@~5jP2e~a1e_=KY4jX$`*HwD3o@jN{hIEWH?QF(@so^YJ6Ay$ql^A9$myjJXuuVkF zl#R|Ts&FTZqekYG1gTt0w1UI+fbiaQ9G#J19gyT + #include + #include +@@ -31,8 +34,10 @@ + #include + #include + +-#include +-#include ++#include "ldconfig.h" ++#include "dl-cache.h" ++# define N_(msgid) msgid ++#define _(msg) msg + + struct cache_entry + { +Index: ldconfig-native-2.12.1/chroot_canon.c +=================================================================== +--- ldconfig-native-2.12.1.orig/chroot_canon.c ++++ ldconfig-native-2.12.1/chroot_canon.c +@@ -17,6 +17,9 @@ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + ++#define _LARGEFILE64_SOURCE ++#define _GNU_SOURCE ++ + #include + #include + #include +@@ -27,7 +30,9 @@ + #include + #include + +-#include ++#include "ldconfig.h" ++ ++#define __set_errno(Val) errno = (Val) + + #ifndef PATH_MAX + #define PATH_MAX 1024 +Index: ldconfig-native-2.12.1/dl-cache.c +=================================================================== +--- ldconfig-native-2.12.1.orig/dl-cache.c ++++ ldconfig-native-2.12.1/dl-cache.c +@@ -20,12 +20,12 @@ + + #include + #include +-#include ++//#include "ldsodefs.h" + #include + #include + #include + +-#include ++//#include "_itoa.h" + + #ifndef _DL_PLATFORMS_COUNT + # define _DL_PLATFORMS_COUNT 0 +@@ -39,103 +39,7 @@ static size_t cachesize; + /* 1 if cache_data + PTR points into the cache. */ + #define _dl_cache_verify_ptr(ptr) (ptr < cache_data_size) + +-#define SEARCH_CACHE(cache) \ +-/* We use binary search since the table is sorted in the cache file. \ +- The first matching entry in the table is returned. \ +- It is important to use the same algorithm as used while generating \ +- the cache file. */ \ +-do \ +- { \ +- left = 0; \ +- right = cache->nlibs - 1; \ +- \ +- while (left <= right) \ +- { \ +- __typeof__ (cache->libs[0].key) key; \ +- \ +- middle = (left + right) / 2; \ +- \ +- key = cache->libs[middle].key; \ +- \ +- /* Make sure string table indices are not bogus before using \ +- them. */ \ +- if (! _dl_cache_verify_ptr (key)) \ +- { \ +- cmpres = 1; \ +- break; \ +- } \ +- \ +- /* Actually compare the entry with the key. */ \ +- cmpres = _dl_cache_libcmp (name, cache_data + key); \ +- if (__builtin_expect (cmpres == 0, 0)) \ +- { \ +- /* Found it. LEFT now marks the last entry for which we \ +- know the name is correct. */ \ +- left = middle; \ +- \ +- /* There might be entries with this name before the one we \ +- found. So we have to find the beginning. */ \ +- while (middle > 0) \ +- { \ +- __typeof__ (cache->libs[0].key) key; \ +- \ +- key = cache->libs[middle - 1].key; \ +- /* Make sure string table indices are not bogus before \ +- using them. */ \ +- if (! _dl_cache_verify_ptr (key) \ +- /* Actually compare the entry. */ \ +- || _dl_cache_libcmp (name, cache_data + key) != 0) \ +- break; \ +- --middle; \ +- } \ +- \ +- do \ +- { \ +- int flags; \ +- __typeof__ (cache->libs[0]) *lib = &cache->libs[middle]; \ +- \ +- /* Only perform the name test if necessary. */ \ +- if (middle > left \ +- /* We haven't seen this string so far. Test whether the \ +- index is ok and whether the name matches. Otherwise \ +- we are done. */ \ +- && (! _dl_cache_verify_ptr (lib->key) \ +- || (_dl_cache_libcmp (name, cache_data + lib->key) \ +- != 0))) \ +- break; \ +- \ +- flags = lib->flags; \ +- if (_dl_cache_check_flags (flags) \ +- && _dl_cache_verify_ptr (lib->value)) \ +- { \ +- if (best == NULL || flags == GLRO(dl_correct_cache_id)) \ +- { \ +- HWCAP_CHECK; \ +- best = cache_data + lib->value; \ +- \ +- if (flags == GLRO(dl_correct_cache_id)) \ +- /* We've found an exact match for the shared \ +- object and no general `ELF' release. Stop \ +- searching. */ \ +- break; \ +- } \ +- } \ +- } \ +- while (++middle <= right); \ +- break; \ +- } \ +- \ +- if (cmpres < 0) \ +- left = middle + 1; \ +- else \ +- right = middle - 1; \ +- } \ +- } \ +-while (0) +- +- + int +-internal_function + _dl_cache_libcmp (const char *p1, const char *p2) + { + while (*p1 != '\0') +@@ -172,139 +76,3 @@ _dl_cache_libcmp (const char *p1, const + } + return *p1 - *p2; + } +- +- +-/* Look up NAME in ld.so.cache and return the file name stored there, +- or null if none is found. */ +- +-const char * +-internal_function +-_dl_load_cache_lookup (const char *name) +-{ +- int left, right, middle; +- int cmpres; +- const char *cache_data; +- uint32_t cache_data_size; +- const char *best; +- +- /* Print a message if the loading of libs is traced. */ +- if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_LIBS, 0)) +- _dl_debug_printf (" search cache=%s\n", LD_SO_CACHE); +- +- if (cache == NULL) +- { +- /* Read the contents of the file. */ +- void *file = _dl_sysdep_read_whole_file (LD_SO_CACHE, &cachesize, +- PROT_READ); +- +- /* We can handle three different cache file formats here: +- - the old libc5/glibc2.0/2.1 format +- - the old format with the new format in it +- - only the new format +- The following checks if the cache contains any of these formats. */ +- if (file != MAP_FAILED && cachesize > sizeof *cache +- && memcmp (file, CACHEMAGIC, sizeof CACHEMAGIC - 1) == 0) +- { +- size_t offset; +- /* Looks ok. */ +- cache = file; +- +- /* Check for new version. */ +- offset = ALIGN_CACHE (sizeof (struct cache_file) +- + cache->nlibs * sizeof (struct file_entry)); +- +- cache_new = (struct cache_file_new *) ((void *) cache + offset); +- if (cachesize < (offset + sizeof (struct cache_file_new)) +- || memcmp (cache_new->magic, CACHEMAGIC_VERSION_NEW, +- sizeof CACHEMAGIC_VERSION_NEW - 1) != 0) +- cache_new = (void *) -1; +- } +- else if (file != MAP_FAILED && cachesize > sizeof *cache_new +- && memcmp (file, CACHEMAGIC_VERSION_NEW, +- sizeof CACHEMAGIC_VERSION_NEW - 1) == 0) +- { +- cache_new = file; +- cache = file; +- } +- else +- { +- if (file != MAP_FAILED) +- __munmap (file, cachesize); +- cache = (void *) -1; +- } +- +- assert (cache != NULL); +- } +- +- if (cache == (void *) -1) +- /* Previously looked for the cache file and didn't find it. */ +- return NULL; +- +- best = NULL; +- +- if (cache_new != (void *) -1) +- { +- uint64_t platform; +- +- /* This is where the strings start. */ +- cache_data = (const char *) cache_new; +- +- /* Now we can compute how large the string table is. */ +- cache_data_size = (const char *) cache + cachesize - cache_data; +- +- platform = _dl_string_platform (GLRO(dl_platform)); +- if (platform != (uint64_t) -1) +- platform = 1ULL << platform; +- +-#define _DL_HWCAP_TLS_MASK (1LL << 63) +- uint64_t hwcap_exclude = ~((GLRO(dl_hwcap) & GLRO(dl_hwcap_mask)) +- | _DL_HWCAP_PLATFORM | _DL_HWCAP_TLS_MASK); +- +- /* Only accept hwcap if it's for the right platform. */ +-#define HWCAP_CHECK \ +- if (lib->hwcap & hwcap_exclude) \ +- continue; \ +- if (GLRO(dl_osversion) && lib->osversion > GLRO(dl_osversion)) \ +- continue; \ +- if (_DL_PLATFORMS_COUNT \ +- && (lib->hwcap & _DL_HWCAP_PLATFORM) != 0 \ +- && (lib->hwcap & _DL_HWCAP_PLATFORM) != platform) \ +- continue +- SEARCH_CACHE (cache_new); +- } +- else +- { +- /* This is where the strings start. */ +- cache_data = (const char *) &cache->libs[cache->nlibs]; +- +- /* Now we can compute how large the string table is. */ +- cache_data_size = (const char *) cache + cachesize - cache_data; +- +-#undef HWCAP_CHECK +-#define HWCAP_CHECK do {} while (0) +- SEARCH_CACHE (cache); +- } +- +- /* Print our result if wanted. */ +- if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_LIBS, 0) +- && best != NULL) +- _dl_debug_printf (" trying file=%s\n", best); +- +- return best; +-} +- +-#ifndef MAP_COPY +-/* If the system does not support MAP_COPY we cannot leave the file open +- all the time since this would create problems when the file is replaced. +- Therefore we provide this function to close the file and open it again +- once needed. */ +-void +-_dl_unload_cache (void) +-{ +- if (cache != NULL && cache != (struct cache_file *) -1) +- { +- __munmap (cache, cachesize); +- cache = NULL; +- } +-} +-#endif +Index: ldconfig-native-2.12.1/dl-cache.h +=================================================================== +--- ldconfig-native-2.12.1.orig/dl-cache.h ++++ ldconfig-native-2.12.1/dl-cache.h +@@ -101,5 +101,4 @@ struct cache_file_new + (((addr) + __alignof__ (struct cache_file_new) -1) \ + & (~(__alignof__ (struct cache_file_new) - 1))) + +-extern int _dl_cache_libcmp (const char *p1, const char *p2) +- internal_function; ++extern int _dl_cache_libcmp (const char *p1, const char *p2); +Index: ldconfig-native-2.12.1/ldconfig.c +=================================================================== +--- ldconfig-native-2.12.1.orig/ldconfig.c ++++ ldconfig-native-2.12.1/ldconfig.c +@@ -16,6 +16,9 @@ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + ++#define _LARGEFILE64_SOURCE ++#define _GNU_SOURCE ++ + #define PROCINFO_CLASS static + #include + #include +@@ -39,10 +42,20 @@ + #include + #include + +-#include +-#include ++#include "ldconfig.h" ++#include "dl-cache.h" ++ ++#include "dl-procinfo.h" ++ ++#include "argp.h" ++ ++ ++#define SYSCONFDIR "/etc" ++#define LIBDIR "/usr/lib" ++#define SLIBDIR "/lib" ++# define N_(msgid) msgid ++#define _(msg) msg + +-#include + + #ifdef _DL_FIRST_PLATFORM + # define _DL_FIRST_EXTRA (_DL_FIRST_PLATFORM + _DL_PLATFORMS_COUNT) +@@ -55,7 +68,7 @@ + #endif + + /* Get libc version number. */ +-#include ++#include "version.h" + + #define PACKAGE _libc_intl_domainname + +@@ -152,8 +165,8 @@ static const struct argp_option options[ + { NULL, 0, NULL, 0, NULL, 0 } + }; + +-#define PROCINFO_CLASS static +-#include ++//#define PROCINFO_CLASS static ++//#include + + /* Short description of program. */ + static const char doc[] = N_("Configure Dynamic Linker Run Time Bindings."); +@@ -291,6 +304,7 @@ parse_opt (int key, char *arg, struct ar + return 0; + } + ++#define REPORT_BUGS_TO "mailing list : poky@yoctoproject.org" + /* Print bug-reporting information in the help message. */ + static char * + more_help (int key, const char *text, void *input) +@@ -315,7 +329,7 @@ For bug reporting instructions, please s + static void + print_version (FILE *stream, struct argp_state *state) + { +- fprintf (stream, "ldconfig %s%s\n", PKGVERSION, VERSION); ++ fprintf (stream, "ldconfig (Hacked Poky Version)\n"); + fprintf (stream, gettext ("\ + Copyright (C) %s Free Software Foundation, Inc.\n\ + This is free software; see the source for copying conditions. There is NO\n\ +@@ -1233,6 +1247,7 @@ set_hwcap (void) + hwcap_mask = strtoul (mask, NULL, 0); + } + ++const char _libc_intl_domainname[] = "libc"; + + int + main (int argc, char **argv) +Index: ldconfig-native-2.12.1/readlib.c +=================================================================== +--- ldconfig-native-2.12.1.orig/readlib.c ++++ ldconfig-native-2.12.1/readlib.c +@@ -22,6 +22,9 @@ + development version. Besides the simplification, it has also been + modified to read some other file formats. */ + ++#define _LARGEFILE64_SOURCE ++#define _GNU_SOURCE ++ + #include + #include + #include +@@ -35,7 +38,9 @@ + #include + #include + +-#include ++#include "ldconfig.h" ++ ++#define _(msg) msg + + #define Elf32_CLASS ELFCLASS32 + #define Elf64_CLASS ELFCLASS64 +Index: ldconfig-native-2.12.1/xstrdup.c +=================================================================== +--- ldconfig-native-2.12.1.orig/xstrdup.c ++++ ldconfig-native-2.12.1/xstrdup.c +@@ -16,15 +16,10 @@ + 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 ++#define _GNU_SOURCE ++ ++#include + +-#if defined STDC_HEADERS || defined HAVE_STRING_H || _LIBC +-# include +-#else +-# include +-#endif + void *xmalloc (size_t n) __THROW; + char *xstrdup (char *string) __THROW; + diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch new file mode 100644 index 0000000..27bc411 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch @@ -0,0 +1,36 @@ +Upstream-Status: Pending + +Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149 + +Nitin A Kamble 2011/03/29 + +--- ldconfig-native-2.12.1.orig/ldconfig.c ++++ ldconfig-native-2.12.1/ldconfig.c +@@ -1359,14 +1359,9 @@ main (int argc, char **argv) + + const char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE; + if (opt_chroot) +- { +- aux_cache_file = chroot_canon (opt_chroot, aux_cache_file); +- if (aux_cache_file == NULL) +- error (EXIT_FAILURE, errno, _("Can't open cache file %s\n"), +- _PATH_LDCONFIG_AUX_CACHE); +- } ++ aux_cache_file = chroot_canon (opt_chroot, aux_cache_file); + +- if (! opt_ignore_aux_cache) ++ if (! opt_ignore_aux_cache && aux_cache_file) + load_aux_cache (aux_cache_file); + else + init_aux_cache (); +@@ -1376,7 +1371,8 @@ main (int argc, char **argv) + if (opt_build_cache) + { + save_cache (cache_file); +- save_aux_cache (aux_cache_file); ++ if (aux_cache_file) ++ save_aux_cache (aux_cache_file); + } + + return 0; + diff --git a/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native_2.12.1.bb b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native_2.12.1.bb new file mode 100644 index 0000000..63ef95b --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/ldconfig-native_2.12.1.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "A standalone native ldconfig build" + +LICENSE = "GPLv2+" + +LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=17;md5=1d15f20937c055cb5de2329a4c054399" + +SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \ + file://ldconfig.patch \ + file://ldconfig_aux-cache_path_fix.patch \ + file://32and64bit.patch \ + file://endian-ness_handling.patch \ + file://flag_fix.patch \ + file://endianess-header.patch" + +PR = "r2" + +FILESPATH = "${FILE_DIRNAME}/${PN}-${PV}/" + +inherit native + +S = "${WORKDIR}/${PN}-${PV}" + +do_compile () { + $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig +} + +do_install () { + install -d ${D}/${bindir}/ + install ldconfig ${D}/${bindir}/ +} diff --git a/meta-tizen/recipes-BaseSystem/images/tizen-core-image-minimal.bb b/meta-tizen/recipes-BaseSystem/images/tizen-core-image-minimal.bb new file mode 100644 index 0000000..d58d974 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/images/tizen-core-image-minimal.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "A small image just capable of allowing a device to boot." + +IMAGE_INSTALL = "packagegroup-tizen-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" + +IMAGE_LINGUAS = " " + +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE = "8192" + +# remove not needed ipkg informations +ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " diff --git a/meta-tizen/recipes-BaseSystem/kbd/kbd-extraconf.inc b/meta-tizen/recipes-BaseSystem/kbd/kbd-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/kbd/kbd.inc b/meta-tizen/recipes-BaseSystem/kbd/kbd.inc new file mode 100644 index 0000000..a4ae0d7 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kbd/kbd.inc @@ -0,0 +1,47 @@ +DESCRIPTION = "Tools for configuring the console (keyboard, virtual terminals, etc" +HOMEPAGE = "http://ftp.altlinux.org/pub/people/legion/kbd" +SECTION = "System Environment/Base" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by kbd-misc +PROVIDES += "kbd-misc" +RPROVIDES_kbd-misc += "kbd-misc" + +#PROVIDES by kbd +PROVIDES += "kbd" +RPROVIDES_kbd += "kbd" + + +DEPENDS = "" +#DEPENDS of kbd +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gettext" + + +RDEPENDS = "" +#RDEPENDS of kbd +# the RDEPENDS rules is ignore "kbd-misc = 1.15.3" +RDEPENDS_kbd += "kbd-misc" + + +PACKAGES = "" +PACKAGES += "kbd-misc" +PACKAGES += "kbd-" + +kbd-miscfiles = "/usr/lib/kbd " + +kbd-files = "/usr/bin/* " + +FILES_kbd-misc = "${kbd-miscfiles}" +FILES_kbd- = "${kbd-files}" + +SPECFILES = "packaging/kbd.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require kbd-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/kbd/kbd_git.bb b/meta-tizen/recipes-BaseSystem/kbd/kbd_git.bb new file mode 100644 index 0000000..fe4c211 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kbd/kbd_git.bb @@ -0,0 +1,5 @@ +require kbd.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/kbd.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod-extraconf.inc b/meta-tizen/recipes-BaseSystem/kmod/kmod-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod.inc b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc new file mode 100644 index 0000000..0b06f19 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc @@ -0,0 +1,68 @@ +DESCRIPTION = "Utilities to load modules into the kernel" +HOMEPAGE = "http://www.politreco.com/2011/12/announce-kmod-2/" +SECTION = "System/Kernel" +PRIORITY = "" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +PROVIDES = "" +#PROVIDES by libkmod-devel +PROVIDES += "libkmod-devel" +RPROVIDES_libkmod-devel += "libkmod-devel" + +#PROVIDES by kmod +PROVIDES += "kmod" +RPROVIDES_kmod += "kmod" + +#PROVIDES by kmod-compat +PROVIDES += "kmod-compat" +RPROVIDES_kmod-compat += "kmod-compat" + +#PROVIDES by libkmod +PROVIDES += "libkmod" +RPROVIDES_libkmod += "libkmod" + + +DEPENDS = "" +#DEPENDS of kmod +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" +# the DEPENDS rules is ignore "pkgconfig >= 0.21" +DEPENDS += "pkgconfig" +DEPENDS += "xz" +DEPENDS += "liblzma" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of libkmod-devel +# the RDEPENDS rules is ignore "libkmod = 9" +RDEPENDS_libkmod-devel += "libkmod" + + +PACKAGES = "" +PACKAGES += "libkmod-devel" +PACKAGES += "libkmod" +PACKAGES += "kmod-compat" +PACKAGES += "kmod-" + +libkmod-develfiles = "/usr/include/* /usr/lib64/pkgconfig/libkmod.pc /usr/lib64/libkmod.so " + +libkmodfiles = "/usr/lib64/libkmod.so.2* " + +kmod-compatfiles = "/usr/bin/lsmod /usr/sbin/depmod /usr/sbin/insmod /usr/sbin/lsmod /usr/sbin/modinfo /usr/sbin/modprobe /usr/sbin/rmmod " + +kmod-files = "/usr/bin/kmod " + +FILES_libkmod-devel = "${libkmod-develfiles}" +FILES_libkmod = "${libkmodfiles}" +FILES_kmod-compat = "${kmod-compatfiles}" +FILES_kmod- = "${kmod-files}" + +SPECFILES = "packaging/kmod.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require kmod-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod.inc~ b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc~ new file mode 100644 index 0000000..d96f812 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc~ @@ -0,0 +1,25 @@ +DESCRIPTION = "Utilities to load modules into the kernel" +HOMEPAGE = "http://www.politreco.com/2011/12/announce-kmod-2/" +SECTION = "System/Kernel" +PRIORITY = "" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +PACKAGES = "" +PACKAGES += "kmod" +PACKAGES += "libkmod" +PACKAGES += "kmod-compat" +PACKAGES_kmod += "compat" +PACKAGES += "libkmod-devel" +RPROVIDES_${PN}="compat" +DEPENDS = "" +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "pkgconfig " +DEPENDS += "xz" +DEPENDS += "liblzma" +DEPENDS += "zlib" + +RDEPENDS = "" + +S = "${WORKDIR}/git" diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod_git.bb b/meta-tizen/recipes-BaseSystem/kmod/kmod_git.bb new file mode 100644 index 0000000..8ed7385 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kmod/kmod_git.bb @@ -0,0 +1,5 @@ +require kmod.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/kmod.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-extraconf.inc b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc new file mode 100644 index 0000000..6397038 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc @@ -0,0 +1,60 @@ +DESCRIPTION = "An alternate POSIX capabilities library" +HOMEPAGE = "http://people.redhat.com/sgrubb/libcap-ng" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libcap-ng-devel +PROVIDES += "libcap-ng-devel" +RPROVIDES_libcap-ng-devel += "libcap-ng-devel" + +#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" + + +DEPENDS = "" +#DEPENDS of libcap-ng +# the DEPENDS rules is ignore "kernel-headers >= 2.6.11" +DEPENDS += "kernel-headers" +DEPENDS += "libattr" +DEPENDS += "pkg-config" +DEPENDS += "python" + + +RDEPENDS = "" +#RDEPENDS of libcap-ng-devel +# the RDEPENDS rules is ignore "libcap-ng = 0.6.6" +RDEPENDS_libcap-ng-devel += "libcap-ng" +# the RDEPENDS rules is ignore "kernel-headers >= 2.6.11" +RDEPENDS_libcap-ng-devel += "kernel-headers" +RDEPENDS_libcap-ng-devel += "pkgconfig" + + +PACKAGES = "" +PACKAGES += "libcap-ng-" +PACKAGES += "libcap-ng-devel" +PACKAGES += "libcap-ng-utils" + +libcap-ng-files = "" + +libcap-ng-develfiles = "/usr/lib64/pkgconfig/libcap-ng.pc " + +libcap-ng-utilsfiles = " " + +FILES_libcap-ng- = "${libcap-ng-files}" +FILES_libcap-ng-devel = "${libcap-ng-develfiles}" +FILES_libcap-ng-utils = "${libcap-ng-utilsfiles}" + +SPECFILES = "packaging/libcap-ng.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libcap-ng-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc~ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc~ new file mode 100644 index 0000000..8b56411 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc~ @@ -0,0 +1,30 @@ +DESCRIPTION = "An alternate POSIX capabilities library" +HOMEPAGE = "http://people.redhat.com/sgrubb/libcap-ng" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "LGPL-2.1+" + +PACKAGES = "" +PACKAGES += "libcap-ng" +PACKAGES += "libcap-ng-devel" +PACKAGES += "libcap-ng-utils" + +PROVIDES = "" +PROVIDES += "libcap-ng" +PROVIDES += "libcap-ng-devel" +PROVIDES += "libcap-ng-utils" + +DEPENDS = "" +DEPENDS += "kernel-headers " +DEPENDS += "libattr-devel" +DEPENDS += "pkg-config" +DEPENDS += "python" + +RDEPENDS = "" + +SPECFILES = "packaging/libcap-ng.spec" + +S = "${WORKDIR}/git" +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libcap-ng-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng_git.bb b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng_git.bb new file mode 100644 index 0000000..163ee07 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng_git.bb @@ -0,0 +1,5 @@ +require libcap-ng.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libcap-ng.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/net-tools/net-tools-extraconf.inc b/meta-tizen/recipes-BaseSystem/net-tools/net-tools-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc b/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc new file mode 100644 index 0000000..7f08e93 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Basic networking tools" +HOMEPAGE = "" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPLv2+" + +PROVIDES = "" +#PROVIDES by net-tools +PROVIDES += "net-tools" +RPROVIDES_net-tools += "net-tools" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "net-tools-" + +net-tools-files = "GPLv2+ COPYING /usr/bin/netstat /usr/sbin/ifconfig /usr/sbin/route /sbin/arp /sbin/ipmaddr /sbin/iptunnel /sbin/nameif /sbin/plipconfig /sbin/slattach /sbin/mii-tool " + +FILES_net-tools- = "${net-tools-files}" + +SPECFILES = "packaging/net-tools.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require net-tools-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/net-tools/net-tools_git.bb b/meta-tizen/recipes-BaseSystem/net-tools/net-tools_git.bb new file mode 100644 index 0000000..cc9e3f1 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/net-tools/net-tools_git.bb @@ -0,0 +1,5 @@ +require net-tools.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/net-tools.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/nspr/nspr-extraconf.inc b/meta-tizen/recipes-BaseSystem/nspr/nspr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/nspr/nspr.inc b/meta-tizen/recipes-BaseSystem/nspr/nspr.inc new file mode 100644 index 0000000..6756c2a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/nspr/nspr.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "Netscape Portable Runtime" +HOMEPAGE = "http://www.mozilla.org/projects/nspr/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MPL-2.0" + +PROVIDES = "" +#PROVIDES by nspr-devel +PROVIDES += "nspr-devel" +RPROVIDES_nspr-devel += "nspr-devel" + +#PROVIDES by nspr +PROVIDES += "nspr" +RPROVIDES_nspr += "nspr" + + +DEPENDS = "" +#DEPENDS of nspr +DEPENDS += "gcc" +DEPENDS += "pkg-config" + + +RDEPENDS = "" +#RDEPENDS of nspr-devel +# the RDEPENDS rules is ignore "nspr = 4.9.2" +RDEPENDS_nspr-devel += "nspr" + + +PACKAGES = "" +PACKAGES += "nspr-" +PACKAGES += "nspr-devel" + +nspr-files = "/usr/lib64/*.so " + +nspr-develfiles = "/usr/bin/nspr-config /usr/lib64/pkgconfig/nspr.pc /usr/include/nspr4/ /usr/lib64/nspr/ " + +FILES_nspr- = "${nspr-files}" +FILES_nspr-devel = "${nspr-develfiles}" + +SPECFILES = "packaging/nspr.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require nspr-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/nspr/nspr_git.bb b/meta-tizen/recipes-BaseSystem/nspr/nspr_git.bb new file mode 100644 index 0000000..7d9f773 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/nspr/nspr_git.bb @@ -0,0 +1,5 @@ +require nspr.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/nspr.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb b/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb new file mode 100644 index 0000000..699d8f8 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb @@ -0,0 +1,50 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# + +SUMMARY = "Minimal boot requirements" +DESCRIPTION = "The minimal set of packages required to boot the system" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r10" + +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# +# Set by the machine configuration with packages essential for device bootup +# +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" + +RDEPENDS_${PN} = "\ + e2fsprogs \ + util-linux \ + kmod-compat \ + kmod \ + tzdata \ + pwdutils \ + pam \ + setup \ + filesystem \ + systemd \ + bash \ + coreutils \ + rpm \ + rpm-security-plugin \ + curl \ + tizen-release \ + procps \ + psmisc \ + net-tools \ + kbd \ + glibc-locale \ + pciutils \ + connman \ + ca-certificates-mozilla \ + ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" + + +RRECOMMENDS_${PN} = "\ + ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" diff --git a/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb~ b/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb~ new file mode 100644 index 0000000..16ad4e3 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/packagegroups/packagegroup-tizen-core-boot.bb~ @@ -0,0 +1,49 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# + +SUMMARY = "Minimal boot requirements" +DESCRIPTION = "The minimal set of packages required to boot the system" +LICENSE = "MIT" +DEPENDS = "virtual/kernel" +PR = "r10" + +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# +# Set by the machine configuration with packages essential for device bootup +# +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" + +# For backwards compatibility after rename +RPROVIDES_${PN} = "task-core-boot" +RREPLACES_${PN} = "task-core-boot" +RCONFLICTS_${PN} = "task-core-boot" + +# Distro can override the following VIRTUAL-RUNTIME providers: +VIRTUAL-RUNTIME_dev_manager ?= "udev" +VIRTUAL-RUNTIME_login_manager ?= "tinylogin" +VIRTUAL-RUNTIME_init_manager ?= "sysvinit" +VIRTUAL-RUNTIME_initscripts ?= "initscripts" +VIRTUAL-RUNTIME_keymaps ?= "keymaps" + +RDEPENDS_${PN} = "\ + base-files \ + base-passwd \ + busybox \ + ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \ + ${VIRTUAL-RUNTIME_initscripts} \ + ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ + modutils-initscripts \ + netbase \ + ${VIRTUAL-RUNTIME_login_manager} \ + ${VIRTUAL-RUNTIME_init_manager} \ + ${VIRTUAL-RUNTIME_dev_manager} \ + ${VIRTUAL-RUNTIME_update-alternatives} \ + ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" + +RRECOMMENDS_${PN} = "\ + ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" diff --git a/meta-tizen/recipes-BaseSystem/pam/pam-extraconf.inc b/meta-tizen/recipes-BaseSystem/pam/pam-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/pam/pam.inc b/meta-tizen/recipes-BaseSystem/pam/pam.inc new file mode 100644 index 0000000..b41ef1b --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pam/pam.inc @@ -0,0 +1,65 @@ +DESCRIPTION = "PAM" +HOMEPAGE = "http://www.linux-pam.org/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "BSD and GPLv2+ and BSD with advertising" + +PROVIDES = "" +#PROVIDES by pam-modules-extra +PROVIDES += "pam-modules-extra" +RPROVIDES_pam-modules-extra += "pam-modules-extra" + +#PROVIDES by pam +PROVIDES += "pam" +RPROVIDES_pam += "pam" + +#PROVIDES by pam-devel +PROVIDES += "pam-devel" +RPROVIDES_pam-devel += "pam-devel" + + +DEPENDS = "" +#DEPENDS of pam +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "bison" +DEPENDS += "db4" +DEPENDS += "flex" +DEPENDS += "gcc" +DEPENDS += "libtool" +DEPENDS += "net-tools" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of pam-modules-extra +# the RDEPENDS rules is ignore "pam = 1.1.6" +RDEPENDS_pam-modules-extra += "pam" + +#RDEPENDS of pam-devel +# the RDEPENDS rules is ignore "pam = 1.1.6" +RDEPENDS_pam-devel += "pam" + + +PACKAGES = "" +PACKAGES += "pam-modules-extra" +PACKAGES += "pam-" +PACKAGES += "pam-devel" + +pam-modules-extrafiles = "/usr/lib64/security/pam_access.so /usr/lib64/security/pam_debug.so /usr/lib64/security/pam_echo.so /usr/lib64/security/pam_exec.so /usr/lib64/security/pam_faildelay.so /usr/lib64/security/pam_filter.so /usr/lib64/security/pam_ftp.so /usr/lib64/security/pam_group.so /usr/lib64/security/pam_issue.so /usr/lib64/security/pam_listfile.so /usr/lib64/security/pam_localuser.so /usr/lib64/security/pam_mail.so /usr/lib64/security/pam_motd.so /usr/lib64/security/pam_pwhistory.so /usr/lib64/security/pam_rhosts.so /usr/lib64/security/pam_shells.so /usr/lib64/security/pam_stress.so /usr/lib64/security/pam_tally.so /usr/lib64/security/pam_time.so /usr/lib64/security/pam_timestamp.so /usr/lib64/security/pam_umask.so /usr/lib64/security/pam_unix_acct.so /usr/lib64/security/pam_unix_auth.so /usr/lib64/security/pam_unix_passwd.so /usr/lib64/security/pam_unix_session.so /usr/lib64/security/pam_warn.so " + +pam-files = "BSD and GPLv2+ and BSD with advertising Copyright /sbin/pam_tally /sbin/pam_tally2 /etc/security/limits.conf /usr/lib64/libpam.so.* /usr/lib64/libpam_misc.so.* /usr/lib64/libpamc.so.* /usr/lib64/security/pam_deny.so /usr/lib64/security/pam_env.so /usr/lib64/security/pam_keyinit.so /usr/lib64/security/pam_limits.so /usr/lib64/security/pam_loginuid.so /usr/lib64/security/pam_namespace.so /usr/lib64/security/pam_nologin.so /usr/lib64/security/pam_permit.so /usr/lib64/security/pam_lastlog.so /usr/lib64/security/pam_rootok.so /usr/lib64/security/pam_securetty.so /usr/lib64/security/pam_succeed_if.so /usr/lib64/security/pam_unix.so /usr/lib64/security/pam_wheel.so /usr/lib64/security/pam_xauth.so /usr/lib64/security/pam_filter /usr/lib64/security/pam_mkhomedir.so /etc/pam.d/system-auth /etc/pam.d/other " + +pam-develfiles = "/usr/include/security/* /usr/lib64/libpam.so /usr/lib64/libpam_misc.so /usr/lib64/libpamc.so /usr/lib64/security/pam_tally2.so " + +FILES_pam-modules-extra = "${pam-modules-extrafiles}" +FILES_pam- = "${pam-files}" +FILES_pam-devel = "${pam-develfiles}" + +SPECFILES = "packaging/pam.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pam-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pam/pam_git.bb b/meta-tizen/recipes-BaseSystem/pam/pam_git.bb new file mode 100644 index 0000000..eff4c8a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pam/pam_git.bb @@ -0,0 +1,5 @@ +require pam.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pam.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/pciutils/pciutils-extraconf.inc b/meta-tizen/recipes-BaseSystem/pciutils/pciutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc b/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc new file mode 100644 index 0000000..91bdec5 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc @@ -0,0 +1,57 @@ +DESCRIPTION = "PCI utilities for Kernel version 2" +HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" +SECTION = "Hardware/Other" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by pciutils-devel +PROVIDES += "pciutils-devel" +RPROVIDES_pciutils-devel += "pciutils-devel" + +#PROVIDES by libpci +PROVIDES += "libpci" +RPROVIDES_libpci += "libpci" + +#PROVIDES by pciutils +PROVIDES += "pciutils" +RPROVIDES_pciutils += "pciutils" + + +DEPENDS = "" +#DEPENDS of pciutils +DEPENDS += "pkg-config" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of pciutils-devel +# the RDEPENDS rules is ignore "libpci = 3.1.9" +RDEPENDS_pciutils-devel += "libpci" + +#RDEPENDS of pciutils +RDEPENDS_pciutils += "pciutils-ids" + + +PACKAGES = "" +PACKAGES += "pciutils-" +PACKAGES += "pciutils-devel" +PACKAGES += "libpci" + +pciutils-files = "/usr/sbin/* " + +pciutils-develfiles = "/usr/include/pci/ /usr/lib64/*.so /usr/lib64/pkgconfig/libpci.pc " + +libpcifiles = "/usr/lib64/libpci.so.* " + +FILES_pciutils- = "${pciutils-files}" +FILES_pciutils-devel = "${pciutils-develfiles}" +FILES_libpci = "${libpcifiles}" + +SPECFILES = "packaging/pciutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pciutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pciutils/pciutils_git.bb b/meta-tizen/recipes-BaseSystem/pciutils/pciutils_git.bb new file mode 100644 index 0000000..daf873a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pciutils/pciutils_git.bb @@ -0,0 +1,5 @@ +require pciutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pciutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/procps/procps-extraconf.inc b/meta-tizen/recipes-BaseSystem/procps/procps-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/procps/procps.inc b/meta-tizen/recipes-BaseSystem/procps/procps.inc new file mode 100644 index 0000000..05b7603 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/procps/procps.inc @@ -0,0 +1,58 @@ +DESCRIPTION = "The ps utilities for /proc" +HOMEPAGE = "https://gitorious.org/procps" +SECTION = "System/Monitoring" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by procps-devel +PROVIDES += "procps-devel" +RPROVIDES_procps-devel += "procps-devel" + +#PROVIDES by procps +PROVIDES += "procps" +RPROVIDES_procps += "procps" +PROVIDES += "ps" +RPROVIDES_procps += "ps" + +#PROVIDES by libprocps +PROVIDES += "libprocps" +RPROVIDES_libprocps += "libprocps" + + +DEPENDS = "" +#DEPENDS of procps +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "ncurses" +DEPENDS += "pkg-config" + + +RDEPENDS = "" +#RDEPENDS of procps-devel +# the RDEPENDS rules is ignore "libprocps = 3.3.5" +RDEPENDS_procps-devel += "libprocps" + + +PACKAGES = "" +PACKAGES += "procps-devel" +PACKAGES += "procps-" +PACKAGES += "libprocps" + +procps-develfiles = "/usr/include/proc/alloc.h /usr/include/proc/devname.h /usr/include/proc/escape.h /usr/include/proc/procps.h /usr/include/proc/pwcache.h /usr/include/proc/readproc.h /usr/include/proc/sig.h /usr/include/proc/slab.h /usr/include/proc/sysinfo.h /usr/include/proc/version.h /usr/include/proc/wchan.h /usr/include/proc/whattime.h /usr/lib64/libprocps.so /usr/lib64/pkgconfig/libprocps.pc " + +procps-files = "/usr/bin/ps /usr/bin/pgrep /usr/bin/pkill /usr/sbin/sysctl /usr/bin/free /usr/bin/pmap /usr/bin/pwdx /usr/bin/skill /usr/bin/slabtop /usr/bin/snice /usr/bin/tload /usr/bin/top /usr/bin/vmstat /usr/bin/w /usr/bin/watch /lib/sysctl.d/*.conf " + +libprocpsfiles = "/usr/lib64/libprocps.so.1 /usr/lib64/libprocps.so.1.0.0 " + +FILES_procps-devel = "${procps-develfiles}" +FILES_procps- = "${procps-files}" +FILES_libprocps = "${libprocpsfiles}" + +SPECFILES = "packaging/procps.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require procps-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/procps/procps_git.bb b/meta-tizen/recipes-BaseSystem/procps/procps_git.bb new file mode 100644 index 0000000..baba56f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/procps/procps_git.bb @@ -0,0 +1,5 @@ +require procps.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/procps.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/psmisc/psmisc-extraconf.inc b/meta-tizen/recipes-BaseSystem/psmisc/psmisc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc b/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc new file mode 100644 index 0000000..cf569bd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "Utilities for managing processes on your system" +HOMEPAGE = "http://sourceforge.net/projects/psmisc/" +SECTION = "System/Monitoring" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by psmisc +PROVIDES += "psmisc" +RPROVIDES_psmisc += "psmisc" +PROVIDES += "ps:/usr/bin/killall" +RPROVIDES_psmisc += "ps:/usr/bin/killall" + + +DEPENDS = "" +#DEPENDS of psmisc +DEPENDS += "automake" +DEPENDS += "gcc" +DEPENDS += "glibc" +DEPENDS += "ncurses" +DEPENDS += "gettext-tools" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "psmisc-" + +psmisc-files = "/usr/bin/fuser /usr/bin/killall /usr/bin/peekfd /usr/bin/prtstat /usr/bin/pstree /usr/bin/pstree.x11 " + +FILES_psmisc- = "${psmisc-files}" + +SPECFILES = "packaging/psmisc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require psmisc-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/psmisc/psmisc_git.bb b/meta-tizen/recipes-BaseSystem/psmisc/psmisc_git.bb new file mode 100644 index 0000000..a869290 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/psmisc/psmisc_git.bb @@ -0,0 +1,5 @@ +require psmisc.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/psmisc.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-extraconf.inc b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc new file mode 100644 index 0000000..ee5a8cd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "Utilities to Manage User and Group Accounts" +HOMEPAGE = "http://www.thkukuk.de/pam/pwdutils/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PROVIDES = "" +#PROVIDES by pwdutils +PROVIDES += "pwdutils" +RPROVIDES_pwdutils += "pwdutils" + + +DEPENDS = "" +#DEPENDS of pwdutils +DEPENDS += "libtool" +DEPENDS += "openssl" +DEPENDS += "pam" +DEPENDS += "gettext-tools" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "pwdutils-" + +pwdutils-files = "/usr/bin/sg /usr/sbin/chpasswd /usr/sbin/groupadd /usr/sbin/groupdel /usr/sbin/groupmod /usr/sbin/grpck /usr/sbin/grpconv /usr/sbin/grpunconv /usr/sbin/pwck /usr/sbin/pwconv /usr/sbin/pwunconv /usr/sbin/useradd /usr/sbin/userdel /usr/sbin/usermod /usr/sbin/vigr /usr/sbin/vipw /usr/lib64/pwdutils/liblog_syslog.so.1* " + +FILES_pwdutils- = "${pwdutils-files}" + +SPECFILES = "packaging/pwdutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pwdutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils_git.bb b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils_git.bb new file mode 100644 index 0000000..7b60ce8 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils_git.bb @@ -0,0 +1,5 @@ +require pwdutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pwdutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/readline/readline-extraconf.inc b/meta-tizen/recipes-BaseSystem/readline/readline-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/readline/readline.inc b/meta-tizen/recipes-BaseSystem/readline/readline.inc new file mode 100644 index 0000000..bfd98d6 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/readline/readline.inc @@ -0,0 +1,57 @@ +DESCRIPTION = "The Readline Library" +HOMEPAGE = "http://www.gnu.org/software/bash/bash.html" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by libreadline +PROVIDES += "libreadline" +RPROVIDES_libreadline += "libreadline" + +#PROVIDES by readline +PROVIDES += "readline" +RPROVIDES_readline += "readline" +PROVIDES += "bash://usr/lib64/libreadline.so.5" +RPROVIDES_readline += "bash://usr/lib64/libreadline.so.5" + +#PROVIDES by readline-devel +PROVIDES += "readline-devel" +RPROVIDES_readline-devel += "readline-devel" +PROVIDES += "bash:/usr/lib64/libreadline.a" +RPROVIDES_readline-devel += "bash:/usr/lib64/libreadline.a" + + +DEPENDS = "" +#DEPENDS of readline +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "fdupes" +DEPENDS += "ncurses" + + +RDEPENDS = "" +#RDEPENDS of readline-devel +# the RDEPENDS rules is ignore "libreadline = 5.2" +RDEPENDS_readline-devel += "libreadline" +RDEPENDS_readline-devel += "ncurses-devel" + + +PACKAGES = "" +PACKAGES += "libreadline" +PACKAGES += "readline-devel" + +libreadlinefiles = "/usr/lib64/libhistory.so.5 /usr/lib64/libhistory.so.5.2 /usr/lib64/libreadline.so.5 /usr/lib64/libreadline.so.5.2 " + +readline-develfiles = "/usr/include/readline/ /usr/lib64/libhistory.a /usr/lib64/libhistory.so /usr/lib64/libreadline.a /usr/lib64/libreadline.so " + +FILES_libreadline = "${libreadlinefiles}" +FILES_readline-devel = "${readline-develfiles}" + +SPECFILES = "packaging/readline.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require readline-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/readline/readline_git.bb b/meta-tizen/recipes-BaseSystem/readline/readline_git.bb new file mode 100644 index 0000000..ad0dd4f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/readline/readline_git.bb @@ -0,0 +1,5 @@ +require readline.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/readline.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm-extraconf.inc b/meta-tizen/recipes-BaseSystem/rpm/rpm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm.inc b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc new file mode 100644 index 0000000..a52bb62 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "The RPM Package Manager" +HOMEPAGE = "" +SECTION = "System/Packages" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by rpm-security-plugin +PROVIDES += "rpm-security-plugin" +RPROVIDES_rpm-security-plugin += "rpm-security-plugin" + +#PROVIDES by rpm-devel +PROVIDES += "rpm-devel" +RPROVIDES_rpm-devel += "rpm-devel" + +#PROVIDES by rpm +PROVIDES += "rpm" +RPROVIDES_rpm += "rpm" +PROVIDES += "rpminst" +RPROVIDES_rpm += "rpminst" +PROVIDES += "rpm-libs" +RPROVIDES_rpm += "rpm-libs" + +#PROVIDES by rpm-build +PROVIDES += "rpm-build" +RPROVIDES_rpm-build += "rpm-build" +PROVIDES += "rpmbuildrpm:/usr/bin/rpmbuild" +RPROVIDES_rpm-build += "rpmbuildrpm:/usr/bin/rpmbuild" + + +DEPENDS = "" +#DEPENDS of rpm +DEPENDS += "binutils" +DEPENDS += "bzip2" +DEPENDS += "file" +DEPENDS += "findutils" +DEPENDS += "gcc" +DEPENDS += "gettext-tools" +DEPENDS += "glibc" +DEPENDS += "gzip" +DEPENDS += "libacl" +DEPENDS += "bzip2" +DEPENDS += "libcap" +DEPENDS += "libelf" +DEPENDS += "libtool" +DEPENDS += "lua" +DEPENDS += "make" +DEPENDS += "ncurses" +DEPENDS += "patch" +DEPENDS += "popt" +DEPENDS += "xz" +DEPENDS += "zlib" +DEPENDS += "nss" +DEPENDS += "uthash" +DEPENDS += "libxml2" +DEPENDS += "libattr" +DEPENDS += "libsmack" + + +RDEPENDS = "" +#RDEPENDS of rpm-security-plugin +# the RDEPENDS rules is ignore "rpm = 4.11.0.1-0" +RDEPENDS_rpm-security-plugin += "rpm" +RDEPENDS_rpm-security-plugin += "smack" +RDEPENDS_rpm-security-plugin += "libxml2" +RDEPENDS_rpm-security-plugin += "nss" + +#RDEPENDS of rpm-devel +# the RDEPENDS rules is ignore "rpm = 4.11.0.1" +RDEPENDS_rpm-devel += "rpm" +RDEPENDS_rpm-devel += "popt-devel" + +#RDEPENDS of rpm-build +# the RDEPENDS rules is ignore "rpm = 4.11.0.1" +RDEPENDS_rpm-build += "rpm" +RDEPENDS_rpm-build += "bzip2" +RDEPENDS_rpm-build += "xz" +RDEPENDS_rpm-build += "gzip" +RDEPENDS_rpm-build += "binutils" +RDEPENDS_rpm-build += "make" +RDEPENDS_rpm-build += "gcc" +RDEPENDS_rpm-build += "findutils" +RDEPENDS_rpm-build += "patch" +RDEPENDS_rpm-build += "glibc-devel" + + +PACKAGES = "" +PACKAGES += "rpm-build" +PACKAGES += "rpm-devel" +PACKAGES += "rpm-" +PACKAGES += "rpm-security-plugin" + +rpm-buildfiles = "/usr/bin/rpmbuild /usr/bin/gendiff /usr/bin/rpmspec /usr/bin/rpmsign /usr/lib64/librpmbuild.so.* /usr/lib64/librpmsign.so.* /usr/lib/rpm/tizen/find-* /usr/lib/rpm/brp-* /usr/lib/rpm/find-supplements* /usr/lib/rpm/check-* /usr/lib/rpm/debugedit /usr/lib/rpm/find-debuginfo.sh /usr/lib/rpm/find-lang.sh /usr/lib/rpm/*provides* /usr/lib/rpm/*requires* /usr/lib/rpm/*deps* /usr/lib/rpm/*.prov /usr/lib/rpm/*.req /usr/lib/rpm/macros.* /usr/lib/rpm/fileattrs " + +rpm-develfiles = "/usr/bin/rpmgraph /usr/include/rpm /usr/lib64/librpm.so /usr/lib64/librpmbuild.so /usr/lib64/librpmio.so /usr/lib64/librpmsign.so /usr/lib64/pkgconfig/rpm.pc " + +rpm-files = " /etc/rpm /bin/rpm /usr/bin/rpm2cpio /usr/bin/rpmdb /usr/bin/rpmkeys /usr/bin/rpmquery /usr/bin/rpmverify /usr/bin/rpmqpack /usr/lib/rpm/macros /usr/lib/rpm/macros.d /usr/lib/rpm/rpmpopt* /usr/lib/rpm/rpmrc /usr/lib/rpm/tizen/macros /usr/lib/rpm/tizen_macros /usr/lib/rpm/rpm.supp /usr/lib/rpm/tgpg /usr/lib/rpm/platform /usr/lib64/rpm-plugins/exec.so /usr/lib64/librpm.so.* /usr/lib64/librpmio.so.* " + +rpm-security-pluginfiles = "/usr/lib64/rpm-plugins/msm.so " + +FILES_rpm-build = "${rpm-buildfiles}" +FILES_rpm-devel = "${rpm-develfiles}" +FILES_rpm- = "${rpm-files}" +FILES_rpm-security-plugin = "${rpm-security-pluginfiles}" + +SPECFILES = "packaging/rpm.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require rpm-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm.inc~ b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc~ new file mode 100644 index 0000000..454f3aa --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc~ @@ -0,0 +1,112 @@ +DESCRIPTION = "The RPM Package Manager" +HOMEPAGE = "" +SECTION = "System/Packages" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by rpm-security-plugin +PROVIDES += "rpm-security-plugin" +RPROVIDES_rpm-security-plugin += "rpm-security-plugin" + +#PROVIDES by rpm-devel +PROVIDES += "rpm-devel" +RPROVIDES_rpm-devel += "rpm-devel" + +#PROVIDES by rpm +PROVIDES += "rpm" +RPROVIDES_rpm += "rpm" +PROVIDES += "rpminst" +RPROVIDES_rpm += "rpminst" +PROVIDES += "rpm-libs" +RPROVIDES_rpm += "rpm-libs" + +#PROVIDES by rpm-build +PROVIDES += "rpm-build" +RPROVIDES_rpm-build += "rpm-build" +PROVIDES += "rpmbuildrpm:/usr/bin/rpmbuild" +RPROVIDES_rpm-build += "rpmbuildrpm:/usr/bin/rpmbuild" + + +DEPENDS = "" +#DEPENDS of rpm +DEPENDS += "binutils" +DEPENDS += "bzip2" +DEPENDS += "file" +DEPENDS += "findutils" +DEPENDS += "gcc" +DEPENDS += "gettext" +DEPENDS += "glibc" +DEPENDS += "gzip" +DEPENDS += "libacl" +DEPENDS += "bzip2" +DEPENDS += "libcap" +DEPENDS += "libelf" +DEPENDS += "libtool" +DEPENDS += "lua" +DEPENDS += "make" +DEPENDS += "ncurses" +DEPENDS += "patch" +DEPENDS += "popt" +DEPENDS += "xz" +DEPENDS += "zlib" +DEPENDS += "nss" +DEPENDS += "uthash" +DEPENDS += "libxml2" +DEPENDS += "libattr" +DEPENDS += "libsmack" + + +RDEPENDS = "" +#RDEPENDS of rpm-security-plugin +# the RDEPENDS rules is ignore "rpm = 4.11.0.1-0" +RDEPENDS_rpm-security-plugin += "rpm" +RDEPENDS_rpm-security-plugin += "smack" +RDEPENDS_rpm-security-plugin += "libxml2" +RDEPENDS_rpm-security-plugin += "nss" + +#RDEPENDS of rpm-devel +# the RDEPENDS rules is ignore "rpm = 4.11.0.1" +RDEPENDS_rpm-devel += "rpm" +RDEPENDS_rpm-devel += "popt-devel" + +#RDEPENDS of rpm-build +# the RDEPENDS rules is ignore "rpm = 4.11.0.1" +RDEPENDS_rpm-build += "rpm" +RDEPENDS_rpm-build += "bzip2" +RDEPENDS_rpm-build += "xz" +RDEPENDS_rpm-build += "gzip" +RDEPENDS_rpm-build += "binutils" +RDEPENDS_rpm-build += "make" +RDEPENDS_rpm-build += "gcc" +RDEPENDS_rpm-build += "findutils" +RDEPENDS_rpm-build += "patch" +RDEPENDS_rpm-build += "glibc-devel" + + +PACKAGES = "" +PACKAGES += "rpm-build" +PACKAGES += "rpm-devel" +PACKAGES += "rpm-" +PACKAGES += "rpm-security-plugin" + +rpm-buildfiles = "/usr/bin/rpmbuild /usr/bin/gendiff /usr/bin/rpmspec /usr/bin/rpmsign /usr/lib64/librpmbuild.so.* /usr/lib64/librpmsign.so.* /usr/lib/rpm/tizen/find-* /usr/lib/rpm/brp-* /usr/lib/rpm/find-supplements* /usr/lib/rpm/check-* /usr/lib/rpm/debugedit /usr/lib/rpm/find-debuginfo.sh /usr/lib/rpm/find-lang.sh /usr/lib/rpm/*provides* /usr/lib/rpm/*requires* /usr/lib/rpm/*deps* /usr/lib/rpm/*.prov /usr/lib/rpm/*.req /usr/lib/rpm/macros.* /usr/lib/rpm/fileattrs " + +rpm-develfiles = "/usr/bin/rpmgraph /usr/include/rpm /usr/lib64/librpm.so /usr/lib64/librpmbuild.so /usr/lib64/librpmio.so /usr/lib64/librpmsign.so /usr/lib64/pkgconfig/rpm.pc " + +rpm-files = " /etc/rpm /bin/rpm /usr/bin/rpm2cpio /usr/bin/rpmdb /usr/bin/rpmkeys /usr/bin/rpmquery /usr/bin/rpmverify /usr/bin/rpmqpack /usr/lib/rpm/macros /usr/lib/rpm/macros.d /usr/lib/rpm/rpmpopt* /usr/lib/rpm/rpmrc /usr/lib/rpm/tizen/macros /usr/lib/rpm/tizen_macros /usr/lib/rpm/rpm.supp /usr/lib/rpm/tgpg /usr/lib/rpm/platform /usr/lib64/rpm-plugins/exec.so /usr/lib64/librpm.so.* /usr/lib64/librpmio.so.* " + +rpm-security-pluginfiles = "/usr/lib64/rpm-plugins/msm.so " + +FILES_rpm-build = "${rpm-buildfiles}" +FILES_rpm-devel = "${rpm-develfiles}" +FILES_rpm- = "${rpm-files}" +FILES_rpm-security-plugin = "${rpm-security-pluginfiles}" + +SPECFILES = "packaging/rpm.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require rpm-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm_git.bb b/meta-tizen/recipes-BaseSystem/rpm/rpm_git.bb new file mode 100644 index 0000000..a397d2f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/rpm/rpm_git.bb @@ -0,0 +1,5 @@ +require rpm.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/rpm.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/setup/setup-extraconf.inc b/meta-tizen/recipes-BaseSystem/setup/setup-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/setup/setup.inc b/meta-tizen/recipes-BaseSystem/setup/setup.inc new file mode 100644 index 0000000..a1b990f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/setup/setup.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "A set of system configuration and setup files" +HOMEPAGE = "https://fedorahosted.org/setup/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "Public Domain" + +PROVIDES = "" +#PROVIDES by setup +PROVIDES += "setup" +RPROVIDES_setup += "setup" + + +DEPENDS = "" +#DEPENDS of setup +DEPENDS += "bash" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "setup-" + +setup-files = "" + +FILES_setup- = "${setup-files}" + +SPECFILES = "packaging/setup.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require setup-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/setup/setup_git.bb b/meta-tizen/recipes-BaseSystem/setup/setup_git.bb new file mode 100644 index 0000000..c3619ed --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/setup/setup_git.bb @@ -0,0 +1,5 @@ +require setup.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/setup.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc b/meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc new file mode 100644 index 0000000..5b2feff --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc @@ -0,0 +1,2 @@ +PROVIDES += "libsystemd-daemon" +PROVIDES += "libsystemd-login" diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc~ b/meta-tizen/recipes-BaseSystem/systemd/systemd-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd.inc b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc new file mode 100644 index 0000000..8e2f8f9 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "A System and Service Manager" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" +SECTION = "" +PRIORITY = "" +LICENSE = "LGPLv2+ and MIT and GPLv2+" + +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" +PROVIDES += "/bin/systemctl" +RPROVIDES_systemd += "/bin/systemctl" +PROVIDES += "/sbin/shutdown" +RPROVIDES_systemd += "/sbin/shutdown" +# the PROVIDES rules is ignore "udev = 197" +PROVIDES += "udev" +RPROVIDES_systemd += "udev" + +#PROVIDES by libgudev-devel +PROVIDES += "libgudev-devel" +RPROVIDES_libgudev-devel += "libgudev-devel" + +#PROVIDES by systemd-devel +PROVIDES += "systemd-devel" +RPROVIDES_systemd-devel += "systemd-devel" +# the PROVIDES rules is ignore "libudev-devel = 197" +PROVIDES += "libudev-devel" +RPROVIDES_systemd-devel += "libudev-devel" + +#PROVIDES by libgudev +PROVIDES += "libgudev" +RPROVIDES_libgudev += "libgudev" + +#PROVIDES by systemd-analyze +PROVIDES += "systemd-analyze" +RPROVIDES_systemd-analyze += "systemd-analyze" + + +DEPENDS = "" +#DEPENDS of systemd +DEPENDS += "libcap" +DEPENDS += "libgcrypt" +DEPENDS += "pam" +DEPENDS += "dbus" +DEPENDS += "libxslt" +DEPENDS += "pkgconfig" +DEPENDS += "libacl" +DEPENDS += "pciutils" +DEPENDS += "glib2" +DEPENDS += "hwdata" +# the DEPENDS rules is ignore "usbutils >= 0.82" +DEPENDS += "usbutils" +# the DEPENDS rules is ignore "libblkid >= 2.20" +DEPENDS += "libblkid" +# the DEPENDS rules is ignore "intltool >= 0.40.0" +DEPENDS += "intltool" +DEPENDS += "gperf" +DEPENDS += "xz" +# the DEPENDS rules is ignore "libkmod >= 5" +DEPENDS += "libkmod" + + +RDEPENDS = "" +#RDEPENDS of libsystemd +# the RDEPENDS rules is ignore "systemd = 197-0" +RDEPENDS_libsystemd += "systemd" + +#RDEPENDS of systemd +RDEPENDS_systemd += "dbus" +RDEPENDS_systemd += "hwdata" +RDEPENDS_systemd += "filesystem" + +#RDEPENDS of libgudev-devel +# the RDEPENDS rules is ignore "libgudev = 197-0" +RDEPENDS_libgudev-devel += "libgudev" + +#RDEPENDS of systemd-devel +# the RDEPENDS rules is ignore "systemd = 197-0" +RDEPENDS_systemd-devel += "systemd" + +#RDEPENDS of libgudev +# the RDEPENDS rules is ignore "systemd = 197-0" +RDEPENDS_libgudev += "systemd" + +#RDEPENDS of systemd-analyze +# the RDEPENDS rules is ignore "systemd = 197-0" +RDEPENDS_systemd-analyze += "systemd" +RDEPENDS_systemd-analyze += "dbus-python" +RDEPENDS_systemd-analyze += "python-cairo" + + +PACKAGES = "" +PACKAGES += "libsystemd" +PACKAGES += "libgudev-devel" +PACKAGES += "systemd-devel" +PACKAGES += "systemd-" +PACKAGES += "libgudev" +PACKAGES += "systemd-analyze" + +libsystemdfiles = "/usr/lib64/security/pam_systemd.so /usr/lib64/libsystemd-daemon.so.* /usr/lib64/libsystemd-login.so.* /usr/lib64/libsystemd-journal.so.* /usr/lib64/libsystemd-id128.so.* /usr/lib64/libudev.so.* /usr/lib64/libnss_myhostname.so.2 " + +libgudev-develfiles = "/usr/lib64/libgudev-1.0.so /usr/include/gudev-1.0/gudev/*.h /usr/lib64/pkgconfig/gudev-1.0* " + +systemd-develfiles = "/usr/lib64/libsystemd-daemon.so /usr/lib64/libsystemd-login.so /usr/lib64/libsystemd-journal.so /usr/lib64/libsystemd-id128.so /usr/lib64/libudev.so /usr/include/systemd/sd-daemon.h /usr/include/systemd/sd-login.h /usr/include/systemd/sd-journal.h /usr/include/systemd/sd-id128.h /usr/include/systemd/sd-messages.h /usr/include/systemd/sd-shutdown.h /usr/include/libudev.h /usr/lib64/pkgconfig/libsystemd-daemon.pc /usr/lib64/pkgconfig/libsystemd-login.pc /usr/lib64/pkgconfig/libsystemd-journal.pc /usr/lib64/pkgconfig/libsystemd-id128.pc /usr/lib64/pkgconfig/libudev.pc " + +systemd-files = "/usr/bin/hostnamectl /usr/bin/localectl /usr/bin/systemd-coredumpctl /usr/bin/timedatectl /etc/bash_completion.d/systemd-bash-completion.sh /etc/rpm/macros.systemd /etc/xdg/systemd /usr/bin/systemd /usr/bin/systemctl /usr/bin/systemd-notify /usr/bin/systemd-ask-password /usr/bin/systemd-tty-ask-password-agent /usr/bin/systemd-machine-id-setup /usr/bin/loginctl /usr/bin/systemd-loginctl /usr/bin/journalctl /usr/bin/systemd-tmpfiles /usr/bin/systemd-nspawn /usr/bin/systemd-stdio-bridge /usr/bin/systemd-cat /usr/bin/systemd-cgls /usr/bin/systemd-cgtop /usr/bin/systemd-delta /usr/bin/systemd-detect-virt /usr/bin/systemd-inhibit /usr/bin/udevadm /usr/lib/sysctl.d/coredump.conf /usr/lib/systemd/systemd /usr/lib/systemd/system /usr/lib/systemd/user/bluetooth.target /usr/lib/systemd/user/exit.target /usr/lib/systemd/user/printer.target /usr/lib/systemd/user/shutdown.target /usr/lib/systemd/user/sockets.target /usr/lib/systemd/user/sound.target /usr/lib/systemd/user/systemd-exit.service /usr/lib/systemd/systemd-* /usr/lib/systemd/catalog/systemd.catalog /usr/lib/udev /usr/lib/systemd/system-generators/systemd-getty-generator /usr/lib/systemd/system-generators/systemd-fstab-generator /usr/lib/systemd/system-generators/systemd-system-update-generator /usr/lib/tmpfiles.d/systemd.conf /usr/lib/tmpfiles.d/x11.conf /usr/lib/tmpfiles.d/tmp.conf /usr/sbin/init /usr/sbin/reboot /usr/sbin/halt /usr/sbin/poweroff /usr/sbin/shutdown /usr/sbin/telinit /usr/sbin/runlevel /usr/sbin/udevadm /usr/share/systemd/kbd-model-map /usr/share/dbus-1/services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.hostname1.service /usr/share/dbus-1/system-services/org.freedesktop.login1.service /usr/share/dbus-1/system-services/org.freedesktop.locale1.service /usr/share/dbus-1/system-services/org.freedesktop.timedate1.service /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.*.xml /usr/share/dbus-1/interfaces/org.freedesktop.hostname1.xml /usr/share/dbus-1/interfaces/org.freedesktop.locale1.xml /usr/share/dbus-1/interfaces/org.freedesktop.timedate1.xml /usr/share/polkit-1/actions/org.freedesktop.systemd1.policy /usr/share/polkit-1/actions/org.freedesktop.hostname1.policy /usr/share/polkit-1/actions/org.freedesktop.login1.policy /usr/share/polkit-1/actions/org.freedesktop.locale1.policy /usr/share/polkit-1/actions/org.freedesktop.timedate1.policy /usr/share/pkgconfig/systemd.pc /usr/share/pkgconfig/udev.pc " + +libgudevfiles = "/usr/lib64/libgudev-1.0.so.* " + +systemd-analyzefiles = "/usr/bin/systemd-analyze " + +FILES_libsystemd = "${libsystemdfiles}" +FILES_libgudev-devel = "${libgudev-develfiles}" +FILES_systemd-devel = "${systemd-develfiles}" +FILES_systemd- = "${systemd-files}" +FILES_libgudev = "${libgudevfiles}" +FILES_systemd-analyze = "${systemd-analyzefiles}" + +SPECFILES = "packaging/systemd.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require systemd-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd.inc~ b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc~ new file mode 100644 index 0000000..dfcdb96 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc~ @@ -0,0 +1,43 @@ +DESCRIPTION = "A System and Service Manager" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" +SECTION = "" +PRIORITY = "" +LICENSE = "LGPLv2+ and MIT and GPLv2+" + +PROVIDES = "" +PROVIDES += "systemd" +PROVIDES += "systemd-devel" +PROVIDES += "systemd-analyze" +PROVIDES += "libgudev-devel" +PROVIDES += "libsystemd" +PROVIDES += "libgudev" + +RPROVIDES = "" +RPROVIDES += "systemd" +RPROVIDES += "systemd-devel" +RPROVIDES += "systemd-analyze" +RPROVIDES += "libgudev-devel" +RPROVIDES += "libsystemd" +RPROVIDES += "libgudev" + +DEPENDS = "" +DEPENDS += "libcap-devel" +DEPENDS += "libgcrypt-devel" +DEPENDS += "pam-devel" +DEPENDS += "dbus-devel" +DEPENDS += "libxslt" +DEPENDS += "pkgconfig" +DEPENDS += "libacl-devel" +DEPENDS += "pciutils-devel" +DEPENDS += "glib2-devel" +DEPENDS += "hwdata" +DEPENDS += "usbutils >= 0.82" +DEPENDS += "libblkid-devel >= 2.20" +DEPENDS += "intltool >= 0.40.0" +DEPENDS += "gperf" +DEPENDS += "xz-devel" +DEPENDS += "libkmod-devel >= 5" + +RDEPENDS = "" + +S = "${WORKDIR}/git" diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd_git.bb b/meta-tizen/recipes-BaseSystem/systemd/systemd_git.bb new file mode 100644 index 0000000..85c3389 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd_git.bb @@ -0,0 +1,5 @@ +require systemd.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/systemd.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-extraconf.inc b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc new file mode 100644 index 0000000..7d0f93b --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "Tizen release files" +HOMEPAGE = "" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPLv2" + +PROVIDES = "" +#PROVIDES by tizen-release +PROVIDES += "tizen-release" +RPROVIDES_tizen-release += "tizen-release" +# the PROVIDES rules is ignore "system-release = 3.0.0-1" +PROVIDES += "system-release" +RPROVIDES_tizen-release += "system-release" +# the PROVIDES rules is ignore "tizen-release = 3.0.0-1" +PROVIDES += "tizen-release" +RPROVIDES_tizen-release += "tizen-release" +# the PROVIDES rules is ignore "lsb = 4.1" +PROVIDES += "lsb" +RPROVIDES_tizen-release += "lsb" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "tizen-release-" + +tizen-release-files = "/etc/system-release " + +FILES_tizen-release- = "${tizen-release-files}" + +SPECFILES = "packaging/tizen-release.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require tizen-release-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release_git.bb b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release_git.bb new file mode 100644 index 0000000..ece8afc --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release_git.bb @@ -0,0 +1,5 @@ +require tizen-release.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/tizen-release.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc b/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc new file mode 100644 index 0000000..0c5315b --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc @@ -0,0 +1,83 @@ +do_patch_prepend () { +echo RLM do_install_prepend +cd ${S} +} + +do_patch () { +echo RLM begining of do_patch +echo RLM end of do_patch +} + +do_configure_prepend () { +echo RLM do_compile_prepend +cd ${S} +} + +do_configure () { +echo RLM begining of do_configure +echo RLM end of do_configure +} + +do_compile_prepend () { +echo RLM do_compile_prepend +mkdir -p ${S}/../temp +create-package-initial "compile" ${S}/${SPECFILES} > ${S}/../temp/Bash_compile +cd ${S} +} + +do_compile () { + echo RLM begining of do_compile + source ${S}/../temp/Bash_compile + echo RLM end of do_compile +} + +do_install_prepend () { +echo RLM do_install_prepend +mkdir -p ${S}/../temp +create-package-initial "compile" ${S}/${SPECFILES} > ${S}/../temp/Bash_install +cd ${S} +} + +do_install () { + echo RLM begining of do_install + source ${S}/../temp/Bash_install + echo RLM end of do_install +} + +python do_package_prepend () { + print "toto" + #echo RLM begining of do_package_prepend + #echo RLM end of do_package_prepend +} + +python do_package () { + # Change the following version to cause sstate to invalidate the package + # cache. This is useful if an item this class depends on changes in a + # way that the output of this class changes. rpmdeps is a good example + # as any change to rpmdeps requires this to be rerun. + # PACKAGE_BBCLASS_VERSION = "1" + + packages = (d.getVar('PACKAGES', True) or "").split() + if len(packages) < 1: + bb.debug(1, "No packages to build, skipping do_package") + return + + workdir = d.getVar('WORKDIR', True) + outdir = d.getVar('DEPLOY_DIR', True) + dest = d.getVar('D', True) + dvar = d.getVar('PKGD', True) + pn = d.getVar('PN', True) + + if not workdir or not outdir or not dest or not dvar or not pn: + bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") + return + + for f in (d.getVar('PACKAGEFUNCS', True) or '').split(): + if not f == "do_package_qa": + print "RLM do:",f + bb.build.exec_func(f, d) +} + + + + diff --git a/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc~ b/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc~ new file mode 100644 index 0000000..1803712 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc~ @@ -0,0 +1,81 @@ +do_patch_prepend () { +echo RLM do_install_prepend +cd ${S} +} + +do_patch () { +echo RLM begining of do_patch +echo RLM end of do_patch +} + +do_configure_prepend () { +echo RLM do_compile_prepend +cd ${S} +} + +do_configure () { +echo RLM begining of do_configure +echo RLM end of do_configure +} + +do_compile_prepend () { +echo RLM do_compile_prepend +mkdir -p ${S}/../temp +create-package-initial "compile" ${S}/${SPECFILES} > ${S}/../temp/Bash_compile +cd ${S} +} + +do_compile () { + echo RLM begining of do_compile + source ${S}/../temp/Bash_compile + echo RLM end of do_compile + +} + +do_install_prepend () { +echo RLM do_install_prepend +cd ${S} +} + +do_install () { + echo RLM begining of do_install + echo RLM end of do_install +} + +python do_package_prepend () { + print "toto" + #echo RLM begining of do_package_prepend + #echo RLM end of do_package_prepend +} + +python do_package () { + # Change the following version to cause sstate to invalidate the package + # cache. This is useful if an item this class depends on changes in a + # way that the output of this class changes. rpmdeps is a good example + # as any change to rpmdeps requires this to be rerun. + # PACKAGE_BBCLASS_VERSION = "1" + + packages = (d.getVar('PACKAGES', True) or "").split() + if len(packages) < 1: + bb.debug(1, "No packages to build, skipping do_package") + return + + workdir = d.getVar('WORKDIR', True) + outdir = d.getVar('DEPLOY_DIR', True) + dest = d.getVar('D', True) + dvar = d.getVar('PKGD', True) + pn = d.getVar('PN', True) + + if not workdir or not outdir or not dest or not dvar or not pn: + bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") + return + + for f in (d.getVar('PACKAGEFUNCS', True) or '').split(): + if not f == "do_package_qa": + print "RLM do:",f + bb.build.exec_func(f, d) +} + + + + diff --git a/meta-tizen/recipes-BaseSystem/tzdata/tzdata-extraconf.inc b/meta-tizen/recipes-BaseSystem/tzdata/tzdata-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc b/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc new file mode 100644 index 0000000..1f4067d --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Timezone Descriptions" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "BSD-3-Clause and SUSE-Public-Domain" + +PROVIDES = "" +#PROVIDES by tzdata +PROVIDES += "tzdata" +RPROVIDES_tzdata += "tzdata" +PROVIDES += "timezone" +RPROVIDES_tzdata += "timezone" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "tzdata-" + +tzdata-files = "/usr/share/zoneinfo /usr/bin/tzselect /usr/sbin/zdump /usr/sbin/zic " + +FILES_tzdata- = "${tzdata-files}" + +SPECFILES = "packaging/tzdata.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require tzdata-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/tzdata/tzdata_git.bb b/meta-tizen/recipes-BaseSystem/tzdata/tzdata_git.bb new file mode 100644 index 0000000..8468ea5 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tzdata/tzdata_git.bb @@ -0,0 +1,5 @@ +require tzdata.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/tzdata.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc b/meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc new file mode 100644 index 0000000..67ca969 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc @@ -0,0 +1 @@ +BBCLASSEXTEND =+ "native" diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc~ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc b/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc new file mode 100644 index 0000000..e42b739 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "A collection of basic system utilities" +HOMEPAGE = "http://kernel.org/~kzak/util-linux/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by uuidd +PROVIDES += "uuidd" +RPROVIDES_uuidd += "uuidd" + +#PROVIDES by libmount-devel +PROVIDES += "libmount-devel" +RPROVIDES_libmount-devel += "libmount-devel" + +#PROVIDES by util-linux-lang +PROVIDES += "util-linux-lang " +RPROVIDES_util-linux-lang += "util-linux-lang " +# the PROVIDES rules is ignore "util-linux-lang-all = 2.22.2" +PROVIDES += "util-linux-lang-all" +RPROVIDES_util-linux-lang += "util-linux-lang-all" + +#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 util-linux +PROVIDES += "util-linux" +RPROVIDES_util-linux += "util-linux" +PROVIDES += "eject" +RPROVIDES_util-linux += "eject" +# the PROVIDES rules is ignore "base = 2.22.2-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.22.2-0" +PROVIDES += "util" +RPROVIDES_util-linux += "util" +# the PROVIDES rules is ignore "uuid-runtime = 2.22.2-0" +PROVIDES += "uuid-runtime" +RPROVIDES_util-linux += "uuid-runtime" + +#PROVIDES by libuuid-devel +PROVIDES += "libuuid-devel" +RPROVIDES_libuuid-devel += "libuuid-devel" + +#PROVIDES by libblkid-devel +PROVIDES += "libblkid-devel" +RPROVIDES_libblkid-devel += "libblkid-devel" + + +DEPENDS = "" +#DEPENDS of util-linux +DEPENDS += "binutils" +DEPENDS += "fdupes" +DEPENDS += "gettext" +DEPENDS += "libtool" +DEPENDS += "ncurses" +DEPENDS += "pam" +DEPENDS += "pkg-config" +DEPENDS += "readline" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of libmount-devel +# the RDEPENDS rules is ignore "libmount = 2.22.2" +RDEPENDS_libmount-devel += "libmount" + +#RDEPENDS of util-linux-lang +# the RDEPENDS rules is ignore "util-linux = 2.22.2" +RDEPENDS_util-linux-lang += "util-linux" + +#RDEPENDS of libuuid-devel +# the RDEPENDS rules is ignore "libuuid = 2.22.2" +RDEPENDS_libuuid-devel += "libuuid" + +#RDEPENDS of libblkid-devel +# the RDEPENDS rules is ignore "libblkid = 2.22.2" +RDEPENDS_libblkid-devel += "libblkid" + + +PACKAGES = "" +PACKAGES += "uuidd" +PACKAGES += "libmount-devel" +PACKAGES += "libblkid" +PACKAGES += "libuuid" +PACKAGES += "libmount" +PACKAGES += "util-linux-" +PACKAGES += "libuuid-devel" +PACKAGES += "libblkid-devel" + +uuiddfiles = "" + +libmount-develfiles = "/usr/lib64/libmount.so /usr/include/libmount/libmount.h /usr/lib64/pkgconfig/mount.pc " + +libblkidfiles = "//usr/lib64/libblkid.so.1 //usr/lib64/libblkid.so.1.* " + +libuuidfiles = "//usr/lib64/libuuid.so.1 //usr/lib64/libuuid.so.1.* " + +libmountfiles = "//usr/lib64/libmount.so.1 //usr/lib64/libmount.so.1.* " + +util-linux-files = "/usr/bin/su /usr/bin/cal /usr/bin/eject /usr/bin/lslocks /usr/bin/utmpdump /usr/bin/wdctl /usr/sbin/resizepart /usr/sbin/sulogin /usr/bin/login /usr/bin/chrt /usr/bin/col /usr/bin/colcrt /usr/bin/colrm /usr/bin/column /usr/bin/ddate /usr/bin/dmesg /usr/bin/fallocate /usr/bin/findmnt /usr/bin/flock /usr/bin/getopt /usr/bin/hexdump /usr/bin/ionice /usr/bin/ipcmk /usr/bin/ipcrm /usr/bin/ipcs /usr/bin/isosize /usr/bin/line /usr/bin/logger /usr/bin/look /usr/bin/lsblk /usr/bin/lscpu /usr/bin/mcookie /usr/bin/mesg /usr/bin/more /usr/bin/mount /usr/bin/namei /usr/bin/prlimit /usr/bin/rename /usr/bin/renice /usr/bin/rev /usr/bin/script /usr/bin/scriptreplay /usr/bin/setarch /usr/bin/setsid /usr/bin/tailf /usr/bin/taskset /usr/bin/ul /usr/bin/umount /usr/bin/unshare /usr/bin/uuidgen /usr/sbin/addpart /usr/sbin/agetty /usr/sbin/blkid /usr/sbin/blockdev /usr/sbin/chcpu /usr/sbin/ctrlaltdel /usr/sbin/delpart /usr/sbin/findfs /usr/sbin/fsck /usr/sbin/fsck.minix /usr/sbin/fsck.cramfs /usr/sbin/fsfreeze /usr/sbin/fstrim /usr/sbin/ldattach /usr/sbin/losetup /usr/sbin/mkfs /usr/sbin/mkfs.bfs /usr/sbin/mkfs.minix /usr/sbin/mkfs.cramfs /usr/sbin/mkswap /usr/sbin/nologin /usr/sbin/raw /usr/sbin/partx /usr/sbin/pivot_root /usr/sbin/rtcwake /usr/sbin/swaplabel /usr/sbin/swapoff /usr/sbin/swapon /usr/sbin/switch_root /usr/sbin/wipefs /usr/bin/whereis /usr/sbin/flushb /usr/sbin/readprofile /usr/sbin/fdisk /usr/sbin/cfdisk /usr/sbin/sfdisk /usr/bin/cytune /usr/sbin/fdformat /usr/sbin/hwclock /usr/bin/setterm /usr/sbin/tunelp " + +libuuid-develfiles = "/usr/lib64/libuuid.so /usr/include/uuid/uuid.h /usr/lib64/pkgconfig/uuid.pc " + +libblkid-develfiles = "/usr/lib64/libblkid.so /usr/include/blkid/blkid.h /usr/lib64/pkgconfig/blkid.pc " + +FILES_uuidd = "${uuiddfiles}" +FILES_libmount-devel = "${libmount-develfiles}" +FILES_libblkid = "${libblkidfiles}" +FILES_libuuid = "${libuuidfiles}" +FILES_libmount = "${libmountfiles}" +FILES_util-linux- = "${util-linux-files}" +FILES_libuuid-devel = "${libuuid-develfiles}" +FILES_libblkid-devel = "${libblkid-develfiles}" + +SPECFILES = "packaging/util-linux.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require util-linux-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux_git.bb b/meta-tizen/recipes-BaseSystem/util-linux/util-linux_git.bb new file mode 100644 index 0000000..1c183dd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux_git.bb @@ -0,0 +1,5 @@ +require util-linux.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/util-linux.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/alsa-utils/alsa-utils-extraconf.inc b/meta-tizen/recipes-Development/alsa-utils/alsa-utils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc b/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc new file mode 100644 index 0000000..3150ea4 --- /dev/null +++ b/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "Advanced Linux Sound Architecture (ALSA) utilities" +HOMEPAGE = "http://www.alsa-project.org/" +SECTION = "Applications/Multimedia" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +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" + + +DEPENDS = "" +#DEPENDS of alsa-utils +DEPENDS += "libasound" + + +RDEPENDS = "" +#RDEPENDS of alsa-utils-doc +# the RDEPENDS rules is ignore "alsa-utils = 1.0.26" +RDEPENDS_alsa-utils-doc += "alsa-utils" + + +PACKAGES = "" +PACKAGES += "alsa-utils-" + +alsa-utils-files = "/usr/bin/* /usr/sbin/* /usr/share/alsa/* /usr/share/sounds/* /lib/udev/rules.d/90-alsa-restore.rules " + +FILES_alsa-utils- = "${alsa-utils-files}" + +SPECFILES = "packaging/alsa-utils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require alsa-utils-extraconf.inc diff --git a/meta-tizen/recipes-Development/alsa-utils/alsa-utils_git.bb b/meta-tizen/recipes-Development/alsa-utils/alsa-utils_git.bb new file mode 100644 index 0000000..151b3ad --- /dev/null +++ b/meta-tizen/recipes-Development/alsa-utils/alsa-utils_git.bb @@ -0,0 +1,5 @@ +require alsa-utils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/alsa-utils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/autoconf/autoconf-extraconf.inc b/meta-tizen/recipes-Development/autoconf/autoconf-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/autoconf/autoconf.inc b/meta-tizen/recipes-Development/autoconf/autoconf.inc new file mode 100644 index 0000000..de97f02 --- /dev/null +++ b/meta-tizen/recipes-Development/autoconf/autoconf.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "A GNU Tool for Automatically Configuring Source Code" +HOMEPAGE = "http://www.gnu.org/software/autoconf" +SECTION = "Development/Tools/Building" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by autoconf +PROVIDES += "autoconf" +RPROVIDES_autoconf += "autoconf" + + +DEPENDS = "" +#DEPENDS of autoconf +DEPENDS += "xz" +# the DEPENDS rules is ignore "m4 >= 1.4.6" +DEPENDS += "m4" + + +RDEPENDS = "" +#RDEPENDS of autoconf +# the RDEPENDS rules is ignore "m4 >= 1.4.6" +RDEPENDS_autoconf += "m4" +# the RDEPENDS rules is ignore "perl >= 5.6" +RDEPENDS_autoconf += "perl" + + +PACKAGES = "" +PACKAGES += "autoconf-" + +autoconf-files = "/usr/bin/* /usr/share/autoconf " + +FILES_autoconf- = "${autoconf-files}" + +SPECFILES = "packaging/autoconf.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require autoconf-extraconf.inc diff --git a/meta-tizen/recipes-Development/autoconf/autoconf_git.bb b/meta-tizen/recipes-Development/autoconf/autoconf_git.bb new file mode 100644 index 0000000..e460756 --- /dev/null +++ b/meta-tizen/recipes-Development/autoconf/autoconf_git.bb @@ -0,0 +1,5 @@ +require autoconf.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/autoconf.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/automake/automake-extraconf.inc b/meta-tizen/recipes-Development/automake/automake-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/automake/automake.inc b/meta-tizen/recipes-Development/automake/automake.inc new file mode 100644 index 0000000..7c918da --- /dev/null +++ b/meta-tizen/recipes-Development/automake/automake.inc @@ -0,0 +1,41 @@ +DESCRIPTION = "A Program for Automatically Generating GNU-Style Makefile.in Files" +HOMEPAGE = "http://www.gnu.org/software/automake" +SECTION = "Development/Tools/Building" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by automake +PROVIDES += "automake" +RPROVIDES_automake += "automake" + + +DEPENDS = "" +#DEPENDS of automake +# the DEPENDS rules is ignore "autoconf >= 2.69" +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "gcc" +DEPENDS += "xz" + + +RDEPENDS = "" +#RDEPENDS of automake +# the RDEPENDS rules is ignore "autoconf >= 2.69" +RDEPENDS_automake += "autoconf" + + +PACKAGES = "" +PACKAGES += "automake-" + +automake-files = "/usr/bin/* /usr/share/aclocal* /usr/share/automake-* " + +FILES_automake- = "${automake-files}" + +SPECFILES = "packaging/automake.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require automake-extraconf.inc diff --git a/meta-tizen/recipes-Development/automake/automake_git.bb b/meta-tizen/recipes-Development/automake/automake_git.bb new file mode 100644 index 0000000..86bee7e --- /dev/null +++ b/meta-tizen/recipes-Development/automake/automake_git.bb @@ -0,0 +1,5 @@ +require automake.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/automake.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/binutils/binutils-extraconf.inc b/meta-tizen/recipes-Development/binutils/binutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/binutils/binutils.inc b/meta-tizen/recipes-Development/binutils/binutils.inc new file mode 100644 index 0000000..daa14e0 --- /dev/null +++ b/meta-tizen/recipes-Development/binutils/binutils.inc @@ -0,0 +1,66 @@ +DESCRIPTION = "GNU Binutils" +HOMEPAGE = "http://www.gnu.org/software/binutils/" +SECTION = "Development/Tools/Building" +PRIORITY = "" +LICENSE = "GFDL-1.3 and GPL-3.0+" + +PROVIDES = "" +#PROVIDES by binutils-devel +PROVIDES += "binutils-devel" +RPROVIDES_binutils-devel += "binutils-devel" +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" + + +DEPENDS = "" +#DEPENDS of binutils +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gcc" +DEPENDS += "glibc" +DEPENDS += "bc" +DEPENDS += "makeinfo" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of binutils-devel +# the RDEPENDS rules is ignore "binutils = 2.23.1-0" +RDEPENDS_binutils-devel += "binutils" +RDEPENDS_binutils-devel += "zlib-devel" + +#RDEPENDS of binutils-gold +# the RDEPENDS rules is ignore "binutils = 2.23.1-0" +RDEPENDS_binutils-gold += "binutils" + + +PACKAGES = "" +PACKAGES += "binutils-devel" +PACKAGES += "binutils-gold" +PACKAGES += "binutils-" + +binutils-develfiles = "/usr/include/*.h /usr/lib64/lib*.*a " + +binutils-goldfiles = "/usr/bin/gold /usr/bin/ld.gold " + +binutils-files = "/usr/share/doc/packages/binutils /usr/x86_64-tizen-linux/bin/* /usr/x86_64-tizen-linux/lib/ldscripts /usr/lib64/ldscripts /usr/bin/* /usr/lib64/lib*-2.23.1*.so " + +FILES_binutils-devel = "${binutils-develfiles}" +FILES_binutils-gold = "${binutils-goldfiles}" +FILES_binutils- = "${binutils-files}" + +SPECFILES = "packaging/binutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require binutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/binutils/binutils_git.bb b/meta-tizen/recipes-Development/binutils/binutils_git.bb new file mode 100644 index 0000000..e744fa4 --- /dev/null +++ b/meta-tizen/recipes-Development/binutils/binutils_git.bb @@ -0,0 +1,5 @@ +require binutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/binutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/bison/bison-extraconf.inc b/meta-tizen/recipes-Development/bison/bison-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/bison/bison.inc b/meta-tizen/recipes-Development/bison/bison.inc new file mode 100644 index 0000000..8d6ac78 --- /dev/null +++ b/meta-tizen/recipes-Development/bison/bison.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "The GNU Parser Generator" +HOMEPAGE = "http://www.gnu.org/software/bison/bison.html" +SECTION = "Development/Languages/C and C++" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by bison +PROVIDES += "bison" +RPROVIDES_bison += "bison" + + +DEPENDS = "" +#DEPENDS of bison +DEPENDS += "gcc" + + +RDEPENDS = "" +#RDEPENDS of bison +RDEPENDS_bison += "m4" + + +PACKAGES = "" +PACKAGES += "bison-" + +bison-files = "/usr/bin/bison /usr/bin/yacc /usr/lib64/liby.a /usr/share/bison /usr/share/aclocal/bison-i18n.m4 " + +FILES_bison- = "${bison-files}" + +SPECFILES = "packaging/bison.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require bison-extraconf.inc diff --git a/meta-tizen/recipes-Development/bison/bison_git.bb b/meta-tizen/recipes-Development/bison/bison_git.bb new file mode 100644 index 0000000..8c46038 --- /dev/null +++ b/meta-tizen/recipes-Development/bison/bison_git.bb @@ -0,0 +1,5 @@ +require bison.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/bison.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/chrpath/chrpath-extraconf.inc b/meta-tizen/recipes-Development/chrpath/chrpath-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/chrpath/chrpath.inc b/meta-tizen/recipes-Development/chrpath/chrpath.inc new file mode 100644 index 0000000..1fa1a28 --- /dev/null +++ b/meta-tizen/recipes-Development/chrpath/chrpath.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Modify rpath of compiled programs" +HOMEPAGE = "http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "GPL+" + +PROVIDES = "" +#PROVIDES by chrpath +PROVIDES += "chrpath" +RPROVIDES_chrpath += "chrpath" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "chrpath-" + +chrpath-files = "/usr/bin/chrpath " + +FILES_chrpath- = "${chrpath-files}" + +SPECFILES = "packaging/chrpath.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require chrpath-extraconf.inc diff --git a/meta-tizen/recipes-Development/chrpath/chrpath_git.bb b/meta-tizen/recipes-Development/chrpath/chrpath_git.bb new file mode 100644 index 0000000..412e281 --- /dev/null +++ b/meta-tizen/recipes-Development/chrpath/chrpath_git.bb @@ -0,0 +1,5 @@ +require chrpath.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/chrpath.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/cmake/cmake-extraconf.inc b/meta-tizen/recipes-Development/cmake/cmake-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/cmake/cmake.inc b/meta-tizen/recipes-Development/cmake/cmake.inc new file mode 100644 index 0000000..b3d7951 --- /dev/null +++ b/meta-tizen/recipes-Development/cmake/cmake.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "Cross-platform make system" +HOMEPAGE = "http://www.cmake.org" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "BSD" + +PROVIDES = "" +#PROVIDES by cmake +PROVIDES += "cmake" +RPROVIDES_cmake += "cmake" + + +DEPENDS = "" +#DEPENDS of cmake +DEPENDS += "expat" +DEPENDS += "libarchive" +DEPENDS += "libcurl" +DEPENDS += "zlib" +DEPENDS += "procps" +DEPENDS += "ncurses" +DEPENDS += "gcc" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "cmake-" + +cmake-files = "/usr/share/aclocal/cmake.m4 /usr/bin/ccmake /usr/bin/cmake /usr/bin/cpack /usr/bin/ctest /usr/share/cmake/* /usr/share/emacs/* " + +FILES_cmake- = "${cmake-files}" + +SPECFILES = "packaging/cmake.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require cmake-extraconf.inc diff --git a/meta-tizen/recipes-Development/cmake/cmake_git.bb b/meta-tizen/recipes-Development/cmake/cmake_git.bb new file mode 100644 index 0000000..a8bee7a --- /dev/null +++ b/meta-tizen/recipes-Development/cmake/cmake_git.bb @@ -0,0 +1,5 @@ +require cmake.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/cmake.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/diffutils/diffutils-extraconf.inc b/meta-tizen/recipes-Development/diffutils/diffutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/diffutils/diffutils.inc b/meta-tizen/recipes-Development/diffutils/diffutils.inc new file mode 100644 index 0000000..fb87ac8 --- /dev/null +++ b/meta-tizen/recipes-Development/diffutils/diffutils.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "GNU diff Utilities" +HOMEPAGE = "http://www.gnu.org/software/diffutils/" +SECTION = "Productivity/Text/Utilities" +PRIORITY = "" +LICENSE = "GFDL-1.2 ; GPL-3.0+" + +PROVIDES = "" +#PROVIDES by diffutils +PROVIDES += "diffutils" +RPROVIDES_diffutils += "diffutils" +PROVIDES += "diff" +RPROVIDES_diffutils += "diff" + + +DEPENDS = "" +#DEPENDS of diffutils +DEPENDS += "xz" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "diffutils-" + +diffutils-files = "/usr/bin/cmp /usr/bin/diff /usr/bin/diff3 /usr/bin/sdiff " + +FILES_diffutils- = "${diffutils-files}" + +SPECFILES = "packaging/diffutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require diffutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/diffutils/diffutils_git.bb b/meta-tizen/recipes-Development/diffutils/diffutils_git.bb new file mode 100644 index 0000000..6a0f658 --- /dev/null +++ b/meta-tizen/recipes-Development/diffutils/diffutils_git.bb @@ -0,0 +1,5 @@ +require diffutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/diffutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/findutils/findutils-extraconf.inc b/meta-tizen/recipes-Development/findutils/findutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/findutils/findutils.inc b/meta-tizen/recipes-Development/findutils/findutils.inc new file mode 100644 index 0000000..7ce1d5f --- /dev/null +++ b/meta-tizen/recipes-Development/findutils/findutils.inc @@ -0,0 +1,55 @@ +DESCRIPTION = "The GNU versions of find utilities (find and xargs)" +HOMEPAGE = "http://www.gnu.org/software/findutils/" +SECTION = "Productivity/File utilities" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by findutils-locate +PROVIDES += "findutils-locate" +RPROVIDES_findutils-locate += "findutils-locate" +PROVIDES += "findutils:/usr/bin/locate" +RPROVIDES_findutils-locate += "findutils:/usr/bin/locate" + +#PROVIDES by findutils +PROVIDES += "findutils" +RPROVIDES_findutils += "findutils" + +#PROVIDES by findutils-lang +PROVIDES += "findutils-lang" +RPROVIDES_findutils-lang += "findutils-lang" +# the PROVIDES rules is ignore "findutils-lang-all = 4.5.10" +PROVIDES += "findutils-lang-all" +RPROVIDES_findutils-lang += "findutils-lang-all" + + +DEPENDS = "" + +RDEPENDS = "" +#RDEPENDS of findutils-locate +# the RDEPENDS rules is ignore "findutils = 4.5.10" +RDEPENDS_findutils-locate += "findutils" + +#RDEPENDS of findutils-lang +# the RDEPENDS rules is ignore "findutils = 4.5.10" +RDEPENDS_findutils-lang += "findutils" + + +PACKAGES = "" +PACKAGES += "findutils-" +PACKAGES += "findutils-locate" + +findutils-files = "/usr/bin/find /usr/bin/xargs " + +findutils-locatefiles = "/usr/bin/locate /usr/bin/updatedb /usr/lib64/find " + +FILES_findutils- = "${findutils-files}" +FILES_findutils-locate = "${findutils-locatefiles}" + +SPECFILES = "packaging/findutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require findutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/findutils/findutils_git.bb b/meta-tizen/recipes-Development/findutils/findutils_git.bb new file mode 100644 index 0000000..bd10a27 --- /dev/null +++ b/meta-tizen/recipes-Development/findutils/findutils_git.bb @@ -0,0 +1,5 @@ +require findutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/findutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/flex/flex-extraconf.inc b/meta-tizen/recipes-Development/flex/flex-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/flex/flex.inc b/meta-tizen/recipes-Development/flex/flex.inc new file mode 100644 index 0000000..94d6e96 --- /dev/null +++ b/meta-tizen/recipes-Development/flex/flex.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "Fast Lexical Analyzer Generator" +HOMEPAGE = "http://flex.sourceforge.net/" +SECTION = "Development/Languages/C and C++" +PRIORITY = "" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" +#PROVIDES by flex +PROVIDES += "flex" +RPROVIDES_flex += "flex" + + +DEPENDS = "" +#DEPENDS of flex +DEPENDS += "automake" +DEPENDS += "makeinfo" +DEPENDS += "bison" +DEPENDS += "gcc" +DEPENDS += "gettext" + + +RDEPENDS = "" +#RDEPENDS of flex +RDEPENDS_flex += "m4" + + +PACKAGES = "" +PACKAGES += "flex-" + +flex-files = "/usr/bin/flex /usr/bin/flex++ /usr/bin/lex /usr/include/FlexLexer.h /usr/lib64/libfl.a " + +FILES_flex- = "${flex-files}" + +SPECFILES = "packaging/flex.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require flex-extraconf.inc diff --git a/meta-tizen/recipes-Development/flex/flex.inc~ b/meta-tizen/recipes-Development/flex/flex.inc~ new file mode 100644 index 0000000..b17cc5a --- /dev/null +++ b/meta-tizen/recipes-Development/flex/flex.inc~ @@ -0,0 +1,40 @@ +DESCRIPTION = "Fast Lexical Analyzer Generator" +HOMEPAGE = "http://flex.sourceforge.net/" +SECTION = "Development/Languages/C and C++" +PRIORITY = "" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" +#PROVIDES by flex +PROVIDES += "flex" +RPROVIDES_flex += "flex" + + +DEPENDS = "" +#DEPENDS of flex +DEPENDS += "automake" +DEPENDS += "makeinfo" +DEPENDS += "bison" +DEPENDS += "gcc" +DEPENDS += "gettext-tools" + + +RDEPENDS = "" +#RDEPENDS of flex +RDEPENDS_flex += "m4" + + +PACKAGES = "" +PACKAGES += "flex-" + +flex-files = "/usr/bin/flex /usr/bin/flex++ /usr/bin/lex /usr/include/FlexLexer.h /usr/lib64/libfl.a " + +FILES_flex- = "${flex-files}" + +SPECFILES = "packaging/flex.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require flex-extraconf.inc diff --git a/meta-tizen/recipes-Development/flex/flex_git.bb b/meta-tizen/recipes-Development/flex/flex_git.bb new file mode 100644 index 0000000..1388f00 --- /dev/null +++ b/meta-tizen/recipes-Development/flex/flex_git.bb @@ -0,0 +1,5 @@ +require flex.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/flex.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/gcc/gcc-extraconf.inc b/meta-tizen/recipes-Development/gcc/gcc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/gcc/gcc.inc b/meta-tizen/recipes-Development/gcc/gcc.inc new file mode 100644 index 0000000..3f1b59e --- /dev/null +++ b/meta-tizen/recipes-Development/gcc/gcc.inc @@ -0,0 +1,297 @@ +DESCRIPTION = "The system GNU C Compiler" +HOMEPAGE = "http://gcc.gnu.org/" +SECTION = "Development/Languages/C and C++" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +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" +PROVIDES += "c_compiler" +RPROVIDES_gcc += "c_compiler" + +#PROVIDES by libstdc++-devel +PROVIDES += "libstdc++-devel" +RPROVIDES_libstdc++-devel += "libstdc++-devel" + +#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++" +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" + +#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" + + +DEPENDS = "" + +RDEPENDS = "" +#RDEPENDS of gcc-gij +RDEPENDS_gcc-gij += "gcc47-gij" + +#RDEPENDS of gcc-gij-32bit +RDEPENDS_gcc-gij-32bit += "gcc47-gij-32bit" + +#RDEPENDS of gcc-obj-c++ +RDEPENDS_gcc-obj-c++ += "gcc47-obj-c++" +# the RDEPENDS rules is ignore "gcc-objc = 4.7" +RDEPENDS_gcc-obj-c++ += "gcc-objc" + +#RDEPENDS of gcc-fortran-32bit +RDEPENDS_gcc-fortran-32bit += "gcc47-fortran-32bit" +# the RDEPENDS rules is ignore "gcc-fortran = 4.7" +RDEPENDS_gcc-fortran-32bit += "gcc-fortran" + +#RDEPENDS of gcc-info +RDEPENDS_gcc-info += "gcc47-info" + +#RDEPENDS of gcc +RDEPENDS_gcc += "cpp" +RDEPENDS_gcc += "gcc47" + +#RDEPENDS of libstdc++-devel +RDEPENDS_libstdc++-devel += "libstdc++47-devel" + +#RDEPENDS of gcc-64bit +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-64bit += "gcc" +RDEPENDS_gcc-64bit += "gcc47-64bit" + +#RDEPENDS of gcc-locale +RDEPENDS_gcc-locale += "gcc47-locale" + +#RDEPENDS of gcc-objc-64bit +RDEPENDS_gcc-objc-64bit += "gcc47-objc-64bit" +# the RDEPENDS rules is ignore "gcc-objc = 4.7" +RDEPENDS_gcc-objc-64bit += "gcc-objc" + +#RDEPENDS of gcc-c++ +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-c++ += "gcc" +RDEPENDS_gcc-c++ += "gcc47-c++" + +#RDEPENDS of gcc-fortran +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-fortran += "gcc" +RDEPENDS_gcc-fortran += "gcc47-fortran" + +#RDEPENDS of gcc-c++-64bit +# the RDEPENDS rules is ignore "gcc-64bit = 4.7" +RDEPENDS_gcc-c++-64bit += "gcc-64bit" +# the RDEPENDS rules is ignore "gcc-c++ = 4.7" +RDEPENDS_gcc-c++-64bit += "gcc-c++" +RDEPENDS_gcc-c++-64bit += "libstdc++47-devel-64bit" + +#RDEPENDS of gcc-z9 +RDEPENDS_gcc-z9 += "gcc" + +#RDEPENDS of gcc-objc-32bit +RDEPENDS_gcc-objc-32bit += "gcc47-objc-32bit" +# the RDEPENDS rules is ignore "gcc-objc = 4.7" +RDEPENDS_gcc-objc-32bit += "gcc-objc" + +#RDEPENDS of gcc-java +RDEPENDS_gcc-java += "gcc47-java" +# the RDEPENDS rules is ignore "libgcj-devel = 4.7" +RDEPENDS_gcc-java += "libgcj-devel" +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-java += "gcc" + +#RDEPENDS of libgcj-devel +RDEPENDS_libgcj-devel += "libgcj47-devel" + +#RDEPENDS of gcc-c++-32bit +# the RDEPENDS rules is ignore "gcc-32bit = 4.7" +RDEPENDS_gcc-c++-32bit += "gcc-32bit" +# the RDEPENDS rules is ignore "gcc-c++ = 4.7" +RDEPENDS_gcc-c++-32bit += "gcc-c++" +RDEPENDS_gcc-c++-32bit += "libstdc++47-devel-32bit" + +#RDEPENDS of gcc-ada +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-ada += "gcc" +RDEPENDS_gcc-ada += "gcc47-ada" + +#RDEPENDS of gcc-32bit +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-32bit += "gcc" +RDEPENDS_gcc-32bit += "gcc47-32bit" + +#RDEPENDS of gcc-objc +# the RDEPENDS rules is ignore "gcc = 4.7" +RDEPENDS_gcc-objc += "gcc" +RDEPENDS_gcc-objc += "gcc47-objc" + +#RDEPENDS of gcc-fortran-64bit +RDEPENDS_gcc-fortran-64bit += "gcc47-fortran-64bit" +# the RDEPENDS rules is ignore "gcc-fortran = 4.7" +RDEPENDS_gcc-fortran-64bit += "gcc-fortran" + +#RDEPENDS of cpp +RDEPENDS_cpp += "cpp47" + +#RDEPENDS of gcc-gij-64bit +RDEPENDS_gcc-gij-64bit += "gcc47-gij-64bit" + + +PACKAGES = "" +PACKAGES += "gcc" +PACKAGES += "libstdc++-devel" +PACKAGES += "gcc-ada" +PACKAGES += "gcc-" +PACKAGES += "gcc-32bit" +PACKAGES += "gcc-gij" +PACKAGES += "gcc-objc" +PACKAGES += "gcc-c++-32bit" +PACKAGES += "gcc-info" +PACKAGES += "gcc-obj-c++" +PACKAGES += "gcc-objc-32bit" +PACKAGES += "gcc-java" +PACKAGES += "cpp" +PACKAGES += "libgcj-devel" +PACKAGES += "gcc-c++" +PACKAGES += "gcc-gij-32bit" +PACKAGES += "gcc-locale" + +gccfiles = "" + +libstdc++-develfiles = "" + +gcc-adafiles = "/usr/bin/gnat /usr/bin/gnatbind /usr/bin/gnatbl /usr/bin/gnatchop /usr/bin/gnatclean /usr/bin/gnatfind /usr/bin/gnatkr /usr/bin/gnatlink /usr/bin/gnatls /usr/bin/gnatmake /usr/bin/gnatname /usr/bin/gnatprep /usr/bin/gnatxref /usr/bin/gprmake " + +gcc-files = "/usr/bin/gcc /usr/bin/cc /usr/bin/gcov " + +gcc-32bitfiles = "" + +gcc-gijfiles = "/usr/bin/gij /usr/bin/gappletviewer /usr/bin/gjar /usr/bin/gjarsigner /usr/bin/gjavah /usr/bin/gkeytool /usr/bin/gnative2ascii /usr/bin/gorbd /usr/bin/grmic /usr/bin/grmid /usr/bin/grmiregistry /usr/bin/gserialver /usr/bin/gtnameserv " + +gcc-objcfiles = "" + +gcc-c++-32bitfiles = "" + +gcc-infofiles = "" + +gcc-obj-c++files = "" + +gcc-objc-32bitfiles = "" + +gcc-javafiles = "/usr/bin/gcj /usr/bin/gcjh /usr/bin/gcj-dbtool /usr/bin/jcf-dump /usr/bin/jv-convert /usr/bin/gc-analyze " + +cppfiles = "/lib/cpp /usr/bin/cpp " + +libgcj-develfiles = " " + +gcc-c++files = "/usr/bin/g++ /usr/bin/c++ " + +gcc-gij-32bitfiles = "/usr/bin/gij32 /usr/bin/grmiregistry32 " + +gcc-localefiles = "" + +FILES_gcc = "${gccfiles}" +FILES_libstdc++-devel = "${libstdc++-develfiles}" +FILES_gcc-ada = "${gcc-adafiles}" +FILES_gcc- = "${gcc-files}" +FILES_gcc-32bit = "${gcc-32bitfiles}" +FILES_gcc-gij = "${gcc-gijfiles}" +FILES_gcc-objc = "${gcc-objcfiles}" +FILES_gcc-c++-32bit = "${gcc-c++-32bitfiles}" +FILES_gcc-info = "${gcc-infofiles}" +FILES_gcc-obj-c++ = "${gcc-obj-c++files}" +FILES_gcc-objc-32bit = "${gcc-objc-32bitfiles}" +FILES_gcc-java = "${gcc-javafiles}" +FILES_cpp = "${cppfiles}" +FILES_libgcj-devel = "${libgcj-develfiles}" +FILES_gcc-c++ = "${gcc-c++files}" +FILES_gcc-gij-32bit = "${gcc-gij-32bitfiles}" +FILES_gcc-locale = "${gcc-localefiles}" + +SPECFILES = "packaging/gcc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gcc-extraconf.inc diff --git a/meta-tizen/recipes-Development/gcc/gcc_git.bb b/meta-tizen/recipes-Development/gcc/gcc_git.bb new file mode 100644 index 0000000..513fcfb --- /dev/null +++ b/meta-tizen/recipes-Development/gcc/gcc_git.bb @@ -0,0 +1,5 @@ +require gcc.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gcc.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/gdb/gdb-extraconf.inc b/meta-tizen/recipes-Development/gdb/gdb-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/gdb/gdb.inc b/meta-tizen/recipes-Development/gdb/gdb.inc new file mode 100644 index 0000000..fb8c7da --- /dev/null +++ b/meta-tizen/recipes-Development/gdb/gdb.inc @@ -0,0 +1,69 @@ +DESCRIPTION = "A GNU source-level debugger for C, C++, Java and other languages" +HOMEPAGE = "http://gnu.org/software/gdb/" +SECTION = "Development/Debuggers" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by gdb-devel +PROVIDES += "gdb-devel" +RPROVIDES_gdb-devel += "gdb-devel" + +#PROVIDES by gdb +PROVIDES += "gdb" +RPROVIDES_gdb += "gdb" + +#PROVIDES by gdb-server +PROVIDES += "gdb-server" +RPROVIDES_gdb-server += "gdb-server" + +#PROVIDES by gdb-lang +PROVIDES += "gdb-lang " +RPROVIDES_gdb-lang += "gdb-lang " +# the PROVIDES rules is ignore "gdb-lang-all = 7.5" +PROVIDES += "gdb-lang-all" +RPROVIDES_gdb-lang += "gdb-lang-all" + + +DEPENDS = "" +#DEPENDS of gdb +DEPENDS += "bison" +DEPENDS += "expat" +DEPENDS += "flex" +DEPENDS += "gettext" +DEPENDS += "python" +DEPENDS += "gcc" +DEPENDS += "ncurses" +DEPENDS += "readline" +DEPENDS += "rpm" +DEPENDS += "makeinfo" + + +RDEPENDS = "" +#RDEPENDS of gdb-lang +# the RDEPENDS rules is ignore "gdb = 7.5" +RDEPENDS_gdb-lang += "gdb" + + +PACKAGES = "" +PACKAGES += "gdb-devel" +PACKAGES += "gdb-" +PACKAGES += "gdb-server" + +gdb-develfiles = "/usr/include/*.h /usr/include/gdb/*.h " + +gdb-files = "/usr/bin/* /usr/share/gdb " + +gdb-serverfiles = "/usr/bin/gdbserver /usr/share/man/*/gdbserver.1* /usr/lib64/libinproctrace.so " + +FILES_gdb-devel = "${gdb-develfiles}" +FILES_gdb- = "${gdb-files}" +FILES_gdb-server = "${gdb-serverfiles}" + +SPECFILES = "packaging/gdb.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gdb-extraconf.inc diff --git a/meta-tizen/recipes-Development/gdb/gdb_git.bb b/meta-tizen/recipes-Development/gdb/gdb_git.bb new file mode 100644 index 0000000..c2d3e96 --- /dev/null +++ b/meta-tizen/recipes-Development/gdb/gdb_git.bb @@ -0,0 +1,5 @@ +require gdb.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gdb.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/gstreamer/gstreamer-extraconf.inc b/meta-tizen/recipes-Development/gstreamer/gstreamer-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/gstreamer/gstreamer.inc b/meta-tizen/recipes-Development/gstreamer/gstreamer.inc new file mode 100644 index 0000000..0efb402 --- /dev/null +++ b/meta-tizen/recipes-Development/gstreamer/gstreamer.inc @@ -0,0 +1,101 @@ +DESCRIPTION = "Streaming-Media Framework Runtime" +HOMEPAGE = "http://gstreamer.freedesktop.org/" +SECTION = "Productivity/Multimedia/Other" +PRIORITY = "" +LICENSE = "LGPL-2.1+" + +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.0.5" +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.0.5" +PROVIDES += "gstreamer-utils_versioned" +RPROVIDES_gstreamer-utils += "gstreamer-utils_versioned" + +#PROVIDES by gstreamer +PROVIDES += "gstreamer" +RPROVIDES_gstreamer += "gstreamer" + +#PROVIDES by gstreamer-devel +PROVIDES += "gstreamer-devel" +RPROVIDES_gstreamer-devel += "gstreamer-devel" + +#PROVIDES by typelib-Gst +PROVIDES += "typelib-Gst" +RPROVIDES_typelib-Gst += "typelib-Gst" + +#PROVIDES by libgstreamer +PROVIDES += "libgstreamer" +RPROVIDES_libgstreamer += "libgstreamer" + +#PROVIDES by gstreamer-lang +PROVIDES += "gstreamer-lang" +RPROVIDES_gstreamer-lang += "gstreamer-lang" +# the PROVIDES rules is ignore "gstreamer-lang-all = 1.0.5" +PROVIDES += "gstreamer-lang-all" +RPROVIDES_gstreamer-lang += "gstreamer-lang-all" + + +DEPENDS = "" +#DEPENDS of gstreamer +DEPENDS += "bison" +DEPENDS += "gettext-tools" +DEPENDS += "check" +DEPENDS += "fdupes" +DEPENDS += "flex" +# the DEPENDS rules is ignore "glib2 >= 2.32.0" +DEPENDS += "glib2" +DEPENDS += "libtool" +DEPENDS += "libxml2" + + +RDEPENDS = "" +#RDEPENDS of gstreamer +# the RDEPENDS rules is ignore "libgstreamer >= 1.0.5" +RDEPENDS_gstreamer += "libgstreamer" + +#RDEPENDS of gstreamer-devel +# the RDEPENDS rules is ignore "gstreamer = 1.0.5" +RDEPENDS_gstreamer-devel += "gstreamer" +# the RDEPENDS rules is ignore "gstreamer-utils = 1.0.5" +RDEPENDS_gstreamer-devel += "gstreamer-utils" +# the RDEPENDS rules is ignore "libgstreamer = 1.0.5" +RDEPENDS_gstreamer-devel += "libgstreamer" + +#RDEPENDS of libgstreamer +RDEPENDS_libgstreamer += "gstreamer" + +#RDEPENDS of gstreamer-lang +# the RDEPENDS rules is ignore "gstreamer = 1.0.5" +RDEPENDS_gstreamer-lang += "gstreamer" + + +PACKAGES = "" +PACKAGES += "gstreamer-devel" +PACKAGES += "libgstreamer" +PACKAGES += "gstreamer-utils" +PACKAGES += "gstreamer-" + +gstreamer-develfiles = "/usr/share/aclocal/*.m4 /usr/include/* /usr/lib64/*.so /usr/lib64/pkgconfig/*.pc /usr/lib/rpm/gstreamer-provides /usr/lib/rpm/fileattrs/gstreamer.attr " + +libgstreamerfiles = "/usr/lib64/*.so.* " + +gstreamer-utilsfiles = "/usr/bin/*-1.0 " + +gstreamer-files = "/usr/lib64/gstreamer-1.0/*.so /usr/lib/gstreamer-1.0/gst-plugin-scanner " + +FILES_gstreamer-devel = "${gstreamer-develfiles}" +FILES_libgstreamer = "${libgstreamerfiles}" +FILES_gstreamer-utils = "${gstreamer-utilsfiles}" +FILES_gstreamer- = "${gstreamer-files}" + +SPECFILES = "packaging/gstreamer.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gstreamer-extraconf.inc diff --git a/meta-tizen/recipes-Development/gstreamer/gstreamer_git.bb b/meta-tizen/recipes-Development/gstreamer/gstreamer_git.bb new file mode 100644 index 0000000..54077ba --- /dev/null +++ b/meta-tizen/recipes-Development/gstreamer/gstreamer_git.bb @@ -0,0 +1,5 @@ +require gstreamer.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gstreamer.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/less/less-extraconf.inc b/meta-tizen/recipes-Development/less/less-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/less/less.inc b/meta-tizen/recipes-Development/less/less.inc new file mode 100644 index 0000000..f1612b8 --- /dev/null +++ b/meta-tizen/recipes-Development/less/less.inc @@ -0,0 +1,36 @@ +DESCRIPTION = "A text file browser similar to more, but better" +HOMEPAGE = "http://www.greenwoodsoftware.com/less/" +SECTION = "Applications/Text" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by less +PROVIDES += "less" +RPROVIDES_less += "less" + + +DEPENDS = "" +#DEPENDS of less +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "ncurses" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "less-" + +less-files = "/usr/bin/* " + +FILES_less- = "${less-files}" + +SPECFILES = "packaging/less.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require less-extraconf.inc diff --git a/meta-tizen/recipes-Development/less/less_git.bb b/meta-tizen/recipes-Development/less/less_git.bb new file mode 100644 index 0000000..b3698f4 --- /dev/null +++ b/meta-tizen/recipes-Development/less/less_git.bb @@ -0,0 +1,5 @@ +require less.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/less.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/libtool/libtool-extraconf.inc b/meta-tizen/recipes-Development/libtool/libtool-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/libtool/libtool.inc b/meta-tizen/recipes-Development/libtool/libtool.inc new file mode 100644 index 0000000..948163f --- /dev/null +++ b/meta-tizen/recipes-Development/libtool/libtool.inc @@ -0,0 +1,56 @@ +DESCRIPTION = "A Tool to Build Shared Libraries" +HOMEPAGE = "http://www.gnu.org/software/libtool/" +SECTION = "Development/Tools/Building" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by libltdl +PROVIDES += "libltdl" +RPROVIDES_libltdl += "libltdl" + +#PROVIDES by libtool +PROVIDES += "libtool" +RPROVIDES_libtool += "libtool" +PROVIDES += "libltdl-devel" +RPROVIDES_libtool += "libltdl-devel" +PROVIDES += "libtool-ltdl-devel" +RPROVIDES_libtool += "libtool-ltdl-devel" + + +DEPENDS = "" +#DEPENDS of libtool +DEPENDS += "automake" +DEPENDS += "gcc" +DEPENDS += "lzma" +DEPENDS += "zlib" +DEPENDS += "makeinfo" + + +RDEPENDS = "" +#RDEPENDS of libtool +# the RDEPENDS rules is ignore "automake > 1.4" +RDEPENDS_libtool += "automake" +RDEPENDS_libtool += "tar" +# the RDEPENDS rules is ignore "libltdl = 2.4.2" +RDEPENDS_libtool += "libltdl" + + +PACKAGES = "" +PACKAGES += "libltdl" +PACKAGES += "libtool-" + +libltdlfiles = "/usr/lib64/libltdl.so.* " + +libtool-files = "/usr/bin/libtool /usr/bin/libtoolize /usr/include/libltdl /usr/include/ltdl.h /usr/lib64/libltdl.a /usr/lib64/libltdl.so /usr/share/aclocal/*.m4 /usr/share/libtool " + +FILES_libltdl = "${libltdlfiles}" +FILES_libtool- = "${libtool-files}" + +SPECFILES = "packaging/libtool.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libtool-extraconf.inc diff --git a/meta-tizen/recipes-Development/libtool/libtool_git.bb b/meta-tizen/recipes-Development/libtool/libtool_git.bb new file mode 100644 index 0000000..61c9085 --- /dev/null +++ b/meta-tizen/recipes-Development/libtool/libtool_git.bb @@ -0,0 +1,5 @@ +require libtool.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libtool.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/make/make-extraconf.inc b/meta-tizen/recipes-Development/make/make-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/make/make.inc b/meta-tizen/recipes-Development/make/make.inc new file mode 100644 index 0000000..d75924f --- /dev/null +++ b/meta-tizen/recipes-Development/make/make.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "GNU make" +HOMEPAGE = "http://www.gnu.org/software/make/make.html" +SECTION = "Development/Tools/Building" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by make +PROVIDES += "make" +RPROVIDES_make += "make" +PROVIDES += "gmake" +RPROVIDES_make += "gmake" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "make-" + +make-files = "/usr/bin/make /usr/bin/gmake " + +FILES_make- = "${make-files}" + +SPECFILES = "packaging/make.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require make-extraconf.inc diff --git a/meta-tizen/recipes-Development/make/make_git.bb b/meta-tizen/recipes-Development/make/make_git.bb new file mode 100644 index 0000000..d3851f0 --- /dev/null +++ b/meta-tizen/recipes-Development/make/make_git.bb @@ -0,0 +1,5 @@ +require make.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/make.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/nano/nano-extraconf.inc b/meta-tizen/recipes-Development/nano/nano-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/nano/nano.inc b/meta-tizen/recipes-Development/nano/nano.inc new file mode 100644 index 0000000..2b2f77c --- /dev/null +++ b/meta-tizen/recipes-Development/nano/nano.inc @@ -0,0 +1,45 @@ +DESCRIPTION = "Pico Editor Clone with Enhancements" +HOMEPAGE = "http://www.nano-editor.org/" +SECTION = "Productivity/Editors/Other" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by nano-lang +PROVIDES += "nano-lang " +RPROVIDES_nano-lang += "nano-lang " +# the PROVIDES rules is ignore "nano-lang-all = 2.3.1" +PROVIDES += "nano-lang-all" +RPROVIDES_nano-lang += "nano-lang-all" + +#PROVIDES by nano +PROVIDES += "nano" +RPROVIDES_nano += "nano" + + +DEPENDS = "" +#DEPENDS of nano +DEPENDS += "file" +DEPENDS += "ncurses" + + +RDEPENDS = "" +#RDEPENDS of nano-lang +# the RDEPENDS rules is ignore "nano = 2.3.1" +RDEPENDS_nano-lang += "nano" + + +PACKAGES = "" +PACKAGES += "nano-" + +nano-files = "/usr/bin/nano /usr/bin/rnano /usr/share/nano/ " + +FILES_nano- = "${nano-files}" + +SPECFILES = "packaging/nano.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require nano-extraconf.inc diff --git a/meta-tizen/recipes-Development/nano/nano_git.bb b/meta-tizen/recipes-Development/nano/nano_git.bb new file mode 100644 index 0000000..0d5b928 --- /dev/null +++ b/meta-tizen/recipes-Development/nano/nano_git.bb @@ -0,0 +1,5 @@ +require nano.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/nano.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/nasm/nasm-extraconf.inc b/meta-tizen/recipes-Development/nasm/nasm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/nasm/nasm.inc b/meta-tizen/recipes-Development/nasm/nasm.inc new file mode 100644 index 0000000..63268f1 --- /dev/null +++ b/meta-tizen/recipes-Development/nasm/nasm.inc @@ -0,0 +1,43 @@ +DESCRIPTION = "Netwide Assembler (An x86 Assembler)" +HOMEPAGE = "http://nasm.sourceforge.net/" +SECTION = "Development/Languages/Other" +PRIORITY = "" +LICENSE = "BSD-2-Clause" + +PROVIDES = "" +#PROVIDES by nasm-doc +PROVIDES += "nasm-doc" +RPROVIDES_nasm-doc += "nasm-doc" +PROVIDES += "nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf" +RPROVIDES_nasm-doc += "nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf" + +#PROVIDES by nasm +PROVIDES += "nasm" +RPROVIDES_nasm += "nasm" + + +DEPENDS = "" +#DEPENDS of nasm +DEPENDS += "makeinfo" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "nasm-" +PACKAGES += "nasm-doc" + +nasm-files = "/usr/bin/* " + +nasm-docfiles = " " + +FILES_nasm- = "${nasm-files}" +FILES_nasm-doc = "${nasm-docfiles}" + +SPECFILES = "packaging/nasm.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require nasm-extraconf.inc diff --git a/meta-tizen/recipes-Development/nasm/nasm_git.bb b/meta-tizen/recipes-Development/nasm/nasm_git.bb new file mode 100644 index 0000000..731f2fb --- /dev/null +++ b/meta-tizen/recipes-Development/nasm/nasm_git.bb @@ -0,0 +1,5 @@ +require nasm.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/nasm.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/pacrunner/pacrunner-extraconf.inc b/meta-tizen/recipes-Development/pacrunner/pacrunner-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/pacrunner/pacrunner.inc b/meta-tizen/recipes-Development/pacrunner/pacrunner.inc new file mode 100644 index 0000000..17f570e --- /dev/null +++ b/meta-tizen/recipes-Development/pacrunner/pacrunner.inc @@ -0,0 +1,48 @@ +DESCRIPTION = "Proxy" +HOMEPAGE = "" +SECTION = "Networking" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by pacrunner-test +PROVIDES += "pacrunner-test" +RPROVIDES_pacrunner-test += "pacrunner-test" + +#PROVIDES by pacrunner +PROVIDES += "pacrunner" +RPROVIDES_pacrunner += "pacrunner" + + +DEPENDS = "" +#DEPENDS of pacrunner +DEPENDS += "v8" +DEPENDS += "dbus-1" +DEPENDS += "glib-2.0" +DEPENDS += "libcurl" + + +RDEPENDS = "" +#RDEPENDS of pacrunner-test +# the RDEPENDS rules is ignore "pacrunner = 0.5" +RDEPENDS_pacrunner-test += "pacrunner" + + +PACKAGES = "" +PACKAGES += "pacrunner-test" +PACKAGES += "pacrunner-" + +pacrunner-testfiles = "/usr/lib64/pacrunner/test/create-proxy-config /usr/lib64/pacrunner/test/find-proxy-for-url " + +pacrunner-files = "GPL-2.0+ COPYING /etc/dbus-1/system.d/pacrunner.conf /usr/sbin/pacrunner /usr/share/dbus-1/system-services/pacrunner.service " + +FILES_pacrunner-test = "${pacrunner-testfiles}" +FILES_pacrunner- = "${pacrunner-files}" + +SPECFILES = "packaging/pacrunner.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pacrunner-extraconf.inc diff --git a/meta-tizen/recipes-Development/pacrunner/pacrunner_git.bb b/meta-tizen/recipes-Development/pacrunner/pacrunner_git.bb new file mode 100644 index 0000000..772b8e8 --- /dev/null +++ b/meta-tizen/recipes-Development/pacrunner/pacrunner_git.bb @@ -0,0 +1,5 @@ +require pacrunner.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pacrunner.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/patch/patch-extraconf.inc b/meta-tizen/recipes-Development/patch/patch-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/patch/patch.inc b/meta-tizen/recipes-Development/patch/patch.inc new file mode 100644 index 0000000..ece71af --- /dev/null +++ b/meta-tizen/recipes-Development/patch/patch.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "The GNU patch command, for modifying/upgrading files" +HOMEPAGE = "http://www.gnu.org/software/patch/patch.html" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "GPL-3.0" + +PROVIDES = "" +#PROVIDES by patch +PROVIDES += "patch" +RPROVIDES_patch += "patch" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "patch-" + +patch-files = "/usr/bin/* " + +FILES_patch- = "${patch-files}" + +SPECFILES = "packaging/patch.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require patch-extraconf.inc diff --git a/meta-tizen/recipes-Development/patch/patch_git.bb b/meta-tizen/recipes-Development/patch/patch_git.bb new file mode 100644 index 0000000..bc0c037 --- /dev/null +++ b/meta-tizen/recipes-Development/patch/patch_git.bb @@ -0,0 +1,5 @@ +require patch.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/patch.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/powertop/powertop-extraconf.inc b/meta-tizen/recipes-Development/powertop/powertop-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/powertop/powertop.inc b/meta-tizen/recipes-Development/powertop/powertop.inc new file mode 100644 index 0000000..31e7b71 --- /dev/null +++ b/meta-tizen/recipes-Development/powertop/powertop.inc @@ -0,0 +1,48 @@ +DESCRIPTION = "PowerTop is tool that is used for power diagnostics" +HOMEPAGE = "http://www.01.org" +SECTION = "Applications/System" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PROVIDES = "" +#PROVIDES by powertop +PROVIDES += "powertop" +RPROVIDES_powertop += "powertop" + +#PROVIDES by powertop-lang +PROVIDES += "powertop-lang " +RPROVIDES_powertop-lang += "powertop-lang " +# the PROVIDES rules is ignore "powertop-lang-all = 2.1" +PROVIDES += "powertop-lang-all" +RPROVIDES_powertop-lang += "powertop-lang-all" + + +DEPENDS = "" +#DEPENDS of powertop +DEPENDS += "gettext" +DEPENDS += "zlib" +DEPENDS += "libnl-1" +DEPENDS += "libpci" +DEPENDS += "ncurses" + + +RDEPENDS = "" +#RDEPENDS of powertop-lang +# the RDEPENDS rules is ignore "powertop = 2.1" +RDEPENDS_powertop-lang += "powertop" + + +PACKAGES = "" +PACKAGES += "powertop-" + +powertop-files = "/usr/sbin/powertop /usr/share/man/man8/powertop.8.gz " + +FILES_powertop- = "${powertop-files}" + +SPECFILES = "packaging/powertop.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require powertop-extraconf.inc diff --git a/meta-tizen/recipes-Development/powertop/powertop_git.bb b/meta-tizen/recipes-Development/powertop/powertop_git.bb new file mode 100644 index 0000000..e27ff42 --- /dev/null +++ b/meta-tizen/recipes-Development/powertop/powertop_git.bb @@ -0,0 +1,5 @@ +require powertop.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/powertop.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/pulseaudio/pulseaudio-extraconf.inc b/meta-tizen/recipes-Development/pulseaudio/pulseaudio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc b/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc new file mode 100644 index 0000000..3d92047 --- /dev/null +++ b/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc @@ -0,0 +1,218 @@ +DESCRIPTION = "A Networked Sound Server" +HOMEPAGE = "http://pulseaudio.org" +SECTION = "System/Sound Daemons" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libpulse +PROVIDES += "libpulse" +RPROVIDES_libpulse += "libpulse" + +#PROVIDES by pulseaudio-lang +PROVIDES += "pulseaudio-lang " +RPROVIDES_pulseaudio-lang += "pulseaudio-lang " +# the PROVIDES rules is ignore "pulseaudio-lang-all = 2.1" +PROVIDES += "pulseaudio-lang-all" +RPROVIDES_pulseaudio-lang += "pulseaudio-lang-all" + +#PROVIDES by pulseaudio-module-bluetooth +PROVIDES += "pulseaudio-module-bluetooth" +RPROVIDES_pulseaudio-module-bluetooth += "pulseaudio-module-bluetooth" + +#PROVIDES by libpulse-mainloop-glib +PROVIDES += "libpulse-mainloop-glib" +RPROVIDES_libpulse-mainloop-glib += "libpulse-mainloop-glib" + +#PROVIDES by pulseaudio-utils +PROVIDES += "pulseaudio-utils" +RPROVIDES_pulseaudio-utils += "pulseaudio-utils" + +#PROVIDES by pulseaudio +PROVIDES += "pulseaudio" +RPROVIDES_pulseaudio += "pulseaudio" + +#PROVIDES by pulseaudio-module-x11 +PROVIDES += "pulseaudio-module-x11" +RPROVIDES_pulseaudio-module-x11 += "pulseaudio-module-x11" + +#PROVIDES by pulseaudio-esound-compat +PROVIDES += "pulseaudio-esound-compat" +RPROVIDES_pulseaudio-esound-compat += "pulseaudio-esound-compat" + +#PROVIDES by pulseaudio-module-devel +PROVIDES += "pulseaudio-module-devel" +RPROVIDES_pulseaudio-module-devel += "pulseaudio-module-devel" + +#PROVIDES by libpulse-devel +PROVIDES += "libpulse-devel" +RPROVIDES_libpulse-devel += "libpulse-devel" + +#PROVIDES by pulseaudio-gdm-hooks +PROVIDES += "pulseaudio-gdm-hooks" +RPROVIDES_pulseaudio-gdm-hooks += "pulseaudio-gdm-hooks" + +#PROVIDES by pulseaudio-module-zeroconf +PROVIDES += "pulseaudio-module-zeroconf" +RPROVIDES_pulseaudio-module-zeroconf += "pulseaudio-module-zeroconf" + +#PROVIDES by pulseaudio-module-jack +PROVIDES += "pulseaudio-module-jack" +RPROVIDES_pulseaudio-module-jack += "pulseaudio-module-jack" + +#PROVIDES by pulseaudio-module-gconf +PROVIDES += "pulseaudio-module-gconf" +RPROVIDES_pulseaudio-module-gconf += "pulseaudio-module-gconf" + + +DEPENDS = "" +#DEPENDS of pulseaudio +DEPENDS += "alsa" +DEPENDS += "bluez" +DEPENDS += "fdupes" +DEPENDS += "gdbm" +DEPENDS += "intltool" +DEPENDS += "libopenssl" +DEPENDS += "libsndfile" +DEPENDS += "libtool" +# the DEPENDS rules is ignore "libudev >= 143" +DEPENDS += "libudev" +DEPENDS += "orc" +DEPENDS += "speex" +DEPENDS += "update-desktop-files" +DEPENDS += "x11" +DEPENDS += "xi" +DEPENDS += "x11-xcb" +DEPENDS += "xcb" +DEPENDS += "ice" +DEPENDS += "sm" +DEPENDS += "xtst" +DEPENDS += "dbus-1" +DEPENDS += "libcap" +DEPENDS += "orc" +DEPENDS += "glib-2.0" +DEPENDS += "json" + + +RDEPENDS = "" +#RDEPENDS of pulseaudio-lang +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-lang += "pulseaudio" + +#RDEPENDS of pulseaudio-module-bluetooth +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-module-bluetooth += "pulseaudio" +# the RDEPENDS rules is ignore "bluez >= 4.34" +RDEPENDS_pulseaudio-module-bluetooth += "bluez" + +#RDEPENDS of pulseaudio-utils +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-utils += "pulseaudio" +# the RDEPENDS rules is ignore "libpulse-mainloop-glib = 2.1" +RDEPENDS_pulseaudio-utils += "libpulse-mainloop-glib" +# the RDEPENDS rules is ignore "libpulse = 2.1" +RDEPENDS_pulseaudio-utils += "libpulse" + +#RDEPENDS of pulseaudio +# the RDEPENDS rules is ignore "udev >= 146" +RDEPENDS_pulseaudio += "udev" + +#RDEPENDS of pulseaudio-module-x11 +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-module-x11 += "pulseaudio" +# the RDEPENDS rules is ignore "pulseaudio-utils = 2.1" +RDEPENDS_pulseaudio-module-x11 += "pulseaudio-utils" + +#RDEPENDS of pulseaudio-esound-compat +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-esound-compat += "pulseaudio" + +#RDEPENDS of pulseaudio-module-devel +# the RDEPENDS rules is ignore "libpulse-devel = 2.1-0" +RDEPENDS_pulseaudio-module-devel += "libpulse-devel" + +#RDEPENDS of libpulse-devel +# the RDEPENDS rules is ignore "libpulse = 2.1" +RDEPENDS_libpulse-devel += "libpulse" +# the RDEPENDS rules is ignore "libpulse-mainloop-glib = 2.1" +RDEPENDS_libpulse-devel += "libpulse-mainloop-glib" +RDEPENDS_libpulse-devel += "pkgconfig" +RDEPENDS_libpulse-devel += "glib-2.0" + +#RDEPENDS of pulseaudio-gdm-hooks +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-gdm-hooks += "pulseaudio" +# the RDEPENDS rules is ignore "gdm >= 2.22" +RDEPENDS_pulseaudio-gdm-hooks += "gdm" + +#RDEPENDS of pulseaudio-module-zeroconf +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-module-zeroconf += "pulseaudio" + +#RDEPENDS of pulseaudio-module-jack +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-module-jack += "pulseaudio" + +#RDEPENDS of pulseaudio-module-gconf +# the RDEPENDS rules is ignore "pulseaudio = 2.1" +RDEPENDS_pulseaudio-module-gconf += "pulseaudio" + + +PACKAGES = "" +PACKAGES += "libpulse" +PACKAGES += "pulseaudio-module-bluetooth" +PACKAGES += "pulseaudio-utils" +PACKAGES += "libpulse-mainloop-glib" +PACKAGES += "pulseaudio-module-x11" +PACKAGES += "pulseaudio-esound-compat" +PACKAGES += "pulseaudio-module-devel" +PACKAGES += "libpulse-devel" +PACKAGES += "pulseaudio-module-gconf" +PACKAGES += "pulseaudio-" +PACKAGES += "pulseaudio-module-zeroconf" +PACKAGES += "pulseaudio-gdm-hooks" + +libpulsefiles = "/usr/lib64/libpulse.so.0 /usr/lib64/libpulse.so.0.* /usr/lib64/libpulse-simple.so.* /usr/lib64/pulseaudio/libpulsecommon-2.1.so " + +pulseaudio-module-bluetoothfiles = "/usr/lib64/pulse-2.1/modules/libbluetooth-ipc.so /usr/lib64/pulse-2.1/modules/libbluetooth-sbc.so /usr/lib64/pulse-2.1/modules/libbluetooth-util.so /usr/lib64/pulse-2.1/modules/module-bluetooth-device.so /usr/lib64/pulse-2.1/modules/module-bluetooth-discover.so /usr/lib64/pulse-2.1/modules/module-bluetooth-proximity.so " + +pulseaudio-utilsfiles = "/usr/bin/pacat /usr/bin/pacmd /usr/bin/pactl /usr/bin/paplay /usr/bin/parec /usr/bin/pamon /usr/bin/parecord /usr/bin/pax11publish /usr/bin/padsp /usr/bin/pasuspender " + +libpulse-mainloop-glibfiles = "/usr/lib64/libpulse-mainloop-glib.so.* " + +pulseaudio-module-x11files = "/etc/xdg/autostart/pulseaudio.desktop /usr/bin/start-pulseaudio-x11 /usr/bin/start-pulseaudio-kde /usr/lib64/pulse-2.1/modules/module-x11-bell.so /usr/lib64/pulse-2.1/modules/module-x11-cork-request.so /usr/lib64/pulse-2.1/modules/module-x11-publish.so /usr/lib64/pulse-2.1/modules/module-x11-xsmp.so " + +pulseaudio-esound-compatfiles = "/usr/bin/esdcompat /usr/bin/esd " + +pulseaudio-module-develfiles = "/usr/include/pulsecore/*.h /usr/include/pulsemodule/pulse/*.h /usr/lib64/pkgconfig/pulseaudio-module-devel.pc " + +libpulse-develfiles = "/usr/include/pulse/ /usr/lib64/libpulse.so /usr/lib64/libpulse-mainloop-glib.so /usr/lib64/libpulse-simple.so /usr/lib64/pkgconfig/libpulse*.pc /usr/lib64/cmake/PulseAudio/PulseAudio*.cmake /usr/share/vala " + +pulseaudio-module-gconffiles = " " + +pulseaudio-files = "LGPLv2+ LICENSE GPL LGPL /usr/bin/pulseaudio /usr/bin/setup-pulseaudio /usr/share/pulseaudio/alsa-mixer /usr/lib64/libpulsecore-2.1.so /usr/lib64/pulseaudio/libpulsedsp.so /usr/lib64/pulse-2.1/modules/libalsa-util.so /usr/lib64/pulse-2.1/modules/libcli.so /usr/lib64/pulse-2.1/modules/liboss-util.so /usr/lib64/pulse-2.1/modules/libprotocol-cli.so /usr/lib64/pulse-2.1/modules/libprotocol-esound.so /usr/lib64/pulse-2.1/modules/libprotocol-http.so /usr/lib64/pulse-2.1/modules/libprotocol-native.so /usr/lib64/pulse-2.1/modules/libprotocol-simple.so /usr/lib64/pulse-2.1/modules/librtp.so /usr/lib64/pulse-2.1/modules/module-alsa-card.so /usr/lib64/pulse-2.1/modules/module-alsa-sink.so /usr/lib64/pulse-2.1/modules/module-alsa-source.so /usr/lib64/pulse-2.1/modules/module-always-sink.so /usr/lib64/pulse-2.1/modules/module-augment-properties.so /usr/lib64/pulse-2.1/modules/module-card-restore.so /usr/lib64/pulse-2.1/modules/module-cli.so /usr/lib64/pulse-2.1/modules/module-cli-protocol-tcp.so /usr/lib64/pulse-2.1/modules/module-cli-protocol-unix.so /usr/lib64/pulse-2.1/modules/module-combine.so /usr/lib64/pulse-2.1/modules/module-combine-sink.so /usr/lib64/pulse-2.1/modules/module-console-kit.so /usr/lib64/pulse-2.1/modules/module-dbus-protocol.so /usr/lib64/pulse-2.1/modules/module-default-device-restore.so /usr/lib64/pulse-2.1/modules/module-detect.so /usr/lib64/pulse-2.1/modules/module-device-manager.so /usr/lib64/pulse-2.1/modules/module-device-restore.so /usr/lib64/pulse-2.1/modules/module-echo-cancel.so /usr/lib64/pulse-2.1/modules/module-esound-compat-spawnfd.so /usr/lib64/pulse-2.1/modules/module-esound-compat-spawnpid.so /usr/lib64/pulse-2.1/modules/module-esound-protocol-tcp.so /usr/lib64/pulse-2.1/modules/module-esound-protocol-unix.so /usr/lib64/pulse-2.1/modules/module-esound-sink.so /usr/lib64/pulse-2.1/modules/module-filter-apply.so /usr/lib64/pulse-2.1/modules/module-filter-heuristics.so /usr/lib64/pulse-2.1/modules/module-hal-detect.so /usr/lib64/pulse-2.1/modules/module-http-protocol-tcp.so /usr/lib64/pulse-2.1/modules/module-http-protocol-unix.so /usr/lib64/pulse-2.1/modules/module-intended-roles.so /usr/lib64/pulse-2.1/modules/module-ladspa-sink.so /usr/lib64/pulse-2.1/modules/libraop.so /usr/lib64/pulse-2.1/modules/module-raop-sink.so /usr/lib64/pulse-2.1/modules/module-loopback.so /usr/lib64/pulse-2.1/modules/module-match.so /usr/lib64/pulse-2.1/modules/module-mmkbd-evdev.so /usr/lib64/pulse-2.1/modules/module-native-protocol-fd.so /usr/lib64/pulse-2.1/modules/module-native-protocol-tcp.so /usr/lib64/pulse-2.1/modules/module-native-protocol-unix.so /usr/lib64/pulse-2.1/modules/module-null-sink.so /usr/lib64/pulse-2.1/modules/module-null-source.so /usr/lib64/pulse-2.1/modules/module-oss.so /usr/lib64/pulse-2.1/modules/module-pipe-sink.so /usr/lib64/pulse-2.1/modules/module-pipe-source.so /usr/lib64/pulse-2.1/modules/module-position-event-sounds.so /usr/lib64/pulse-2.1/modules/module-remap-sink.so /usr/lib64/pulse-2.1/modules/module-rescue-streams.so /usr/lib64/pulse-2.1/modules/module-role-cork.so /usr/lib64/pulse-2.1/modules/module-rtp-recv.so /usr/lib64/pulse-2.1/modules/module-rtp-send.so /usr/lib64/pulse-2.1/modules/module-rygel-media-server.so /usr/lib64/pulse-2.1/modules/module-simple-protocol-tcp.so /usr/lib64/pulse-2.1/modules/module-simple-protocol-unix.so /usr/lib64/pulse-2.1/modules/module-sine.so /usr/lib64/pulse-2.1/modules/module-sine-source.so /usr/lib64/pulse-2.1/modules/module-stream-restore.so /usr/lib64/pulse-2.1/modules/module-suspend-on-idle.so /usr/lib64/pulse-2.1/modules/module-switch-on-connect.so /usr/lib64/pulse-2.1/modules/module-switch-on-port-available.so /usr/lib64/pulse-2.1/modules/module-systemd-login.so /usr/lib64/pulse-2.1/modules/module-tunnel-sink.so /usr/lib64/pulse-2.1/modules/module-tunnel-source.so /usr/lib64/pulse-2.1/modules/module-udev-detect.so /usr/lib64/pulse-2.1/modules/module-virtual-sink.so /usr/lib64/pulse-2.1/modules/module-virtual-source.so /usr/lib64/pulse-2.1/modules/module-virtual-surround-sink.so /usr/lib64/pulse-2.1/modules/module-volume-restore.so /usr/lib/udev/rules.d/90-pulseaudio.rules " + +pulseaudio-module-zeroconffiles = "/usr/lib64/pulse-2.1/modules/libraop.so /usr/lib64/pulse-2.1/modules/module-raop-sink.so " + +pulseaudio-gdm-hooksfiles = "" + +FILES_libpulse = "${libpulsefiles}" +FILES_pulseaudio-module-bluetooth = "${pulseaudio-module-bluetoothfiles}" +FILES_pulseaudio-utils = "${pulseaudio-utilsfiles}" +FILES_libpulse-mainloop-glib = "${libpulse-mainloop-glibfiles}" +FILES_pulseaudio-module-x11 = "${pulseaudio-module-x11files}" +FILES_pulseaudio-esound-compat = "${pulseaudio-esound-compatfiles}" +FILES_pulseaudio-module-devel = "${pulseaudio-module-develfiles}" +FILES_libpulse-devel = "${libpulse-develfiles}" +FILES_pulseaudio-module-gconf = "${pulseaudio-module-gconffiles}" +FILES_pulseaudio- = "${pulseaudio-files}" +FILES_pulseaudio-module-zeroconf = "${pulseaudio-module-zeroconffiles}" +FILES_pulseaudio-gdm-hooks = "${pulseaudio-gdm-hooksfiles}" + +SPECFILES = "packaging/pulseaudio.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pulseaudio-extraconf.inc diff --git a/meta-tizen/recipes-Development/pulseaudio/pulseaudio_git.bb b/meta-tizen/recipes-Development/pulseaudio/pulseaudio_git.bb new file mode 100644 index 0000000..33d9630 --- /dev/null +++ b/meta-tizen/recipes-Development/pulseaudio/pulseaudio_git.bb @@ -0,0 +1,5 @@ +require pulseaudio.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pulseaudio.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/strace/strace-extraconf.inc b/meta-tizen/recipes-Development/strace/strace-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/strace/strace.inc b/meta-tizen/recipes-Development/strace/strace.inc new file mode 100644 index 0000000..953d710 --- /dev/null +++ b/meta-tizen/recipes-Development/strace/strace.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Tracks and displays system calls associated with a running process" +HOMEPAGE = "" +SECTION = "Development/Debuggers" +PRIORITY = "" +LICENSE = "BSD" + +PROVIDES = "" +#PROVIDES by strace +PROVIDES += "strace" +RPROVIDES_strace += "strace" + + +DEPENDS = "" +#DEPENDS of strace +DEPENDS += "libacl" +DEPENDS += "libaio" +DEPENDS += "time" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "strace-" + +strace-files = "/usr/bin/strace /usr/bin/strace-log-merge /usr/share/man/man1/* * Wed May 02 2012 Dmitry V. Levin 4.7-1 - New upstream release. + implemented proper handling of real SIGTRAPs (#162774). * Sat Jan 14 2012 Fedora Release Engineering - 4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Mar 14 2011 Dmitry V. Levin - 4.6-1 - New upstream release. + fixed a corner case in waitpid handling (#663547). * Wed Feb 09 2011 Fedora Release Engineering - 4.5.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Apr 13 2010 Roland McGrath - 4.5.20-1 - New upstream release, work mostly by Andreas Schwab and Dmitry V. Levin. + fixed potential stack buffer overflow in select decoder (#556678); + fixed FTBFS (#539044). * Wed Oct 21 2009 Roland McGrath - 4.5.19-1 - New upstream release, work mostly by Dmitry V. Levin + exit/kill strace with traced process exitcode/signal (#105371); + fixed build on ARM EABI (#507576); + fixed display of 32-bit argv array on 64-bit architectures (#519480); + fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures (#471169); + fixed several bugs in strings decoder, including potential heap memory corruption (#470529, #478324, #511035). * Thu Aug 28 2008 Roland McGrath - 4.5.18-1 - build fix for newer kernel headers (#457291) - fix CLONE_VFORK handling (#455078) - Support new Linux/PPC system call subpage_prot and PROT_SAO flag. - In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN. * Mon Jul 21 2008 Roland McGrath - 4.5.17-1 - handle O_CLOEXEC, MSG_CMSG_CLOEXEC (#365781) - fix biarch stat64 decoding (#222275) - fix spurious "..." in printing of environment strings (#358241) - improve prctl decoding (#364401) - fix hang wait on exited child with exited child (#354261) - fix biarch fork/vfork (-f) tracing (#447475) - fix biarch printing of negative argument kill (#430585) - fix biarch decoding of error return values (#447587) - fix -f tracing of CLONE_VFORK (#455078) - fix ia64 register clobberation in -f tracing (#453438) - print SO_NODEFER, SA_RESETHAND instead of SA_NOMASK, SA_ONESHOT (#455821) - fix futex argument decoding (#448628, #448629) * Fri Aug 3 2007 Roland McGrath - 4.5.16-1 - fix multithread issues (#240962, #240961, #247907) - fix spurious SIGSTOP on early interrupt (#240986) - fix utime for biarch (#247185) - fix -u error message (#247170) - better futex syscall printing (##241467) - fix argv/envp printing with small -s settings, and for biarch - new syscalls: getcpu, eventfd, timerfd, signalfd, epoll_pwait, move_pages, utimensat * Tue Jan 16 2007 Roland McGrath - 4.5.15-1 - biarch fixes (#179740, #192193, #171626, #173050, #218433, #218043) - fix -ff -o behavior (#204950, #218435, #193808, #219423) - better quotactl printing (#118696) - *at, inotify*, pselect6, ppoll and unshare syscalls (#178633, #191275) - glibc-2.5 build fixes (#209856) - memory corruption fixes (#200621 - fix race in child setup under -f (#180293) - show ipc key values in hex (#198179, #192182) - disallow -c with -ff (#187847) - Resolves: RHBZ #179740, RHBZ #192193, RHBZ #204950, RHBZ #218435 - Resolves: RHBZ #193808, RHBZ #219423, RHBZ #171626, RHBZ #173050 - Resolves: RHBZ #218433, RHBZ #218043, RHBZ #118696, RHBZ #178633 - Resolves: RHBZ #191275, RHBZ #209856, RHBZ #200621, RHBZ #180293 - Resolves: RHBZ #198179, RHBZ #198182, RHBZ #187847 * Mon Nov 20 2006 Jakub Jelinek - 4.5.14-4 - Fix ia64 syscall decoding (#206768) - Fix build with glibc-2.4.90-33 and up on all arches but ia64 - Fix build against 2.6.18+ headers * Tue Aug 22 2006 Roland McGrath - 4.5.14-3 - Fix bogus decoding of syscalls >= 300 (#201462, #202620). * Fri Jul 14 2006 Jesse Keating - 4.5.14-2 - rebuild * Fri Feb 10 2006 Jesse Keating - 4.5.14-1.2 - bump again for long double bug on ppc{,64} * Tue Feb 07 2006 Jesse Keating - 4.5.14-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Mon Jan 16 2006 Roland McGrath - 4.5.14-1 - Fix biarch decoding of socket syscalls (#174354). - Fix biarch -e support (#173986). - Accept numeric syscalls in -e (#174798). - Fix ipc syscall decoding (#164755). - Improve msgrcv printing (#164757). - Man page updates (#165375). - Improve mount syscall printing (#165377). - Correct printing of restarting syscalls (#165469). * Wed Aug 3 2005 Roland McGrath - 4.5.13-1 - Fix setsockopt decoding on 64-bit (#162449). - Fix typos in socket option name strings (#161578). - Display more IPV6 socket options by name (#162450). - Don't display inappropriate syscalls for -e trace=file (#159340). - New selector type -e trace=desc for file-descriptor using calls (#159400). - Fix 32-bit old_mmap syscall decoding on x86-64 (#162467, #164215). - Fix errors detaching from multithreaded process on interrupt (#161919). - Note 4.5.12 fix for crash handling bad signal numbers (#162739). * Wed Jun 8 2005 Roland McGrath - 4.5.12-1 - Fix known syscall recognition for IA32 processes on x86-64 (#158934). - Fix bad output for ptrace on x86-64 (#159787). - Fix potential buffer overruns (#151570, #159196). - Make some diagnostics more consistent (#159308). - Update PowerPC system calls. - Better printing for Linux aio system calls. - Don't truncate statfs64 fields to 32 bits in output (#158243). - Cosmetic code cleanups (#159688). * Tue Mar 22 2005 Roland McGrath - 4.5.11-1 - Build tweaks. - Note 4.5.10 select fix (#151570). * Mon Mar 14 2005 Roland McGrath - 4.5.10-1 - Fix select handling on nonstandard fd_set sizes. - Don't print errors for null file name pointers. - Fix initial execve output with -i (#143365). * Fri Feb 4 2005 Roland McGrath - 4.5.9-2 - update ia64 syscall list (#146245) - fix x86_64 syscall argument extraction for 32-bit processes (#146093) - fix -e signal=NAME parsing (#143362) - fix x86_64 exit_group syscall handling - improve socket ioctl printing (#138223) - code cleanups (#143369, #143370) - improve mount flags printing (#141932) - support symbolic printing of x86_64 arch_prctl parameters (#142667) - fix potential crash in getxattr printing * Tue Oct 19 2004 Roland McGrath - 4.5.8-1 - fix multithreaded exit handling (#132150, #135254) - fix ioctl name matching (#129808) - print RTC_* ioctl structure contents (#58606) - grok epoll_* syscalls (#134463) - grok new RLIMIT_* values (#133594) - print struct cmsghdr contents for sendmsg (#131689) - fix clock_* and timer_* argument output (#131420) * Tue Aug 31 2004 Roland McGrath - 4.5.7-2 - new upstream version, misc fixes and updates (#128091, #129166, #128391, #129378, #130965, #131177) * Mon Jul 12 2004 Roland McGrath 4.5.6-1 - new upstream version, updates ioctl lists (#127398), fixes quotactl (#127393), more ioctl decoding (#126917) * Sun Jun 27 2004 Roland McGrath 4.5.5-1 - new upstream version, fixes x86-64 biarch support (#126547) * Tue Jun 15 2004 Elliot Lee 4.5.4-2 - rebuilt * Thu Jun 3 2004 Roland McGrath 4.5.4-0.FC1 - rebuilt for FC1 update * Thu Jun 3 2004 Roland McGrath 4.5.4-1 - new upstream version, more ioctls (#122257), minor fixes * Fri Apr 16 2004 Roland McGrath 4.5.3-1 - new upstream version, mq_* calls (#120701), -p vs NPTL (#120462), more fixes (#118694, #120541, #118685) * Tue Mar 02 2004 Elliot Lee 4.5.2-1.1 - rebuilt * Mon Mar 1 2004 Roland McGrath 4.5.2-1 - new upstream version, sched_* calls (#116990), show core flag (#112117) * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Nov 13 2003 Roland McGrath 4.5.1-1 - new upstream version, more fixes (#108012, #105366, #105359, #105358) * Tue Sep 30 2003 Roland McGrath 4.5-3 - revert bogus s390 fix * Thu Sep 25 2003 Roland McGrath 4.5-1.2.1AS - rebuilt for 2.1AS erratum * Wed Sep 24 2003 Roland McGrath 4.5-2 - rebuilt * Wed Sep 24 2003 Roland McGrath 4.5-1 - new upstream version, more fixes (#101499, #104365) * Thu Jul 17 2003 Roland McGrath 4.4.99-2 - rebuilt * Thu Jul 17 2003 Roland McGrath 4.4.99-1 - new upstream version, groks more new system calls, PF_INET6 sockets * Mon Jun 10 2003 Roland McGrath 4.4.98-1 - new upstream version, more fixes (#90754, #91085) * Wed Jun 04 2003 Elliot Lee - rebuilt * Sun Mar 30 2003 Roland McGrath 4.4.96-1 - new upstream version, handles yet more 2.5 syscalls, x86_64 & ia64 fixes * Mon Feb 24 2003 Elliot Lee 4.4.95-2 - rebuilt * Mon Feb 24 2003 Roland McGrath 4.4.95-1 - new upstream version, fixed getresuid/getresgid (#84959) * Wed Feb 19 2003 Roland McGrath 4.4.94-1 - new upstream version, new option -E to set environment variables (#82392) * Wed Jan 22 2003 Tim Powers 4.4.93-2 - rebuilt * Tue Jan 21 2003 Roland McGrath 4.4.93-1 - new upstream version, fixes ppc and s390 bugs, adds missing ptrace requests * Fri Jan 10 2003 Roland McGrath 4.4.91-1 - new upstream version, fixes -f on x86-64 * Fri Jan 10 2003 Roland McGrath 4.4.90-1 - new upstream version, fixes all known bugs modulo ia64 and s390 issues * Fri Jan 03 2003 Florian La Roche 4.4-11 - add further s390 patch from IBM * Wed Nov 27 2002 Tim Powers 4.4-10 - remove unpackaged files from the buildroot * Mon Oct 07 2002 Phil Knirsch 4.4-9.1 - Added latest s390(x) patch. * Fri Sep 06 2002 Karsten Hopp 4.4-9 - preliminary x86_64 support with an ugly patch to help debugging. Needs cleanup! * Mon Sep 2 2002 Jakub Jelinek 4.4-8 - newer version of the clone fixing patch (Roland McGrath) - aio syscalls for i386/ia64/ppc (Ben LaHaise) * Wed Aug 28 2002 Jakub Jelinek 4.4-7 - fix strace -f (Roland McGrath, #68994) - handle ?et_thread_area, SA_RESTORER (Ulrich Drepper) * Fri Jun 21 2002 Jakub Jelinek 4.4-6 - handle futexes, *xattr, sendfile64, etc. (Ulrich Drepper) - handle modify_ldt (#66894) * Thu May 23 2002 Tim Powers - automated rebuild * Tue Apr 16 2002 Jakub Jelinek 4.4-4 - fix for the last patch by Jeff Law (#62591) * Mon Mar 4 2002 Preston Brown 4.4-3 - integrate patch from Jeff Law to eliminate hang tracing threads * Sat Feb 23 2002 Florian La Roche - minor update from debian tar-ball * Wed Jan 02 2002 Florian La Roche - update to 4.4 * Sun Jul 22 2001 Florian La Roche - disable s390 patches, they are already included * Wed Jul 18 2001 Preston Brown 4.3-1 - new upstream version. Seems to have integrated most new syscalls - tracing threaded programs is now functional. * Mon Jun 11 2001 Than Ngo - port s390 patches from IBM * Wed May 16 2001 Nalin Dahyabhai - modify new syscall patch to allocate enough heap space in setgroups32() * Wed Feb 14 2001 Jakub Jelinek - #include in addition to * Fri Jan 26 2001 Karsten Hopp - clean up conflicting patches. This happened only when building on S390 * Fri Jan 19 2001 Bill Nottingham - update to CVS, reintegrate ia64 support * Sat Dec 8 2000 Bernhard Rosenkraenzer - Get S/390 support into the normal package * Sat Nov 18 2000 Florian La Roche - added S/390 patch from IBM, adapting it to not conflict with IA64 patch * Sat Aug 19 2000 Jakub Jelinek - doh, actually apply the 2.4 syscalls patch - make it compile with 2.4.0-test7-pre4+ headers, add getdents64 and fcntl64 * Thu Aug 3 2000 Jakub Jelinek - add a bunch of new 2.4 syscalls (#14036) * Wed Jul 12 2000 Prospector - automatic rebuild - excludearch ia64 * Fri Jun 2 2000 Matt Wilson - use buildinstall for FHS * Wed May 24 2000 Jakub Jelinek - make things compile on sparc - fix sigreturn on sparc * Fri Mar 31 2000 Bill Nottingham - fix stat64 misdef (#10485) * Tue Mar 21 2000 Michael K. Johnson - added ia64 patch * Thu Feb 03 2000 Cristian Gafton - man pages are compressed - version 4.2 (why are we keeping all these patches around?) * Sat Nov 27 1999 Jeff Johnson - update to 4.1 (with sparc socketcall patch). * Fri Nov 12 1999 Jakub Jelinek - fix socketcall on sparc. * Thu Sep 02 1999 Cristian Gafton - fix KERN_SECURELVL compile problem * Tue Aug 31 1999 Cristian Gafton - added alpha patch from HJLu to fix the osf_sigprocmask interpretation * Sat Jun 12 1999 Jeff Johnson - update to 3.99.1. * Wed Jun 2 1999 Jeff Johnson - add (the other :-) jj's sparc patch. * Wed May 26 1999 Jeff Johnson - upgrade to 3.99 in order to - add new 2.2.x open flags (#2955). - add new 2.2.x syscalls (#2866). - strace 3.1 patches carried along for now. * Sun May 16 1999 Jeff Johnson - don't rely on (broken!) rpm %patch (#2735) * Tue Apr 06 1999 Preston Brown - strip binary * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 16) * Tue Feb 9 1999 Jeff Johnson - vfork est arrive! * Tue Feb 9 1999 Christopher Blizzard - Add patch to follow clone() syscalls, too. * Sun Jan 17 1999 Jeff Johnson - patch to build alpha/sparc with glibc 2.1. * Thu Dec 03 1998 Cristian Gafton - patch to build on ARM * Wed Sep 30 1998 Jeff Johnson - fix typo (printf, not tprintf). * Sat Sep 19 1998 Jeff Johnson - fix compile problem on sparc. * Tue Aug 18 1998 Cristian Gafton - buildroot * Mon Jul 20 1998 Cristian Gafton - added the umoven patch from James Youngman - fixed build problems on newer glibc releases * Mon Jun 08 1998 Prospector System - translations modified for de, fr, tr " + +FILES_strace- = "${strace-files}" + +SPECFILES = "packaging/strace.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require strace-extraconf.inc diff --git a/meta-tizen/recipes-Development/strace/strace_git.bb b/meta-tizen/recipes-Development/strace/strace_git.bb new file mode 100644 index 0000000..a3bd29c --- /dev/null +++ b/meta-tizen/recipes-Development/strace/strace_git.bb @@ -0,0 +1,5 @@ +require strace.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/strace.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/tcl/tcl-extraconf.inc b/meta-tizen/recipes-Development/tcl/tcl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/tcl/tcl.inc b/meta-tizen/recipes-Development/tcl/tcl.inc new file mode 100644 index 0000000..1e20502 --- /dev/null +++ b/meta-tizen/recipes-Development/tcl/tcl.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Tcl scripting language development environment" +HOMEPAGE = "" +SECTION = "Development/Languages" +PRIORITY = "" +LICENSE = "BSD" + +PROVIDES = "" +#PROVIDES by tcl +PROVIDES += "tcl" +RPROVIDES_tcl += "tcl" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "tcl-" + +tcl-files = "/usr/local/lib64 /usr/local/lib /usr/local/bin /usr/local/include /usr/local/man/man1 /usr/local/man/man3 /usr/local/man/mann " + +FILES_tcl- = "${tcl-files}" + +SPECFILES = "packaging/tcl.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require tcl-extraconf.inc diff --git a/meta-tizen/recipes-Development/tcl/tcl_git.bb b/meta-tizen/recipes-Development/tcl/tcl_git.bb new file mode 100644 index 0000000..1f007aa --- /dev/null +++ b/meta-tizen/recipes-Development/tcl/tcl_git.bb @@ -0,0 +1,5 @@ +require tcl.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/tcl.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/unzip/unzip-extraconf.inc b/meta-tizen/recipes-Development/unzip/unzip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/unzip/unzip.inc b/meta-tizen/recipes-Development/unzip/unzip.inc new file mode 100644 index 0000000..d611856 --- /dev/null +++ b/meta-tizen/recipes-Development/unzip/unzip.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "A utility for unpacking zip files" +HOMEPAGE = "http://www.info-zip.org/pub/infozip/UnZip.html" +SECTION = "Applications/Archiving" +PRIORITY = "" +LICENSE = "BSD" + +PROVIDES = "" +#PROVIDES by unzip +PROVIDES += "unzip" +RPROVIDES_unzip += "unzip" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "unzip-" + +unzip-files = "/usr/bin/* " + +FILES_unzip- = "${unzip-files}" + +SPECFILES = "packaging/unzip.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require unzip-extraconf.inc diff --git a/meta-tizen/recipes-Development/unzip/unzip_git.bb b/meta-tizen/recipes-Development/unzip/unzip_git.bb new file mode 100644 index 0000000..aa0fa80 --- /dev/null +++ b/meta-tizen/recipes-Development/unzip/unzip_git.bb @@ -0,0 +1,5 @@ +require unzip.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/unzip.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/vim/vim-extraconf.inc b/meta-tizen/recipes-Development/vim/vim-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/vim/vim.inc b/meta-tizen/recipes-Development/vim/vim.inc new file mode 100644 index 0000000..a5b56f3 --- /dev/null +++ b/meta-tizen/recipes-Development/vim/vim.inc @@ -0,0 +1,77 @@ +DESCRIPTION = "Vi IMproved" +HOMEPAGE = "http://www.vim.org/" +SECTION = "Productivity/Editors/Vi" +PRIORITY = "" +LICENSE = "VIM LICENSE" + +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" +PROVIDES += "vi" +RPROVIDES_vim-enhanced += "vi" +PROVIDES += "vim_client" +RPROVIDES_vim-enhanced += "vim_client" + +#PROVIDES by vim +PROVIDES += "vim" +RPROVIDES_vim += "vim" +PROVIDES += "vi" +RPROVIDES_vim += "vi" +PROVIDES += "vim_client" +RPROVIDES_vim += "vim_client" + + +DEPENDS = "" +#DEPENDS of vim +DEPENDS += "autoconf" +DEPENDS += "db4" +DEPENDS += "fdupes" +DEPENDS += "gettext" +DEPENDS += "ncurses" +DEPENDS += "perl" +DEPENDS += "pkgconfig" +DEPENDS += "python" +DEPENDS += "systemd" + + +RDEPENDS = "" +#RDEPENDS of vim-enhanced +# the RDEPENDS rules is ignore "perl = 5.16.0" +RDEPENDS_vim-enhanced += "perl" + + +PACKAGES = "" +PACKAGES += "vim-data" +PACKAGES += "vim-base" +PACKAGES += "vim-" +PACKAGES += "vim-enhanced" + +vim-datafiles = "/usr/share/vim/vim73/autoload/* /usr/share/vim/vim73/colors/* /usr/share/vim/vim73/compiler/* /usr/share/vim/vim73/doc/* /usr/share/vim/vim73/ftplugin/* /usr/share/vim/vim73/indent/* /usr/share/vim/vim73/keymap/* /usr/share/vim/vim73/lang/* /usr/share/vim/vim73/macros/* /usr/share/vim/vim73/plugin/* /usr/share/vim/vim73/print/* /usr/share/vim/vim73/spell/* /usr/share/vim/vim73/syntax/* /usr/share/vim/vim73/tools/ccfilter.1 /usr/share/vim/vim73/tools/ccfilter_README.txt /usr/share/vim/vim73/tools/efm_filter.pl /usr/share/vim/vim73/tools/efm_filter.txt /usr/share/vim/vim73/tools/efm_perl.pl /usr/share/vim/vim73/tools/mve.awk /usr/share/vim/vim73/tools/mve.txt /usr/share/vim/vim73/tools/pltags.pl /usr/share/vim/vim73/tools/README.txt /usr/share/vim/vim73/tools/ref /usr/share/vim/vim73/tools/shtags.1 /usr/share/vim/vim73/tools/shtags.pl /usr/share/vim/vim73/tools/unicode.vim /usr/share/vim/vim73/tools/vimm /usr/share/vim/vim73/tools/vim132 /usr/share/vim/vim73/tools/vimspell.sh /usr/share/vim/vim73/tools/vimspell.txt /usr/share/vim/vim73/tools/vim_vs_net.cmd /usr/share/vim/vim73/tutor/* /usr/share/vim/vim73/delmenu.vim /usr/share/vim/vim73/menu.vim /usr/share/vim/vim73/mswin.vim /usr/share/vim/vim73/synmenu.vim /usr/share/vim/vim73/gvimrc_example.vim /usr/share/vim/vim73/vimrc_example.vim " + +vim-basefiles = "/usr/bin/edit /usr/bin/ex /usr/bin/rview /usr/bin/rvim /usr/bin/vi /usr/bin/vim /usr/bin/view /usr/bin/vimdiff /usr/bin/vimtutor /usr/bin/xxd /usr/share/vim/current /usr/share/vim/vim73/bugreport.vim /usr/share/vim/vim73/evim.vim /usr/share/vim/vim73/filetype.vim /usr/share/vim/vim73/ftoff.vim /usr/share/vim/vim73/ftplugin.vim /usr/share/vim/vim73/ftplugof.vim /usr/share/vim/vim73/indent.vim /usr/share/vim/vim73/indoff.vim /usr/share/vim/vim73/optwin.vim /usr/share/vim/vim73/scripts.vim /usr/share/vim/vim73/syntax/syntax.vim " + +vim-files = "/usr/bin/vim-normal " + +vim-enhancedfiles = "/usr/bin/vim-enhanced " + +FILES_vim-data = "${vim-datafiles}" +FILES_vim-base = "${vim-basefiles}" +FILES_vim- = "${vim-files}" +FILES_vim-enhanced = "${vim-enhancedfiles}" + +SPECFILES = "packaging/vim.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require vim-extraconf.inc diff --git a/meta-tizen/recipes-Development/vim/vim_git.bb b/meta-tizen/recipes-Development/vim/vim_git.bb new file mode 100644 index 0000000..ebabc88 --- /dev/null +++ b/meta-tizen/recipes-Development/vim/vim_git.bb @@ -0,0 +1,5 @@ +require vim.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/vim.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/wdiff/wdiff-extraconf.inc b/meta-tizen/recipes-Development/wdiff/wdiff-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/wdiff/wdiff.inc b/meta-tizen/recipes-Development/wdiff/wdiff.inc new file mode 100644 index 0000000..9e55f2d --- /dev/null +++ b/meta-tizen/recipes-Development/wdiff/wdiff.inc @@ -0,0 +1,45 @@ +DESCRIPTION = "Display Word Differences Between Text Files" +HOMEPAGE = "ftp://mirrors.kernel.org/gnu/wdiff/" +SECTION = "Productivity/Text/Utilities" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by wdiff +PROVIDES += "wdiff" +RPROVIDES_wdiff += "wdiff" + +#PROVIDES by wdiff-lang +PROVIDES += "wdiff-lang" +RPROVIDES_wdiff-lang += "wdiff-lang" + + +DEPENDS = "" +#DEPENDS of wdiff +DEPENDS += "ncurses" + + +RDEPENDS = "" +#RDEPENDS of wdiff-lang +# the RDEPENDS rules is ignore "wdiff = 1.0.2" +RDEPENDS_wdiff-lang += "wdiff" + + +PACKAGES = "" +PACKAGES += "wdiff-" +PACKAGES += "wdiff-lang" + +wdiff-files = "GPL-2.0+ COPYING /usr/share/info/wdiff.info* /usr/bin/* /usr/share/man/man1/* " + +wdiff-langfiles = " " + +FILES_wdiff- = "${wdiff-files}" +FILES_wdiff-lang = "${wdiff-langfiles}" + +SPECFILES = "packaging/wdiff.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require wdiff-extraconf.inc diff --git a/meta-tizen/recipes-Development/wdiff/wdiff_git.bb b/meta-tizen/recipes-Development/wdiff/wdiff_git.bb new file mode 100644 index 0000000..02c62ee --- /dev/null +++ b/meta-tizen/recipes-Development/wdiff/wdiff_git.bb @@ -0,0 +1,5 @@ +require wdiff.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/wdiff.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/xz/xz-extraconf.inc b/meta-tizen/recipes-Development/xz/xz-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/xz/xz.inc b/meta-tizen/recipes-Development/xz/xz.inc new file mode 100644 index 0000000..e477e78 --- /dev/null +++ b/meta-tizen/recipes-Development/xz/xz.inc @@ -0,0 +1,73 @@ +DESCRIPTION = "A Program for Compressing Files" +HOMEPAGE = "http://tukaani.org/lzma/" +SECTION = "Productivity/Archiving/Compression" +PRIORITY = "" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +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-lang +PROVIDES += "xz-lang " +RPROVIDES_xz-lang += "xz-lang " +# the PROVIDES rules is ignore "xz-lang-all = 5.0.3" +PROVIDES += "xz-lang-all" +RPROVIDES_xz-lang += "xz-lang-all" + +#PROVIDES by liblzma +PROVIDES += "liblzma" +RPROVIDES_liblzma += "liblzma" + +#PROVIDES by xz-devel +PROVIDES += "xz-devel" +RPROVIDES_xz-devel += "xz-devel" +# the PROVIDES rules is ignore "lzma-devel = 5.0.3" +PROVIDES += "lzma-devel" +RPROVIDES_xz-devel += "lzma-devel" +# the PROVIDES rules is ignore "lzma-alpha-devel = 5.0.3" +PROVIDES += "lzma-alpha-devel" +RPROVIDES_xz-devel += "lzma-alpha-devel" + + +DEPENDS = "" +#DEPENDS of xz +DEPENDS += "pkgconfig" + + +RDEPENDS = "" +#RDEPENDS of xz-lang +# the RDEPENDS rules is ignore "xz = 5.0.3" +RDEPENDS_xz-lang += "xz" + +#RDEPENDS of xz-devel +# the RDEPENDS rules is ignore "liblzma = 5.0.3" +RDEPENDS_xz-devel += "liblzma" + + +PACKAGES = "" +PACKAGES += "xz-" +PACKAGES += "liblzma" +PACKAGES += "xz-devel" + +xz-files = "/usr/share/doc/packages/xz /usr/bin/* " + +liblzmafiles = "/usr/lib64/lib*.so.5* " + +xz-develfiles = "/usr/include/*.h /usr/include/lzma /usr/lib64/lib*.so /usr/lib64/pkgconfig/*.pc " + +FILES_xz- = "${xz-files}" +FILES_liblzma = "${liblzmafiles}" +FILES_xz-devel = "${xz-develfiles}" + +SPECFILES = "packaging/xz.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require xz-extraconf.inc diff --git a/meta-tizen/recipes-Development/xz/xz_git.bb b/meta-tizen/recipes-Development/xz/xz_git.bb new file mode 100644 index 0000000..b1b0cc3 --- /dev/null +++ b/meta-tizen/recipes-Development/xz/xz_git.bb @@ -0,0 +1,5 @@ +require xz.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/xz.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/yasm/yasm-extraconf.inc b/meta-tizen/recipes-Development/yasm/yasm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/yasm/yasm.inc b/meta-tizen/recipes-Development/yasm/yasm.inc new file mode 100644 index 0000000..a794679 --- /dev/null +++ b/meta-tizen/recipes-Development/yasm/yasm.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "Yasm Modular Assembler" +HOMEPAGE = "http://yasm.tortall.net/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "BSD" + +PROVIDES = "" +#PROVIDES by yasm +PROVIDES += "yasm" +RPROVIDES_yasm += "yasm" + + +DEPENDS = "" +#DEPENDS of yasm +DEPENDS += "binutils" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "yasm-" + +yasm-files = "/usr/bin/yasm /usr/bin/vsyasm /usr/bin/ytasm /usr/include/libyasm-stdint.h /usr/include/libyasm.h /usr/include/libyasm/* /usr/share/man/man1/yasm.1.gz /usr/share/man/man7/yasm_arch.7.gz /usr/share/man/man7/yasm_dbgfmts.7.gz /usr/share/man/man7/yasm_objfmts.7.gz /usr/share/man/man7/yasm_parsers.7.gz " + +FILES_yasm- = "${yasm-files}" + +SPECFILES = "packaging/yasm.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require yasm-extraconf.inc diff --git a/meta-tizen/recipes-Development/yasm/yasm_git.bb b/meta-tizen/recipes-Development/yasm/yasm_git.bb new file mode 100644 index 0000000..fa4f461 --- /dev/null +++ b/meta-tizen/recipes-Development/yasm/yasm_git.bb @@ -0,0 +1,5 @@ +require yasm.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/yasm.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-Development/zip/zip-extraconf.inc b/meta-tizen/recipes-Development/zip/zip-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-Development/zip/zip.inc b/meta-tizen/recipes-Development/zip/zip.inc new file mode 100644 index 0000000..c36c29c --- /dev/null +++ b/meta-tizen/recipes-Development/zip/zip.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "File compression program" +HOMEPAGE = "http://www.info-zip.org/" +SECTION = "Productivity/Archiving/Compression" +PRIORITY = "" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" +#PROVIDES by zip +PROVIDES += "zip" +RPROVIDES_zip += "zip" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "zip-" + +zip-files = "/usr/bin/zip /usr/bin/zipcloak /usr/bin/zipnote /usr/bin/zipsplit " + +FILES_zip- = "${zip-files}" + +SPECFILES = "packaging/zip.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require zip-extraconf.inc diff --git a/meta-tizen/recipes-Development/zip/zip_git.bb b/meta-tizen/recipes-Development/zip/zip_git.bb new file mode 100644 index 0000000..9df7068 --- /dev/null +++ b/meta-tizen/recipes-Development/zip/zip_git.bb @@ -0,0 +1,5 @@ +require zip.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/zip.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/acl/acl-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/acl/acl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc b/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc new file mode 100644 index 0000000..062ea3e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc @@ -0,0 +1,55 @@ +DESCRIPTION = "Commands for Manipulating POSIX Access Control Lists" +HOMEPAGE = "http://download.savannah.gnu.org/releases-noredirect/acl/" +SECTION = "System/Filesystems" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libacl +PROVIDES += "libacl" +RPROVIDES_libacl += "libacl" + +#PROVIDES by libacl-devel +PROVIDES += "libacl-devel" +RPROVIDES_libacl-devel += "libacl-devel" + +#PROVIDES by acl +PROVIDES += "acl" +RPROVIDES_acl += "acl" + + +DEPENDS = "" +#DEPENDS of acl +DEPENDS += "libattr" + + +RDEPENDS = "" +#RDEPENDS of libacl-devel +# the RDEPENDS rules is ignore "libacl = 2.2.51" +RDEPENDS_libacl-devel += "libacl" +RDEPENDS_libacl-devel += "glibc-devel" +RDEPENDS_libacl-devel += "libattr-devel" + + +PACKAGES = "" +PACKAGES += "libacl" +PACKAGES += "acl-" +PACKAGES += "libacl-devel" + +libaclfiles = "/usr/lib64/libacl.so.1* " + +acl-files = "" + +libacl-develfiles = "" + +FILES_libacl = "${libaclfiles}" +FILES_acl- = "${acl-files}" +FILES_libacl-devel = "${libacl-develfiles}" + +SPECFILES = "packaging/acl.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require acl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/acl/acl_git.bb b/meta-tizen/recipes-DevelopmentExtra/acl/acl_git.bb new file mode 100644 index 0000000..160df74 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/acl/acl_git.bb @@ -0,0 +1,5 @@ +require acl.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/acl.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/attr/attr-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/attr/attr-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc b/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc new file mode 100644 index 0000000..e7aa9da --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc @@ -0,0 +1,70 @@ +DESCRIPTION = "Commands for Manipulating Extended Attributes" +HOMEPAGE = "http://download.savannah.gnu.org/releases-noredirect/attr/" +SECTION = "System/Filesystems" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libattr-devel-static +PROVIDES += "libattr-devel-static" +RPROVIDES_libattr-devel-static += "libattr-devel-static" +PROVIDES += "libattr-devel:/usr/lib64/libattr.a" +RPROVIDES_libattr-devel-static += "libattr-devel:/usr/lib64/libattr.a" + +#PROVIDES by libattr-devel +PROVIDES += "libattr-devel" +RPROVIDES_libattr-devel += "libattr-devel" +PROVIDES += "attr-devel" +RPROVIDES_libattr-devel += "attr-devel" + +#PROVIDES by attr +PROVIDES += "attr" +RPROVIDES_attr += "attr" + +#PROVIDES by libattr +PROVIDES += "libattr" +RPROVIDES_libattr += "libattr" + + +DEPENDS = "" +#DEPENDS of attr +DEPENDS += "autoconf" + + +RDEPENDS = "" +#RDEPENDS of libattr-devel-static +# the RDEPENDS rules is ignore "libattr-devel = 2.4.46" +RDEPENDS_libattr-devel-static += "libattr-devel" + +#RDEPENDS of libattr-devel +# the RDEPENDS rules is ignore "libattr = 2.4.46" +RDEPENDS_libattr-devel += "libattr" +RDEPENDS_libattr-devel += "glibc-devel" + + +PACKAGES = "" +PACKAGES += "libattr-devel-static" +PACKAGES += "libattr-devel" +PACKAGES += "attr-" +PACKAGES += "libattr" + +libattr-devel-staticfiles = "/usr/lib64/libattr.a " + +libattr-develfiles = "" + +attr-files = "" + +libattrfiles = "/usr/lib64/libattr.so.1* " + +FILES_libattr-devel-static = "${libattr-devel-staticfiles}" +FILES_libattr-devel = "${libattr-develfiles}" +FILES_attr- = "${attr-files}" +FILES_libattr = "${libattrfiles}" + +SPECFILES = "packaging/attr.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require attr-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/attr/attr_git.bb b/meta-tizen/recipes-DevelopmentExtra/attr/attr_git.bb new file mode 100644 index 0000000..e9d0d83 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/attr/attr_git.bb @@ -0,0 +1,5 @@ +require attr.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/attr.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/bc/bc-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc new file mode 100644 index 0000000..92672e4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "GNU Command Line Calculator" +HOMEPAGE = "ftp://ftp.gnu.org/pub/gnu/bc" +SECTION = "Productivity/Scientific/Math" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by bc +PROVIDES += "bc" +RPROVIDES_bc += "bc" + + +DEPENDS = "" +#DEPENDS of bc +DEPENDS += "automake bison ed flex readline" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "bc-" + +bc-files = "/usr/bin/bc /usr/bin/dc /usr/share/info/*.info* /usr/share/man/man1/* " + +FILES_bc- = "${bc-files}" + +SPECFILES = "packaging/bc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require bc-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc~ b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc~ new file mode 100644 index 0000000..d9d28c4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc~ @@ -0,0 +1,33 @@ +DESCRIPTION = "GNU Command Line Calculator" +HOMEPAGE = "ftp://ftp.gnu.org/pub/gnu/bc" +SECTION = "Productivity/Scientific/Math" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by bc +PROVIDES += "bc" +RPROVIDES_bc += "bc" + + +DEPENDS = "" +#DEPENDS of bc +DEPENDS += "automakebisonedflexreadline" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "bc-" + +bc-files = "/usr/bin/bc /usr/bin/dc /usr/share/info/*.info* /usr/share/man/man1/* " + +FILES_bc- = "${bc-files}" + +SPECFILES = "packaging/bc.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require bc-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc_git.bb b/meta-tizen/recipes-DevelopmentExtra/bc/bc_git.bb new file mode 100644 index 0000000..b73fdc5 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bc/bc_git.bb @@ -0,0 +1,5 @@ +require bc.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/bc.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc~ new file mode 100644 index 0000000..03a7eff --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-extraconf.inc~ @@ -0,0 +1 @@ +PROVIDES += "bzip2-devel" diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc new file mode 100644 index 0000000..8821028 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc @@ -0,0 +1,56 @@ +DESCRIPTION = "A Program for Compressing Files" +HOMEPAGE = "http://www.bzip.org/" +SECTION = "Productivity/Archiving/Compression" +PRIORITY = "" +LICENSE = "BSD-3-Clause" + +PROVIDES = "" +#PROVIDES by bzip2-devel +PROVIDES += "bzip2-devel" +RPROVIDES_bzip2-devel += "bzip2-devel" + +#PROVIDES by bzip2 +PROVIDES += "bzip2" +RPROVIDES_bzip2 += "bzip2" +PROVIDES += "bzip" +RPROVIDES_bzip2 += "bzip" + +#PROVIDES by libbz2 +PROVIDES += "libbz2" +RPROVIDES_libbz2 += "libbz2" + + +DEPENDS = "" +#DEPENDS of bzip2 +DEPENDS += "libtool" +DEPENDS += "pkg-config" + + +RDEPENDS = "" +#RDEPENDS of bzip2-devel +# the RDEPENDS rules is ignore "libbz2 = 1.0.6glibc-devel" +RDEPENDS_bzip2-devel += "libbz2" + + +PACKAGES = "" +PACKAGES += "bzip2-devel" +PACKAGES += "libbz2" +PACKAGES += "bzip2-" + +bzip2-develfiles = "/usr/include/bzlib.h /usr/lib64/libbz2.so /usr/lib64/pkgconfig/bzip2.pc " + +libbz2files = "/usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.* " + +bzip2-files = "/usr/bin/* " + +FILES_bzip2-devel = "${bzip2-develfiles}" +FILES_libbz2 = "${libbz2files}" +FILES_bzip2- = "${bzip2-files}" + +SPECFILES = "packaging/bzip2.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require bzip2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2_git.bb b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2_git.bb new file mode 100644 index 0000000..7d5602b --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2_git.bb @@ -0,0 +1,5 @@ +require bzip2.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/bzip2.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/db4/db4-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/db4/db4-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc b/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc new file mode 100644 index 0000000..8a0a6dd --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc @@ -0,0 +1,67 @@ +DESCRIPTION = "Berkeley DB Database Library Version 4.8" +HOMEPAGE = "http://www.sleepycat.com" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "BSD-3-Clause" + +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" + + +DEPENDS = "" +#DEPENDS of db4 +DEPENDS += "autoconf" +DEPENDS += "fdupes" +DEPENDS += "gcc" + + +RDEPENDS = "" +#RDEPENDS of db4-devel +# the RDEPENDS rules is ignore "db4 = 4.8.30.NC" +RDEPENDS_db4-devel += "db4" +RDEPENDS_db4-devel += "glibc-devel" + + +PACKAGES = "" +PACKAGES += "db4-doc" +PACKAGES += "db4-utils" +PACKAGES += "db4-" +PACKAGES += "db4-devel" + +db4-docfiles = "" + +db4-utilsfiles = "/usr/bin/db_archive /usr/bin/db_checkpoint /usr/bin/db_deadlock /usr/bin/db_dump /usr/bin/db_load /usr/bin/db_printlog /usr/bin/db_recover /usr/bin/db_sql /usr/bin/db_stat /usr/bin/db_upgrade /usr/bin/db_verify /usr/bin/db_hotbackup " + +db4-files = "/usr/lib64/libdb-4.8.so /usr/lib64/libdb_cxx-4.8.so " + +db4-develfiles = "/usr/include/db.h /usr/include/db_185.h /usr/include/db_cxx.h /usr/include/db4/db.h /usr/include/db4/db_185.h /usr/include/db4/db_cxx.h /usr/lib64/libdb.so /usr/lib64/libdb-4.so /usr/lib64/libdb_cxx.so /usr/lib64/libdb_cxx-4.so " + +FILES_db4-doc = "${db4-docfiles}" +FILES_db4-utils = "${db4-utilsfiles}" +FILES_db4- = "${db4-files}" +FILES_db4-devel = "${db4-develfiles}" + +SPECFILES = "packaging/db4.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require db4-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/db4/db4_git.bb b/meta-tizen/recipes-DevelopmentExtra/db4/db4_git.bb new file mode 100644 index 0000000..bdd7b5e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/db4/db4_git.bb @@ -0,0 +1,5 @@ +require db4.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/db4.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc new file mode 100644 index 0000000..a4b07e4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc @@ -0,0 +1,76 @@ +DESCRIPTION = "D-Bus Message Bus System" +HOMEPAGE = "http://dbus.freedesktop.org/" +SECTION = "System/Daemons" +PRIORITY = "" +LICENSE = "GPL-2.0+ or AFL-2.1" + +PROVIDES = "" +#PROVIDES by libdbus +PROVIDES += "libdbus" +RPROVIDES_libdbus += "libdbus" + +#PROVIDES by dbus +PROVIDES += "dbus" +RPROVIDES_dbus += "dbus" +PROVIDES += "dbus-1" +RPROVIDES_dbus += "dbus-1" + +#PROVIDES by dbus-devel-doc +PROVIDES += "dbus-devel-doc" +RPROVIDES_dbus-devel-doc += "dbus-devel-doc" + +#PROVIDES by dbus-devel +PROVIDES += "dbus-devel" +RPROVIDES_dbus-devel += "dbus-devel" + + +DEPENDS = "" +#DEPENDS of dbus +DEPENDS += "doxygen" +DEPENDS += "expat" +DEPENDS += "libtool" +DEPENDS += "libzio" +DEPENDS += "pkg-config" +DEPENDS += "libsystemd-daemon" +DEPENDS += "libsystemd-login" +DEPENDS += "libcap-ng" + + +RDEPENDS = "" +#RDEPENDS of dbus-devel-doc +# the RDEPENDS rules is ignore "dbus = 1.6.8" +RDEPENDS_dbus-devel-doc += "dbus" + +#RDEPENDS of dbus-devel +# the RDEPENDS rules is ignore "libdbus = 1.6.8" +RDEPENDS_dbus-devel += "libdbus" +RDEPENDS_dbus-devel += "dbus" +RDEPENDS_dbus-devel += "glibc-devel" + + +PACKAGES = "" +PACKAGES += "libdbus" +PACKAGES += "dbus-" +PACKAGES += "dbus-devel-doc" +PACKAGES += "dbus-devel" + +libdbusfiles = "/usr/lib64/libdbus-1.so.* " + +dbus-files = "GPL-2.0+ or AFL-2.1 COPYING /etc/init.d/dbus /etc/ConsoleKit /usr/bin/dbus-cleanup-sockets /usr/bin/dbus-daemon /usr/bin/dbus-monitor /usr/bin/dbus-send /usr/bin/dbus-uuidgen /lib/systemd/system/dbus.service /lib/systemd/system/dbus.socket /lib/systemd/system/dbus.target.wants/dbus.socket /lib/systemd/system/multi-user.target.wants/dbus.service /lib/systemd/system/sockets.target.wants/dbus.socket " + +dbus-devel-docfiles = "/usr/share/doc/dbus/api/ " + +dbus-develfiles = "/usr/include/* /usr/lib64/libdbus-1.so /usr/lib64/dbus-1.0/include /usr/lib64/pkgconfig/dbus-1.pc " + +FILES_libdbus = "${libdbusfiles}" +FILES_dbus- = "${dbus-files}" +FILES_dbus-devel-doc = "${dbus-devel-docfiles}" +FILES_dbus-devel = "${dbus-develfiles}" + +SPECFILES = "packaging/dbus.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require dbus-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus_git.bb b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus_git.bb new file mode 100644 index 0000000..82ba614 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus_git.bb @@ -0,0 +1,5 @@ +require dbus.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/dbus.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc new file mode 100644 index 0000000..6c10d82 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc @@ -0,0 +1,49 @@ +DESCRIPTION = "A documentation system for C/C++." +HOMEPAGE = "" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "GNU General Public License" + +PROVIDES = "" +#PROVIDES by doxygen +PROVIDES += "doxygen" +RPROVIDES_doxygen += "doxygen" +# the PROVIDES rules is ignore "doxygen = 1" +PROVIDES += "doxygen" +RPROVIDES_doxygen += "doxygen" + + +DEPENDS = "" +#DEPENDS of doxygen +# the DEPENDS rules is ignore "libstdc++ >= 2.96" +DEPENDS += "libstdc++" +DEPENDS += "/usr/bin/perl" +DEPENDS += "/usr/bin/latex" +DEPENDS += "/usr/bin/dvips" +DEPENDS += "/usr/bin/gs" + + +RDEPENDS = "" +#RDEPENDS of doxygen +RDEPENDS_doxygen += "/sbin/chkconfig" +RDEPENDS_doxygen += "/bin/mktemp" +RDEPENDS_doxygen += "/bin/rm" +RDEPENDS_doxygen += "/bin/mv" +# the RDEPENDS rules is ignore "libstdc++ >= 2.96" +RDEPENDS_doxygen += "libstdc++" + + +PACKAGES = "" +PACKAGES += "doxygen-" + +doxygen-files = " /usr/bin/doxygen * Fri Apr 18 2008 Kenneth Porter 1.5.5-1 - consolidate with and without doxywizard spec files with rpm macro - add gs BuildPrereq * Sun Nov 18 2007 Kevin McBride 1.5.4 - consolidated manual package in lieu of --excludedocs flag for rpm --install * Mon Oct 10 2005 Kevin McBride 1.4.5 - fixed versioning bugs. * Tue Oct 4 2005 Kevin McBride 1.4.5 - added obsoletes and proides sections. * Sun Sep 20 2005 Kevin McBride 1.4.4 - modified rpm spec file for Fedora Core acceptance criteria. * Sun Aug 7 2005 Kevin McBride 1.4.4 - created initial rpm spec file for doxygen-1.4.4 " + +FILES_doxygen- = "${doxygen-files}" + +SPECFILES = "packaging/doxygen.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require doxygen-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen_git.bb b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen_git.bb new file mode 100644 index 0000000..0617ae6 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen_git.bb @@ -0,0 +1,5 @@ +require doxygen.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/doxygen.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc new file mode 100644 index 0000000..be238ff --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc @@ -0,0 +1,129 @@ +DESCRIPTION = "Higher-level library to access ELF" +HOMEPAGE = "http://elfutils.fedorahosted.org" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "GPL-2.0-with-osi-exception" + +PROVIDES = "" +#PROVIDES by libasm +PROVIDES += "libasm" +RPROVIDES_libasm += "libasm" + +#PROVIDES by libasm-devel +PROVIDES += "libasm-devel" +RPROVIDES_libasm-devel += "libasm-devel" + +#PROVIDES by libdw-devel +PROVIDES += "libdw-devel" +RPROVIDES_libdw-devel += "libdw-devel" + +#PROVIDES by libebl-devel +PROVIDES += "libebl-devel" +RPROVIDES_libebl-devel += "libebl-devel" + +#PROVIDES by libelf-devel +PROVIDES += "libelf-devel" +RPROVIDES_libelf-devel += "libelf-devel" + +#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" +# the PROVIDES rules is ignore "libebl = 0.153" +PROVIDES += "libebl" +RPROVIDES_libebl += "libebl" + + +DEPENDS = "" +#DEPENDS of elfutils +DEPENDS += "automake" +DEPENDS += "bison" +DEPENDS += "bzip2" +DEPENDS += "flex" +DEPENDS += "xz" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of libebl-devel +RDEPENDS_libebl-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libdw-devel = 0.153" +RDEPENDS_libebl-devel += "libdw-devel" +# the RDEPENDS rules is ignore "libebl = 0.153" +RDEPENDS_libebl-devel += "libebl" + +#RDEPENDS of libdw-devel +RDEPENDS_libdw-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libdw = 0.153" +RDEPENDS_libdw-devel += "libdw" +# the RDEPENDS rules is ignore "libelf-devel = 0.153" +RDEPENDS_libdw-devel += "libelf-devel" + +#RDEPENDS of libelf-devel +RDEPENDS_libelf-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libelf = 0.153" +RDEPENDS_libelf-devel += "libelf" + +#RDEPENDS of libasm-devel +RDEPENDS_libasm-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libasm = 0.153" +RDEPENDS_libasm-devel += "libasm" + + +PACKAGES = "" +PACKAGES += "libasm" +PACKAGES += "libasm-devel" +PACKAGES += "elfutils-" +PACKAGES += "libdw-devel" +PACKAGES += "libebl-devel" +PACKAGES += "libelf-devel" +PACKAGES += "libdw" +PACKAGES += "libelf" +PACKAGES += "libebl" + +libasmfiles = "/usr/lib64/libasm.so.* /usr/lib64/libasm-0.153.so " + +libasm-develfiles = "/usr/lib64/libasm.so /usr/lib64/libasm.a /usr/include/elfutils/libasm.h " + +elfutils-files = "/usr/bin/* " + +libdw-develfiles = "/usr/lib64/libdw.a /usr/lib64/libdw.so /usr/include/dwarf.h /usr/include/elfutils/libdw.h /usr/include/elfutils/libdwfl.h " + +libebl-develfiles = "/usr/lib64/libebl.a /usr/include/elfutils/libebl.h " + +libelf-develfiles = "/usr/lib64/libelf.so /usr/lib64/libelf.a /usr/include/libelf.h /usr/include/gelf.h /usr/include/nlist.h /usr/include/elfutils/elf-knowledge.h /usr/include/elfutils/version.h " + +libdwfiles = "/usr/lib64/libdw.so.* /usr/lib64/libdw-0.153.so " + +libelffiles = "/usr/lib64/libelf.so.* /usr/lib64/libelf-0.153.so " + +libeblfiles = "/usr/lib64/elfutils " + +FILES_libasm = "${libasmfiles}" +FILES_libasm-devel = "${libasm-develfiles}" +FILES_elfutils- = "${elfutils-files}" +FILES_libdw-devel = "${libdw-develfiles}" +FILES_libebl-devel = "${libebl-develfiles}" +FILES_libelf-devel = "${libelf-develfiles}" +FILES_libdw = "${libdwfiles}" +FILES_libelf = "${libelffiles}" +FILES_libebl = "${libeblfiles}" + +SPECFILES = "packaging/elfutils.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require elfutils-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils_git.bb b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils_git.bb new file mode 100644 index 0000000..cc632e3 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils_git.bb @@ -0,0 +1,5 @@ +require elfutils.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/elfutils.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/expat/expat-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc new file mode 100644 index 0000000..bfddef3 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc @@ -0,0 +1,59 @@ +DESCRIPTION = "An XML parser library" +HOMEPAGE = "http://www.libexpat.org/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by expat +PROVIDES += "expat" +RPROVIDES_expat += "expat" + +#PROVIDES by expat-devel +PROVIDES += "expat-devel" +RPROVIDES_expat-devel += "expat-devel" + +#PROVIDES by expat-doc +PROVIDES += "expat-doc" +RPROVIDES_expat-doc += "expat-doc" + + +DEPENDS = "" +#DEPENDS of expat +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" + + +RDEPENDS = "" +#RDEPENDS of expat-devel +# the RDEPENDS rules is ignore "expat = 2.0.1" +RDEPENDS_expat-devel += "expat" + +#RDEPENDS of expat-doc +# the RDEPENDS rules is ignore "expat = 2.0.1" +RDEPENDS_expat-doc += "expat" + + +PACKAGES = "" +PACKAGES += "expat-" +PACKAGES += "expat-devel" +PACKAGES += "expat-doc" + +expat-files = "/usr/bin/* /lib64/lib*.so.* " + +expat-develfiles = "/usr/lib64/lib*.so /usr/include/*.h " + +expat-docfiles = "" + +FILES_expat- = "${expat-files}" +FILES_expat-devel = "${expat-develfiles}" +FILES_expat-doc = "${expat-docfiles}" + +SPECFILES = "packaging/expat.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require expat-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc~ b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc~ new file mode 100644 index 0000000..0390dad --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc~ @@ -0,0 +1,27 @@ +DESCRIPTION = "An XML parser library" +HOMEPAGE = "http://www.libexpat.org/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MIT" + +PACKAGES = "" +PACKAGES += "expat" +PACKAGES += "expat-devel" +PACKAGES += "expat-doc" + +PROVIDES = "" +PROVIDES += "expat" +PROVIDES += "expat-devel" +PROVIDES += "expat-doc" + +DEPENDS = "" +DEPENDS += "autoconf," +DEPENDS += "automake," +DEPENDS += "libtool" + +RDEPENDS = "" + +S = "${WORKDIR}/git" +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require expat-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat_git.bb b/meta-tizen/recipes-DevelopmentExtra/expat/expat_git.bb new file mode 100644 index 0000000..d0dbafd --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/expat/expat_git.bb @@ -0,0 +1,5 @@ +require expat.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/external/expat.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc new file mode 100644 index 0000000..67ca969 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc @@ -0,0 +1 @@ +BBCLASSEXTEND =+ "native" diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc new file mode 100644 index 0000000..a859b9c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "Identifying or deleting duplicate files" +HOMEPAGE = "http://premium.caribe.net/~adrian2/fdupes.html" +SECTION = "Productivity/Archiving/Compression" +PRIORITY = "" +LICENSE = "X11/MIT" + +PROVIDES = "" +#PROVIDES by fdupes +PROVIDES += "fdupes" +RPROVIDES_fdupes += "fdupes" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "fdupes-" + +fdupes-files = "/usr/bin/fdupes /usr/share/man/*/* /etc/rpm " + +FILES_fdupes- = "${fdupes-files}" + +SPECFILES = "packaging/fdupes.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require fdupes-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes_git.bb b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes_git.bb new file mode 100644 index 0000000..3bc8e05 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes_git.bb @@ -0,0 +1,5 @@ +require fdupes.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/fdupes.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/file/file-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/file/file-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/file/file.inc b/meta-tizen/recipes-DevelopmentExtra/file/file.inc new file mode 100644 index 0000000..c644c7e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/file/file.inc @@ -0,0 +1,72 @@ +DESCRIPTION = "A Tool to Determine File Types" +HOMEPAGE = "http://www.darwinsys.com/file/" +SECTION = "Productivity/File utilities" +PRIORITY = "" +LICENSE = "BSD-2-Clause" + +PROVIDES = "" +#PROVIDES by file-devel +PROVIDES += "file-devel" +RPROVIDES_file-devel += "file-devel" +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" +PROVIDES += "libfile" +RPROVIDES_libmagic += "libfile" + +#PROVIDES by file +PROVIDES += "file" +RPROVIDES_file += "file" + + +DEPENDS = "" +#DEPENDS of file +DEPENDS += "findutils" +DEPENDS += "libtool" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of file-devel +RDEPENDS_file-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libmagic = 5.11" +RDEPENDS_file-devel += "libmagic" + +#RDEPENDS of libmagic +# the RDEPENDS rules is ignore "libmagic-data = 5.11" +RDEPENDS_libmagic += "libmagic-data" + + +PACKAGES = "" +PACKAGES += "file-devel" +PACKAGES += "libmagic-data" +PACKAGES += "file-" +PACKAGES += "libmagic" + +file-develfiles = "/usr/lib64/lib*.so /usr/include/magic.h " + +libmagic-datafiles = "/usr/share/misc/magic.mgc " + +file-files = " " + +libmagicfiles = "/usr/lib64/lib*.so.* " + +FILES_file-devel = "${file-develfiles}" +FILES_libmagic-data = "${libmagic-datafiles}" +FILES_file- = "${file-files}" +FILES_libmagic = "${libmagicfiles}" + +SPECFILES = "packaging/file.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require file-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/file/file_git.bb b/meta-tizen/recipes-DevelopmentExtra/file/file_git.bb new file mode 100644 index 0000000..f3fd7cf --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/file/file_git.bb @@ -0,0 +1,5 @@ +require file.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/file.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc new file mode 100644 index 0000000..331f026 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc @@ -0,0 +1,2 @@ +RPROVIDES += "gcc47-gij-32bit" +RPROVIDES += 'gcc47-gij-64bit' diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc~ new file mode 100644 index 0000000..9e78bf2 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-extraconf.inc~ @@ -0,0 +1 @@ +RPROVIDES += "gcc47-gij-32bit" diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc new file mode 100644 index 0000000..fb2f635 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc @@ -0,0 +1,669 @@ +DESCRIPTION = "The GNU C Compiler and Support Files" +HOMEPAGE = "" +SECTION = "Development/Languages/C and C++" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by libgfortran47 +PROVIDES += "libgfortran47" +RPROVIDES_libgfortran47 += "libgfortran47" +# the PROVIDES rules is ignore "libgfortran3 = 4.7.2-1" +PROVIDES += "libgfortran3" +RPROVIDES_libgfortran47 += "libgfortran3" + +#PROVIDES by libstdc++47-devel +PROVIDES += "libstdc++47-devel" +RPROVIDES_libstdc++47-devel += "libstdc++47-devel" + +#PROVIDES by libgcj47-devel +PROVIDES += "libgcj47-devel" +RPROVIDES_libgcj47-devel += "libgcj47-devel" + +#PROVIDES by libada47-32bit +PROVIDES += "libada47-32bit" +RPROVIDES_libada47-32bit += "libada47-32bit" +# the PROVIDES rules is ignore "libgnarl-4_7-32bit = 4.7.2-1" +PROVIDES += "libgnarl-4_7-32bit" +RPROVIDES_libada47-32bit += "libgnarl-4_7-32bit" +# the PROVIDES rules is ignore "libgnat-4_7-32bit = 4.7.2-1" +PROVIDES += "libgnat-4_7-32bit" +RPROVIDES_libada47-32bit += "libgnat-4_7-32bit" + +#PROVIDES by libstdc++47-devel-32bit +PROVIDES += "libstdc++47-devel-32bit" +RPROVIDES_libstdc++47-devel-32bit += "libstdc++47-devel-32bit" + +#PROVIDES by libgcj47 +PROVIDES += "libgcj47" +RPROVIDES_libgcj47 += "libgcj47" +# the PROVIDES rules is ignore "libgcj13 = 4.7.2-1" +PROVIDES += "libgcj13" +RPROVIDES_libgcj47 += "libgcj13" +# the PROVIDES rules is ignore "libgij13 = 4.7.2-1" +PROVIDES += "libgij13" +RPROVIDES_libgcj47 += "libgij13" +# the PROVIDES rules is ignore "libgcj-tools13 = 4.7.2-1" +PROVIDES += "libgcj-tools13" +RPROVIDES_libgcj47 += "libgcj-tools13" + +#PROVIDES by gcc47-ada-32bit +PROVIDES += "gcc47-ada-32bit" +RPROVIDES_gcc47-ada-32bit += "gcc47-ada-32bit" + +#PROVIDES by libffi47-devel +PROVIDES += "libffi47-devel" +RPROVIDES_libffi47-devel += "libffi47-devel" +# the PROVIDES rules is ignore "libffi-devel = 4.7.2-1" +PROVIDES += "libffi-devel" +RPROVIDES_libffi47-devel += "libffi-devel" + +#PROVIDES by libmudflap47 +PROVIDES += "libmudflap47" +RPROVIDES_libmudflap47 += "libmudflap47" +# the PROVIDES rules is ignore "libmudflap0 = 4.7.2-1" +PROVIDES += "libmudflap0" +RPROVIDES_libmudflap47 += "libmudflap0" +# the PROVIDES rules is ignore "libmudflapth0 = 4.7.2-1" +PROVIDES += "libmudflapth0" +RPROVIDES_libmudflap47 += "libmudflapth0" + +#PROVIDES by gcc47-ada +PROVIDES += "gcc47-ada" +RPROVIDES_gcc47-ada += "gcc47-ada" + +#PROVIDES by libgfortran47-64bit +PROVIDES += "libgfortran47-64bit" +RPROVIDES_libgfortran47-64bit += "libgfortran47-64bit" +# the PROVIDES rules is ignore "libgfortran3-64bit = 4.7.2-1" +PROVIDES += "libgfortran3-64bit" +RPROVIDES_libgfortran47-64bit += "libgfortran3-64bit" + +#PROVIDES by gcc47-info +PROVIDES += "gcc47-info" +RPROVIDES_gcc47-info += "gcc47-info" + +#PROVIDES by gcc47-java +PROVIDES += "gcc47-java" +RPROVIDES_gcc47-java += "gcc47-java" + +#PROVIDES by libgomp47 +PROVIDES += "libgomp47" +RPROVIDES_libgomp47 += "libgomp47" +# the PROVIDES rules is ignore "libgomp1 = 4.7.2-1" +PROVIDES += "libgomp1" +RPROVIDES_libgomp47 += "libgomp1" + +#PROVIDES by libgcc47-32bit +PROVIDES += "libgcc47-32bit" +RPROVIDES_libgcc47-32bit += "libgcc47-32bit" +# the PROVIDES rules is ignore "libgcc1-32bit = 4.7.2-1" +PROVIDES += "libgcc1-32bit" +RPROVIDES_libgcc47-32bit += "libgcc1-32bit" + +#PROVIDES by libobjc47 +PROVIDES += "libobjc47" +RPROVIDES_libobjc47 += "libobjc47" +# the PROVIDES rules is ignore "libobjc2 = 4.7.2-1" +PROVIDES += "libobjc2" +RPROVIDES_libobjc47 += "libobjc2" + +#PROVIDES by gcc47-gij +PROVIDES += "gcc47-gij" +RPROVIDES_gcc47-gij += "gcc47-gij" + +#PROVIDES by libgcc47-64bit +PROVIDES += "libgcc47-64bit" +RPROVIDES_libgcc47-64bit += "libgcc47-64bit" +# the PROVIDES rules is ignore "libgcc1-64bit = 4.7.2-1" +PROVIDES += "libgcc1-64bit" +RPROVIDES_libgcc47-64bit += "libgcc1-64bit" + +#PROVIDES by libgomp47-32bit +PROVIDES += "libgomp47-32bit" +RPROVIDES_libgomp47-32bit += "libgomp47-32bit" +# the PROVIDES rules is ignore "libgomp1-32bit = 4.7.2-1" +PROVIDES += "libgomp1-32bit" +RPROVIDES_libgomp47-32bit += "libgomp1-32bit" + +#PROVIDES by gcc47-locale +PROVIDES += "gcc47-locale" +RPROVIDES_gcc47-locale += "gcc47-locale" + +#PROVIDES by gcc47-objc +PROVIDES += "gcc47-objc" +RPROVIDES_gcc47-objc += "gcc47-objc" + +#PROVIDES by libffi47-32bit +PROVIDES += "libffi47-32bit" +RPROVIDES_libffi47-32bit += "libffi47-32bit" +PROVIDES += "g-wrap:/usr/lib/libffi.so.4" +RPROVIDES_libffi47-32bit += "g-wrap:/usr/lib/libffi.so.4" +# the PROVIDES rules is ignore "libffi4-32bit = 4.7.2-1" +PROVIDES += "libffi4-32bit" +RPROVIDES_libffi47-32bit += "libffi4-32bit" + +#PROVIDES by gcc47-64bit +PROVIDES += "gcc47-64bit" +RPROVIDES_gcc47-64bit += "gcc47-64bit" + +#PROVIDES by libstdc++47-64bit +PROVIDES += "libstdc++47-64bit" +RPROVIDES_libstdc++47-64bit += "libstdc++47-64bit" +# the PROVIDES rules is ignore "libstdc++6-64bit = 4.7.2-1" +PROVIDES += "libstdc++6-64bit" +RPROVIDES_libstdc++47-64bit += "libstdc++6-64bit" + +#PROVIDES by gcc47-c++ +PROVIDES += "gcc47-c++" +RPROVIDES_gcc47-c++ += "gcc47-c++" + +#PROVIDES by libmudflap47-32bit +PROVIDES += "libmudflap47-32bit" +RPROVIDES_libmudflap47-32bit += "libmudflap47-32bit" +# the PROVIDES rules is ignore "libmudflap0-32bit = 4.7.2-1" +PROVIDES += "libmudflap0-32bit" +RPROVIDES_libmudflap47-32bit += "libmudflap0-32bit" +# the PROVIDES rules is ignore "libmudflapth0-32bit = 4.7.2-1" +PROVIDES += "libmudflapth0-32bit" +RPROVIDES_libmudflap47-32bit += "libmudflapth0-32bit" + +#PROVIDES by gcc47 +PROVIDES += "gcc47" +RPROVIDES_gcc47 += "gcc47" + +#PROVIDES by libffi47-devel-64bit +PROVIDES += "libffi47-devel-64bit" +RPROVIDES_libffi47-devel-64bit += "libffi47-devel-64bit" +# the PROVIDES rules is ignore "libffi-devel-64bit = 4.7.2-1" +PROVIDES += "libffi-devel-64bit" +RPROVIDES_libffi47-devel-64bit += "libffi-devel-64bit" + +#PROVIDES by libgcc47 +PROVIDES += "libgcc47" +RPROVIDES_libgcc47 += "libgcc47" +# the PROVIDES rules is ignore "libgcc1 = 4.7.2-1" +PROVIDES += "libgcc1" +RPROVIDES_libgcc47 += "libgcc1" + +#PROVIDES by gcc47-ada-64bit +PROVIDES += "gcc47-ada-64bit" +RPROVIDES_gcc47-ada-64bit += "gcc47-ada-64bit" + +#PROVIDES by libgfortran47-32bit +PROVIDES += "libgfortran47-32bit" +RPROVIDES_libgfortran47-32bit += "libgfortran47-32bit" +# the PROVIDES rules is ignore "libgfortran3-32bit = 4.7.2-1" +PROVIDES += "libgfortran3-32bit" +RPROVIDES_libgfortran47-32bit += "libgfortran3-32bit" + +#PROVIDES by libffi47 +PROVIDES += "libffi47" +RPROVIDES_libffi47 += "libffi47" +PROVIDES += "g-wrap:/usr/lib/libffi.so.4" +RPROVIDES_libffi47 += "g-wrap:/usr/lib/libffi.so.4" +# the PROVIDES rules is ignore "libffi4 = 4.7.2-1" +PROVIDES += "libffi4" +RPROVIDES_libffi47 += "libffi4" + +#PROVIDES by libada47 +PROVIDES += "libada47" +RPROVIDES_libada47 += "libada47" +# the PROVIDES rules is ignore "libgnarl-4_7 = 4.7.2-1" +PROVIDES += "libgnarl-4_7" +RPROVIDES_libada47 += "libgnarl-4_7" +# the PROVIDES rules is ignore "libgnat-4_7 = 4.7.2-1" +PROVIDES += "libgnat-4_7" +RPROVIDES_libada47 += "libgnat-4_7" + +#PROVIDES by gcc47-obj-c++ +PROVIDES += "gcc47-obj-c++" +RPROVIDES_gcc47-obj-c++ += "gcc47-obj-c++" + +#PROVIDES by libquadmath47-64bit +PROVIDES += "libquadmath47-64bit" +RPROVIDES_libquadmath47-64bit += "libquadmath47-64bit" +# the PROVIDES rules is ignore "libquadmath0-64bit = 4.7.2-1" +PROVIDES += "libquadmath0-64bit" +RPROVIDES_libquadmath47-64bit += "libquadmath0-64bit" + +#PROVIDES by libstdc++47-devel-64bit +PROVIDES += "libstdc++47-devel-64bit" +RPROVIDES_libstdc++47-devel-64bit += "libstdc++47-devel-64bit" + +#PROVIDES by libada47-64bit +PROVIDES += "libada47-64bit" +RPROVIDES_libada47-64bit += "libada47-64bit" +# the PROVIDES rules is ignore "libgnarl-4_7-64bit = 4.7.2-1" +PROVIDES += "libgnarl-4_7-64bit" +RPROVIDES_libada47-64bit += "libgnarl-4_7-64bit" +# the PROVIDES rules is ignore "libgnat-4_7-64bit = 4.7.2-1" +PROVIDES += "libgnat-4_7-64bit" +RPROVIDES_libada47-64bit += "libgnat-4_7-64bit" + +#PROVIDES by gcc47-32bit +PROVIDES += "gcc47-32bit" +RPROVIDES_gcc47-32bit += "gcc47-32bit" + +#PROVIDES by libffi47-devel-32bit +PROVIDES += "libffi47-devel-32bit" +RPROVIDES_libffi47-devel-32bit += "libffi47-devel-32bit" +# the PROVIDES rules is ignore "libffi-devel-32bit = 4.7.2-1" +PROVIDES += "libffi-devel-32bit" +RPROVIDES_libffi47-devel-32bit += "libffi-devel-32bit" + +#PROVIDES by libquadmath47-32bit +PROVIDES += "libquadmath47-32bit" +RPROVIDES_libquadmath47-32bit += "libquadmath47-32bit" +# the PROVIDES rules is ignore "libquadmath0-32bit = 4.7.2-1" +PROVIDES += "libquadmath0-32bit" +RPROVIDES_libquadmath47-32bit += "libquadmath0-32bit" + +#PROVIDES by libobjc47-64bit +PROVIDES += "libobjc47-64bit" +RPROVIDES_libobjc47-64bit += "libobjc47-64bit" +# the PROVIDES rules is ignore "libobjc2-64bit = 4.7.2-1" +PROVIDES += "libobjc2-64bit" +RPROVIDES_libobjc47-64bit += "libobjc2-64bit" + +#PROVIDES by libgomp47-64bit +PROVIDES += "libgomp47-64bit" +RPROVIDES_libgomp47-64bit += "libgomp47-64bit" +# the PROVIDES rules is ignore "libgomp1-64bit = 4.7.2-1" +PROVIDES += "libgomp1-64bit" +RPROVIDES_libgomp47-64bit += "libgomp1-64bit" + +#PROVIDES by libmudflap47-64bit +PROVIDES += "libmudflap47-64bit" +RPROVIDES_libmudflap47-64bit += "libmudflap47-64bit" +# the PROVIDES rules is ignore "libmudflap0-64bit = 4.7.2-1" +PROVIDES += "libmudflap0-64bit" +RPROVIDES_libmudflap47-64bit += "libmudflap0-64bit" +# the PROVIDES rules is ignore "libmudflapth0-64bit = 4.7.2-1" +PROVIDES += "libmudflapth0-64bit" +RPROVIDES_libmudflap47-64bit += "libmudflapth0-64bit" + +#PROVIDES by gcc47-testresults +PROVIDES += "gcc47-testresults" +RPROVIDES_gcc47-testresults += "gcc47-testresults" + +#PROVIDES by libstdc++47-32bit +PROVIDES += "libstdc++47-32bit" +RPROVIDES_libstdc++47-32bit += "libstdc++47-32bit" +# the PROVIDES rules is ignore "libstdc++6-32bit = 4.7.2-1" +PROVIDES += "libstdc++6-32bit" +RPROVIDES_libstdc++47-32bit += "libstdc++6-32bit" + +#PROVIDES by gcc47-fortran +PROVIDES += "gcc47-fortran" +RPROVIDES_gcc47-fortran += "gcc47-fortran" + +#PROVIDES by libobjc47-32bit +PROVIDES += "libobjc47-32bit" +RPROVIDES_libobjc47-32bit += "libobjc47-32bit" +# the PROVIDES rules is ignore "libobjc2-32bit = 4.7.2-1" +PROVIDES += "libobjc2-32bit" +RPROVIDES_libobjc47-32bit += "libobjc2-32bit" + +#PROVIDES by libstdc++47 +PROVIDES += "libstdc++47" +RPROVIDES_libstdc++47 += "libstdc++47" +# the PROVIDES rules is ignore "libstdc++6 = 4.7.2-1" +PROVIDES += "libstdc++6" +RPROVIDES_libstdc++47 += "libstdc++6" + +#PROVIDES by libffi47-64bit +PROVIDES += "libffi47-64bit" +RPROVIDES_libffi47-64bit += "libffi47-64bit" +PROVIDES += "g-wrap:/usr/lib/libffi.so.4" +RPROVIDES_libffi47-64bit += "g-wrap:/usr/lib/libffi.so.4" +# the PROVIDES rules is ignore "libffi4-64bit = 4.7.2-1" +PROVIDES += "libffi4-64bit" +RPROVIDES_libffi47-64bit += "libffi4-64bit" + +#PROVIDES by gcc47-fortran-32bit +PROVIDES += "gcc47-fortran-32bit" +RPROVIDES_gcc47-fortran-32bit += "gcc47-fortran-32bit" + +#PROVIDES by libstdc++47-doc +PROVIDES += "libstdc++47-doc" +RPROVIDES_libstdc++47-doc += "libstdc++47-doc" + +#PROVIDES by gcc47-objc-64bit +PROVIDES += "gcc47-objc-64bit" +RPROVIDES_gcc47-objc-64bit += "gcc47-objc-64bit" + +#PROVIDES by libgcj_bc47 +PROVIDES += "libgcj_bc47" +RPROVIDES_libgcj_bc47 += "libgcj_bc47" +# the PROVIDES rules is ignore "libgcj_bc1 = 4.7.2-1" +PROVIDES += "libgcj_bc1" +RPROVIDES_libgcj_bc47 += "libgcj_bc1" +PROVIDES += "libgcj_bc.so.1()(64bit)" +RPROVIDES_libgcj_bc47 += "libgcj_bc.so.1()(64bit)" + +#PROVIDES by libgcj47-jar +PROVIDES += "libgcj47-jar" +RPROVIDES_libgcj47-jar += "libgcj47-jar" + +#PROVIDES by gcc47-objc-32bit +PROVIDES += "gcc47-objc-32bit" +RPROVIDES_gcc47-objc-32bit += "gcc47-objc-32bit" + +#PROVIDES by gcc47-fortran-64bit +PROVIDES += "gcc47-fortran-64bit" +RPROVIDES_gcc47-fortran-64bit += "gcc47-fortran-64bit" + +#PROVIDES by libquadmath47 +PROVIDES += "libquadmath47" +RPROVIDES_libquadmath47 += "libquadmath47" +# the PROVIDES rules is ignore "libquadmath0 = 4.7.2-1" +PROVIDES += "libquadmath0" +RPROVIDES_libquadmath47 += "libquadmath0" + +#PROVIDES by cpp47 +PROVIDES += "cpp47" +RPROVIDES_cpp47 += "cpp47" + + +DEPENDS = "" +#DEPENDS of gcc47 +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gettext-tools" +DEPENDS += "makeinfo" +DEPENDS += "glibc-32bit" +DEPENDS += "mpc" +DEPENDS += "mpfr" +DEPENDS += "perl" +DEPENDS += "texinfo" +DEPENDS += "zlib" +DEPENDS += "cloog" +DEPENDS += "ppl" + + +RDEPENDS = "" +#RDEPENDS of libgfortran47 +# the RDEPENDS rules is ignore "libquadmath0 >= 4.7.2-1" +RDEPENDS_libgfortran47 += "libquadmath0" + +#RDEPENDS of libstdc++47-devel +# the RDEPENDS rules is ignore "libstdc++6 >= 4.7.2-1" +RDEPENDS_libstdc++47-devel += "libstdc++6" +RDEPENDS_libstdc++47-devel += "glibc-devel" + +#RDEPENDS of libgcj47-devel +# the RDEPENDS rules is ignore "libstdc++47-devel = 4.7.2" +RDEPENDS_libgcj47-devel += "libstdc++47-devel" +# the RDEPENDS rules is ignore "libgcj13 >= 4.7.2-1" +RDEPENDS_libgcj47-devel += "libgcj13" +# the RDEPENDS rules is ignore "libgcj_bc1 >= 4.7.2-1" +RDEPENDS_libgcj47-devel += "libgcj_bc1" +# the RDEPENDS rules is ignore "libgcj47-jar = 4.7.2-1" +RDEPENDS_libgcj47-devel += "libgcj47-jar" +RDEPENDS_libgcj47-devel += "gtk2-devel" +RDEPENDS_libgcj47-devel += "libart_lgpl-devel" +RDEPENDS_libgcj47-devel += "glibc-devel" +RDEPENDS_libgcj47-devel += "zlib-devel" + +#RDEPENDS of libstdc++47-devel-32bit +# the RDEPENDS rules is ignore "libstdc++6-32bit >= 4.7.2-1" +RDEPENDS_libstdc++47-devel-32bit += "libstdc++6-32bit" +RDEPENDS_libstdc++47-devel-32bit += "glibc-devel-32bit" + +#RDEPENDS of gcc47-ada-32bit +# the RDEPENDS rules is ignore "gcc47-32bit = 4.7.2-1" +RDEPENDS_gcc47-ada-32bit += "gcc47-32bit" +# the RDEPENDS rules is ignore "libada47-32bit = 4.7.2-1" +RDEPENDS_gcc47-ada-32bit += "libada47-32bit" + +#RDEPENDS of libffi47-devel +# the RDEPENDS rules is ignore "libffi4 >= 4.7.2-1" +RDEPENDS_libffi47-devel += "libffi4" + +#RDEPENDS of gcc47-ada +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-ada += "gcc47" +# the RDEPENDS rules is ignore "libada47 = 4.7.2-1" +RDEPENDS_gcc47-ada += "libada47" + +#RDEPENDS of libgfortran47-64bit +# the RDEPENDS rules is ignore "libquadmath0-64bit >= 4.7.2-1" +RDEPENDS_libgfortran47-64bit += "libquadmath0-64bit" + +#RDEPENDS of gcc47-java +# the RDEPENDS rules is ignore "gcc47 = 4.7.2" +RDEPENDS_gcc47-java += "gcc47" +# the RDEPENDS rules is ignore "libgcj47-devel = 4.7.2-1" +RDEPENDS_gcc47-java += "libgcj47-devel" + +#RDEPENDS of gcc47-gij +# the RDEPENDS rules is ignore "libgcj13 >= 4.7.2-1" +RDEPENDS_gcc47-gij += "libgcj13" + +#RDEPENDS of gcc47-locale +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-locale += "gcc47" + +#RDEPENDS of gcc47-objc +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-objc += "gcc47" +# the RDEPENDS rules is ignore "libobjc2 >= 4.7.2-1" +RDEPENDS_gcc47-objc += "libobjc2" + +#RDEPENDS of gcc47-64bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-64bit += "gcc47" +# the RDEPENDS rules is ignore "libgcc1-64bit >= 4.7.2-1" +RDEPENDS_gcc47-64bit += "libgcc1-64bit" +# the RDEPENDS rules is ignore "libgomp1-64bit >= 4.7.2-1" +RDEPENDS_gcc47-64bit += "libgomp1-64bit" +RDEPENDS_gcc47-64bit += "glibc-devel-64bit" + +#RDEPENDS of gcc47-c++ +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-c++ += "gcc47" +# the RDEPENDS rules is ignore "libstdc++47-devel = 4.7.2-1" +RDEPENDS_gcc47-c++ += "libstdc++47-devel" + +#RDEPENDS of gcc47 +RDEPENDS_gcc47 += "binutilsglibc-devel" +# the RDEPENDS rules is ignore "cpp47 = 4.7.2-1" +RDEPENDS_gcc47 += "cpp47" +# the RDEPENDS rules is ignore "libgcc1 >= 4.7.2-1" +RDEPENDS_gcc47 += "libgcc1" +# the RDEPENDS rules is ignore "libgomp1 >= 4.7.2-1" +RDEPENDS_gcc47 += "libgomp1" + +#RDEPENDS of libffi47-devel-64bit +# the RDEPENDS rules is ignore "libffi4-64bit >= 4.7.2-1" +RDEPENDS_libffi47-devel-64bit += "libffi4-64bit" + +#RDEPENDS of gcc47-ada-64bit +# the RDEPENDS rules is ignore "gcc47-64bit = 4.7.2-1" +RDEPENDS_gcc47-ada-64bit += "gcc47-64bit" +# the RDEPENDS rules is ignore "libada47-64bit = 4.7.2-1" +RDEPENDS_gcc47-ada-64bit += "libada47-64bit" + +#RDEPENDS of libgfortran47-32bit +# the RDEPENDS rules is ignore "libquadmath0-32bit >= 4.7.2-1" +RDEPENDS_libgfortran47-32bit += "libquadmath0-32bit" + +#RDEPENDS of gcc47-obj-c++ +# the RDEPENDS rules is ignore "gcc47-objc = 4.7.2-1" +RDEPENDS_gcc47-obj-c++ += "gcc47-objc" +# the RDEPENDS rules is ignore "gcc47-c++ = 4.7.2-1" +RDEPENDS_gcc47-obj-c++ += "gcc47-c++" + +#RDEPENDS of libstdc++47-devel-64bit +# the RDEPENDS rules is ignore "libstdc++6-64bit >= 4.7.2-1" +RDEPENDS_libstdc++47-devel-64bit += "libstdc++6-64bit" +RDEPENDS_libstdc++47-devel-64bit += "glibc-devel-64bit" + +#RDEPENDS of gcc47-32bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-32bit += "gcc47" +# the RDEPENDS rules is ignore "libgcc1-32bit >= 4.7.2-1" +RDEPENDS_gcc47-32bit += "libgcc1-32bit" +# the RDEPENDS rules is ignore "libgomp1-32bit >= 4.7.2-1" +RDEPENDS_gcc47-32bit += "libgomp1-32bit" +RDEPENDS_gcc47-32bit += "glibc-devel-32bit" + +#RDEPENDS of libffi47-devel-32bit +# the RDEPENDS rules is ignore "libffi4-32bit >= 4.7.2-1" +RDEPENDS_libffi47-devel-32bit += "libffi4-32bit" + +#RDEPENDS of gcc47-fortran +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-fortran += "gcc47" +# the RDEPENDS rules is ignore "libgfortran3 >= 4.7.2-1" +RDEPENDS_gcc47-fortran += "libgfortran3" +# the RDEPENDS rules is ignore "libquadmath0 >= 4.7.2-1" +RDEPENDS_gcc47-fortran += "libquadmath0" + +#RDEPENDS of gcc47-fortran-32bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-fortran-32bit += "gcc47" +# the RDEPENDS rules is ignore "libgfortran3-32bit >= 4.7.2-1" +RDEPENDS_gcc47-fortran-32bit += "libgfortran3-32bit" +# the RDEPENDS rules is ignore "libquadmath0-32bit >= 4.7.2-1" +RDEPENDS_gcc47-fortran-32bit += "libquadmath0-32bit" + +#RDEPENDS of gcc47-objc-64bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-objc-64bit += "gcc47" +# the RDEPENDS rules is ignore "libobjc2-64bit >= 4.7.2-1" +RDEPENDS_gcc47-objc-64bit += "libobjc2-64bit" + +#RDEPENDS of libgcj_bc47 +RDEPENDS_libgcj_bc47 += "libgcj13" + +#RDEPENDS of gcc47-objc-32bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-objc-32bit += "gcc47" +# the RDEPENDS rules is ignore "libobjc2-32bit >= 4.7.2-1" +RDEPENDS_gcc47-objc-32bit += "libobjc2-32bit" + +#RDEPENDS of gcc47-fortran-64bit +# the RDEPENDS rules is ignore "gcc47 = 4.7.2-1" +RDEPENDS_gcc47-fortran-64bit += "gcc47" +# the RDEPENDS rules is ignore "libgfortran3-64bit >= 4.7.2-1" +RDEPENDS_gcc47-fortran-64bit += "libgfortran3-64bit" +# the RDEPENDS rules is ignore "libquadmath0-64bit >= 4.7.2-1" +RDEPENDS_gcc47-fortran-64bit += "libquadmath0-64bit" + + +PACKAGES = "" +PACKAGES += "libgfortran47" +PACKAGES += "gcc47-obj-c++" +PACKAGES += "libstdc++47-devel-32bit" +PACKAGES += "libstdc++47-devel" +PACKAGES += "libquadmath47" +PACKAGES += "gcc47-info" +PACKAGES += "libgomp47" +PACKAGES += "libgcc47-32bit" +PACKAGES += "libobjc47" +PACKAGES += "libgomp47-32bit" +PACKAGES += "gcc47-locale" +PACKAGES += "gcc47-objc" +PACKAGES += "gcc47-c++" +PACKAGES += "libgcc47" +PACKAGES += "libgfortran47-32bit" +PACKAGES += "libstdc++47" +PACKAGES += "gcc47-32bit" +PACKAGES += "libquadmath47-32bit" +PACKAGES += "libstdc++47-32bit" +PACKAGES += "gcc47-fortran" +PACKAGES += "libstdc++47-doc" +PACKAGES += "gcc47-fortran-32bit" +PACKAGES += "libobjc47-32bit" +PACKAGES += "gcc47-" +PACKAGES += "gcc47-objc-32bit" +PACKAGES += "cpp47" + +libgfortran47files = "/usr/lib64/libgfortran.so.* " + +gcc47-obj-c++files = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/cc1objplus " + +libstdc++47-devel-32bitfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libstdc++.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libstdc++.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libsupc++.a /usr/share/gdb/auto-load//usr/lib/libstdc++.so.*-gdb.py " + +libstdc++47-develfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/libstdc++.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libstdc++.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/libsupc++.a /usr/share/gdb/auto-load//usr/lib64/libstdc++.so.*-gdb.py /usr/share/gcc-4.7 " + +libquadmath47files = "/usr/lib64/libquadmath.so.* " + +gcc47-infofiles = "" + +libgomp47files = "/usr/lib64/libgomp.so.1* " + +libgcc47-32bitfiles = "/lib/libgcc_s.so.1 " + +libobjc47files = "/usr/lib64/libobjc.so.* " + +libgomp47-32bitfiles = "/usr/lib/libgomp.so.1* " + +gcc47-localefiles = "" + +gcc47-objcfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/cc1obj /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/objc /usr/lib64/gcc/x86_64-tizen-linux/4.7/libobjc.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libobjc.so " + +gcc47-c++files = "/usr/bin/g++-4.7 /usr/lib64/gcc/x86_64-tizen-linux/4.7/cc1plus " + +libgcc47files = "/lib64/libgcc_s.so.1 " + +libgfortran47-32bitfiles = "/usr/lib/libgfortran.so.* " + +libstdc++47files = "/usr/lib64/libstdc++.so.* " + +gcc47-32bitfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/32/*crt*.o /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgcc*.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgcov.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgcc_s*.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgomp.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgomp.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgomp.spec " + +libquadmath47-32bitfiles = "/usr/lib/libquadmath.so.* " + +libstdc++47-32bitfiles = "/usr/lib/libstdc++.so.* " + +gcc47-fortranfiles = "/usr/bin/gfortran-4.7 /usr/lib64/gcc/x86_64-tizen-linux/4.7/f951 /usr/lib64/gcc/x86_64-tizen-linux/4.7/finclude/* /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgfortran.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgfortran.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgfortran.spec /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgfortranbegin.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libcaf_single.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/quadmath.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/quadmath_weak.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/libquadmath.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libquadmath.so " + +libstdc++47-docfiles = "" + +gcc47-fortran-32bitfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgfortran.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgfortran.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgfortran.spec /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libgfortranbegin.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libcaf_single.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libquadmath.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libquadmath.so " + +libobjc47-32bitfiles = "/usr/lib/libobjc.so.* " + +gcc47-files = "/usr/bin/gcc-4.7 /usr/bin/gcov-4.7 /usr/bin/gcc-ar-4.7 /usr/bin/gcc-nm-4.7 /usr/bin/gcc-ranlib-4.7 /usr/lib64/gcc/x86_64-tizen-linux/4.7/collect2 /usr/lib64/gcc/x86_64-tizen-linux/4.7/lto1 /usr/lib64/gcc/x86_64-tizen-linux/4.7/lto-wrapper /usr/lib64/gcc/x86_64-tizen-linux/4.7/liblto_plugin.so* /usr/lib64/gcc/x86_64-tizen-linux/4.7/include-fixed/README /usr/lib64/gcc/x86_64-tizen-linux/4.7/include-fixed/limits.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include-fixed/syslimits.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/omp.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/float.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/iso646.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdarg.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdbool.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdfix.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stddef.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/unwind.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/varargs.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdint.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdint-gcc.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdnoreturn.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/stdalign.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/cross-stdarg.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/cpuid.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/mm3dnow.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/mmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/ammintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/bmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/emmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/immintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/avxintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/pmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/xmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/tmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/nmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/smmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/wmmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/x86intrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/ia32intrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/mm_malloc.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/fma4intrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/xopintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/lwpintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/popcntintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/bmiintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/tbmintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/avx2intrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/bmi2intrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/fmaintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/lzcntintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/include/f16cintrin.h /usr/lib64/gcc/x86_64-tizen-linux/4.7/*crt*.o /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgcc*.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgcov.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgcc_s*.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgomp.so /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgomp.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/libgomp.spec " + +gcc47-objc-32bitfiles = "/usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libobjc.a /usr/lib64/gcc/x86_64-tizen-linux/4.7/32/libobjc.so " + +cpp47files = "/usr/bin/cpp-4.7 /usr/lib64/gcc/x86_64-tizen-linux/4.7/cc1 " + +FILES_libgfortran47 = "${libgfortran47files}" +FILES_gcc47-obj-c++ = "${gcc47-obj-c++files}" +FILES_libstdc++47-devel-32bit = "${libstdc++47-devel-32bitfiles}" +FILES_libstdc++47-devel = "${libstdc++47-develfiles}" +FILES_libquadmath47 = "${libquadmath47files}" +FILES_gcc47-info = "${gcc47-infofiles}" +FILES_libgomp47 = "${libgomp47files}" +FILES_libgcc47-32bit = "${libgcc47-32bitfiles}" +FILES_libobjc47 = "${libobjc47files}" +FILES_libgomp47-32bit = "${libgomp47-32bitfiles}" +FILES_gcc47-locale = "${gcc47-localefiles}" +FILES_gcc47-objc = "${gcc47-objcfiles}" +FILES_gcc47-c++ = "${gcc47-c++files}" +FILES_libgcc47 = "${libgcc47files}" +FILES_libgfortran47-32bit = "${libgfortran47-32bitfiles}" +FILES_libstdc++47 = "${libstdc++47files}" +FILES_gcc47-32bit = "${gcc47-32bitfiles}" +FILES_libquadmath47-32bit = "${libquadmath47-32bitfiles}" +FILES_libstdc++47-32bit = "${libstdc++47-32bitfiles}" +FILES_gcc47-fortran = "${gcc47-fortranfiles}" +FILES_libstdc++47-doc = "${libstdc++47-docfiles}" +FILES_gcc47-fortran-32bit = "${gcc47-fortran-32bitfiles}" +FILES_libobjc47-32bit = "${libobjc47-32bitfiles}" +FILES_gcc47- = "${gcc47-files}" +FILES_gcc47-objc-32bit = "${gcc47-objc-32bitfiles}" +FILES_cpp47 = "${cpp47files}" + +SPECFILES = "packaging/gcc47.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gcc47-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47_git.bb b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47_git.bb new file mode 100644 index 0000000..51f7ed5 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47_git.bb @@ -0,0 +1,5 @@ +require gcc47.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gcc47.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc new file mode 100644 index 0000000..30050c8 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc @@ -0,0 +1 @@ +PROVIDES += "gettext-tools" diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc new file mode 100644 index 0000000..af0007f --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc @@ -0,0 +1,59 @@ +DESCRIPTION = "GNU libraries and utilities for producing multi-lingual messages" +HOMEPAGE = "http://www.gnu.org/software/gettext/" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "GPLv3+ and LGPLv2+" + +PROVIDES = "" +#PROVIDES by gettext-runtime +PROVIDES += "gettext-runtime" +RPROVIDES_gettext-runtime += "gettext-runtime" +PROVIDES += "gettext-libs" +RPROVIDES_gettext-runtime += "gettext-libs" + +#PROVIDES by gettext-tools +PROVIDES += "gettext-tools" +RPROVIDES_gettext-tools += "gettext-tools" +PROVIDES += "gettext-devel" +RPROVIDES_gettext-tools += "gettext-devel" + +#PROVIDES by gettext +PROVIDES += "gettext" +RPROVIDES_gettext += "gettext" + + +DEPENDS = "" +#DEPENDS of gettext +# the DEPENDS rules is ignore "autoconf >= 2.5" +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "expat" +DEPENDS += "gcc" +DEPENDS += "libtool" +DEPENDS += "libunistring" + + +RDEPENDS = "" +#RDEPENDS of gettext-tools +# the RDEPENDS rules is ignore "gettext-runtime = 0.18.1.1" +RDEPENDS_gettext-tools += "gettext-runtime" + + +PACKAGES = "" +PACKAGES += "gettext-runtime" +PACKAGES += "gettext-tools" + +gettext-runtimefiles = "/usr/bin/gettext /usr/bin/ngettext /usr/bin/envsubst /usr/bin/gettext.sh /usr/lib64/libasprintf.so.* " + +gettext-toolsfiles = "/usr/share/gettext/projects/* /usr/share/gettext/config.rpath /usr/share/gettext/*.h /usr/share/gettext/intl /usr/share/gettext/po /usr/share/gettext/msgunfmt.tcl /usr/share/aclocal/* /usr/include/* /usr/lib64/libasprintf.so /usr/lib64/libgettextpo.so /usr/lib64/libgettextlib*.so /usr/lib64/libgettextsrc*.so /usr/lib64/preloadable_libintl.so /usr/lib64/gettext/hostname /usr/lib64/gettext/project-id /usr/lib64/gettext/urlget /usr/lib64/gettext/user-email /usr/lib64/libgettextpo.so.* /usr/share/gettext/javaversion.class /usr/share/gettext/archive*.tar.gz /usr/share/gettext/styles /usr/bin/autopoint /usr/bin/gettextize /usr/bin/msgattrib /usr/bin/msgcat /usr/bin/msgcmp /usr/bin/msgcomm /usr/bin/msgconv /usr/bin/msgen /usr/bin/msgexec /usr/bin/msgfilter /usr/bin/msgfmt /usr/bin/msggrep /usr/bin/msghack /usr/bin/msginit /usr/bin/msgmerge /usr/bin/msgunfmt /usr/bin/msguniq /usr/bin/recode-sr-latin /usr/bin/xgettext " + +FILES_gettext-runtime = "${gettext-runtimefiles}" +FILES_gettext-tools = "${gettext-toolsfiles}" + +SPECFILES = "packaging/gettext.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gettext-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc~ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc~ new file mode 100644 index 0000000..446d485 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc~ @@ -0,0 +1,30 @@ +DESCRIPTION = "GNU libraries and utilities for producing multi-lingual messages" +HOMEPAGE = "http://www.gnu.org/software/gettext/" +SECTION = "Development/Tools" +PRIORITY = "" +LICENSE = "GPLv3+ and LGPLv2+" + +PACKAGES = "" +PACKAGES += "gettext" +PACKAGES += "gettext-tools" +PACKAGES += "gettext-runtime" + +PROVIDES = "" +PROVIDES += "gettext" +PROVIDES += "gettext-tools" +PROVIDES += "gettext-runtime" + +DEPENDS = "" +DEPENDS += "autoconf " +DEPENDS += "bison" +DEPENDS += "expat-devel" +DEPENDS += "gcc-c++" +DEPENDS += "libtool" +DEPENDS += "libunistring" + +RDEPENDS = "" + +S = "${WORKDIR}/git" +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require gettext-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext_git.bb b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext_git.bb new file mode 100644 index 0000000..7b186f8 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext_git.bb @@ -0,0 +1,5 @@ +require gettext.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/gettext.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc new file mode 100644 index 0000000..15d2c0d --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc @@ -0,0 +1,61 @@ +DESCRIPTION = "A library of handy utility functions" +HOMEPAGE = "" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "LGPLv2+" + +PROVIDES = "" +#PROVIDES by glib2 +PROVIDES += "glib2" +RPROVIDES_glib2 += "glib2" + +#PROVIDES by glib2-devel +PROVIDES += "glib2-devel" +RPROVIDES_glib2-devel += "glib2-devel" + +#PROVIDES by glib2-static +PROVIDES += "glib2-static" +RPROVIDES_glib2-static += "glib2-static" + + +DEPENDS = "" +#DEPENDS of glib2 +DEPENDS += "pkgconfig" +DEPENDS += "gettext-tools" +DEPENDS += "libattr" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of glib2-devel +RDEPENDS_glib2-devel += "pkgconfig" +# the RDEPENDS rules is ignore "glib2 = 2.28.6-1" +RDEPENDS_glib2-devel += "glib2" + +#RDEPENDS of glib2-static +# the RDEPENDS rules is ignore "glib2-devel = 2.28.6-1" +RDEPENDS_glib2-static += "glib2-devel" + + +PACKAGES = "" +PACKAGES += "glib2-" +PACKAGES += "glib2-devel" +PACKAGES += "glib2-static" + +glib2-files = "/lib64/libglib-2.0.so.* /lib64/libgthread-2.0.so.* /lib64/libgmodule-2.0.so.* /lib64/libgobject-2.0.so.* /lib64/libgio-2.0.so.* /etc/profile.d/* /usr/bin/gio-querymodules /usr/bin/glib-compile-schemas /usr/bin/gsettings /usr/bin/gdbus " + +glib2-develfiles = "/usr/lib64/lib*.so /usr/lib64/glib-2.0 /usr/include/* /usr/share/aclocal/* /usr/lib64/pkgconfig/* /usr/share/glib-2.0 /usr/share/gdb/auto-load/lib/*.py* /usr/bin/glib-genmarshal /usr/bin/glib-gettextize /usr/bin/glib-mkenums /usr/bin/gobject-query /usr/bin/gtester " + +glib2-staticfiles = "/usr/lib64/lib*.a " + +FILES_glib2- = "${glib2-files}" +FILES_glib2-devel = "${glib2-develfiles}" +FILES_glib2-static = "${glib2-staticfiles}" + +SPECFILES = "packaging/glib2.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require glib2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2_git.bb b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2_git.bb new file mode 100644 index 0000000..56bb0d2 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2_git.bb @@ -0,0 +1,5 @@ +require glib2.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/toolchains/glib2.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc new file mode 100644 index 0000000..fb65862 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "Create Simple Man Pages from --help Output" +HOMEPAGE = "http://www.gnu.org/software/help2man/" +SECTION = "Development/Tools/Doc Generators" +PRIORITY = "" +LICENSE = "GPL-3.0+" + +PROVIDES = "" +#PROVIDES by help2man +PROVIDES += "help2man" +RPROVIDES_help2man += "help2man" + + +DEPENDS = "" +#DEPENDS of help2man +DEPENDS += "gettext-tools" +DEPENDS += "perl-gettext" + + +RDEPENDS = "" +#RDEPENDS of help2man +RDEPENDS_help2man += "perl-gettext" + + +PACKAGES = "" +PACKAGES += "help2man-" + +help2man-files = "/usr/bin/help2man /usr/lib64/help2man/ " + +FILES_help2man- = "${help2man-files}" + +SPECFILES = "packaging/help2man.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require help2man-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man_git.bb b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man_git.bb new file mode 100644 index 0000000..df1816b --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man_git.bb @@ -0,0 +1,5 @@ +require help2man.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/help2man.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc new file mode 100644 index 0000000..f3a7d21 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Hardware identification and configuration data" +HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by hwdata +PROVIDES += "hwdata" +RPROVIDES_hwdata += "hwdata" +PROVIDES += "pciutils-ids" +RPROVIDES_hwdata += "pciutils-ids" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "hwdata-" + +hwdata-files = "/usr/share/hwdata/* " + +FILES_hwdata- = "${hwdata-files}" + +SPECFILES = "packaging/hwdata.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require hwdata-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata_git.bb b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata_git.bb new file mode 100644 index 0000000..888855e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata_git.bb @@ -0,0 +1,5 @@ +require hwdata.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/hwdata.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc new file mode 100644 index 0000000..ba0ec53 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "ISO code lists and translations" +HOMEPAGE = "http://alioth.debian.org/projects/pkg-isocodes/" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "LGPL-2.0+" + +PROVIDES = "" +#PROVIDES by iso-codes-devel +PROVIDES += "iso-codes-devel" +RPROVIDES_iso-codes-devel += "iso-codes-devel" + +#PROVIDES by iso-codes +PROVIDES += "iso-codes" +RPROVIDES_iso-codes += "iso-codes" + + +DEPENDS = "" +#DEPENDS of iso-codes +# the DEPENDS rules is ignore "gettext-tools >= 0.16" +DEPENDS += "gettext-tools" + + +RDEPENDS = "" +#RDEPENDS of iso-codes-devel +# the RDEPENDS rules is ignore "iso-codes = 3.13" +RDEPENDS_iso-codes-devel += "iso-codes" + + +PACKAGES = "" +PACKAGES += "iso-codes-devel" +PACKAGES += "iso-codes-" + +iso-codes-develfiles = "/usr/share/pkgconfig/iso-codes.pc " + +iso-codes-files = "/usr/share/xml/iso-codes/*.xml " + +FILES_iso-codes-devel = "${iso-codes-develfiles}" +FILES_iso-codes- = "${iso-codes-files}" + +SPECFILES = "packaging/iso-codes.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require iso-codes-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes_git.bb b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes_git.bb new file mode 100644 index 0000000..a717b51 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes_git.bb @@ -0,0 +1,5 @@ +require iso-codes.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/toolchains/iso-codes.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc new file mode 100644 index 0000000..6d840f8 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc @@ -0,0 +1,55 @@ +DESCRIPTION = "Library for Capabilities (linux-privs) Support" +HOMEPAGE = "https://sites.google.com/site/fullycapable/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "BSD-3-Clause ; GPL-2.0" + +PROVIDES = "" +#PROVIDES by libcap +PROVIDES += "libcap" +RPROVIDES_libcap += "libcap" + +#PROVIDES by libcap-progs +PROVIDES += "libcap-progs" +RPROVIDES_libcap-progs += "libcap-progs" + +#PROVIDES by libcap-devel +PROVIDES += "libcap-devel" +RPROVIDES_libcap-devel += "libcap-devel" + + +DEPENDS = "" +#DEPENDS of libcap +DEPENDS += "fdupes" +DEPENDS += "libattr" + + +RDEPENDS = "" +#RDEPENDS of libcap-devel +RDEPENDS_libcap-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libcap = 2.22" +RDEPENDS_libcap-devel += "libcap" + + +PACKAGES = "" +PACKAGES += "libcap-progs" +PACKAGES += "libcap-devel" +PACKAGES += "libcap-" + +libcap-progsfiles = "/usr/share/man/man1/* /usr/share/man/man8/* /sbin/* " + +libcap-develfiles = "/usr/include/sys/capability.h /usr/lib64/*.so /usr/share/man/man3/* " + +libcap-files = "" + +FILES_libcap-progs = "${libcap-progsfiles}" +FILES_libcap-devel = "${libcap-develfiles}" +FILES_libcap- = "${libcap-files}" + +SPECFILES = "packaging/libcap.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libcap-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap_git.bb b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap_git.bb new file mode 100644 index 0000000..d045c23 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap_git.bb @@ -0,0 +1,5 @@ +require libcap.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libcap.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc new file mode 100644 index 0000000..97b9a12 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc @@ -0,0 +1,50 @@ +DESCRIPTION = "The GNU Crypto Library" +HOMEPAGE = "http://directory.fsf.org/wiki/Libgcrypt" +SECTION = "Development/Libraries/C and C++" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libgcrypt +PROVIDES += "libgcrypt" +RPROVIDES_libgcrypt += "libgcrypt" + +#PROVIDES by libgcrypt-devel +PROVIDES += "libgcrypt-devel" +RPROVIDES_libgcrypt-devel += "libgcrypt-devel" + + +DEPENDS = "" +#DEPENDS of libgcrypt +# the DEPENDS rules is ignore "libgpg-error >= 1.8" +DEPENDS += "libgpg-error" +DEPENDS += "libtool" + + +RDEPENDS = "" +#RDEPENDS of libgcrypt-devel +# the RDEPENDS rules is ignore "libgcrypt = 1.5.0" +RDEPENDS_libgcrypt-devel += "libgcrypt" +RDEPENDS_libgcrypt-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libgpg-error-devel >= 1.8" +RDEPENDS_libgcrypt-devel += "libgpg-error-devel" + + +PACKAGES = "" +PACKAGES += "libgcrypt-" +PACKAGES += "libgcrypt-devel" + +libgcrypt-files = "/usr/lib64/libgcrypt.so.11* " + +libgcrypt-develfiles = "/usr/share/info/gcrypt.info.gz /usr/share/info/gcrypt.info-1.gz /usr/bin/dumpsexp /usr/bin/hmac256 /usr/bin/libgcrypt-config /usr/lib64/libgcrypt.so /usr/include/gcrypt*.h /usr/share/aclocal/libgcrypt.m4 " + +FILES_libgcrypt- = "${libgcrypt-files}" +FILES_libgcrypt-devel = "${libgcrypt-develfiles}" + +SPECFILES = "packaging/libgcrypt.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libgcrypt-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt_git.bb b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt_git.bb new file mode 100644 index 0000000..2ae2856 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt_git.bb @@ -0,0 +1,5 @@ +require libgcrypt.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libgcrypt.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc new file mode 100644 index 0000000..e998d79 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc @@ -0,0 +1,58 @@ +DESCRIPTION = "Library That Defines Common Error Values for All GnuPG Components" +HOMEPAGE = "http://www.gnupg.org/" +SECTION = "Development/Libraries/C and C++" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; LGPL-2.1+" + +PROVIDES = "" +#PROVIDES by libgpg-error-devel +PROVIDES += "libgpg-error-devel" +RPROVIDES_libgpg-error-devel += "libgpg-error-devel" + +#PROVIDES by libgpg-error-lang +PROVIDES += "libgpg-error-lang " +RPROVIDES_libgpg-error-lang += "libgpg-error-lang " +# the PROVIDES rules is ignore "libgpg-error-lang-all = 1.10" +PROVIDES += "libgpg-error-lang-all" +RPROVIDES_libgpg-error-lang += "libgpg-error-lang-all" + +#PROVIDES by libgpg-error +PROVIDES += "libgpg-error" +RPROVIDES_libgpg-error += "libgpg-error" + + +DEPENDS = "" +#DEPENDS of libgpg-error +DEPENDS += "gettext-tools" +DEPENDS += "libtool" + + +RDEPENDS = "" +#RDEPENDS of libgpg-error-devel +RDEPENDS_libgpg-error-devel += "glibc-devel" +# the RDEPENDS rules is ignore "libgpg-error = 1.10" +RDEPENDS_libgpg-error-devel += "libgpg-error" + +#RDEPENDS of libgpg-error-lang +# the RDEPENDS rules is ignore "libgpg-error = 1.10" +RDEPENDS_libgpg-error-lang += "libgpg-error" + + +PACKAGES = "" +PACKAGES += "libgpg-error-devel" +PACKAGES += "libgpg-error-" + +libgpg-error-develfiles = "/usr/share/aclocal/gpg-error.m4 /usr/include/* /usr/bin/* /usr/lib64/libgpg-error*.so " + +libgpg-error-files = "GPL-2.0+ ; LGPL-2.1+ ; MIT COPYING.LIB COPYING /usr/lib64/libgpg-error*.so.* " + +FILES_libgpg-error-devel = "${libgpg-error-develfiles}" +FILES_libgpg-error- = "${libgpg-error-files}" + +SPECFILES = "packaging/libgpg-error.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libgpg-error-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error_git.bb b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error_git.bb new file mode 100644 index 0000000..a23366c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error_git.bb @@ -0,0 +1,5 @@ +require libgpg-error.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libgpg-error.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc new file mode 100644 index 0000000..a3a66d2 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "A Library to Manipulate XML Files" +HOMEPAGE = "http://xmlsoft.org" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by libxml2 +PROVIDES += "libxml2" +RPROVIDES_libxml2 += "libxml2" + +#PROVIDES by libxml2-devel +PROVIDES += "libxml2-devel" +RPROVIDES_libxml2-devel += "libxml2-devel" + +#PROVIDES by libxml2-doc +PROVIDES += "libxml2-doc" +RPROVIDES_libxml2-doc += "libxml2-doc" + +#PROVIDES by libxml2-tools +PROVIDES += "libxml2-tools" +RPROVIDES_libxml2-tools += "libxml2-tools" + + +DEPENDS = "" +#DEPENDS of libxml2 +DEPENDS += "pkg-config" +DEPENDS += "readline" +DEPENDS += "xz" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of libxml2-devel +# the RDEPENDS rules is ignore "libxml2 = 2.8.0" +RDEPENDS_libxml2-devel += "libxml2" +# the RDEPENDS rules is ignore "libxml2-tools = 2.8.0" +RDEPENDS_libxml2-devel += "libxml2-tools" +RDEPENDS_libxml2-devel += "glibc-devel" +RDEPENDS_libxml2-devel += "readline-devel" +RDEPENDS_libxml2-devel += "xz-devel" +RDEPENDS_libxml2-devel += "zlib-devel" + +#RDEPENDS of libxml2-doc +# the RDEPENDS rules is ignore "libxml2 = 2.8.0" +RDEPENDS_libxml2-doc += "libxml2" + + +PACKAGES = "" +PACKAGES += "libxml2-tools" +PACKAGES += "libxml2-devel" +PACKAGES += "libxml2-doc" +PACKAGES += "libxml2-" + +libxml2-toolsfiles = "/usr/bin/xmllint /usr/bin/xmlcatalog " + +libxml2-develfiles = "/usr/bin/xml2-config /usr/share/aclocal/libxml.m4 /usr/include/libxml /usr/include/libxml2 /usr/lib64/lib*.so /usr/lib64/libxml2.la /usr/lib64/*.sh /usr/lib64/pkgconfig/*.pc " + +libxml2-docfiles = "/usr/share/gtk-doc/html/* " + +libxml2-files = "/usr/lib64/lib*.so.* " + +FILES_libxml2-tools = "${libxml2-toolsfiles}" +FILES_libxml2-devel = "${libxml2-develfiles}" +FILES_libxml2-doc = "${libxml2-docfiles}" +FILES_libxml2- = "${libxml2-files}" + +SPECFILES = "packaging/libxml2.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libxml2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2_git.bb b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2_git.bb new file mode 100644 index 0000000..1eb159d --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2_git.bb @@ -0,0 +1,5 @@ +require libxml2.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libxml2.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc~ new file mode 100644 index 0000000..2385630 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-extraconf.inc~ @@ -0,0 +1,2 @@ +PROVIDES += "libzio-devel" + diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc new file mode 100644 index 0000000..8431458 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc @@ -0,0 +1,48 @@ +DESCRIPTION = "A Library for Accessing Compressed Text Files" +HOMEPAGE = "" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#PROVIDES by libzio-devel +PROVIDES += "libzio-devel" +RPROVIDES_libzio-devel += "libzio-devel" + +#PROVIDES by libzio +PROVIDES += "libzio" +RPROVIDES_libzio += "libzio" + + +DEPENDS = "" +#DEPENDS of libzio +DEPENDS += "bzip2" +DEPENDS += "xz" +DEPENDS += "xz" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of libzio-devel +# the RDEPENDS rules is ignore "libzio = 0.99" +RDEPENDS_libzio-devel += "libzio" + + +PACKAGES = "" +PACKAGES += "libzio-devel" +PACKAGES += "libzio-" + +libzio-develfiles = "/usr/lib64/libzio.a /usr/lib64/libzio.so /usr/share/man/man3/fzopen.3* /usr/include/zio.h " + +libzio-files = "/usr/lib64/libzio.so.0 /usr/lib64/libzio.so.0.99 " + +FILES_libzio-devel = "${libzio-develfiles}" +FILES_libzio- = "${libzio-files}" + +SPECFILES = "packaging/libzio.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require libzio-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio_git.bb b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio_git.bb new file mode 100644 index 0000000..4af3c63 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio_git.bb @@ -0,0 +1,5 @@ +require libzio.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/libzio.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc new file mode 100644 index 0000000..e8aea3b --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc @@ -0,0 +1 @@ +BBCLASSEXTEND =+ "nativesdk" diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc new file mode 100644 index 0000000..c53845a --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Linux headers for userspace development" +HOMEPAGE = "http://www.kernel.org/" +SECTION = "Development/Libraries/C and C++" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PROVIDES = "" +#PROVIDES by linux-glibc-devel +PROVIDES += "linux-glibc-devel" +RPROVIDES_linux-glibc-devel += "linux-glibc-devel" +PROVIDES += "kernel-headers" +RPROVIDES_linux-glibc-devel += "kernel-headers" +# the PROVIDES rules is ignore "linux-kernel-headers = 3.4.0" +PROVIDES += "linux-kernel-headers" +RPROVIDES_linux-glibc-devel += "linux-kernel-headers" + + +DEPENDS = "" +#DEPENDS of linux-glibc-devel +DEPENDS += "fdupes" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "linux-glibc-devel-" + +linux-glibc-devel-files = "/usr/include/* " + +FILES_linux-glibc-devel- = "${linux-glibc-devel-files}" + +SPECFILES = "packaging/linux-glibc-devel.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require linux-glibc-devel-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc~ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc~ new file mode 100644 index 0000000..0cf61a9 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc~ @@ -0,0 +1,30 @@ +DESCRIPTION = "Linux headers for userspace development" +HOMEPAGE = "http://www.kernel.org/" +SECTION = "Development/Libraries/C and C++" +PRIORITY = "" +LICENSE = "GPL-2.0" + +PACKAGES = "" +PACKAGES += "linux-glibc-devel" + +PROVIDES = "" +#PROVIDES by linux-glibc-devel +PROVIDES += "linux-glibc-devel" +PROVIDES += "kernel-headers" +# the PROVIDES rules is ignore "linux-kernel-headers = 3.4.0" +PROVIDES += "linux-kernel-headers" +RPROVIDES += "linux-kernel-headers" + +DEPENDS = "" +#DEPENDS of linux-glibc-devel +DEPENDS += "fdupes" + + +RDEPENDS = "" + +SPECFILES = "packaging/linux-glibc-devel.spec" + +S = "${WORKDIR}/git" +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require linux-glibc-devel-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel_git.bb b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel_git.bb new file mode 100644 index 0000000..fb8deeb --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel_git.bb @@ -0,0 +1,5 @@ +require linux-glibc-devel.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/linux-glibc-devel.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/lua/lua-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/lua/lua-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc b/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc new file mode 100644 index 0000000..f4a3360 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc @@ -0,0 +1,62 @@ +DESCRIPTION = "Small Embeddable Language with Simple Procedural Syntax" +HOMEPAGE = "http://www.lua.org" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by lua +PROVIDES += "lua" +RPROVIDES_lua += "lua" + +#PROVIDES by lua-devel +PROVIDES += "lua-devel" +RPROVIDES_lua-devel += "lua-devel" + +#PROVIDES by liblua +PROVIDES += "liblua" +RPROVIDES_liblua += "liblua" + +#PROVIDES by lua-doc +PROVIDES += "lua-doc" +RPROVIDES_lua-doc += "lua-doc" + + +DEPENDS = "" +#DEPENDS of lua +DEPENDS += "pkg-config" +DEPENDS += "readline" + + +RDEPENDS = "" +#RDEPENDS of lua-devel +# the RDEPENDS rules is ignore "lua = 5.1.4" +RDEPENDS_lua-devel += "lua" + + +PACKAGES = "" +PACKAGES += "lua-devel" +PACKAGES += "liblua" +PACKAGES += "lua-doc" +PACKAGES += "lua-" + +lua-develfiles = "/usr/include/lauxlib.h /usr/include/lua.h /usr/include/lua.hpp /usr/include/luaconf.h /usr/include/lualib.h /usr/lib64/pkgconfig/lua.pc /usr/lib64/liblua.a /usr/lib64/liblua.so " + +libluafiles = "/usr/lib64/liblua.so.5.1 " + +lua-docfiles = " " + +lua-files = "/usr/share/man/man1/lua5.1.1* /usr/share/man/man1/luac5.1.1* /usr/bin/lua5.1 /usr/bin/luac5.1 /etc/rpm/macros.lua " + +FILES_lua-devel = "${lua-develfiles}" +FILES_liblua = "${libluafiles}" +FILES_lua-doc = "${lua-docfiles}" +FILES_lua- = "${lua-files}" + +SPECFILES = "packaging/lua.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require lua-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/lua/lua_git.bb b/meta-tizen/recipes-DevelopmentExtra/lua/lua_git.bb new file mode 100644 index 0000000..5ce5f6e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/lua/lua_git.bb @@ -0,0 +1,5 @@ +require lua.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/lua.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc new file mode 100644 index 0000000..67ca969 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc @@ -0,0 +1 @@ +BBCLASSEXTEND =+ "native" diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc new file mode 100644 index 0000000..f179dfb --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "New curses Libraries" +HOMEPAGE = "http://invisible-island.net/ncurses/ncurses.html" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by ncurses-utils +PROVIDES += "ncurses-utils" +RPROVIDES_ncurses-utils += "ncurses-utils" +PROVIDES += "ncurses:/usr/bin/tput" +RPROVIDES_ncurses-utils += "ncurses:/usr/bin/tput" + +#PROVIDES by terminfo-base +PROVIDES += "terminfo-base" +RPROVIDES_terminfo-base += "terminfo-base" +PROVIDES += "ncurses:/usr/share/tabset" +RPROVIDES_terminfo-base += "ncurses:/usr/share/tabset" + +#PROVIDES by ncurses-devel +PROVIDES += "ncurses-devel" +RPROVIDES_ncurses-devel += "ncurses-devel" +PROVIDES += "ncurses:/usr/include/ncurses.h" +RPROVIDES_ncurses-devel += "ncurses:/usr/include/ncurses.h" + +#PROVIDES by ncurses +PROVIDES += "ncurses" +RPROVIDES_ncurses += "ncurses" + +#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" + + +DEPENDS = "" +#DEPENDS of ncurses +DEPENDS += "gcc" + + +RDEPENDS = "" +#RDEPENDS of ncurses-devel +# the RDEPENDS rules is ignore "ncurses = 5.9-0" +RDEPENDS_ncurses-devel += "ncurses" +# the RDEPENDS rules is ignore "libncurses = 5.9-0" +RDEPENDS_ncurses-devel += "libncurses" +# the RDEPENDS rules is ignore "libncurses6 = 5.9-0" +RDEPENDS_ncurses-devel += "libncurses6" + +#RDEPENDS of libncurses +RDEPENDS_libncurses += "terminfo-base" + +#RDEPENDS of libncurses6 +RDEPENDS_libncurses6 += "terminfo-base" + + +PACKAGES = "" +PACKAGES += "ncurses-utils" +PACKAGES += "terminfo-base" +PACKAGES += "ncurses-devel" +PACKAGES += "ncurses-" +PACKAGES += "libncurses" +PACKAGES += "libncurses6" + +ncurses-utilsfiles = "/usr/bin/clear /usr/bin/reset /usr/bin/tabs /usr/bin/toe /usr/bin/tput /usr/bin/tset " + +terminfo-basefiles = "/etc/termcap " + +ncurses-develfiles = "/usr/bin/ncurses*-config /usr/bin/captoinfo /usr/bin/infocmp /usr/bin/infotocap /usr/bin/tic /usr/include/*.h /usr/include/ncurses*/*.h /usr/include/ncurses*/*/*.h /usr/lib64/lib*.a /usr/lib64/lib*.so /usr/lib64/ncurses6/lib*.a /usr/lib64/ncurses6/lib*.so " + +ncurses-files = " " + +libncursesfiles = "/lib64/lib*.so.5* /usr/lib64/lib*.so.5* " + +libncurses6files = "/lib64/lib*.so.6* /usr/lib64/lib*.so.6* " + +FILES_ncurses-utils = "${ncurses-utilsfiles}" +FILES_terminfo-base = "${terminfo-basefiles}" +FILES_ncurses-devel = "${ncurses-develfiles}" +FILES_ncurses- = "${ncurses-files}" +FILES_libncurses = "${libncursesfiles}" +FILES_libncurses6 = "${libncurses6files}" + +SPECFILES = "packaging/ncurses.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require ncurses-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc~ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc~ new file mode 100644 index 0000000..b0cfc44 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc~ @@ -0,0 +1,102 @@ +DESCRIPTION = "New curses Libraries" +HOMEPAGE = "http://invisible-island.net/ncurses/ncurses.html" +SECTION = "System/Base" +PRIORITY = "" +LICENSE = "MIT" + +PROVIDES = "" +#PROVIDES by ncurses-utils +PROVIDES += "ncurses-utils" +RPROVIDES += "ncurses-utils" +PROVIDES += "ncurses:/usr/bin/tput" +RPROVIDES += "ncurses:/usr/bin/tput" + +#PROVIDES by terminfo-base +PROVIDES += "terminfo-base" +RPROVIDES += "terminfo-base" +PROVIDES += "ncurses:/usr/share/tabset" +RPROVIDES += "ncurses:/usr/share/tabset" + +#PROVIDES by ncurses-devel +PROVIDES += "ncurses-devel" +RPROVIDES += "ncurses-devel" +PROVIDES += "ncurses:/usr/include/ncurses.h" +RPROVIDES += "ncurses:/usr/include/ncurses.h" + +#PROVIDES by ncurses +PROVIDES += "ncurses" +RPROVIDES += "ncurses" + +#PROVIDES by libncurses +PROVIDES += "libncurses" +RPROVIDES += "libncurses" +# the PROVIDES rules is ignore "ncurses = 5.9" +PROVIDES += "ncurses" +RPROVIDES += "ncurses" + +#PROVIDES by libncurses6 +PROVIDES += "libncurses6" +RPROVIDES += "libncurses6" +# the PROVIDES rules is ignore "ncurses = 6.0" +PROVIDES += "ncurses" +RPROVIDES += "ncurses" + +#PROVIDES by terminfo +PROVIDES += "terminfo" +RPROVIDES += "terminfo" + + +DEPENDS = "" +#DEPENDS of ncurses +DEPENDS += "gcc" + + +RDEPENDS = "" +#RDEPENDS of ncurses-devel +# the RDEPENDS rules is ignore "ncurses = 5.9-0" +RDEPENDS += "ncurses" +# the RDEPENDS rules is ignore "libncurses = 5.9-0" +RDEPENDS += "libncurses" +# the RDEPENDS rules is ignore "libncurses6 = 5.9-0" +RDEPENDS += "libncurses6" + +#RDEPENDS of libncurses +RDEPENDS += "terminfo-base" + +#RDEPENDS of libncurses6 +RDEPENDS += "terminfo-base" + + +PACKAGES = "" +PACKAGES += "ncurses-utils" +PACKAGES += "terminfo-base" +PACKAGES += "ncurses-devel" +PACKAGES += "ncurses-" +PACKAGES += "libncurses" +PACKAGES += "libncurses6" + +ncurses-utilsfiles = "/usr/bin/clear /usr/bin/reset /usr/bin/tabs /usr/bin/toe /usr/bin/tput /usr/bin/tset " + +terminfo-basefiles = "/etc/termcap " + +ncurses-develfiles = "/usr/bin/ncurses*-config /usr/bin/captoinfo /usr/bin/infocmp /usr/bin/infotocap /usr/bin/tic /usr/include/*.h /usr/include/ncurses*/*.h /usr/include/ncurses*/*/*.h /usr/lib64/lib*.a /usr/lib64/lib*.so /usr/lib64/ncurses6/lib*.a /usr/lib64/ncurses6/lib*.so " + +ncurses-files = " " + +libncursesfiles = "/lib64/lib*.so.5* /usr/lib64/lib*.so.5* " + +libncurses6files = "/lib64/lib*.so.6* /usr/lib64/lib*.so.6* " + +FILES_ncurses-utils = "${ncurses-utilsfiles}" +FILES_terminfo-base = "${terminfo-basefiles}" +FILES_ncurses-devel = "${ncurses-develfiles}" +FILES_ncurses- = "${ncurses-files}" +FILES_libncurses = "${libncursesfiles}" +FILES_libncurses6 = "${libncurses6files}" + +SPECFILES = "packaging/ncurses.spec" + +S = "${WORKDIR}/git" +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require ncurses-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses_git.bb b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses_git.bb new file mode 100644 index 0000000..82acaf4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses_git.bb @@ -0,0 +1,5 @@ +require ncurses.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/ncurses.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/nss/nss-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/nss/nss-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc b/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc new file mode 100644 index 0000000..af2a447 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Network Security Services" +HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "MPL-1.1 or GPL-2.0+ or LGPL-2.1+" + +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" + +#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" + + +DEPENDS = "" +#DEPENDS of nss +DEPENDS += "gcc" +DEPENDS += "nspr" +DEPENDS += "pkg-config" +DEPENDS += "zlib" +DEPENDS += "sqlite3" + + +RDEPENDS = "" +#RDEPENDS of libsoftokn3 +# the RDEPENDS rules is ignore "libfreebl3 = 3.13.6-0" +RDEPENDS_libsoftokn3 += "libfreebl3" + +#RDEPENDS of nss-devel +RDEPENDS_nss-devel += "libfreebl3" +RDEPENDS_nss-devel += "libsoftokn3" +RDEPENDS_nss-devel += "nspr-devel" +# the RDEPENDS rules is ignore "nss = 3.13.6-0" +RDEPENDS_nss-devel += "nss" + +#RDEPENDS of nss-sysinit +# the RDEPENDS rules is ignore "nss >= 3.13.6" +RDEPENDS_nss-sysinit += "nss" + +#RDEPENDS of nss +RDEPENDS_nss += "nss-certs" + + +PACKAGES = "" +PACKAGES += "libsoftokn3" +PACKAGES += "nss-tools" +PACKAGES += "nss-devel" +PACKAGES += "nss-" +PACKAGES += "libfreebl3" +PACKAGES += "nss-certs" +PACKAGES += "nss-sysinit" + +libsoftokn3files = "/usr/lib64/libsoftokn3.so /usr/lib64/libsoftokn3.chk /usr/lib64/libnssdbm3.so /usr/lib64/libnssdbm3.chk " + +nss-toolsfiles = "/usr/bin/* /usr/lib/nss/ " + +nss-develfiles = "/usr/include/nss3/ /usr/lib64/*.a /usr/lib64/pkgconfig/* " + +nss-files = "/usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libsmime3.so /usr/lib64/libssl3.so " + +libfreebl3files = "/usr/lib64/libfreebl3.so /usr/lib64/libfreebl3.chk " + +nss-certsfiles = "/usr/lib64/libnssckbi.so " + +nss-sysinitfiles = "/usr/lib64/libnsssysinit.so /usr/sbin/setup-nsssysinit.sh " + +FILES_libsoftokn3 = "${libsoftokn3files}" +FILES_nss-tools = "${nss-toolsfiles}" +FILES_nss-devel = "${nss-develfiles}" +FILES_nss- = "${nss-files}" +FILES_libfreebl3 = "${libfreebl3files}" +FILES_nss-certs = "${nss-certsfiles}" +FILES_nss-sysinit = "${nss-sysinitfiles}" + +SPECFILES = "packaging/nss.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require nss-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/nss/nss_git.bb b/meta-tizen/recipes-DevelopmentExtra/nss/nss_git.bb new file mode 100644 index 0000000..7654c38 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/nss/nss_git.bb @@ -0,0 +1,5 @@ +require nss.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/nss.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc new file mode 100644 index 0000000..5a90e5b --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc @@ -0,0 +1,42 @@ +DESCRIPTION = "A general purpose cryptography library with TLS implementation" +HOMEPAGE = "http://www.openssl.org/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "OpenSSL" + +PROVIDES = "" +#PROVIDES by openssl +PROVIDES += "openssl" +RPROVIDES_openssl += "openssl" + +#PROVIDES by openssl-devel +PROVIDES += "openssl-devel" +RPROVIDES_openssl-devel += "openssl-devel" + + +DEPENDS = "" + +RDEPENDS = "" +#RDEPENDS of openssl-devel +# the RDEPENDS rules is ignore "openssl = 1.0.1c" +RDEPENDS_openssl-devel += "openssl" + + +PACKAGES = "" +PACKAGES += "openssl-" +PACKAGES += "openssl-devel" + +openssl-files = "/usr/bin/* /usr/ssl /usr/lib64/engines/*.so /usr/lib64/libcrypto.so.1.0.0 /usr/lib64/libssl.so.1.0.0 " + +openssl-develfiles = "/usr/include/openssl " + +FILES_openssl- = "${openssl-files}" +FILES_openssl-devel = "${openssl-develfiles}" + +SPECFILES = "packaging/openssl.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require openssl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl_git.bb b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl_git.bb new file mode 100644 index 0000000..b1bbb95 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl_git.bb @@ -0,0 +1,5 @@ +require openssl.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/framework/security/openssl.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc new file mode 100644 index 0000000..d1d7c3b --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "Message handling functions" +HOMEPAGE = "http://search.cpan.org/dist/gettext/" +SECTION = "Development/Libraries/Perl" +PRIORITY = "" +LICENSE = "Artistic-1.0 ; GPL-2.0+" + +PROVIDES = "" +#PROVIDES by perl-gettext +PROVIDES += "perl-gettext" +RPROVIDES_perl-gettext += "perl-gettext" + + +DEPENDS = "" +#DEPENDS of perl-gettext +DEPENDS += "perl" +DEPENDS += "perl-macros" + + +RDEPENDS = "" +#RDEPENDS of perl-gettext +# the RDEPENDS rules is ignore "perl = 5.16.0" +RDEPENDS_perl-gettext += "perl" + + +PACKAGES = "" +PACKAGES += "perl-gettext-" + +perl-gettext-files = " " + +FILES_perl-gettext- = "${perl-gettext-files}" + +SPECFILES = "packaging/perl-gettext.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require perl-gettext-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext_git.bb b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext_git.bb new file mode 100644 index 0000000..cfa4058 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext_git.bb @@ -0,0 +1,5 @@ +require perl-gettext.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/perl-gettext.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/perl/perl-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/perl/perl-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc b/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc new file mode 100644 index 0000000..ec836f6 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "The Perl interpreter" +HOMEPAGE = "http://www.perl.org/" +SECTION = "Development/Languages/Perl" +PRIORITY = "" +LICENSE = "Artistic-1.0 or GPL-2.0+" + +PROVIDES = "" +#PROVIDES by perl-base +PROVIDES += "perl-base" +RPROVIDES_perl-base += "perl-base" +PROVIDES += "perl-Digest" +RPROVIDES_perl-base += "perl-Digest" +PROVIDES += "perl-Digest-MD5" +RPROVIDES_perl-base += "perl-Digest-MD5" + +#PROVIDES by perl-doc +PROVIDES += "perl-doc" +RPROVIDES_perl-doc += "perl-doc" +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" +PROVIDES += "/bin/perl" +RPROVIDES_perl += "/bin/perl" +PROVIDES += "perl-500" +RPROVIDES_perl += "perl-500" +PROVIDES += "perl-macros" +RPROVIDES_perl += "perl-macros" +PROVIDES += "perl(:MODULE_COMPAT_5.16.2)" +RPROVIDES_perl += "perl(:MODULE_COMPAT_5.16.2)" +PROVIDES += "perl-Filter-Simple" +RPROVIDES_perl += "perl-Filter-Simple" +PROVIDES += "perl-I18N-LangTags" +RPROVIDES_perl += "perl-I18N-LangTags" +PROVIDES += "perl-MIME-Base64" +RPROVIDES_perl += "perl-MIME-Base64" +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" +PROVIDES += "perl-Text-Balanced" +RPROVIDES_perl += "perl-Text-Balanced" +PROVIDES += "perl-Time-HiRes" +RPROVIDES_perl += "perl-Time-HiRes" +PROVIDES += "perl-libnet" +RPROVIDES_perl += "perl-libnet" +PROVIDES += "perl-Compress-Raw-Zlib" +RPROVIDES_perl += "perl-Compress-Raw-Zlib" +PROVIDES += "perl-Compress-Zlib" +RPROVIDES_perl += "perl-Compress-Zlib" +PROVIDES += "perl-IO-Compress-Base" +RPROVIDES_perl += "perl-IO-Compress-Base" +PROVIDES += "perl-IO-Compress-Zlib" +RPROVIDES_perl += "perl-IO-Compress-Zlib" +PROVIDES += "perl-IO-Zlib" +RPROVIDES_perl += "perl-IO-Zlib" +PROVIDES += "perl-Archive-Tar" +RPROVIDES_perl += "perl-Archive-Tar" +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)" +PROVIDES += "perl-Locale-Maketext-Simple" +RPROVIDES_perl += "perl-Locale-Maketext-Simple" +PROVIDES += "perl-Module-Pluggable" +RPROVIDES_perl += "perl-Module-Pluggable" +PROVIDES += "perl-Pod-Escapes" +RPROVIDES_perl += "perl-Pod-Escapes" +PROVIDES += "perl-Pod-Simple" +RPROVIDES_perl += "perl-Pod-Simple" +PROVIDES += "perl-ExtUtils-ParseXS" +RPROVIDES_perl += "perl-ExtUtils-ParseXS" +PROVIDES += "perl-version" +RPROVIDES_perl += "perl-version" + + +DEPENDS = "" +#DEPENDS of perl +DEPENDS += "db4" +DEPENDS += "gdbm" +DEPENDS += "bzip2" +DEPENDS += "ncurses" +DEPENDS += "zlib" + + +RDEPENDS = "" +#RDEPENDS of perl-doc +# the RDEPENDS rules is ignore "perl = 5.16.2" +RDEPENDS_perl-doc += "perl" + + +PACKAGES = "" +PACKAGES += "perl-" +PACKAGES += "perl-base" +PACKAGES += "perl-doc" + +perl-files = "/usr/bin/* /usr/lib/perl5/* " + +perl-basefiles = "/usr/bin/perl /usr/bin/perl5.16.2 " + +perl-docfiles = " " + +FILES_perl- = "${perl-files}" +FILES_perl-base = "${perl-basefiles}" +FILES_perl-doc = "${perl-docfiles}" + +SPECFILES = "packaging/perl.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require perl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/perl/perl_git.bb b/meta-tizen/recipes-DevelopmentExtra/perl/perl_git.bb new file mode 100644 index 0000000..bd3cd72 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl/perl_git.bb @@ -0,0 +1,5 @@ +require perl.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/perl.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc new file mode 100644 index 0000000..42de492 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "A library management system" +HOMEPAGE = "http://pkgconfig.freedesktop.org/" +SECTION = "Platfrom Development/Tools" +PRIORITY = "" +LICENSE = "GPL-2.0+" + +PROVIDES = "" +#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" +PROVIDES += "pkg-config" +RPROVIDES_pkg-config += "pkg-config" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "pkg-config-" + +pkg-config-files = "GPL-2.0+ COPYING /usr/bin/pkg-config /usr/bin/*-pkg-config /usr/share/aclocal/pkg.m4 " + +FILES_pkg-config- = "${pkg-config-files}" + +SPECFILES = "packaging/pkg-config.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require pkg-config-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config_git.bb b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config_git.bb new file mode 100644 index 0000000..e424f69 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config_git.bb @@ -0,0 +1,5 @@ +require pkg-config.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/pkg-config.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc new file mode 100644 index 0000000..581126f --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc @@ -0,0 +1 @@ +PROVIDES += "libsmack" diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/smack/smack-extraconf.inc~ new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc b/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc new file mode 100644 index 0000000..bccfcb8 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc @@ -0,0 +1,59 @@ +DESCRIPTION = "Package to interact with Smack" +HOMEPAGE = "" +SECTION = "System/Kernel" +PRIORITY = "" +LICENSE = "LGPL-2.1" + +PROVIDES = "" +#PROVIDES by smack-devel +PROVIDES += "smack-devel" +RPROVIDES_smack-devel += "smack-devel" + +#PROVIDES by smack +PROVIDES += "smack" +RPROVIDES_smack += "smack" + +#PROVIDES by smack-utils +PROVIDES += "smack-utils" +RPROVIDES_smack-utils += "smack-utils" + + +DEPENDS = "" +#DEPENDS of smack +DEPENDS += "automake" +DEPENDS += "autoconf" +DEPENDS += "libtool" + + +RDEPENDS = "" +#RDEPENDS of smack-devel +# the RDEPENDS rules is ignore "smack = 1.0-1" +RDEPENDS_smack-devel += "smack" + +#RDEPENDS of smack-utils +# the RDEPENDS rules is ignore "smack = 1.0-1" +RDEPENDS_smack-utils += "smack" + + +PACKAGES = "" +PACKAGES += "smack-devel" +PACKAGES += "smack-utils" +PACKAGES += "smack-" + +smack-develfiles = "/usr/include/sys/smack.h /usr/lib64/libsmack.so /usr/lib64/pkgconfig/libsmack.pc " + +smack-utilsfiles = "/etc/smack /etc/smack/accesses.d /etc/smack/cipso.d /smack /usr/lib/systemd/system/smack.mount /usr/lib/systemd/system/local-fs.target.wants/smack.mount /usr/lib/systemd/system/smack.service /usr/lib/systemd/system/basic.target.wants/smack.service " + +smack-files = "/usr/lib64/libsmack.so.* " + +FILES_smack-devel = "${smack-develfiles}" +FILES_smack-utils = "${smack-utilsfiles}" +FILES_smack- = "${smack-files}" + +SPECFILES = "packaging/smack.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require smack-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack_git.bb b/meta-tizen/recipes-DevelopmentExtra/smack/smack_git.bb new file mode 100644 index 0000000..fa1fee9 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/smack/smack_git.bb @@ -0,0 +1,5 @@ +require smack.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/smack.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc~ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc~ new file mode 100644 index 0000000..2247eb9 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-extraconf.inc~ @@ -0,0 +1 @@ +PROVIDES += "makeinfo" diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc new file mode 100644 index 0000000..86126c0 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "Tools Needed to Create Documentation from Texinfo Sources" +HOMEPAGE = "http://www.texinfo.org" +SECTION = "Productivity/Publishing/Texinfo" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; GPL-3.0+" + +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" +PROVIDES += "texinfo:/usr/bin/makeinfo" +RPROVIDES_makeinfo += "texinfo:/usr/bin/makeinfo" + + +DEPENDS = "" +#DEPENDS of texinfo +DEPENDS += "automake" +DEPENDS += "help2man" +DEPENDS += "bzip2" +DEPENDS += "libzio" +DEPENDS += "ncurses" +DEPENDS += "perl-gettext" +DEPENDS += "zlib" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "info" +PACKAGES += "texinfo-" +PACKAGES += "makeinfo" + +infofiles = "/sbin/install-info /usr/bin/install-info /usr/bin/info /usr/bin/infokey /usr/share/info/info.info* /usr/share/info/info-stnd.info* /usr/share/man/man1/info.1* /usr/share/man/man1/infokey.1* /usr/share/man/man1/install-info.1* /usr/share/man/man5/info.5* " + +texinfo-files = "/usr/bin/pdftexi* /usr/bin/texi* /usr/share/info/texinfo*.gz /usr/share/info/texi2html*.gz /usr/share/man/man1/pdftexi2dvi.1.gz /usr/share/man/man1/texi*.1.gz /usr/share/man/man5/texinfo.5.gz /usr/share/texinfo /usr/share/texi2html " + +makeinfofiles = "/usr/bin/makeinfo /usr/share/man/man1/makeinfo.1.gz " + +FILES_info = "${infofiles}" +FILES_texinfo- = "${texinfo-files}" +FILES_makeinfo = "${makeinfofiles}" + +SPECFILES = "packaging/texinfo.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require texinfo-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc~ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc~ new file mode 100644 index 0000000..776656d --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc~ @@ -0,0 +1,63 @@ +DESCRIPTION = "Tools Needed to Create Documentation from Texinfo Sources" +HOMEPAGE = "http://www.texinfo.org" +SECTION = "Productivity/Publishing/Texinfo" +PRIORITY = "" +LICENSE = "GPL-2.0+ ; GPL-3.0+" + +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" +PROVIDES += "texinfo:/usr/bin/makeinfo" +RPROVIDES_makeinfo += "texinfo:/usr/bin/makeinfo" + + +DEPENDS = "" +#DEPENDS of texinfo +DEPENDS += "automake" +DEPENDS += "help2man" +DEPENDS += "bzip2" +DEPENDS += "libzio" +DEPENDS += "ncurses" +DEPENDS += "gettext-minimal-native" +DEPENDS += "zlib" + + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "info" +PACKAGES += "texinfo-" +PACKAGES += "makeinfo" + +infofiles = "/sbin/install-info /usr/bin/install-info /usr/bin/info /usr/bin/infokey /usr/share/info/info.info* /usr/share/info/info-stnd.info* /usr/share/man/man1/info.1* /usr/share/man/man1/infokey.1* /usr/share/man/man1/install-info.1* /usr/share/man/man5/info.5* " + +texinfo-files = "/usr/bin/pdftexi* /usr/bin/texi* /usr/share/info/texinfo*.gz /usr/share/info/texi2html*.gz /usr/share/man/man1/pdftexi2dvi.1.gz /usr/share/man/man1/texi*.1.gz /usr/share/man/man5/texinfo.5.gz /usr/share/texinfo /usr/share/texi2html " + +makeinfofiles = "/usr/bin/makeinfo /usr/share/man/man1/makeinfo.1.gz " + +FILES_info = "${infofiles}" +FILES_texinfo- = "${texinfo-files}" +FILES_makeinfo = "${makeinfofiles}" + +SPECFILES = "packaging/texinfo.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require texinfo-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb new file mode 100644 index 0000000..9580700 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb @@ -0,0 +1,5 @@ +require texinfo.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/texinfo.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb~ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb~ new file mode 100644 index 0000000..9580700 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo_git.bb~ @@ -0,0 +1,5 @@ +require texinfo.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/texinfo.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc new file mode 100644 index 0000000..8ab7acf --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc @@ -0,0 +1,34 @@ +DESCRIPTION = "A hash table for C structures" +HOMEPAGE = "" +SECTION = "System/Kernel" +PRIORITY = "" +LICENSE = "BSD-style single-clause" + +PROVIDES = "" +#PROVIDES by uthash +PROVIDES += "uthash" +RPROVIDES_uthash += "uthash" + +#PROVIDES by uthash-devel +PROVIDES += "uthash-devel" +RPROVIDES_uthash-devel += "uthash-devel" + + +DEPENDS = "" + +RDEPENDS = "" + +PACKAGES = "" +PACKAGES += "uthash-devel" + +uthash-develfiles = "/usr/include/utarray.h /usr/include/uthash.h /usr/include/utlist.h /usr/include/utstring.h " + +FILES_uthash-devel = "${uthash-develfiles}" + +SPECFILES = "packaging/uthash.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require uthash-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash_git.bb b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash_git.bb new file mode 100644 index 0000000..c537cbe --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash_git.bb @@ -0,0 +1,5 @@ +require uthash.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/uthash.git;protocol=ssh;tag=master" diff --git a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib-extraconf.inc b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc new file mode 100644 index 0000000..81b59cd --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Data Compression Library" +HOMEPAGE = "http://www.zlib.net/" +SECTION = "System/Libraries" +PRIORITY = "" +LICENSE = "Zlib" + +PROVIDES = "" +#PROVIDES by zlib-devel +PROVIDES += "zlib-devel" +RPROVIDES_zlib-devel += "zlib-devel" +PROVIDES += "libz:/usr/include/zlib.h" +RPROVIDES_zlib-devel += "libz:/usr/include/zlib.h" + +#PROVIDES by zlib +PROVIDES += "zlib" +RPROVIDES_zlib += "zlib" +PROVIDES += "libz" +RPROVIDES_zlib += "libz" + +#PROVIDES by zlib-devel-static +PROVIDES += "zlib-devel-static" +RPROVIDES_zlib-devel-static += "zlib-devel-static" +PROVIDES += "zlib-devel:/usr/lib64/libz.a" +RPROVIDES_zlib-devel-static += "zlib-devel:/usr/lib64/libz.a" + +#PROVIDES by minizip +PROVIDES += "minizip" +RPROVIDES_minizip += "minizip" + +#PROVIDES by minizip-devel +PROVIDES += "minizip-devel" +RPROVIDES_minizip-devel += "minizip-devel" + + +DEPENDS = "" +#DEPENDS of zlib +DEPENDS += "pkgconfig" + + +RDEPENDS = "" +#RDEPENDS of zlib-devel +RDEPENDS_zlib-devel += "glibc-devel" +# the RDEPENDS rules is ignore "zlib = 1.2.7" +RDEPENDS_zlib-devel += "zlib" + +#RDEPENDS of zlib-devel-static +# the RDEPENDS rules is ignore "zlib-devel = 1.2.7" +RDEPENDS_zlib-devel-static += "zlib-devel" + +#RDEPENDS of minizip +# the RDEPENDS rules is ignore "zlib = 1.2.7-0" +RDEPENDS_minizip += "zlib" + +#RDEPENDS of minizip-devel +# the RDEPENDS rules is ignore "minizip = 1.2.7-0" +RDEPENDS_minizip-devel += "minizip" + + +PACKAGES = "" +PACKAGES += "zlib-devel" +PACKAGES += "zlib-devel-static" +PACKAGES += "minizip" +PACKAGES += "minizip-devel" +PACKAGES += "zlib-" + +zlib-develfiles = "/usr/share/man/man3/zlib.3.gz /usr/include/zlib.h /usr/include/zconf.h /usr/include/zutil.h /usr/lib64/libz.so /usr/lib64/pkgconfig/zlib.pc " + +zlib-devel-staticfiles = "/usr/lib64/libz.a " + +minizipfiles = "/usr/lib64/libminizip.so.* " + +minizip-develfiles = "/usr/include/minizip/*.h /usr/lib64/libminizip.so /usr/lib64/pkgconfig/minizip.pc " + +zlib-files = "/lib64/libz.so.1.2.* /lib64/libz.so.1 " + +FILES_zlib-devel = "${zlib-develfiles}" +FILES_zlib-devel-static = "${zlib-devel-staticfiles}" +FILES_minizip = "${minizipfiles}" +FILES_minizip-devel = "${minizip-develfiles}" +FILES_zlib- = "${zlib-files}" + +SPECFILES = "packaging/zlib.spec" + +BBCLASSEXTEND =+ "native" + +require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc + +require zlib-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib_git.bb b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib_git.bb new file mode 100644 index 0000000..4fe4c15 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib_git.bb @@ -0,0 +1,5 @@ +require zlib.inc + +S = "${WORKDIR}/git" + +SRC_URI = "git://tz.otcshare.org/profile/base/zlib.git;protocol=ssh;tag=master" -- 2.7.4