Compare commits

...

8 Commits

Author SHA1 Message Date
1b4eb34134
Update version to v2.0.2
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-02-13 23:47:11 +01:00
0d1dee552b
Specify a Falkon Entry-point for compatibility
- First impplementation of QML required to specify the entry point,
  later it was changed to always be main.qml

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-02-13 23:43:13 +01:00
85be425479
Fix install issues caused by LICENSE file
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-02-13 23:34:37 +01:00
ede1f74566
Update CHANGELOG to v2.0.1
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-10-24 22:49:45 +02:00
d9c75e145d
Update version to v2.0.1
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-10-24 22:48:41 +02:00
b5119f3919
Fix typo in BrowserAction title
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-10-24 22:47:53 +02:00
443b4ed4cc
Remove unused commented out code
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-10-24 22:47:03 +02:00
dfc1dd9f30
Update README
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-10-21 18:20:03 +02:00
6 changed files with 19 additions and 13 deletions

1
.gitignore vendored
View File

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

View File

@ -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

View File

@ -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"

View File

@ -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.

View File

@ -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

View File

@ -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