[arch-commits] Commit in lxqt-panel/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 29 21:15:17 UTC 2018
Date: Thursday, November 29, 2018 @ 21:15:16
Author: arojas
Revision: 410568
archrelease: copy trunk to community-staging-x86_64
Added:
lxqt-panel/repos/community-staging-x86_64/
lxqt-panel/repos/community-staging-x86_64/PKGBUILD
(from rev 410567, lxqt-panel/trunk/PKGBUILD)
lxqt-panel/repos/community-staging-x86_64/fix-build.patch
(from rev 410567, lxqt-panel/trunk/fix-build.patch)
-----------------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
fix-build.patch | 32 ++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
Copied: lxqt-panel/repos/community-staging-x86_64/PKGBUILD (from rev 410567, lxqt-panel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-29 21:15:16 UTC (rev 410568)
@@ -0,0 +1,51 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=lxqt-panel
+pkgver=0.13.0
+pkgrel=3
+pkgdesc="The LXQt desktop panel"
+arch=("x86_64")
+groups=("lxqt")
+url="http://lxqt.org"
+license=("LGPL2.1")
+depends=(
+ "libdbusmenu-qt5" "libxcomposite" "lxmenu-data"
+ "lxqt-globalkeys" "solid" "libxcb"
+)
+optdepends=(
+ "libpulse: Volume control plugin"
+ "libstatgrab: CPU monitor and Network monitor plugins"
+ "libsysstat: System Statistics plugin"
+ "lm_sensors: Sensors plugin"
+)
+makedepends=(
+ "lxqt-build-tools" "liblxqt" "libpulse" "libstatgrab" "libsysstat"
+ "lm_sensors" "libxdamage"
+)
+source=(
+ "https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+ "https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
+)
+sha256sums=(
+ "a139dc43d19adf6b7674e7ad518772aebf033aefcb1767b05085d983ff8b2ae3"
+ "SKIP"
+)
+validpgpkeys=(
+ "169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <jerome at leclan.ch>
+ "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida <agaida at siduction.org>
+)
+
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ }
Copied: lxqt-panel/repos/community-staging-x86_64/fix-build.patch (from rev 410567, lxqt-panel/trunk/fix-build.patch)
===================================================================
--- community-staging-x86_64/fix-build.patch (rev 0)
+++ community-staging-x86_64/fix-build.patch 2018-11-29 21:15:16 UTC (rev 410568)
@@ -0,0 +1,32 @@
+From ec62109e0fa678875a9b10fc6f1975267432712d Mon Sep 17 00:00:00 2001
+From: Palo Kisa <palo.kisa at gmail.com>
+Date: Mon, 30 Jan 2017 12:21:10 +0100
+Subject: [PATCH] plugin-kbindicator: Undef the "explicit" workaround
+
+..after include and add explanation of the workaround.
+
+closes lxde/lxqt#1251
+---
+ plugin-kbindicator/src/x11/kbdlayout.cpp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/plugin-kbindicator/src/x11/kbdlayout.cpp b/plugin-kbindicator/src/x11/kbdlayout.cpp
+index c4aa4e2..883df07 100644
+--- a/plugin-kbindicator/src/x11/kbdlayout.cpp
++++ b/plugin-kbindicator/src/x11/kbdlayout.cpp
+@@ -33,8 +33,15 @@
+
+ #include <xkbcommon/xkbcommon-x11.h>
+ #include <xcb/xcb.h>
++
++// Note: We need to override "explicit" as this is a C++ keyword. But it is
++// used as variable name in xkb.h. This is causing a failure in C++ compile
++// time.
++// Similar bug here: https://bugs.freedesktop.org/show_bug.cgi?id=74080
+ #define explicit _explicit
+ #include <xcb/xkb.h>
++#undef explicit
++
+ #include "../kbdinfo.h"
+ #include "../controls.h"
+
More information about the arch-commits
mailing list