Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Sep 2010 22:29:55 +1200 (NZST)
From:      Jonathan Chen <jonc@chen.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150348: New port: textproc/sigil
Message-ID:  <20100907102955.92DDAE0454@chen.org.nz>
Resent-Message-ID: <201009071050.o87Ao5OS014770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150348
>Category:       ports
>Synopsis:       New port: textproc/sigil
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 07 10:50:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD osiris.chen.org.nz 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 5 11:27:00 NZST 2010 root@osiris.chen.org.nz:/usr/obj/usr/src/sys/OSIRIS amd64
>Description:

New port for WYSIWYG ebook editor.

Feel free to fix the category if required.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sigil
#	sigil/Makefile
#	sigil/distinfo
#	sigil/pkg-descr
#	sigil/files
#	sigil/files/patch-ZipArchive
#	sigil/pkg-plist
#
echo c - sigil
mkdir -p sigil > /dev/null 2>&1
echo x - sigil/Makefile
sed 's/^X//' >sigil/Makefile << 'e70573477cb738dd60e8ab0d2d3e8fdc'
X# New ports collection makefile for:	sigil
X# Date created:		2010-09-07
X# Whom:			Jonathan Chen <jonc@chen.org.nz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sigil
XPORTVERSION=	0.2.4
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XDISTNAME=	Sigil-${PORTVERSION}-Code
X
XMAINTAINER=	jonc@chen.org.nz
XCOMMENT=	WYSIWYG ePub editor
X
XUSE_ZIP=	yes
XUSE_CMAKE=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	gui svg webkit xml
X
X.include <bsd.port.mk>
e70573477cb738dd60e8ab0d2d3e8fdc
echo x - sigil/distinfo
sed 's/^X//' >sigil/distinfo << '172c7af4078212e3c52c119d44d64b8e'
XMD5 (Sigil-0.2.4-Code.zip) = dc643e8410f69bdaef8d89ec07d3c0bc
XSHA256 (Sigil-0.2.4-Code.zip) = 001a535986c90f67bdfa0860964a2c70a0b1c23091cf86ea7f618e02fbc776c3
XSIZE (Sigil-0.2.4-Code.zip) = 9299387
172c7af4078212e3c52c119d44d64b8e
echo x - sigil/pkg-descr
sed 's/^X//' >sigil/pkg-descr << '1d92609ffed3c9179c2ee3549aa72aff'
XSigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books
Xin ePub format. 
X
X    * Free and open source software under GPLv3
X    * Multi-platform: runs on Windows, FreeBSD, Linux and Mac
X    * Full Unicode support: everything you see in Sigil is in UTF-16
X    * Full EPUB spec support
X    * WYSIWYG editing
X    * Multiple Views: Book View, Code View and Split View
X    * Metadata editor with full support for all possible metadata entries (more than 200) with full descriptions for each
X    * Table Of Contents editor
X    * Multi-level TOC support
X    * Book View fully supports the display of any XHTML document possible under the OPS spec
X    * SVG support
X    * Basic XPGT support
X    * Advanced automatic conversion of all imported documents to Unicode
X    * Currently imports TXT, HTML and EPUB files; more will be added with time
X    * Embedded HTML Tidy; all imported documents are thoroughly cleaned;
X      changing views cleans the document so no matter how much you screw
X      up your code, it will fix it (usually)
X    * An actually usable user interface
X    * Native C++ application
X
XWWW: http://code.google.com/p/sigil/
1d92609ffed3c9179c2ee3549aa72aff
echo c - sigil/files
mkdir -p sigil/files > /dev/null 2>&1
echo x - sigil/files/patch-ZipArchive
sed 's/^X//' >sigil/files/patch-ZipArchive << 'a31991ff1e4d3c558b66eef5c3df3580'
Xdiff -ruN /tmp/Sigil-0.2.4-Code/src/ZipArchive/DirEnumerator.cpp ./src/ZipArchive/DirEnumerator.cpp
X--- /tmp/Sigil-0.2.4-Code/src/ZipArchive/DirEnumerator.cpp	2010-08-12 17:50:52.000000000 +1200
X+++ ./src/ZipArchive/DirEnumerator.cpp	2010-09-07 22:01:02.000000000 +1200
X@@ -73,7 +73,7 @@
X 				if (!entry)
X 					break;								
X 				CZipString path(m_szCurrentDirectory + entry->d_name);
X-	#if !defined __APPLE__ && !defined __CYGWIN__ && !defined __NetBSD__ 
X+	#if !defined __APPLE__ && !defined __CYGWIN__ && !defined __NetBSD__ && !defined __FreeBSD__ 
X 				struct stat64 sStats;
X 				if (stat64(path, &sStats) == -1)
X 	#else
Xdiff -ruN /tmp/Sigil-0.2.4-Code/src/ZipArchive/ZipFile_stl.cpp ./src/ZipArchive/ZipFile_stl.cpp
X--- /tmp/Sigil-0.2.4-Code/src/ZipArchive/ZipFile_stl.cpp	2010-08-12 17:50:52.000000000 +1200
X+++ ./src/ZipArchive/ZipFile_stl.cpp	2010-09-07 22:01:02.000000000 +1200
X@@ -16,7 +16,7 @@
X 
X #if (defined _ZIP_IMPL_STL && (!defined _ZIP_FILE_IMPLEMENTATION || _ZIP_FILE_IMPLEMENTATION == ZIP_ZFI_DEFAULT)) || _ZIP_FILE_IMPLEMENTATION == ZIP_ZFI_STL
X 
X-#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ 
X+#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ || defined __FreeBSD__ 
X 	#define FILE_FUNCTIONS_64B_BY_DEFAULT
X #else
X 	#undef FILE_FUNCTIONS_64B_BY_DEFAULT	
Xdiff -ruN /tmp/Sigil-0.2.4-Code/src/ZipArchive/ZipPlatform_lnx.cpp ./src/ZipArchive/ZipPlatform_lnx.cpp
X--- /tmp/Sigil-0.2.4-Code/src/ZipArchive/ZipPlatform_lnx.cpp	2010-08-12 17:50:52.000000000 +1200
X+++ ./src/ZipArchive/ZipPlatform_lnx.cpp	2010-09-07 22:01:02.000000000 +1200
X@@ -16,7 +16,7 @@
X 
X #ifdef _ZIP_SYSTEM_LINUX
X 
X-#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ 
X+#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ || defined __FreeBSD__ 
X 	#define FILE_FUNCTIONS_64B_BY_DEFAULT
X #else
X 	#undef FILE_FUNCTIONS_64B_BY_DEFAULT	
X@@ -34,7 +34,7 @@
X 
X #include <sys/types.h>
X 
X-#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__)
X+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__FreeBSD__) 
X 	#include <sys/param.h>
X 	#include <sys/mount.h>
a31991ff1e4d3c558b66eef5c3df3580
echo x - sigil/pkg-plist
sed 's/^X//' >sigil/pkg-plist << '587e70afe56123ecff6533a395fde23e'
Xbin/sigil
587e70afe56123ecff6533a395fde23e
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100907102955.92DDAE0454>