-
Notifications
You must be signed in to change notification settings - Fork 104
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump crengine: minor fixes, upstream picks #1252
Conversation
Includes: - (Upstream) Fix errors in lString16 to 32 update - (Upstream) Misc Win32 fixes - (Upstream) lString32: add 2 additional pos() methods - (Upstream) Ignore WORD_JOINER when font has no glyph - (Upstream) FB2 metadata: discard empty genres - FB2: mark 2nd++ BODYs as non-linear - Fix support in EPUB for <img src="data:image/png;base64,...> - XML parsing: correctly parse CDATA
Thanks @pazos, waiting for your feedback before bumping base into front. |
@poire-z: nothing to do with -fvisibility=hidden. The following diff fixes the issue diff --git a/Makefile b/Makefile
index b49b784e..f7ba5656 100644
--- a/Makefile
+++ b/Makefile
@@ -190,11 +190,11 @@ ifdef DARWIN
$@
endif
-$(OUTPUT_DIR)/libs/libkoreader-nnsvg.so: nnsvg.c \
+$(OUTPUT_DIR)/libs/libkoreader-nnsvg.so: \
$(if $(USE_LUAJIT_LIB),$(LUAJIT_LIB),) \
- $(NANOSVG_HEADERS)
+ nnsvg.c
$(CC) -I$(NANOSVG_INCLUDE_DIR) \
- $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ nnsvg.c
+ $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ $^
ifdef DARWIN
install_name_tool -change \
`otool -L "$@" | grep "libluajit" | awk '{print $$1}'` \ |
I thought it was crapping out early these days because it's such a lovely always moving target? |
I think I need that dependancy on |
Precisely, this target; Lines 791 to 800 in 3ea2a69
|
What's the difference before/after in the output of that ? |
Without the change
and otool fails as in the log. with the change
-fvisibility doesn't change that :/ |
What does this (vs current master) do ? - $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ nnsvg.c
+ $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ nnsvg.c $(if $(USE_LUAJIT_LIB),$(LUAJIT_LIB),) I remember it complained when I used Our Master Builders @Frenzie & @NiLuJe will probably know the better way to do that. |
I will try in a few minutes as I'm building master right now. Brew changed how luarocks is built and screw our build scripts again :(. osx is worse than android 😢 |
Can I still bump base (so, breaking frontend Mac builds I guess, but making nightlies) - or is it best to wait till this is solved? |
yeah, that works, the change was exactly: diff --git a/Makefile b/Makefile
index b49b784e..185fc082 100644
--- a/Makefile
+++ b/Makefile
@@ -194,7 +194,8 @@ $(OUTPUT_DIR)/libs/libkoreader-nnsvg.so: nnsvg.c \
$(if $(USE_LUAJIT_LIB),$(LUAJIT_LIB),) \
$(NANOSVG_HEADERS)
$(CC) -I$(NANOSVG_INCLUDE_DIR) \
- $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ nnsvg.c
+ $(CFLAGS) $(DYNLIB_CFLAGS) -fvisibility=hidden -Wall -o $@ nnsvg.c \
+ $(if $(USE_LUAJIT_LIB),$(LUAJIT_LIB),)
ifdef DARWIN
install_name_tool -change \
`otool -L "$@" | grep "libluajit" | awk '{print $$1}'` \
Please update. mac builds are broken in many ways :p |
Includes:
<img src="data:image/png;base64,...>
CDATA
XML parsing: correctly parse CDATA crengine#397This change is