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/autopano-sift: ChangeLog autopano-sift-2.4-r1.ebuild
Date: Mon, 10 Dec 2007 17:13:39
Message-Id: E1J1mCC-00068k-Kg@stork.gentoo.org
1 maekke 07/12/10 17:13:32
2
3 Modified: ChangeLog
4 Added: autopano-sift-2.4-r1.ebuild
5 Log:
6 make >{glade,gtk}-sharp-2 work, bug #164884
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.15 media-gfx/autopano-sift/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/autopano-sift/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/autopano-sift/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/autopano-sift/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 8 Apr 2007 04:51:35 -0000 1.14
23 +++ ChangeLog 10 Dec 2007 17:13:30 -0000 1.15
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-gfx/autopano-sift
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/ChangeLog,v 1.14 2007/04/08 04:51:35 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/autopano-sift/ChangeLog,v 1.15 2007/12/10 17:13:30 maekke Exp $
29 +
30 +*autopano-sift-2.4-r1 (10 Dec 2007)
31 +
32 + 10 Dec 2007; Markus Meier <maekke@g.o>
33 + +autopano-sift-2.4-r1.ebuild:
34 + make >{glade,gtk}-sharp-2 work, bug #164884
35
36 08 Apr 2007; Joseph Jezak <josejx@g.o> autopano-sift-2.4.ebuild:
37 Marked ppc stable for bug #173068.
38
39
40
41 1.1 media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/autopano-sift/autopano-sift-2.4-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: autopano-sift-2.4-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/autopano-sift/autopano-sift-2.4-r1.ebuild,v 1.1 2007/12/10 17:13:30 maekke Exp $
51
52 inherit mono eutils
53
54 DESCRIPTION="SIFT algorithm for automatic panorama creation"
55 HOMEPAGE="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/"
56 SRC_URI="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/${P}.tar.gz"
57 LICENSE="GPL-2"
58
59 KEYWORDS="~amd64 ~ppc ~x86"
60 SLOT="0"
61 IUSE=""
62
63 DEPEND="dev-lang/mono
64 dev-dotnet/glade-sharp
65 dev-dotnet/gtk-sharp
66 >=dev-dotnet/libgdiplus-1.1.11"
67
68 src_unpack() {
69 unpack ${A}
70
71 cd "${S}"/src
72 sed -i 's%^AUTOPANO_PATH=.*%AUTOPANO_PATH=/usr/lib/autopano-sift%' \
73 bin/autopano-complete.sh
74 if has_version '>=dev-dotnet/gtk-sharp-2' ; then
75 sed -i 's%pkg:gtk-sharp%pkg:gtk-sharp-2.0%g' Makefile util/Makefile \
76 util/autopanog/Makefile || die "sed failed"
77 fi
78 if has_version '>=dev-dotnet/glade-sharp-2' ; then
79 sed -i 's%pkg:glade-sharp%pkg:glade-sharp-2.0%g' util/Makefile \
80 util/autopanog/Makefile || die "sed failed"
81 fi
82 }
83
84 src_compile() {
85 cd "${S}"/src
86
87 emake -j1 || die "Compile failed"
88 }
89
90 src_install() {
91 insinto /usr/lib/${PN}
92 doins src/util/*.exe src/util/autopanog/*.exe src/libsift.dll
93
94 exeinto /usr/bin
95
96 doexe "${FILESDIR}"/autopano
97
98 for file in autopanog generatekeys; do
99 dosym autopano /usr/bin/"$file"
100 done
101
102 doexe src/bin/autopano-complete.sh
103
104 dodoc README CHANGES
105 cd "${S}"/doc
106 rm -f template.1 autopano-complete.old.*
107 dodoc *.pdf *.txt
108 doman *.1 *.7
109 }
110
111
112
113 --
114 gentoo-commits@g.o mailing list