1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Update to 0.9.1

PR:		205225
Submitted by:	Ports Fury
Approved by:	mat (mentor)
Differential Revision:	D4615
This commit is contained in:
Martin Wilke 2015-12-22 14:44:14 +00:00
parent 8c2203ab22
commit 6d3f751705
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404237
6 changed files with 73 additions and 103 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sigil
PORTVERSION= 0.8.6
PORTVERSION= 0.9.1
CATEGORIES= textproc
MAINTAINER= ports@FreeBSD.org
@ -10,48 +10,27 @@ COMMENT= WYSIWYG ePub editor
LICENSE= GPLv3 # or any later version
BUILD_DEPENDS= ${LOCALBASE}/include/utf8.h:${PORTSDIR}/devel/utf8cpp
LIB_DEPENDS= libminizip.so:${PORTSDIR}/archivers/minizip \
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libpcre16.so:${PORTSDIR}/devel/pcre \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
libxerces-c.so:${PORTSDIR}/textproc/xerces-c3
libpcre.so:${PORTSDIR}/devel/pcre \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell
USE_GITHUB= yes
GH_ACCOUNT= user-none
GH_ACCOUNT= Sigil-Ebook
GH_PROJECT= Sigil
USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \
ninja pkgconfig python:run shebangfix
USE_QT5= qmake_build buildtools_build linguisttools_build \
concurrent gui network printsupport svg webkit \
widgets xml xmlpatterns
EXCLUDE= BoostParts Xerces hunspell minizip pcre utf8-cpp zlib
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude src/,}
DOS2UNIX_FILES= src/FlightCrew/CMakeLists.txt
SHEBANG_FILES= src/Sigil/Resource_Files/plugin_launchers/python/*.py
OPTIONS_DEFINE= DEBUG
DEBUG_CFLAGS_OFF= -DNDEBUG # tidyLib
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|../utf8-cpp|${LOCALBASE}/include|' \
${WRKSRC}/src/FlightCrew/CMakeLists.txt
# Gentoo: sigil tries to copy non-needed qt libs for deb package, safe
# to ignore this completely
@${REINPLACE_CMD} -e '/set( QT_LIBS/d' \
${WRKSRC}/src/Sigil/CMakeLists.txt
.if ${CHOSEN_COMPILER_TYPE} == gcc
# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
@${REINPLACE_CMD} -i .gch.bak \
-e '/precompiled_header/d' \
-e '/add_depend.*PCH/d' \
${WRKSRC}/src/FlightCrew/CMakeLists.txt
.endif
USES= cmake compiler:c++11-lib desktop-file-utils pkgconfig \
python:3 shebangfix
SHEBANG_FILES= src/Resource_Files/plugin_launchers/python/*.py \
src/Resource_Files/python3lib/*.py
USE_QT5= concurrent gui network printsupport svg webkit widgets \
xml xmlpatterns \
buildtools_build linguisttools_build qmake_build \
imageformats_run
CMAKE_ARGS= -DUSE_SYSTEM_LIBS:BOOL=ON \
-DINSTALL_BUNDLED_DICTS:BOOL=OFF
USE_LDCONFIG= ${PREFIX}/lib/sigil
post-install:
${STRIP_CMD} ${STAGEDIR}${DATADIR}/${PORTNAME}-real
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sigil/*.so
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (user-none-Sigil-0.8.6_GH0.tar.gz) = 5f89b47abbf0a7befa4e776083db5426456f8ef1ef50bd168dc98d621fb2ad26
SIZE (user-none-Sigil-0.8.6_GH0.tar.gz) = 19394568
SHA256 (Sigil-Ebook-Sigil-0.9.1_GH0.tar.gz) = 7ef13ae9f570ac51aa8d80890ff31bcdf8d1b488c1c4bbb315f1ca4b75237a63
SIZE (Sigil-Ebook-Sigil-0.9.1_GH0.tar.gz) = 17451106

View File

@ -1,18 +0,0 @@
See ports/180350: if archivers/libzip is installed there's a conflict because
/usr/local/include ends up being included before the minizip directory inside
the port.
--- src/Sigil/CMakeLists.txt.orig 2015-04-12 15:08:13 UTC
+++ src/Sigil/CMakeLists.txt
@@ -606,11 +606,11 @@ include_directories( BEFORE
${HUNSPELL_INCLUDE_DIRS}
${PCRE_INCLUDE_DIRS}
${tidyLib_SOURCE_DIR}
- ${MINIZIP_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIRS}
${XERCESEXTENSIONS_INCLUDE_DIRS}
${XERCES_INCLUDE_DIRS}
${BOOST_INCLUDE_DIRS}
+ ${MINIZIP_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR} )

View File

@ -0,0 +1,14 @@
--- src/SourceUpdates/AnchorUpdates.cpp.orig 2015-11-04 13:52:16 UTC
+++ src/SourceUpdates/AnchorUpdates.cpp
@@ -19,10 +19,10 @@
**
*************************************************************************/
+#include "Misc/EmbeddedPython.h"
#include <memory>
#include <functional>
-#include "Misc/EmbeddedPython.h"
#include <QtCore/QtCore>
#include <QtCore/QString>
#include <QtCore/QHash>

View File

@ -1,24 +1,21 @@
Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books
in ePub format.
* Free and open source software under GPLv3
* Multi-platform: runs on Windows, FreeBSD, Linux and Mac
* Full Unicode support: everything you see in Sigil is in UTF-16
* Full EPUB spec support
* WYSIWYG editing
* Multiple Views: Book View, Code View and Split View
* Metadata editor with full support for all possible metadata entries
(more than 200) with full descriptions for each
* Table Of Contents editor
* Multi-level TOC support
* Book View fully supports the display of any XHTML document possible
under the OPS spec
* SVG support
* Basic XPGT support
* Advanced automatic conversion of all imported documents to Unicode
* Currently imports TXT, HTML and EPUB files; more will be added with time
* Embedded HTML Tidy; all imported documents are thoroughly cleaned;
changing views cleans the document so no matter how much you screw
up your code, it will fix it (usually)
* An actually usable user interface
Sigil is a multi-platform EPUB ebook editor with the following features:
* Free and open source software under GPLv3
* Multi-platform
* Full UTF-16 support
* EPUB 2 spec support with limited EPUB 3 support
* Multiple Views: Book View, Code View and Preview View
* WYSIWYG editing in Book View
* Complete control over directly editing EPUB syntax in Code View
* Table of Contents generator with multi-level heading support
* Metadata editor
* User interface translated into many languages
* Spell checking with default and user configurable dictionaries
* Full Regular Expression (PCRE) support for Find & Replace
* Supports import of EPUB and HTML files, images, and style sheets
* Documents can be validated for EPUB compliance with the integrated
* All imported files have their formatting corrected, and your editing
can be optionally cleaned
* Plugins!
WWW: http://sigil-ebook.com/

View File

@ -1,24 +1,10 @@
bin/sigil
lib/sigil/libsigilgumbo.so
lib/sigil/sigil
share/applications/sigil.desktop
share/pixmaps/sigil.png
%%DATADIR%%/examples/clip_entries.ini
%%DATADIR%%/examples/search_entries.ini
%%DATADIR%%/hunspell_dictionaries/About.txt
%%DATADIR%%/hunspell_dictionaries/de_DE.aff
%%DATADIR%%/hunspell_dictionaries/de_DE.dic
%%DATADIR%%/hunspell_dictionaries/en_GB.aff
%%DATADIR%%/hunspell_dictionaries/en_GB.dic
%%DATADIR%%/hunspell_dictionaries/en_US.aff
%%DATADIR%%/hunspell_dictionaries/en_US.dic
%%DATADIR%%/hunspell_dictionaries/es.aff
%%DATADIR%%/hunspell_dictionaries/es.dic
%%DATADIR%%/hunspell_dictionaries/fr.aff
%%DATADIR%%/hunspell_dictionaries/fr.dic
%%DATADIR%%/hunspell_dictionaries/hyph_de_DE.dic
%%DATADIR%%/hunspell_dictionaries/hyph_en_GB.dic
%%DATADIR%%/hunspell_dictionaries/hyph_en_US.dic
%%DATADIR%%/hunspell_dictionaries/hyph_es.dic
%%DATADIR%%/hunspell_dictionaries/hyph_fr.dic
%%DATADIR%%/plugin_launchers/python/bookcontainer.py
%%DATADIR%%/plugin_launchers/python/compatibility_utils.py
%%DATADIR%%/plugin_launchers/python/epub_utils.py
@ -26,16 +12,32 @@ share/pixmaps/sigil.png
%%DATADIR%%/plugin_launchers/python/launcher.py
%%DATADIR%%/plugin_launchers/python/opf_parser.py
%%DATADIR%%/plugin_launchers/python/outputcontainer.py
%%DATADIR%%/plugin_launchers/python/pluginhunspell.py
%%DATADIR%%/plugin_launchers/python/preferences.py
%%DATADIR%%/plugin_launchers/python/quickparser.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/AUTHORS.txt
%%DATADIR%%/plugin_launchers/python/sigil_bs4/COPYING.txt
%%DATADIR%%/plugin_launchers/python/sigil_bs4/__init__.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/builder/__init__.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/builder/_html5lib.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/builder/_htmlparser.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/builder/_lxml.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/dammit.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/diagnose.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/element.py
%%DATADIR%%/plugin_launchers/python/sigil_bs4/sigil_custom_changes_to_bs4-4.4.0.patch.txt
%%DATADIR%%/plugin_launchers/python/sigil_gumbo_bs4_adapter.py
%%DATADIR%%/plugin_launchers/python/sigil_gumboc.py
%%DATADIR%%/plugin_launchers/python/sigil_gumboc_tags.py
%%DATADIR%%/plugin_launchers/python/unipath.py
%%DATADIR%%/plugin_launchers/python/validationcontainer.py
%%DATADIR%%/plugin_launchers/python/validationresult.py
%%DATADIR%%/plugin_launchers/python/wrapper.py
%%DATADIR%%/sigil-real
%%DATADIR%%/python3lib/opf_newparser.py
%%DATADIR%%/python3lib/sanitycheck.py
%%DATADIR%%/python3lib/xmlprocessor.py
%%DATADIR%%/translations/sigil_bg.qm
%%DATADIR%%/translations/sigil_ca.qm
%%DATADIR%%/translations/sigil_cmn.qm
%%DATADIR%%/translations/sigil_cs.qm
%%DATADIR%%/translations/sigil_da_DK.qm
%%DATADIR%%/translations/sigil_de.qm
@ -49,11 +51,8 @@ share/pixmaps/sigil.png
%%DATADIR%%/translations/sigil_he.qm
%%DATADIR%%/translations/sigil_hu_HU.qm
%%DATADIR%%/translations/sigil_id_ID.qm
%%DATADIR%%/translations/sigil_is.qm
%%DATADIR%%/translations/sigil_it.qm
%%DATADIR%%/translations/sigil_ja.qm
%%DATADIR%%/translations/sigil_kk.qm
%%DATADIR%%/translations/sigil_km.qm
%%DATADIR%%/translations/sigil_ko.qm
%%DATADIR%%/translations/sigil_lv_LV.qm
%%DATADIR%%/translations/sigil_nl.qm
@ -63,12 +62,11 @@ share/pixmaps/sigil.png
%%DATADIR%%/translations/sigil_ro_RO.qm
%%DATADIR%%/translations/sigil_ru.qm
%%DATADIR%%/translations/sigil_sk.qm
%%DATADIR%%/translations/sigil_sv.qm
%%DATADIR%%/translations/sigil_sr.qm
%%DATADIR%%/translations/sigil_tr_TR.qm
%%DATADIR%%/translations/sigil_ug.qm
%%DATADIR%%/translations/sigil_uk.qm
%%DATADIR%%/translations/sigil_uk_UA.qm
%%DATADIR%%/translations/sigil_vi.qm
%%DATADIR%%/translations/sigil_vi_VN.qm
%%DATADIR%%/translations/sigil_zh_CN.qm
%%DATADIR%%/translations/sigil_zh_TW.qm