diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-11 22:57:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-11 22:57:25 +0900 |
commit | 45cbc717c733e287453c8c50782fa301ae50a8ea (patch) | |
tree | 82e37203d476c039b3d7f9e3dd99c87110e47a81 /fbreader/moto | |
parent | 02625a605190ecc5b1387f59dfc32e8a883ef91d (diff) | |
download | tde-ebook-reader-45cbc717c733e287453c8c50782fa301ae50a8ea.tar.gz tde-ebook-reader-45cbc717c733e287453c8c50782fa301ae50a8ea.zip |
Removed files relates to unsupported OSes, platforms, archs
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'fbreader/moto')
-rw-r--r-- | fbreader/moto/FBReader.desktop | 13 | ||||
-rwxr-xr-x | fbreader/moto/FBReader.sh | 8 | ||||
-rw-r--r-- | fbreader/moto/Makefile | 17 | ||||
-rw-r--r-- | fbreader/moto/util/Makefile | 11 | ||||
-rwxr-xr-x | fbreader/moto/util/language_detector | bin | 6572 -> 0 bytes | |||
-rw-r--r-- | fbreader/moto/util/language_detector.cpp | 33 |
6 files changed, 0 insertions, 82 deletions
diff --git a/fbreader/moto/FBReader.desktop b/fbreader/moto/FBReader.desktop deleted file mode 100644 index 8efce3a..0000000 --- a/fbreader/moto/FBReader.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Comment=E-book reader -Exec=bin/FBReader.sh -BigIcon=pics/FBReader-b.png -Icon=pics/FBReader-s.png -Version=0.8.11 -Type=Application -Name=FBReader -Category=Office -Description=E-book reader -Vendor=Geometer Plus -Version=0.8.13 -Shared=2 diff --git a/fbreader/moto/FBReader.sh b/fbreader/moto/FBReader.sh deleted file mode 100755 index 5194b13..0000000 --- a/fbreader/moto/FBReader.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -this=`basename $0` -this=`echo $0 | sed -e 's/\/'$this'$//'` -cd $this/.. -. /home/native/.profile -export HOME=`pwd` -export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH -exec bin/FBReader -lang `bin/language_detector` $2 diff --git a/fbreader/moto/Makefile b/fbreader/moto/Makefile deleted file mode 100644 index 38dd061..0000000 --- a/fbreader/moto/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -ROOTDIR = $(CURDIR)/../.. -include $(ROOTDIR)/makefiles/config.mk - -install: - @install -m 0644 ../data/default/config.$(TARGET_ARCH).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/config.xml - @install -m 0644 ../data/default/keymap.$(TARGET_ARCH).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/keymap.xml - @install -m 0644 ../data/default/styles.$(TARGET_ARCH).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/styles.xml - @install -d $(DESTDIR)$(INSTALLDIR)/pics - @install -d $(DESTDIR)$(INSTALLDIR)/.FBReader - @install -m 0644 ../data/icons/application/32x24.png $(DESTDIR)$(INSTALLDIR)/pics/FBReader-s.png - @install -m 0644 ../data/icons/application/64x43.png $(DESTDIR)$(INSTALLDIR)/pics/FBReader-b.png - @install -m 0644 ../data/icons/application/48x48.png $(DESTDIR)$(INSTALLDIR)/pics/FBReader.png - @install -m 0644 FBReader.desktop $(DESTDIR)$(INSTALLDIR)/FBReader.desktop - @install FBReader.sh $(DESTDIR)$(BINDIR) - @install util/language_detector $(DESTDIR)$(BINDIR) - -clean: diff --git a/fbreader/moto/util/Makefile b/fbreader/moto/util/Makefile deleted file mode 100644 index e65d888..0000000 --- a/fbreader/moto/util/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -ROOTDIR = ../../.. - -TARGET = language_detector - -include $(ROOTDIR)/makefiles/qsubdir.mk - -$(TARGET): language_detector.o - @$(LD) $(LDFLAGS) -o $@ $^ $(UILIBS) - -distclean: clean - @$(RM) $(TARGET) diff --git a/fbreader/moto/util/language_detector b/fbreader/moto/util/language_detector Binary files differdeleted file mode 100755 index 4f3101a..0000000 --- a/fbreader/moto/util/language_detector +++ /dev/null diff --git a/fbreader/moto/util/language_detector.cpp b/fbreader/moto/util/language_detector.cpp deleted file mode 100644 index c21ce5c..0000000 --- a/fbreader/moto/util/language_detector.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2004-2012 Geometer Plus <contact@geometerplus.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include <iostream> -#include <string> - -#include <zlanguage.h> - -int main() { - std::string language = (const char*)ZLanguage::getSystemLanguageCode().utf8(); - language.erase(2); - if (language.length() != 2) { - language = "en"; - } - std::cout << language; - return 0; -} |