[arch-commits] Commit in ukwm/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Dec 24 18:01:36 UTC 2019


    Date: Tuesday, December 24, 2019 @ 18:01:36
  Author: felixonmars
Revision: 539995

archrelease: copy trunk to community-x86_64

Added:
  ukwm/repos/community-x86_64/
  ukwm/repos/community-x86_64/0001-Fix-building-with-libglvnd-1.2.0.patch
    (from rev 539994, ukwm/trunk/0001-Fix-building-with-libglvnd-1.2.0.patch)
  ukwm/repos/community-x86_64/PKGBUILD
    (from rev 539994, ukwm/trunk/PKGBUILD)

---------------------------------------------+
 0001-Fix-building-with-libglvnd-1.2.0.patch |   36 ++++++++++++++++++++++++++
 PKGBUILD                                    |   35 +++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: ukwm/repos/community-x86_64/0001-Fix-building-with-libglvnd-1.2.0.patch (from rev 539994, ukwm/trunk/0001-Fix-building-with-libglvnd-1.2.0.patch)
===================================================================
--- community-x86_64/0001-Fix-building-with-libglvnd-1.2.0.patch	                        (rev 0)
+++ community-x86_64/0001-Fix-building-with-libglvnd-1.2.0.patch	2019-12-24 18:01:36 UTC (rev 539995)
@@ -0,0 +1,36 @@
+From 08b3f11cb5000540733549288878a6c0ada554e6 Mon Sep 17 00:00:00 2001
+From: Laurent Carlier <lordheavym at gmail.com>
+Date: Fri, 22 Nov 2019 17:51:06 +0100
+Subject: [PATCH] Fix building with libglvnd 1.2.0
+
+Signed-off-by: Laurent Carlier <lordheavym at gmail.com>
+---
+ configure.ac | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 213399f8..988fda67 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1212,7 +1212,7 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
+               [],
+               [AC_MSG_ERROR([Unable to locate required EGL headers])])
+             AC_CHECK_HEADERS(
+-              [EGL/eglext.h],
++              [EGL/eglext.h EGL/eglmesaext.h],
+               [],
+               [AC_MSG_ERROR([Unable to locate required EGL headers])],
+               [#include <EGL/egl.h>])
+@@ -1226,7 +1226,8 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
+           )
+ 
+         COGL_EGL_INCLUDES="#include <EGL/egl.h>
+-#include <EGL/eglext.h>"
++#include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>"
+         AC_SUBST([COGL_EGL_INCLUDES])
+       ])
+ 
+-- 
+2.24.0
+

Copied: ukwm/repos/community-x86_64/PKGBUILD (from rev 539994, ukwm/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-24 18:01:36 UTC (rev 539995)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ukwm
+pkgver=1.1.14
+pkgrel=1
+pkgdesc="A lightweight GTK+ window manager"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukwm"
+groups=('ukui')
+depends=('gnome-desktop' 'gobject-introspection-runtime' 'libinput' 'libxkbcommon-x11' 'ukui-settings-daemon' 'upower')
+makedepends=('gobject-introspection' 'mate-common')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukwm/archive/v$pkgver.tar.gz"
+        0001-Fix-building-with-libglvnd-1.2.0.patch)
+sha512sums=('ce3416d9b2d0616a51665c040db9c71654cbc8c0479aaed3f481d5da8baa97705e0d5de95ea0c904adec35efd0616c38219eee979f869aa9507c872570085fa0'
+            '26f1cb91152c8279162eb43d27964815ebf87c14ecaa486a14b53bd85c4c58f90f1b4fad4c9d72a7ac3feb283d95f19be1fb2a371eee2f93a04b1871aae4343d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -d cogl -p1 -i ../../0001-Fix-building-with-libglvnd-1.2.0.patch
+  NOCONFIGURE=1 ./autogen.sh
+
+  sed -i 's/GETTEXT_MACRO_VERSION = 0.19/GETTEXT_MACRO_VERSION = 0.20/' po/Makefile.in.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --sysconfdir=/etc --enable-introspection --enable-compile-warnings=yes
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list