Drop remains of non-functional Ubuntu Touch target (#15442)
In favor of the standard Linux build with koreader/koreader-base#2373. Close #4960.
This commit is contained in:
1 parent
ed773c6f01
commit
bc0ef5a078
13 files changed
+2
-115
No files matched your search
@@ -4,9 +4,6 @@
|
|||||||
[submodule "platform/android/luajit-launcher"]
|
[submodule "platform/android/luajit-launcher"]
|
||||||
path = platform/android/luajit-launcher
|
path = platform/android/luajit-launcher
|
||||||
url = https://github.com/koreader/android-luajit-launcher.git
|
url = https://github.com/koreader/android-luajit-launcher.git
|
||||||
[submodule "platform/ubuntu-touch/ubuntu-touch-sdl"]
|
|
||||||
path = platform/ubuntu-touch/ubuntu-touch-sdl
|
|
||||||
url = https://github.com/koreader/ubuntu-touch-sdl-template
|
|
||||||
[submodule "test"]
|
[submodule "test"]
|
||||||
path = test
|
path = test
|
||||||
url = https://github.com/koreader/test-data.git
|
url = https://github.com/koreader/test-data.git
|
||||||
|
|||||||
+1
-1
Submodule base updated: 6906e0a753...3725903411.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
project = 'KOReader'
|
project = 'KOReader'
|
||||||
description = 'Multi-platform ebook reader'
|
description = 'Multi-platform ebook reader'
|
||||||
full_description = 'An ebook reader application supports PDF, DJVU, EPUB, FB2 and many more formats, running on Kindle, Kobo, PocketBook, Ubuntu Touch and Android devices.'
|
full_description = 'An ebook reader application supports PDF, DJVU, EPUB, FB2 and many more formats, running on Kindle, Kobo, PocketBook and Android devices.'
|
||||||
title = 'KOReader Documentation'
|
title = 'KOReader Documentation'
|
||||||
dir = 'html'
|
dir = 'html'
|
||||||
style = '!fixed'
|
style = '!fixed'
|
||||||
|
|||||||
@@ -148,7 +148,6 @@ TARGET:
|
|||||||
remarkable
|
remarkable
|
||||||
remarkable-aarch64
|
remarkable-aarch64
|
||||||
sony-prstux
|
sony-prstux
|
||||||
ubuntu-touch
|
|
||||||
win32
|
win32
|
||||||
"
|
"
|
||||||
# shellcheck disable=2155
|
# shellcheck disable=2155
|
||||||
@@ -181,7 +180,6 @@ function setup_target() {
|
|||||||
remarkable) ;;
|
remarkable) ;;
|
||||||
remarkable-aarch64) ;;
|
remarkable-aarch64) ;;
|
||||||
sony-prstux) ;;
|
sony-prstux) ;;
|
||||||
ubuntu-touch) ;;
|
|
||||||
# Invalid.
|
# Invalid.
|
||||||
*)
|
*)
|
||||||
valid=0
|
valid=0
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
UBUNTUTOUCH_DIR = $(PLATFORM_DIR)/ubuntu-touch
|
|
||||||
UBUNTUTOUCH_SDL_DIR = $(UBUNTUTOUCH_DIR)/ubuntu-touch-sdl
|
|
||||||
|
|
||||||
update: all
|
|
||||||
# ensure that the binaries were built for ARM
|
|
||||||
file --dereference $(INSTALL_DIR)/koreader/luajit | grep ARM
|
|
||||||
# remove old package if any
|
|
||||||
rm -f koreader-ubuntu-touch-$(MACHINE)-$(VERSION).click
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/koreader.sh $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/manifest.json $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/koreader.apparmor $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/koreader.apparmor.openstore $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/koreader.desktop $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/koreader.png $(INSTALL_DIR)/koreader/
|
|
||||||
$(SYMLINK) $(UBUNTUTOUCH_DIR)/libSDL2.so $(INSTALL_DIR)/koreader/libs/
|
|
||||||
# create new package
|
|
||||||
cd $(INSTALL_DIR) && pwd && \
|
|
||||||
zip -9 -r \
|
|
||||||
../koreader-$(DIST)-$(MACHINE)-$(VERSION).zip \
|
|
||||||
koreader -x "koreader/resources/fonts/*" "koreader/ota/*" \
|
|
||||||
"koreader/resources/icons/src/*" "koreader/spec/*" \
|
|
||||||
$(ZIP_EXCLUDE)
|
|
||||||
# generate ubuntu touch click package
|
|
||||||
rm -rf $(INSTALL_DIR)/tmp && mkdir -p $(INSTALL_DIR)/tmp
|
|
||||||
cd $(INSTALL_DIR)/tmp && \
|
|
||||||
unzip ../../koreader-$(DIST)-$(MACHINE)-$(VERSION).zip && \
|
|
||||||
click build koreader && \
|
|
||||||
mv *.click ../../koreader-$(DIST)-$(MACHINE)-$(VERSION).click
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"policy_groups": [
|
|
||||||
"networking"
|
|
||||||
],
|
|
||||||
"read_path": [
|
|
||||||
"@{HOME}/",
|
|
||||||
"/media/*/*/[Dd][Oo][Cc][Uu][Mm][Ee][Nn][Tt][Ss]/",
|
|
||||||
"@{PROC}/*/mounts",
|
|
||||||
"/dev/disk/by-label/"
|
|
||||||
],
|
|
||||||
"write_path": [
|
|
||||||
"@{HOME}/"
|
|
||||||
],
|
|
||||||
"policy_version": 16.04
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"policy_groups": [
|
|
||||||
"networking"
|
|
||||||
],
|
|
||||||
"read_path": [
|
|
||||||
"@{HOME}/",
|
|
||||||
"/media/*/*/[Dd][Oo][Cc][Uu][Mm][Ee][Nn][Tt][Ss]/",
|
|
||||||
"@{PROC}/*/mounts",
|
|
||||||
"/dev/disk/by-label/"
|
|
||||||
],
|
|
||||||
"write_path": [
|
|
||||||
"@{HOME}/"
|
|
||||||
],
|
|
||||||
"policy_version": 16.04
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Koreader
|
|
||||||
Comment=Koreader for Ubuntu touch
|
|
||||||
Exec=koreader.sh
|
|
||||||
Icon=koreader.png
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
MimeType=application/pdf;application/epub+zip
|
|
||||||
X-Ubuntu-Touch=true
|
|
||||||
X-Ubuntu-Supported-Orientations=portrait
|
|
||||||
Categories=Graphics;
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB |
@@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
export LC_ALL="en_US.UTF-8"
|
|
||||||
|
|
||||||
# working directory of koreader
|
|
||||||
KOREADER_DIR="${0%/*}"
|
|
||||||
|
|
||||||
# we're always starting from our working directory
|
|
||||||
cd "${KOREADER_DIR}" || exit
|
|
||||||
|
|
||||||
# export external font directory
|
|
||||||
export EXT_FONT_DIR="${HOME}/fonts"
|
|
||||||
|
|
||||||
# set fullscreen mode
|
|
||||||
export SDL_FULLSCREEN=1
|
|
||||||
|
|
||||||
RETURN_VALUE=85
|
|
||||||
|
|
||||||
while [ ${RETURN_VALUE} -eq 85 ]; do
|
|
||||||
./reader.lua -d
|
|
||||||
RETURN_VALUE=$?
|
|
||||||
done
|
|
||||||
|
|
||||||
exit ${RETURN_VALUE}
|
|
||||||
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"architecture": "armhf",
|
|
||||||
"description": "An ebook reader application supports PDF, DJVU, EPUB, FB2 and much more, running on Kindle, Kobo, PocketBook, Ubuntu touch and Android devices",
|
|
||||||
"framework": "ubuntu-sdk-15.04.6",
|
|
||||||
"hooks": {
|
|
||||||
"koreader": {
|
|
||||||
"apparmor": "koreader.apparmor",
|
|
||||||
"desktop": "koreader.desktop"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"maintainer": "Huang Xin <chrox.huang@gmail.com>",
|
|
||||||
"name": "koreader.koreader",
|
|
||||||
"title": "KOReader",
|
|
||||||
"version": "0.0.1"
|
|
||||||
}
|
|
||||||
Submodule platform/ubuntu-touch/ubuntu-touch-sdl deleted from 1d0cd7583c.
Reference in new issue
Block a user