Github messages for voidlinux
 help / color / mirror / Atom feed
From: uncomfyhalomacro <uncomfyhalomacro@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: leftwm-0.2.11
Date: Thu, 13 Jan 2022 15:35:38 +0100	[thread overview]
Message-ID: <20220113143538.mdHvnYEl1LdQ902mnV0MJ32IFMQYEdtdVt0Sws1f4Fk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31657@inbox.vuxu.org>

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

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

https://github.com/uncomfyhalomacro/void-packages leftwm
https://github.com/void-linux/void-packages/pull/31657

New package: leftwm-0.2.11
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64
  - [ ] aarch64-musl
  - [ ] x86_64-musl
  - [x] i686
  - [ ] armv7l
  - [ ] armv6l
  - [ ] armv6l-musl

#### Questions:
- ~~Should I include `x86_64-musl`? It builds correctly but it does not run correctly. See https://github.com/leftwm/leftwm/issues/396 . I did not include it since I do not want the users to experience a broken install.~~

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

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

From a1b24450161b46f6a815e92f46164811a105a047 Mon Sep 17 00:00:00 2001
From: "Soc Virnyl S. Estela" <66054069+ReneganRonin@users.noreply.github.com>
Date: Fri, 25 Jun 2021 18:31:43 +0800
Subject: [PATCH] New package: leftwm-0.2.11

---
 srcpkgs/leftwm/patches/fix-arm-builds.patch | 31 +++++++++++++++++++++
 srcpkgs/leftwm/patches/series               |  1 +
 srcpkgs/leftwm/template                     | 29 +++++++++++++++++++
 3 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/leftwm/patches/fix-arm-builds.patch
 create mode 100644 srcpkgs/leftwm/patches/series
 create mode 100644 srcpkgs/leftwm/template

diff --git a/srcpkgs/leftwm/patches/fix-arm-builds.patch b/srcpkgs/leftwm/patches/fix-arm-builds.patch
new file mode 100644
index 000000000000..9337bc90ec52
--- /dev/null
+++ b/srcpkgs/leftwm/patches/fix-arm-builds.patch
@@ -0,0 +1,31 @@
+From 876216bcc0398fb869240cd51d5ea0d12ba699b1 Mon Sep 17 00:00:00 2001
+From: pkubaj <pkubaj@anongoth.pl>
+Date: Tue, 14 Dec 2021 06:37:11 +0000
+Subject: [PATCH] Fix build errors on architectures with u8 (#623)
+
+---
+ .../src/display_servers/xlib_display_server/xwrap/getters.rs  | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs b/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
+index 2fe20d3a..b8a90495 100644
+--- a/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
++++ b/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
+@@ -3,7 +3,7 @@ use super::{Screen, WindowHandle, XlibError, MAX_PROPERTY_VALUE_LEN};
+ use crate::models::{DockArea, WindowState, WindowType, XyhwChange};
+ use crate::XWrap;
+ use std::ffi::CString;
+-use std::os::raw::{c_int, c_long, c_uchar, c_uint, c_ulong};
++use std::os::raw::{c_char, c_int, c_long, c_uchar, c_uint, c_ulong};
+ use std::slice;
+ use x11_dl::xlib;
+ 
+@@ -575,7 +575,7 @@ impl XWrap {
+             if status == 0 {
+                 return Err(XlibError::FailedStatus);
+             }
+-            if let Ok(s) = CString::from_raw(text_prop.value.cast::<i8>()).into_string() {
++            if let Ok(s) = CString::from_raw(text_prop.value.cast::<c_char>()).into_string() {
+                 return Ok(s);
+             }
+         };
diff --git a/srcpkgs/leftwm/patches/series b/srcpkgs/leftwm/patches/series
new file mode 100644
index 000000000000..5f8e5e089321
--- /dev/null
+++ b/srcpkgs/leftwm/patches/series
@@ -0,0 +1 @@
+fix-arm-builds.patch
diff --git a/srcpkgs/leftwm/template b/srcpkgs/leftwm/template
new file mode 100644
index 000000000000..a4bf2ad6957b
--- /dev/null
+++ b/srcpkgs/leftwm/template
@@ -0,0 +1,29 @@
+# Template file for 'leftwm'
+pkgname=leftwm
+version=0.2.11
+revision=1
+build_style=cargo
+makedepends="libX11-devel libXinerama-devel libXrandr-devel xorg-server-devel"
+depends="libX11 libXinerama xorg-server xrandr"
+short_desc="Tiling window manager for Adventurers"
+maintainer="Soc Virnyl S. Estela <socvirnyl.estela@gmail.com>"
+license="MIT"
+homepage="https://github.com/leftwm/leftwm"
+distfiles="https://github.com/leftwm/leftwm/archive/${version}.tar.gz"
+checksum=3a2bd59f12566d94b6be3b162c95d280acbaec1b40da415cb42fe07332a5b709
+
+do_install() {
+	vdoc README.md
+	vlicense LICENSE.md
+	# Example themes to use as references
+	vmkdir usr/share/examples/leftwm/
+	vcopy themes usr/share/examples/leftwm/
+	# Add to xsession
+	vinstall leftwm.desktop 644 usr/share/xsessions/
+	# Installing corresponding binaries
+	vbin "${wrksrc}"/target/"${XBPS_RUST_TARGET}"/release/leftwm
+	vbin "${wrksrc}"/target/"${XBPS_RUST_TARGET}"/release/leftwm-check
+	vbin "${wrksrc}"/target/"${XBPS_RUST_TARGET}"/release/leftwm-command
+	vbin "${wrksrc}"/target/"${XBPS_RUST_TARGET}"/release/leftwm-state
+	vbin "${wrksrc}"/target/"${XBPS_RUST_TARGET}"/release/leftwm-worker
+}

  parent reply	other threads:[~2022-01-13 14:35 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-25 21:56 [PR PATCH] New package: leftwm-0.2.7 ReneganRonin
2021-06-25 22:33 ` [PR PATCH] [Updated] " ReneganRonin
2021-06-25 22:55 ` ReneganRonin
2021-06-25 22:57 ` ReneganRonin
2021-06-25 23:15 ` ReneganRonin
2021-06-26  1:42 ` ReneganRonin
2021-06-26 11:49 ` [PR REVIEW] " Johnnynator
2021-06-26 11:52 ` Johnnynator
2021-06-26 12:29 ` [PR PATCH] [Updated] " ReneganRonin
2021-06-26 12:31 ` ReneganRonin
2021-06-26 12:33 ` [PR REVIEW] " ReneganRonin
2021-06-26 12:33 ` ReneganRonin
2021-06-26 13:22 ` ericonr
2021-06-26 13:22 ` ericonr
2021-06-26 13:30 ` ReneganRonin
2021-06-26 13:31 ` [PR PATCH] [Updated] " ReneganRonin
2021-06-26 13:54 ` Johnnynator
2021-06-26 14:00 ` ReneganRonin
2021-06-26 14:13 ` Johnnynator
2021-06-26 14:29 ` [PR PATCH] [Updated] " ReneganRonin
2021-06-26 14:31 ` ReneganRonin
2021-06-26 14:31 ` ReneganRonin
2021-06-26 21:50 ` ericonr
2021-06-26 22:59 ` ReneganRonin
2021-06-26 23:05 ` ReneganRonin
2021-06-27  1:23 ` ReneganRonin
2021-06-27  1:23 ` ReneganRonin
2021-06-27  1:26 ` ReneganRonin
2021-06-27  6:39 ` ReneganRonin
2021-06-27 22:38 ` [PR PATCH] [Updated] " ReneganRonin
2021-06-27 22:49 ` ReneganRonin
2021-06-27 22:54 ` ReneganRonin
2021-06-28  2:00 ` ericonr
2021-06-28 14:21 ` ReneganRonin
2021-06-28 14:22 ` ReneganRonin
2021-06-29  2:02 ` [PR PATCH] [Updated] " ReneganRonin
2021-07-07 14:05 ` [PR PATCH] [Updated] New package: leftwm-0.2.8 ReneganRonin
2021-07-07 14:06 ` ReneganRonin
2021-07-07 22:25 ` ReneganRonin
2021-07-08  0:19 ` ReneganRonin
2021-07-08  2:14 ` ReneganRonin
2021-07-09  9:58 ` ReneganRonin
2021-11-20 18:25 ` VuiMuich
2021-11-21  4:16 ` [PR REVIEW] " ericonr
2021-11-21  4:41 ` [PR PATCH] [Updated] " uncomfyhalomacro
2021-11-21  5:11 ` uncomfyhalomacro
2021-11-22 10:13 ` uncomfyhalomacro
2021-12-03  5:46 ` 0323pin
2021-12-04  5:49 ` uncomfyhalomacro
2021-12-04  6:13 ` 0323pin
2021-12-04  6:14 ` 0323pin
2021-12-04  6:22 ` VuiMuich
2021-12-04  6:23 ` VuiMuich
2021-12-04  6:24 ` VuiMuich
2022-01-11  5:05 ` [PR PATCH] [Updated] " uncomfyhalomacro
2022-01-11  5:14 ` New package: leftwm-0.2.11 uncomfyhalomacro
2022-01-12 14:02 ` [PR PATCH] [Updated] " uncomfyhalomacro
2022-01-12 16:31 ` uncomfyhalomacro
2022-01-12 16:33 ` uncomfyhalomacro
2022-01-12 16:54 ` uncomfyhalomacro
2022-01-13 11:35 ` [PR REVIEW] " Johnnynator
2022-01-13 11:35 ` Johnnynator
2022-01-13 14:35 ` uncomfyhalomacro [this message]
2022-01-13 14:55 ` uncomfyhalomacro
2022-01-13 15:07 ` uncomfyhalomacro
2022-01-13 15:10 ` [PR PATCH] [Updated] " uncomfyhalomacro
2022-01-14  0:17 ` uncomfyhalomacro
2022-01-14  0:31 ` uncomfyhalomacro
2022-01-14 14:11 ` 0323pin
2022-01-15 14:26 ` [PR PATCH] [Updated] " Johnnynator
2022-01-15 14:28 ` Johnnynator
2022-01-15 14:28 ` [PR PATCH] [Merged]: " Johnnynator
2022-04-26  5:31 ` 0323pin
2022-04-26 11:11 ` uncomfyhalomacro

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=20220113143538.mdHvnYEl1LdQ902mnV0MJ32IFMQYEdtdVt0Sws1f4Fk@z \
    --to=uncomfyhalomacro@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).