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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Nov 21 22:11:39 UTC 2021


    Date: Sunday, November 21, 2021 @ 22:11:39
  Author: foutrelis
Revision: 1054056

archrelease: copy trunk to community-staging-x86_64

Added:
  slop/repos/community-staging-x86_64/
  slop/repos/community-staging-x86_64/PKGBUILD
    (from rev 1054055, slop/trunk/PKGBUILD)
  slop/repos/community-staging-x86_64/bugfix-add-missed-header.patch
    (from rev 1054055, slop/trunk/bugfix-add-missed-header.patch)

--------------------------------+
 PKGBUILD                       |   32 ++++++++++++++++++++++++++++++++
 bugfix-add-missed-header.patch |   22 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

Copied: slop/repos/community-staging-x86_64/PKGBUILD (from rev 1054055, slop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-21 22:11:39 UTC (rev 1054056)
@@ -0,0 +1,32 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: naelstrof <naelstrof at gmail.com>
+
+pkgname=slop
+pkgver=7.5
+pkgrel=6
+pkgdesc='Utility to query the user for a selection and print the region to stdout'
+arch=('x86_64')
+url='https://github.com/naelstrof/slop'
+license=('GPL3')
+depends=('libxext' 'libx11' 'mesa' 'glew' 'libxrender')
+makedepends=('cmake' 'glm')
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v${pkgver}.tar.gz"
+        bugfix-add-missed-header.patch)
+md5sums=('d8ba3c332f801f19c2bd66014d79e988'
+         'f2bb3f2760b8a128b13db80e1ee1377c')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+	patch -Np1 -i ../bugfix-add-missed-header.patch
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+	make
+}
+
+package() {
+	make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}

Copied: slop/repos/community-staging-x86_64/bugfix-add-missed-header.patch (from rev 1054055, slop/trunk/bugfix-add-missed-header.patch)
===================================================================
--- community-staging-x86_64/bugfix-add-missed-header.patch	                        (rev 0)
+++ community-staging-x86_64/bugfix-add-missed-header.patch	2021-11-21 22:11:39 UTC (rev 1054056)
@@ -0,0 +1,22 @@
+From 5cbcb9e389a02d6288f90a790c6b547d9f9dcac7 Mon Sep 17 00:00:00 2001
+From: Drunkard Zhang <gongfan193 at gmail.com>
+Date: Tue, 28 Sep 2021 12:20:25 +0800
+Subject: [PATCH] bugfix: add missed header
+
+XDestroyImage is included in <X11/Xutil.h> which belongs to libX11.
+Build fails without include this header on Gentoo.
+
+Signed-off-by: Drunkard Zhang <gongfan193 at gmail.com>
+---
+ src/framebuffer.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/framebuffer.cpp b/src/framebuffer.cpp
+index 20909b3..da85a25 100644
+--- a/src/framebuffer.cpp
++++ b/src/framebuffer.cpp
+@@ -1,3 +1,4 @@
++#include <X11/Xutil.h>
+ #include "framebuffer.hpp"
+ 
+ slop::Framebuffer::Framebuffer( int w, int h ) {



More information about the arch-commits mailing list