commit ef72224b410c0d85a6470f5efc6adf52dd01699a34c39d5be2ae4b1d288d01b9 Author: Jan Engelhardt Date: Mon Jul 9 15:18:36 2012 +0000 Accepting request 127424 from home:jengelh:wayland OBS-URL: https://build.opensuse.org/request/show/127424 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/0001-wcap-snapshot-add-return-value.patch b/0001-wcap-snapshot-add-return-value.patch new file mode 100644 index 0000000..cbee1ea --- /dev/null +++ b/0001-wcap-snapshot-add-return-value.patch @@ -0,0 +1,23 @@ +From c0fa6b98280419d041d930793b859939973aa5a2 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Mon, 9 Jul 2012 17:11:57 +0200 +Subject: [PATCH] wcap-snapshot: add return value + +Distro build with rpmlint aborts due to missing exit status. +--- + wcap/wcap-snapshot.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/wcap/wcap-snapshot.c b/wcap/wcap-snapshot.c +index 660a027..01df7a2 100644 +--- a/wcap/wcap-snapshot.c ++++ b/wcap/wcap-snapshot.c +@@ -80,4 +80,5 @@ int main(int argc, char *argv[]) + decoder->width, decoder->height, i); + + wcap_decoder_destroy(decoder); ++ return EXIT_SUCCESS; + } +-- +1.7.7 + diff --git a/weston-0.94.90.tar.xz b/weston-0.94.90.tar.xz new file mode 100644 index 0000000..e7aeec8 --- /dev/null +++ b/weston-0.94.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:306bb82b65e33b95b78e745e0e971d9007d4bc2ca955d68c7ad7c1b71c7393c2 +size 550564 diff --git a/weston.spec b/weston.spec new file mode 100644 index 0000000..2e7ebec --- /dev/null +++ b/weston.spec @@ -0,0 +1,87 @@ +# +# spec file for package weston +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: weston +%define lname libweston0 +Version: 0.94.90 +Release: 0 +Summary: Wayland Compositor Infrastructure +License: MIT +Group: Development/Libraries/C and C++ +Url: http://weston.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/wayland/weston +#Git-Web: http://cgit.freedesktop.org/wayland/weston/ +Source: %name-%version.tar.xz +Patch1: 0001-wcap-snapshot-add-return-value.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#git#BuildRequires: autoconf >= 2.64, automake >= 1.11 +BuildRequires: gcc-c++ +BuildRequires: libexpat-devel +BuildRequires: libjpeg62-devel +BuildRequires: libtool >= 2.2 +BuildRequires: libvpx-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig +BuildRequires: rsvg-view +BuildRequires: xz +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(egl) >= 7.10 +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(glesv2) +BuildRequires: pkgconfig(libdrm) >= 2.4.30 +BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(libudev) >= 136 +BuildRequires: pkgconfig(mtdev) >= 1.1.0 +BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(xkbcommon) >= 0.0.578 + +%description + +%package devel +Summary: Development files for the Wayland Compositor Infrastructure +Group: Development/Libraries/C and C++ +Requires: libweston-client0 = %version +Requires: libweston-server0 = %version + +%description devel + +%prep +%setup -q +%patch -P 1 -p1 + +%build +%configure --disable-static --disable-setuid-install +make %{?_smp_mflags}; + +%install +make install DESTDIR="%buildroot"; +rm -f "%buildroot/%_libdir"/*.la "%buildroot/%_libdir/weston"/*.la; + +%files +%defattr(-,root,root) +%_bindir/wcap-* +%_bindir/weston* +%_libexecdir/weston-* +%_libdir/weston +%_datadir/weston + +%changelog