1 |
jlec 12/01/04 09:11:02 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: scribus-1.4.0.ebuild |
5 |
Removed: scribus-1.4.0_rc6.ebuild scribus-1.4.0_rc5.ebuild |
6 |
scribus-1.3.6.ebuild scribus-1.3.9-r1.ebuild |
7 |
scribus-1.3.8.ebuild |
8 |
Log: |
9 |
Version Bump, added linguas support, #315567; cleaned old |
10 |
|
11 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.7 app-office/scribus/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/metadata.xml?rev=1.7&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/metadata.xml?rev=1.7&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/metadata.xml?r1=1.6&r2=1.7 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/app-office/scribus/metadata.xml,v |
23 |
retrieving revision 1.6 |
24 |
retrieving revision 1.7 |
25 |
diff -u -r1.6 -r1.7 |
26 |
--- metadata.xml 12 Jul 2011 09:59:33 -0000 1.6 |
27 |
+++ metadata.xml 4 Jan 2012 09:11:02 -0000 1.7 |
28 |
@@ -13,5 +13,15 @@ |
29 |
<use> |
30 |
<flag name="minimal">Don't install headers (only required for e.g. plug-in developers)</flag> |
31 |
<flag name="templates">Document tamplates</flag> |
32 |
+ <flag name="linguas_cs_CZ">Language support for cs_CZ</flag> |
33 |
+ <flag name="linguas_da_DK">Language support for da_DK</flag> |
34 |
+ <flag name="linguas_de_1901">Language support for de_1901</flag> |
35 |
+ <flag name="linguas_de_CH">Language support for de_CH</flag> |
36 |
+ <flag name="linguas_en_AU">Language support for en_AU</flag> |
37 |
+ <flag name="linguas_lt_LT">Language support for lt_LT</flag> |
38 |
+ <flag name="linguas_pl_PL">Language support for pl_PL</flag> |
39 |
+ <flag name="linguas_sa">Language support for sa</flag> |
40 |
+ <flag name="linguas_sk_SK">Language support for sk_SK</flag> |
41 |
+ <flag name="linguas_th_TH">Language support for th_TH</flag> |
42 |
</use> |
43 |
</pkgmetadata> |
44 |
|
45 |
|
46 |
|
47 |
1.149 app-office/scribus/ChangeLog |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?rev=1.149&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?rev=1.149&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/ChangeLog?r1=1.148&r2=1.149 |
52 |
|
53 |
Index: ChangeLog |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v |
56 |
retrieving revision 1.148 |
57 |
retrieving revision 1.149 |
58 |
diff -u -r1.148 -r1.149 |
59 |
--- ChangeLog 17 Nov 2011 17:05:54 -0000 1.148 |
60 |
+++ ChangeLog 4 Jan 2012 09:11:02 -0000 1.149 |
61 |
@@ -1,6 +1,13 @@ |
62 |
# ChangeLog for app-office/scribus |
63 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.148 2011/11/17 17:05:54 jlec Exp $ |
65 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
66 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.149 2012/01/04 09:11:02 jlec Exp $ |
67 |
+ |
68 |
+*scribus-1.4.0 (04 Jan 2012) |
69 |
+ |
70 |
+ 04 Jan 2012; Justin Lecher <jlec@g.o> -scribus-1.3.6.ebuild, |
71 |
+ -scribus-1.3.8.ebuild, -scribus-1.3.9-r1.ebuild, -scribus-1.4.0_rc5.ebuild, |
72 |
+ -scribus-1.4.0_rc6.ebuild, +scribus-1.4.0.ebuild, metadata.xml: |
73 |
+ Version Bump, added linguas support, #315567; cleaned old |
74 |
|
75 |
17 Nov 2011; Justin Lecher <jlec@g.o> scribus-1.3.6.ebuild, |
76 |
scribus-1.3.8.ebuild, scribus-1.3.9.ebuild, scribus-1.3.9-r1.ebuild, |
77 |
|
78 |
|
79 |
|
80 |
1.1 app-office/scribus/scribus-1.4.0.ebuild |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild?rev=1.1&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild?rev=1.1&content-type=text/plain |
84 |
|
85 |
Index: scribus-1.4.0.ebuild |
86 |
=================================================================== |
87 |
# Copyright 1999-2012 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild,v 1.1 2012/01/04 09:11:02 jlec Exp $ |
90 |
|
91 |
EAPI=4 |
92 |
|
93 |
PYTHON_DEPEND="2" |
94 |
|
95 |
inherit cmake-utils fdo-mime multilib python |
96 |
|
97 |
DESCRIPTION="Desktop publishing (DTP) and layout program" |
98 |
HOMEPAGE="http://www.scribus.net/" |
99 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
100 |
|
101 |
LICENSE="GPL-2" |
102 |
SLOT="0" |
103 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
104 |
IUSE="cairo debug examples +minimal +pdf spell templates" |
105 |
|
106 |
# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a} |
107 |
IUSE_LINGUAS=" af ar bg br ca cs_CZ cy da_DK de_1901 de_CH de el en_AU en_GB en_US es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt_BR pt ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW" |
108 |
IUSE+=" ${IUSE_LINGUAS// / linguas_}" |
109 |
|
110 |
COMMON_DEPEND=" |
111 |
dev-libs/hyphen |
112 |
dev-libs/libxml2 |
113 |
media-libs/fontconfig |
114 |
media-libs/freetype:2 |
115 |
media-libs/lcms:2 |
116 |
media-libs/libpng:0 |
117 |
media-libs/tiff:0 |
118 |
net-print/cups |
119 |
sys-libs/zlib |
120 |
x11-libs/qt-core:4 |
121 |
x11-libs/qt-gui:4 |
122 |
virtual/jpeg |
123 |
spell? ( app-text/aspell ) |
124 |
pdf? ( app-text/podofo ) |
125 |
cairo? ( x11-libs/cairo[X,svg] )" |
126 |
RDEPEND="${COMMON_DEPEND} |
127 |
app-text/ghostscript-gpl" |
128 |
DEPEND="${COMMON_DEPEND} |
129 |
dev-libs/boost" |
130 |
|
131 |
PATCHES=( |
132 |
"${FILESDIR}"/${PN}-1.4.0_rc5-docs.patch |
133 |
) |
134 |
|
135 |
pkg_setup() { |
136 |
python_set_active_version 2 |
137 |
python_pkg_setup |
138 |
} |
139 |
|
140 |
src_prepare() { |
141 |
if use templates; then |
142 |
sed '/ADD_SUBDIRECTORY(resources\/templates)/d' -i CMakeLists.txt || die |
143 |
fi |
144 |
if use examples; then |
145 |
sed '/ADD_SUBDIRECTORY(samples)/d' -i scribus/plugins/scriptplugin/CMakeLists.txt || die |
146 |
fi |
147 |
|
148 |
sed \ |
149 |
-e '1i#define OF(x) x' \ |
150 |
-i scribus/fileunzip.cpp scribus/unzip.h scribus/ioapi.h || die |
151 |
|
152 |
base_src_prepare |
153 |
} |
154 |
|
155 |
src_configure() { |
156 |
local lang langs |
157 |
for lang in ${IUSE_LINGUAS}; do |
158 |
use linguas_${lang} && langs+=",${lang}" |
159 |
done |
160 |
|
161 |
local mycmakeargs=( |
162 |
-DHAVE_PYTHON=ON |
163 |
-DPYTHON_INCLUDE_PATH=$(python_get_includedir) |
164 |
-DPYTHON_LIBRARY=$(python_get_library) |
165 |
-DWANT_NORPATH=ON |
166 |
-DWANT_QTARTHUR=ON |
167 |
-DWANT_QT3SUPPORT=OFF |
168 |
-DGENTOOVERSION=${PVR} |
169 |
-DWANT_GUI_LANG=${langs#,} |
170 |
$(cmake-utils_use_has spell ASPELL) |
171 |
$(cmake-utils_use_has pdf PODOFO) |
172 |
$(cmake-utils_use_want cairo) |
173 |
$(cmake-utils_use_want minimal NOHEADERINSTALL) |
174 |
) |
175 |
cmake-utils_src_configure |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
cmake-utils_src_install |
180 |
|
181 |
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die |
182 |
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die |
183 |
|
184 |
doicon resources/icons/scribus.png |
185 |
domenu scribus.desktop |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
fdo-mime_mime_database_update |
190 |
} |
191 |
|
192 |
pkg_postrm() { |
193 |
fdo-mime_mime_database_update |
194 |
} |