Package Details: waybox 0.0.1-1

Git Clone URL: https://aur.archlinux.org/waybox.git (read-only, click to copy)
Package Base: waybox
Description: An openbox clone on Wayland (WP)
Upstream URL: None
Licenses: MIT
Submitter: ikso7th
Maintainer: None
Last Packager: ikso7th
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-07 16:35
Last Updated: 2019-08-07 16:35

Latest Comments

ikso7th commented on 2020-04-30 09:31

I do not want to maintain this package anymore.

TrialnError commented on 2020-04-13 22:48

Well, currently your Makefile is failing (at least for me), whereas the meson build works perfectly. (And python2? Maybe in the past, but the Arch package uses python3 since 2017)

ikso7th commented on 2020-04-13 18:59

Last time i tried to build this shit with fucking meson it was failed with strange error, that`s why i use my own Makefile, sweety. But you can try to build with meson by yourself, good luck with that python2 piece of shit.

StarterX4 commented on 2020-04-10 18:32

Does it have any possibility of configuration? any working shortcuts or something? As i checked, it doesn't seem to, it also completely captures keyboard making me unable to switch between TTYs, and thus forcing to reboot. I can't find any documentation or anything. I'd consider it another useless kiosk compositor rather than OpenBox clone.

TrialnError commented on 2020-03-29 20:28

I suggest using this patch. Uses the official meson build system and will won't fail while compiling as it does with the custom Makefile

commit 01b19178a6924f8b836b3feb222b301e7054d899
Author: Narrat <autumn-wind@web.de>
Date:   Sun Mar 29 22:25:38 2020 +0200

    Use official meson build system

    instead of the custom Makefile which fails to build the package.

diff --git a/.SRCINFO b/.SRCINFO
index 88590f5..331ffad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,15 +4,13 @@ pkgbase = waybox
    pkgrel = 1
    arch = x86_64
    license = MIT
-   makedepends = gcc
    makedepends = git
+   makedepends = meson
    depends = wlroots
    depends = wayland
    depends = pixman
    source = waybox::git+https://github.com/wizbright/waybox.git
-   source = Makefile
    md5sums = SKIP
-   md5sums = ae4c2c8642d0abe7af9b511b746ad9c8

 pkgname = waybox

diff --git a/Makefile b/Makefile
deleted file mode 100644
index bff8fc5..0000000
--- a/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-CC = gcc
-CFLAGS = -Wno-unused-paraneter -DWLR_USE_UNSTABLE -DWL_HIDE_DEPRECATED -Iinclude -I/usr/include/pixman-1
-LDFLAGS    = -lwlroots -lwayland-server -lpixman-1
-BINARY = waybox_binary
-PKGNAME    = waybox
-PREFIX = /usr
-BINDIR = $(PREFIX)/bin
-
-all: waybox/main.o waybox/server.o waybox/cursor.o waybox/output.o
-   $(CC) $(CFLAGS) $(LDFLAGS) waybox/*.o -o $(BINARY)
-
-waybox/main.o: waybox/main.c
-   $(CC) $(CFLAGS) -c waybox/main.c -o waybox/main.o
-
-waybox/server.o: waybox/server.c
-   $(CC) $(CFLAGS) -c waybox/server.c -o waybox/server.o
-
-waybox/cursor.o: waybox/cursor.c
-   $(CC) $(CFLAGS) -c waybox/cursor.c -o waybox/cursor.o
-
-waybox/output.o: waybox/output.c
-   $(CC) $(CFLAGS) -c waybox/output.c -o waybox/output.o 
-
-clean:
-   rm waybox/*.o $(BINARY) || true
-
-install: all
-   install -m 755 $(BINARY) $(BINDIR)/$(PKGNAME)
-
-uninstall:
-   rm $(BINDIR)/$(PKGNAME) || true
diff --git a/PKGBUILD b/PKGBUILD
index ea3f18c..c011cc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,28 +6,24 @@ pkgver=0.0.1
 pkgrel=1
 pkgdesc='An openbox clone on Wayland (WP)'
 license=('MIT')
-source=("$pkgname::git+https://github.com/wizbright/waybox.git" "Makefile")
-md5sums=('SKIP' 'ae4c2c8642d0abe7af9b511b746ad9c8')
+source=("$pkgname::git+https://github.com/wizbright/waybox.git")
+md5sums=('SKIP')
 arch=('x86_64')
-makedepends=('gcc' 'git')
+makedepends=('git' 'meson')
 depends=('wlroots' 'wayland' 'pixman')

-prepare() {
-   cd "$srcdir"
-   cp Makefile waybox/
-}

 build() {
-   cd "$srcdir/$pkgname"
-   make
+   cd "$pkgname"
+   arch-meson ../build
+   ninja -v -C ../build
 }

 package() {
-   cd "$pkgdir"
-   cp "$srcdir/$pkgname/waybox_binary" $pkgname
-   cp "$srcdir/$pkgname/LICENSE" LICENSE
-   mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/licenses/$pkgname
-   install -m 755 $pkgname $pkgdir/usr/bin/
+   cd "$pkgname"
+   DESTDIR="${pkgdir}" meson install -C ../build
+
+   mkdir -p $pkgdir/usr/share/licenses/$pkgname
    install -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname
 }

TrialnError commented on 2020-03-05 23:13

Why do you use your own custom Makefile? Upstream is using meson, so this could be used?