Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compile freetype with harfbuzz, reduce manylinux wheelsize#3445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
illume merged 3 commits intomainfromankith26-freetype-harfbuzz
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
Add latest pkg-config to manylinux docker images
  • Loading branch information
Ankith committedSep 13, 2022
commitf8863da9aae075988428123f8317a4022ad9bc8c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,9 @@ RUN yum install -y zlib-devel libX11-devel\
libXrandr-devel libXinerama-devel libXcomposite-devel mesa-libGLU-devel xz
RUN yum install -y libcap-devel libxkbcommon-devel

ADD pkg-config /pkg-config_build/
RUN ["bash", "/pkg-config_build/build-pkg-config.sh"]

ADD cmake /cmake_build/
RUN ["bash", "/cmake_build/build-cmake.sh"]

Expand Down
3 changes: 3 additions & 0 deletionsbuildconfig/manylinux-build/docker_base/Dockerfile-i686
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,6 +22,9 @@ RUN linux32 yum install -y dbus-devel \
libXrandr-devel libXinerama-devel libXcomposite-devel mesa-libGLU-devel xz
RUN linux32 yum install -y libcap-devel libxkbcommon-devel

ADD pkg-config /pkg-config_build/
RUN ["linux32", "bash", "/pkg-config_build/build-pkg-config.sh"]

ADD cmake /cmake_build/
RUN ["linux32", "bash", "/cmake_build/build-cmake.sh"]

Expand Down
3 changes: 3 additions & 0 deletionsbuildconfig/manylinux-build/docker_base/Dockerfile-x86_64
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,9 @@ RUN yum install -y zlib-devel libX11-devel\
libXrandr-devel libXinerama-devel libXcomposite-devel mesa-libGLU-devel xz
RUN yum install -y libcap-devel libxkbcommon-devel

ADD pkg-config /pkg-config_build/
RUN ["bash", "/pkg-config_build/build-pkg-config.sh"]

ADD cmake /cmake_build/
RUN ["bash", "/cmake_build/build-cmake.sh"]

Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
#!/bin/bash

# This file exists because pkg-config is too old on manylinux docker centos
# images (the older version segfaults if it gets a cyclic dependency, like
# freetype2+harfbuzz)

set -e -x

cd $(dirname `readlink -f "$0"`)

# We save the compiled-in PKG_CONFIG_PATH of the pre-existing pkg-config, and
# re-use it with the new pkg-config
COMPILED_PKGCONFIG_DIRS=$(pkg-config --variable pc_path pkg-config)

# append path(s) where other installs put .pc files
COMPILED_PKGCONFIG_DIRS="${COMPILED_PKGCONFIG_DIRS}:/usr/local/lib/pkgconfig"

PKGCONFIG=pkg-config-0.29.2

curl -sL --retry 10 https://pkg-config.freedesktop.org/releases/${PKGCONFIG}.tar.gz > ${PKGCONFIG}.tar.gz
sha512sum -c pkg-config.sha512

tar xzf ${PKGCONFIG}.tar.gz
cd $PKGCONFIG

# Passing --with-internal-glib will make this pickup internally vendored glib
# Use this flag if there are build issues with this step later on
./configure $ARCHS_CONFIG_FLAG --with-pc-path=$COMPILED_PKGCONFIG_DIRS
make
make install

if [[ "$OSTYPE" == "darwin"* ]]; then
# Install to mac deps cache dir as well
make install DESTDIR=${MACDEP_CACHE_PREFIX_PATH}
fi
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
4861ec6428fead416f5cbbbb0bbad10b9152967e481d4b0ff2eb396a9f297f552984c9bb72f6864a37dcd8fca1d9ccceda3ef18d8f121938dbe4fdf2b870fe75 pkg-config-0.29.2.tar.gz

[8]ページ先頭

©2009-2025 Movatter.jp