summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2003-11-14 13:08:00 +0000
committerHanno Boeck <hanno@gentoo.org>2003-11-14 13:08:00 +0000
commit4cf82485c0e5f446a5252a9b088ae84d29549665 (patch)
tree808b09d77419e6a09048203a2c371e1650469c2f /app-office
parentfix kde-base dep (diff)
downloadhistorical-4cf82485c0e5f446a5252a9b088ae84d29549665.tar.gz
historical-4cf82485c0e5f446a5252a9b088ae84d29549665.tar.bz2
historical-4cf82485c0e5f446a5252a9b088ae84d29549665.zip
scribus fix to compile with python 2.3
Diffstat (limited to 'app-office')
-rw-r--r--app-office/scribus/ChangeLog5
-rw-r--r--app-office/scribus/Manifest4
-rw-r--r--app-office/scribus/scribus-1.1.2.ebuild9
3 files changed, 14 insertions, 4 deletions
diff --git a/app-office/scribus/ChangeLog b/app-office/scribus/ChangeLog
index 7e37f6d05acd..461987d30d51 100644
--- a/app-office/scribus/ChangeLog
+++ b/app-office/scribus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/scribus
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.20 2003/11/02 10:55:04 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.21 2003/11/14 13:07:52 hanno Exp $
+
+ 14 Nov 2003; Hanno Boeck <hanno@gentoo.org> scribus-1.1.2.ebuild:
+ Patch to compile with python 2.3 from Marc Chabrol (bug #32775).
*scribus-1.1.2 (02 Nov 2003)
diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest
index d5af0d02f2e6..0c02918e7ffe 100644
--- a/app-office/scribus/Manifest
+++ b/app-office/scribus/Manifest
@@ -1,6 +1,6 @@
-MD5 3086a1f8d67cea7f4597a4e2f52a2f54 scribus-1.1.2.ebuild 1233
+MD5 09408d18eb7d236d5ab5aaf62e471b35 scribus-1.1.2.ebuild 1452
MD5 40644dcab278f7953fda85e61b13e479 scribus-1.1.0.ebuild 1169
-MD5 aa45abb3ccc084093b549d27214e5580 ChangeLog 2674
+MD5 c37a5b14cd0398f1df90050a6b6ca72d ChangeLog 2810
MD5 116efae2fe89bb41cda012cf68cbc8e2 scribus-1.1.1.ebuild 1176
MD5 cff646ddd79b418e6091c58164e213f0 scribus-1.0.1.ebuild 1136
MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217
diff --git a/app-office/scribus/scribus-1.1.2.ebuild b/app-office/scribus/scribus-1.1.2.ebuild
index b69051aa5c73..d21d2cd4836c 100644
--- a/app-office/scribus/scribus-1.1.2.ebuild
+++ b/app-office/scribus/scribus-1.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.1.2.ebuild,v 1.1 2003/11/02 10:55:04 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.1.2.ebuild,v 1.2 2003/11/14 13:07:54 hanno Exp $
DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
HOMEPAGE="http://web2.altmuehlnet.de/fschmid/"
@@ -20,6 +20,13 @@ DEPEND="=x11-libs/qt-3*
!media-plugins/scribus-svg
!media-plugins/scribus-scripting"
+src_unpack() {
+ unpack ${A}
+ # Fix for python-2.3 compatibility (bug #32775)
+ sed -e 's:#include "scribus.h":#include <Python.h>\n#include "scribus.h":g' \
+ -i scribus-1.1.2/scribus/plugins/scriptplugin/cmdvar.h
+}
+
src_compile() {
econf || die
emake CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms" || die