Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
e8a6164c
Commit
e8a6164c
authored
Nov 18, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip mesa
reapply xxx
parent
f58a2fa4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
132 additions
and
22 deletions
+132
-22
component/chromedriver/buildout.cfg
component/chromedriver/buildout.cfg
+7
-0
component/chromium/buildout.cfg
component/chromium/buildout.cfg
+1
-0
component/firefox/buildout.cfg
component/firefox/buildout.cfg
+6
-0
component/libepoxy/buildout.cfg
component/libepoxy/buildout.cfg
+1
-1
component/mesa/buildout.cfg
component/mesa/buildout.cfg
+73
-19
component/mesa/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch
...nent/mesa/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch
+24
-0
component/xorg/buildout.cfg
component/xorg/buildout.cfg
+20
-2
No files found.
component/chromedriver/buildout.cfg
View file @
e8a6164c
...
@@ -5,7 +5,14 @@
...
@@ -5,7 +5,14 @@
[buildout]
[buildout]
extends =
extends =
../chromium/buildout.cfg
../chromium/buildout.cfg
<<<<<<< HEAD
../glib/buildout.cfg
../glib/buildout.cfg
||||||| parent of 16a281a40 (wip mesa)
../nss/buildout.cfg
=======
../glib/buildout.cfg
../nss/buildout.cfg
>>>>>>> 16a281a40 (wip mesa)
../nspr/buildout.cfg
../nspr/buildout.cfg
../nss/buildout.cfg
../nss/buildout.cfg
../pcre2/buildout.cfg
../pcre2/buildout.cfg
...
...
component/chromium/buildout.cfg
View file @
e8a6164c
...
@@ -142,6 +142,7 @@ library =
...
@@ -142,6 +142,7 @@ library =
${sqlite3:location}/lib
${sqlite3:location}/lib
${xdamage:location}/lib
${xdamage:location}/lib
${xfixes:location}/lib
${xfixes:location}/lib
${xxf86vm:location}/lib
${zlib:location}/lib
${zlib:location}/lib
path =
path =
${fontconfig:location}/bin
${fontconfig:location}/bin
...
...
component/firefox/buildout.cfg
View file @
e8a6164c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
extends =
extends =
../alsa/buildout.cfg
../alsa/buildout.cfg
../dbus/buildout.cfg
../dbus/buildout.cfg
../coreutils/buildout.cfg
../fontconfig/buildout.cfg
../fontconfig/buildout.cfg
../fonts/buildout.cfg
../fonts/buildout.cfg
../gtk-2/buildout.cfg
../gtk-2/buildout.cfg
...
@@ -11,6 +12,7 @@ extends =
...
@@ -11,6 +12,7 @@ extends =
../mesa/buildout.cfg
../mesa/buildout.cfg
../p11-kit/buildout.cfg
../p11-kit/buildout.cfg
../pcre/buildout.cfg
../pcre/buildout.cfg
../util-linux/buildout.cfg
../xorg/buildout.cfg
../xorg/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
...
@@ -143,6 +145,7 @@ library =
...
@@ -143,6 +145,7 @@ library =
${libxml2:location}/lib
${libxml2:location}/lib
${libXrandr:location}/lib
${libXrandr:location}/lib
${libXrender:location}/lib
${libXrender:location}/lib
${libxshmfence:location}/lib
${libXt:location}/lib
${libXt:location}/lib
${libXtst:location}/lib
${libXtst:location}/lib
${mesa:location}/lib
${mesa:location}/lib
...
@@ -151,10 +154,13 @@ library =
...
@@ -151,10 +154,13 @@ library =
${pixman:location}/lib
${pixman:location}/lib
${xdamage:location}/lib
${xdamage:location}/lib
${xfixes:location}/lib
${xfixes:location}/lib
${xxf86vm:location}/lib
${xz-utils:location}/lib
${xz-utils:location}/lib
${zlib:location}/lib
${zlib:location}/lib
path =
path =
${coreutils:location}/bin
${fontconfig:location}/bin
${fontconfig:location}/bin
${util-linux:location}/bin
install =
install =
self.copyTree(guessworkdir(self.extract(self.download())), location)
self.copyTree(guessworkdir(self.extract(self.download())), location)
...
...
component/libepoxy/buildout.cfg
View file @
e8a6164c
...
@@ -12,4 +12,4 @@ url = https://github.com/anholt/libepoxy/releases/download/v1.4/libepoxy-1.4.0.t
...
@@ -12,4 +12,4 @@ url = https://github.com/anholt/libepoxy/releases/download/v1.4/libepoxy-1.4.0.t
md5sum = d8d8cbf2beb64975d424fcc5167a2a38
md5sum = d8d8cbf2beb64975d424fcc5167a2a38
environment =
environment =
PATH=${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${mesa:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libX11:pkg_config_depends}:${libXext:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${damageproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig
PKG_CONFIG_PATH=${mesa:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libX11:pkg_config_depends}:${libXext:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${damageproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig
:${xxf86vm:location}/lib/pkgconfig:${xxf86vm:pkg_config_depends}:${libdrm:location}/lib/pkgconfig
component/mesa/buildout.cfg
View file @
e8a6164c
[buildout]
[buildout]
extends =
extends =
../autoconf/buildout.cfg
../automake/buildout.cfg
../bison/buildout.cfg
../bison/buildout.cfg
../cmake/buildout.cfg
../flex/buildout.cfg
../flex/buildout.cfg
../libexpat/buildout.cfg
../libexpat/buildout.cfg
../libtool/buildout.cfg
../libtool/buildout.cfg
../meson/buildout.cfg
../ninja/buildout.cfg
../pkgconfig/buildout.cfg
../pkgconfig/buildout.cfg
../xorg/buildout.cfg
../xorg/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
...
@@ -14,49 +15,102 @@ extends =
...
@@ -14,49 +15,102 @@ extends =
parts =
parts =
mesa
mesa
[mesa]
[glslang]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = https://github.com/KhronosGroup/glslang/archive/refs/tags/13.1.1.tar.gz
md5sum = 65fc5f9ed3440ff7ccd9760327ba1083
shared = true
shared = true
url = https://archive.mesa3d.org/mesa-18.0.0.tar.xz
configure-command = cmake
md5sum = c2a59fc5b56de3e197fa3a6023409e23
configure-options =
configure-options =
-Bbuild
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@
-DCMAKE_BUILD_TYPE=Release
-DENABLE_OPT=0
make-options = -C build
environment =
PATH=${cmake:location}/bin:%(PATH)s
patches =
${:_profile_base_location_}/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch#f2653242e36444de52d65fee601d8670
patch-options = -p1
[mesa-markupsafe-download]
recipe = slapos.recipe.build:download
shared = true
url = https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/${:filename}
filename = MarkupSafe-2.0.1.tar.gz
md5sum = 892e0fefa3c488387e5cc0cad2daa523
[mesa-mako-download]
recipe = slapos.recipe.build:download
shared = true
url = https://files.pythonhosted.org/packages/24/3b/11fe92d68c6a42468ddab0cf03f454419b0788fff4e91ba46b8bebafeffd/${:filename}
filename = Mako-1.3.0-py3-none-any.whl
md5sum = 3768c14b8a92597920b2ffd9c9195c82
[mesa-python]
recipe = slapos.recipe.build
shared = true
markupsafe = ${mesa-markupsafe-download:target}
mako = ${mesa-mako-download:target}
install =
import os, sys
call([sys.executable, '-m', 'venv', '--clear', location])
pip = os.path.join(location, 'bin', 'pip')
# call([pip, 'install', '--no-index', options['markupsafe']])
# call([pip, 'install', '--no-index', options['mako']])
call([pip, 'install', '--no-index', options['markupsafe'], options['mako']])
# selftest
python = os.path.join(location, 'bin', 'python')
call([python, '-c', 'from mako.template import Template'])
[mesa]
recipe = slapos.recipe.cmmi
shared = true
url = https://archive.mesa3d.org/mesa-23.2.1.tar.xz
md5sum = 0d89ec154ac9f06a1e876214114ed9af
configure-command = ${meson:location}/bin/meson builddir -Dprefix=@@LOCATION@@ --libdir=lib -Dgallium-drivers=virgl -Dvulkan-drivers=[] -Dplatforms=x11 -Dlibunwind=disabled -Dglx=dri -Dllvm=disabled -Degl=enabled
make-binary = ninja -C builddir
todo =
Run-time dependency libzstd found: NO (tried pkgconfig and cmake)
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: NO (tried pkgconfig and cmake)
todo =
--disable-gles1
--disable-gles1
--disable-gles2
--disable-gles2
--enable-dri
--enable-dri
--disable-dri3
--disable-dri3
--enable-egl
--enable-gbm
--enable-gbm
--enable-sysfs
--enable-sysfs
--disable-xvmc
--disable-xvmc
--disable-vdpau
--disable-vdpau
--disable-va
--disable-va
--disable-xlib-glx
--disable-xlib-glx
--enable-shared-glapi
--disable-driglx-direct
--disable-driglx-direct
--disable-gallium-llvm
--disable-gallium-llvm
--with-gallium-drivers=
--with-gallium-drivers=
--with-dri-drivers=
--with-dri-drivers=
environment =
environment =
PATH=${
autoconf:location}/bin:${bison:location}/bin:${flex
:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${
mesa-python:location}/bin:${bison:location}/bin:${cmake:location}/bin:${flex:location}/bin:${ninja:location}/bin:${pkgconfig
:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${damageproto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libexpat:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${libdrm:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
PKG_CONFIG_PATH=${damageproto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libexpat:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${libdrm:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
:${libxshmfence:location}/lib/pkgconfig:${xxf86vm:location}/lib/pkgconfig:${libXrandr:location}/lib/pkgconfig:${libXrandr:pkg_config_depends}
PYTHON2=${buildout:executable}
PYTHON2=${buildout:executable}
ACLOCAL=${automake:location}/bin/aclocal -I${libtool:location}/share/aclocal -I${pkgconfig:location}/share/aclocal
AUTOCONF=${autoconf:location}/bin/autoconf
AUTOMAKE=${automake:location}/bin/automake
LDFLAGS=-Wl,-rpath=${libdrm:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${libdrm:location}/lib -Wl,-rpath=${zlib:location}/lib
make-options =
CFLAGS=-I${libxcb:location}/include -I${libX11:location}/include -I${xfixes:location}/include
-j1
LIBTOOL=${libtool:location}/bin/libtool
[glu]
[glu]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
# tar.bz2 cannot be well extracted why ?
url = https://archive.mesa3d.org/glu/glu-9.0.3.tar.xz
url = ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.gz
md5sum = 06a4fff9179a98ea32ef41b6d83f6b19
md5sum = bbc57d4fe3bd3fb095bdbef6fcb977c4
configure-options =
configure-options =
--disable-static
--disable-static
environment =
environment =
PATH=${pkgconfig:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:
${xz-utils:location}/bin:
%(PATH)s
PKG_CONFIG_PATH=${damageproto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libexpat:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${mesa:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
PKG_CONFIG_PATH=${damageproto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig:${xorgproto:location}/share/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libexpat:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${mesa:location}/lib/pkgconfig:${xdamage:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
LDFLAGS=-Wl,-rpath=${libdrm:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${libdrm:location}/lib -Wl,-rpath=${zlib:location}/lib
component/mesa/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch
0 → 100644
View file @
e8a6164c
From a5d9cd935ddc49c0ac4cefe8e9dec8b137684c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 17 Nov 2023 18:29:59 +0900
Subject: [PATCH] explicitly add -lstdc++fs for gcc 8
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a734ad1f..e1ce3149 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,6 +181,7 @@
endif()
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
+link_libraries(stdc++fs)
function(glslang_set_link_args TARGET)
# For MinGW compiles, statically link against the GCC and C++ runtimes.
--
2.40.1
component/xorg/buildout.cfg
View file @
e8a6164c
...
@@ -676,8 +676,8 @@ recipe = slapos.recipe.cmmi
...
@@ -676,8 +676,8 @@ recipe = slapos.recipe.cmmi
shared = true
shared = true
configure-command = ${meson:location}/bin/meson builddir --libdir=lib -Dprefix=@@LOCATION@@
configure-command = ${meson:location}/bin/meson builddir --libdir=lib -Dprefix=@@LOCATION@@
make-binary = ninja -C builddir
make-binary = ninja -C builddir
url = https://dri.freedesktop.org/libdrm/libdrm-2.4.1
06
.tar.xz
url = https://dri.freedesktop.org/libdrm/libdrm-2.4.1
17
.tar.xz
md5sum =
4e316ae1966a1a63c31a3885313a8fb8
md5sum =
69b17be6250b2c863411e0c5f6aefd6a
pkg_config_depends = ${pciaccess:location}/lib/pkgconfig
pkg_config_depends = ${pciaccess:location}/lib/pkgconfig
environment =
environment =
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
...
@@ -721,3 +721,21 @@ md5sum = b553fdb6024c5a137ff925bf4c337724
...
@@ -721,3 +721,21 @@ md5sum = b553fdb6024c5a137ff925bf4c337724
environment =
environment =
PATH=${xz-utils:location}/bin:${pkgconfig:location}/bin:${ninja:location}/bin:%(PATH)s
PATH=${xz-utils:location}/bin:${pkgconfig:location}/bin:${ninja:location}/bin:%(PATH)s
LDFLAGS=-Wl,-rpath=@@LOCATION@@/lib
LDFLAGS=-Wl,-rpath=@@LOCATION@@/lib
[xxf86vm]
recipe = slapos.recipe.cmmi
shared = true
url = https://www.x.org/archive/individual/lib/libXxf86vm-1.1.5.tar.xz
md5sum = 5b913dac587f2de17a02e17f9a44a75f
environment =
PATH=${xz-utils:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
pkg_config_depends = ${xproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libX11:pkg_config_depends}:${xextproto:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${xf86vidmodeproto:location}/lib/pkgconfig
[xf86vidmodeproto]
recipe = slapos.recipe.cmmi
shared = true
url = https://www.x.org/archive/individual/proto/xf86vidmodeproto-2.3.1.tar.gz
md5sum = 99016d0fe355bae0bb23ce00fb4d4a2c
environment =
PATH=${xz-utils:location}/bin:${pkgconfig:location}/bin:%(PATH)s
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment