Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] polybar: update to 3.6.2, adopt.
@ 2022-04-11  4:16 classabbyamp
  2022-04-12 17:48 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-04-11  4:16 UTC (permalink / raw)
  To: ml

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

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages polybar-3.6.2
https://github.com/void-linux/void-packages/pull/36630

polybar: update to 3.6.2, adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->

@jaagr mind if I adopt this?

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 772db5abff01a440c33bfa6d18f3df9779c0651e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Sun, 10 Apr 2022 23:45:27 -0400
Subject: [PATCH] polybar: update to 3.6.2, adopt.

---
 srcpkgs/polybar/template | 44 +++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 25 deletions(-)

diff --git a/srcpkgs/polybar/template b/srcpkgs/polybar/template
index 169724754f55..9a2021d35381 100644
--- a/srcpkgs/polybar/template
+++ b/srcpkgs/polybar/template
@@ -1,31 +1,33 @@
 # Template file for 'polybar'
 pkgname=polybar
-version=3.5.7
+version=3.6.2
 revision=1
 build_style=cmake
-configure_args="
- -DENABLE_ALSA=$(vopt_if alsa ON OFF)
- -DENABLE_CURL=$(vopt_if curl ON OFF)
- -DENABLE_I3=$(vopt_if i3 ON OFF)
- -DENABLE_MPD=$(vopt_if mpd ON OFF)
- -DENABLE_NETWORK=$(vopt_if network ON OFF)
- -DENABLE_PULSEAUDIO=$(vopt_if pulseaudio ON OFF)
- -DWITH_XCOMPOSITE=ON"
-hostmakedepends="pkg-config xcb-proto python3 python3-Sphinx"
+configure_args="-DBUILD_CONFIG=OFF -DBUILD_DOC_HTML=OFF
+ $(vopt_bool alsa ENABLE_ALSA)
+ $(vopt_bool curl ENABLE_CURL)
+ $(vopt_bool i3 ENABLE_I3)
+ $(vopt_bool mpd ENABLE_MPD)
+ $(vopt_bool network ENABLE_NETWORK)
+ $(vopt_bool pulseaudio ENABLE_PULSEAUDIO)"
+hostmakedepends="pkg-config xcb-proto python3 python3-Sphinx python3-packaging"
 makedepends="cairo-devel xcb-util-image-devel xcb-util-wm-devel xcb-util-xrm-devel
- zlib-devel xcb-util-renderutil-devel xcb-util-cursor-devel libxcb-devel
+ zlib-devel xcb-util-renderutil-devel xcb-util-cursor-devel libxcb-devel libuv-devel
  $(vopt_if alsa "alsa-lib-devel")
  $(vopt_if curl "libcurl-devel")
  $(vopt_if i3 "i3-devel jsoncpp-devel")
  $(vopt_if mpd "libmpdclient-devel")
- $(vopt_if network "wireless_tools-devel")
+ $(vopt_if network "libnl3-devel")
  $(vopt_if pulseaudio "pulseaudio-devel")"
 short_desc="Fast and easy-to-use status bar"
-maintainer="Michael Carlberg <c@rlberg.se>"
+maintainer="classabbyamp <void@placeviolette.net>"
 license="MIT"
 homepage="https://github.com/polybar/polybar"
-distfiles="${homepage}/releases/download/${version}/polybar-${version}.tar.gz"
-checksum=73210e6d74217acb953b253990b4302343b7b6a7870fe1da9a1855daa44123db
+changelog="https://raw.githubusercontent.com/polybar/polybar/master/CHANGELOG.md"
+distfiles="https://github.com/polybar/polybar/releases/download/${version}/polybar-${version}.tar.gz"
+checksum=73becc942e7d2418bc72bd194f2037a2a86792219fd561b663a8509fd5f547a0
+# tries to download and build unstable/unreleased googletest during configure
+make_check=no
 
 build_options="alsa curl i3 mpd network pulseaudio"
 build_options_default="$build_options"
@@ -35,21 +37,13 @@ desc_option_i3="Enable support for i3"
 desc_option_mpd="Enable support for MPD"
 desc_option_network="Enable support for network"
 
-CXXFLAGS="-Wno-error=deprecated-declarations"
-
-if [ "$build_option_network" ]; then
-	case "$XBPS_TARGET_MACHINE" in
-		*-musl) CXXFLAGS+=" -D_LINUX_IF_ETHER_H" ;;
-	esac
-fi
-
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic'"
 fi
 
 post_install() {
-	rm -rf ${DESTDIR}/usr/share/doc/polybar
-	vdoc config
+	rm -r ${DESTDIR}/usr/share/doc/polybar
+	vsconf doc/config.ini
 	vlicense LICENSE
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: polybar: update to 3.6.2, adopt.
  2022-04-11  4:16 [PR PATCH] polybar: update to 3.6.2, adopt classabbyamp
@ 2022-04-12 17:48 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2022-04-12 17:48 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

polybar: update to 3.6.2, adopt.
https://github.com/void-linux/void-packages/pull/36630

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

@jaagr mind if I adopt this from you?

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-12 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11  4:16 [PR PATCH] polybar: update to 3.6.2, adopt classabbyamp
2022-04-12 17:48 ` [PR PATCH] [Merged]: " leahneukirchen

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).