Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] i3status: update to 2.14.
@ 2022-02-12 19:14 tibequadorian
  2022-02-12 19:25 ` [PR PATCH] [Updated] " tibequadorian
  2022-02-13  0:40 ` [PR PATCH] [Closed]: " abenson
  0 siblings, 2 replies; 3+ messages in thread
From: tibequadorian @ 2022-02-12 19:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages i3status
https://github.com/void-linux/void-packages/pull/35560

i3status: update to 2.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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 [skip CI](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/35560.patch is attached

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

From 923be71424acca477a4d18f6dafc757ddf211661 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 20:12:59 +0100
Subject: [PATCH] i3status: update to 2.14.

---
 .../patches/pulseaudio-optional.patch         | 95 -------------------
 srcpkgs/i3status/template                     | 18 ++--
 2 files changed, 7 insertions(+), 106 deletions(-)
 delete mode 100644 srcpkgs/i3status/patches/pulseaudio-optional.patch

diff --git a/srcpkgs/i3status/patches/pulseaudio-optional.patch b/srcpkgs/i3status/patches/pulseaudio-optional.patch
deleted file mode 100644
index 9e80ef6abb57..000000000000
--- a/srcpkgs/i3status/patches/pulseaudio-optional.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-# reason: make pulseaudio optional
-# upstream: yes (>2.13)
-# ```
-# cd i3status
-# git diff --no-prefix 2.13..23da59920c -- configure.ac Makefile.am i3status.c src/print_volume.c
-# ```
-
-diff --git Makefile.am Makefile.am
-index bb251f0..c2c1c0a 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -68,8 +68,11 @@ i3status_SOURCES = \
- 	src/print_volume.c \
- 	src/print_wireless_info.c \
- 	src/print_file_contents.c \
--	src/process_runs.c \
--	src/pulse.c
-+	src/process_runs.c
-+
-+if PULSE
-+i3status_SOURCES += src/pulse.c
-+endif
- 
- dist_sysconf_DATA = \
- 	i3status.conf
-diff --git configure.ac configure.ac
-index cf9e430..11caa33 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -80,11 +80,24 @@ AC_CANONICAL_HOST
- PKG_CHECK_MODULES([CONFUSE], [libconfuse])
- PKG_CHECK_MODULES([YAJL], [yajl])
- 
-+AC_ARG_ENABLE(pulseaudio,
-+  AS_HELP_STRING(
-+    [--disable-pulseaudio],
-+    [build without pulseaudio support]),
-+  [ax_pulse=$enableval],
-+  [ax_pulse=yes])
-+AM_CONDITIONAL([PULSE], [test x$ax_pulse = xyes])
-+AS_IF([test x"$ax_pulse" = x"yes"],
-+      [PKG_CHECK_MODULES([PULSE], [libpulse])])
-+pulse_def=0
-+AS_IF([test x"$ax_pulse" = x"yes"],
-+      [pulse_def=1])
-+AC_DEFINE_UNQUOTED([HAS_PULSEAUDIO], [$pulse_def], [Build with pulseaudio])
-+
- case $host_os in
- 	linux*)
- 	PKG_CHECK_MODULES([NLGENL], [libnl-genl-3.0])
- 	PKG_CHECK_MODULES([ALSA], [alsa])
--	PKG_CHECK_MODULES([PULSE], [libpulse])
- 	;;
- 	netbsd*)
- 	AC_SEARCH_LIBS([prop_string_create], [prop])
-@@ -151,6 +164,7 @@ AS_HELP_STRING([is release version:], [${is_release}])
- AS_HELP_STRING([enable debug flags:], [${ax_enable_debug}])
- AS_HELP_STRING([code coverage:], [${CODE_COVERAGE_ENABLED}])
- AS_HELP_STRING([enabled sanitizers:], [${ax_enabled_sanitizers}])
-+AS_HELP_STRING([pulseaudio support:], [${ax_pulse}])
- 
- To compile, run:
- 
-diff --git i3status.c i3status.c
-index 0898da3..1ab8400 100644
---- a/i3status.c
-+++ b/i3status.c
-@@ -565,7 +565,13 @@ int main(int argc, char *argv[]) {
-                 return 0;
-                 break;
-             case 'v':
--                printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n");
-+                printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n"
-+#if HAS_PULSEAUDIO
-+                       "Built with pulseaudio support\n"
-+#else
-+                       "Built without pulseaudio support\n"
-+#endif
-+                       );
-                 return 0;
-                 break;
-             case 0:
-diff --git src/print_volume.c src/print_volume.c
-index 91e8ce2..7364d47 100644
---- a/src/print_volume.c
-+++ b/src/print_volume.c
-@@ -86,7 +86,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *
-         free(instance);
-     }
- 
--#if !defined(__DragonFly__) && !defined(__OpenBSD__)
-+#if HAS_PULSEAUDIO
-     /* Try PulseAudio first */
- 
-     /* If the device name has the format "pulse[:N]" where N is the
diff --git a/srcpkgs/i3status/template b/srcpkgs/i3status/template
index 5ef9f206834f..3205baef6269 100644
--- a/srcpkgs/i3status/template
+++ b/srcpkgs/i3status/template
@@ -1,10 +1,10 @@
 # Template file for 'i3status'
 pkgname=i3status
-version=2.13
-revision=2
-build_style=gnu-configure
-configure_args="--disable-builddir $(vopt_enable pulseaudio)"
-hostmakedepends="automake asciidoc pkg-config xmlto"
+version=2.14
+revision=1
+build_style=meson
+configure_args="-Dmans=true $(vopt_bool pulseaudio pulseaudio)"
+hostmakedepends="asciidoc pkg-config xmlto perl"
 makedepends="alsa-lib-devel confuse-devel libcap-devel libnl3-devel
  yajl-devel $(vopt_if pulseaudio pulseaudio-devel)"
 depends="libcap-progs"
@@ -13,17 +13,13 @@ maintainer="Lugubris <lugubris@disroot.org>"
 license="BSD-3-Clause"
 homepage="https://www.i3wm.org/i3status/"
 #changelog="https://raw.githubusercontent.com/i3/i3status/master/CHANGELOG"
-distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
-checksum=ce89c9ff8565f62e88299f1a611229afdfc356b4e97368a5f8c4f06ad2fa1466
+distfiles="https://i3wm.org/i3status/i3status-${version}.tar.xz"
+checksum=5c4d0273410f9fa3301fd32065deda32e9617fcae8b3cb34793061bf21644924
 conf_files="/etc/i3status.conf"
 
 build_options="pulseaudio"
 build_options_default="pulseaudio"
 
-pre_configure() {
-	autoreconf -vfi
-}
-
 post_install() {
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Updated] i3status: update to 2.14.
  2022-02-12 19:14 [PR PATCH] i3status: update to 2.14 tibequadorian
@ 2022-02-12 19:25 ` tibequadorian
  2022-02-13  0:40 ` [PR PATCH] [Closed]: " abenson
  1 sibling, 0 replies; 3+ messages in thread
From: tibequadorian @ 2022-02-12 19:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages i3status
https://github.com/void-linux/void-packages/pull/35560

i3status: update to 2.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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 [skip CI](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/35560.patch is attached

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

From fc3b9c5ae4c169f2e145da1c2f461a5556714926 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Sat, 12 Feb 2022 20:12:59 +0100
Subject: [PATCH] i3status: update to 2.14.

---
 .../patches/pulseaudio-optional.patch         | 95 -------------------
 srcpkgs/i3status/template                     | 21 ++--
 2 files changed, 10 insertions(+), 106 deletions(-)
 delete mode 100644 srcpkgs/i3status/patches/pulseaudio-optional.patch

diff --git a/srcpkgs/i3status/patches/pulseaudio-optional.patch b/srcpkgs/i3status/patches/pulseaudio-optional.patch
deleted file mode 100644
index 9e80ef6abb57..000000000000
--- a/srcpkgs/i3status/patches/pulseaudio-optional.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-# reason: make pulseaudio optional
-# upstream: yes (>2.13)
-# ```
-# cd i3status
-# git diff --no-prefix 2.13..23da59920c -- configure.ac Makefile.am i3status.c src/print_volume.c
-# ```
-
-diff --git Makefile.am Makefile.am
-index bb251f0..c2c1c0a 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -68,8 +68,11 @@ i3status_SOURCES = \
- 	src/print_volume.c \
- 	src/print_wireless_info.c \
- 	src/print_file_contents.c \
--	src/process_runs.c \
--	src/pulse.c
-+	src/process_runs.c
-+
-+if PULSE
-+i3status_SOURCES += src/pulse.c
-+endif
- 
- dist_sysconf_DATA = \
- 	i3status.conf
-diff --git configure.ac configure.ac
-index cf9e430..11caa33 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -80,11 +80,24 @@ AC_CANONICAL_HOST
- PKG_CHECK_MODULES([CONFUSE], [libconfuse])
- PKG_CHECK_MODULES([YAJL], [yajl])
- 
-+AC_ARG_ENABLE(pulseaudio,
-+  AS_HELP_STRING(
-+    [--disable-pulseaudio],
-+    [build without pulseaudio support]),
-+  [ax_pulse=$enableval],
-+  [ax_pulse=yes])
-+AM_CONDITIONAL([PULSE], [test x$ax_pulse = xyes])
-+AS_IF([test x"$ax_pulse" = x"yes"],
-+      [PKG_CHECK_MODULES([PULSE], [libpulse])])
-+pulse_def=0
-+AS_IF([test x"$ax_pulse" = x"yes"],
-+      [pulse_def=1])
-+AC_DEFINE_UNQUOTED([HAS_PULSEAUDIO], [$pulse_def], [Build with pulseaudio])
-+
- case $host_os in
- 	linux*)
- 	PKG_CHECK_MODULES([NLGENL], [libnl-genl-3.0])
- 	PKG_CHECK_MODULES([ALSA], [alsa])
--	PKG_CHECK_MODULES([PULSE], [libpulse])
- 	;;
- 	netbsd*)
- 	AC_SEARCH_LIBS([prop_string_create], [prop])
-@@ -151,6 +164,7 @@ AS_HELP_STRING([is release version:], [${is_release}])
- AS_HELP_STRING([enable debug flags:], [${ax_enable_debug}])
- AS_HELP_STRING([code coverage:], [${CODE_COVERAGE_ENABLED}])
- AS_HELP_STRING([enabled sanitizers:], [${ax_enabled_sanitizers}])
-+AS_HELP_STRING([pulseaudio support:], [${ax_pulse}])
- 
- To compile, run:
- 
-diff --git i3status.c i3status.c
-index 0898da3..1ab8400 100644
---- a/i3status.c
-+++ b/i3status.c
-@@ -565,7 +565,13 @@ int main(int argc, char *argv[]) {
-                 return 0;
-                 break;
-             case 'v':
--                printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n");
-+                printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n"
-+#if HAS_PULSEAUDIO
-+                       "Built with pulseaudio support\n"
-+#else
-+                       "Built without pulseaudio support\n"
-+#endif
-+                       );
-                 return 0;
-                 break;
-             case 0:
-diff --git src/print_volume.c src/print_volume.c
-index 91e8ce2..7364d47 100644
---- a/src/print_volume.c
-+++ b/src/print_volume.c
-@@ -86,7 +86,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *
-         free(instance);
-     }
- 
--#if !defined(__DragonFly__) && !defined(__OpenBSD__)
-+#if HAS_PULSEAUDIO
-     /* Try PulseAudio first */
- 
-     /* If the device name has the format "pulse[:N]" where N is the
diff --git a/srcpkgs/i3status/template b/srcpkgs/i3status/template
index 5ef9f206834f..c9deb9cee139 100644
--- a/srcpkgs/i3status/template
+++ b/srcpkgs/i3status/template
@@ -1,10 +1,10 @@
 # Template file for 'i3status'
 pkgname=i3status
-version=2.13
-revision=2
-build_style=gnu-configure
-configure_args="--disable-builddir $(vopt_enable pulseaudio)"
-hostmakedepends="automake asciidoc pkg-config xmlto"
+version=2.14
+revision=1
+build_style=meson
+configure_args="-Dmans=true $(vopt_bool pulseaudio pulseaudio)"
+hostmakedepends="asciidoc pkg-config xmlto perl"
 makedepends="alsa-lib-devel confuse-devel libcap-devel libnl3-devel
  yajl-devel $(vopt_if pulseaudio pulseaudio-devel)"
 depends="libcap-progs"
@@ -13,17 +13,16 @@ maintainer="Lugubris <lugubris@disroot.org>"
 license="BSD-3-Clause"
 homepage="https://www.i3wm.org/i3status/"
 #changelog="https://raw.githubusercontent.com/i3/i3status/master/CHANGELOG"
-distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
-checksum=ce89c9ff8565f62e88299f1a611229afdfc356b4e97368a5f8c4f06ad2fa1466
+distfiles="https://i3wm.org/i3status/i3status-${version}.tar.xz"
+checksum=5c4d0273410f9fa3301fd32065deda32e9617fcae8b3cb34793061bf21644924
 conf_files="/etc/i3status.conf"
 
+# tests fail in a chroot
+make_check=no
+
 build_options="pulseaudio"
 build_options_default="pulseaudio"
 
-pre_configure() {
-	autoreconf -vfi
-}
-
 post_install() {
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Closed]: i3status: update to 2.14.
  2022-02-12 19:14 [PR PATCH] i3status: update to 2.14 tibequadorian
  2022-02-12 19:25 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-13  0:40 ` abenson
  1 sibling, 0 replies; 3+ messages in thread
From: abenson @ 2022-02-13  0:40 UTC (permalink / raw)
  To: ml

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

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

i3status: update to 2.14.
https://github.com/void-linux/void-packages/pull/35560

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

#### 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 [skip CI](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] 3+ messages in thread

end of thread, other threads:[~2022-02-13  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 19:14 [PR PATCH] i3status: update to 2.14 tibequadorian
2022-02-12 19:25 ` [PR PATCH] [Updated] " tibequadorian
2022-02-13  0:40 ` [PR PATCH] [Closed]: " abenson

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