Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
1b4eb34134 | |||
0d1dee552b | |||
85be425479 | |||
ede1f74566 | |||
d9c75e145d | |||
b5119f3919 | |||
443b4ed4cc | |||
dfc1dd9f30 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
*.zip
|
||||
readability/LICENSE
|
||||
|
@ -1,3 +1,11 @@
|
||||
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
|
||||
|
10
Makefile
10
Makefile
@ -1,9 +1,9 @@
|
||||
PROJECT = readability
|
||||
VERSION = 2.0.0
|
||||
VERSION = 2.0.2
|
||||
|
||||
FILES = $(PROJECT)/main.qml
|
||||
FILES += $(PROJECT)/metadata.desktop
|
||||
FILES += LICENSE
|
||||
FILES += $(PROJECT)/LICENSE
|
||||
FILES += $(PROJECT)/data/Call.js
|
||||
FILES += $(PROJECT)/data/Readability.js
|
||||
FILES += $(PROJECT)/data/Toolbar.js
|
||||
@ -22,14 +22,18 @@ 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
|
||||
build: copy_styles copy_license
|
||||
$(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"
|
||||
|
@ -13,7 +13,3 @@ 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.
|
||||
|
@ -121,10 +121,6 @@ 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() {
|
||||
@ -174,7 +170,7 @@ Falkon.PluginInterface {
|
||||
Falkon.BrowserAction {
|
||||
name: i18n('Readability')
|
||||
identity: 'readability-id'
|
||||
title: i18n('Readimport QtQuick.Window 2.2ability')
|
||||
title: i18n('Readability')
|
||||
toolTip: i18n('Launch Readability')
|
||||
icon: currentIcon()
|
||||
location: Falkon.BrowserAction.NavigationToolBar | Falkon.BrowserAction.StatusBar
|
||||
|
@ -5,8 +5,9 @@ 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=1.0.0
|
||||
X-Falkon-Version=2.0.2
|
||||
X-Falkon-Settings=true
|
||||
|
Loading…
Reference in New Issue
Block a user