This repository was archived by the owner on Oct 11, 2021. It is now read-only.
Commit cc8f4c2 1 parent b9820a2 commit cc8f4c2 Copy full SHA for cc8f4c2
File tree 6 files changed +45
-5
lines changed
6 files changed +45
-5
lines changed Original file line number Diff line number Diff line change 1
- /var/db/kiss/repo/core /libelf/checksums
1
+ /var/db/kiss/repo/extra /libelf/checksums
Original file line number Diff line number Diff line change 1
- /var/db/kiss/repo/core /libelf/sources
1
+ /var/db/kiss/repo/extra /libelf/sources
Original file line number Diff line number Diff line change 1
- /var/db/kiss/repo/core /libelf/version
1
+ /var/db/kiss/repo/extra /libelf/version
Original file line number Diff line number Diff line change 1
1
#! /bin/sh -e
2
2
3
+ # Install python-mako which is solely needed for mesa
4
+ # and thus contained in this build.
5
+ {
6
+ cd mako
7
+
8
+ python3 setup.py build
9
+ python3 setup.py install \
10
+ --prefix=/usr \
11
+ --root=" $PWD /dist"
12
+
13
+ # Use a glob to avoid having to figure out the Python
14
+ # version for the path below.
15
+ cd dist/usr/lib/python* /site-packages
16
+
17
+ # Set the PYTHONPATH so python knows where to find mako.
18
+ # The one liner simply appends the existing path and
19
+ # handles the case where an unset PYTHONPATH breaks
20
+ # python as it will only contain our new addition.
21
+ PYTHONPATH=$PWD :$( python -c " import sys; print(':'.join(sys.path))" )
22
+
23
+ cd -; cd ..
24
+ }
25
+
26
+ export PYTHONPATH
3
27
export DESTDIR=" $1 "
4
- export CFLAGS=" -DGLX_X86_READONLY_TEXT $CFLAGS "
28
+ export CFLAGS=" -DGLX_X86_READONLY_TEXT $CFLAGS -fcommon "
5
29
6
30
# Fix issues with musl and firefox.
7
31
# https://bugs.freedesktop.org/show_bug.cgi?id=35268
8
32
# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
9
33
sed -i " /pre_args += '-DUSE_ELF_TLS'/d" meson.build
10
34
35
+ # Apply panfrost patch
36
+ patch -p0 < panfrost.patch
37
+
11
38
meson \
12
39
--prefix=/usr \
13
40
--sysconfdir=/etc \
41
+ --includedir=/usr/include \
14
42
--mandir=/usr/share/man \
15
43
--localstatedir=/var \
16
44
--buildtype=release \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ 6153ba3f8cb0524bbfc08e4db76b408126b2d1be8f789dffe28d1a0461eedde4 mesa-20.0.1.tar.xz
2
+ 2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4 Mako-1.1.1.tar.gz
3
+ 1ac4478371e7503abb52b0388d3f7bc93d9de0bcc1c044365728e5d9f6307a0b panfrost.patch
Original file line number Diff line number Diff line change
1
+ --- src/gallium/drivers/panfrost/pan_bo.h
2
+ +++ src/gallium/drivers/panfrost/pan_bo.h
3
+ @@ -29,6 +29,7 @@
4
+ #include <panfrost-misc.h>
5
+ #include "pipe/p_state.h"
6
+ #include "util/list.h"
7
+ + #include "time.h"
8
+
9
+ struct panfrost_screen;
10
+
You can’t perform that action at this time.
0 commit comments