Compare commits

..

No commits in common. "master" and "v2.0.0" have entirely different histories.

6 changed files with 13 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
*.zip
readability/LICENSE

View File

@ -1,11 +1,3 @@
2.0.2
- Fix install issues caused by LICENSE file
- Specify a Falkon Entry-point for compatibility
2.0.1
- Fix version number
- Fix toolbar button title text
2.0.0:
- Rewrite to QML
- Add Makefile build system support

View File

@ -1,9 +1,9 @@
PROJECT = readability
VERSION = 2.0.2
VERSION = 2.0.0
FILES = $(PROJECT)/main.qml
FILES += $(PROJECT)/metadata.desktop
FILES += $(PROJECT)/LICENSE
FILES += LICENSE
FILES += $(PROJECT)/data/Call.js
FILES += $(PROJECT)/data/Readability.js
FILES += $(PROJECT)/data/Toolbar.js
@ -22,18 +22,14 @@ IMAGES += $(PROJECT)/images/RM-Type-Controls-Arrow.svg
package: build
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
copy_license:
@cp "LICENSE" "$(PROJECT)/LICENSE"
copy_styles:
@cp "$(PROJECT)/data/style.orig.css" "$(PROJECT)/data/style.css"
build: copy_styles copy_license
build: copy_styles
$(foreach IMG,$(IMAGES), \
$(shell sed -i "s|{$(shell basename "$(IMG)")}|data:$(shell mimetype -b "$(IMG)");base64,$(shell basenc --base64 --wrap=0 "$(IMG)")|g" "$(PROJECT)/data/style.css") \
)
clean:
rm "$(PROJECT)/LICENSE"
rm "$(PROJECT)/data/style.css"
rm "./$(PROJECT)_v$(VERSION).zip"

View File

@ -13,3 +13,7 @@ Go to [Falkon store](https://store.falkon.org/p/1309264/) press `Install` and fo
### Manual
Copy the `readability` directory into `~/.config/falkon/plugins/`
With Falkon 3.1 and lower copy the `readability` directory into Falkon global plugin directory.
e.g. `/usr/lib/qt/plugins/falkon/python/`
> It will only work if Python support is enabled and functional.

View File

@ -121,6 +121,10 @@ Falkon.PluginInterface {
function makeReadability() {
g_jsObject.init(g_config.colorTheme, g_config.font, g_config.fontSize)
// var initConfigScript = "initConfig('" + g_config.colorTheme + "', '" + g_config.font + "', " + g_config.fontSize + ");"
//
// var currentTab = findCurrentTab()
// currentTab.execJavaScript(initConfigScript)
}
function loadSettings() {
@ -170,7 +174,7 @@ Falkon.PluginInterface {
Falkon.BrowserAction {
name: i18n('Readability')
identity: 'readability-id'
title: i18n('Readability')
title: i18n('Readimport QtQuick.Window 2.2ability')
toolTip: i18n('Launch Readability')
icon: currentIcon()
location: Falkon.BrowserAction.NavigationToolBar | Falkon.BrowserAction.StatusBar

View File

@ -5,9 +5,8 @@ Comment=Transform webpage to easy reading.
Icon=data/icon-dark.png
Type=Service
X-Falkon-Type=Extension/Qml
X-Falkon-EntryPoint=main.qml
X-Falkon-Author=Juraj Oravec
X-Falkon-Email=jurajoravec@mailo.com
X-Falkon-Version=2.0.2
X-Falkon-Version=1.0.0
X-Falkon-Settings=true