svn commit: r539777 - in head/print: . simple-fb2-reader simple-fb2-reader/files
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Jun 21 17:35:07 UTC 2020
Author: danfe
Date: Sun Jun 21 17:35:05 2020
New Revision: 539777
URL: https://svnweb.freebsd.org/changeset/ports/539777
Log:
Simple tool to read books in the FB2 format. Developed using GTK+3.
WWW: https://github.com/Cactus64k/simple-fb2-reader
Added:
head/print/simple-fb2-reader/
head/print/simple-fb2-reader/Makefile (contents, props changed)
head/print/simple-fb2-reader/distinfo (contents, props changed)
head/print/simple-fb2-reader/files/
head/print/simple-fb2-reader/files/patch-CMakeLists.txt (contents, props changed)
head/print/simple-fb2-reader/pkg-descr (contents, props changed)
head/print/simple-fb2-reader/pkg-plist (contents, props changed)
Modified:
head/print/Makefile
Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile Sun Jun 21 17:03:39 2020 (r539776)
+++ head/print/Makefile Sun Jun 21 17:35:05 2020 (r539777)
@@ -223,6 +223,7 @@
SUBDIR += scribus-devel
SUBDIR += sgf2tex
SUBDIR += shrinkpdf
+ SUBDIR += simple-fb2-reader
SUBDIR += splix
SUBDIR += system-config-printer
SUBDIR += t1utils
Added: head/print/simple-fb2-reader/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/simple-fb2-reader/Makefile Sun Jun 21 17:35:05 2020 (r539777)
@@ -0,0 +1,22 @@
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= simple-fb2-reader
+PORTVERSION= 1.1.3
+CATEGORIES= print
+
+MAINTAINER= danfe at FreeBSD.org
+COMMENT= Simple FB2 format book reader
+
+LICENSE= GPLv3+
+
+LIB_DEPENDS= libzip.so:archivers/libzip
+
+USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \
+ shared-mime-info sqlite
+USE_GITHUB= yes
+GH_ACCOUNT= Cactus64k
+USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2
+INSTALLS_ICONS= yes
+
+.include <bsd.port.mk>
Added: head/print/simple-fb2-reader/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/simple-fb2-reader/distinfo Sun Jun 21 17:35:05 2020 (r539777)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565566451
+SHA256 (Cactus64k-simple-fb2-reader-1.1.3_GH0.tar.gz) = d3a8b94dee6e537d5733d26bf269dfbf4d7f90c7039db80c618fc1079360b801
+SIZE (Cactus64k-simple-fb2-reader-1.1.3_GH0.tar.gz) = 94550
Added: head/print/simple-fb2-reader/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/simple-fb2-reader/files/patch-CMakeLists.txt Sun Jun 21 17:35:05 2020 (r539777)
@@ -0,0 +1,18 @@
+--- CMakeLists.txt.orig 2019-08-11 23:34:11 UTC
++++ CMakeLists.txt
+@@ -40,13 +40,14 @@ set (INCLUDES
+ #BUILD
+
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
+-set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -export-dynamic")
++set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
+
+ add_definitions (-DGUI_CONSTRUCT_PATH="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT}/${PROJECT}.glade")
+ add_definitions (-DPACKAGE_VERSION="${VERSION}")
+ add_definitions (-DPACKAGE_NAME="${PROJECT}")
+
+ include_directories (${INCLUDES})
++link_directories (${GTK3_LIBRARY_DIRS})
+ add_executable (${PROJECT} ${HEADERS} ${SOURCES})
+ target_link_libraries (${PROJECT} ${LIBRARIES})
+
Added: head/print/simple-fb2-reader/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/simple-fb2-reader/pkg-descr Sun Jun 21 17:35:05 2020 (r539777)
@@ -0,0 +1,11 @@
+Simple tool to read books in the FB2 format. Developed using GTK+3.
+Its features:
+
+ - Supports *.fb2 and *.fb2.zip files
+ - Full 2.1 format support (without stylesheet and partial
+ table tag support)
+ - Saving reading position, window state, size, and position
+ - Search for specific text in the book
+ - Russian and English GUI, user themes, autoscrolling, hotkeys
+
+WWW: https://github.com/Cactus64k/simple-fb2-reader
Added: head/print/simple-fb2-reader/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/simple-fb2-reader/pkg-plist Sun Jun 21 17:35:05 2020 (r539777)
@@ -0,0 +1,10 @@
+bin/simple-fb2-reader
+share/applications/simple-fb2-reader.desktop
+share/icons/hicolor/scalable/apps/simple-fb2-reader.svg
+share/icons/hicolor/scalable/mimetypes/application-x-fictionbook+xml.svg
+share/icons/hicolor/scalable/mimetypes/application-x-zip-compressed-fb2.svg
+share/locale/en_US/LC_MESSAGES/simple-fb2-reader.mo
+share/locale/ru/LC_MESSAGES/simple-fb2-reader.mo
+share/mime/packages/simple-fb2-reader.xml
+%%DATADIR%%/simple-fb2-reader.css
+%%DATADIR%%/simple-fb2-reader.glade
More information about the svn-ports-all
mailing list