From db008e5785030babadc39080e7d0cb9ae208846c Mon Sep 17 00:00:00 2001 From: Alexander Egorov Date: Mon, 3 Mar 2008 16:56:22 +0100 Subject: [PATCH] FBReader 0.8.14 --- README.build | 1 + build_packages.sh | 5 + distributions/debian/desktop/changelog | 12 + distributions/debian/maemo2/changelog | 12 + distributions/debian/maemo4/changelog | 12 + distributions/motopkg/moto/rules | 29 ++ distributions/nsi/win32/control.nsi | 2 +- distributions/tarball/desktop/rules | 2 +- distributions/tarball/source/rules | 2 +- fbreader/VERSION | 2 +- fbreader/data/default/config.moto.xml | 16 + fbreader/data/default/external.moto.xml | 8 + fbreader/data/default/keymap.moto.xml | 13 + fbreader/data/default/keymap.pdaxrom.xml | 1 + fbreader/data/default/keymap.pepperpad3.xml | 1 + fbreader/data/default/keymap.zaurus.xml | 1 + fbreader/data/default/menubar.xml | 1 + fbreader/data/default/styles.240x320.xml | 2 +- fbreader/data/default/styles.640x480.xml | 2 +- fbreader/data/default/styles.desktop.xml | 2 +- fbreader/data/default/styles.gpe240x320.xml | 2 +- fbreader/data/default/styles.gpe640x480.xml | 2 +- fbreader/data/default/styles.maemo.xml | 2 +- .../{styles.240x320.xml => styles.moto.xml} | 4 +- fbreader/data/default/styles.pepperpad3.xml | 2 +- fbreader/data/default/styles.win32.xml | 2 +- fbreader/data/resources/en.xml | 1 + fbreader/data/resources/fi.xml | 1 + fbreader/data/resources/fr.xml | 1 + fbreader/data/resources/it.xml | 1 + fbreader/data/resources/ru.xml | 5 +- fbreader/data/resources/sv.xml | 1 + fbreader/data/resources/uk.xml | 1 + fbreader/icons/application/32x24.png | Bin 0 -> 1230 bytes fbreader/icons/application/64x43.png | Bin 0 -> 1534 bytes fbreader/icons/booktree/moto | 1 + fbreader/icons/filetree/moto | 1 + fbreader/icons/toolbar/14x15-png/findNext.png | Bin 376 -> 371 bytes fbreader/icons/toolbar/14x15-png/findPrevious.png | Bin 371 -> 376 bytes .../22x18-png/{findPrevious.png => findNext.png} | Bin .../22x18-png/{findNext.png => findPrevious.png} | Bin .../{findPrevious.ico => findNext.ico} | Bin .../{findNext.ico => findPrevious.ico} | Bin .../{findPrevious.png => findNext.png} | Bin .../{findNext.png => findPrevious.png} | Bin fbreader/icons/toolbar/moto/addBook.png | Bin 0 -> 632 bytes fbreader/icons/toolbar/moto/bookInfo.png | Bin 0 -> 659 bytes fbreader/icons/toolbar/moto/findNext.png | Bin 0 -> 690 bytes fbreader/icons/toolbar/moto/findPrevious.png | Bin 0 -> 676 bytes fbreader/icons/toolbar/moto/gotoHome.png | Bin 0 -> 659 bytes fbreader/icons/toolbar/moto/preferences.png | Bin 0 -> 834 bytes fbreader/icons/toolbar/moto/redo.png | Bin 0 -> 592 bytes fbreader/icons/toolbar/moto/rotate.png | Bin 0 -> 816 bytes fbreader/icons/toolbar/moto/search.png | Bin 0 -> 670 bytes fbreader/icons/toolbar/moto/showHelp.png | Bin 0 -> 638 bytes fbreader/icons/toolbar/moto/showLibrary.png | Bin 0 -> 656 bytes fbreader/icons/toolbar/moto/showRecent.png | Bin 0 -> 722 bytes fbreader/icons/toolbar/moto/toc.png | Bin 0 -> 537 bytes fbreader/icons/toolbar/moto/undo.png | Bin 0 -> 600 bytes fbreader/moto/FBReader.desktop | 13 + fbreader/moto/FBReader.sh | 8 + fbreader/moto/Makefile | 16 + fbreader/moto/util/Makefile | 11 + fbreader/moto/util/language_detector | Bin 0 -> 6572 bytes fbreader/moto/util/language_detector.cpp | 14 + fbreader/scripts/install_help.sh | 3 + fbreader/scripts/install_toolbar_and_menu.sh | 2 +- fbreader/src/fbreader/FBReader.cpp | 2 + fbreader/src/fbreader/FBReaderActions.cpp | 6 +- fbreader/src/formats/txt/PlainTextFormat.cpp | 4 +- fbreader/src/formats/txt/TxtBookReader.cpp | 5 +- fbreader/src/formats/txt/TxtReader.cpp | 5 +- fbreader/src/migration/Migration.h | 9 + fbreader/src/migration/Migration_0_8_13.cpp | 43 ++ fbreader/src/migration/migrate.cpp | 1 + fbreader/src/optionsDialog/FormatOptionsPage.cpp | 4 +- makefiles/arch/ebr.mk | 17 + makefiles/arch/moto.mk | 26 ++ makefiles/packaging.mk | 13 +- makefiles/target.mk | 6 + zlibrary/VERSION | 2 +- zlibrary/core/Makefile | 15 +- zlibrary/core/data/default/config.moto.xml | 9 + zlibrary/core/src/application/ZLApplication.cpp | 11 + zlibrary/core/src/application/ZLApplication.h | 7 + zlibrary/core/src/options/ZLConfig.h | 2 + zlibrary/core/src/options/ZLOptions.cpp | 4 + zlibrary/core/src/options/ZLOptions.h | 2 + zlibrary/core/src/unix/xmlconfig/XMLConfig.cpp | 12 + zlibrary/core/src/unix/xmlconfig/XMLConfig.h | 1 + .../{ui => core}/src/win32/config/RegistryUtil.cpp | 0 .../src/win32/config/StringEncoder.cpp | 0 .../{ui => core}/src/win32/config/StringEncoder.h | 0 .../src/win32/config/ZLWin32Config.cpp | 11 + .../{ui => core}/src/win32/config/ZLWin32Config.h | 1 + .../src/win32/config/ZLWin32ConfigIO.cpp | 0 .../src/win32/config/ZLWin32ConfigValue.h | 0 .../win32/encoding/ZLWin32EncodingConverter.cpp | 0 .../src/win32/encoding/ZLWin32EncodingConverter.h | 0 .../src/win32/filesystem/ZLWin32FSManager.cpp | 0 .../src/win32/filesystem/ZLWin32FSManager.h | 0 .../src/win32/filesystem/ZLWin32RootDir.cpp | 0 .../src/win32/filesystem/ZLWin32RootDir.h | 0 .../src/win32/filesystem2/ZLWin32FSDir.cpp | 0 .../src/win32/filesystem2/ZLWin32FSDir.h | 0 .../src/win32/filesystem2/ZLWin32FSManager.cpp | 0 .../src/win32/filesystem2/ZLWin32FSManager.h | 0 .../win32/filesystem2/ZLWin32FileInputStream.cpp | 0 .../src/win32/filesystem2/ZLWin32FileInputStream.h | 0 .../win32/filesystem2/ZLWin32FileOutputStream.cpp | 0 .../win32/filesystem2/ZLWin32FileOutputStream.h | 0 .../src/win32/filesystem2/ZLWin32RootDir.cpp | 0 .../src/win32/filesystem2/ZLWin32RootDir.h | 0 .../src/win32/util}/W32WCHARUtil.h | 0 zlibrary/text/src/view/ZLTextBaseStyle.cpp | 3 +- zlibrary/text/src/view/ZLTextDecoratedStyle.cpp | 3 +- zlibrary/text/src/view/ZLTextLineProcessor.cpp | 2 +- zlibrary/text/src/view/ZLTextPaintInfo.cpp | 7 +- zlibrary/text/src/view/ZLTextStyle.h | 12 +- zlibrary/text/src/view/ZLTextStyleCollection.cpp | 15 +- zlibrary/text/src/view/ZLTextStyleOptions.cpp | 42 ++ zlibrary/text/src/view/ZLTextStyleOptions.h | 22 + zlibrary/text/src/view/ZLTextView.cpp | 47 +- zlibrary/text/src/view/ZLTextView.h | 1 + zlibrary/text/src/view/ZLTextViewStyle.cpp | 4 +- zlibrary/ui/Makefile | 25 +- zlibrary/ui/data/keynames.moto-ezx.xml | 19 + zlibrary/{core => ui}/data/messages.maemo.xml | 0 .../src/ezx/application/ZLQtApplicationWindow.cpp | 464 +++++++++++++++++++ .../ui/src/ezx/application/ZLQtApplicationWindow.h | 183 ++++++++ .../application/ZLQtMenuAction.h} | 25 +- zlibrary/ui/src/ezx/application/moc.mk | 1 + zlibrary/ui/src/ezx/dialogs/ZLFullScreenDialog.cpp | 76 +++ .../dialogs/ZLFullScreenDialog.h} | 31 +- zlibrary/ui/src/ezx/dialogs/ZLQtDialog.cpp | 80 ++++ .../ZLWin32RootDir.h => ezx/dialogs/ZLQtDialog.h} | 29 +- zlibrary/ui/src/ezx/dialogs/ZLQtDialogContent.cpp | 98 ++++ zlibrary/ui/src/ezx/dialogs/ZLQtDialogContent.h | 71 +++ zlibrary/ui/src/ezx/dialogs/ZLQtDialogManager.cpp | 82 ++++ zlibrary/ui/src/ezx/dialogs/ZLQtDialogManager.h | 54 +++ zlibrary/ui/src/ezx/dialogs/ZLQtOptionsDialog.cpp | 121 +++++ zlibrary/ui/src/ezx/dialogs/ZLQtOptionsDialog.h | 68 +++ .../ui/src/ezx/dialogs/ZLQtSelectionDialog.cpp | 158 +++++++ zlibrary/ui/src/ezx/dialogs/ZLQtSelectionDialog.h | 81 ++++ .../dialogs/ZLQtUtil.cpp} | 26 +- .../StringEncoder.h => ezx/dialogs/ZLQtUtil.h} | 16 +- zlibrary/ui/src/ezx/dialogs/moc.mk | 1 + zlibrary/ui/src/{opie => ezx}/library/ZLibrary.cpp | 8 +- zlibrary/ui/src/ezx/optionView/ZLQtOptionView.cpp | 508 +++++++++++++++++++++ zlibrary/ui/src/ezx/optionView/ZLQtOptionView.h | 247 ++++++++++ .../ui/src/ezx/optionView/ZLQtOptionViewHolder.cpp | 52 +++ .../optionView/ZLQtOptionViewHolder.h} | 29 +- zlibrary/ui/src/ezx/optionView/moc.mk | 1 + zlibrary/ui/src/ezx/view/ZLQtPaintContext.cpp | 211 +++++++++ zlibrary/ui/src/ezx/view/ZLQtPaintContext.h | 76 +++ zlibrary/ui/src/ezx/view/ZLQtViewWidget.cpp | 170 +++++++ zlibrary/ui/src/ezx/view/ZLQtViewWidget.h | 74 +++ zlibrary/ui/src/gpe/library/ZLibrary.cpp | 2 +- zlibrary/ui/src/gtk/library/ZLibrary.cpp | 2 +- zlibrary/ui/src/gtk/view/ZLGtkPaintContext.cpp | 11 + zlibrary/ui/src/opie/library/ZLibrary.cpp | 2 +- zlibrary/ui/src/qt/library/ZLibrary.cpp | 2 +- zlibrary/ui/src/qt4/library/ZLibrary.cpp | 2 +- .../src/unix/message/ZLUnixMessage.cpp | 0 .../{core => ui}/src/unix/message/ZLUnixMessage.h | 0 .../win32/application/ZLWin32ApplicationWindow.cpp | 2 +- .../ui/src/win32/dialogs/ZLWin32DialogManager.cpp | 2 +- zlibrary/ui/src/win32/library/ZLibrary.cpp | 6 +- zlibrary/ui/src/win32/message/ZLWin32Message.cpp | 2 +- zlibrary/ui/src/win32/view/ZLWin32PaintContext.cpp | 2 +- .../ui/src/win32/w32widgets/W32ColorComboBox.cpp | 2 +- zlibrary/ui/src/win32/w32widgets/W32Control.cpp | 2 +- .../ui/src/win32/w32widgets/W32DialogPanel.cpp | 2 +- .../ui/src/win32/w32widgets/W32PropertySheet.cpp | 2 +- zlibrary/ui/src/win32/w32widgets/W32TreeView.cpp | 2 +- 175 files changed, 3585 insertions(+), 141 deletions(-) create mode 100644 distributions/motopkg/moto/rules create mode 100644 fbreader/data/default/config.moto.xml create mode 100644 fbreader/data/default/external.moto.xml create mode 100644 fbreader/data/default/keymap.moto.xml copy fbreader/data/default/{styles.240x320.xml => styles.moto.xml} (96%) create mode 100644 fbreader/icons/application/32x24.png create mode 100644 fbreader/icons/application/64x43.png create mode 120000 fbreader/icons/booktree/moto create mode 120000 fbreader/icons/filetree/moto rename fbreader/icons/toolbar/22x18-png/{findPrevious.png => findNext.png} (100%) rename fbreader/icons/toolbar/22x18-png/{findNext.png => findPrevious.png} (100%) rename fbreader/icons/toolbar/32x32-transparent-ico/{findPrevious.ico => findNext.ico} (100%) rename fbreader/icons/toolbar/32x32-transparent-ico/{findNext.ico => findPrevious.ico} (100%) rename fbreader/icons/toolbar/32x32-transparent-png/{findPrevious.png => findNext.png} (100%) rename fbreader/icons/toolbar/32x32-transparent-png/{findNext.png => findPrevious.png} (100%) create mode 100644 fbreader/icons/toolbar/moto/addBook.png create mode 100644 fbreader/icons/toolbar/moto/bookInfo.png create mode 100644 fbreader/icons/toolbar/moto/findNext.png create mode 100644 fbreader/icons/toolbar/moto/findPrevious.png create mode 100644 fbreader/icons/toolbar/moto/gotoHome.png create mode 100644 fbreader/icons/toolbar/moto/preferences.png create mode 100644 fbreader/icons/toolbar/moto/redo.png create mode 100644 fbreader/icons/toolbar/moto/rotate.png create mode 100644 fbreader/icons/toolbar/moto/search.png create mode 100644 fbreader/icons/toolbar/moto/showHelp.png create mode 100644 fbreader/icons/toolbar/moto/showLibrary.png create mode 100644 fbreader/icons/toolbar/moto/showRecent.png create mode 100644 fbreader/icons/toolbar/moto/toc.png create mode 100644 fbreader/icons/toolbar/moto/undo.png create mode 100644 fbreader/moto/FBReader.desktop create mode 100755 fbreader/moto/FBReader.sh create mode 100644 fbreader/moto/Makefile create mode 100644 fbreader/moto/util/Makefile create mode 100755 fbreader/moto/util/language_detector create mode 100644 fbreader/moto/util/language_detector.cpp create mode 100644 fbreader/src/migration/Migration_0_8_13.cpp create mode 100644 makefiles/arch/ebr.mk create mode 100644 makefiles/arch/moto.mk create mode 100644 zlibrary/core/data/default/config.moto.xml rename zlibrary/{ui => core}/src/win32/config/RegistryUtil.cpp (100%) rename zlibrary/{ui => core}/src/win32/config/StringEncoder.cpp (100%) copy zlibrary/{ui => core}/src/win32/config/StringEncoder.h (100%) rename zlibrary/{ui => core}/src/win32/config/ZLWin32Config.cpp (92%) rename zlibrary/{ui => core}/src/win32/config/ZLWin32Config.h (97%) rename zlibrary/{ui => core}/src/win32/config/ZLWin32ConfigIO.cpp (100%) rename zlibrary/{ui => core}/src/win32/config/ZLWin32ConfigValue.h (100%) rename zlibrary/{ui => core}/src/win32/encoding/ZLWin32EncodingConverter.cpp (100%) rename zlibrary/{ui => core}/src/win32/encoding/ZLWin32EncodingConverter.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem/ZLWin32FSManager.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem/ZLWin32FSManager.h (100%) copy zlibrary/{ui => core}/src/win32/filesystem/ZLWin32RootDir.cpp (100%) copy zlibrary/{ui => core}/src/win32/filesystem/ZLWin32RootDir.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FSDir.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FSDir.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FSManager.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FSManager.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FileInputStream.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FileInputStream.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FileOutputStream.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32FileOutputStream.h (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32RootDir.cpp (100%) rename zlibrary/{ui => core}/src/win32/filesystem2/ZLWin32RootDir.h (100%) rename zlibrary/{ui/src/win32/w32widgets => core/src/win32/util}/W32WCHARUtil.h (100%) create mode 100644 zlibrary/ui/data/keynames.moto-ezx.xml rename zlibrary/{core => ui}/data/messages.maemo.xml (100%) create mode 100644 zlibrary/ui/src/ezx/application/ZLQtApplicationWindow.cpp create mode 100644 zlibrary/ui/src/ezx/application/ZLQtApplicationWindow.h copy zlibrary/ui/src/{win32/filesystem/ZLWin32RootDir.h => ezx/application/ZLQtMenuAction.h} (65%) create mode 100644 zlibrary/ui/src/ezx/application/moc.mk create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLFullScreenDialog.cpp copy zlibrary/ui/src/{win32/config/StringEncoder.h => ezx/dialogs/ZLFullScreenDialog.h} (59%) create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtDialog.cpp rename zlibrary/ui/src/{win32/filesystem/ZLWin32RootDir.h => ezx/dialogs/ZLQtDialog.h} (60%) create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtDialogContent.cpp create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtDialogContent.h create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtDialogManager.cpp create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtDialogManager.h create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtOptionsDialog.cpp create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtOptionsDialog.h create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtSelectionDialog.cpp create mode 100644 zlibrary/ui/src/ezx/dialogs/ZLQtSelectionDialog.h rename zlibrary/ui/src/{win32/filesystem/ZLWin32RootDir.cpp => ezx/dialogs/ZLQtUtil.cpp} (63%) copy zlibrary/ui/src/{win32/config/StringEncoder.h => ezx/dialogs/ZLQtUtil.h} (77%) create mode 100644 zlibrary/ui/src/ezx/dialogs/moc.mk copy zlibrary/ui/src/{opie => ezx}/library/ZLibrary.cpp (93%) create mode 100644 zlibrary/ui/src/ezx/optionView/ZLQtOptionView.cpp create mode 100644 zlibrary/ui/src/ezx/optionView/ZLQtOptionView.h create mode 100644 zlibrary/ui/src/ezx/optionView/ZLQtOptionViewHolder.cpp rename zlibrary/ui/src/{win32/config/StringEncoder.h => ezx/optionView/ZLQtOptionViewHolder.h} (53%) create mode 100644 zlibrary/ui/src/ezx/optionView/moc.mk create mode 100644 zlibrary/ui/src/ezx/view/ZLQtPaintContext.cpp create mode 100644 zlibrary/ui/src/ezx/view/ZLQtPaintContext.h create mode 100644 zlibrary/ui/src/ezx/view/ZLQtViewWidget.cpp create mode 100644 zlibrary/ui/src/ezx/view/ZLQtViewWidget.h rename zlibrary/{core => ui}/src/unix/message/ZLUnixMessage.cpp (100%) rename zlibrary/{core => ui}/src/unix/message/ZLUnixMessage.h (100%) diff --git a/README.build b/README.build index 841422a..fdc9d7e 100644 --- a/README.build +++ b/README.build @@ -46,6 +46,7 @@ Before building FBReader, you should check (and may be edit) 2 files: TARGET_ARCH = maemo UI_TYPE = maemo2 TARGET_ARCH = maemo UI_TYPE = maemo4 TARGET_ARCH = pma400 UI_TYPE = qtopia + TARGET_ARCH = moto UI_TYPE = ezx TARGET_ARCH = win32 UI_TYPE = win32 ** makefiles/arch/$(TARGET_ARCH).mk diff --git a/build_packages.sh b/build_packages.sh index 4024d2b..a9b9ac7 100755 --- a/build_packages.sh +++ b/build_packages.sh @@ -87,6 +87,11 @@ build_package() { mkdirhier $pkgdir/$1 mv -f $tmpdir/*.ipk $pkgdir/$1 ;; + motopkg) + $make_package ARCHITECTURE=$1 $2 + mkdirhier $pkgdir/$1 + mv -f $tmpdir/*.pkg $pkgdir/$1 + ;; tarball) $make_package ARCHITECTURE=$1 $2 mkdirhier $pkgdir/$1 diff --git a/distributions/debian/desktop/changelog b/distributions/debian/desktop/changelog index 2f42835..5469c98 100644 --- a/distributions/debian/desktop/changelog +++ b/distributions/debian/desktop/changelog @@ -1,3 +1,15 @@ +fbreader (0.8.14-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Sat, 9 Feb 2008 22:48:00 +0300 + +fbreader (0.8.13-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Thr, 24 Jan 2008 15:24:00 +0300 + fbreader (0.8.12-1) stable; urgency=low * new upstream version diff --git a/distributions/debian/maemo2/changelog b/distributions/debian/maemo2/changelog index 381c49b..22afd16 100644 --- a/distributions/debian/maemo2/changelog +++ b/distributions/debian/maemo2/changelog @@ -1,3 +1,15 @@ +fbreader (0.8.14-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Sat, 9 Feb 2008 22:48:00 +0300 + +fbreader (0.8.13-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Thr, 24 Jan 2008 15:24:00 +0300 + fbreader (0.8.12-1) stable; urgency=low * new upstream version diff --git a/distributions/debian/maemo4/changelog b/distributions/debian/maemo4/changelog index 9903b6f..de27ceb 100644 --- a/distributions/debian/maemo4/changelog +++ b/distributions/debian/maemo4/changelog @@ -1,3 +1,15 @@ +fbreader (0.8.14-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Sat, 9 Feb 2008 22:48:00 +0300 + +fbreader (0.8.13-1) stable; urgency=low + + * new upstream version + + -- Nikolay Pultsin Thr, 24 Jan 2008 15:24:00 +0300 + fbreader (0.8.12-1) stable; urgency=low * new upstream version diff --git a/distributions/motopkg/moto/rules b/distributions/motopkg/moto/rules new file mode 100644 index 0000000..e7a6b4f --- /dev/null +++ b/distributions/motopkg/moto/rules @@ -0,0 +1,29 @@ +PREFIX = /mmc/mmca1/.system/QTDownLoad + +LIBVERSION = $(shell cat zlibrary/VERSION) +LIBSOVERSION = $(shell cat zlibrary/SOVERSION) +APPVERSION = $(shell cat fbreader/VERSION) + +clean: + @make TARGET_ARCH=moto UI_TYPE=ezx clean + +build: + @make -C zlibrary/core TARGET_ARCH=moto UI_TYPE=ezx + @make -C zlibrary/text TARGET_ARCH=moto UI_TYPE=ezx + @make -C zlibrary/ui TARGET_ARCH=moto UI_TYPE=ezx + @make -C fbreader TARGET_ARCH=moto UI_TYPE=ezx + +install: + @make -C zlibrary/core TARGET_ARCH=moto UI_TYPE=ezx DESTDIR=$(DESTDIR) do_install + @make -C zlibrary/text TARGET_ARCH=moto UI_TYPE=ezx DESTDIR=$(DESTDIR) do_install + @make -C zlibrary/ui TARGET_ARCH=moto UI_TYPE=ezx DESTDIR=$(DESTDIR) do_install + @install ../libs/moto/libexpat.so.1.5.2 $(DESTDIR)$(PREFIX)/fbreader/lib/libexpat.so.1 + @install ../libs/moto/libbz2.so.1.0.4 $(DESTDIR)$(PREFIX)/fbreader/lib/libbz2.so.1.0 + @rm $(DESTDIR)$(PREFIX)/fbreader/lib/libzlcore.so.$(LIBSOVERSION) + @mv $(DESTDIR)$(PREFIX)/fbreader/lib/libzlcore.so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/fbreader/lib/libzlcore.so.$(LIBSOVERSION) + @rm $(DESTDIR)$(PREFIX)/fbreader/lib/libzltext.so.$(LIBSOVERSION) + @mv $(DESTDIR)$(PREFIX)/fbreader/lib/libzltext.so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/fbreader/lib/libzltext.so.$(LIBSOVERSION) + @make -C fbreader TARGET_ARCH=moto UI_TYPE=ezx DESTDIR=$(DESTDIR) do_install + +package: + @tar -czf FBReader-$(APPVERSION).pkg -C $(DESTDIR)$(PREFIX) . diff --git a/distributions/nsi/win32/control.nsi b/distributions/nsi/win32/control.nsi index a6186ca..6951b4e 100644 --- a/distributions/nsi/win32/control.nsi +++ b/distributions/nsi/win32/control.nsi @@ -20,7 +20,7 @@ Section "FBReader" WriteRegStr HKCU "Software\FBReader" "" $INSTDIR File /oname=FBReader.exe bin/FBReader - File ../../dlls/*.* + File ../../libs/win32/*.* File /r share Delete "$INSTDIR\libiconv-2.dll" Delete "$INSTDIR\share\FBReader\help\MiniHelp.fb2" diff --git a/distributions/tarball/desktop/rules b/distributions/tarball/desktop/rules index dd98a06..fd8499b 100644 --- a/distributions/tarball/desktop/rules +++ b/distributions/tarball/desktop/rules @@ -22,5 +22,5 @@ install: make -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4 DESTDIR=$(DESTDIR) do_install make -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DESTDIR) do_install -tarball: +package: tar czf fbreader-`cat fbreader/VERSION`.tgz -C $(DESTDIR) . diff --git a/distributions/tarball/source/rules b/distributions/tarball/source/rules index b0e30a3..672d15a 100644 --- a/distributions/tarball/source/rules +++ b/distributions/tarball/source/rules @@ -9,5 +9,5 @@ install: mkdir $(DESTDIR)/$(SRCDIR) cp -r Makefile build_packages.sh zlibrary fbreader makefiles distributions README.build $(DESTDIR)/$(SRCDIR) -tarball: +package: tar czf fbreader-sources-$(VERSION).tgz -C $(DESTDIR) $(SRCDIR) diff --git a/fbreader/VERSION b/fbreader/VERSION index 7eff8ab..832bad2 100644 --- a/fbreader/VERSION +++ b/fbreader/VERSION @@ -1 +1 @@ -0.8.12 +0.8.14 diff --git a/fbreader/data/default/config.moto.xml b/fbreader/data/default/config.moto.xml new file mode 100644 index 0000000..18e9a1a --- /dev/null +++ b/fbreader/data/default/config.moto.xml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/fbreader/data/default/external.moto.xml b/fbreader/data/default/external.moto.xml new file mode 100644 index 0000000..773e4ab --- /dev/null +++ b/fbreader/data/default/external.moto.xml @@ -0,0 +1,8 @@ + + +
+ + + +
+
diff --git a/fbreader/data/default/keymap.moto.xml b/fbreader/data/default/keymap.moto.xml new file mode 100644 index 0000000..58f32f8 --- /dev/null +++ b/fbreader/data/default/keymap.moto.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/fbreader/data/default/keymap.pdaxrom.xml b/fbreader/data/default/keymap.pdaxrom.xml index 4039219..8dbc6fa 100644 --- a/fbreader/data/default/keymap.pdaxrom.xml +++ b/fbreader/data/default/keymap.pdaxrom.xml @@ -20,4 +20,5 @@ + diff --git a/fbreader/data/default/keymap.pepperpad3.xml b/fbreader/data/default/keymap.pepperpad3.xml index 365e2b5..71dc89f 100644 --- a/fbreader/data/default/keymap.pepperpad3.xml +++ b/fbreader/data/default/keymap.pepperpad3.xml @@ -29,4 +29,5 @@ + diff --git a/fbreader/data/default/keymap.zaurus.xml b/fbreader/data/default/keymap.zaurus.xml index 94bbfae..1b52364 100644 --- a/fbreader/data/default/keymap.zaurus.xml +++ b/fbreader/data/default/keymap.zaurus.xml @@ -21,4 +21,5 @@ + diff --git a/fbreader/data/default/menubar.xml b/fbreader/data/default/menubar.xml index 09fdb2f..bbe89f5 100644 --- a/fbreader/data/default/menubar.xml +++ b/fbreader/data/default/menubar.xml @@ -11,6 +11,7 @@ + diff --git a/fbreader/data/default/styles.240x320.xml b/fbreader/data/default/styles.240x320.xml index 7263b4c..91620a3 100644 --- a/fbreader/data/default/styles.240x320.xml +++ b/fbreader/data/default/styles.240x320.xml @@ -16,7 +16,7 @@