Первая сборка на виртуальной машине прошла успешно

This commit is contained in:
2026-01-31 07:37:44 +05:00
parent d5b024c1c7
commit c9f9a18992
1086 changed files with 219012 additions and 354 deletions
+39 -2
View File
@@ -11,6 +11,43 @@ xserver_dep_repo: {
}
EOF
pkg -o REPOS_DIR="$REPO_CONF_DIR" -o repositories_conf="$REPO_CONF_NAME" install -y pixman
pkg -o REPOS_DIR="$REPO_CONF_DIR" -o repositories_conf="$REPO_CONF_NAME" install -y pkgconf pixman libdrm libX11 libglvnd mesa-dri
pkg -o REPOS_DIR="$REPO_CONF_DIR" -o repositories_conf="$REPO_CONF_NAME" install -y xtrans libXfont libxkbfile
pkg delete -y pixman
ln -s /usr/local/share/pkgconfig/glproto.pc /usr/local/libdata/pkgconfig/glproto.pc
cat > /usr/local/libdata/pkgconfig/gl.pc << 'EOF'
prefix=/usr/local
includedir=${prefix}/include
libdir=${prefix}/lib
Name: GL
Description: Legacy OpenGL and GLX library and headers.
Version: 9.2.0
Libs: -L${libdir} -lGL
Cflags: -I${includedir}
EOF
cd xorg-server-1.18.4
./configure --disable-docs --disable-devel-docs --with-dtrace=no --disable-unit-tests
make
make install
unlink /usr/local/libdata/pkgconfig/glproto.pc
cat > /usr/local/libdata/pkgconfig/gl.pc << 'EOF'
prefix=/usr/local
includedir=${prefix}/include
libdir=${prefix}/lib
Name: GL
Description: Legacy OpenGL and GLX library and headers.
Version: 1.2
Libs: -L${libdir} -lGL
Cflags: -I${includedir}
EOF
#pkg delete -y pkgconf pixman libdrm