Compare commits
No commits in common. "master" and "v2.0.0" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
*.zip
|
*.zip
|
||||||
readability/LICENSE
|
|
||||||
|
@ -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:
|
2.0.0:
|
||||||
- Rewrite to QML
|
- Rewrite to QML
|
||||||
- Add Makefile build system support
|
- Add Makefile build system support
|
||||||
|
10
Makefile
10
Makefile
@ -1,9 +1,9 @@
|
|||||||
PROJECT = readability
|
PROJECT = readability
|
||||||
VERSION = 2.0.2
|
VERSION = 2.0.0
|
||||||
|
|
||||||
FILES = $(PROJECT)/main.qml
|
FILES = $(PROJECT)/main.qml
|
||||||
FILES += $(PROJECT)/metadata.desktop
|
FILES += $(PROJECT)/metadata.desktop
|
||||||
FILES += $(PROJECT)/LICENSE
|
FILES += LICENSE
|
||||||
FILES += $(PROJECT)/data/Call.js
|
FILES += $(PROJECT)/data/Call.js
|
||||||
FILES += $(PROJECT)/data/Readability.js
|
FILES += $(PROJECT)/data/Readability.js
|
||||||
FILES += $(PROJECT)/data/Toolbar.js
|
FILES += $(PROJECT)/data/Toolbar.js
|
||||||
@ -22,18 +22,14 @@ IMAGES += $(PROJECT)/images/RM-Type-Controls-Arrow.svg
|
|||||||
package: build
|
package: build
|
||||||
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
|
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
|
||||||
|
|
||||||
copy_license:
|
|
||||||
@cp "LICENSE" "$(PROJECT)/LICENSE"
|
|
||||||
|
|
||||||
copy_styles:
|
copy_styles:
|
||||||
@cp "$(PROJECT)/data/style.orig.css" "$(PROJECT)/data/style.css"
|
@cp "$(PROJECT)/data/style.orig.css" "$(PROJECT)/data/style.css"
|
||||||
|
|
||||||
build: copy_styles copy_license
|
build: copy_styles
|
||||||
$(foreach IMG,$(IMAGES), \
|
$(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") \
|
$(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:
|
clean:
|
||||||
rm "$(PROJECT)/LICENSE"
|
|
||||||
rm "$(PROJECT)/data/style.css"
|
rm "$(PROJECT)/data/style.css"
|
||||||
rm "./$(PROJECT)_v$(VERSION).zip"
|
rm "./$(PROJECT)_v$(VERSION).zip"
|
||||||
|
@ -13,3 +13,7 @@ Go to [Falkon store](https://store.falkon.org/p/1309264/) press `Install` and fo
|
|||||||
### Manual
|
### Manual
|
||||||
Copy the `readability` directory into `~/.config/falkon/plugins/`
|
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.
|
||||||
|
@ -121,6 +121,10 @@ Falkon.PluginInterface {
|
|||||||
|
|
||||||
function makeReadability() {
|
function makeReadability() {
|
||||||
g_jsObject.init(g_config.colorTheme, g_config.font, g_config.fontSize)
|
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() {
|
function loadSettings() {
|
||||||
@ -170,7 +174,7 @@ Falkon.PluginInterface {
|
|||||||
Falkon.BrowserAction {
|
Falkon.BrowserAction {
|
||||||
name: i18n('Readability')
|
name: i18n('Readability')
|
||||||
identity: 'readability-id'
|
identity: 'readability-id'
|
||||||
title: i18n('Readability')
|
title: i18n('Readimport QtQuick.Window 2.2ability')
|
||||||
toolTip: i18n('Launch Readability')
|
toolTip: i18n('Launch Readability')
|
||||||
icon: currentIcon()
|
icon: currentIcon()
|
||||||
location: Falkon.BrowserAction.NavigationToolBar | Falkon.BrowserAction.StatusBar
|
location: Falkon.BrowserAction.NavigationToolBar | Falkon.BrowserAction.StatusBar
|
||||||
|
@ -5,9 +5,8 @@ Comment=Transform webpage to easy reading.
|
|||||||
Icon=data/icon-dark.png
|
Icon=data/icon-dark.png
|
||||||
Type=Service
|
Type=Service
|
||||||
X-Falkon-Type=Extension/Qml
|
X-Falkon-Type=Extension/Qml
|
||||||
X-Falkon-EntryPoint=main.qml
|
|
||||||
|
|
||||||
X-Falkon-Author=Juraj Oravec
|
X-Falkon-Author=Juraj Oravec
|
||||||
X-Falkon-Email=jurajoravec@mailo.com
|
X-Falkon-Email=jurajoravec@mailo.com
|
||||||
X-Falkon-Version=2.0.2
|
X-Falkon-Version=1.0.0
|
||||||
X-Falkon-Settings=true
|
X-Falkon-Settings=true
|
||||||
|
Loading…
Reference in New Issue
Block a user