[arch-commits] Commit in kwayland/trunk (PKGBUILD install-server.patch)

Felix Yan fyan at archlinux.org
Thu Jan 22 17:03:26 UTC 2015


    Date: Thursday, January 22, 2015 @ 18:03:26
  Author: fyan
Revision: 229644

upgpkg: kwayland 5.1.2-2

install KF5WaylandServer

Added:
  kwayland/trunk/install-server.patch
Modified:
  kwayland/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   12 +++++++++---
 install-server.patch |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-22 16:49:49 UTC (rev 229643)
+++ PKGBUILD	2015-01-22 17:03:26 UTC (rev 229644)
@@ -4,7 +4,7 @@
 
 pkgname=kwayland
 pkgver=5.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -11,11 +11,17 @@
 license=('LGPL')
 depends=('qt5-base')
 makedepends=('extra-cmake-modules')
-source=("http://download.kde.org/stable/plasma/${pkgver}/kwayland-$pkgver.tar.xz")
-md5sums=('49a5563621a4d6bd6bfd670903ea34bb')
+source=("http://download.kde.org/stable/plasma/${pkgver}/kwayland-$pkgver.tar.xz"
+        install-server.patch)
+md5sums=('49a5563621a4d6bd6bfd670903ea34bb'
+         'a2d79a0467a0ca8a208753f88f927511')
 
 prepare() {
   mkdir -p build
+
+  cd ${pkgname}-${pkgver}
+  echo "" >> src/server/CMakeLists.txt
+  patch -R -p1 -i ../install-server.patch
 }
 
 build() {

Added: install-server.patch
===================================================================
--- install-server.patch	                        (rev 0)
+++ install-server.patch	2015-01-22 17:03:26 UTC (rev 229644)
@@ -0,0 +1,47 @@
+From: Martin Gräßlin <mgraesslin at kde.org>
+Date: Fri, 19 Sep 2014 07:46:55 +0000
+Subject: Do not install Server library
+X-Git-Tag: v5.0.95
+X-Git-Url: http://quickgit.kde.org/?p=kwayland.git&a=commitdiff&h=789c6729532d83e7677543e04230d9bf6e74d84f
+---
+Do not install Server library
+
+It's not yet used by KWin, so we don't need to expose it yet.
+This gives us more time to fine tune the API.
+---
+
+
+--- a/src/server/CMakeLists.txt
++++ b/src/server/CMakeLists.txt
+@@ -30,17 +30,17 @@
+                                                  EXPORT_NAME WaylandServer
+ )
+ 
+-install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++# install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
++#
++# install(FILES
++#   ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
++#   buffer_interface.h
++#   compositor_interface.h
++#   display.h
++#   output_interface.h
++#   seat_interface.h
++#   shell_interface.h
++#   surface_interface.h
++#   DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
++# )
+ 
+-install(FILES
+-  ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h
+-  buffer_interface.h
+-  compositor_interface.h
+-  display.h
+-  output_interface.h
+-  seat_interface.h
+-  shell_interface.h
+-  surface_interface.h
+-  DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel
+-)
+-
+



More information about the arch-commits mailing list