Gentoo Archives: gentoo-commits

From: "Markus Meier (maekke)" <maekke@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/hugin: ChangeLog hugin-0.7_beta4-r1.ebuild hugin-0.6.1-r2.ebuild hugin-0.7_beta4.ebuild
Date: Mon, 03 Dec 2007 16:40:44
Message-Id: E1IzELY-000790-2X@stork.gentoo.org
1 maekke 07/12/03 16:40:40
2
3 Modified: ChangeLog
4 Added: hugin-0.7_beta4-r1.ebuild hugin-0.6.1-r2.ebuild
5 Removed: hugin-0.7_beta4.ebuild
6 Log:
7 revision bump, fix as-needed (bug #180381), also fix security bug #195996 for 0.7
8 (Portage version: 2.1.4_rc6)
9
10 Revision Changes Path
11 1.31 media-gfx/hugin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 14 Nov 2007 07:03:20 -0000 1.30
24 +++ ChangeLog 3 Dec 2007 16:40:39 -0000 1.31
25 @@ -1,6 +1,17 @@
26 # ChangeLog for media-gfx/hugin
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.30 2007/11/14 07:03:20 welp Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.31 2007/12/03 16:40:39 maekke Exp $
30 +
31 +*hugin-0.7_beta4-r1 (03 Dec 2007)
32 +*hugin-0.6.1-r2 (03 Dec 2007)
33 +
34 + 03 Dec 2007; Markus Meier <maekke@g.o>
35 + +files/hugin-0.6.1-as-needed.patch,
36 + +files/hugin-0.7_beta4-as-needed.patch,
37 + +files/hugin-0.7_beta4-insec-file.patch, +hugin-0.6.1-r2.ebuild,
38 + -hugin-0.7_beta4.ebuild, +hugin-0.7_beta4-r1.ebuild:
39 + revision bump, fix as-needed (bug #180381), also fix security bug #195996
40 + for 0.7
41
42 14 Nov 2007; Peter Weller <welp@g.o> hugin-0.6.1-r1.ebuild:
43 Stable on amd64 wrt bug 195996
44
45
46
47 1.1 media-gfx/hugin/hugin-0.7_beta4-r1.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: hugin-0.7_beta4-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2007 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild,v 1.1 2007/12/03 16:40:39 maekke Exp $
57
58 inherit wxwidgets eutils autotools libtool
59
60 DESCRIPTION="GUI for the creation & processing of panoramic images"
61 HOMEPAGE="http://hugin.sf.net"
62 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
63 LICENSE="GPL-2 SIFT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="unicode debug enblend sift"
67
68 DEPEND=">=media-libs/libpano12-2.8.4
69 >=dev-libs/boost-1.30.0
70 =x11-libs/wxGTK-2.6*
71 sys-libs/zlib
72 media-libs/libpng
73 media-libs/jpeg
74 media-libs/tiff
75 enblend? ( >=media-gfx/enblend-2.4 )
76 sift? ( media-gfx/autopano-sift )"
77
78 pkg_setup() {
79 if ! built_with_use --missing true dev-libs/boost threads ; then
80 local msg="Build dev-libs/boost with USE=threads"
81 eerror "$msg"
82 die "$msg"
83 fi
84 if ! use enblend; then
85 elog "It is recommended to emerge this package with the"
86 elog "enblend use flag to install media-gfx/enblend"
87 elog "that blends the seams between images in a panorama."
88 fi
89 if ! use sift; then
90 elog "It is recommended to emerge this package with the"
91 elog "sift use flag to install media-gfx/autopano-sift"
92 elog "that produces control points between images in a"
93 elog "panorama."
94 fi
95 }
96
97 src_unpack() {
98 unpack ${A}
99
100 sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h
101
102 cd "${S}"
103 epatch "${FILESDIR}/${P}-insec-file.patch"
104 epatch "${FILESDIR}/${P}-as-needed.patch"
105
106 AT_M4DIR="${S}/m4" eautoreconf
107 }
108
109 src_compile() {
110 export WX_GTK_VER="2.6"
111
112 if use unicode; then
113 need-wxwidgets unicode || die "Emerge wxGTK with unicode in USE"
114 else
115 need-wxwidgets gtk2 || die "Emerge wxGTK with gtk2 in USE"
116 fi
117
118 myconf="`use_with unicode`
119 `use_enable debug`"
120
121 econf --with-wx-config="${WX_CONFIG}" ${myconf} || die "configure failed"
122 emake || die "compiling failed"
123 }
124
125 src_install() {
126 make install DESTDIR="${D}" || die
127 dodoc AUTHORS BUGS README TODO
128 }
129
130
131
132 1.1 media-gfx/hugin/hugin-0.6.1-r2.ebuild
133
134 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild?rev=1.1&view=markup
135 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild?rev=1.1&content-type=text/plain
136
137 Index: hugin-0.6.1-r2.ebuild
138 ===================================================================
139 # Copyright 1999-2007 Gentoo Foundation
140 # Distributed under the terms of the GNU General Public License v2
141 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r2.ebuild,v 1.1 2007/12/03 16:40:39 maekke Exp $
142
143 inherit wxwidgets eutils autotools libtool
144
145 DESCRIPTION="GUI for the creation & processing of panoramic images"
146 HOMEPAGE="http://hugin.sf.net"
147 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
148 LICENSE="GPL-2 SIFT"
149 SLOT="0"
150 KEYWORDS="~amd64 ~ppc ~x86"
151 IUSE="unicode debug enblend sift"
152
153 DEPEND=">=media-libs/libpano12-2.8.4
154 >=dev-libs/boost-1.30.0
155 =x11-libs/wxGTK-2.6*
156 sys-libs/zlib
157 media-libs/libpng
158 media-libs/jpeg
159 media-libs/tiff
160 enblend? ( >=media-gfx/enblend-2.4 )
161 sift? ( media-gfx/autopano-sift )"
162
163 pkg_setup() {
164 if ! built_with_use --missing true dev-libs/boost threads ; then
165 local msg="Build dev-libs/boost with USE=threads"
166 eerror "$msg"
167 die "$msg"
168 fi
169 if ! use enblend; then
170 elog "It is recommended to emerge this package with the"
171 elog "enblend use flag to install media-gfx/enblend"
172 elog "that blends the seams between images in a panorama."
173 fi
174 if ! use sift; then
175 elog "It is recommended to emerge this package with the"
176 elog "sift use flag to install media-gfx/autopano-sift"
177 elog "that produces control points between images in a"
178 elog "panorama."
179 fi
180 }
181
182 src_unpack() {
183 unpack ${A}
184
185 sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h
186 cd "${S}"
187 epatch "${FILESDIR}/${P}-1_0.6.1-1.1.patch"
188 epatch "${FILESDIR}/${P}-as-needed.patch"
189
190 AT_M4DIR="${S}/m4" eautoreconf
191 }
192
193 src_compile() {
194 export WX_GTK_VER="2.6"
195
196 if use unicode; then
197 need-wxwidgets unicode || die "Emerge wxGTK with unicode in USE"
198 else
199 need-wxwidgets gtk2 || die "Emerge wxGTK with gtk2 in USE"
200 fi
201
202 myconf="`use_with unicode`
203 `use_enable debug`"
204
205 econf --with-wx-config="${WX_CONFIG}" ${myconf} || die "configure failed"
206 emake || die "compiling failed"
207 }
208
209 src_install() {
210 make install DESTDIR="${D}" || die
211 dodoc AUTHORS BUGS README TODO
212 }
213
214
215
216 --
217 gentoo-commits@g.o mailing list