aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-13 08:27:37 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-13 08:27:37 -0700
commitd1a19f0d477a6249d8af9322317b8434b86260ea (patch)
tree59e49fc95018bb9d09e4a76a012f6f06ae345c67 /vendor
parent7d7af85919bbd352bb7dc0b5751b3684f8f0a8e4 (diff)
fix(email): bytes error. updated vendoring
Diffstat (limited to 'vendor')
-rwxr-xr-xvendor/sync105
1 files changed, 30 insertions, 75 deletions
diff --git a/vendor/sync b/vendor/sync
index 2a49a2b..6797185 100755
--- a/vendor/sync
+++ b/vendor/sync
@@ -183,93 +183,48 @@ build_wlroots()
}
# ------------------------------------------------------------------------
-# harfbuzz
+# readline
-HARFBUZZ_URL="https://github.com/harfbuzz/harfbuzz.git"
-HARFBUZZ_TAG="3.0.0"
+READLINE_URL="https://git.savannah.gnu.org/git/readline.git"
+READLINE_TAG="readline-8.1-rc3"
-build_harfbuzz()
+build_readline()
{
- git clone $HARFBUZZ_URL
- cd harfbuzz && git checkout $HARFBUZZ_TAG
- meson \
- --prefix=$ROOT \
- --includedir=include/vendor \
- --libdir=lib/vendor \
- --buildtype=minsize \
- -Ddefault_library=static\
- -Dglib=disabled \
- -Dgobject=disabled \
- -Ddocs=disabled \
- -Db_lto="true"\
- build/ \
- && ninja -C build/ \
- && meson install -C build
-
- mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig
- rm -rf $ROOT/lib/vendor/pkgconfig
-
- cd $VENDOR
- echo $HARFBUZZ_TAG > harfbuzz/build.tag
-}
-
-# ------------------------------------------------------------------------
-# freetype2
-
-FREETYPE_URL="git clone https://gitlab.freedesktop.org/freetype/freetype.git"
-FREETYPE_TAG="3.0.0"
-
-build_harfbuzz()
-{
- git clone $HARFBUZZ_URL
- cd harfbuzz && git checkout $HARFBUZZ_TAG
- meson \
+ git clone $READLINE_URL readline
+ cd readline && git checkout $READLINE_TAG
+ ./configure \
--prefix=$ROOT \
- --includedir=include/vendor \
- --libdir=lib/vendor \
- --buildtype=minsize \
- -Ddefault_library=static\
- -Dglib=disabled \
- -Dgobject=disabled \
- -Ddocs=disabled \
- -Db_lto="true"\
- build/ \
- && ninja -C build/ \
- && meson install -C build
-
- mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig
- rm -rf $ROOT/lib/vendor/pkgconfig
+ --includedir=$ROOT/include/vendor \
+ --disable-shared
+ make && make install
cd $VENDOR
- echo $HARFBUZZ_TAG > harfbuzz/build.tag
+ echo $READLINE_TAG > readline/build.tag
}
# ------------------------------------------------------------------------
-# fontconfig
+# ncurses
-FONTCONFIG_URL="https://github.com/freedesktop/fontconfig.git"
-FONTCONFIG_TAG="2.3.94"
+NCURSES_URL="https://github.com/mirror/ncurses.git"
+NCURSES_TAG="v6.2"
-build_fontconfig()
+build_ncurses()
{
- git clone $FONTCONFIG_URL
- cd fontconfig && git checkout $FONTCONFIG_TAG
- meson \
+ git clone $NCURSES_URL ncurses
+ cd ncurses && git checkout $NCURSES_TAG
+ ./configure \
--prefix=$ROOT \
- --includedir=include/vendor \
- --libdir=lib/vendor \
- -Ddefault_library=static \
- -Dtools=disabled \
- -Dtests=disabled \
- build/ \
- && ninja -C build/ \
- && meson install -C build
-
- mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig
- rm -rf $ROOT/lib/vendor/pkgconfig
+ --includedir=$ROOT/include/vendor \
+ --with-normal \
+ --disable-shared \
+ --without-cxx \
+ --without-cxx-binding \
+ --without-manpages \
+ --enable-widec
+ make && make install.libs && make install.includes
cd $VENDOR
- echo $FONTCONFIG_TAG > fontconfig/build.tag
+ echo $NCURSES_TAG > ncurses/build.tag
}
# ------------------------------------------------------------------------
@@ -294,7 +249,7 @@ update nlopt $NLOPT_TAG
update musl $MUSL_TAG
update blas $BLAS_TAG
update zlib $ZLIB_TAG
+
update wlroots $WLROOTS_TAG
-update fontconfig $FONTCONFIG_TAG
-# update harfbuzz $HARFBUZZ_TAG
-# update glfw $GLFW_TAG
+update ncurses $NCURSES_TAG
+update readline $READLINE_TAG