Первая сборка на виртуальной машине прошла успешно
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user