Gentoo Archives: gentoo-commits

From: "Luca Barbato (lu_zero)" <lu_zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/hugin: ChangeLog hugin-0.6.1-r1.ebuild
Date: Thu, 25 Oct 2007 23:51:47
Message-Id: E1IlCUH-0000Wg-2c@stork.gentoo.org
1 lu_zero 07/10/25 23:51:41
2
3 Modified: ChangeLog
4 Added: hugin-0.6.1-r1.ebuild
5 Log:
6 Security Fix, see bug #195996
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.27 media-gfx/hugin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 13 Oct 2007 00:06:49 -0000 1.26
23 +++ ChangeLog 25 Oct 2007 23:51:40 -0000 1.27
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-gfx/hugin
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.26 2007/10/13 00:06:49 dirtyepic Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.27 2007/10/25 23:51:40 lu_zero Exp $
29 +
30 +*hugin-0.6.1-r1 (25 Oct 2007)
31 +
32 + 25 Oct 2007; Luca Barbato <lu_zero@g.o>
33 + +files/hugin-0.6.1-1_0.6.1-1.1.patch, +hugin-0.6.1-r1.ebuild:
34 + Security Fix, see bug #195996. Debian patch applied
35
36 13 Oct 2007; Ryan Hill <dirtyepic@g.o> hugin-0.5_rc1-r2.ebuild,
37 hugin-0.5.ebuild, hugin-0.6.1.ebuild, hugin-0.7_beta4.ebuild:
38
39
40
41 1.1 media-gfx/hugin/hugin-0.6.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hugin-0.6.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.6.1-r1.ebuild,v 1.1 2007/10/25 23:51:40 lu_zero Exp $
51
52 inherit wxwidgets eutils
53
54 DESCRIPTION="GUI for the creation & processing of panoramic images"
55 HOMEPAGE="http://hugin.sf.net"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
57 LICENSE="GPL-2 SIFT"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 IUSE="unicode debug enblend sift"
61
62 DEPEND=">=media-libs/libpano12-2.8.4
63 >=dev-libs/boost-1.30.0
64 =x11-libs/wxGTK-2.6*
65 sys-libs/zlib
66 media-libs/libpng
67 media-libs/jpeg
68 media-libs/tiff
69 enblend? ( >=media-gfx/enblend-2.4 )
70 sift? ( media-gfx/autopano-sift )"
71
72 pkg_setup() {
73 if ! built_with_use --missing true dev-libs/boost threads ; then
74 local msg="Build dev-libs/boost with USE=threads"
75 eerror "$msg"
76 die "$msg"
77 fi
78 if ! use enblend; then
79 elog "It is recommended to emerge this package with the"
80 elog "enblend use flag to install media-gfx/enblend"
81 elog "that blends the seams between images in a panorama."
82 fi
83 if ! use sift; then
84 elog "It is recommended to emerge this package with the"
85 elog "sift use flag to install media-gfx/autopano-sift"
86 elog "that produces control points between images in a"
87 elog "panorama."
88 fi
89 }
90
91 src_unpack() {
92 unpack ${A}
93
94 sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h
95 cd "${S}"
96 epatch "${FILESDIR}/${P}-1_0.6.1-1.1.patch"
97 }
98
99 src_compile() {
100 export WX_GTK_VER="2.6"
101
102 if use unicode; then
103 need-wxwidgets unicode || die "Emerge wxGTK with unicode in USE"
104 else
105 need-wxwidgets gtk2 || die "Emerge wxGTK with gtk2 in USE"
106 fi
107
108 myconf="`use_with unicode`
109 `use_enable debug`"
110
111 econf --with-wx-config="${WX_CONFIG}" ${myconf} || die "configure failed"
112 emake || die "compiling failed"
113 }
114
115 src_install() {
116 make install DESTDIR="${D}" || die
117 dodoc AUTHORS BUGS README TODO
118 }
119
120
121
122 --
123 gentoo-commits@g.o mailing list