-
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
Added htmlparser Luarock for newsdownloader #1110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing the definitions in Makefile.defs so right now this PR it's just some dead lines. ;-)
LUA_HTMLPARSER_ROCK
isn't set to anything, so you're saying in order to do nothing at all, execute these commands. But nothing at all doesn't need doing anything.
Besides the more obvious (search for LUA_SPORE_ROCK
in the source to see where it occurs), also do:
diff --git a/Makefile.defs b/Makefile.defs
index ba4ff31..383e831 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -911,7 +911,7 @@ LPEG_DYNLIB=$(OUTPUT_DIR)/rocks/lib/lua/5.1/lpeg.so
CMAKE_THIRDPARTY_LIBS := kpvcrlib,nanosvg
-CMAKE_THIRDPARTY_LIBS := $(CMAKE_THIRDPARTY_LIBS),evernote-sdk-lua,luajit,lpeg,turbo
+CMAKE_THIRDPARTY_LIBS := $(CMAKE_THIRDPARTY_LIBS),evernote-sdk-lua,lua-htmlparser,luajit,lpeg,turbo
CMAKE_THIRDPARTY_LIBS := $(CMAKE_THIRDPARTY_LIBS),zyre,czmq,filemq,libzmq
CMAKE_THIRDPARTY_LIBS := $(CMAKE_THIRDPARTY_LIBS),libk2pdfopt,tesseract,leptonica
CMAKE_THIRDPARTY_LIBS := $(CMAKE_THIRDPARTY_LIBS),lj-wpaclient
I have added the fixes, still, unable to check whether it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It downloads it, so I assume it should also work. I'll give it a try shortly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, any comments before merging @NiLuJe ?
Any other changes needed? |
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Nothing for the moment, but I'll have to test again if you still can't and I'll also wait for a second opinion just in case a second pair of eyes spots something I missed. |
LGTM, at a glance ;). EDIT: Or not? c.f., gcc debug bot. |
I hope this fix makes everything right, and then we can slowly think
about integrating the patch into the upstream.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
LUA_SPORE_ROCK=$(LUAROCKS_DIR)/lua-spore/$(SPORE_VER)/lua-spore-$(LUA_SPORE_VER).rockspec | ||
SPORE_VER=0.3.1-1 | ||
LUA_SPORE_VER=$(SPORE_VER) | ||
LUA_SPORE_ROCK=$(LUAROCKS_DIR)/lua-spore/$(SPORE_VER)/lua-spore-$(SPORE_VER).rockspec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see I'd missed the intermediate folder there, nice ;).
Cf. <koreader#6228> Includes: * Update to OpenSSH 8.3p1 koreader/koreader-base#1107 * Update zsync2 koreader/koreader-base#1108 * thirdparty/harfbuzz 2.6.7 koreader/koreader-base#1109 * Add thirdparty/lua-htmlparser for newsdownloader koreader/koreader-base#1110
Cf. <#6228> Includes: * Update to OpenSSH 8.3p1 koreader/koreader-base#1107 * Update zsync2 koreader/koreader-base#1108 * thirdparty/harfbuzz 2.6.7 koreader/koreader-base#1109 * Add thirdparty/lua-htmlparser for newsdownloader koreader/koreader-base#1110
My setup does not allow me to check how does it integrate with the complete build (Raspberry Pi). So, would be thankful if someone could verify if it works and then is used by the patched newsdownloader.
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)