diff options
author | Ossama Othman <ossama.othman@intel.com> | 2013-09-09 10:07:04 -0700 |
---|---|---|
committer | Ossama Othman <ossama.othman@intel.com> | 2013-09-09 10:29:14 -0700 |
commit | f63fc9ea68dd86ad76cc3ed7c234e9552f3c0fec (patch) | |
tree | 8b1d3402a5ca2f952c19f49637e3ffe96e9111a4 | |
parent | 5824af080d2477580832da990610b54fecb0710b (diff) | |
download | weston-f63fc9ea68dd86ad76cc3ed7c234e9552f3c0fec.tar.gz weston-f63fc9ea68dd86ad76cc3ed7c234e9552f3c0fec.tar.bz2 weston-f63fc9ea68dd86ad76cc3ed7c234e9552f3c0fec.zip |
Add Tizen IVI weston packaging files.
Change-Id: Iad0c28ee4f32d33133d649e1728503a5d32d0a79
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
-rw-r--r-- | .gbs.conf | 3 | ||||
-rw-r--r-- | packaging/99-chelong-quirk.rules | 1 | ||||
-rwxr-xr-x | packaging/browser | 3 | ||||
-rw-r--r-- | packaging/browser.png | bin | 0 -> 36541 bytes | |||
-rw-r--r-- | packaging/browser.xml | 11 | ||||
-rw-r--r-- | packaging/terminal.xml | 11 | ||||
-rw-r--r-- | packaging/weston.changes | 57 | ||||
-rw-r--r-- | packaging/weston.manifest | 5 | ||||
-rw-r--r-- | packaging/weston.service | 9 | ||||
-rw-r--r-- | packaging/weston.sh | 2 | ||||
-rw-r--r-- | packaging/weston.spec | 184 | ||||
-rw-r--r-- | packaging/weston.target | 5 |
12 files changed, 291 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 00000000..fa9fdc59 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = ${upstreamversion} diff --git a/packaging/99-chelong-quirk.rules b/packaging/99-chelong-quirk.rules new file mode 100644 index 00000000..f49872b1 --- /dev/null +++ b/packaging/99-chelong-quirk.rules @@ -0,0 +1 @@ +ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0001", ENV{WL_QUIRK_SWAP_XAXIS}="yes", ENV{WL_CALIBRATION}="1.082211 0.009764 -34.880516 -0.019346 1.154713 -38.660500" diff --git a/packaging/browser b/packaging/browser new file mode 100755 index 00000000..1c2bbe8a --- /dev/null +++ b/packaging/browser @@ -0,0 +1,3 @@ +#!/bin/bash + +exec /usr/bin/MiniBrowser http://www.google.com diff --git a/packaging/browser.png b/packaging/browser.png Binary files differnew file mode 100644 index 00000000..79e45989 --- /dev/null +++ b/packaging/browser.png diff --git a/packaging/browser.xml b/packaging/browser.xml new file mode 100644 index 00000000..74d92ff4 --- /dev/null +++ b/packaging/browser.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns="http://tizen.org/ns/packages" package="browser" version="0.1.3" install-location="internal-only"> + <label>Browser</label> + <description>Sample Webkit Browser</description> + <ui-application appid="browser" exec="/usr/bin/browser" nodisplay="false" multiple="false" type="capp" taskmanage="true"> + <icon>browser.png</icon> + <label>Browser</label> + <label xml:lang="en-gb">Browser</label> + <label xml:lang="en-us">Browser</label> + </ui-application> +</manifest> diff --git a/packaging/terminal.xml b/packaging/terminal.xml new file mode 100644 index 00000000..00c55613 --- /dev/null +++ b/packaging/terminal.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns="http://tizen.org/ns/packages" package="terminal" version="0.1.3" install-location="internal-only"> + <label>terminal</label> + <description>weston terminal</description> + <ui-application appid="terminal" exec="/usr/bin/weston-terminal" nodisplay="false" multiple="false" type="capp" taskmanage="true"> + <icon>terminal.png</icon> + <label>Terminal</label> + <label xml:lang="en-gb">Terminal</label> + <label xml:lang="en-us">Terminal</label> + </ui-application> +</manifest> diff --git a/packaging/weston.changes b/packaging/weston.changes new file mode 100644 index 00000000..20009195 --- /dev/null +++ b/packaging/weston.changes @@ -0,0 +1,57 @@ +* Wed Aug 28 2013 Ossama Othman <ossama.othman@intel.com> submit/tizen/20130823.165548@163279b +- evdev: Initliaze device->link so we can wl_list_remove() without crashing +- Fix TIVI-1679 + +* Thu Aug 22 2013 Ossama Othman <ossama.othman@intel.com> 1.2.0@56c32bd +- Update to 1.2.1 + +* Thu Aug 01 2013 Ossama Othman <ossama.othman@intel.com> submit/tizen/20130726.203035@2a224be +- Add initial touch support to clients. + +* Fri Jul 26 2013 Rusty Lynch <rusty.lynch@intel.com> submit/tizen/20130725.223721@872ba32 +- Add calibration values for chelong display + +* Thu Jul 25 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130719.063456@cd5293b +- TIVI-1086: Fix handling of touch device +- Add a new clients subpackage + +* Wed Jul 24 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130719.063456@a7bec7a +- Add a new clients subpackage + +* Tue Jul 16 2013 Ossama Othman <ossama.othman@intel.com> 1.2.0@1427ac4 +- Update to 1.2.0 + +* Thu Jun 27 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130627.155212@597c6fc +- TIVI-1063: Disable lockscreen + +* Wed Jun 26 2013 Rusty Lynch <rusty.lynch@intel.com> submit/tizen/20130624.224834@a4a42d8 +- Add tizen environment file + +* Mon Jun 24 2013 Rusty Lynch <rusty.lynch@intel.com> submit/tizen/20130620.235949@109d186 +- Add udev rule to quirk the touchscreen on Chelong +- compositor-drm: Add quirk loading from udev +- evdev: Add support for device quirks and implement axes swapping + +* Thu Jun 20 2013 Rusty Lynch <rusty.lynch@intel.com> 1.1.1@f7089fb +- weston-launch: Run weston in the user login shell +- weston-launch: Don't exit on SIGTERM +- Update to 1.1.1 + +* Wed Jun 05 2013 Rusty Lynch <rusty.lynch@intel.com> 1.1.0@9d774db +- Update to 1.1.0 + +* Thu Apr 11 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130411.235236@639026a +- Also package devel sub-package for header files + +* Thu Apr 11 2013 Anas Nashif <anas.nashif@intel.com> 1.0.6@aa865ba +- Update to 1.0.6 + +* Wed Feb 13 2013 Anas Nashif <anas.nashif@intel.com> 1.0.4@d32e140 +- Update to 1.0.4 + +* Mon Dec 17 2012 Anas Nashif <anas.nashif@intel.com> 1.0.3@85b1093 +- Update to 1.0.3 + +* Fri Nov 30 2012 Anas Nashif <anas.nashif@intel.com> 57b751b +- Update to 1.0.2 + diff --git a/packaging/weston.manifest b/packaging/weston.manifest new file mode 100644 index 00000000..017d22d3 --- /dev/null +++ b/packaging/weston.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/weston.service b/packaging/weston.service new file mode 100644 index 00000000..229e0510 --- /dev/null +++ b/packaging/weston.service @@ -0,0 +1,9 @@ +[Unit] +Description=Weston +Requires=dbus.socket + +[Service] +ExecStart=/usr/bin/weston-launch -- -i0 + +[Install] +WantedBy=weston.target diff --git a/packaging/weston.sh b/packaging/weston.sh new file mode 100644 index 00000000..0e6a60b4 --- /dev/null +++ b/packaging/weston.sh @@ -0,0 +1,2 @@ +export ELM_ENGINE=wayland_egl +export ECORE_EVAS_ENGINE=wayland_egl diff --git a/packaging/weston.spec b/packaging/weston.spec new file mode 100644 index 00000000..5e6c868d --- /dev/null +++ b/packaging/weston.spec @@ -0,0 +1,184 @@ +%define _unitdir_user /usr/lib/systemd/user + +Name: weston +Version: 1.2.2 +Release: 0 +Summary: Wayland Compositor Infrastructure +License: MIT +Group: Graphics & UI Framework/Wayland Window System +Url: http://weston.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/wayland/weston +#Git-Web: http://cgit.freedesktop.org/wayland/weston/ +Source0: %name-%version.tar.xz +Source1: weston.service +Source2: weston.target +Source3: 99-chelong-quirk.rules +Source4: weston.sh +Source5: terminal.xml +Source6: browser.xml +Source7: browser.png +Source8: browser +Source1001: weston.manifest +BuildRequires: autoconf >= 2.64, automake >= 1.11 +BuildRequires: expat-devel +BuildRequires: libjpeg-devel +BuildRequires: libtool >= 2.2 +BuildRequires: libvpx-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig +BuildRequires: xz +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(cairo-egl) >= 1.11.3 +BuildRequires: pkgconfig(cairo-xcb) +BuildRequires: pkgconfig(egl) >= 7.10 +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(glesv2) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(libdrm) >= 2.4.30 +BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(libsystemd-login) +BuildRequires: pkgconfig(libudev) >= 136 +BuildRequires: pkgconfig(mtdev) >= 1.1.0 +BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(poppler-glib) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(xkbcommon) >= 0.0.578 +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-xfixes) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(glu) >= 9.0.0 +Requires(pre): /usr/sbin/groupadd +Requires(post): /usr/bin/pkg_initdb + +%description +Weston is the reference implementation of a Wayland compositor, and a +useful compositor in its own right. Weston has various backends that +lets it run on Linux kernel modesetting and evdev input as well as +under X11. Weston ships with a few example clients, from simple +clients that demonstrate certain aspects of the protocol to more +complete clients and a simplistic toolkit. There is also a quite +capable terminal emulator (weston-terminal) and an toy/example +desktop shell. Finally, weston also provides integration with the +Xorg server and can pull X clients into the Wayland desktop and act +as a X window manager. + + +%package devel +Summary: Development files for package %{name} +Group: Graphics & UI Framework/Development +%description devel +This package provides header files and other developer releated files for package %{name}. + +%package clients +Summary: Sample clients for package %{name} +Group: Graphics & UI Framework/Development +%description clients +This package provides a set of example wayland clients useful for validating the functionality of wayland +with very little dependencies on other system components + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%autogen --disable-static --disable-setuid-install --enable-simple-clients --enable-clients --disable-libunwind +make %{?_smp_mflags}; + +%install +%make_install + +# install tizen package metadata for weston-terminal +mkdir -p %{buildroot}%{_datadir}/packages/ +mkdir -p %{buildroot}%{_datadir}/icons/default/small +install -m 0644 %{SOURCE5} %{buildroot}%{_datadir}/packages/terminal.xml +ln -sf %{_datadir}/weston/terminal.png %{buildroot}%{_datadir}/icons/default/small/ + +# install browser package metadata for MiniBrowser +install -m 0644 %{SOURCE6} %{buildroot}%{_datadir}/packages/browser.xml +cp %{SOURCE7} %{buildroot}%{_datadir}/icons/default/small/ +install -m 755 %{SOURCE8} %{buildroot}%{_bindir}/browser + +# install example clients +install -m 755 clients/weston-simple-touch %{buildroot}%{_bindir} +install -m 755 clients/weston-simple-shm %{buildroot}%{_bindir} +install -m 755 clients/weston-simple-egl %{buildroot}%{_bindir} +install -m 755 clients/weston-flower %{buildroot}%{_bindir} +install -m 755 clients/weston-image %{buildroot}%{_bindir} +install -m 755 clients/weston-cliptest %{buildroot}%{_bindir} +install -m 755 clients/weston-dnd %{buildroot}%{_bindir} +install -m 755 clients/weston-smoke %{buildroot}%{_bindir} +install -m 755 clients/weston-resizor %{buildroot}%{_bindir} +install -m 755 clients/weston-eventdemo %{buildroot}%{_bindir} +install -m 755 clients/weston-clickdot %{buildroot}%{_bindir} +install -m 755 clients/weston-transformed %{buildroot}%{_bindir} +install -m 755 clients/weston-fullscreen %{buildroot}%{_bindir} +install -m 755 clients/weston-calibrator %{buildroot}%{_bindir} + +install -d %{buildroot}/%{_unitdir_user}/weston.target.wants +install -m 644 %{SOURCE1} %{buildroot}%{_unitdir_user}/weston.service +install -m 644 %{SOURCE2} %{buildroot}%{_unitdir_user}/weston.target +ln -sf ../weston.service %{buildroot}/%{_unitdir_user}/weston.target.wants/ + +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/ +install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/ + +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/ +install -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/ + +%pre +getent group weston-launch >/dev/null || %{_sbindir}/groupadd -o -r weston-launch + +%post +/usr/bin/pkg_initdb + +%docs_package + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%_bindir/wcap-* +%_bindir/weston +%_bindir/weston-info +%_bindir/browser +%attr(4755,root,root) %{_bindir}/weston-launch +%{_bindir}/weston-terminal +%_libexecdir/weston-* +%_libdir/weston +%_datadir/weston +%{_unitdir_user}/weston.service +%{_unitdir_user}/weston.target +%{_unitdir_user}/weston.target.wants/weston.service +%{_sysconfdir}/udev/rules.d/99-chelong-quirk.rules +%{_sysconfdir}/profile.d/* +%{_datadir}/packages/*.xml +%{_datadir}/icons/default/small/*.png + +%files devel +%manifest %{name}.manifest +%_includedir/weston/*.h +%_libdir/pkgconfig/*.pc + +%files clients +%manifest %{name}.manifest +%_bindir/weston-simple-touch +%_bindir/weston-simple-shm +%_bindir/weston-simple-egl +%_bindir/weston-flower +%_bindir/weston-image +%_bindir/weston-cliptest +%_bindir/weston-dnd +%_bindir/weston-smoke +%_bindir/weston-resizor +%_bindir/weston-eventdemo +%_bindir/weston-clickdot +%_bindir/weston-transformed +%_bindir/weston-fullscreen +%_bindir/weston-calibrator + +%changelog diff --git a/packaging/weston.target b/packaging/weston.target new file mode 100644 index 00000000..27170474 --- /dev/null +++ b/packaging/weston.target @@ -0,0 +1,5 @@ + +[Unit] +Description=Weston Compositor +Requires=dbus.socket +AllowIsolate=true |