Package Details: wdisplays 1.1.1-1

Git Clone URL: https://aur.archlinux.org/wdisplays.git (read-only, click to copy)
Package Base: wdisplays
Description: GUI display configurator for wlroots compositors
Upstream URL: https://github.com/artizirk/wdisplays
Licenses: GPL3
Submitter: rumpelsepp
Maintainer: arti (redtide)
Last Packager: redtide
Votes: 48
Popularity: 0.70
First Submitted: 2020-05-10 06:09 (UTC)
Last Updated: 2023-07-01 12:30 (UTC)

Latest Comments

1 2 Next › Last »

tobbik commented on 2025-05-08 00:16 (UTC) (edited on 2025-05-08 00:24 (UTC) by tobbik)

Newer compiler restrictions make the build bail. Updated PKGBUILD with a patch:

# Maintainer: arti
# Maintainer: redtide <redtid3@gmail.com>
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>

pkgname=wdisplays
pkgver=1.1.1
pkgrel=2
pkgdesc="GUI display configurator for wlroots compositors"
url="https://github.com/artizirk/wdisplays"
license=(GPL3)
arch=(x86_64)
depends=(
  gtk3
  libepoxy
  wayland
  wayland-protocols
)
makedepends=(
  meson
)
source=(
  $pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
  outputs_noop.patch
)
sha512sums=('46923592e9fbb5c06c3549c198aedbafd8e0b5a6a82bc11d9d0b4cb0860070000cce18e0aa109932a4e4bee34d9f235660d2ea9d485a8fce146a2755ef62f81d'
            '75a8e46bf6ac33100aff32d41e82c3a250b607534315aed0f580508eb15620b329c69184300c9568dfe2f02e18485e1cc1777705892a924cfaecab0deee9f94f')
b2sums=('a294719c3b8e91642d53e22aaac40c3ddd9a24e2eaef8e8b412905e9a4ef4be7984c0d0c087661d975ec518304020d1f84fc7a6ac4f62f1a5708c73878646818'
        '422b4c1b7238ca2d57ba4d94123cea24079b60fcb5ada4df3e9404f01d34b1ab43061f5d9cd07be57d38a0b15ddac8f0e4bda72044a22e4cb52cc4e99e01a7e9')

prepare() {
  rm -rf build
  arch-meson "${pkgname}-${pkgver}" build
  patch --directory "${pkgname}-${pkgver}" --forward --strip=1 --input=../outputs_noop.patch
}

build() {
  ninja -C build
}

package() {
  cd "$pkgname-$pkgver"
  DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
}

outputs_noop.patch

diff -ruN wdisplays-1.1.1_orig/src/outputs.c wdisplays-1.1.1/src/outputs.c
--- wdisplays-1.1.1/src/outputs.c   2025-05-07 15:39:03.921700462 -0700
+++ wdisplays-1.1.1/src/outputs.c   2025-05-07 15:41:56.112689732 -0700
@@ -526,7 +526,7 @@
 static const struct zwlr_output_manager_v1_listener output_manager_listener = {
   .head = output_manager_handle_head,
   .done = output_manager_handle_done,
-  .finished = noop,
+  .finished = (void (*) (void *data, struct zwlr_output_manager_v1 *zwlr_output_manager_v1)) noop,
 };
 static void registry_handle_global(void *data, struct wl_registry *registry,
     uint32_t name, const char *interface, uint32_t version) {
@@ -553,7 +553,7 @@

 static const struct wl_registry_listener registry_listener = {
   .global = registry_handle_global,
-  .global_remove = noop,
+  .global_remove = (void (*) (void* data, struct wl_registry* wl_registry, uint name)) noop,
 };

 void wd_add_output_management_listener(struct wd_state *state, struct
@@ -603,10 +603,10 @@

 static const struct zxdg_output_v1_listener output_listener = {
   .logical_position = output_logical_position,
-  .logical_size = noop,
-  .done = noop,
+  .logical_size = (void (*) (void *data, struct zxdg_output_v1 *zxdg_output_v1, int32_t width, int32_t height)) noop,
+  .done = (void (*) (void *data, struct zxdg_output_v1 *zxdg_output_v1)) noop,
   .name = output_name,
-  .description = noop
+  .description = (void (*) (void *data, struct zxdg_output_v1 *zxdg_output_v1, const char *description)) noop
 };

 void wd_add_output(struct wd_state *state, struct wl_output *wl_output,

scruffidog commented on 2021-07-29 01:52 (UTC)

network.cycles.wdisplays.desktop is referencing an incorrect icon:

Icon=network.cycles.wdisplays

the actual svg file is just wdisplays.svg so I think the line should read:

Icon=wdisplays

not too clear on xdg standards or workings but when I changed the wdisplays.desktop file to reflect the actual graphic name, it shows up properly in the wayfire menu

somini commented on 2021-04-30 20:13 (UTC)

Can you install the package icon, like the *-git version of this package?

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wdisplays-git#n33

rumpelsepp commented on 2021-04-19 19:19 (UTC)

Thx all. I bumped the version.

arti commented on 2021-04-18 06:31 (UTC)

I tagged 1.1 release of wdisplays in https://github.com/artizirk/wdisplays/releases/tag/1.1

aorth commented on 2021-04-16 16:12 (UTC)

What happened to upstream? The user seems to have deleted their repository on GitHub...?

rumpelsepp commented on 2021-04-11 06:34 (UTC)

Technically it doesn't make any difference since the commit hash acts as the checksum. Since I pinned the version it makes perfectly sense to have SKIP in the checksum. Once there is a 1.1 release I will happily bump the version. :)

somini commented on 2021-04-10 13:01 (UTC)

This shouldn't really have SKIP on the checksums, this is not a -git package.

@arti you can probably release v1.1 and use the tarball for building this.

krathalan commented on 2021-04-01 03:12 (UTC)

Hello, thanks for the great PKGBUILD.

In order to build in a clean chroot with makechrootpkg, with a git source (e.g. pkgname-$pkgver::git+https://github.com/artizirk/wdisplays#commit=$_commit) you need to add the git package to makedepends().

rumpelsepp commented on 2021-03-29 10:36 (UTC)

Thanks for the updated repo. I fixed the PKGBUILD accordingly.