Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Waybar: update to 0.9.2
Date: Fri, 15 May 2020 23:16:47 +0200	[thread overview]
Message-ID: <20200515211647.sY_3bPTr8F5Akw8UYBM7DM3O2fXS9_70G-mKwixyxqI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21996@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages waybar
https://github.com/void-linux/void-packages/pull/21996

Waybar: update to 0.9.2
Added dbusmenugtk option as default for all situations. libnl now works
for musl.

@DirectorX are you still using Void/having time to maintain this? I can maintain the package, if you'd like.

A patch file from https://github.com/void-linux/void-packages/pull/21996.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-waybar-21996.patch --]
[-- Type: text/x-diff, Size: 4019 bytes --]

From 3eaf7c13ced99f62dd314fe7fb2b98c756e58696 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Fri, 15 May 2020 17:57:32 -0300
Subject: [PATCH] Waybar: update to 0.9.2, claim maintainer

Added dbusmenugtk option as default for all situations. libnl now works
for musl.

[ci skip]
---
 ...x-building-with-libnl-option-enabled.patch |  8 ----
 srcpkgs/Waybar/template                       | 41 ++++++++++---------
 2 files changed, 21 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch

diff --git a/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch b/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch
deleted file mode 100644
index 91695c00f9a..00000000000
--- a/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/modules/network.cpp
-+++ src/modules/network.cpp
-@@ -2,6 +2,7 @@
- #include <spdlog/spdlog.h>
- #include <sys/eventfd.h>
- #include <fstream>
-+#include <cassert>
- #include "util/format.hpp"
diff --git a/srcpkgs/Waybar/template b/srcpkgs/Waybar/template
index 0e914a24f4e..582528d86fe 100644
--- a/srcpkgs/Waybar/template
+++ b/srcpkgs/Waybar/template
@@ -1,43 +1,44 @@
 # Template file for 'Waybar'
 pkgname=Waybar
-version=0.9.0
+version=0.9.2
 revision=1
 build_style=meson
-configure_args="-Dlibnl=$(vopt_if libnl enabled disabled)
+configure_args="-Dgtk-layer-shell=enabled -Dlibudev=enabled -Dman-pages=enabled
+ -Dsystemd=disabled
+ -Dlibnl=$(vopt_if libnl enabled disabled)
  -Dpulseaudio=$(vopt_if pulseaudio enabled disabled)
  -Ddbusmenu-gtk=$(vopt_if dbusmenugtk enabled disabled)
- -Dsystemd=disabled"
-hostmakedepends="pkg-config glib-devel wayland-devel sway scdoc"
-makedepends="wf-shell libinput-devel wayland-devel wlroots-devel gtkmm-devel spdlog
+ -Dmpd=$(vopt_if mpd enabled disabled)"
+hostmakedepends="cmake pkg-config glib-devel wayland-devel scdoc
+ $(vopt_if dbusmenugtk gobject-introspection)"
+makedepends="libinput-devel wayland-devel gtkmm-devel spdlog eudev-libudev-devel
  gtk-layer-shell-devel jsoncpp-devel libglib-devel libsigc++-devel fmt-devel
- $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if libnl libnl3-devel)
+ $(vopt_if libnl libnl3-devel)
+ $(vopt_if pulseaudio pulseaudio-devel)
  $(vopt_if dbusmenugtk libdbusmenu-gtk3-devel)
  $(vopt_if mpd libmpdclient-devel)"
 short_desc="Polybar-like Wayland Bar for Sway and Wlroots based compositors"
-maintainer="DirectorX <void.directorx@protonmail.com>"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="MIT"
 homepage="https://github.com/Alexays/Waybar"
 changelog="https://github.com/Alexays/Waybar/releases"
-distfiles="https://github.com/Alexays/Waybar/archive/${version}.tar.gz"
-checksum=65e8397d5a8880cbb9172138e361b0d91f649bc99327d36945e38d1e5dbb157d
+distfiles="https://github.com/Alexays/Waybar/archive/${version}.tar.gz
+ https://github.com/HowardHinnant/date/archive/v2.4.1.tar.gz
+ https://github.com/mesonbuild/hinnant-date/releases/download/2.4.1-1/hinnant-date.zip"
+checksum="9740662de19dd6126c23efb69c9dc7f9d918443543af12aee770de39d415bdf8
+ 98907d243397483bd7ad889bf6c66746db0d7d2a39cc9aacc041834c40b65b98
+ 2061673a6f8e6d63c3a40df4da58fa2b3de2835fd9b3e74649e8279599f3a8f6"
 
 build_options="libnl pulseaudio dbusmenugtk mpd"
-build_options_default="pulseaudio mpd"
+build_options_default="libnl pulseaudio dbusmenugtk mpd"
 
 desc_option_libnl="Enable libnl support for network related features"
 desc_option_dbusmenugtk="Enable support for tray"
 desc_option_mpd="Enable support for MPD"
 
-
-if [ -z "$CROSS_BUILD" ]; then
-	# Requires gobject introspection
-	build_options_default+=" dbusmenugtk"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) ;; # Has broken network headers on musl
-	*) build_options_default+=" libnl"
-esac
+pre_configure() {
+	cp -rv ../date-2.4.1 subprojects/
+}
 
 post_install() {
 	vlicense LICENSE

  parent reply	other threads:[~2020-05-15 21:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 21:03 [PR PATCH] " ericonr
2020-05-15 21:10 ` DirectorX
2020-05-15 21:16 ` ericonr [this message]
2020-05-15 21:18 ` ericonr
2020-05-15 21:31 ` [PR PATCH] [Updated] " ericonr
2020-05-18  0:14 ` ericonr
2020-05-18  7:59 ` Johnnynator
2020-05-18  7:59 ` [PR PATCH] [Merged]: " Johnnynator

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200515211647.sY_3bPTr8F5Akw8UYBM7DM3O2fXS9_70G-mKwixyxqI@z \
    --to=ericonr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).