Package Details: weston-git

Git Clone URL: (read-only)
Package Base: weston-git
Description: Reference implementation of a Wayland compositor
Upstream URL:
Licenses: MIT
Conflicts: weston
Provides: weston
Submitter: klusark
Maintainer: klusark
Last Packager: klusark
Votes: 28
Popularity: 0.000002
First Submitted: 2012-01-04 20:31
Last Updated: 2017-03-08 17:34

Latest Comments

linkmauve commented on 2017-08-06 16:14

Hi, wayland-protocols is a makedepends, and Weston doesn’t depend on the -git version of it, everything is already in a release.

klusark commented on 2016-03-23 15:38

shoober420, feel free to copy this package, add the patches, and upload it under a new name (such as weston-git-nvidia). I'm going to keep this package as it is upstream.

Scimmia commented on 2016-03-23 15:03

Once they're accepted upstream, they'll be available here automatically. I don't think it's wise to include patches before they're accepted.

shoober420 commented on 2016-03-23 14:38

Would it be possible to add the NVIDIA patches that are posted on the Weston mailing list to this package so we can launch Weston natively with NVIDIA proprietary drivers?

klusark commented on 2015-11-24 20:54

@linkmauve, done.

linkmauve commented on 2015-11-24 16:13

Hi, Weston now depends on wayland-protocols, I packaged it earlier, please pull this repository which contains the necessary fixes to this PKGBUILD:

klusark commented on 2015-03-12 01:51

@linkmauve, done. Thanks for the suggestions.

linkmauve commented on 2015-03-11 19:12

Hi, --enable-libinput-backend isn’t needed anymore, since it’s the default now. You can also drop the >=0.4 for the libinput dependency, we are at 0.12 now and it’s very unlikely to break again before 1.0.

Scimmia commented on 2014-09-02 15:41

libinput>=0.4 is future-proof. When libinput is updated in the repos, libinput>=0.4 still works, where making it depend on on libinput-git forces another update to the PKGBUILD when libinput is updated.

klusark commented on 2014-08-28 16:03

ecloud: I'd do that if it depended on the version that is currently in git, but 0.4.0 and even 0.5.0 have been released, so installing either of those would work as well. The arch package just has not been updated yet. I think it'll be updated when the next version of Gnome is out (which I think might be in September).

ecloud commented on 2014-08-28 15:47

Please make it depend on libinput-git not libinput>=0.4, unless I'm missing something and that's available somewhere.

xyproto commented on 2014-06-30 09:51

libinput>=0.4 only seems to be provided by libinput-git, for now.

klusark commented on 2014-03-15 04:35

@johnthekipper Thanks! Done.

johnthekipper commented on 2014-03-13 08:13

Please add libinput-backend in the compile options!


before make ...

And libinput to the dependen packages.

with regards, JTK

johnthekipper commented on 2014-03-13 07:58

Please add libinput-backend in make options!


mfg JTK

klusark commented on 2014-01-06 23:55

ricardo_mv: Thanks! Fixed it.

ricardomv commented on 2014-01-06 23:42

in the options --enable-demo-clients is now called --enable-demo-clients-install

andre.vmatos commented on 2013-08-12 00:17

Failing compilation on package(): "clients/clickdot”: No such file or directory

haagch commented on 2013-08-09 21:02

Maybe do something like this?

for _c in clients/weston-*; do
install -Dm755 "$_c" "$pkgdir/usr/bin/weston-$(basename $_c)"

for _h in shared/*.h*; do
install -Dm755 "$_h" "$pkgdir/usr/include/$(basename $_h)"

I'm not sure what these things in shared/ are, but /usr/include/weston/compositor.h includes zalloc.h which is only there.

Procedural commented on 2013-08-05 13:18

Is it depends on X libraries still?

klusark commented on 2013-07-29 15:35

@RunningDroid Done.

RunningDroid commented on 2013-07-29 14:28

could you please add "provides=('weston')"?

klusark commented on 2013-06-13 02:40

@computerquip, I disagree. If the wayland protocol were to change and weston were to depend on the new changes, issues would happen. I think it's better to just depend on wayland-git, and if you know that it will work with just wayland, go ahead and use that package.

computerquip commented on 2013-06-13 02:35

wayland-git isn't required, just wayland 1.1. Please remove the AUR dependency as its annoying...

lubosz commented on 2013-04-09 13:20

please change mesa-full to mesa-git or mesa. mesa-full is broken.

numeral commented on 2013-02-15 06:22

Change mesa-full-wayland to mesa-full, at least according to the mesa-full-wayland PKGBUILD :P

LEW21 commented on 2013-02-15 00:29

I think you can start to depend on libxkbcommon (from community) instead of its -git version. And soon on mesa instead of mesa-full-wayland (when it'll go from testing to extra).

h8h commented on 2012-11-16 20:35

@klusark can you please fix PKGBUILD on line 49:
install -m 755 -D clients/keyboard "${pkgdir}/usr/bin/weston-keyboard"
install -m 755 -D clients/weston-keyboard "${pkgdir}/usr/bin/weston-keyboard"

Setup crashes:
install: cannot stat 'clients/keyboard' : No such file or directory


h8h commented on 2012-11-16 20:28

@klusark can you please fix PKGBUILD on line 49:
install -m 755 -D clients/keyboard "${pkgdir}/usr/bin/weston-keyboard"
install -m 755 -D clients/weston-keyboard "${pkgdir}/usr/bin/weston-keyboard"

Setup crashes:
install: cannot stat 'clients/keyboard' : No such file or directory

Also add dep for xkeyboard-config, otherwise you'll get the Error: "failed to add default include path /usr/share/X11/xkb and failed to create XKB context"


h8h commented on 2012-11-16 20:05

@klusark can you please fix PKGBUILD on line 49:
install -m 755 -D clients/keyboard "${pkgdir}/usr/bin/weston-keyboard"
install -m 755 -D clients/weston-keyboard "${pkgdir}/usr/bin/weston-keyboard"

Setup crashes:
install: cannot stat 'clients/keyboard' : No such file or directory


Anonymous comment on 2012-11-13 07:06

build crashed with:

install: can't execute stat for ?clients/keyboard?: no such file or directory

LEW21 commented on 2012-09-04 19:21

Maybe add a installation script echoing a message about the cursor (and a link to wiki) after installation/upgrade?

klusark commented on 2012-09-04 19:03

Darxus, I'll fix #1 soon, but with #2 it's not exactly a problem with this package, but if you have an idea of how to properly remedy this situation I'm all ears.

Anonymous comment on 2012-09-04 18:49

People have been coming into the #wayland IRC channel and mailing list asking about problems with these packages, and it's frustrating. The problems coming up are:
1) The split of glu from mesa, mentioned below.
2) Not having xcursors installed:

Please fix your packaging so people stop complaining about it upstream :)

LEW21 commented on 2012-09-03 22:28

...and that mesa/glu can be found in libglu or glu-git AUR package.

stubb commented on 2012-09-03 16:05

mesa/glu should be listed as a build dependency. GLU was moved out of the mesa repository recently.

stubb commented on 2012-08-31 23:29

libxcursor should be listed as a build dependency.

linkmauve commented on 2012-08-16 09:09

Hi, I’ve fixed the PKGBUILD to choose a more FHS-compatible path for libexec. Here is the new PKGBUILD:

You might also be interested in which use the new vcs syntax of pacman-git’s makepkg (see

lubosz commented on 2012-08-14 16:23

I am getting:
compositor: executing '/usr/libexec/weston-desktop-shell' failed: No such file or directory

In the PKGBUILD, this happens:
rm -rf ${pkgdir}/usr/libexec

I would suggest to remove these lines from the PKGBUILD:
rm -rf ${pkgdir}/usr/libexec
install -m 755 -D clients/weston-desktop-shell "${pkgdir}/usr/bin/weston-desktop-shell"
install -m 755 -D clients/weston-screensaver "${pkgdir}/usr/bin/weston-screensaver"
install -m 755 -D clients/weston-screenshooter "${pkgdir}/usr/bin/weston-screenshooter"
install -m 755 -D clients/weston-tablet-shell "${pkgdir}/usr/bin/weston-tablet-shell"

klusark commented on 2012-05-29 02:36

@Cdh The -lm issue seems to be upstream in webm:

haagch commented on 2012-05-28 22:28

I needed to upgrade libxkbcommon-git before building this. Version number didn't increment. I hope they don't break the API while using the same version number and it was just a version mismatch somewhere else while linking.

More importantly I needed to use


/usr/bin/ld: wcap_decode-vpxenc.o: undefined reference to symbol 'log@@GLIBC_2.2.5'
/usr/bin/ld: note: 'log@@GLIBC_2.2.5' is defined in DSO /lib/ so try adding it to the linker command line
/lib/ could not read symbols: Invalid operation

According to this fedora wiki you need to do this since gcc 4.4.3:

felixonmars commented on 2012-05-08 03:09

CC window.o
window.c: In function \342\200\230input_handle_key\342\200\231:
window.c:1568:25: error: \342\200\230XKB_COMMON_SHIFT_MASK\342\200\231 undeclare
d (first use in this function)
window.c:1568:25: note: each undeclared identifier is reported only once for eac
h function it appears in

jsutton commented on 2012-04-03 13:02

mtdev should be listed as a build dependency.

ying commented on 2012-03-25 14:45

Please remove or fix this line in the PKGBUILD: install -m 755 -D clients/screenshot "${pkgdir}/usr/bin/weston-screenshot"

klusark commented on 2012-02-07 07:10

@Glorf Sorry about that, fixed.

Glorf commented on 2012-02-04 21:42

You made a mistake in anongit adress

klusark commented on 2012-02-02 21:26

@sauronthedark it seems to be a problem upstream. If you add -lpng14 to line 61 of clients/ it will build fine.

klusark commented on 2012-02-02 21:01

You need to recompile your cairo-gl because of the new version of libpng.

Anonymous comment on 2012-02-01 10:28

Build failed with

/usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol 'png_set_filler@@PNG14_0'
/usr/bin/ld: note: 'png_set_filler@@PNG14_0' is defined in DSO /usr/lib/ so try adding it to the linker command line
/usr/lib/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [weston-terminal] Ошибка 1
make[3]: Выход из каталога `/tmp/yaourt-tmp-sauron/aur-weston-git/src/weston-build/clients'
make[2]: *** [all] Ошибка 2
make[2]: Выход из каталога `/tmp/yaourt-tmp-sauron/aur-weston-git/src/weston-build/clients'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/tmp/yaourt-tmp-sauron/aur-weston-git/src/weston-build'
make: *** [all] Ошибка 2

Anonymous comment on 2012-01-27 08:59

PKGBUILD Needs to be updated, I'm new to arch so not sure what the process is for providing a new version of this package. The only change needed to be made is on line 50 install -m 755 -D clients/terminal "${pkgdir}/usr/bin/weston-terminal" needs to become install -m 755 -D clients/weston-terminal "${pkgdir}/usr/bin/weston-terminal" due to upstream name change of the terminal program.