fbreader: new port
This commit is contained in:
parent
e4bd32697e
commit
257334a46f
144
fbreader/.footprint
Normal file
144
fbreader/.footprint
Normal file
@ -0,0 +1,144 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/FBReader
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
lrwxrwxrwx root/root usr/lib/libzlcore.so -> libzlcore.so.0.99.4
|
||||
lrwxrwxrwx root/root usr/lib/libzlcore.so.0.99 -> libzlcore.so.0.99.4
|
||||
-rwxr-xr-x root/root usr/lib/libzlcore.so.0.99.4
|
||||
lrwxrwxrwx root/root usr/lib/libzltext.so -> libzltext.so.0.99.4
|
||||
lrwxrwxrwx root/root usr/lib/libzltext.so.0.99 -> libzltext.so.0.99.4
|
||||
-rwxr-xr-x root/root usr/lib/libzltext.so.0.99.4
|
||||
lrwxrwxrwx root/root usr/lib/libzlui.so -> libzlui.so.0.99.4
|
||||
lrwxrwxrwx root/root usr/lib/libzlui.so.0.99 -> libzlui.so.0.99.4
|
||||
-rwxr-xr-x root/root usr/lib/libzlui.so.0.99.4
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/FBReader/
|
||||
drwxr-xr-x root/root usr/share/FBReader/default/
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/config.xml
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/external.xml
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/fullscreen_toolbar.xml
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/keymap.xml
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/styles.xml
|
||||
-rw-r--r-- root/root usr/share/FBReader/default/toolbar.xml
|
||||
drwxr-xr-x root/root usr/share/FBReader/formats/
|
||||
drwxr-xr-x root/root usr/share/FBReader/formats/fb2/
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/fb2/FBReaderVersion.ent
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/fb2/fb2genres.xml
|
||||
drwxr-xr-x root/root usr/share/FBReader/formats/html/
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/html/html.ent
|
||||
drwxr-xr-x root/root usr/share/FBReader/formats/xhtml/
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/xhtml/xhtml-lat1.ent
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/xhtml/xhtml-special.ent
|
||||
-rw-r--r-- root/root usr/share/FBReader/formats/xhtml/xhtml-symbol.ent
|
||||
drwxr-xr-x root/root usr/share/FBReader/help/
|
||||
-rw-r--r-- root/root usr/share/FBReader/help/MiniHelp.en.fb2
|
||||
drwxr-xr-x root/root usr/share/FBReader/resources/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/FBReader.desktop
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/FBReader.1.gz
|
||||
drwxr-xr-x root/root usr/share/pixmaps/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader.png
|
||||
drwxr-xr-x root/root usr/share/pixmaps/FBReader/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/addBook.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/advancedSearchOnNetwork.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/back_button.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/back_button_disabled.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/bookInfo.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/booktree-author.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/booktree-book.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/booktree-catalog.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/booktree-tag.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/byAuthor.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/byTag.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/fb2.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/findNext.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/findPrevious.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/folder.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/forward_button.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/forward_button_disabled.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/gotoHome.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/html.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/mobipocket.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/oeb.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/openreader.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/palm.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/plucker.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/preferences.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/redo.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/refresh-icon-1.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/refresh-icon-2.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/refresh-icon.svg
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/rotate.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/rtf.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/search.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/search_icon.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/searchresult.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showHelp.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showLibrary.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showNetLibrary.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showNetworkLibrary.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showReading.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/showRecent.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/spinner.gif
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/tcr.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/toc.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/undo.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/unknown.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/upfolder.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/weasel.png
|
||||
-rw-r--r-- root/root usr/share/pixmaps/FBReader/zipfolder.png
|
||||
drwxr-xr-x root/root usr/share/zlibrary/
|
||||
drwxr-xr-x root/root usr/share/zlibrary/default/
|
||||
-rw-r--r-- root/root usr/share/zlibrary/default/config.xml
|
||||
drwxr-xr-x root/root usr/share/zlibrary/encodings/
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/Big5
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/Encodings.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/GBK
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/IBM866
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-1
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-10
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-11
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-13
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-14
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-15
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-16
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-2
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-3
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-4
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-5
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-6
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-7
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-8
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/ISO-8859-9
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/KOI8-R
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/windows-1251
|
||||
-rw-r--r-- root/root usr/share/zlibrary/encodings/windows-1252
|
||||
-rw-r--r-- root/root usr/share/zlibrary/hyphenationPatterns.zip
|
||||
-rw-r--r-- root/root usr/share/zlibrary/keynames-qt4.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/languagePatterns.zip
|
||||
drwxr-xr-x root/root usr/share/zlibrary/resources/
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/ar.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/bg.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/cs.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/de.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/en.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/eo.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/es.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/fi.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/fr.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/he.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/hu.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/id.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/it.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/lt.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/nl.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/pl.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/ru.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/sv.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/uk.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/vi.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/resources/zh.xml
|
||||
-rw-r--r-- root/root usr/share/zlibrary/style.qss
|
||||
-rw-r--r-- root/root usr/share/zlibrary/unicode.xml.gz
|
4
fbreader/.md5sum
Normal file
4
fbreader/.md5sum
Normal file
@ -0,0 +1,4 @@
|
||||
bc8975fc8235f393ef011b564addf300 FBReader-0.99.4-fix-crash-with-fb2.zip-files.patch
|
||||
3547e229b21a2363bda4d13b88b54414 FBReader.desktop
|
||||
7db7def01b52f8e3f8890183a5f6f405 fbreader-0.99.4-gcc6-Wno-narrowing.diff
|
||||
ed13a9c3aeb68aaa98a1dd6f7947a31d fbreader-sources-0.99.4.tgz
|
8
fbreader/.signature
Normal file
8
fbreader/.signature
Normal file
@ -0,0 +1,8 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35FQkklsroxnVafMvuiIV10j2czBXhLzX03C2fWchrNjNoEFUiKAGy/6eWVTaAvS7K5jFIxunjT0SfAcQIJljgc=
|
||||
SHA256 (Pkgfile) = a4e4cbd68c7c788779da3e402c00086f933aedbdfc1be1e37fa2a9bef2c19710
|
||||
SHA256 (.footprint) = f64f710cb5f3c5a575ce08dc06c31a59f3e2026d0fa5bab0ae18b2dbb3bd74bb
|
||||
SHA256 (fbreader-sources-0.99.4.tgz) = 3d7c31d5ea314589d2a963290ad16f4d3d631a41e802b8b39f8be0c9f71eb8e9
|
||||
SHA256 (FBReader-0.99.4-fix-crash-with-fb2.zip-files.patch) = cb3aa6795c8f7c694ba296f6f6e6a7939648578a289bc84c10f8302c7e72df86
|
||||
SHA256 (fbreader-0.99.4-gcc6-Wno-narrowing.diff) = 83129305fc6d3b4ab999ed9e232e6173e189a33b4ce82364a47848e2644cccfa
|
||||
SHA256 (FBReader.desktop) = b42e9af54e72a38ad4854aace54f19f90602d3dc9b9e816e0fed803c8e4c3772
|
@ -0,0 +1,8 @@
|
||||
diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp
|
||||
--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp 2012-11-30 19:41:25.000000000 +0700
|
||||
+++ fbreader-0.99.4/zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp 2013-02-21 13:30:31.000000000 +0700
|
||||
@@ -49,3 +49,4 @@
|
||||
path = replacement + path.substr(1);
|
||||
}
|
||||
+ ZLUnixFSManager::normalizeRealPath(path);
|
||||
}
|
12
fbreader/FBReader.desktop
Normal file
12
fbreader/FBReader.desktop
Normal file
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Name=FBReader
|
||||
GenericName=E-book reader
|
||||
Comment=E-book reader
|
||||
TryExec=FBReader
|
||||
Exec=FBReader %F
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=FBReader
|
||||
Categories=Office;Viewer;Literature;
|
||||
MimeType=application/x-fictionbook+xml;
|
33
fbreader/Pkgfile
Normal file
33
fbreader/Pkgfile
Normal file
@ -0,0 +1,33 @@
|
||||
# Description: An e-book reader for Linux
|
||||
# URL: http://www.fbreader.org/
|
||||
# Maintainer: Pedja, predivan at mts dot rs
|
||||
# Depends on: curl fribidi libunibreak sqlite3 qt4
|
||||
|
||||
name=fbreader
|
||||
version=0.99.4
|
||||
release=1
|
||||
source=(http://fbreader.org/files/desktop/fbreader-sources-$version.tgz
|
||||
FBReader-0.99.4-fix-crash-with-fb2.zip-files.patch
|
||||
fbreader-0.99.4-gcc6-Wno-narrowing.diff
|
||||
FBReader.desktop)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
export TARGET_ARCH=desktop
|
||||
export UI_TYPE=qt4
|
||||
export TARGET_STATUS=release
|
||||
|
||||
patch -p1 -i $SRC/FBReader-0.99.4-fix-crash-with-fb2.zip-files.patch
|
||||
patch -p0 -i $SRC/fbreader-0.99.4-gcc6-Wno-narrowing.diff
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
mkdir -p $PKG/usr/share/man/man1
|
||||
install -m644 fbreader/desktop/FBReader.1 $PKG/usr/share/man/man1
|
||||
|
||||
mkdir -p $PKG/usr/share/applications/
|
||||
install -m644 $SRC/FBReader.desktop $PKG/usr/share/applications/FBReader.desktop
|
||||
|
||||
find $PKG/usr/share/FBReader/help ! -name *.en.fb2 -exec rm '{}' \;
|
||||
find $PKG/usr/share/FBReader/resources ! -name *.en.xml -exec rm '{}' \;
|
||||
}
|
10
fbreader/fbreader-0.99.4-gcc6-Wno-narrowing.diff
Normal file
10
fbreader/fbreader-0.99.4-gcc6-Wno-narrowing.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- makefiles/config.mk.orig 2012-11-30 15:41:25.000000000 +0300
|
||||
+++ makefiles/config.mk 2016-06-23 20:30:42.652441840 +0300
|
||||
@@ -21,6 +21,7 @@
|
||||
ARCHIVER_LIBS ?= -lz -lbz2
|
||||
|
||||
CFLAGS += -DINSTALLDIR=\"$(INSTALLDIR_MACRO)\" -DBASEDIR=\"$(SHAREDIR_MACRO)\" -DLIBDIR=\"$(LIBDIR_MACRO)\" -DIMAGEDIR=\"$(IMAGEDIR_MACRO)\" -DAPPIMAGEDIR=\"$(APPIMAGEDIR_MACRO)\" -DVERSION=\"$(VERSION)\"
|
||||
+CFLAGS += -Wno-narrowing
|
||||
ifeq "$(ZLSHARED)" "yes"
|
||||
CFLAGS += -fPIC -DZLSHARED
|
||||
endif
|
Loading…
Reference in New Issue
Block a user