Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/scribus: ChangeLog scribus-1.4.0_rc5.ebuild scribus-1.3.9-r2.ebuild
Date: Tue, 27 Sep 2011 21:28:26
Message-Id: 20110927212814.D473520036@flycatcher.gentoo.org
1 jlec 11/09/27 21:28:14
2
3 Modified: ChangeLog scribus-1.4.0_rc5.ebuild
4 Added: scribus-1.3.9-r2.ebuild
5 Log:
6 Added fixes for zlib-1.2.5.1-r1, #383833
7
8 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.146 app-office/scribus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?rev=1.146&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?rev=1.146&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?r1=1.145&r2=1.146
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v
20 retrieving revision 1.145
21 retrieving revision 1.146
22 diff -u -r1.145 -r1.146
23 --- ChangeLog 15 Jul 2011 15:07:37 -0000 1.145
24 +++ ChangeLog 27 Sep 2011 21:28:14 -0000 1.146
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/scribus
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.145 2011/07/15 15:07:37 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.146 2011/09/27 21:28:14 jlec Exp $
30 +
31 +*scribus-1.3.9-r2 (27 Sep 2011)
32 +
33 + 27 Sep 2011; Justin Lecher <jlec@g.o> +scribus-1.3.9-r2.ebuild,
34 + scribus-1.4.0_rc5.ebuild:
35 + Added fixes for zlib-1.2.5.1-r1, #383833
36
37 15 Jul 2011; Kacper Kowalik <xarthisius@g.o> scribus-1.3.9.ebuild:
38 ppc/ppc64 stable wrt #362053
39
40
41
42 1.4 app-office/scribus/scribus-1.4.0_rc5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild?r1=1.3&r2=1.4
47
48 Index: scribus-1.4.0_rc5.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- scribus-1.4.0_rc5.ebuild 12 Jul 2011 09:59:33 -0000 1.3
55 +++ scribus-1.4.0_rc5.ebuild 27 Sep 2011 21:28:14 -0000 1.4
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild,v 1.3 2011/07/12 09:59:33 jlec Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0_rc5.ebuild,v 1.4 2011/09/27 21:28:14 jlec Exp $
61
62 EAPI=3
63
64 @@ -55,6 +55,11 @@
65 sed '/ADD_SUBDIRECTORY(resources\/templates)/d' -i CMakeLists.txt
66 use examples || \
67 sed '/ADD_SUBDIRECTORY(samples)/d' -i scribus/plugins/scriptplugin/CMakeLists.txt
68 +
69 +sed \
70 + -e '1i#define OF(x) x' \
71 + -i scribus/fileunzip.cpp scribus/unzip.h scribus/ioapi.h || die
72 +
73 base_src_prepare
74 }
75
76
77
78
79 1.1 app-office/scribus/scribus-1.3.9-r2.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.3.9-r2.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.3.9-r2.ebuild?rev=1.1&content-type=text/plain
83
84 Index: scribus-1.3.9-r2.ebuild
85 ===================================================================
86 # Copyright 1999-2011 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.9-r2.ebuild,v 1.1 2011/09/27 21:28:14 jlec Exp $
89
90 EAPI=2
91
92 PYTHON_DEPEND="2:2.6"
93
94 inherit cmake-utils fdo-mime multilib python
95
96 DESCRIPTION="Desktop publishing (DTP) and layout program"
97 HOMEPAGE="http://www.scribus.net/"
98 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
99
100 LICENSE="GPL-2"
101 SLOT="0"
102 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
103 IUSE="cairo debug examples +minimal +pdf spell templates"
104
105 COMMON_DEPEND="
106 dev-libs/hyphen
107 dev-libs/libxml2
108 media-libs/fontconfig
109 media-libs/freetype:2
110 media-libs/lcms:0
111 media-libs/libpng
112 media-libs/tiff
113 net-print/cups
114 sys-libs/zlib
115 x11-libs/qt-core:4
116 x11-libs/qt-gui:4
117 virtual/jpeg
118 spell? ( app-text/aspell )
119 pdf? ( app-text/podofo )
120 cairo? ( x11-libs/cairo[X,svg] )"
121 RDEPEND="${COMMON_DEPEND}
122 app-text/ghostscript-gpl"
123 DEPEND="${COMMON_DEPEND}
124 dev-libs/boost"
125
126 PATCHES=(
127 "${FILESDIR}/${PN}-1.3.5.1-system-hyphen.patch"
128 )
129
130 DOCS="AUTHORS ChangeLog* LINKS NEWS README TODO TRANSLATION"
131
132 pkg_setup() {
133 python_set_active_version 2
134 }
135
136 src_prepare() {
137 use templates || \
138 sed '/ADD_SUBDIRECTORY(resources\/templates)/d' -i CMakeLists.txt
139 use examples || \
140 sed '/ADD_SUBDIRECTORY(samples)/d' -i scribus/plugins/scriptplugin/CMakeLists.txt
141
142 sed \
143 -e '1i#define OF(x) x' \
144 -i scribus/fileunzip.cpp scribus/unzip.h scribus/ioapi.h || die
145
146 base_src_prepare
147 }
148
149 src_configure() {
150 mycmakeargs=(
151 "-DHAVE_PYTHON=ON"
152 "-DPYTHON_INCLUDE_PATH=$(python_get_includedir)"
153 "-DPYTHON_LIBRARY=$(python_get_library)"
154 "-DWANT_NORPATH=ON"
155 "-DWANT_QTARTHUR=ON"
156 "-DWANT_QT3SUPPORT=OFF"
157 $(cmake-utils_use_has spell ASPELL)
158 $(cmake-utils_use_has pdf PODOFO)
159 $(cmake-utils_use_want cairo)
160 $(cmake-utils_use_want minimal NOHEADERINSTALL)
161 )
162
163 cmake-utils_src_configure
164 }
165
166 src_install() {
167 cmake-utils_src_install
168
169 doicon resources/icons/scribus.png
170 domenu scribus.desktop
171 }
172
173 pkg_postinst() {
174 fdo-mime_mime_database_update
175 }
176
177 pkg_postrm() {
178 fdo-mime_mime_database_update
179 }