-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
457 additions
and
114 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 |
---|---|---|
|
@@ -76,6 +76,10 @@ jobs: | |
pkgconf | ||
yasm | ||
nasm | ||
libtool | ||
bison | ||
automake | ||
autoconf | ||
- name: Remove MSYS2 link | ||
shell: msys2 {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
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
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
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
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,33 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024 System233 | ||
# | ||
# This software is released under the MIT License. | ||
# https://opensource.org/licenses/MIT | ||
|
||
set -e -x | ||
echo SET test | ||
SRC_DIR=$(pwd) | ||
|
||
export TOOLCHAIN_SRCDIR="$(pwd)/toolchain" | ||
export AR=win-ar | ||
export RANLIB=win-ranlib | ||
export PATH=$TOOLCHAIN_SRCDIR:$PATH | ||
|
||
echo -e "\n[Build fribidi]" | ||
cd $SRC_DIR/fribidi | ||
NOCONFIGURE=1 ./autogen.sh | ||
FRIBIDI_CFLAGS="-DHAVE_STRINGIZE" | ||
CFLAGS="$FRIBIDI_CFLAGS" ./configure "--host=${BUILD_ARCH}-windows" --prefix=$INSTALL_PREFIX --disable-shared --enable-static --disable-dependency-tracking | ||
make -C lib fribidi-unicode-version.h CFLAGS="$FRIBIDI_CFLAGS" | ||
make -C lib gen CFLAGS="$FRIBIDI_CFLAGS" | ||
make -C lib install -j$(nproc) CFLAGS="$CFLAGS $FRIBIDI_CFLAGS" | ||
make install-data-am | ||
|
||
|
||
echo -e "\n[Build libass]" | ||
cd $SRC_DIR/libass | ||
NOCONFIGURE=1 ./autogen.sh | ||
CFLAGS="$CFLAGS" ./configure "--host=${BUILD_ARCH}-windows" --prefix=$INSTALL_PREFIX --disable-shared --enable-static --disable-asm --disable-dependency-tracking | ||
make install -j$(nproc) | ||
make install-data-am | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,64 @@ | ||
diff --git a/Makefile.am b/Makefile.am | ||
index 8c516fb..88827ef 100644 | ||
--- a/Makefile.am | ||
+++ b/Makefile.am | ||
@@ -4,11 +4,11 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
## The order of subdirs is important, don't change without a reason. | ||
-SUBDIRS = gen.tab lib bin doc test | ||
+SUBDIRS = lib bin doc test | ||
|
||
EXTRA_DIST = autogen.sh ChangeLog.old \ | ||
meson.build meson_options.txt bin/meson.build doc/meson.build \ | ||
- gen.tab/meson.build lib/meson.build test/meson.build \ | ||
+ lib/meson.build test/meson.build \ | ||
test/test-runner.py test/unicode-conformance/meson.build \ | ||
README.md | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 9be44d0..7abb3d2 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -168,7 +168,6 @@ AC_SUBST(ENABLE_SHARED_FALSE) | ||
AC_CONFIG_FILES([fribidi.pc | ||
lib/fribidi-config.h | ||
Makefile | ||
- gen.tab/Makefile | ||
lib/Makefile | ||
bin/Makefile | ||
doc/Makefile | ||
diff --git a/lib/Makefile.am b/lib/Makefile.am | ||
index 22b680a..8dcbfd0 100644 | ||
--- a/lib/Makefile.am | ||
+++ b/lib/Makefile.am | ||
@@ -56,28 +56,11 @@ libfribidi_la_SOURCES = \ | ||
|
||
libfribidi_la_CPPFLAGS = @FRIBIDI_CPPFLAGS@ -DFRIBIDI_BUILD | ||
|
||
-GENERATEDSOURCES = \ | ||
- fribidi-unicode-version.h \ | ||
- arabic-shaping.tab.i \ | ||
- bidi-type.tab.i \ | ||
- joining-type.tab.i \ | ||
- mirroring.tab.i \ | ||
- brackets.tab.i \ | ||
- brackets-type.tab.i | ||
- | ||
-BUILT_SOURCES = \ | ||
- $(GENERATEDSOURCES) \ | ||
- fribidi-config.h | ||
|
||
-$(GENERATEDSOURCES): | ||
- @(cd $(top_builddir)/gen.tab && \ | ||
- $(MAKE) $(AM_MAKEFLAGS) $@) && \ | ||
- (test -f $@ || mv $(top_builddir)/gen.tab/$@ .) | ||
+BUILT_SOURCES = fribidi-config.h | ||
|
||
# re-generate all built sources: | ||
gen: | ||
- @(cd $(top_builddir)/gen.tab && \ | ||
- $(MAKE) $(AM_MAKEFLAGS) $@) && \ | ||
$(RM) $(BUILT_SOURCES) | ||
$(MAKE) $(AM_MAKEFLAGS) $(BUILT_SOURCES) | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.