Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2010 14:43:00 +1200 (NZST)
From:      Jonathan Chen <jonc@chen.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150515: update textproc/sigil
Message-ID:  <20100913024300.7CDC8E0454@chen.org.nz>
Resent-Message-ID: <201009130250.o8D2o2bK048123@freefall.freebsd.org>

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

>Number:         150515
>Category:       ports
>Synopsis:       update textproc/sigil
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 13 02:50:01 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:

1. Add support for image formats other than PNG.
2. Add desktop menu-entry.

>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/textproc/sigil/Makefile ./Makefile
--- /usr/ports/textproc/sigil/Makefile	2010-09-10 18:31:09.000000000 +1200
+++ ./Makefile	2010-09-13 14:25:35.000000000 +1200
@@ -7,6 +7,7 @@
 
 PORTNAME=	sigil
 PORTVERSION=	0.2.4
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	Sigil-${PORTVERSION}-Code
@@ -18,6 +19,17 @@
 USE_CMAKE=	yes
 USE_DOS2UNIX=	DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
 USE_QT_VER=	4
-QT_COMPONENTS=	qmake gui svg webkit xml moc uic rcc
+QT_COMPONENTS=	qmake gui imageformats svg webkit xml moc uic rcc
+
+DESKTOP_ENTRIES="Sigil Editor" \
+		"${COMMENT}" \
+		"${DATADIR}/sigil.png" \
+		"sigil" \
+		"Application;" \
+		${FALSE}
+
+post-install:
+	${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/src/Sigil/Resource_Files/icon/app_icon_48.png ${DATADIR}/sigil.png
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/textproc/sigil/pkg-plist ./pkg-plist
--- /usr/ports/textproc/sigil/pkg-plist	2010-09-10 18:31:09.000000000 +1200
+++ ./pkg-plist	2010-09-13 14:21:50.000000000 +1200
@@ -1 +1,3 @@
 bin/sigil
+share/sigil/sigil.png
+@dirrm share/sigil
>Release-Note:
>Audit-Trail:
>Unformatted:



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