1 |
jlec 13/12/26 13:37:00 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: povray-3.7.0.0.ebuild |
5 |
Log: |
6 |
media-gfx/povray: Version BUmp |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.150 media-gfx/povray/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/ChangeLog?rev=1.150&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/ChangeLog?rev=1.150&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/ChangeLog?r1=1.149&r2=1.150 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v |
20 |
retrieving revision 1.149 |
21 |
retrieving revision 1.150 |
22 |
diff -u -r1.149 -r1.150 |
23 |
--- ChangeLog 26 Dec 2013 00:37:51 -0000 1.149 |
24 |
+++ ChangeLog 26 Dec 2013 13:37:00 -0000 1.150 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for media-gfx/povray |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.149 2013/12/26 00:37:51 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.150 2013/12/26 13:37:00 jlec Exp $ |
30 |
+ |
31 |
+*povray-3.7.0.0 (26 Dec 2013) |
32 |
+ |
33 |
+ 26 Dec 2013; Justin Lecher <jlec@g.o> +povray-3.7.0.0.ebuild, |
34 |
+ +files/povray-3.7.0.0-automagic.patch, |
35 |
+ +files/povray-3.7.0.0-boost-1.50.patch, |
36 |
+ +files/povray-3.7.0.0-user-conf.patch, metadata.xml: |
37 |
+ Version BUmp |
38 |
|
39 |
26 Dec 2013; Justin Lecher <jlec@g.o> povray-3.7.0_rc3.ebuild: |
40 |
Backport fix for boost 1.5*, #494322 |
41 |
|
42 |
|
43 |
|
44 |
1.12 media-gfx/povray/metadata.xml |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/metadata.xml?rev=1.12&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/metadata.xml?rev=1.12&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/metadata.xml?r1=1.11&r2=1.12 |
49 |
|
50 |
Index: metadata.xml |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/povray/metadata.xml,v |
53 |
retrieving revision 1.11 |
54 |
retrieving revision 1.12 |
55 |
diff -u -r1.11 -r1.12 |
56 |
--- metadata.xml 14 Mar 2013 07:53:14 -0000 1.11 |
57 |
+++ metadata.xml 26 Dec 2013 13:37:00 -0000 1.12 |
58 |
@@ -6,5 +6,6 @@ |
59 |
</maintainer> |
60 |
<use> |
61 |
<flag name="mkl">Enable support for Intel Vector Math Library, part of sci-libs/mkl</flag> |
62 |
+ <flag name="io-restrictions">POV-Ray's mechanism for control of I/O operations</flag> |
63 |
</use> |
64 |
</pkgmetadata> |
65 |
|
66 |
|
67 |
|
68 |
1.1 media-gfx/povray/povray-3.7.0.0.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/povray-3.7.0.0.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/povray-3.7.0.0.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: povray-3.7.0.0.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2013 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.7.0.0.ebuild,v 1.1 2013/12/26 13:37:00 jlec Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
|
81 |
AUTOTOOLS_AUTORECONF=true |
82 |
|
83 |
inherit autotools-utils flag-o-matic multilib versionator virtualx |
84 |
|
85 |
POVRAY_MAJOR_VER=$(get_version_component_range 1-3) |
86 |
POVRAY_MINOR_VER=$(get_version_component_range 4) |
87 |
if [ -n "$POVRAY_MINOR_VER" ]; then |
88 |
POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC} |
89 |
MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}" |
90 |
else |
91 |
MY_PV=${POVRAY_MAJOR_VER} |
92 |
fi |
93 |
|
94 |
DESCRIPTION="The Persistence of Vision Raytracer" |
95 |
HOMEPAGE="http://www.povray.org/" |
96 |
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
97 |
|
98 |
LICENSE="AGPL-3" |
99 |
SLOT="0" |
100 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
101 |
IUSE="debug +io-restrictions mkl openexr static-libs tiff X" |
102 |
|
103 |
DEPEND=" |
104 |
>=dev-libs/boost-1.50.0:=[threads(+)] |
105 |
media-libs/libpng:0 |
106 |
sys-libs/zlib |
107 |
virtual/jpeg |
108 |
mkl? ( sci-libs/mkl ) |
109 |
openexr? ( |
110 |
media-libs/ilmbase |
111 |
media-libs/openexr ) |
112 |
tiff? ( media-libs/tiff:0 ) |
113 |
X? ( media-libs/libsdl )" |
114 |
RDEPEND="${DEPEND}" |
115 |
DEPEND="${DEPEND} |
116 |
sys-devel/boost-m4" |
117 |
|
118 |
S=${WORKDIR}/${PN}-${MY_PV} |
119 |
|
120 |
PATCHES=( |
121 |
"${FILESDIR}"/${P}-user-conf.patch |
122 |
"${FILESDIR}"/${P}-boost-1.50.patch |
123 |
"${FILESDIR}"/${P}-automagic.patch |
124 |
) |
125 |
|
126 |
src_prepare() { |
127 |
[[ ${CHOST} == *-darwin* ]] && \ |
128 |
PATCHES+=( "${FILESDIR}"/${PN}-3.7.0_rc6-darwin-defaults.patch ) |
129 |
|
130 |
cd unix || die |
131 |
bash -x prebuild.sh || die |
132 |
cd .. || die |
133 |
rm -rf libraries || die |
134 |
|
135 |
|
136 |
# Change some destination directories that cannot be adjusted via configure |
137 |
sed \ |
138 |
-e 's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \ |
139 |
-e 's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \ |
140 |
-e 's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \ |
141 |
-e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS -lboost_date_time:g' \ |
142 |
-i configure.ac || die |
143 |
|
144 |
sed \ |
145 |
-e "s:^povlibdir = .*:povlibdir = @datadir@/${PN}:" \ |
146 |
-e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" \ |
147 |
-e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" \ |
148 |
-e 's:mkdir_p:MKDIR_P:g' \ |
149 |
-i Makefile.am || die |
150 |
|
151 |
# The "+p" option on the test command line causes a pause and |
152 |
# prompts the user to interact, so remove it. |
153 |
sed -i -e "s:biscuit.pov -f +d +p:biscuit.pov -f +d:" Makefile.am || die |
154 |
|
155 |
autotools-utils_src_prepare |
156 |
} |
157 |
|
158 |
_src_compile() { |
159 |
einfo "${LDFLAGS}" |
160 |
autotools-utils_src_compile LDFLAGS="${LDFLAGS}" |
161 |
} |
162 |
|
163 |
src_configure() { |
164 |
local non_redist_conf |
165 |
|
166 |
# Fixes bug 71255 |
167 |
if [[ $(get-flag march) == k6-2 ]]; then |
168 |
filter-flags -fomit-frame-pointer |
169 |
fi |
170 |
|
171 |
# The config files are installed correctly (e.g. povray.conf), |
172 |
# but the code compiles using incorrect [default] paths |
173 |
# (based on /usr/local...), so povray will not find the system |
174 |
# config files without the following fix: |
175 |
append-cppflags -DPOVLIBDIR=\\\"${EROOT}usr/share/${PN}\\\" -DPOVCONFDIR=\\\"${EROOT}etc/${PN}\\\" |
176 |
|
177 |
if ! use tiff ; then |
178 |
non_redist_conf="NON_REDISTRIBUTABLE_BUILD=yes" |
179 |
else |
180 |
non_redist_conf="" |
181 |
fi |
182 |
|
183 |
local myeconfargs=( |
184 |
${non_redist_conf} |
185 |
COMPILED_BY="Portage (Gentoo `uname`) on `hostname -f`" |
186 |
$(use_enable debug) |
187 |
$(use_enable io-restrictions) |
188 |
$(use_with openexr openexr "${EPREFIX}/usr/$(get_libdir)") |
189 |
$(use_with mkl libmkl "${EPREFIX}/usr/$(get_libdir)") |
190 |
$(use_with tiff libtiff "${EPREFIX}/usr/$(get_libdir)") |
191 |
$(use_with X libsdl "${EPREFIX}/usr/$(get_libdir)") |
192 |
$(use_with X x "${EPREFIX}/usr/$(get_libdir)") |
193 |
--disable-pipe |
194 |
--disable-strip |
195 |
--disable-optimiz |
196 |
--disable-optimiz-arch |
197 |
) |
198 |
autotools-utils_src_configure |
199 |
} |
200 |
|
201 |
src_test() { |
202 |
# For the beta releases, we generate a license extension in case needed |
203 |
VIRTUALX_COMMAND="autotools-utils_src_test" |
204 |
virtualmake |
205 |
} |
206 |
|
207 |
pkg_preinst() { |
208 |
# Copy the old config files if they are in the old location |
209 |
# but do not yet exist in the new location. |
210 |
# This way, they can be treated by CONFIG_PROTECT as normal. |
211 |
for conf_file in $(ls "${ED}/etc/${PN}"); do |
212 |
if [ ! -e "${EROOT}etc/${PN}/${conf_file}" ]; then |
213 |
for version_dir in $(ls "${EROOT}etc/${PN}" | grep "^[0-9]" | sort -rn); do |
214 |
if [ -e "${EROOT}etc/${PN}/${version_dir}/${conf_file}" ]; then |
215 |
mv "${EROOT}etc/${PN}/${version_dir}/${conf_file}" "${EROOT}etc/${PN}" |
216 |
elog "Note: ${conf_file} moved from ${EROOT}etc/povray/${version_dir}/ to ${EROOT}etc/povray/" |
217 |
break |
218 |
fi |
219 |
done |
220 |
fi |
221 |
done |
222 |
} |