-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpkg/libaom gpkg/libdav1d gpkg/lld gpkg/glib gpkg/fribidi gpkg/harfbuzz gpkg/libcairo gpkg/libdatrie gpkg/libgraphite gpkg/liblzo gpkg/libpixman gpkg/libthai gpkg/pango gpkg/gobject-introspection
- Loading branch information
Showing
36 changed files
with
517 additions
and
1 deletion.
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,12 @@ | ||
TERMUX_PKG_HOMEPAGE=https://github.com/fribidi/fribidi/ | ||
TERMUX_PKG_DESCRIPTION="Implementation of the Unicode Bidirectional Algorithm" | ||
TERMUX_PKG_LICENSE="LGPL-2.0" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION="1.0.13" | ||
TERMUX_PKG_SRCURL=https://github.com/fribidi/fribidi/releases/download/v$TERMUX_PKG_VERSION/fribidi-$TERMUX_PKG_VERSION.tar.xz | ||
TERMUX_PKG_SHA256=7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2 | ||
TERMUX_PKG_DEPENDS="glibc" | ||
|
||
termux_step_configure() { | ||
termux_step_configure_meson | ||
} |
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,34 @@ | ||
TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/glib/ | ||
TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and applications written in C" | ||
TERMUX_PKG_LICENSE="LGPL-2.1" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION="2.78.1" | ||
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${TERMUX_PKG_VERSION%.*}/glib-${TERMUX_PKG_VERSION}.tar.xz | ||
TERMUX_PKG_SHA256=915bc3d0f8507d650ead3832e2f8fb670fce59aac4d7754a7dab6f1e6fed78b2 | ||
TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, openssl-glibc, libunwind-glibc" | ||
TERMUX_PKG_PYTHON_COMMON_DEPS="pygments, itstool" | ||
# -Dgtk_doc=true | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
--default-library both | ||
-Druntime_dir=$TERMUX_PREFIX/var/run | ||
-Dglib_debug=disabled | ||
-Dselinux=disabled | ||
-Dsysprof=enabled | ||
-Dman=true | ||
" | ||
|
||
termux_step_pre_configure() { | ||
CFLAGS+=" -g3 -ffat-lto-objects" | ||
CXXFLAGS+=" -g3 -ffat-lto-objects" | ||
} | ||
|
||
termux_step_create_debscripts() { | ||
for i in postinst postrm triggers; do | ||
sed \ | ||
"s|@TERMUX_PREFIX@|${TERMUX_PREFIX}|g; s|@TERMUX_PREFIX_CLASSICAL@|${TERMUX_PREFIX_CLASSICAL}|g" \ | ||
"${TERMUX_PKG_BUILDER_DIR}/hooks/${i}.in" > ./${i} | ||
chmod 755 ./${i} | ||
done | ||
unset i | ||
chmod 644 ./triggers | ||
} |
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,13 @@ | ||
--- ./gio/gdbusprivate.c.orig 2021-12-10 17:28:44.551721009 +0530 | ||
+++ ./gio/gdbusprivate.c 2021-12-10 19:24:17.521718364 +0530 | ||
@@ -2477,8 +2477,9 @@ | ||
|
||
/* Copy what dbus.git does: allow the /var/lib path to be configurable at | ||
* build time, but hard-code the system-wide machine ID path in /etc. */ | ||
+ /* Note that LOCALSTATEDIR is defined as "@TERMUX_PREFIX@/var". */ | ||
const gchar *var_lib_path = LOCALSTATEDIR "/lib/dbus/machine-id"; | ||
- const gchar *etc_path = "/etc/machine-id"; | ||
+ const gchar *etc_path = "@TERMUX_PREFIX@/etc/machine-id"; | ||
|
||
if (!g_file_get_contents (var_lib_path, | ||
&ret, |
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,11 @@ | ||
--- ./gio/gkeyfilesettingsbackend.c.orig 2021-12-10 19:39:09.321718024 +0530 | ||
+++ ./gio/gkeyfilesettingsbackend.c 2021-12-10 19:39:26.371718018 +0530 | ||
@@ -662,7 +662,7 @@ | ||
load_system_settings (GKeyfileSettingsBackend *kfsb) | ||
{ | ||
GError *error = NULL; | ||
- const char *dir = "/etc/glib-2.0/settings"; | ||
+ const char *dir = "@TERMUX_PREFIX@/etc/glib-2.0/settings"; | ||
char *path; | ||
char *contents; | ||
|
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,11 @@ | ||
--- ./gio/gnetworking.h.in.orig 2021-12-10 19:44:29.271717902 +0530 | ||
+++ ./gio/gnetworking.h.in 2021-12-10 19:45:00.881717890 +0530 | ||
@@ -51,7 +51,7 @@ | ||
#endif | ||
|
||
#ifndef _PATH_RESCONF | ||
-#define _PATH_RESCONF "/etc/resolv.conf" | ||
+#define _PATH_RESCONF "@TERMUX_PREFIX@/etc/resolv.conf" | ||
#endif | ||
|
||
#ifndef CMSG_LEN |
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,11 @@ | ||
--- ./gio/xdgmime/xdgmime.c.orig 2021-12-10 20:05:07.591717430 +0530 | ||
+++ ./gio/xdgmime/xdgmime.c 2021-12-10 20:05:11.861717428 +0530 | ||
@@ -235,7 +235,7 @@ | ||
xdg_data_dirs = getenv ("XDG_DATA_DIRS"); | ||
|
||
if (xdg_data_dirs == NULL) | ||
- xdg_data_dirs = "/usr/local/share/:/usr/share/"; | ||
+ xdg_data_dirs = "@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/"; | ||
|
||
/* Work out how many dirs we’re dealing with. */ | ||
if (xdg_data_home != NULL || home != NULL) |
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,3 @@ | ||
TERMUX_SUBPKG_INCLUDE="glibc/share/bash-completion/ glibc/share/man/man1/ glibc/bin/" | ||
TERMUX_SUBPKG_DESCRIPTION="Programs for the GLib library" | ||
TERMUX_SUBPKG_DEPENDS="python-glibc" |
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,11 @@ | ||
--- ./glib/gcharset.c.orig 2021-12-10 21:38:06.571715302 +0530 | ||
+++ ./glib/gcharset.c 2021-12-10 21:38:11.361715300 +0530 | ||
@@ -494,7 +494,7 @@ | ||
if (g_once_init_enter (&alias_table)) | ||
{ | ||
GHashTable *table = g_hash_table_new (g_str_hash, g_str_equal); | ||
- read_aliases ("/usr/share/locale/locale.alias", table); | ||
+ read_aliases ("@TERMUX_PREFIX@/share/locale/locale.alias", table); | ||
g_once_init_leave (&alias_table, table); | ||
} | ||
|
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,20 @@ | ||
--- ./glib/gspawn.c.orig 2021-12-10 22:01:14.151714772 +0530 | ||
+++ ./glib/gspawn.c 2021-12-10 22:01:19.781714770 +0530 | ||
@@ -2200,7 +2200,7 @@ | ||
* * what to search if PATH is unset. POSIX may, dunno. | ||
* */ | ||
|
||
- chosen_search_path = "/bin:/usr/bin:."; | ||
+ chosen_search_path = "@TERMUX_PREFIX@/bin:."; | ||
} | ||
|
||
if (search_path || search_path_from_envp) | ||
@@ -2593,7 +2593,7 @@ | ||
if (argc + 2 > argv_buffer_len) | ||
return FALSE; | ||
|
||
- argv_buffer[0] = (char *) "/bin/sh"; | ||
+ argv_buffer[0] = (char *) "@TERMUX_PREFIX@/bin/sh"; | ||
argv_buffer[1] = (char *) file; | ||
while (argc > 0) | ||
{ |
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,38 @@ | ||
--- ./glib/gutils.c.orig 2021-12-11 13:35:15.354088542 +0530 | ||
+++ ./glib/gutils.c 2021-12-11 13:36:59.724088502 +0530 | ||
@@ -369,7 +369,7 @@ | ||
* what to search if PATH is unset. POSIX may, dunno. | ||
*/ | ||
|
||
- path = "/bin:/usr/bin:."; | ||
+ path = "@TERMUX_PREFIX@/bin:."; | ||
} | ||
#else | ||
n = GetModuleFileNameW (NULL, wfilename, MAXPATHLEN); | ||
@@ -949,7 +949,7 @@ | ||
if (tmp == NULL || *tmp == '\0') | ||
{ | ||
g_free (tmp); | ||
- tmp = g_strdup ("/tmp"); | ||
+ tmp = g_strdup ("@TERMUX_PREFIX_CLASSICAL@/tmp"); | ||
} | ||
#endif /* !G_OS_WIN32 */ | ||
|
||
@@ -1526,7 +1526,7 @@ | ||
else | ||
return NULL; | ||
#elif defined (G_OS_UNIX) | ||
- const gchar * const os_release_files[] = { "/etc/os-release", "/usr/lib/os-release" }; | ||
+ const gchar * const os_release_files[] = { "@TERMUX_PREFIX@/etc/os-release", "@TERMUX_PREFIX@/lib/os-release" }; | ||
gsize i; | ||
gchar *buffer = NULL; | ||
gchar *result = NULL; | ||
@@ -2465,7 +2465,7 @@ | ||
*/ | ||
#ifndef G_OS_WIN32 | ||
if (!data_dirs || !data_dirs[0]) | ||
- data_dirs = "/usr/local/share/:/usr/share/"; | ||
+ data_dirs = "@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/"; | ||
|
||
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0); | ||
#else |
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,10 @@ | ||
#!@TERMUX_PREFIX_CLASSICAL@/bin/sh | ||
|
||
# glib-compile-schemas is located in glib-bin package which | ||
# may not be installed. | ||
unset LD_PRELOAD | ||
if [ -x "$(command -v glib-compile-schemas)" ]; then | ||
@TERMUX_PREFIX@/glib-compile-schemas "@TERMUX_PREFIX@/share/glib-2.0/schemas" > /dev/null | ||
fi | ||
|
||
exit 0 |
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,4 @@ | ||
#!@TERMUX_PREFIX_CLASSICAL@/bin/sh | ||
unset LD_PRELOAD | ||
rm -f "@TERMUX_PREFIX@/share/glib-2.0/schemas/gschemas.compiled" | ||
exit 0 |
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 @@ | ||
interest-noawait @TERMUX_PREFIX@/share/glib-2.0/schemas |
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,23 @@ | ||
--- src/meson.build 2023-10-25 14:33:59.000000000 +0300 | ||
+++ src/meson.build.patch 2023-12-05 12:27:21.267716262 +0300 | ||
@@ -967,20 +967,6 @@ | ||
glib_conf.set('HAVE_EVENTFD', 1) | ||
endif | ||
|
||
-# Check for pidfd_open(2) | ||
-if cc.links('''#include <sys/syscall.h> | ||
- #include <sys/wait.h> | ||
- #include <linux/wait.h> | ||
- #include <unistd.h> | ||
- int main (int argc, char ** argv) { | ||
- siginfo_t child_info = { 0, }; | ||
- syscall (SYS_pidfd_open, 0, 0); | ||
- waitid (P_PIDFD, 0, &child_info, WEXITED | WNOHANG); | ||
- return 0; | ||
- }''', name : 'pidfd_open(2) system call') | ||
- glib_conf.set('HAVE_PIDFD', 1) | ||
-endif | ||
- | ||
# Check for __uint128_t (gcc) by checking for 128-bit division | ||
uint128_t_src = '''int main() { | ||
static __uint128_t v1 = 100; |
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,37 @@ | ||
TERMUX_PKG_HOMEPAGE=https://gi.readthedocs.io/ | ||
TERMUX_PKG_DESCRIPTION="Uniform machine readable API" | ||
TERMUX_PKG_LICENSE="LGPL-2.0, GPL-2.0" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION="1.78.1" | ||
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gobject-introspection/${TERMUX_PKG_VERSION%.*}/gobject-introspection-${TERMUX_PKG_VERSION}.tar.xz | ||
TERMUX_PKG_SHA256=bd7babd99af7258e76819e45ba4a6bc399608fe762d83fde3cac033c50841bb4 | ||
TERMUX_PKG_DEPENDS="libgirepository-glibc, python-glibc" | ||
TERMUX_PKG_BUILD_DEPENDS="coreutils-glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-Dpython=$TERMUX_PREFIX/bin/python3 | ||
" | ||
|
||
termux_step_pre_configure() { | ||
CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython" | ||
} | ||
|
||
termux_step_configure() { | ||
termux_setup_meson | ||
|
||
local _meson_buildtype="minsize" | ||
local _meson_stripflag="--strip" | ||
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then | ||
_meson_buildtype="debug" | ||
_meson_stripflag= | ||
fi | ||
|
||
CC=gcc CXX=g++ CFLAGS= CXXFLAGS= CPPFLAGS= LDFLAGS= $TERMUX_MESON \ | ||
$TERMUX_PKG_SRCDIR \ | ||
$TERMUX_PKG_BUILDDIR \ | ||
--native-file $TERMUX_MESON_CROSSFILE \ | ||
--prefix $TERMUX_PREFIX \ | ||
--libdir lib \ | ||
--buildtype ${_meson_buildtype} \ | ||
${_meson_stripflag} \ | ||
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS | ||
} |
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,11 @@ | ||
TERMUX_SUBPKG_INCLUDE=" | ||
glibc/include/gobject-introspection-1.0 | ||
glibc/lib/libgirepository-1.0.so* | ||
glibc/lib/pkgconfig/gobject-introspection*-1.0.pc | ||
glibc/lib/girepository-1.0/GIRepository-2.0.typelib | ||
glibc/share/gir-1.0/GIRepository-2.0.gir | ||
glibc/share/gtk-doc | ||
" | ||
TERMUX_SUBPKG_DESCRIPTION="Introspection system for GObject-based libraries" | ||
TERMUX_SUBPKG_DEPEND_ON_PARENT="no" | ||
TERMUX_SUBPKG_DEPENDS="libffi-glibc, glib-glibc" |
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,11 @@ | ||
--- src/giscanner/shlibs.py 2023-09-16 14:32:07.000000000 +0300 | ||
+++ src/giscanner/shlibs.py.patch 2023-12-11 10:29:47.200883716 +0300 | ||
@@ -102,7 +102,7 @@ | ||
elif platform_system == 'Darwin': | ||
args.extend(['otool', '-L', binary.args[0]]) | ||
else: | ||
- args.extend(['ldd', binary.args[0]]) | ||
+ args.extend(['@TERMUX_PREFIX@/bin/ldd', binary.args[0]]) | ||
output = subprocess.check_output(args) | ||
if isinstance(output, bytes): | ||
output = output.decode("utf-8", "replace") |
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,15 @@ | ||
--- src/tools/meson.build 2023-11-18 11:38:04.885354934 +0300 | ||
+++ src/tools/meson.build.patch 2023-11-18 11:42:40.645354829 +0300 | ||
@@ -9,11 +9,7 @@ | ||
tools += [['g-ir-doc-tool', 'docmain', 'doc_main']] | ||
endif | ||
|
||
-if cc.get_id() == 'msvc' | ||
- python_cmd = '/usr/bin/env ' + python.path() | ||
-else | ||
- python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0]) | ||
-endif | ||
+python_cmd = '@TERMUX_PREFIX@/bin/env ' + python.path() | ||
|
||
tool_output = [] | ||
foreach tool : tools |
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,24 @@ | ||
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/HarfBuzz/ | ||
TERMUX_PKG_DESCRIPTION="OpenType text shaping engine" | ||
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=8.3.0 | ||
TERMUX_PKG_SRCURL=https://github.com/harfbuzz/harfbuzz/archive/${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=6a093165442348d99f3307480ea87ed83bdabaf642cdd9548cff6b329e93bfac | ||
TERMUX_PKG_DEPENDS="freetype-glibc, glib-glibc, libcairo-glibc, libgraphite-glibc, libicu-glibc" | ||
TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-Ddocs=disabled | ||
-Dgraphite2=enabled | ||
-Dintrospection=enabled | ||
" | ||
|
||
termux_step_pre_configure() { | ||
CFLAGS="${CFLAGS/-fexceptions/}" | ||
CXXFLAGS="${CXXFLAGS/-fexceptions/}" | ||
export PATH="$TERMUX_PREFIX/bin:$PATH" | ||
} | ||
|
||
termux_step_configure() { | ||
termux_step_configure_meson | ||
} |
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,6 @@ | ||
TERMUX_SUBPKG_INCLUDE=" | ||
glibc/lib/libharfbuzz-cairo* | ||
glibc/lib/pkgconfig/harfbuzz-cairo.pc | ||
glibc/include/harfbuzz/hb-cairo.h | ||
" | ||
TERMUX_SUBPKG_DESCRIPTION="OpenType text shaping engine Cairo backend" |
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,6 @@ | ||
TERMUX_SUBPKG_INCLUDE=" | ||
glibc/include/harfbuzz/hb-icu.h | ||
glibc/lib/libharfbuzz-icu* | ||
glibc/lib/pkgconfig/harfbuzz-icu.pc | ||
" | ||
TERMUX_SUBPKG_DESCRIPTION="OpenType text shaping engine ICU backend" |
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,2 @@ | ||
TERMUX_SUBPKG_INCLUDE="glibc/bin/" | ||
TERMUX_SUBPKG_DESCRIPTION="Tools using the harfbuzz library" |
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,3 @@ | ||
TERMUX_SUBPKG_INCLUDE="glibc/bin/" | ||
TERMUX_SUBPKG_DESCRIPTION="Command-line tools using AOMedia library" | ||
TERMUX_SUBPKG_DEPENDS="gcc-libs-glibc" |
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,19 @@ | ||
TERMUX_PKG_HOMEPAGE=https://aomedia.org/ | ||
TERMUX_PKG_DESCRIPTION="AV1 Video Codec Library" | ||
TERMUX_PKG_LICENSE="BSD 2-Clause" | ||
TERMUX_PKG_LICENSE_FILE="LICENSE, PATENTS" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=3.7.0 | ||
TERMUX_PKG_SRCURL=https://storage.googleapis.com/aom-releases/libaom-$TERMUX_PKG_VERSION.tar.gz | ||
TERMUX_PKG_SHA256=d1773bb6f050b430af47741306ac37a6aa2fec7364cb0dc27e3b1454a138934f | ||
TERMUX_PKG_DEPENDS="glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-DCMAKE_BUILD_TYPE=None | ||
-DBUILD_SHARED_LIBS=1 | ||
-DENABLE_TESTS=0 | ||
" | ||
|
||
termux_step_pre_configure() { | ||
CFLAGS="${CFLAGS/-O2/-O3}" | ||
CXXFLAGS="${CXXFLAGS/-O2/-O3}" | ||
} |
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,15 @@ | ||
TERMUX_PKG_HOMEPAGE=https://cairographics.org | ||
TERMUX_PKG_DESCRIPTION="Cairo 2D vector graphics library" | ||
TERMUX_PKG_LICENSE="LGPL-2.1" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=1.18.0 | ||
TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/cairo/cairo/-/archive/${TERMUX_PKG_VERSION}/cairo-${TERMUX_PKG_VERSION}.tar.bz2 | ||
TERMUX_PKG_SHA256=abf8fba4d510086a492783c3e0828e90b32734738fd80906595617d229d02bab | ||
TERMUX_PKG_DEPENDS="fontconfig-glibc, glib-glibc, libpng-glibc, libx11-glibc, libxcb-glibc, libxext-glibc, libxrender-glibc, liblzo-glibc, libpixman-glibc, zlib-glibc" | ||
#-Dgtk_doc=true | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-Ddwrite=disabled | ||
-Dspectre=disabled | ||
-Dsymbol-lookup=disabled | ||
-Dtests=disabled | ||
" |
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,12 @@ | ||
diff -uNr cairo-1.14.12/util/cairo-script/cairo-script-operators.c cairo-1.14.12.mod/util/cairo-script/cairo-script-operators.c | ||
--- cairo-1.14.12/util/cairo-script/cairo-script-operators.c 2017-12-05 00:26:25.000000000 +0200 | ||
+++ cairo-1.14.12.mod/util/cairo-script/cairo-script-operators.c 2018-06-19 17:48:57.767824702 +0300 | ||
@@ -1719,7 +1719,7 @@ | ||
static void * | ||
_mmap_bytes (const struct mmap_vec *vec, int count) | ||
{ | ||
- char template[] = "/tmp/csi-font.XXXXXX"; | ||
+ char template[] = "@TERMUX_PREFIX_CLASSICAL@/tmp/csi-font.XXXXXX"; | ||
void *ptr; | ||
int fd; | ||
int num_bytes; |
Oops, something went wrong.