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
This commit is contained in:
Jan Engelhardt 2012-07-09 15:18:36 +00:00 committed by Git OBS Bridge
commit ef72224b41
5 changed files with 137 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,23 @@
From c0fa6b98280419d041d930793b859939973aa5a2 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
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

3
weston-0.94.90.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:306bb82b65e33b95b78e745e0e971d9007d4bc2ca955d68c7ad7c1b71c7393c2
size 550564

87
weston.spec Normal file
View File

@ -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