OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: scribus 1.3.7 released

From: Tim Howe (thowebendtel.net)
Date: Wed Aug 04 2010 - 11:53:01 CDT


On Tue, 20 Jul 2010 21:13:50 +0200
"Jiri B." <jiriblive.com> wrote:

>
> sending your work-in-progress to the list is never wrong I think ;)
> Others could be interested as well. I can have a look as I will need to
> use some DTP software soon.
>
> jirib

        This is the Makefile I am currently playing with
in /usr/ports/print/scribus-ng. In order to get to the point I am
currently at, stick this in that dir on a 4.8-beta install and run make
makesum. Then run make extract and make a chane to the CMakeLists.txt
file in the main source directory (should
be /usr/ports/pobj/scribus-1.3.8/scribus-1.3.8/scribus/CMakeLists.txt)
replacing this:

IF(UNIX)
  TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
ENDIF(UNIX)

with this:

IF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
  TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
ENDIF(UNIX)

This change has already been committed upstream.

Then, add this right under that:

TARGET_LINK_LIBRARIES(${EXE_NAME} util)

This last thing appears to be needed in order for Python to embed
correctly, but this has not been verified/committed upstream as of this
writing.

It still doesn't compile all the way, but you will be as far as I am. The scribus people have been pertty cooperative, but any extra help we can give them would be nice. This isn't exactly something I have a lot of experience at...

Here's the Makefile, suggestions/fixes most welcome:

# $OpenBSD: Makefile,v 1.55 2008/08/23 15:28:00 ajacoutot Exp $
#BROKEN = reason

COMMENT = advanced page layout and DTP Program

DISTNAME = scribus-1.3.8

CATEGORIES = print

HOMEPAGE = http://www.scribus.net/

#MAINTAINER = ???

# License : GPLv2+
PERMIT_PACKAGE_CDROM?= Yes
PERMIT_PACKAGE_FTP?= Yes
PERMIT_DISTFILES_CDROM?=Yes
PERMIT_DISTFILES_FTP?= Yes

#WANTLIB = ???

MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=project/scribus/scribus-devel/1.3.8/}

EXTRACT_SUFX = .tar.bz2

MODULES = x11/qt4 \
                        devel/cmake \
                        converters/libiconv \
                        lang/python

BUILD_DEPENDS = ::devel/boost

#RUN_DEPENDS = ???

#LIB_DEPENDS = ???

#REGRESS_DEPENDS = ???

#MAKE_FLAGS = ???
#MAKE_ENV = ???
#FAKE_FLAGS = ???
#REGRESS_FLAGS = ???

CONFIGURE_STYLE = cmake

.include <bsd.port.mk>

--TimH