1 |
jsbronder 09/02/26 17:39:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openmesh-1.9.6-r2.ebuild |
5 |
Log: |
6 |
Fix gcc-4.3 compile error when including VectorT.hh |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 media-gfx/openmesh/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/openmesh/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/openmesh/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/openmesh/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/openmesh/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 18 Dec 2008 03:14:08 -0000 1.11 |
23 |
+++ ChangeLog 26 Feb 2009 17:39:18 -0000 1.12 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-gfx/openmesh |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/ChangeLog,v 1.11 2008/12/18 03:14:08 jsbronder Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/ChangeLog,v 1.12 2009/02/26 17:39:18 jsbronder Exp $ |
30 |
+ |
31 |
+*openmesh-1.9.6-r2 (26 Feb 2009) |
32 |
+ |
33 |
+ 26 Feb 2009; Justin Bronder <jsbronder@g.o> |
34 |
+ +openmesh-1.9.6-r2.ebuild: |
35 |
+ Fix gcc-4.3 compile error when including VectorT.hh |
36 |
|
37 |
18 Dec 2008; Justin Bronder <jsbronder@g.o> openmesh-1.0.0.ebuild, |
38 |
openmesh-1.9.5.ebuild, -openmesh-1.9.6.ebuild, openmesh-1.9.6-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-gfx/openmesh/openmesh-1.9.6-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/openmesh/openmesh-1.9.6-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/openmesh/openmesh-1.9.6-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: openmesh-1.9.6-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/openmesh-1.9.6-r2.ebuild,v 1.1 2009/02/26 17:39:18 jsbronder Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
inherit eutils |
55 |
|
56 |
MY_PN="OpenMesh" |
57 |
S=${WORKDIR}/${MY_PN} |
58 |
DESCRIPTION="A generic and efficient data structure for representing and manipulating polygonal meshes" |
59 |
HOMEPAGE="http://www.openmesh.org/" |
60 |
SRC_URI="http://www-i8.informatik.rwth-aachen.de/${MY_PN}/downloads/${MY_PN}-${PV}.tar.bz2" |
61 |
|
62 |
LICENSE="LGPL-2.1" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="qt4 debug" |
66 |
|
67 |
RDEPEND="qt4? ( |
68 |
|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*[opengl] ) |
69 |
virtual/glut )" |
70 |
DEPEND=">=dev-util/acgmake-1.4 |
71 |
>=sys-apps/findutils-4.3.0 |
72 |
${RDEPEND}" |
73 |
|
74 |
src_prepare() { |
75 |
use qt4 || sed -i "s:Apps::" ACGMakefile |
76 |
# gcc-4.3 fix. Need string.h for memcpy |
77 |
sed -i \ |
78 |
'N;s,\(OPENMESH_VECTOR_HH )\n\),\1#include <string.h>\n,' \ |
79 |
Core/Geometry/VectorT_inc.hh || die |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
if use debug; then |
84 |
export CXXDEFS="-UNDEBUG -DDEBUG" |
85 |
else |
86 |
export CXXDEFS="-DNDEBUG -UDEBUG" |
87 |
fi |
88 |
acgmake -env || die |
89 |
|
90 |
# fix insecure runpaths |
91 |
TMPDIR="${S}" scanelf -BXRr "${S}" -o /dev/null || die |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
local l |
96 |
|
97 |
for l in $(find "${S}"/{Core,Tools} -name '*.so'); do |
98 |
dolib ${l} || die |
99 |
done |
100 |
|
101 |
# Clean up manually as acgmake doesn't do a decent job. |
102 |
find . -name 'ACGMakefile' -delete || die |
103 |
find . -name '*.vcproj' -delete || die |
104 |
rm -rf $(find "${S}" -type d -name 'Linux_gcc*_env') || die |
105 |
|
106 |
dodir /usr/include/${MY_PN} |
107 |
|
108 |
cp -a Core "${D}"/usr/include/${MY_PN} |
109 |
cp -a Tools "${D}"/usr/include/${MY_PN} |
110 |
} |