pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/fbreader Initial import of fbreader-0.10.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec1add4a517b
branches:  trunk
changeset: 553290:ec1add4a517b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 18 17:39:37 2009 +0000

description:
Initial import of fbreader-0.10.1:

FBReader is an e-book reader for various platforms.

Main features:
  * Supported formats are
       * fb2 e-book format (style attributes are not supported yet).
       * HTML format (tables are not supported).
       * CHM format (tables are not supported).
       * plucker format (tables are not supported).
       * Palmdoc (aportis doc).
       * zTxt (Weasel format).
       * TCR (psion text) format.
       * RTF format (stylesheets and tables are not supported).
       * OEB format (css and tables are not supported).
       * OpenReader format (css and tables are not supported).
       * Non-DRM'ed mobipocket format (tables are not supported).
       * Plain text format.
  * Direct reading from tar, zip, gzip and bzip2 archives. (Multiple books
    in one archive are supported.)
  * Automatic library building.
  * Automatic language and character encoding detection is supported.
  * Automatically generated contents table.
  * Embedded images support.
  * Footnotes/hyperlinks support.
  * Position indicator.
  * Keeps the last open book and the last read positions for all opened
    books between runs.
  * List of last opened books.
  * Automatic hyphenations.
  * Text search.
  * Full-screen mode.
  * Screen rotation by 90, 180 and 270 degrees.

diffstat:

 misc/fbreader/DESCR            |   31 +++++++++
 misc/fbreader/Makefile         |   34 +++++++++
 misc/fbreader/PLIST            |  141 +++++++++++++++++++++++++++++++++++++++++
 misc/fbreader/distinfo         |   15 ++++
 misc/fbreader/options.mk       |   31 +++++++++
 misc/fbreader/patches/patch-aa |   40 +++++++++++
 misc/fbreader/patches/patch-ab |   32 +++++++++
 misc/fbreader/patches/patch-ac |   22 ++++++
 misc/fbreader/patches/patch-ad |   22 ++++++
 misc/fbreader/patches/patch-ae |   13 +++
 misc/fbreader/patches/patch-af |   13 +++
 misc/fbreader/patches/patch-ag |   13 +++
 misc/fbreader/patches/patch-ah |   15 ++++
 misc/fbreader/patches/patch-ai |   12 +++
 misc/fbreader/patches/patch-aj |   15 ++++
 15 files changed, 449 insertions(+), 0 deletions(-)

diffs (truncated from 509 to 300 lines):

diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/DESCR       Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,31 @@
+FBReader is an e-book reader for various platforms.
+
+Main features:
+  * Supported formats are
+       * fb2 e-book format (style attributes are not supported yet).
+       * HTML format (tables are not supported).
+       * CHM format (tables are not supported).
+       * plucker format (tables are not supported).
+       * Palmdoc (aportis doc).
+       * zTxt (Weasel format).
+       * TCR (psion text) format.
+       * RTF format (stylesheets and tables are not supported).
+       * OEB format (css and tables are not supported).
+       * OpenReader format (css and tables are not supported).
+       * Non-DRM'ed mobipocket format (tables are not supported).
+       * Plain text format.
+  * Direct reading from tar, zip, gzip and bzip2 archives. (Multiple books
+    in one archive are supported.)
+  * Automatic library building.
+  * Automatic language and character encoding detection is supported.
+  * Automatically generated contents table.
+  * Embedded images support.
+  * Footnotes/hyperlinks support.
+  * Position indicator.
+  * Keeps the last open book and the last read positions for all opened
+    books between runs.
+  * List of last opened books.
+  * Automatic hyphenations.
+  * Text search.
+  * Full-screen mode.
+  * Screen rotation by 90, 180 and 270 degrees.
diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/Makefile    Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
+#
+
+DISTNAME=      fbreader-sources-0.10.1
+PKGNAME=       ${DISTNAME:S/-sources//}
+CATEGORIES=    misc
+MASTER_SITES=  http://www.fbreader.org/
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.fbreader.org/
+COMMENT=       Ebook reader software
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+USE_DIRS+=     xdg-1.4
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+MAKE_ENV+=     INSTALLDIR=${PREFIX}
+MAKE_ENV+=     DESTDIR=${DESTDIR}
+MAKE_ENV+=     LDFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
+MAKE_ENV+=     TARGET_ARCH=desktop
+
+.include "options.mk"
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/liblinebreak/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/PLIST       Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
+bin/FBReader
+lib/libzlcore.so.0.10
+lib/libzlcore.so.0.10.1
+lib/libzltext.so.0.10
+lib/libzltext.so.0.10.1
+lib/zlibrary/ui/zlui-gtk.so
+share/FBReader/default/config.xml
+share/FBReader/default/external.xml
+share/FBReader/default/fullscreen_toolbar.xml
+share/FBReader/default/keymap.xml
+share/FBReader/default/styles.xml
+share/FBReader/default/toolbar.xml
+share/FBReader/formats/fb2/FBReaderVersion.ent
+share/FBReader/formats/fb2/fb2genres.xml
+share/FBReader/formats/html/html.ent
+share/FBReader/formats/xhtml/xhtml-lat1.ent
+share/FBReader/formats/xhtml/xhtml-special.ent
+share/FBReader/formats/xhtml/xhtml-symbol.ent
+share/FBReader/help/MiniHelp.cs.fb2
+share/FBReader/help/MiniHelp.en.fb2
+share/FBReader/help/MiniHelp.fi.fb2
+share/FBReader/help/MiniHelp.fr.fb2
+share/FBReader/help/MiniHelp.id.fb2
+share/FBReader/help/MiniHelp.it.fb2
+share/FBReader/help/MiniHelp.ru.fb2
+share/FBReader/help/MiniHelp.sv.fb2
+share/FBReader/help/MiniHelp.uk.fb2
+share/FBReader/resources/ar.xml
+share/FBReader/resources/cs.xml
+share/FBReader/resources/en.xml
+share/FBReader/resources/fi.xml
+share/FBReader/resources/fr.xml
+share/FBReader/resources/id.xml
+share/FBReader/resources/it.xml
+share/FBReader/resources/ru.xml
+share/FBReader/resources/sv.xml
+share/FBReader/resources/uk.xml
+share/applications/FBReader.desktop
+share/pixmaps/FBReader.png
+share/pixmaps/FBReader/addBook.png
+share/pixmaps/FBReader/advancedSearchOnNetwork.png
+share/pixmaps/FBReader/bookInfo.png
+share/pixmaps/FBReader/byAuthor.png
+share/pixmaps/FBReader/byTag.png
+share/pixmaps/FBReader/fb2.png
+share/pixmaps/FBReader/findNext.png
+share/pixmaps/FBReader/findPrevious.png
+share/pixmaps/FBReader/folder.png
+share/pixmaps/FBReader/gotoHome.png
+share/pixmaps/FBReader/html.png
+share/pixmaps/FBReader/mobipocket.png
+share/pixmaps/FBReader/oeb.png
+share/pixmaps/FBReader/openreader.png
+share/pixmaps/FBReader/palm.png
+share/pixmaps/FBReader/plucker.png
+share/pixmaps/FBReader/preferences.png
+share/pixmaps/FBReader/redo.png
+share/pixmaps/FBReader/rotate.png
+share/pixmaps/FBReader/rtf.png
+share/pixmaps/FBReader/search.png
+share/pixmaps/FBReader/showHelp.png
+share/pixmaps/FBReader/showLibrary.png
+share/pixmaps/FBReader/showNetLibrary.png
+share/pixmaps/FBReader/showReading.png
+share/pixmaps/FBReader/showRecent.png
+share/pixmaps/FBReader/tcr.png
+share/pixmaps/FBReader/toc.png
+share/pixmaps/FBReader/tree-authorinfo.png
+share/pixmaps/FBReader/tree-bookinfo.png
+share/pixmaps/FBReader/tree-download-epub.png
+share/pixmaps/FBReader/tree-download-fb2.png
+share/pixmaps/FBReader/tree-download-mobi.png
+share/pixmaps/FBReader/tree-local-epub.png
+share/pixmaps/FBReader/tree-local-fb2.png
+share/pixmaps/FBReader/tree-local-mobi.png
+share/pixmaps/FBReader/tree-open-in-browser.png
+share/pixmaps/FBReader/tree-order-series.png
+share/pixmaps/FBReader/tree-removebook.png
+share/pixmaps/FBReader/tree-removetag.png
+share/pixmaps/FBReader/tree-strut.png
+share/pixmaps/FBReader/tree-taginfo.png
+share/pixmaps/FBReader/undo.png
+share/pixmaps/FBReader/unknown.png
+share/pixmaps/FBReader/upfolder.png
+share/pixmaps/FBReader/weasel.png
+share/pixmaps/FBReader/zipfolder.png
+share/zlibrary/default/config.xml
+share/zlibrary/encodings/Big5
+share/zlibrary/encodings/Encodings.xml
+share/zlibrary/encodings/GBK
+share/zlibrary/encodings/IBM866
+share/zlibrary/encodings/ISO-8859-1
+share/zlibrary/encodings/ISO-8859-10
+share/zlibrary/encodings/ISO-8859-11
+share/zlibrary/encodings/ISO-8859-13
+share/zlibrary/encodings/ISO-8859-14
+share/zlibrary/encodings/ISO-8859-15
+share/zlibrary/encodings/ISO-8859-16
+share/zlibrary/encodings/ISO-8859-2
+share/zlibrary/encodings/ISO-8859-3
+share/zlibrary/encodings/ISO-8859-4
+share/zlibrary/encodings/ISO-8859-5
+share/zlibrary/encodings/ISO-8859-6
+share/zlibrary/encodings/ISO-8859-7
+share/zlibrary/encodings/ISO-8859-8
+share/zlibrary/encodings/ISO-8859-9
+share/zlibrary/encodings/KOI8-R
+share/zlibrary/encodings/windows-1251
+share/zlibrary/encodings/windows-1252
+share/zlibrary/hyphenationPatterns.zip
+share/zlibrary/keynames-gtk.xml
+share/zlibrary/languagePatterns.zip
+share/zlibrary/resources/ar.xml
+share/zlibrary/resources/cs.xml
+share/zlibrary/resources/en.xml
+share/zlibrary/resources/fi.xml
+share/zlibrary/resources/fr.xml
+share/zlibrary/resources/id.xml
+share/zlibrary/resources/it.xml
+share/zlibrary/resources/ru.xml
+share/zlibrary/resources/sv.xml
+share/zlibrary/resources/uk.xml
+share/zlibrary/unicode.xml.gz
+@dirrm share/zlibrary/resources
+@dirrm share/zlibrary/encodings
+@dirrm share/zlibrary/default
+@dirrm share/zlibrary
+@dirrm share/pixmaps/FBReader
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment in xdg-dirs: @dirrm share/applications
+@dirrm share/FBReader/resources
+@dirrm share/FBReader/help
+@dirrm share/FBReader/formats/xhtml
+@dirrm share/FBReader/formats/html
+@dirrm share/FBReader/formats/fb2
+@dirrm share/FBReader/formats
+@dirrm share/FBReader/default
+@dirrm share/FBReader
+@dirrm lib/zlibrary/ui
+@dirrm lib/zlibrary
diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/distinfo    Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
+
+SHA1 (fbreader-sources-0.10.1.tgz) = 83589da5559d324503cdc0967c4df71b2fddf43d
+RMD160 (fbreader-sources-0.10.1.tgz) = 1dd908c143875b08f8b04c6945e15652b64da364
+Size (fbreader-sources-0.10.1.tgz) = 1596725 bytes
+SHA1 (patch-aa) = c76391244ee4a5f2efb1729157638ddb1ca97d3e
+SHA1 (patch-ab) = b2b2efd7389a847429003e460bd3ccfe4fb27722
+SHA1 (patch-ac) = 95c7a7bee4cfc017cdf52ac04895d78fde2530df
+SHA1 (patch-ad) = 1ba41ce767a7affeae6a02953eea390b8db88bf7
+SHA1 (patch-ae) = 29b33b9440e013cf87ae02ec4d32826f62e6b2ba
+SHA1 (patch-af) = dad6ecbf5ca5663d11ea4a5dbb0bed1ab3cae6d8
+SHA1 (patch-ag) = 9c536b53b51bec9394f40d3b12fd14d162c212f1
+SHA1 (patch-ah) = dabb36a6370840f7a0efd8b8398b8dcac3d83882
+SHA1 (patch-ai) = d851a0cc23f9515afa5433cb31755a792b5a9345
+SHA1 (patch-aj) = 5db2865b8975eb9972ec78ebc0914a81bd382b4c
diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/options.mk  Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.fbreader
+PKG_OPTIONS_REQUIRED_GROUPS=   gui
+PKG_OPTIONS_GROUP.gui= gtk2 # qt3 qt4 - untested
+PKG_SUPPORTED_OPTIONS= debug
+PKG_SUGGESTED_OPTIONS= gtk2
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+MAKE_ENV+=      TARGET_STATUS=debug
+.else
+MAKE_ENV+=     TARGET_STATUS=release
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk2)
+.include "../../x11/gtk2/buildlink3.mk"
+MAKE_ENV+=     UI_TYPE=gtk
+USE_TOOLS+=    pkg-config
+.endif
+
+.if !empty(PKG_OPTIONS:Mqt3)
+.include "../../x11/qt3-libs/buildlink3.mk"
+MAKE_ENV+=     UI_TYPE=qt
+.endif
+
+.if !empty(PKG_OPTIONS:Mqt4)
+.include "../../x11/qt4-libs/buildlink3.mk"
+MAKE_ENV+=     UI_TYPE=qt4
+.endif
diff -r 68cea7f98bb0 -r ec1add4a517b misc/fbreader/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbreader/patches/patch-aa    Sun Jan 18 17:39:37 2009 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
+
+--- build_packages.sh.orig     2009-01-11 01:44:33.000000000 +0100
++++ build_packages.sh
+@@ -3,7 +3,7 @@
+ version=`cat fbreader/VERSION`
+ tmpdir=fbreader-$version
+ 
+-if [ "$1" == "-non-GPL" ]; then
++if [ "$1" = "-non-GPL" ]; then
+       distdir=distributions-nonGPL
+       pkgdir=packages-nonGPL
+       prepare_nonGPL=true
+@@ -35,7 +35,7 @@ create_tmpdir() {
+       rm -rf `find $tmpdir -name ".svn"`
+       make -C $tmpdir distclean 1> /dev/null 2>&1
+ 
+-      if [ "$prepare_nonGPL" == "true" ]; then
++      if [ "$prepare_nonGPL" = "true" ]; then
+               pushd $tmpdir > /dev/null;
+               echo -en "Removing Arabic localization... ";
+               rm -rf fbreader/data/resources/ar.xml zlibrary/core/data/resources/ar.xml fbreader/data/help/MiniHelp.*.ar.fb2;
+@@ -114,7 +114,7 @@ build_package() {
+       esac;



Home | Main Index | Thread Index | Old Index