From edecfef0d523f4e70bac05d8233c3ff49f07da78 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 19 May 2014 23:53:04 +0200 Subject: [PATCH] Reuse meta-generic for global patterns. Global package patterns definitions were imported from profile/common/meta. Change-Id: I20fb193f0c3fc62d0689235ff2706eee00d317a9 Bug-Tizen: PTREL-807 Signed-off-by: Stephane Desneux --- Makefile | 42 +++++++++++++++++++++++++ VERSION | 1 + packaging/meta-generic.manifest | 5 +++ packaging/meta-generic.spec | 27 ++++++++++++++++ packaging/rpmlintrc | 3 ++ patterns/generic-adaptation.yaml | 5 +++ patterns/generic-applications.yaml | 7 +++++ patterns/generic-autoqa.yaml | 7 +++++ patterns/generic-base-micro.yaml | 17 +++++++++++ patterns/generic-base.yaml | 32 +++++++++++++++++++ patterns/generic-bluetooth.yaml | 9 ++++++ patterns/generic-console-tools.yaml | 30 ++++++++++++++++++ patterns/generic-crosswalk.yaml | 8 +++++ patterns/generic-desktop-applications.yaml | 9 ++++++ patterns/generic-development.yaml | 49 ++++++++++++++++++++++++++++++ patterns/generic-middleware.yaml | 17 +++++++++++ patterns/generic-multimedia.yaml | 20 ++++++++++++ patterns/generic-packaging.yaml | 6 ++++ patterns/generic-qa.yaml | 15 +++++++++ patterns/generic-qt5.yaml | 6 ++++ patterns/generic-wayland.yaml | 13 ++++++++ patterns/generic-webkit.yaml | 17 +++++++++++ 22 files changed, 345 insertions(+) create mode 100644 Makefile create mode 100644 VERSION create mode 100644 packaging/meta-generic.manifest create mode 100644 packaging/meta-generic.spec create mode 100644 packaging/rpmlintrc create mode 100644 patterns/generic-adaptation.yaml create mode 100644 patterns/generic-applications.yaml create mode 100644 patterns/generic-autoqa.yaml create mode 100644 patterns/generic-base-micro.yaml create mode 100644 patterns/generic-base.yaml create mode 100644 patterns/generic-bluetooth.yaml create mode 100644 patterns/generic-console-tools.yaml create mode 100644 patterns/generic-crosswalk.yaml create mode 100644 patterns/generic-desktop-applications.yaml create mode 100644 patterns/generic-development.yaml create mode 100644 patterns/generic-middleware.yaml create mode 100644 patterns/generic-multimedia.yaml create mode 100644 patterns/generic-packaging.yaml create mode 100644 patterns/generic-qa.yaml create mode 100644 patterns/generic-qt5.yaml create mode 100644 patterns/generic-wayland.yaml create mode 100644 patterns/generic-webkit.yaml diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ec74ec4 --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +# ex: set tabstop=4 noexpandtab: +VERSION = $(shell cat VERSION) +NAME=meta-generic +TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/") +DESTDIR= +ARCH=i586 + +ifeq ($(VERSION), $(TAGVER)) + TAG = $(TAGVER) +else + TAG = "HEAD" +endif + +all: + +install: + install -d ${DESTDIR}/usr/share/package-groups/generic + install -m 644 patterns/*.yaml ${DESTDIR}/usr/share/package-groups/generic + +test: + merge-patterns -o output/ -p patterns -s + +tag: + git tag -a $(VERSION) -m "$(VERSION)" + git push --tags + +changelog: + python ./scripts/gitlog2changelog.py + + +dist-bz2: + git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \ + bzip2 > $(NAME)-$(VERSION).tar.bz2 + +dist-gz: + git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \ + gzip > $(NAME)-$(VERSION).tar.gz + +dist: dist-bz2 + +clean: + rm -rf patterns.xml INDEX.xml group.xml *.xml diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..5325a8d --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +001 diff --git a/packaging/meta-generic.manifest b/packaging/meta-generic.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/meta-generic.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/meta-generic.spec b/packaging/meta-generic.spec new file mode 100644 index 0000000..697e05b --- /dev/null +++ b/packaging/meta-generic.spec @@ -0,0 +1,27 @@ +Summary: Tizen Package Groups and Images Configurations +Name: meta-generic +Version: 0 +Release: 1 +License: GPL-2.0 +Group: Base/Configuration +URL: http://www.tizen.org +Source: %{name}-%{version}.tar.bz2 +Source1001: meta-generic.manifest + +%description +Tizen Package Groups and Image Configurations for Base OS + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +make + +%install +%make_install + + +%files +%manifest %{name}.manifest +/usr/share/package-groups/generic/*.yaml diff --git a/packaging/rpmlintrc b/packaging/rpmlintrc new file mode 100644 index 0000000..a785645 --- /dev/null +++ b/packaging/rpmlintrc @@ -0,0 +1,3 @@ +# suppress warnings about shebangs not present in scripts + +addFilter("script-without-shebang") diff --git a/patterns/generic-adaptation.yaml b/patterns/generic-adaptation.yaml new file mode 100644 index 0000000..f59df02 --- /dev/null +++ b/patterns/generic-adaptation.yaml @@ -0,0 +1,5 @@ +Summary: Generic Adaptation +Description: Generic Adaptation +Name: generic-adaptation +Packages: +- linux-firmware diff --git a/patterns/generic-applications.yaml b/patterns/generic-applications.yaml new file mode 100644 index 0000000..a7b2cc8 --- /dev/null +++ b/patterns/generic-applications.yaml @@ -0,0 +1,7 @@ +Summary: Generic Applications +Description: Generic Applications +Name: generic-applications +Packages: +- ail +- ca-certificates +- ca-certificates-mozilla diff --git a/patterns/generic-autoqa.yaml b/patterns/generic-autoqa.yaml new file mode 100644 index 0000000..4330b72 --- /dev/null +++ b/patterns/generic-autoqa.yaml @@ -0,0 +1,7 @@ +Summary: Generic Automated QA Tools +Description: Generic Automated QA Tools +Name: generic-autoqa +Packages: +- testkit-lite +- screen +- which diff --git a/patterns/generic-base-micro.yaml b/patterns/generic-base-micro.yaml new file mode 100644 index 0000000..754fd59 --- /dev/null +++ b/patterns/generic-base-micro.yaml @@ -0,0 +1,17 @@ +Summary: Generic Base Micro +Description: Generic Base Micro +Name: generic-base-micro +Packages: +- bluez +- kmod +- tzdata +- pam +- setup +- filesystem +- systemd +- busybox +- default-ac-domains +- tizen-release +- glibc-locale +- pciutils +- lrzsz diff --git a/patterns/generic-base.yaml b/patterns/generic-base.yaml new file mode 100644 index 0000000..6090af5 --- /dev/null +++ b/patterns/generic-base.yaml @@ -0,0 +1,32 @@ +Summary: Generic Base +Description: Generic Base +Name: generic-base +Packages: +- e2fsprogs +- connman +- rfkill +- util-linux +- kmod-compat +- kmod +- tzdata +- pwdutils +- pam +- setup +- filesystem +- systemd +- bash +- coreutils +- rpm +- rpm-security-plugin +- default-ac-domains +- tizen-release +- pam-locale +- procps +- psmisc +- net-tools +- kbd +- glibc-locale +- pciutils +- default-ac-domains +- wpa_supplicant +- prelink diff --git a/patterns/generic-bluetooth.yaml b/patterns/generic-bluetooth.yaml new file mode 100644 index 0000000..61012ba --- /dev/null +++ b/patterns/generic-bluetooth.yaml @@ -0,0 +1,9 @@ +Summary: Generic Bluetooth +Description: Generic Bluetooth +Name: generic-bluetooth +Packages: +- bluez +- bluetooth-frwk-core +- bluetooth-frwk-service +- bluetooth-share +- bluetooth-tools-no-firmware diff --git a/patterns/generic-console-tools.yaml b/patterns/generic-console-tools.yaml new file mode 100644 index 0000000..552cac2 --- /dev/null +++ b/patterns/generic-console-tools.yaml @@ -0,0 +1,30 @@ +Summary: Generic Console Tools +Description: Generic Console Tools +Name: generic-console-tools +Packages: +- snapper-zypp-plugin +- tar +- wget +- grep +- gzip +- openssh +- rsync +- parted +- zip +- vim +- unzip +- less +- xz +- nano +- curl +- strace +- diffutils +- patch +- findutils +- wdiff +- powertop +- sudo +- ca-certificates-mozilla +- iptables +- tree +- intel-gpu-tools diff --git a/patterns/generic-crosswalk.yaml b/patterns/generic-crosswalk.yaml new file mode 100644 index 0000000..e391a87 --- /dev/null +++ b/patterns/generic-crosswalk.yaml @@ -0,0 +1,8 @@ +Summary: Generic Crosswalk +Description: Generic Crosswalk +Name: generic-crosswalk +Packages: +- crosswalk +- tizen-extensions-crosswalk +- wrt-widgets + diff --git a/patterns/generic-desktop-applications.yaml b/patterns/generic-desktop-applications.yaml new file mode 100644 index 0000000..fc8a1e9 --- /dev/null +++ b/patterns/generic-desktop-applications.yaml @@ -0,0 +1,9 @@ +Summary: Generic Desktop Applications +Description: Generic Desktop Applications +Name: generic-desktop-applications +Packages: +- emotion +#- econnman +#- bluetooth-agent +- net-config +- org.tizen.calculator diff --git a/patterns/generic-development.yaml b/patterns/generic-development.yaml new file mode 100644 index 0000000..1259a12 --- /dev/null +++ b/patterns/generic-development.yaml @@ -0,0 +1,49 @@ +Summary: Generic Development +Description: Generic Development +Name: generic-development +Packages: +- zip +- unzip +- less +- gcc +- glibc-devel +- libtool +- gcc-fortran +- cmake +- xz +- tcl +- gdb +- gdb-server +- nano +- strace +- yasm +- make +- diffutils +- patch +- autoconf +- automake +- binutils-devel +- bison +- flex +- gcc-c++ +- libstdc++-devel +- libtool +- findutils +- wdiff +- nasm +- vim-enhanced +- powertop +- pulseaudio-utils +- gstreamer-utils +- alsa-utils +- connman-test +- pacrunner +- git-core +- valgrind +- lsof +- attr +- smack +- corewatcher +- iputils +- iproute2 +- which diff --git a/patterns/generic-middleware.yaml b/patterns/generic-middleware.yaml new file mode 100644 index 0000000..7aa7b6e --- /dev/null +++ b/patterns/generic-middleware.yaml @@ -0,0 +1,17 @@ +Summary: Generic Middleware +Description: Generic Middleware +Name: generic-middleware +Packages: +- calendar-service +- csr-framework +- elm-misc +- efl-theme-tizen-hd +- evolution-data-server +- libprivilege-control-conf +- model-config-generic +- neard +- neardal +- obexd +- ofono +- pkgmgr-server +- sqlite3 diff --git a/patterns/generic-multimedia.yaml b/patterns/generic-multimedia.yaml new file mode 100644 index 0000000..b4388b4 --- /dev/null +++ b/patterns/generic-multimedia.yaml @@ -0,0 +1,20 @@ +Summary: Generic Multimedia +Description: Generic Multimedia +Name: generic-multimedia +Packages: +- alsa-utils +- alsa-plugins-pulse +- pulseaudio +- pulseaudio-config +- pulseaudio-locale +- pulseaudio-module-bluetooth +- pulseaudio-utils +- gst-libav +- gst-plugins-bad +- gst-plugins-base +- gst-plugins-good +- gstreamer +- gstreamer-vaapi +- gstreamer-utils +- libva-intel-driver +- vaapi-tools diff --git a/patterns/generic-packaging.yaml b/patterns/generic-packaging.yaml new file mode 100644 index 0000000..427f3f2 --- /dev/null +++ b/patterns/generic-packaging.yaml @@ -0,0 +1,6 @@ +Summary: Generic Packaging +Description: Generic Packaging +Name: generic-packaging +Packages: +- gpg2 +- zypper diff --git a/patterns/generic-qa.yaml b/patterns/generic-qa.yaml new file mode 100644 index 0000000..69e039c --- /dev/null +++ b/patterns/generic-qa.yaml @@ -0,0 +1,15 @@ +Summary: Generic QA Tools +Description: Generic QA Tools +Name: generic-qa +Packages: +- bluez-test +- connman-test +- dbus-python +- dlogutil +- eet-tools +- gdb +- gstreamer-utils +- neard-test +- ofono-test +- python-xml +- wget diff --git a/patterns/generic-qt5.yaml b/patterns/generic-qt5.yaml new file mode 100644 index 0000000..e52d061 --- /dev/null +++ b/patterns/generic-qt5.yaml @@ -0,0 +1,6 @@ +Summary: Generic Qt5 +Description: Generic Qt5 +Name: generic-qt5 +Packages: +- qt5-tools +- qt5-qtdeclarative-examples diff --git a/patterns/generic-wayland.yaml b/patterns/generic-wayland.yaml new file mode 100644 index 0000000..908b3f7 --- /dev/null +++ b/patterns/generic-wayland.yaml @@ -0,0 +1,13 @@ +Summary: Generic Wayland +Description: Generic Wayland +Name: generic-wayland +Packages: +- cantarell-fonts +- dejavu-fonts +- weston +- weston-clients +- mesa +- xkeyboard-config +- tizen-branding-default +- user-session-units +- desktop-skin diff --git a/patterns/generic-webkit.yaml b/patterns/generic-webkit.yaml new file mode 100644 index 0000000..25950ab --- /dev/null +++ b/patterns/generic-webkit.yaml @@ -0,0 +1,17 @@ +Summary: Generic Webkit +Description: Generic Webkit +Name: generic-webkit +Packages: +- wrt-widgets +- wrt +- wrt-commons +- wrt-installer +- wrt-installer-preinstall-service +- wrt-plugins-tizen +- wrt-security +- webkit2-efl-test +- web-ui-fw +- web-ui-fw-demo-tizen-winsets +- web-ui-fw-theme-default +- web-ui-fw-theme-tizen-black +- web-ui-fw-theme-tizen-white -- 2.7.4