[arch-commits] Commit in waybar/repos/community-x86_64 (3 files)

Maxim Baz maximbaz at archlinux.org
Mon Aug 10 19:11:08 UTC 2020


    Date: Monday, August 10, 2020 @ 19:11:08
  Author: maximbaz
Revision: 674066

archrelease: copy trunk to community-x86_64

Added:
  waybar/repos/community-x86_64/813-fmt-crash.patch
    (from rev 674065, waybar/trunk/813-fmt-crash.patch)
  waybar/repos/community-x86_64/PKGBUILD
    (from rev 674065, waybar/trunk/PKGBUILD)
Deleted:
  waybar/repos/community-x86_64/PKGBUILD

---------------------+
 813-fmt-crash.patch |   11 +++++
 PKGBUILD            |  108 ++++++++++++++++++++++++++------------------------
 2 files changed, 68 insertions(+), 51 deletions(-)

Copied: waybar/repos/community-x86_64/813-fmt-crash.patch (from rev 674065, waybar/trunk/813-fmt-crash.patch)
===================================================================
--- 813-fmt-crash.patch	                        (rev 0)
+++ 813-fmt-crash.patch	2020-08-10 19:11:08 UTC (rev 674066)
@@ -0,0 +1,11 @@
+--- a/include/util/format.hpp
++++ b/include/util/format.hpp
+@@ -23,7 +23,7 @@ namespace fmt {
+         constexpr auto parse(ParseContext& ctx) -> decltype (ctx.begin()) {
+           auto it = ctx.begin(), end = ctx.end();
+           if (it != end && *it == ':') ++it;
+-          if (*it == '>' || *it == '<' || *it == '=') {
++          if (it && (*it == '>' || *it == '<' || *it == '=')) {
+             spec = *it;
+             ++it;
+           }

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-10 19:11:03 UTC (rev 674065)
+++ PKGBUILD	2020-08-10 19:11:08 UTC (rev 674066)
@@ -1,51 +0,0 @@
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=waybar
-pkgver=0.9.3
-pkgrel=2
-pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors'
-arch=('x86_64')
-url="https://github.com/Alexays/Waybar/"
-license=('MIT')
-depends=(
-    'gtkmm3'
-    'libjsoncpp.so'
-    'libinput'
-    'libsigc++'
-    'fmt'
-    'wayland'
-    'libdate-tz.so'
-    'libspdlog.so'
-    'gtk-layer-shell'
-    'libpulse'
-    'libnl'
-    'libappindicator-gtk3'
-    'libdbusmenu-gtk3'
-    'libmpdclient'
-)
-makedepends=(
-    'cmake'
-    'meson'
-    'scdoc' # For generating manpages
-    'wayland-protocols'
-)
-optdepends=(
-    'otf-font-awesome: Icons in the default configuration'
-)
-source=(
-    "$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz"
-)
-sha256sums=('15cadd05c6a366fd99a92b0f149974c697902c4683c50e2af69f3e59571793e5')
-
-build() {
-    cd "Waybar-$pkgver"
-    meson --prefix=/usr --wrap-mode=nofallback build
-    ninja -C build
-}
-
-package() {
-    cd "Waybar-$pkgver"
-    DESTDIR="$pkgdir" ninja -C build install
-    install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: waybar/repos/community-x86_64/PKGBUILD (from rev 674065, waybar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-10 19:11:08 UTC (rev 674066)
@@ -0,0 +1,57 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=waybar
+pkgver=0.9.3
+pkgrel=3
+pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors'
+arch=('x86_64')
+url="https://github.com/Alexays/Waybar/"
+license=('MIT')
+depends=(
+    'gtkmm3'
+    'libjsoncpp.so'
+    'libinput'
+    'libsigc++'
+    'fmt'
+    'wayland'
+    'libdate-tz.so'
+    'libspdlog.so'
+    'gtk-layer-shell'
+    'libpulse'
+    'libnl'
+    'libappindicator-gtk3'
+    'libdbusmenu-gtk3'
+    'libmpdclient'
+)
+makedepends=(
+    'cmake'
+    'meson'
+    'scdoc' # For generating manpages
+    'wayland-protocols'
+)
+optdepends=(
+    'otf-font-awesome: Icons in the default configuration'
+)
+source=(
+    "$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz"
+    "813-fmt-crash.patch"
+)
+sha256sums=('15cadd05c6a366fd99a92b0f149974c697902c4683c50e2af69f3e59571793e5'
+            '9088cc460005719f2718b40698dfca8a9a2a97cf9a6a018106d9f38cf609732d')
+
+prepare() {
+    patch -Np1 -i "$srcdir/813-fmt-crash.patch" -d "Waybar-$pkgver"
+}
+
+build() {
+    cd "Waybar-$pkgver"
+    meson --prefix=/usr --wrap-mode=nofallback build
+    ninja -C build
+}
+
+package() {
+    cd "Waybar-$pkgver"
+    DESTDIR="$pkgdir" ninja -C build install
+    install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}



More information about the arch-commits mailing list