-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to use Conan port of pdf2htmlEX
- Loading branch information
1 parent
4412bac
commit 56c0a08
Showing
11 changed files
with
396 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set android_home = os.getenv("ANDROID_HOME") %} | ||
{% set ndk_version = "26.1.10909125" %} | ||
{% set api_level = "21" %} | ||
|
||
[settings] | ||
os=Android | ||
os.api_level={{api_level}} | ||
arch=x86 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}} | ||
|
||
[buildenv] | ||
# Cross compile toolchain evn vars are required to build | ||
# libffi, libgettext, libiconv, libxml2 and other autotools packages for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
# https://github.com/conan-io/conan/issues/15376 | ||
# https://github.com/conan-io/conan-center-index/issues/22114 | ||
# https://github.com/conan-io/conan/issues/14077 | ||
AR={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
RANLIB={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
CC={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android{{api_level}}-clang | ||
CXX={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android{{api_level}}-clang++ | ||
LD={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
STRIP={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set android_home = os.getenv("ANDROID_HOME") %} | ||
{% set ndk_version = "26.1.10909125" %} | ||
{% set api_level = "21" %} | ||
|
||
[settings] | ||
os=Android | ||
os.api_level={{api_level}} | ||
arch=armv7 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}} | ||
|
||
[buildenv] | ||
# Cross compile toolchain evn vars are required to build | ||
# libffi, libgettext, libiconv, libxml2 and other autotools packages for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
# https://github.com/conan-io/conan/issues/15376 | ||
# https://github.com/conan-io/conan-center-index/issues/22114 | ||
# https://github.com/conan-io/conan/issues/14077 | ||
AR={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
RANLIB={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
CC={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi{{api_level}}-clang | ||
CXX={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi{{api_level}}-clang++ | ||
LD={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
STRIP={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set android_home = os.getenv("ANDROID_HOME") %} | ||
{% set ndk_version = "26.1.10909125" %} | ||
{% set api_level = "21" %} | ||
|
||
[settings] | ||
os=Android | ||
os.api_level={{api_level}} | ||
arch=armv8 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}} | ||
|
||
[buildenv] | ||
# Cross compile toolchain evn vars are required to build | ||
# libffi, libgettext, libiconv, libxml2 and other autotools packages for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
# https://github.com/conan-io/conan/issues/15376 | ||
# https://github.com/conan-io/conan-center-index/issues/22114 | ||
# https://github.com/conan-io/conan/issues/14077 | ||
AR={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
RANLIB={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
CC={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android{{api_level}}-clang | ||
CXX={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android{{api_level}}-clang++ | ||
LD={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
STRIP={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set android_home = os.getenv("ANDROID_HOME") %} | ||
{% set ndk_version = "26.1.10909125" %} | ||
{% set api_level = "21" %} | ||
|
||
[settings] | ||
os=Android | ||
os.api_level={{api_level}} | ||
arch=x86 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}} | ||
|
||
[buildenv] | ||
# Cross compile toolchain evn vars are required to build | ||
# libffi, libgettext, libiconv, libxml2 and other autotools packages for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
# https://github.com/conan-io/conan/issues/15376 | ||
# https://github.com/conan-io/conan-center-index/issues/22114 | ||
# https://github.com/conan-io/conan/issues/14077 | ||
AR={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
RANLIB={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
CC={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android{{api_level}}-clang | ||
CXX={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android{{api_level}}-clang++ | ||
LD={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
STRIP={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set android_home = os.getenv("ANDROID_HOME") %} | ||
{% set ndk_version = "26.1.10909125" %} | ||
{% set api_level = "21" %} | ||
|
||
[settings] | ||
os=Android | ||
os.api_level={{api_level}} | ||
arch=x86_64 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}} | ||
|
||
[buildenv] | ||
# Cross compile toolchain evn vars are required to build | ||
# libffi, libgettext, libiconv, libxml2 and other autotools packages for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
# https://github.com/conan-io/conan/issues/15376 | ||
# https://github.com/conan-io/conan-center-index/issues/22114 | ||
# https://github.com/conan-io/conan/issues/14077 | ||
AR={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
RANLIB={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
CC={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android{{api_level}}-clang | ||
CXX={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android{{api_level}}-clang++ | ||
LD={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
STRIP={{android_home}}/ndk/{{ndk_version}}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[settings] | ||
os=Linux | ||
arch=x86_64 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=15 | ||
compiler.cppstd=20 | ||
compiler.libcxx=libstdc++11 | ||
|
||
[conf] | ||
tools.build:compiler_executables={'c': 'clang-15', 'cpp': 'clang++-15'} | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[settings] | ||
os=Linux | ||
arch=x86_64 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=15 | ||
compiler.cppstd=20 | ||
compiler.libcxx=libstdc++11 | ||
|
||
[conf] | ||
tools.build:compiler_executables={'c': 'clang-15', 'cpp': 'clang++-15'} | ||
|
||
[options] | ||
# gobject introspection not yet available for conan 2 | ||
poppler/*:with_gobject_introspection=False | ||
|
||
# We are not using xorg functionality in cairo | ||
cairo/*:with_xlib=False | ||
cairo/*:with_xlib_xrender=False | ||
cairo/*:with_xcb=False | ||
cairo/*:with_symbol_lookup=False | ||
|
||
# Unused functionality in GLib | ||
glib/*:with_elf=False | ||
glib/*:with_mount=False | ||
glib/*:with_selinux=False | ||
|
||
# @TODO: These dependencies are currently problematic | ||
freetype/*:with_bzip2=False | ||
freetype/*:with_brotli=False | ||
poppler/*:with_tiff=False | ||
fontforge/*:with_tiff=False | ||
|
||
[replace_requires] | ||
libjpeg/9e: libjpeg/9f | ||
libdeflate/1.19: libdeflate/1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.