>Synopsis: print/scribus is at version 1.4.5
>Category: user
>Environment:
System : OpenBSD 5.9
Details : OpenBSD 5.9 (GENERIC.MP) #3: Wed Aug 3 00:03:22 CEST 2016
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Scribus is available in version 1.4.6. This patch is against latest
HEAD. I've verified that it builds fine.
>How-To-Repeat:
pkg_info scribus
>Fix:
Apply the patch and build the ports.
scribus.patch:
cvs server: Diffing .
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/scribus/Makefile,v
retrieving revision 1.57
diff -u -p -u -r1.57 Makefile
--- Makefile 20 Mar 2016 16:12:26 -0000 1.57
+++ Makefile 6 Aug 2016 17:30:56 -0000
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.57 2016/03/20 16:12:26 naddy Exp $
COMMENT= DTP program
-DISTNAME= scribus-1.4.5
+DISTNAME= scribus-1.4.6
CATEGORIES= print
HOMEPAGE= http://www.scribus.net/
@@ -13,9 +13,9 @@ WANTLIB += QtGui QtNetwork QtXml c cairo
WANTLIB += fontconfig freetype hyphen jpeg lcms2 m podofo pthread
WANTLIB += stdc++ tiff util xml2 z ${MODPY_WANTLIB}
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scribus/}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scribus/1.4.6/}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
MODULES= x11/qt4 \
devel/cmake \
@@ -23,7 +23,8 @@ MODULES= x11/qt4 \
MODPY_RUNDEP= No
-BUILD_DEPENDS= devel/boost
+BUILD_DEPENDS= archivers/xz \
+ devel/boost
RUN_DEPENDS= devel/desktop-file-utils \
graphics/py-Pillow \
print/ghostscript/gnu \
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/scribus/distinfo,v
retrieving revision 1.11
diff -u -p -u -r1.11 distinfo
--- distinfo 5 Jan 2016 11:24:05 -0000 1.11
+++ distinfo 6 Aug 2016 17:30:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (scribus-1.4.5.tar.bz2) = n3BvBWHSa7EbvlWGkK4FB802ieOB9uF6qUEdnE71hJg=
-SIZE (scribus-1.4.5.tar.bz2) = 78251228
+SHA256 (scribus-1.4.6.tar.xz) = IeM2UA2e3JyQzPcwh+XvPfWew+Sjy/7BU2e82NB4oZo=
+SIZE (scribus-1.4.6.tar.xz) = 73601104
cvs server: Diffing patches
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/print/scribus/patches/patch-CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 5 Jan 2016 11:24:05 -0000 1.2
+++ patches/patch-CMakeLists_txt 6 Aug 2016 17:30:56 -0000
@@ -1,15 +1,6 @@
$OpenBSD: patch-CMakeLists_txt,v 1.2 2016/01/05 11:24:05 landry Exp $
--- CMakeLists.txt.orig Mon Jan 5 22:53:23 2015
+++ CMakeLists.txt Mon Jan 4 17:08:50 2016
-@@ -274,7 +274,7 @@ ENDIF (APPLEBUNDLE)
- #Setp all the directories we will use
- #MAN
- CMAKE_POLICY(SET CMP0005 OLD)
--SET(MANDIR "share/man/")
-+SET(MANDIR "man/")
- IF(WANT_VERSIONING)
- SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
- ELSE(WANT_VERSIONING)
@@ -345,7 +345,7 @@ IF(WANT_LIB64)
ENDIF(NOT ARCH_X86_64)
SET(LIB_SUFFIX "64" CACHE TYPE STRING)
cvs server: Diffing pkg