Package Details: xedgewarp-git v1.1.r1.g1695e18-1

Git Clone URL: https://aur.archlinux.org/xedgewarp-git.git (read-only)
Package Base: xedgewarp-git
Description: xedgewarp is a window manager agnostic tool for pointer warping between outputs
Upstream URL: https://github.com/Airblader/xedgewarp
Keywords: mouse pointer warp xew
Licenses: MIT
Provides: xedgewarp
Submitter: Airblader
Maintainer: Airblader
Last Packager: Airblader
Votes: 4
Popularity: 0.005597
First Submitted: 2015-05-16 13:12
Last Updated: 2019-02-08 18:21

Latest Comments

Airblader commented on 2019-02-08 18:22

@nicoulaj Thanks, I've added the dependency!

nicoulaj commented on 2019-02-08 09:51

The package seems to be missing a dependency on libxfixes, this what happens when building in a clean chroot (using aurto):

==> Starting build()...
rm -f xedgewarp obj/extensions.o obj/xedgewarp.o obj/pointer.o obj/event.o obj/randr.o obj/util.o obj/fake_outputs.o
rm -f man/*.1 man/*.xml
rm -f test/GLOB*
gcc -D'__VERSION="heads/makepkg-0-g0ce5187"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/extensions.o -c src/extensions.c
In file included from include/externals.h:13,
                 from include/all.h:4,
                 from src/extensions.c:2:
/usr/include/X11/extensions/XInput2.h:33:10: fatal error: X11/extensions/Xfixes.h: No such file or directory
 #include <X11/extensions/Xfixes.h> /* PointerBarrier */
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:33: obj/extensions.o] Error 1
==> ERROR: A failure occurred in build().

Airblader commented on 2017-04-25 06:13

@oliver Thanks, I've fixed the package.

oliver commented on 2017-04-24 19:19

Looks like the developer switched to installing in /usr/local which raises an error (since /usr/local/share/man exists on the filesystem). https://github.com/Airblader/xedgewarp/commit/1e069c13fa861c9b53d9423ca92461e89955121f

The PKGBUILD should set PREFIX=/usr to avoid setting to /usr/local in the Makefile.

I got it to work by making the make install line in package() read:

make PREFIX=/usr DESTDIR="$pkgdir" install

therisen06 commented on 2015-05-19 06:30

Yup, that does the trick. Verification successful!

Airblader commented on 2015-05-18 21:08

@therisen06

Thanks for investigating this. I've fixed the Makefile by using the .NOTPARALLEL meta target. Maybe you can give it a quick try to verify it.

therisen06 commented on 2015-05-18 20:46

I found the problem. The culprit was

MAKEFLAGS="-j4"

in /etc/makepkg.conf. If I replace all calls to 'make' with 'make -j1' in your PKGBUILD it works for me. IIIRC there is a more elegant solution to specify this in a PKGBUILD though... I suggest you update the PKGBUILD because I'm pretty sure more people have the above setting in their makepkg.conf; just for reference, here is a link to the modified PKGBUILD that worked for me: http://pastebin.com/AnSEwzEs

Airblader commented on 2015-05-18 18:40

@therisen06

Actually that output makes no sense to me. The last line is part of the clean target which should be finished before compiling even starts. And the errors you get are because the *.o files haven't been compiled yet. It *should* look like this:

==> Starting package()...
rm -f xedgewarp obj/xedgewarp.o obj/pointer.o obj/event.o obj/randr.o obj/util.o obj/fake_outputs.o
rm -f man/*.1 man/*.xml
rm -f test/GLOB*
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/xedgewarp.o -c src/xedgewarp.c
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/pointer.o -c src/pointer.c
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/event.o -c src/event.c
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/randr.o -c src/randr.c
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/util.o -c src/util.c
gcc -D'__VERSION="heads/makepkg-0-g4ac90a2"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o obj/fake_outputs.o -c src/fake_outputs.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o xedgewarp obj/xedgewarp.o obj/pointer.o obj/event.o obj/randr.o obj/util.o obj/fake_outputs.o -lxcb-randr -lxcb-render -lxcb-util -lxcb

Airblader commented on 2015-05-18 18:29

@therisen06

It works for me. Did you modify the PKGBUILD at all? Can you check in the checkout of your AUR tool whether the obj/ folder exists?

therisen06 commented on 2015-05-18 18:25

PKGBUILD is broken :(

==> Starting package()...
rm -f xedgewarp obj/xedgewarp.o obj/pointer.o obj/event.o obj/randr.o obj/util.o obj/fake_outputs.o
rm -f man/*.1 man/*.xml
gcc -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -std=gnu99 -Wall -Wundef -Wshadow -o xedgewarp obj/xedgewarp.o obj/pointer.o obj/event.o obj/randr.o obj/util.o obj/fake_outputs.o -lxcb-randr -lxcb-render -lxcb-util -lxcb
gcc: error: obj/xedgewarp.o: No such file or directory
gcc: error: obj/pointer.o: No such file or directory
gcc: error: obj/event.o: No such file or directory
gcc: error: obj/randr.o: No such file or directory
gcc: error: obj/util.o: No such file or directory
gcc: error: obj/fake_outputs.o: No such file or directory
Makefile:28: recipe for target 'xedgewarp' failed
make: *** [xedgewarp] Error 1
make: *** Waiting for unfinished jobs....
rm -f test/GLOB*