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
b7a34e5b
Commit
b7a34e5b
authored
Nov 29, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "wip mesa" XXX modified
This reverts commit
99afbc87
.
parent
3d9a21ae
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
114 deletions
+22
-114
component/chromedriver/buildout.cfg
component/chromedriver/buildout.cfg
+0
-7
component/firefox/buildout.cfg
component/firefox/buildout.cfg
+0
-6
component/libepoxy/buildout.cfg
component/libepoxy/buildout.cfg
+1
-1
component/mesa/buildout.cfg
component/mesa/buildout.cfg
+19
-73
component/mesa/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch
...nent/mesa/glslang-explicitly-add-lstdc-fs-for-gcc-8.patch
+0
-24
component/xorg/buildout.cfg
component/xorg/buildout.cfg
+2
-3
No files found.
component/chromedriver/buildout.cfg
View file @
b7a34e5b
...
@@ -5,16 +5,9 @@
...
@@ -5,16 +5,9 @@
[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
../nss/buildout.cfg
=======
../glib/buildout.cfg
../nss/buildout.cfg
>>>>>>> 16a281a40 (wip mesa)
../nspr/buildout.cfg
../nspr/buildout.cfg
../nss/buildout.cfg
../pcre2/buildout.cfg
../pcre2/buildout.cfg
../xorg/buildout.cfg
../xorg/buildout.cfg
...
...
component/firefox/buildout.cfg
View file @
b7a34e5b
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
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/buildout.cfg
../gtk/buildout.cfg
...
@@ -11,7 +10,6 @@ extends =
...
@@ -11,7 +10,6 @@ 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,7 +141,6 @@ library =
...
@@ -143,7 +141,6 @@ 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
...
@@ -152,13 +149,10 @@ library =
...
@@ -152,13 +149,10 @@ 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 @
b7a34e5b
...
@@ -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
:${xxf86vm:location}/lib/pkgconfig:${xxf86vm:pkg_config_depends}:${libdrm:location}/lib/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
component/mesa/buildout.cfg
View file @
b7a34e5b
[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
...
@@ -15,102 +14,49 @@ extends =
...
@@ -15,102 +14,49 @@ extends =
parts =
parts =
mesa
mesa
[glslang]
recipe = slapos.recipe.cmmi
url = https://github.com/KhronosGroup/glslang/archive/refs/tags/13.1.1.tar.gz
md5sum = 65fc5f9ed3440ff7ccd9760327ba1083
shared = true
configure-command = cmake
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]
[mesa]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://archive.mesa3d.org/mesa-23.2.1.tar.xz
url = https://archive.mesa3d.org/mesa-18.0.0.tar.xz
md5sum = 0d89ec154ac9f06a1e876214114ed9af
md5sum = c2a59fc5b56de3e197fa3a6023409e23
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
configure-options =
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=${
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
PATH=${
autoconf:location}/bin:${bison:location}/bin:${flex
: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
:${libxshmfence:location}/lib/pkgconfig:${xxf86vm:location}/lib/pkgconfig:${libXrandr:location}/lib/pkgconfig:${libXrandr:pkg_config_depends}
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
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
CFLAGS=-I${libxcb:location}/include -I${libX11:location}/include -I${xfixes:location}/include
make-options =
-j1
LIBTOOL=${libtool:location}/bin/libtool
[glu]
[glu]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://archive.mesa3d.org/glu/glu-9.0.3.tar.xz
# tar.bz2 cannot be well extracted why ?
md5sum = 06a4fff9179a98ea32ef41b6d83f6b19
url = ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.gz
md5sum = bbc57d4fe3bd3fb095bdbef6fcb977c4
configure-options =
configure-options =
--disable-static
--disable-static
environment =
environment =
PATH=${pkgconfig:location}/bin:
${xz-utils:location}/bin:
%(PATH)s
PATH=${pkgconfig: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
deleted
100644 → 0
View file @
3d9a21ae
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 @
b7a34e5b
...
@@ -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
17
.tar.xz
url = https://dri.freedesktop.org/libdrm/libdrm-2.4.1
06
.tar.xz
md5sum =
69b17be6250b2c863411e0c5f6aefd6a
md5sum =
4e316ae1966a1a63c31a3885313a8fb8
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}
...
@@ -750,4 +750,3 @@ location-pkg-config = ${:location}/lib/pkgconfig
...
@@ -750,4 +750,3 @@ location-pkg-config = ${:location}/lib/pkgconfig
cflags-lib = -L${:location-lib} -Wl,-rpath=${:location-lib}
cflags-lib = -L${:location-lib} -Wl,-rpath=${:location-lib}
cflags-include = -I${:location-include}
cflags-include = -I${:location-include}
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