Update QtWayland to 5.0 beta1 1.0 1.0_branch
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 13 Sep 2012 18:03:15 +0000 (20:03 +0200)
committerThiago Macieira <thiago.macieira@intel.com>
Wed, 19 Sep 2012 09:52:24 +0000 (11:52 +0200)
Change-Id: I46ae451f96f838ed6f8326e53ed37cee4d58eeb1

packaging/qtwayland.changes [new file with mode: 0644]
packaging/qtwayland.spec [new file with mode: 0644]

diff --git a/packaging/qtwayland.changes b/packaging/qtwayland.changes
new file mode 100644 (file)
index 0000000..085c2ed
--- /dev/null
@@ -0,0 +1,19 @@
+* Fri Jul 11 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+754+g0233e65
+- Refreshed changes from upstream master to sync with wayland update
+- Add a temporary workaround for build breakage where QtPlatformSupport.prl is not 
+  being parsed by the new qmake utility
+
+* Tue Jun 19 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+741+ga81e3ca
+- Refreshed changes from upstream master
+  - Decouple application activation from onscreen visibility
+  - Reset keyboard focus when a surface is destroyed
+  - Introduce standard pkg config usage
+  - Map function keys properly
+  - Fix build when QtQuick is not available
+  - Fix output geometry in qwindow compositor
+  - Fix global coordinate translation in clients
+  - Fix broken handling of inactive transient surfaces
+- Adding an experimental changeset to add fullscreen support
+
+* Wed Jun 12 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+729+g2a5d11c 
+- initial packaging using a snapshot from master
diff --git a/packaging/qtwayland.spec b/packaging/qtwayland.spec
new file mode 100644 (file)
index 0000000..25e167f
--- /dev/null
@@ -0,0 +1,60 @@
+Name:           qtwayland
+Version:        5.0.0beta1
+Release:        1
+License:        LGPLv2.1 with exception or GPLv3
+Summary:        Wayland support for Qt5
+Url:            http://qt-project.org/
+Group:          System/Libraries
+Source0:        %{name}-%{version}.tar.bz2
+Requires:       qtbase >= 5.0.0beta1
+
+BuildRequires:  qtbase-devel >= 5.0.0beta1
+BuildRequires:  pkgconfig(QtGui)
+BuildRequires:  pkgconfig(QtPlatformSupport)
+BuildRequires:  gcc-c++
+#BuildRequires:  pkgconfig(QtV8)
+#BuildRequires:  pkgconfig(QtQuick)
+
+# QtWayland dependencies
+BuildRequires:  mesa-libEGL-devel
+BuildRequires:  mesa-libGLESv2-devel
+BuildRequires:  mesa-libgbm
+BuildRequires:  pkgconfig(xkbcommon)
+BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  mesa-libwayland-egl-devel pkgconfig(wayland-egl)
+
+# indirect dependencies via QtPlatformSupport (static library)
+# (its .pc file does not list its dependencies properly):
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(fontconfig)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(glib-2.0)
+
+%description
+Wayland support for Qt5
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+export QTDIR=/usr/share/qt5
+export DESTDIR=%{buildroot}
+
+qmake
+# Build everything, including QtCompositor, otherwise the plugin
+# build fails
+make %{?jobs:-j%jobs}
+
+%install
+# Install only the wayland platform plugin
+# We don't need the QtCompositor library
+cd src/plugins
+%make_install #INSTALL_ROOT="%{buildroot}"
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/qt5/plugins/platforms/*